Commit Graph

665 Commits

Author SHA1 Message Date
Sergiu Deitsch
6bd5acfb66 ci: download workflow artifacts 2021-11-19 21:15:37 +01:00
Sergiu Deitsch
8121c07551 ci: aggregate coverage in separate workflow 2021-11-19 20:56:53 +01:00
Sergiu Deitsch
8b872216ea ci: simplify coveralls job id 2021-11-18 11:01:35 +01:00
Sergiu Deitsch
11f08e7bb1
Merge pull request #742 from google/protect-vlog
protect VLOG by use_logging
2021-11-18 08:29:50 +01:00
Sergiu Deitsch
65199ed0b8 protect VLOG by use_logging 2021-11-18 00:01:33 +01:00
Sergiu Deitsch
b79e18b78b ci: updated coveralls job id 2021-11-13 12:37:25 +01:00
Sergiu Deitsch
4399e56647 ci: explicitly identify coveralls builds 2021-11-13 11:54:16 +01:00
Sergiu Deitsch
9206460cd3
Merge pull request #739 from google/cmake-glog-modules-install
fix `glog-modules.cmake` install
2021-11-12 12:06:47 +01:00
Sergiu Deitsch
64b4e327ff cmake: fixed glog-modules.cmake installation 2021-11-11 22:38:12 +01:00
Sergiu Deitsch
4df5ae7463 ci: added cmake package config test 2021-11-11 22:15:26 +01:00
Sergiu Deitsch
ab5e109298 Revert "cmake: fix incorrect relative path concatenation (#733)"
This reverts commit 68964b8db6.
2021-11-11 21:56:25 +01:00
Sergiu Deitsch
32522a5f65 ci: notify coveralls on finished parallel builds 2021-11-11 00:55:35 +01:00
Sergiu Deitsch
d581807e33 ci: run coveralls on completed workflow 2021-11-11 00:32:00 +01:00
Sergiu Deitsch
6c9f5b2ec4 ci: added jobs to coveralls workflow 2021-11-11 00:25:00 +01:00
Sergiu Deitsch
0798a37bb0 ci: added coveralls workflow 2021-11-11 00:14:09 +01:00
Johannes Meyer
33696664cb
restore the stream format after writing the log prefix (#731)
* Fix MungeLine() for log lines that are longer than 5 characters
* Match order of log statements in logging_unittest.cc and logging_unittest.err
* Update logging_custom_prefix_unittest.cc and logging_custom_prefix_unittest.err to match logging_unittest.cc and logging_unittest.err
* Save the stream state and set the fill character before calling into a custom_prefix_callback
2021-11-05 22:29:36 +01:00
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