Commit graph

4016 commits

Author SHA1 Message Date
Drew DeVault c1582f981a Merge pull request #1324 from Hummer12007/patch-5
Raise max ipc message size limit to 256 MB
2017-08-14 13:48:51 -04:00
Hummer12007 6f355c6ff7 Raise max ipc message size limit to 256 MB 2017-08-14 20:43:37 +03:00
Drew DeVault e93622e4ee Update READMEs 2017-08-14 11:56:58 -04:00
Drew DeVault 222b734524 Merge pull request #1320 from ParadoxSpiral/master
Translate README to German
2017-08-14 08:44:18 -04:00
Jonathan Schleußer abff590d9e Translate README to German 2017-08-14 14:38:52 +02:00
Drew DeVault dae7959089 Merge pull request #1317 from SirCmpwn/日本語
Translate README to Japanese / READMEを日本語訳す
2017-08-14 08:07:03 -04:00
Drew DeVault 38f77a8937 Translate README to Japanese / READMEを日本語訳す 2017-08-13 14:16:55 -04:00
Drew DeVault 1b9ee85bc5 Merge pull request #1316 from 4e554c4c/swaybar_crash
Prevent crash if DBus connection is NULL
2017-08-12 08:18:30 -04:00
Calvin Lee ba6224f4e5 Prevent crash if DBus connection is NULL
Fixes #1307
2017-08-12 12:52:31 +02:00
Drew DeVault 2689238058 Re-enable implicit fallthrough warnings 2017-08-09 18:43:25 -04:00
Drew DeVault 3553fa0a74 One more 2017-08-09 18:42:22 -04:00
Drew DeVault 03af90d302 Clean up fallthrough issues 2017-08-09 18:34:51 -04:00
Drew DeVault 8208e2505a Merge pull request #1313 from ilyaluk/nonblock-ipc-server
Implement nonblocking IO in IPC server
2017-08-08 17:57:44 -04:00
Ilya Lukyanov 1c5a96c112
Implement nonblocking IO in IPC server
Added client write buffer and handler for writable status on client
socket.
2017-08-08 19:23:50 +03:00
Drew DeVault e12d1cf003 Merge pull request #1309 from 4e554c4c/racey_kills
Prevent race condition in the kill command
2017-08-06 11:27:53 -04:00
Calvin Lee 3c93e2cf1b Prevent race condition in the kill command
When killing views with `close_views` a use-after-free can sometimes
occur because parent views are killed before their children. This commit
makes `container_map` run functions on child containers before their
parent, fixing the race.

Fixes #1302
2017-08-06 16:56:39 +02:00
Drew DeVault f8d0e1f946 Merge pull request #1300 from emersion/patch-1
Fix typo in debug log
2017-08-03 07:06:59 -04:00
emersion b6b0be1e0a Fix typo in debug log 2017-08-03 13:00:06 +02:00
Drew DeVault f59fb6bc76 Merge pull request #1294 from 4e554c4c/swaylock_size
Allow swaylock indicator size to be configurable
2017-07-31 16:05:07 -04:00
Calvin Lee 23f11d7c45 Allow swaylock indicator size to be configurable 2017-07-31 19:49:01 +02:00
Drew DeVault 14eeeed7e0 Remove test clipboard code 2017-07-26 19:11:57 -04:00
Drew DeVault a218a0b422 Merge pull request #1288 from johalun/master-securityconf-freebsd
security: enabled ipc on freebsd
2017-07-24 13:14:00 -04:00
Johannes Lundberg cf292fabde security: enabled ipc on freebsd 2017-07-24 18:38:04 +02:00
Drew DeVault 47754642f8 Merge pull request #1285 from tobiasblass/fix_non_dbus_build
[swaybar] fix non-dbus build
2017-07-20 19:43:48 -04:00
Tobias Blass 8976a47f62 [swaybar] fix non-dbus build
Swaybar's CMakeLists.txt uses the enable-tray option directly to decide whether to build the tray. This leads to a compilation error if dbus is not installed.
This patch uses the ENABLE_TRAY variable instead, which is only true if the user enabled the tray *and* dbus is available.
2017-07-20 23:03:16 +02:00
Drew DeVault 1e13a1fd60 Merge pull request #1283 from 4e554c4c/memory_leak
Fix memory leaks in swaybar tray
2017-07-16 22:25:28 -04:00
Calvin Lee e8f589c3dc Fix memory leaks in swaybar tray 2017-07-16 19:06:24 -07:00
Drew DeVault 5675a42def Merge pull request #1279 from 4e554c4c/bad_items
Fix name validation in sni_watcher.c
2017-07-14 07:38:41 -04:00
Calvin Lee 5ceb52962e Fix name validation in sni_watcher.c
This commit also fixes a memory leak that occurs on failure.
2017-07-13 20:57:23 -07:00
Drew DeVault e33792e80a Merge pull request #1276 from 4e554c4c/bad_items
Don't trust SNI names, fixes #1274
2017-07-13 10:53:54 -04:00
Calvin Lee 62223e8fbb Don't trust SNI names, fixes #1274
If an item doesn't have a well-formed name, it will not be added to the
tray.
2017-07-13 07:47:21 -07:00
Drew DeVault 13ed84e886 Merge pull request #1272 from ascent12/pointer-fix
Use WLC v2 pointer interface
2017-07-12 09:08:49 -04:00
Scott Anderson c29e5bbde8 Use WLC v2 pointer interface 2017-07-12 16:39:14 +12:00
nyorain 1cca551c6f Add get_clipbard ipc errors; Adapt swaymsg
Also increase the get_clipboard timeout to 30 secs
2017-07-11 18:04:28 +02:00
nyorain 20888fbb5e Close fd in clipboard request 2017-07-11 17:12:53 +02:00
nyorain 727215c907 Add timeout; Fix receive loop & style issues 2017-07-11 17:07:06 +02:00
Drew DeVault df17a268b9 Merge pull request #1271 from johalun/master-securityconf-freebsd
Add secucity config for FreeBSD.
2017-07-11 10:19:28 -04:00
Johannes Lundberg a3c07273ba Add secucity config for FreeBSD. 2017-07-11 10:56:07 +02:00
Drew DeVault 8fad213f34 Merge pull request #1270 from tobiasblass/bindsym_use_after_free
fix use-after-free bug
2017-07-10 19:00:12 -04:00
Tobias Blass 566863ba5d fix use-after-free bug 2017-07-10 22:59:59 +02:00
Drew DeVault 88120cfbbe Merge pull request #1265 from johalun/master-freebsd
Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer compa…
2017-07-08 08:20:36 -04:00
Johannes Lundberg 6a525b23dd Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer comparison error. 2017-07-08 08:31:10 +02:00
nyorain f0463dab32 Signal base64 in clipboard type; Reimplement loop 2017-07-07 23:34:58 +02:00
nyorain 1e894c1166 Handle x11 text atoms in get_clipboard ipc 2017-07-07 22:34:00 +02:00
nyorain c0f2acce4e Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
nyorain 42547cafb6 Fix/Simplify get_clipboard ipc-server impl 2017-07-07 15:46:17 +02:00
nyorain 02c75ebe37 Implement ipc get_clipboard 2017-07-07 15:38:45 +02:00
Drew DeVault 23a1e94402 Make asciidoc (and man pages) optional
And remove it from the build
2017-07-04 16:02:54 -04:00
Drew DeVault 496cec3cb7 Merge pull request #1256 from lheckemann/doc-png
Do not fail silently when background is not PNG
2017-07-03 15:03:46 -06:00
Linus Heckemann d06ec90a9d swaybg: check that background can be loaded 2017-07-03 22:02:49 +01:00