Tony Crisci
70360c5c07
Add timestamp to log messages
9 years ago
Drew DeVault
c8917395c0
Remove SIGSERV and SIGABORT handler
...
From now on let's just let the core dumps happen and ask users to
provide them.
9 years ago
David Eklov
26842ff383
Add get_log_level() to encapsulate v (current log level)
...
This patch also makes all global variable in log.c static.
9 years ago
Eric Engestrom
cc9d1cacbb
common: refactor sway_log()
...
This removes most preprocessor logic, leaving it only it the header.
9 years ago
Eric Engestrom
f53ddbe800
common: fix double-close in error_handler()
9 years ago
Eric Engestrom
a1bb58017b
Fix off-by-one bug in log functions
9 years ago
Mikkel Oscar Lyderik
5e253fdd9a
Correctly exit sway on errors.
...
Calling `exit` in sway_terminate prevents sway from correctly shutting
down (freeing data, cleanly terminating the ipc server, etc.).
A better way is to exit straight away if the failure occurs before
`wlc_run` and use sway_abort as usual if it occur when wlc is running.
9 years ago
Mikkel Oscar Lyderik
bacd40d6db
Fix clang warnings
9 years ago
Drew DeVault
e5bb08cc18
Print /proc/<pid>/maps on segfault
9 years ago
robotanarchy
94cac7a014
use CMake's FindBacktrace for backtrace feature detection
9 years ago
Drew DeVault
bfcabe48ef
Start fleshing out wayland client implementation
...
This introduces a basic shared framework for making wayland clients
within sway itself.
9 years ago