Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-22 | swaygrab: Add some error handling. | Geoff Greer | |
- If IPC response contains `success: false`, abort and print error message. - If tree has no nodes, abort with error msg instead of segfaulting. | |||
2017-10-22 | swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC ↵ | Geoff Greer | |
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. | |||
2017-10-06 | Fix github links in doc | Zuzana Svetlikova | |
2017-09-11 | fixes a hanging swaygrab | Markus Ongyerth | |
https://github.com/SirCmpwn/sway/issues/1350 is fixed with this. The commit that change swaygrab to use fork instead of Popen tried to write to the read end of the pipe in the child branch and exec in the parent branch. This commit fixes both of those and closes the write fd after writing, so convert actually exits. | |||
2017-08-27 | Use fork in swaygrab instead of popen. | Clar Charr | |
2017-07-04 | Make asciidoc (and man pages) optional | Drew DeVault | |
And remove it from the build | |||
2017-06-17 | FFmpeg options for swaygrab | David Blajda | |
2017-06-06 | FreeBSD fixes | johalun | |
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic). | |||
2017-04-26 | Add -DVERSION flag for release version numbers | Sebastian Noack | |
2017-03-10 | UnGNUify the codebase | Drew DeVault | |
2017-02-13 | Document swaygrab -f | Hummer12007 | |
2016-09-18 | implement "focused container" feature for swaygrab | Zandr Martin | |
2016-04-28 | Fix missing include paths | Tomáš Čech | |
When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it. | |||
2016-03-29 | Fix a typo in swaygrab manual | Hummer12007 | |
2016-03-28 | Added -R option to getopt opt_string | Hummer12007 | |
2016-03-24 | CMake: add missing wlc include dir for common and swaygrab | Dominique Martinet | |
2016-02-26 | Correctly exit sway on errors. | Mikkel Oscar Lyderik | |
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running. | |||
2016-01-24 | use log10 in numlen | Mikkel Oscar Lyderik | |
2016-01-23 | Revert "s/numlen/log10/g" | Drew DeVault | |
This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370. | |||
2016-01-23 | s/numlen/log10/g | Drew DeVault | |
2016-01-17 | Copy filename from argv | Mikkel Oscar Lyderik | |
Fix #449 | |||
2016-01-05 | Fix whitespace issues. | Mikkel Oscar Lyderik | |
2015-12-22 | swaygrab: Fix memory leak when recording videos | Julien Savard | |
2015-12-17 | swaygrab: add default output filename. | Mikkel Oscar Lyderik | |
With this it's possible to run `swaygrab` without a filename argument. With no filename supplied it will use a default name based on the current time. The default file will get the extension `png` for screenshots and `webm` for video capture. | |||
2015-12-17 | swaygrab: update man page | Mikkel Oscar Lyderik | |
2015-12-17 | swaygrab: make focused output default | Mikkel Oscar Lyderik | |
This makes swaygrab use the currently focused output as source if no other output is defined with the `-o, --output <output>` option. | |||
2015-12-14 | Move numlen(1) to sway/util.c | Mikkel Oscar Lyderik | |
2015-12-02 | move manpages to subfolders | Christoph Gysin | |
2015-12-02 | cmake: build common code only once | Christoph Gysin | |
This creates (static) libraries for protocols/, common/, and wayland/. | |||
2015-12-01 | cmake: remove subprojects | Christoph Gysin | |
2015-12-01 | cmake: use out-of-source build | Christoph Gysin | |
2015-12-01 | cmake: use tabs instead of spaces | Christoph Gysin | |
2015-12-01 | cmake: style consistency | Christoph Gysin | |
2015-12-01 | cmake: convert all cmake commands to lowercase | Christoph Gysin | |
2015-11-28 | Fix option parsing | Christoph Gysin | |
Using 'flag' results in duplicate code paths for short and long options. This broke the -q short option in swaymsg, because there was: {"quiet", no_argument, &quiet, 'q'} Which will set quiet to 'q' and return 0, not 'q'. | |||
2015-11-28 | swaygrab: Add --help option that prints usage | Christoph Gysin | |
2015-11-28 | swaygrab: Print usage and exit on unknown options | Christoph Gysin | |
2015-11-28 | Use macros for exit values | Christoph Gysin | |
2015-11-28 | Remove extraneous logging from swaygrab | Drew DeVault | |
2015-11-28 | Rearrange logging headers | Drew DeVault | |
Ref #270 | |||
2015-11-27 | Fix uninitialized variable warning in swaygrab | Drew DeVault | |
2015-11-27 | Add ffmpeg capture to swaygrab (with limitations) | Drew DeVault | |
This needs to be multithreaded to have any sort of realistic expectation of performance, due to issues with syncronous I/O. | |||
2015-11-27 | Fix swaygrab memory leak | Drew DeVault | |
2015-11-27 | Implement swaygrab for still images | Drew DeVault | |
2015-11-27 | Add command line to swaygrab | Drew DeVault | |
Also modifies IPC client so that we can work with persistent connections. | |||
2015-11-27 | Add swaygrab subproject | Drew DeVault | |