Commit graph

33 commits

Author SHA1 Message Date
Drew DeVault
bfcabe48ef Start fleshing out wayland client implementation
This introduces a basic shared framework for making wayland clients
within sway itself.
2015-11-12 19:04:01 -05:00
Drew DeVault
d729032ba2 Add file and line number to log in Debug build 2015-11-11 08:32:32 -05:00
S. Christoffer Eliesen
9f02b0bf16 commands: Learn 'debuglog'.
Replicates i3 option. Verbosity level given as command line argument
becomes default log level, and using 'debuglog toggle' switches back and
forth between default and debug (or L_ERROR and debug if default is also
L_DEBUG).
2015-10-27 14:37:44 +01:00
S. Christoffer Eliesen
5a70853253 log: Add swayc_log, use at a few key places.
swayc_log works just like sway_log, but appends type and name from given
container to the log output.
2015-10-25 13:14:28 +01:00
taiyu
0d51f62224 merge + no c_extensions 2015-09-18 07:23:04 -07:00
Drew DeVault
318e1be240 Fix warnings introduced by prior commit 2015-09-18 07:27:35 -04:00
taiyu
0bea2e2122 multi command keybinds 2015-09-14 19:59:25 -07:00
taiyu
f25c6b312b gap resize 2015-09-05 20:48:52 -07:00
Drew DeVault
47c7ed9f3a Do not set FD_CLOEXEC 2015-09-02 10:47:02 -04:00
taiyu
274e56a602 fixed move_container bug, log prints before aborting 2015-08-26 16:27:01 -07:00
taiyu
1fa7a91bfb move_container_to fixup 2015-08-26 11:01:26 -07:00
Luminarys
7c5b6f8c52 Added in backtrace printing 2015-08-24 15:44:58 -05:00
Drew DeVault
e232241466 Do not log with colors unless stdout is a tty 2015-08-23 13:17:53 -04:00
taiyu
1a1ac64662 bugfixes, renames 2015-08-21 10:28:37 -07:00
minus
8dfaf6265b fixed #108 signed/unsigned comparison 2015-08-21 16:53:11 +02:00
Drew DeVault
6278922f7a Fix clang warnings
These particular warnings have always struck me as stupid
2015-08-21 08:24:48 -04:00
Luminarys
96ab21b276 Fixes to resizing and added in resize lock once boundaries are exceeded 2015-08-21 00:49:47 -05:00
Luminarys
f589731f29 Rewrite of resize command to make it more sane 2015-08-20 21:37:59 -05:00
minus
f26ed32e46 added sway_terminate to exit cleanly 2015-08-20 15:27:56 +02:00
minus
773e85c681 properly handle IPC clients 2015-08-20 15:24:33 +02:00
taiyu
f5fde7c45c style 2015-08-20 05:06:22 -07:00
taiyu
fbaa9111a8 setup for resizable windows, drop weight 2015-08-20 04:47:36 -07:00
Alexander 'z33ky' Hirsch
22675b0111 Minor style fix 2015-08-20 02:30:22 +02:00
taiyu
c5a6982893 fixed some more bugs, moved layout_log into log.ch, restored focus_parent 2015-08-19 01:06:15 -07:00
minus
faccaf6112 added sway_assert function
returns false on a failed assertion in release mode and raises SIGABRT in debug mode
2015-08-18 23:38:34 +02:00
Drew DeVault
2139001c9f Coding style enforcement
This was done by hand, so I might have missed things. If anyone knows of
a good C style enforcement tool, let me know.
2015-08-18 07:20:34 -04:00
taiyu
11321ca2dd changed handling of focus, handling of view by type 2015-08-18 00:28:44 -07:00
Taiyu
f798e9bb0b moved fd modifying stuff to log.c 2015-08-13 00:24:03 -07:00
Luminarys
7c02a1967b Spaces to Tabs 2015-08-10 14:09:51 -05:00
jdiez17
56d29bbec5 log: add newline 2015-08-10 02:24:19 +02:00
jdiez17
69edcb88ea style: More compliance 2015-08-09 20:41:54 +02:00
jdiez17
c688ff704d log, commands: Add log_colors command 2015-08-09 20:38:02 +02:00
Drew DeVault
0427fddb5a Add logging and new windows into layout tree 2015-08-08 17:01:27 -04:00