Marius Orcsik
69e9b1386f
Explicitly setting the version of json-c required
...
to 0.12.1. This is needed because the development
version breaks the existing API of json_object_array_length()
by moving the return from int to size_t.
This would fix #1355
7 years ago
Dan Robertson
3d209be3d6
Add Address Sanitized build type
...
- Add -DCMAKE_BUILD_TYPE=ASAN to possible builds
7 years ago
Drew DeVault
d75ee3f9ce
Merge pull request #1430 from dlrobertson/nvidia_drm
...
nvidia: Validate the nvidia_drm module options
7 years ago
Dan Robertson
88d042ec49
nvidia: Validate the nvidia_drm module options
...
When the proprietary nvidia driver is used, ensure the modeset option is
set instead of checking /proc/cmdline for nvidia-drm.modeset=1.
7 years ago
Drew DeVault
5551bf92a9
Merge pull request #1427 from ranisalt/patch-1
...
Use add_compile_options instead of interpolation
7 years ago
Ranieri Althoff
0d2baa1c89
Use add_compile_options instead of interpolation
...
Uses CMake's `add_compile_options` directive instead of interpolating `CMAKE_C_FLAGS` for adding compilation flags.
7 years ago
Drew DeVault
b31b11f139
Merge pull request #1425 from ggreer/grab-error
...
swaygrab: Add some error handling.
7 years ago
Geoff Greer
29f27c7cdc
swaygrab: Add some error handling.
...
- If IPC response contains `success: false`, abort and print error message.
- If tree has no nodes, abort with error msg instead of segfaulting.
7 years ago
Drew DeVault
d10e723183
Merge pull request #1424 from ggreer/swaygrab-json
...
swaygrab: Prevent segfault if IPC response can't be parsed.
7 years ago
Geoff Greer
98875443ea
swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC response can't be parsed.
...
The default max nesting depth of json-c is 32, which can cause some valid trees to fail to be parsed, so increase that. Also instead of segfaulting, just abort and print the error returned by json-c.
7 years ago
Drew DeVault
66d3777c14
Merge pull request #1419 from 4e554c4c/better_logs
...
Print log level even if STDERR is not a tty
7 years ago
Calvin Lee
016261fd64
Print log level even if STDERR is not a tty
...
Makes reading debug logs much easier, debug lines will start with `E`,
info lines with `I` and error lines with `E`.
7 years ago
Drew DeVault
b930003008
Remove broken link to Spanish translation
...
Fixes #1417
7 years ago
Drew DeVault
4ded091491
Merge pull request #1412 from Hummer12007/rcfix
...
handlers: preserve parent pointer value
7 years ago
Mykyta Holubakha
22906f7fce
handlers: preserve parent pointer value
7 years ago
Drew DeVault
a996ee485d
Add feature freeze notice to readme
7 years ago
Drew DeVault
b16dbf6d64
Fix crash closing fullscreen windows in container
7 years ago
Drew DeVault
67f9b7fe5b
Merge pull request #1402 from johalun/event-codes-include-fix
...
Fix include path to input-event-codes.h for FreeBSD.
7 years ago
Johannes Lundberg
44e72573cb
Fix include path to input-event-codes.h for FreeBSD.
7 years ago
Drew DeVault
ea0f1f3a7e
Merge pull request #1401 from sideshowdave7/config/add_scale_to_merge_output_config
...
Fixes to changing scale factor with output command
7 years ago
David Hurst
ee15068a8f
Add scale to merge_output_config
7 years ago
Drew DeVault
2216e830be
Merge pull request #1398 from johalun/freebsd-fix
...
Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
Drew DeVault
e91058509e
Merge pull request #1400 from madblobfish/manpages
...
Various manpage edits
7 years ago
madblobfish
93fe8ae705
Various manpage edits
...
Fix some spelling mistakes, missing punctuation and made some paragraphs more clear.
7 years ago
Drew DeVault
55d8a77dd8
Merge branch 'master' into freebsd-fix
7 years ago
Johannes Lundberg
5a63f0f57b
Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
7 years ago
Drew DeVault
d1e7ac89c4
Merge pull request #1397 from johalun/manpages
...
Change install folder for man pages
7 years ago
Johannes Lundberg
2588dede77
Change install folder for man pages
7 years ago
Drew DeVault
45ec4de36a
Merge pull request #1395 from Zer0-One/master
...
Update man 5 page
7 years ago
David Zero
03f8a8ae05
Update man 5 page
...
Changes 'orientation' to 'default_orientation' to match commands.c
7 years ago
Drew DeVault
6f794131eb
Merge pull request #1394 from madblobfish/patch-1
...
Interlink swaymsg to sway(5) and hint that command is interchargeable
7 years ago
madblobfish
758c60e836
fintune swaymsg manpage
...
Added a hint where to find the commands.
Also indicate that command is itself not a command,
7 years ago
Drew DeVault
a82aa2a20d
Fix use-after free introduced by cbe7364
7 years ago
Drew DeVault
6271abd644
Fix #1291
7 years ago
Drew DeVault
eb7b920303
Document new criteria
...
Via #1387
7 years ago
Drew DeVault
a6d5cad309
Document swaylock -f, scratchpad show
7 years ago
Drew DeVault
6d83a59b46
Merge pull request #1263 from nyorain/master
...
Implement get_clipboard ipc message
7 years ago
Drew DeVault
5ecedc7199
Remove destroyed views from scratchpad
...
Fixes #1363
7 years ago
Drew DeVault
46e5aeac50
Fix crash on swaygrab with scratchpad populated
...
Fixes #1217
7 years ago
Drew DeVault
43161a7e17
Merge pull request #1387 from lbonn/ipc-work
...
ipc: various fixes for i3 compat
7 years ago
lbonn
61005c3bda
ipc/window-event: fill "container" on close events
...
Also use the recursive description to include children as well
Careful: send the event before deleting the parent
7 years ago
lbonn
b2d4caf6c3
commands: fail when criteria match nothing
...
For whatever command, this probably was not intended by the user
7 years ago
lbonn
514eed7e4b
commands: allow criterion values to be unquoted
...
Sometimes it doesn't really make sense to quote them (numeric values for
example)
In that case, the value is parsed until the next space or the end of the
whole criteria expression
7 years ago
lbonn
d879e5b15d
commands: implement 3 missing criteria from i3
...
* con_id
* floating
* tiling
7 years ago
lbonn
fd7c4bacbd
ipc/tree: populate `focus` fields
...
Ids of children, by order of focus
7 years ago
lbonn
661625b29e
ipc/tree: output mandatory fields for all nodes
...
Still missing: focus
7 years ago
Drew DeVault
97daffea58
Merge pull request #1385 from lbonn/sec-no-hidden
...
Security config: skip hidden files
7 years ago
lbonn
e7df811f10
Security config: skip hidden files
...
Also: fix a small memory leak
7 years ago
Drew DeVault
fff684b98e
Merge pull request #1384 from lbonn/move-workspace-fullname
...
Fix two issues with spaces in workspace names
7 years ago
lbonn
a7e1a0eea9
Make `workspace_next_name` work with spaces
...
`workspace_next_name` parses workspace commands to find the default
workspace names. It handled " " as a separator, which prevents the use
of workspace names with spaces.
7 years ago