Michael Stapelberg
0f22b105c1
Fix linking by linking libi3 first and its dependencies afterwards
...
Interestingly, compilation was only broken on some systems apparently
2012-07-23 10:56:44 +02:00
Quentin Glidic
0b4ee7a1da
common.mk: Split XCB common flags
2012-07-23 00:12:55 +02:00
Quentin Glidic
c7029a5e21
common.mk: Introduce I3_*FLAGS
...
CPPFLGES, CFLAGS and LDFLAGS should be user variables
We now provide default flags but use I3_*FLAGS flags for our own needed
flags
Also reoder lib flags a bit
2012-07-22 23:53:49 +02:00
Quentin Glidic
3b1b72ecbb
*.mk: Support passing specific CFLAGS/LIBS
2012-07-22 23:53:13 +02:00
Quentin Glidic
e452acb30e
Add stub Makefiles to allow subdir make calls
2012-07-22 19:57:48 +02:00
Quentin Glidic
bbede0ba00
Move i3-msg to the new Makefile layout
2012-07-22 19:57:21 +02:00
Michael Stapelberg
dee7c07ad2
shmlog: store meta information in the buffer itself, store path as X11 atom
...
This makes i3-dump-log completely independent of a running i3 instance.
2012-01-06 23:40:07 +00:00
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
4f6e58e250
Makefiles: prefix compilation messages (for parallel builds)
2011-10-02 16:04:18 +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
6a07e08320
makefiles: build subdirs (Thanks Kacper)
2011-07-25 00:31:35 +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
3749ed2fbe
Makefile: respect and use LIBS (Thanks Kacper)
2011-07-13 13:28:31 +02:00
Michael Stapelberg
93f906308d
makefiles: respect and use the CPPFLAGS variable (Thanks Kacper)
...
See also: http://stackoverflow.com/questions/2754966/cflags-vs-cppflags
2011-07-13 13:25:15 +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
1bce8f2104
makefiles: support PREFIX and SYSCONFDIR
2010-03-16 00:08:54 +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