Reinhold Gschweicher
63ec71b58d
Add windows builds with GitHub Actions
...
Add VS 2017, VS 2019 and MinGW-w64 builds running the test cases. All
compiler have build jobs for C++11 and C++17.
Currently only the build-type 'Debug' is used, but can easily be
extended to build both 'Debug' and 'Release'.
2021-04-07 23:19:20 +02:00
Sergiu Deitsch
e51790bf33
Merge pull request #625 from sergiud/remove-windows-headers
...
removed windows-specific headers
2021-04-06 20:22:14 +02:00
Sergiu Deitsch
36e6ed910a
Merge pull request #635 from google/win-headers
...
Use generated config.h for Windows.
2021-04-06 20:15:32 +02:00
Sergiu Deitsch
7d60d6e04b
removed windows specific headers
2021-04-06 19:59:47 +02:00
Rodrigo Queiro
1041a221b8
Use generated config.h for Windows.
...
This unblocks a simplification of the Windows CMake build.
2021-04-06 14:02:21 +02:00
Sergiu Deitsch
82320a8a88
Merge pull request #631 from xiaobfly/master
...
fixed file extension
2021-04-04 03:17:33 +02:00
Sergiu Deitsch
bf183f44f2
Merge pull request #632 from sergiud/cmake-default-shared-libs
...
cmake: build shared libs by default
2021-04-02 01:45:30 +02:00
Sergiu Deitsch
9ee010d853
cmake: build shared libs by default
2021-04-02 01:23:43 +02:00
xiaobfly
4fca1b9673
fixed filename extension
2021-04-01 17:21:19 +08:00
Rodrigo Queiro
30bb9086d2
bazel: use expand_template instead of genrules
...
This lets us drop the dependency on the preprocessed headers in
src/windows/glog/.
For some reason, this lets Bazel realize we've failed to declare a
dependency on dirent.h, so I added that too.
2021-03-31 16:08:50 +02:00
Sergiu Deitsch
d66e593188
Merge pull request #618 from sergiud/ac_cv___attribute___printf_4_5
...
build: set ac_cv___attribute___printf_4_5
2021-03-31 10:32:49 +02:00
Sergiu Deitsch
d5fdcfefcd
Merge pull request #623 from sergiud/language-version
...
document C++ version
2021-03-31 10:32:39 +02:00
Sergiu Deitsch
7f8a48b3bf
Merge pull request #595 from r-barnes/richard/ctr_type_fix
...
Change counter type to uint64
2021-03-31 09:43:14 +02:00
Sergiu Deitsch
5abed00e3c
Merge pull request #626 from sergiud/use-c++-headers
...
use C++ headers
2021-03-31 09:42:48 +02:00
Richard Barnes
bf3e5a80ae
Change counter type to uint64
2021-03-31 02:28:29 +02:00
Sergiu Deitsch
01f3e543e3
use C++ headers
2021-03-31 02:24:22 +02:00
Sergiu Deitsch
2f7d608a92
Merge pull request #627 from sergiud/cmake-no-c-compiler
...
cmake: do not require a C compiler
2021-03-31 02:23:19 +02:00
Sergiu Deitsch
3f4df6aee9
cmake: do not require a C compiler
2021-03-31 01:44:15 +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
5c57edfbc8
readme: document C++ version
2021-03-30 23:37:15 +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
Sergiu Deitsch
b442ef8070
build: set ac_cv___attribute___printf_4_5
2021-03-30 21:12:09 +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