29 Commits (53337c81d40b90d3f8daab92c8419522d3a1c0fc)

Author SHA1 Message Date
Stefan Bühler 4a4fd8fd11 [core] include and use hedley (v15) header
hedley is a single header to handle compiler-specific features:
https://nemequ.github.io/hedley/

Prefer headly macros over glib for now.

Change-Id: I3c67ebee0d43e27fde6402d47788e1045144e864
2 years ago
Stefan Bühler d544ee105d [core] docs say empty log targets request not logging; actually implement that (went to stderr)
Change-Id: If71dc0b309c4e8221ecef877202d9a1a571ad5c6
2 years ago
Stefan Bühler f527a16138 [debug] provide more unique event names for waitqueues
Change-Id: Iddf9e10b3902fbfe4fa7e97b7a172018d0d70b54
8 years ago
Stefan Bühler 66bd6b22a2 track event "names" for debugging
Change-Id: Ib8f2b589a6087de2355906a87bd2cd0c84bafcba
8 years ago
Stefan Bühler 17a5168793 [core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind 9 years ago
Stefan Bühler 898e0c4687 [log] fix small mem leak 10 years ago
Stefan Bühler a937bd437a fix missing li prefixes 10 years ago
Stefan Bühler cfd8955008 [common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
10 years ago
Stefan Bühler b310884f4d [log] Remove (broken) locking for g_printerr in li_log_write_stderr - fputs, the default backend, is thread safe 11 years ago
Stefan Bühler 5d48ae7102 [log] Add changable log contexts (i.e. references to the real one), so a pointer to such context can be used over a longer period of time 11 years ago
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 11 years ago
Stefan Bühler 11fa781f98 Fix some warnings found with clang analyzer 13 years ago
Stefan Bühler c35cf21c52 [log] Add basic api to open log files via angel 13 years ago
Thomas Porzelt 14d48527af [core] Make log.timestamp creation/destruction threadsafe 13 years ago
Stefan Bühler be65208143 waitqueue: modify callback 13 years ago
Stefan Bühler 9ba3395241 Fix C++ style comments 13 years ago
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 13 years ago
Stefan Bühler 30ebce774e Add "state-wait" api for server state machine 13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 14 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 14 years ago
Stefan Bühler 80346e85d1 Fix to-angel logging, disable message repeat counter 14 years ago
Stefan Bühler 00ed27c509 Log server errors into default logs 14 years ago
Thomas Porzelt 1df869edc3 [waf] Add missing checks for localtime_r() and gmtime_r() 14 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 14 years ago
Stefan Bühler 2f6fe68a75 Cleanup some debug logging 14 years ago
Stefan Bühler ab1387d4ba Move and add some common log helpers to utils 14 years ago
Stefan Bühler f4f2bd1f38 Poison non-thread-safe functions and fix errors 14 years ago
Thomas Porzelt 952a28d176 Fix a null-pointer dereference and some other small things reported by clang analyzer 14 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 14 years ago