sway/common
Manuel Stoeckl 2dc4978d8a Use -fmacro-prefix-map to strip build path
Because meson does not provide a simple way to get the relative build
path, it is computed with a pair of foreach loops. As meson does not
have a simple way to compute string length (except via underscorify
and 63 split operations), the build script uses a shell command
instead.

If the compiler does not suppot -fmacro-prefix-map, then fall back
to passing in the relative path prefix, and use its length to offset
the uses of __FILE__ in log messages so that the build path is at
least still not included in the logs. This is significantly more
efficient than calling _sway_strip_path.
2019-07-15 16:35:50 -04:00
..
background-image.c swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
cairo.c swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.c common/ipc-client: remove ipc recv timeout log 2019-05-27 08:02:10 +03:00
list.c Merge pull request #3271 from ianyfan/list-cleanup 2018-12-09 21:50:19 +10:00
log.c Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
meson.build Removed unused wlroots dependency for sway(bg|bar|msg|nag) 2019-01-21 13:04:15 -05:00
pango.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
stringop.c Fix segfaults caused by faulty command parsing 2019-06-11 14:40:36 -04:00
util.c Spawn swaynag as a wayland client 2019-04-14 12:41:59 +03:00