Commit Graph

159 Commits

Author SHA1 Message Date
eb0a56fad1 Merge branch 'get-marks' into next 2011-08-09 09:28:06 +02:00
5e06b1b21d Fix some potential memory leaks 2011-08-09 09:27:15 +02:00
3cc22dcbe4 Preserve marks between restarts. 2011-08-09 08:19:31 +02:00
35d7ef0ddd Feature: implement GET_MARKS 2011-08-09 08:04:33 +02:00
34eb9b2664 ipc: make 'focused' a bool 2011-07-24 15:00:09 +02:00
b09bb0fc2a ipc: make 'urgent' a bool 2011-07-24 14:54:30 +02:00
36fde6dbe1 ipc: send 'percent': null when percent is not relevant for the container 2011-07-24 14:47:28 +02:00
fdd098b010 secure strscpy by replacing with strncpy 2011-07-23 22:22:36 +02:00
fb9d77305e Implement 'fullscreen global' 2011-06-10 18:27:20 +02:00
51bfdbf0a8 ipc: make 'layout' a string 2011-06-02 17:12:18 +02:00
8acea3d34c call tree_render() only after commands which require it
Saves one call of tree_render for exec, for example
2011-05-29 13:20:34 +02:00
9c05c18156 ipc: change border_style to human-readable string instead of enum value 2011-05-11 20:39:18 +02:00
a149283964 Fix unaligned memory access on sparc (Thanks David Coppa) 2011-04-28 21:44:29 +02:00
2c6508a6a3 remove useless checks, size_t != ssize_t :) 2011-04-28 20:24:16 +02:00
528f486eee Make code compatible with yajl 2.0 *and* 1.0 2011-04-27 19:52:53 +02:00
39ee97fd82 FREE() already nulls the pointer 2011-03-21 23:49:16 +01:00
6d8784af98 Set the I3_SOCKET_PATH atom to the expanded path. 2011-03-21 23:46:03 +01:00
f34b045619 Fix dock client handling for inplace restarts 2011-02-21 03:01:55 +01:00
9719b21243 refactor some places to use output_get_content() 2011-02-21 01:55:36 +01:00
6b272fea55 Bugfix: in get_workspaces, only consider the CT_CON, not the CT_DOCKAREAs (Thanks fernandotcl) 2011-02-21 00:54:29 +01:00
7f89c71689 Implement dock mode, update testsuite
Currently, dock clients are only possible at the top.
2011-02-20 23:43:03 +01:00
186d2c7bfa ipc: change 'orientation' to human readable string instead of raw integer value 2011-01-07 20:48:01 +01:00
dc3c633ee4 Bugfix: store and properly load workspace order when restarting 2010-12-27 22:28:59 +01:00
a0cd3c2bab Include 'percent' in tree JSON, use C-locale when dumping, update testcase 2010-11-29 11:10:17 +01:00
4f1260ffe8 Also store/load window_rect when restarting 2010-11-28 17:20:29 +01:00
1de97a1f1f correctly sort numbered workspaces (+testcase)
Numbered workspaces (workspaces with a name containing only digits) will be
inserted in the correct order now. Named workspaces are always sorted after
numbered workspaces and in the order of creation.
2010-11-21 23:35:49 +01:00
fab8b84db7 ipc: fix current_workspace 2010-11-21 22:12:34 +01:00
a71d782da9 fix indention of src/ipc.c 2010-11-21 22:03:55 +01:00
e2517bd48c Unlink the resolved path. 2010-11-21 21:36:30 +01:00
5d830e7a27 Ported over some message types from -next. 2010-11-21 21:36:19 +01:00
f53fafe100 ipc: s/floating-nodes/floating_nodes for consistency 2010-11-21 16:34:45 +01:00
5ebb3b4832 Port the IPC socket creation code from -next. 2010-11-15 14:00:48 +01:00
d248f35267 include border style in ipc tree dump 2010-11-12 19:16:38 +01:00
ebe878d24c Indent clean up. 2010-08-21 18:27:12 +02:00
d066341261 ipc/parser: commands can now return custom JSON replies
Also, finally add include/cmdparse.h
2010-07-17 15:15:37 +02:00
1a0fcea48e ipc: add member 'focused' to every container 2010-07-04 22:17:18 +02:00
32be3af109 Re-implement support for the urgency hint, extend t/13-urgent.t
The actual rendering will follow
2010-06-02 17:55:10 +02:00
712605e69f ipc: include floating-nodes in tree reply 2010-06-01 20:50:23 +02:00
67a6bd5589 bugfix: allocate one more zero-byte to definitely get a zero-terminated string 2010-06-01 18:46:14 +02:00
f10a3d9b75 bugfix: really return focus list in IPC tree dump (instead of nodes list) 2010-05-10 00:00:43 +02:00
09523f36f5 also re-render the tree for commands using the new parser 2010-05-09 23:24:03 +02:00
93600ce0fd implement con_id for matching containers, extend testcase 2010-04-16 15:30:07 +02:00
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
4ce0d6f014 ipc: implement GET_OUTPUTS 2010-03-19 22:24:52 +01:00
a607eae53a ipc: include the urgent flag in the workspaces reply 2010-03-19 22:01:21 +01:00
f7a1a9fb20 ipc: correctly shutdown IPC sockets when exiting/restarting 2010-03-16 02:44:47 +01:00
b6088b803e ipc: correctly set "focused" for workspaces
Didn’t work on empty workspaces before
2010-03-13 16:27:03 +01:00
3db4890683 ipc: implement events, cleanup the code a bit 2010-03-12 21:05:05 +01:00
d86531b958 ipc: return logical workspace numbers, not internal ones 2010-03-12 15:59:38 +01:00
d6f726283c ipc: also send a reply for COMMAND messages 2010-03-12 15:29:44 +01:00