Sergiu Deitsch
0f83e53c43
Merge pull request #443 from ammubhave/fix_musl_build
...
Fix symbolize_unittest for musl builds
2019-10-31 22:45:26 +01:00
Sergiu Deitsch
e558d50b0a
Merge pull request #370 from hemantbits/patch-1
...
Fix warnings
2019-10-31 22:44:48 +01:00
Sergiu Deitsch
30f7f3ee93
Merge pull request #479 from neheb/patch-2
...
logging: Fix compilation with uClibc++
2019-10-31 22:42:13 +01:00
Sergiu Deitsch
6f5699a236
Merge pull request #460 from neheb/patch-1
...
googletest: Switch to nanosleep
2019-10-31 22:41:36 +01:00
Rosen Penev
e24276a35e
logging: Fix compilation with uClibc++
...
uClibc++ has compiler support for C++11, but not the functions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-31 13:04:29 -07:00
Rosen Penev
1d762fa5b0
googletest: Switch to nanosleep
...
usleep is deprecated and optionally not available with uClibc-ng.
2019-10-31 13:00:48 -07:00
Sergiu Deitsch
1655f4f910
Merge pull request #475 from ffontaine/master
...
src/symbolize.cc: fix build without dlfcn.h
2019-10-31 19:11:56 +01:00
Fabrice Fontaine
10498b485f
src/symbolize.cc: fix build without dlfcn.h
...
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-10-29 22:12:39 +01:00
sukill
1e6b9f3291
declare FLAGS_vmodule
2019-09-04 18:39:21 +09:00
Shinichiro Hamaji
4cc89c9e2b
Merge pull request #465 from durswd/support_clang-cl
...
I supported clang-cl with BUILD_SHARED_LIBS
2019-09-02 21:16:42 -07:00
durswd
a8fad525e5
Changed the order of conditions
2019-09-02 13:28:18 +09:00
durswd
00cb9f4e6f
I supported clang-cl with BUILD_SHARED_LIBS
2019-09-02 12:32:29 +09:00
Fumitoshi Ukai
ba8a9f6952
fix typo: TOOD -> TODO ( #448 )
2019-05-07 16:02:06 +09:00
Philipp Wollermann
0d0c254317
Don't test on Ubuntu 14.04 ( #446 )
...
Ubuntu 14.04 is about to be end-of-life and Bazel CI will stop supporting it shortly afterwards.
Context: https://groups.google.com/d/msg/bazel-dev/_D6XzfNkQQE/8TNKiNmsCAAJ
2019-04-24 10:48:51 +09:00
Shuhei Takahashi
6ca3d3cf58
Fix stacktrace on bazel build. ( #347 )
...
We need at least following defs to be set to print stacktrace in
failure signal handler.
- HAVE_UNWIND_H: on Linux and macOS. unwind.h is usually present
by default on those OSes.
- HAVE_DLADDR: on macOS.
Windows is not cared because glog can not be built with bazel
on Windows today.
2019-04-12 10:09:41 +09:00
Amol Bhave
834dd780bf
Fix symbolize_unittest for musl builds
...
When glog 0.4.0 is built using musl instead of glibc, the compilation
for this test fails because musl doesn't provide execinfo.h, which sets
HAVE_STACKTRACE to false.
Tested by building glog with musl and verifying that the build succeeds
with this patch. [See https://github.com/openwrt/packages/pull/8583 ]
Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-03 12:08:35 -07:00
Andrei Sekretenko
94a54120de
Extended the LogSink interface to be able to pass microseconds.
2019-03-27 18:27:31 +01:00
Shinichiro Hamaji
96a2f23dca
Merge pull request #419 from shinh/release-0-4-0
...
Release 0.4.0
2019-03-22 11:51:46 +09:00
Shinichiro Hamaji
5c576f78c4
Merge pull request #431 from romkatv/disallow_prefix
...
Protect macros from user code to the left of them
2019-02-18 11:49:24 +09:00
romkatv
29dd5da60f
Add Roman Perepelitsa to AUTHORS and CONTRIBUTORS
2019-02-16 19:31:50 +01:00
romkatv
4db0631346
Protect macros from user code to the left of them
2019-02-16 19:23:36 +01:00
Shinichiro Hamaji
460ec1f564
Merge branch 'master' into release-0-4-0
2019-02-14 17:46:12 +09:00
Shinichiro Hamaji
41f4bf9cbc
Merge pull request #425 from plmuon/remove-time-from-raw-logging
...
remove time from raw logging
2019-02-02 11:00:29 +09:00
Shinichiro Hamaji
64041397b3
Use static to define CheckStackTrace on non-GNU ( #429 )
...
for `&CheckStackAddress`, VisualStudio emits address of a trampoline like PLT,
not the actual address of `CheckStackTrace`.
We need address of `CheckStackTrace` to guess the address range of the function.
`static` function seems to return the actual address of the function.
Fixes #421
2019-02-02 10:13:43 +09:00
Shinichiro Hamaji
7f91846ca1
Stop using auto_ptr ( #428 )
...
Stop using auto_ptr
std::unique_ptr requires -std=c++11. just use raw pointer.
2019-02-01 17:35:02 +09:00
Peter Mutsaers
e5588de96d
remove time from raw logging
2019-01-29 23:38:03 +01:00
Fumitoshi Ukai
7ffca211fe
fix appveyor link ( #424 )
...
project/google/glog -> project/google-admin/glog
2019-01-28 14:06:21 +09:00
Shinichiro Hamaji
ed1ef7c4db
Apply #397 to glog/logging.h.in
...
windows/glog/logging.h is expected to be generated by
src/windows/preprocess.sh and should not be modified directly.
2019-01-24 09:25:43 +09:00
Sergiu Deitsch
1431a17f37
Merge pull request #420 from kwaegel/patch-1
...
Use push/pop macro when supressing warning
2019-01-23 08:21:27 +01:00
Shinichiro Hamaji
1d98d00c7e
Update ChangeLog to record release dates at least
2019-01-23 12:24:15 +09:00
Ky Waegel
342fa2674c
Use push/pop macro when supressing warning
...
* Same as PR #397 , but for the `.in` file. Useful for some unusual cross-platform build environments (e.g. WSL).
2019-01-22 10:59:05 -08:00
Shinichiro Hamaji
406b0e702f
glog: release 0.4.0
2019-01-22 21:00:50 +09:00
Shinichiro Hamaji
6d6d31872e
Run src/windows/preprocess.sh
2019-01-22 20:58:13 +09:00
Haakan Younes
5d46e1bcfc
Add demangle support for ABI tags. ( #416 )
...
Support ABI tags after <local-source-name> in demangle.cc.
Update the reference URL.
Fixes #50
2019-01-07 15:30:23 +09:00
Thomas Anderson
7fcb278d1e
Fix demangling template parameter packs ( #414 )
...
* Fix demangling template parameter packs
Clang 4.0.1-10 and gcc 7.3.0 both mangle the function "void add<int>(int)" as
"_Z3addIJiEEvDpT_". The template parameter pack is of the form
J <template-arg>* E
The opening character for a param pack could be either I or J, as libiberty
follows [1]. This change simply adds the J case.
[1] fbd263526a/libiberty/cp-demangle.c (L3209)
2019-01-07 15:26:08 +09:00
Sergiu Deitsch
0e4ce7c0c0
Merge pull request #410 from jackwish/fix/build/cleanup
...
build: cleanup temps and remove NEWS
2019-01-01 01:27:42 +01:00
Prem Nair
e0f7bfc6ca
Add kwargs to glog_library
2018-12-31 14:20:45 +00:00
Prem Nair
0bc2d94cd1
Fix bazel build with gflags
...
The code references `@ac_cv_have_libgflags@` but not `@ac_cv_have_libgflags_h@`. This corrects that.
`int(with_gflags)` incorporates the possibility of `True/False`: https://github.com/bazelbuild/bazel/issues/4792
2018-12-31 14:20:45 +00:00
Sergiu Deitsch
e6939aa539
Merge pull request #412 from pwnall/fix_warn
...
Fix unused variable warning in GCC
2018-12-31 15:08:41 +01:00
Victor Costan
0989ffadb8
Fix unused variable warning in GCC.
2018-12-25 16:54:08 -08:00
王振华 (WANG Zhenhua)
293a38cc46
build: remove NEWS realated things
...
With automake GNU standard relaxed, these are no longer needed.
2018-12-19 12:02:35 +00:00
王振华 (WANG Zhenhua)
5a22c3cdc0
build: remove automake temporaries
2018-12-19 11:54:06 +00:00
Sergiu Deitsch
6deff5ab23
Merge pull request #408 from jackwish/fix/build/readme
...
automake: relax GNU standard directory style
2018-12-18 16:49:36 +01:00
王振华 (WANG Zhenhua)
da37a6c30a
update all README naming
...
Now, we can build.
2018-12-18 07:00:06 +00:00
王振华 (WANG Zhenhua)
1231a37f0b
automake: relax GNU standard directory style
...
GNU standard assumes `README` under root dir, while PR #403
didn't fix the building issue exactually.
https://www.gnu.org/software/automake/manual/html_node/List-of-Automake-options.html
2018-12-18 06:50:44 +00:00
Sergiu Deitsch
1d900193d8
Merge pull request #403 from NeroBurner/fix_make_for_README
...
update README.md filename in Makefile.am
2018-12-13 08:32:26 +01:00
Sergiu Deitsch
a2e49f75f8
Merge pull request #406 from NeroBurner/ci_enable_clang
...
ci: add clang-cxx17 toolchain
2018-12-13 08:29:57 +01:00
Sergiu Deitsch
d328081115
Merge pull request #405 from NeroBurner/remove_register_keyword
...
remove register keyword from unittest
2018-12-13 08:29:32 +01:00
NeroBurner
e0cabc5404
remove register keyword from unittest
2018-12-13 08:15:52 +01:00
NeroBurner
5ab6736b40
ci: add clang-cxx17 toolchain
2018-12-13 07:49:59 +01:00