Sergiu Deitsch
4ffa98388f
ensure _Unwind_Backtrace to actually be available
2021-12-21 11:38:12 +01:00
Sergiu Deitsch
087ad5bf32
eliminated clang warnings
2021-12-21 11:37:49 +01:00
Sergiu Deitsch
9dc1107f88
run clang-tidy
2021-12-15 12:04:34 +01:00
Sergiu Deitsch
dfb9ffc324
provide backward compatible send overload
2021-12-15 11:14:23 +01:00
Sergiu Deitsch
c575116051
ci: removed deprecated msvc runner
2021-12-14 22:45:41 +01:00
Marco Wang
d09b999f34
LogCleaner: make overdue_days_ unsigned int
...
Since the value of `LogCleaner::overdue_days_` should be >= 0,
we can simply make it an unsigned int which also avoids
unnecessary assertions.
Signed-off-by: Marco Wang <m.aesophor@gmail.com>
2021-12-13 19:00:07 +01:00
Sergiu Deitsch
baa7006e63
ci: enable warnings as errors
2021-12-10 20:10:17 +01:00
Sergiu Deitsch
660352f02b
cmake: require at least version 3.16 ( fixes #705 )
2021-12-09 19:01:27 +01:00
Sergiu Deitsch
52354b2adc
eliminate msvc warnings
2021-12-09 11:51:46 +01:00
Marco Wang
ccbda2dfd5
LogCleaner: Fix relative paths and add a new test
...
Signed-off-by: Marco Wang <m.aesophor@gmail.com>
2021-12-09 10:30:51 +01:00
Vijaymahantesh Sattigeri
ef36f800ed
Added an API to get GMT offset from LogMessageTime
...
* Added API to get GMT offset
* Made LogMessageTime as a memeber of LogMessage
* Refactored LogSink::send() method
2021-12-09 10:26:47 +01:00
Sergiu Deitsch
ee6faf13b2
ci: use codecov token
2021-12-07 10:04:12 +01:00
Sergiu Deitsch
6e9b2f16f5
cmake: set CMP0074 policy
...
This enables the use of `<PackageName>_ROOT` (environment) variables.
2021-12-06 21:12:35 +01:00
Sergiu Deitsch
f4dd77ae6b
ci: reworked windows builds
2021-12-06 19:00:41 +01:00
Shen Zhuoran
503e3dec8d
Add Zhuoran Shen to AUTHORS and CONTRIBUTORS
...
I previously made a minor documentation fix in
https://github.com/google/glog/pull/747 . According to README, this
commit adds myself to AUTHORS and CONTRIBUTORS.
2021-11-28 13:44:23 +01:00
Shen Zhuoran
5316599845
Fix log filename format
...
The log filename format does not match the example in the line below. One of them must be incorrect. This commit changes the format to match the example.
2021-11-25 12:39:38 +01:00
Sergiu Deitsch
cd8fbd5fbf
ci: prefix artifact directories
2021-11-19 23:18:17 +01:00
Sergiu Deitsch
c8a7f5abee
ci: added checkout action
2021-11-19 22:58:41 +01:00
Sergiu Deitsch
f47582361a
ci: install lcov
2021-11-19 22:50:11 +01:00
Sergiu Deitsch
f773eb9b6f
ci: unzip artifacts into separate directories
2021-11-19 22:40:33 +01:00
Sergiu Deitsch
f42fd3b154
ci: fixed unzipping multiple archives
2021-11-19 22:30:03 +01:00
Sergiu Deitsch
cb7c19d36b
ci: removed non standard --zero option
2021-11-19 22:22:41 +01:00
Sergiu Deitsch
cf4c4699bc
ci: unzip artifacts individually
2021-11-19 22:14:07 +01:00
Sergiu Deitsch
5a3bd74cfa
ci: replaced forEach by a loop
2021-11-19 22:01:06 +01:00
Sergiu Deitsch
1da31df93c
ci: name unpack step and fix indent
2021-11-19 21:31:29 +01:00
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