Commit Graph

24 Commits

Author SHA1 Message Date
Michael Stapelberg d25a05f06b add TYPE_GET_LOG_MARKERS to i3-msg 2011-12-10 11:16:12 +00:00
Michael Stapelberg 726f2a1e5a normalize file headers across **/*.{h,c} 2011-10-25 21:19:38 +01:00
Michael Stapelberg 24ede1c834 add an IPC request to get the bar configuration (by ID) 2011-10-18 19:05:49 +01:00
Michael Stapelberg 046cf99585 Move ipc_send_message and ipc_recv_message to libi3
Make i3-msg and src/ipc.c use it
2011-10-02 18:33:36 +01:00
Michael Stapelberg ff86852453 i3-msg: use smalloc, sstrdup from libi3 2011-10-02 18:11:01 +01:00
Michael Stapelberg 6af8b0941c i3-msg: use socket_path_from_x11 from libi3 2011-10-02 16:11:55 +01:00
Michael Stapelberg 32ad9f7e3a i3-msg: include newline at the end of the reply 2011-09-05 22:55:31 +02:00
Helgi Kristvin Sigurbjarnarson 96ed68de16 Add support for get_marks in i3-msg 2011-08-09 08:19:11 +02:00
Michael Stapelberg fdd098b010 secure strscpy by replacing with strncpy 2011-07-23 22:22:36 +02:00
Michael Stapelberg 5c276be3d5 i3-msg: concatenate all arguments. now you can use i3-msg mark foo 2011-07-13 18:01:24 +02:00
Michael Stapelberg ba7e82fc94 i3-msg: re-indent main.c 2011-07-13 17:53:07 +02:00
Michael Stapelberg 307a036d5c i3-msg, i3-input: get the I3_SOCKET_PATH atoms if socket path was not specified 2011-03-19 21:23:55 +01:00
Michael Stapelberg d9dd245bcc Bugfix: Use strdup() for the initial value of socket_path (Thanks mseed) 2011-01-22 17:00:27 +01:00
Axel Wagner 4caf85aa0b Use I3SOCK-environment-variable 2011-01-12 10:15:48 +01:00
Michael Stapelberg cd2ee61ee8 fix some memory leaks when user passes command line arguments twice (Thanks Tiago) 2011-01-12 10:12:24 +01:00
Michael Stapelberg 0f083f6f78 i3-msg: s/tree/get_tree for consistency, add new types to error message 2010-11-21 21:39:09 +01:00
Fernando Tarlá Cardoso Lemos c0cd756b0f Support get_workspaces and get_outputs in i3-msg. 2010-11-21 21:36:25 +01:00
Michael Stapelberg c145f7e529 first step of the big refactoring ("tree" branch).
From here on, we can track changes. It made no sense to put the
development up to this point into git.
2010-04-13 13:17:39 +02:00
Michael Stapelberg f7a1a9fb20 ipc: correctly shutdown IPC sockets when exiting/restarting 2010-03-16 02:44:47 +01:00
Michael Stapelberg 95666d007e i3-msg: Initialize message_type (Thanks badboy) 2010-03-12 15:45:36 +01:00
Michael Stapelberg 77fe1f29b0 i3-msg: read replies, implement get_workspaces command 2010-03-12 15:30:09 +01:00
Michael Stapelberg 13c481c9f5 i3-msg: Fix compilation warning (Thanks mxf) 2009-08-05 14:38:55 +02:00
Michael Stapelberg c56dc0f966 i3-msg: more error handling, more comments 2009-07-28 21:29:23 +02:00
Michael Stapelberg ec9b58ada9 Add i3-msg, a sample implementation and hopefully useful utility 2009-07-28 21:26:36 +02:00