Commit Graph

832 Commits

Author SHA1 Message Date
Sergiu Deitsch
11fb356283
ci: msys2 2024-01-06 16:56:23 +01:00
Sergiu Deitsch
2c735b8dfb
docs: cleanup (#1041) 2024-01-06 15:04:12 +01:00
Sergiu Deitsch
25a349f7ae
feat(time): use tm::tm_gmtoff if present (#1040)
This greatly simplifies time computations.
2024-01-06 02:56:23 +01:00
Sergiu Deitsch
eb72e4c181
feat(logger): use chrono (#1039) 2024-01-05 23:07:49 +01:00
Sergiu Deitsch
f88544adf5
feat(cleanup): use chrono (#1038)
* Deprecate type-unsafe EnableLogCleaner interface
* Increase time resolution allowing to drop timing specific
  workarounds in unit tests
2024-01-05 20:38:24 +01:00
Sergiu Deitsch
89f5977468
cmake: determine when to use port.h (#1037)
Allow building using MSYS2 (without MinGW).
2024-01-05 19:57:34 +01:00
Sergiu Deitsch
fe46778bd3
fix: threads are always enabled (#1036) 2024-01-05 15:21:43 +01:00
Sergiu Deitsch
6d23649fef
fix(debug): add missing parentheses in ternary expression (#1035) 2024-01-05 14:11:44 +01:00
Sergiu Deitsch
b172be9564
fix: allow setting stderrthreshold using GLOG_stderrthreshold (#1034) 2024-01-05 01:43:22 +01:00
Sergiu Deitsch
8fbad2cb9c
feat: make IsFailureSignalHandlerInstalled public (#1033) 2024-01-05 00:13:04 +01:00
Sergiu Deitsch
8dd7abfdec
fix: remove unused declaration (#1032) 2024-01-05 00:12:43 +01:00
Sergiu Deitsch
f3bee1b15b
fix: ensure export macro to be defined (#1031) 2024-01-04 22:06:27 +01:00
Sergiu Deitsch
c8950c6b17
ci(codecov): enable comments (#966) 2024-01-04 21:54:23 +01:00
Sergiu Deitsch
8775a454c1
feat: make headers self-contained (#1030) 2024-01-04 21:03:55 +01:00
Sergiu Deitsch
dfce35c97c
fix: cleanup exports (#1029)
Reduce unnecessary utility function exports.
2024-01-04 16:57:18 +01:00
Sergiu Deitsch
e1f424a7e2
cmake: opt-in pkg-config support 2024-01-04 15:49:29 +01:00
Sergiu Deitsch
39df0545e7
docs: cleanup 2024-01-04 15:02:54 +01:00
Sergiu Deitsch
cafba580ec
feat: use standard atomics and call_once (#1026) 2024-01-04 01:18:36 +01:00
Sergiu Deitsch
54b2c17172
fix: make log severity type safe (#1025) 2024-01-04 00:35:40 +01:00
Sergiu Deitsch
51e7a439dc
feat(demangle): use cxx abi demangler (#1023) 2024-01-03 19:24:35 +01:00
Sergiu Deitsch
bdd14b6ab1
fix(demangle): place symbols in anonymous namespace (#1022) 2024-01-03 16:49:43 +01:00
Sergiu Deitsch
70285fddc7
feat: use chrono (#1020) 2024-01-03 16:00:24 +01:00
Sergiu Deitsch
4244cec140
cmake: remove unused check (#1021) 2024-01-03 15:45:03 +01:00
Sergiu Deitsch
0032896711
feat: use standard threads (#1019) 2024-01-03 02:24:52 +01:00
Sergiu Deitsch
645d0a5d5f
fix(demangle): support decltype(nullptr) and pack expansion (#1018) 2024-01-02 22:31:00 +01:00
Sergiu Deitsch
45d7978daf
fix(tests): prevent clang from optimizing new away (#1017) 2024-01-02 13:01:42 +01:00
Sergiu Deitsch
b1bc8e75cb
feat: reduce manual deallocations (#1016) 2024-01-02 02:17:23 +01:00
Sergiu Deitsch
8ff1a7db04
feat: use standard mutexes (#1015) 2024-01-02 00:47:22 +01:00
Sergiu Deitsch
ac8f8dae2c
fix: remove unused test code (#1014) 2024-01-02 00:47:02 +01:00
Sergiu Deitsch
d29d02e8af
fix: add missing gmtime_r check (#1013)
909069ea82 introduced optional gmtime_r
support but did implement the function's availability check.
2023-12-30 22:07:29 +01:00
Sergiu Deitsch
93549f3600 chore: apply clang-format 2023-12-30 20:38:56 +01:00
Sergiu Deitsch
e3f5398aa1
rework public header structure (#1012)
Promote generated headers to regular headers. This enables direct
editing of corresponding files and running automatic source code
formatting and static analysis tools, such as clang-format and
clang-tidy on the whole project which previously was not
straightforward.
2023-12-30 19:05:26 +01:00
Sergiu Deitsch
80d7fa3863 ci: use emcmake 2023-12-30 13:06:54 +01:00
Sergiu Deitsch
aeee0ef452 fix(symbolize): use correct size_t format specifier
While compiling under Emscripten with _LP64 being 0, Clang complains
that the format specifier does not match the actual type (even though
size_t and unsigned are probably compatible.)
2023-12-30 02:14:49 +01:00
Sergiu Deitsch
546906f467 fix: remove unused include 2023-12-30 01:01:40 +01:00
Sergiu Deitsch
43792b8a13 rework (lib)unwind integration
Allow to switch between the two backends.
2023-12-30 00:50:52 +01:00
Sergiu Deitsch
3c052d90f8 fix: remove executable bit 2023-12-29 17:54:32 +01:00
Sergiu Deitsch
ab2a1a8519
fix: enable strip log tests (#1009) 2023-12-28 02:34:06 +01:00
Sergiu Deitsch
e92ab7df52
cmake: remove pre C++11 warning options (#1005) 2023-12-21 23:07:58 +01:00
Sergiu Deitsch
e26e342623
cmake: use glog specific project variables (#1004) 2023-12-21 23:07:36 +01:00
Sergiu Deitsch
dfb7703542
cmake: simplify symbol availability checks (#1003) 2023-12-21 22:25:04 +01:00
Sergiu Deitsch
b7686b6995
cmake: remove obsolete check (#1002) 2023-12-21 22:01:35 +01:00
Sergiu Deitsch
72b8a7956f
cmake: do not enable TLS without threads (#1001) 2023-12-21 20:59:30 +01:00
Sergiu Deitsch
65cc31ab16
cmake: use threads import target (#1000) 2023-12-21 20:40:43 +01:00
Sergiu Deitsch
d937c2e1b8
fix: shell quote user-provided mailer path (#999) 2023-12-21 19:54:07 +01:00
Acey
716be9edc7
feat: add missing debug logging macros (#986) 2023-12-21 19:45:06 +01:00
Mike Frysinger
6607b369d0
symbolize_unittest: make it a bit more portable (#985) 2023-12-20 21:10:26 +01:00
Sergiu Deitsch
3fcf77a691
fix: drop custom (v)snprintf definition (#992)
The functions are available since C++11.
2023-12-20 20:49:08 +01:00
Sergiu Deitsch
3731c120c0
fix: replace NULL by nullptr (#993) 2023-12-20 20:48:43 +01:00
Sergiu Deitsch
a9eecd7f9a
fix: log last error code instead of a BOOL (#994) 2023-12-20 20:47:57 +01:00