Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-27 | Move IPC client into common, refactor IPC | Drew DeVault | |
2015-11-26 | Add "variant": "sway" to IPC version response | Drew DeVault | |
2015-11-13 | ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`. | S. Christoffer Eliesen | |
After adding pid to the socket path the `--get-socketpath` command broke because it doesn't know the pid of the running instance. Fix this by setting and querying `SWAYSOCK`. Also ignore `SWAYSOCK` upon normal startup if a socket exists at that location (ie. from another sway instance), and don't overwrite `I3SOCK` if it exists either. | |||
2015-11-13 | ipc: Put socket into proper user runtime dir. | S. Christoffer Eliesen | |
2015-11-12 | Start working on IPC for get_pixels | Drew DeVault | |
This is broken | |||
2015-11-11 | Fix some IPC issues | Drew DeVault | |
Socket now includes pid in the filename (fixes nested sway sessions or old sockets causing problems). Fixed warnings on strict aliasing and cleaned up relevant code in general. | |||
2015-10-27 | implemented IPC subscribe for workspace event | minus | |
2015-10-22 | ipc,commands,config: Replace cmd_status enum with cmd_results struct. | S. Christoffer Eliesen | |
In i3 the ipc reply will contain a human readable error message, and this patch replicates that behaviour. However, that error message is also useful for logging, which this patch takes advantage of. E.g. instead of logging errors directly in commands.c/checkargs, it is fed back to the caller which eventually ends up logging everything with maximum context available (config.c/read_config). So instead of logging e.g. "Error on line 'exit'" it will now log: "Error on line 'exit': Can't execute from config." | |||
2015-10-22 | ipc: Return correct status in ipc reply. | S. Christoffer Eliesen | |
2015-10-16 | sway/ipc: Use sway_abort instead of returning NULL. | S. Christoffer Eliesen | |
2015-10-16 | sway/ipc: ipc_user_sockaddr: Use sway_assert instead of assert. | S. Christoffer Eliesen | |
2015-10-16 | sway/ipc: Fix whitespace. | S. Christoffer Eliesen | |
2015-10-16 | sway/ipc: Free ipc_sockaddr upon termination. | S. Christoffer Eliesen | |
2015-10-16 | sway/ipc: Support multiple users. | S. Christoffer Eliesen | |
2015-10-16 | sway/ipc: Dynamically assign ipc_sockaddr. | S. Christoffer Eliesen | |
2015-09-29 | return after disconnect ipc client and minor checks | taiyu | |
2015-09-13 | Revert "new_workspace null behavior + testmap functions + regex" | Drew DeVault | |
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983. Fixes #180 cc @taiyu-len | |||
2015-09-12 | new_workspace null behavior + testmap functions + regex | taiyu | |
2015-09-07 | config modes | taiyu | |
2015-09-02 | Remove stropts.h from ipc.c | Drew DeVault | |
Apparently it's not required, and for some reason Fedora doesn't have it. Fixes #162 | |||
2015-08-26 | Added in better versioning info | Luminarys | |
2015-08-27 | converted IPC to use json-c | minus | |
get_workspaces and get_outputs | |||
2015-08-26 | added json-c lib and implemented IPC get_version | minus | |
2015-08-21 | fixed #108 signed/unsigned comparison | minus | |
2015-08-21 | Fix compiler warnings (which were really errors) | Drew DeVault | |
2015-08-20 | added IPC messages get_workspaces and get_outputs | minus | |
No escaping on container names is done yet, as well as some values are hardcoded because they don't exist yet. | |||
2015-08-20 | set I3SOCK for i3-msg compatibility | minus | |
2015-08-20 | fixed formatting | minus | |
2015-08-20 | added sway_terminate to exit cleanly | minus | |
2015-08-20 | set IPC client sockets to close on exec | minus | |
2015-08-20 | properly exit sway | minus | |
- wlc_terminate() instead of exit(0) - unlink IPC socket | |||
2015-08-20 | use env var SWAYSOCK if available | minus | |
or fall back to /tmp/sway-ipc.sock | |||
2015-08-20 | properly handle IPC clients | minus | |
2015-08-20 | added i3-ipc support/parsing | minus | |
2015-08-20 | very basic IPC implementation | minus | |
simply executes the received data as command |