Richard Barnes
bf3e5a80ae
Change counter type to uint64
2021-03-31 02:28:29 +02:00
Sergiu Deitsch
7a6e743eb6
Merge pull request #624 from sergiud/qualify-std-string
...
fully qualify std::string
2021-03-31 00:45:25 +02:00
Sergiu Deitsch
e27f141194
Merge pull request #622 from sergiud/max_log_size-overflow
...
handle --max_log_size overflow
2021-03-30 23:59:53 +02:00
Sergiu Deitsch
0b3c27d042
fully qualify std::string
2021-03-30 23:47:48 +02:00
Sergiu Deitsch
20984f9730
Merge pull request #621 from sergiud/cmake-use-gtest
...
cmake: optionally use gtest
2021-03-30 23:23:01 +02:00
Sergiu Deitsch
3533c22d21
handle --max_log_size overflow
2021-03-30 23:16:40 +02:00
Sergiu Deitsch
be25d94c21
cmake: optionally use gtest
2021-03-30 22:41:15 +02:00
Sergiu Deitsch
45fdc922de
Merge pull request #619 from sergiud/cmake-proper-symbol-export
...
cmake: export symbols selectively
2021-03-30 22:13:09 +02:00
Sergiu Deitsch
c30896d3d5
cmake: export symbols selectively
2021-03-30 21:41:52 +02:00
Rodrigo Queiro
d4e8ebab7e
Add layering_check to Bazel CI.
...
This will avoid regressions on #596 .
2021-03-02 10:32:06 +01:00
Rodrigo Queiro
0863ad797c
bazel: declare headers in top-level rule
...
Fixes #596 .
2021-03-02 10:32:06 +01:00
Rodrigo Queiro
ce50c57b9e
Rename BUILD to BUILD.bazel.
...
This avoids conflicts with build/ on case-insensitive filesystems.
Fixes #606 .
2021-03-01 13:23:27 +01:00
Sergiu Deitsch
d824eae3cd
Merge pull request #613 from sergiud/cmake-unwind-patch-match
...
cmake: fixed unwind patch component match check
2021-02-24 17:39:10 +01:00
Sergiu Deitsch
df3ce126d6
cmake: fixed unwind patch component match check
2021-02-23 21:26:22 +01:00
Sergiu Deitsch
246e49ac48
Merge pull request #610 from sergiud/readme-cleanup
...
consolidate readme
2021-02-22 22:19:49 +01:00
Marco
9881ea5969
Fix race conditions in LOG_EVERY_N ( #492 )
...
* Use CMakeLists.txt to check the availability of std::atomic<>
* Declare the static integer counters as std::atomic<int> instead of int if C++11's atomic is available
* implement fallback mechanism for pre C++11 compilers
* src/glog/logging.h.in: fix wrong atomic increment
* src/glog/logging.h.in: make modulo operations atomic
2021-02-22 22:17:25 +01:00
Sergiu Deitsch
4cef723320
Merge pull request #611 from sergiud/incorrect-cygwin64-define
...
replaced __CYGWIN32__ and __CYGWIN64__ by __CYGWIN__
2021-02-22 22:05:23 +01:00
Sergiu Deitsch
544b4a4f50
Merge pull request #609 from sergiud/cmake-unwind-empty-patch-component
...
cmake: handle empty unwind version patch component
2021-02-22 22:05:07 +01:00
Sergiu Deitsch
b9be6bb5db
consolidate readme
2021-02-22 22:04:05 +01:00
Liang Zou
6d14ac3efe
Fix the symlink creation bug if using bazel
2021-02-20 17:34:31 +01:00
Sergiu Deitsch
795384957d
replaced __CYGWIN32__ and __CYGWIN64__ by __CYGWIN__
2021-02-13 14:52:26 +01:00
Sergiu Deitsch
e370cd5166
bump version
2021-02-13 12:23:32 +01:00
Sergiu Deitsch
3b21da69ea
cmake: handle empty unwind version patch component
2021-02-13 12:14:35 +01:00
Sergiu Deitsch
4fa737b62a
Merge pull request #400 from guoyuhong/fixWebmailer
...
Fix logmailer problem for dynamic lib use of glog.
2021-02-13 11:57:07 +01:00
Sergiu Deitsch
4f09bed0b4
Merge pull request #263 from kennyyu/tsan_benign_race
...
Annotate LOG_EVERY_N macros as a benign race for TSAN
2021-02-13 11:55:42 +01:00
Sergiu Deitsch
7bba6030c2
Merge pull request #592 from aesophor/fix-logcleaner-file-ext
...
src/logging.cc: Make LogCleaner aware of filename extension (#589 )
2021-02-13 11:48:23 +01:00
Sergiu Deitsch
7a8b66aa17
Merge pull request #593 from aesophor/fix-typo
...
src/logging.cc: Fix a typo in comment
2021-02-13 11:46:55 +01:00
Sergiu Deitsch
6d5da21549
Merge pull request #608 from mahiuchun/stl
...
Make stl_logging_unittest more robust.
2021-02-13 11:43:16 +01:00
Hill Ma
15d51a17cc
Make stl_logging_unittest more robust.
2021-02-08 21:16:29 -08:00
Marco Wang
fe1287dd5d
src/logging.cc: Fix a typo in comment
...
Signed-off-by: Marco Wang <m.aesophor@gmail.com>
2020-10-10 00:06:11 +08:00
Marco Wang
431d74c802
src/logging.cc: Make LogCleaner aware of filename extension ( #589 )
...
Previously, LogCleaner::IsLogFromCurrentProject() did not consider
the custom file extension set with SetLogFilenameExtension().
This PR fixes it.
Signed-off-by: Marco Wang <m.aesophor@gmail.com>
2020-10-09 22:40:12 +08:00
Sergiu Deitsch
c8f8135a57
Merge pull request #502 from aesophor/encapsulate-log-cleaner
...
src/logging.cc: encapsulate log cleaner, match logfile with <base_filename_><date>-<time>.<pid>
2020-10-03 09:52:36 +02:00
Marco
d82641f709
Merge branch 'master' into encapsulate-log-cleaner
2020-10-03 09:52:23 +08:00
Sergiu Deitsch
cec37e1cf5
Merge pull request #542 from xulongwu4/master
...
Use NULL to indicate uninitialized VLOG_IS_ON site.
2020-10-03 01:12:22 +02:00
Yuhong Guo
b55437ac10
Fix logmailer problem for dynamic lib.
2020-10-03 01:01:05 +02:00
Sergiu Deitsch
c5dcae8306
Merge pull request #467 from sukill/master
...
declare FLAGS_vmodule
2020-10-03 00:58:19 +02:00
Sergiu Deitsch
b30a009faa
Merge pull request #585 from sergiud/remove-drop-autoconf-support
...
remove autoconf support
2020-10-03 00:49:36 +02:00
Sergiu Deitsch
b539557b36
removed autoconf support
2020-10-02 20:32:41 +02:00
Sergiu Deitsch
d516278b1c
Merge pull request #540 from pwnall/fix-uv-warn
...
Fix unused parameter warning on gcc.
2020-10-01 10:45:55 +02:00
Victor Costan
6c0a5fcb53
Fix unused parameter warning on gcc.
2020-09-30 00:53:10 -07:00
Sergiu Deitsch
f28ae960c3
Merge pull request #573 from msamoila/msamoila-use-utc-time
...
Add FLAGS_log_utc_time; when 'true' the time will be written in log in UTC, resolves #571
2020-09-29 22:25:02 +02:00
Sergiu Deitsch
fa0d50f9fc
Merge pull request #570 from jiuqiant/patch-1
...
Connect glog to Andorid logging API
2020-09-29 22:22:12 +02:00
Sergiu Deitsch
fcc9da24a6
Merge pull request #545 from julianaito/master
...
OpenBSD/powerpc: clang does not define _CALL_*, use proper ifdef instead
2020-09-29 22:19:20 +02:00
Sergiu Deitsch
40ab822812
Merge pull request #438 from d-uspenskiy/master
...
Add extra information in log file header (application build/version, actual duration time)
2020-09-29 22:18:24 +02:00
Sergiu Deitsch
4c5a60c3c3
Merge pull request #551 from aesophor/replace-sprintf
...
Replace sprintf() with snprintf() (#536 )
2020-09-29 22:12:45 +02:00
Sergiu Deitsch
8ee2bb5b31
Merge pull request #553 from huangqinjin/android
...
Output to logcat on Android
2020-09-29 22:11:54 +02:00
Sergiu Deitsch
024b095d7e
Merge pull request #552 from huangqinjin/master
...
Make message text null-terminated
2020-09-29 22:11:22 +02:00
Sergiu Deitsch
d442460690
Merge pull request #579 from arj-fb/safety_check_at_SymbolizeAndDemangle
...
Added check for if info.dli_sname is NULL
2020-09-29 22:10:08 +02:00
Sergiu Deitsch
5bc1e1177c
Merge pull request #580 from Yicong-Huang/patch-1
...
Make cmake build on path with spaces.
2020-09-29 22:09:21 +02:00
Sergiu Deitsch
af4df08e5b
Merge pull request #576 from santigl/santigl/streambuf-overflow-override
...
Remove `virtual` from `LogStreamBuf::overflow()`
2020-09-29 22:07:56 +02:00