i3/include
Michael Stapelberg e68a8dd86c shm-logging: implement i3-dump-log -f (follow)
This changes the SHM log format, it doesn’t use 0-bytes to separate
entries anymore. Instead of using lots of printf() calls in i3-dump-log,
we now do precisely one big write().

So, to be clear: i3-dump-log and i3 both need to be upgraded.
Mismatching versions will lead to garbage output (no crashes of i3, just
garbage output).

The -f flag uses an inter-process pthread_cond_t in the shared memory
header to broadcast the arrival of new messages to all i3-dump-log
processes. This internally uses futexes and thus doesn’t even mean a
kernel call in most cases. inter-process pthread_cond_ts require NPTL
(the Native Posix Thread Library, introduce in Linux 2.6).
2012-08-13 01:06:09 +02:00
..
i3 ipc: implement GET_VERSION to find out the i3 version 2012-08-05 14:30:05 +02:00
all.h Implement i3 --moreversion 2012-08-12 15:10:13 +02:00
assignments.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
atoms.xmacro set I3_PID atom on the root window 2012-08-12 13:51:47 +02:00
click.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
cmdparse.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
commands_parser.h Send proper error messages upon parser failures, use yajl for generating command replies 2012-05-02 22:01:50 +02:00
commands.h Introduce splith/splitv layouts, remove orientation 2012-08-04 03:13:24 +02:00
con.h create hide_edge_borders option 2012-08-05 20:26:15 +02:00
config.h Make horizontal edge-borders hidable too 2012-08-06 03:03:00 +02:00
data.h Make horizontal edge-borders hidable too 2012-08-06 03:03:00 +02:00
debug.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
display_version.h Implement i3 --moreversion 2012-08-12 15:10:13 +02:00
ewmh.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
fake_outputs.h Implement fake-outputs option (cmdline, cfg) for multi-monitor testing 2012-04-09 14:28:36 +02:00
floating.h Bugfix: Fix coordinates when the rect of an output changes (Thanks Paul) 2012-01-21 15:07:53 +00:00
handlers.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
i3.h Implement support for chosing a 32 bit visual (necessary for pseudo-transparency) (Thanks darkraven) 2012-02-15 18:56:07 +00:00
ipc.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
key_press.h Display i3-nagbar when commands lead to an error 2012-08-02 17:45:09 +02:00
libi3.h Move is_debug_build() to libi3/ 2012-05-09 19:12:20 +02:00
load_layout.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
log.h use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
manage.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
match.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
move.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
output.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
queue.h implement TAILQ_SWAP (only for consecutive elements, order relevant) and use it 2011-02-15 02:21:23 +01:00
randr.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
regex.h i3: Replace loglevels by a global debug logging 2012-07-22 18:41:12 +02:00
render.h normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
resize.h mark parameters const 2011-11-10 19:17:36 +00:00
scratchpad.h scratchpad: fix moving scratchpad window 2012-08-08 18:45:40 +02:00
sd-daemon.h implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
shmlog.h shm-logging: implement i3-dump-log -f (follow) 2012-08-13 01:06:09 +02:00
sighandler.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
startup.h Add a --no-startup-id flag for exec (command), exec (config), exec_always (config) 2011-10-25 22:18:17 +01:00
tree.h Allow focus child/parent when in fullscreen. 2012-06-03 16:24:53 +02:00
util.h Consolidate all convert_* functions into libi3. 2011-11-16 20:54:30 +00:00
window.h Bugfix: Respect WM_HINTS.input for WM_TAKE_FOCUS clients 2012-01-18 19:16:57 +00:00
workspace.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
x.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
xcb_compat.h Fix xcb_compat.h to make i3 compile with older xcb versions (Thanks David Coppa) 2012-01-20 18:13:52 +00:00
xcb.h A few style fixes for the previous commit 2012-03-26 17:00:35 +02:00
xcursor.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00
xinerama.h Use (void) instead of () for functions without args (Thanks fernandotcl) 2012-03-31 10:53:04 +02:00