Niklas Hambüchen
68964b8db6
cmake: fix incorrect relative path concatenation ( #733 )
...
When a `-DCMAKE_INSTALL_PREFIX` is given, this could result in paths like:
/path/to/prefix//path/to/prefix/lib/cmake/glog/glog-modules.cmake
which was incorrect.
If a relative `DESTINATION` is given, it's assumed to be relative to the install prefix.
2021-11-05 22:19:36 +01:00
Sergiu Deitsch
17e7679fd9
Merge pull request #654 from aesophor/fix-path
...
Make LogCleaner support relative paths
2021-10-29 23:14:05 +02:00
Marco Wang
c27c3a803b
make LogCleaner support relative paths
2021-10-29 23:04:42 +02:00
Sergiu Deitsch
e8e40f76db
Merge pull request #732 from google/log-cleaner-tests
...
added log cleaner tests and fixed paths
2021-10-29 22:58:38 +02:00
Sergiu Deitsch
3362cc6c79
added log cleaner tests and fixed paths
2021-10-29 22:45:55 +02:00
Sergiu Deitsch
9cf0eb7c98
Merge pull request #724 from google/mock-log
...
add mock log test
2021-10-12 14:43:14 +02:00
Sergiu Deitsch
1398762db8
added mock log test
2021-10-12 14:36:33 +02:00
Sergiu Deitsch
ce3533613b
Merge pull request #723 from google/coverage-use-templates
...
ci: replace generated headers by templates
2021-10-12 10:07:28 +02:00
Sergiu Deitsch
06e665108a
ci: replace generated headers by templates
2021-10-12 09:38:04 +02:00
Sergiu Deitsch
56d3faceea
Merge pull request #722 from google/linux-github-action
...
add linux github workflow
2021-10-11 16:29:17 +02:00
Sergiu Deitsch
4a55b11580
ci: added linux github workflow
2021-10-11 15:54:42 +02:00
huangqinjin
3965584721
support stack unwind on Android
2021-10-08 22:14:20 +02:00
Sergiu Deitsch
acda903486
Merge pull request #720 from google/gmock-support
...
added gmock support
2021-10-07 20:11:58 +02:00
Sergiu Deitsch
8474b7854b
added gmock support
2021-10-07 19:53:08 +02:00
Rodrigo Queiro
831a6f8232
Add -Werror to Bazel presubmits
...
This avoids issues like #717 .
2021-10-07 19:46:34 +02:00
Artur
c34dbe9873
Fix syscall warning in Bazel Build
...
This commit resolves [#717 ](https://github.com/google/glog/issues/717 ) issue.
2021-10-07 19:43:48 +02:00
Sergiu Deitsch
56523194b3
Merge pull request #716 from google/export-os-defines
...
export `OS_*` defines (fixes #715 )
2021-10-01 12:50:16 +02:00
Sergiu Deitsch
f7407d4d27
export OS_* defines ( fixes #715 )
2021-10-01 11:26:07 +02:00
Tongliang Liao
2412db3158
raw_logging.h depends on type definition in logging.h.
...
Resolve https://github.com/google/glog/issues/712
2021-09-24 12:51:15 +02:00
kinsei0916
3b6b05d70b
Use __EMSCRIPTEN__ instead of __USE_POSIX2
2021-09-20 22:14:58 +02:00
kinsei0916
de81bb0aac
Fix link error for Emscripten
2021-09-20 22:14:58 +02:00
Sergiu Deitsch
9733727be4
Merge pull request #706 from dfreese/tsan_annotation
...
Change size type in AnnotateBenignRaceSized to size_t from long
2021-09-03 19:27:28 +02:00
David Freese
ffb40018a5
Change size type in AnnotateBenignRaceSized to size_t from long
...
This makes this definition consistent with Abseil's declarations. See:
https://github.com/abseil/abseil-cpp/blob/master/absl/base/dynamic_annotations.h#L213-L215
Having this unsigned seems to match what libsanitizers is expecting:
16e2427f50/libsanitizer/tsan/tsan_interface_ann.cpp (L367-L371)
This solves a "conflicting declaration of C function" when using glog
with abseil.
2021-09-03 09:51:46 -07:00
Sergiu Deitsch
6f9e32a79e
Merge pull request #700 from Starsss/master
...
Fix: not implement virtual class when WITH_CUSTOM_PREFIX on
2021-08-13 13:32:07 +02:00
六岁小少年
df95749e83
Fix: not implement virtual class when WITH_CUSTOM_PREFIX on
2021-08-12 16:40:52 +08:00
Sergiu Deitsch
35983c895c
Merge pull request #696 from Fettpet/signed_compare
...
Add a static cast to compare unsigned with unsigned
2021-08-10 13:36:31 +02:00
Sebastian Hahn
9fce37c464
Add a static cast to compare unsigned with unsigned
2021-08-09 10:15:07 +02:00
Sergiu Deitsch
a063a04ecf
Merge pull request #694 from google/more-warnings
...
fixed additional warnings
2021-08-01 18:15:31 +02:00
Sergiu Deitsch
92cb3c449b
fixed additional warnings
2021-08-01 17:12:21 +02:00
Sergiu Deitsch
f8c8e99fdf
Merge pull request #688 from google/eliminate-warnings
...
eliminate warnings
2021-07-24 00:38:08 +02:00
Sergiu Deitsch
98e0e8c65d
cmake: bump .so version
...
Account for ABI incompatibility.
2021-07-23 14:39:25 +02:00
Sergiu Deitsch
0b83bb203d
eliminate warnings
2021-07-22 22:52:22 +02:00
Sergiu Deitsch
370cb741bb
Merge pull request #674 from StephLin/readme-fix-header-id
...
readme: fix wrong header id
2021-07-15 21:40:20 +02:00
Sergiu Deitsch
3ce6090d04
override header language
2021-07-14 22:55:23 +02:00
Sergiu Deitsch
36bcd28c61
Merge pull request #687 from google/exception-spec
...
fixed exception specification mismatch
2021-07-14 20:47:34 +02:00
Sergiu Deitsch
dfe573088c
bump version
2021-07-14 20:02:37 +02:00
Sergiu Deitsch
717f569835
fixed exception specification mismatch
2021-07-14 19:37:05 +02:00
Sergiu Deitsch
eca3ddef81
Merge pull request #685 from z-aki/master
...
Fix syscall deprecation warning on macOS >= 10.12
2021-07-14 17:49:43 +02:00
z-aki
4a4331f2f2
Fix syscall deprecation warning on macOS >= 10.12
...
Fix #185
2021-07-14 19:51:19 +05:30
Sergiu Deitsch
a01d739ea3
Merge pull request #684 from sergiud/cmake-namespaced-gflags
...
cmake: prefer linking against gflags::gflags (fixes #683 )
2021-07-14 10:39:54 +02:00
Sergiu Deitsch
8d3ce1c29a
Merge pull request #686 from google/ci-more-targets
...
ci: support more targets
2021-07-14 10:37:45 +02:00
Sergiu Deitsch
c39fcf6e8a
ci: added more targets
2021-07-14 02:21:58 +02:00
Sergiu Deitsch
47ad26d5c6
readme: fixed inconsistent formatting
2021-07-13 15:30:19 +02:00
Sergiu Deitsch
5bf7fdea16
cmake: prefer linking against gflags::gflags ( fixes #683 )
2021-07-13 13:24:27 +02:00
Sergiu Deitsch
42ce901f28
Merge pull request #669 from darbitman/log-every-time-period
...
log messages periodically (time-based)
2021-07-05 20:33:12 +02:00
Dmitriy A
a1374c4200
Implement LOG_EVERY_T.
...
Use <chrono> and <atomic> for C++11 or greater.
For non-Windows pre-C++11 systems, use <time.h> and built-in atomic operations.
For Windows pre-C++11, use the Windows implementations for time and atomic operations.
2021-07-05 07:25:12 -07:00
luliyucoordinate
6e46c125e3
bazel: add GLOG_CUSTOM_PREFIX_SUPPORT
2021-07-01 08:04:18 +02:00
Philipp Wollermann
a415556858
Remove ubuntu1604 from presubmit.yml
...
Ubuntu 16.04 is end-of-life, we're going to remove it from Bazel CI.
If you like you can add testing on `ubuntu2004` platform which we also support.
2021-07-01 08:04:02 +02:00
StephLin
a1fa841f33
readme: fix wrong header id
2021-06-19 17:28:57 +08:00
Sergiu Deitsch
a4a725d547
Merge pull request #671 from sergiud/cmake-define-have-cxx11-atomic
...
cmake: export `<atomic>` availability (fixes #667 )
2021-06-16 09:46:58 +02:00