aboutsummaryrefslogtreecommitdiffstats
path: root/swaygrab
Commit message (Collapse)AuthorAge
* remove the rest of cmakeLibravatar Tony Crisci2017-12-01
|
* swaygrab: Add some error handling.Libravatar Geoff Greer2017-10-22
| | | | | - If IPC response contains `success: false`, abort and print error message. - If tree has no nodes, abort with error msg instead of segfaulting.
* swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC ↵Libravatar Geoff Greer2017-10-22
| | | | | | 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.
* Fix github links in docLibravatar Zuzana Svetlikova2017-10-06
|
* fixes a hanging swaygrabLibravatar Markus Ongyerth2017-09-11
| | | | | | | | | 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.
* Use fork in swaygrab instead of popen.Libravatar Clar Charr2017-08-27
|
* Make asciidoc (and man pages) optionalLibravatar Drew DeVault2017-07-04
| | | | And remove it from the build
* FFmpeg options for swaygrabLibravatar David Blajda2017-06-17
|
* FreeBSD fixesLibravatar johalun2017-06-06
| | | | | | | 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).
* Add -DVERSION flag for release version numbersLibravatar Sebastian Noack2017-04-26
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Document swaygrab -fLibravatar Hummer120072017-02-13
|
* implement "focused container" feature for swaygrabLibravatar Zandr Martin2016-09-18
|
* Fix missing include pathsLibravatar Tomáš Čech2016-04-28
| | | | | | When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
* Fix a typo in swaygrab manualLibravatar Hummer120072016-03-29
|
* Added -R option to getopt opt_stringLibravatar Hummer120072016-03-28
|
* CMake: add missing wlc include dir for common and swaygrabLibravatar Dominique Martinet2016-03-24
|
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | 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.
* use log10 in numlenLibravatar Mikkel Oscar Lyderik2016-01-24
|
* Revert "s/numlen/log10/g"Libravatar Drew DeVault2016-01-23
| | | | This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
* s/numlen/log10/gLibravatar Drew DeVault2016-01-23
|
* Copy filename from argvLibravatar Mikkel Oscar Lyderik2016-01-17
| | | | Fix #449
* Fix whitespace issues.Libravatar Mikkel Oscar Lyderik2016-01-05
|
* swaygrab: Fix memory leak when recording videosLibravatar Julien Savard2015-12-22
|
* swaygrab: add default output filename.Libravatar Mikkel Oscar Lyderik2015-12-17
| | | | | | | | | 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.
* swaygrab: update man pageLibravatar Mikkel Oscar Lyderik2015-12-17
|
* swaygrab: make focused output defaultLibravatar Mikkel Oscar Lyderik2015-12-17
| | | | | This makes swaygrab use the currently focused output as source if no other output is defined with the `-o, --output <output>` option.
* Move numlen(1) to sway/util.cLibravatar Mikkel Oscar Lyderik2015-12-14
|
* move manpages to subfoldersLibravatar Christoph Gysin2015-12-02
|
* cmake: build common code only onceLibravatar Christoph Gysin2015-12-02
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove subprojectsLibravatar Christoph Gysin2015-12-01
|
* cmake: use out-of-source buildLibravatar Christoph Gysin2015-12-01
|
* cmake: use tabs instead of spacesLibravatar Christoph Gysin2015-12-01
|
* cmake: style consistencyLibravatar Christoph Gysin2015-12-01
|
* cmake: convert all cmake commands to lowercaseLibravatar Christoph Gysin2015-12-01
|
* Fix option parsingLibravatar Christoph Gysin2015-11-28
| | | | | | | | | | 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'.
* swaygrab: Add --help option that prints usageLibravatar Christoph Gysin2015-11-28
|
* swaygrab: Print usage and exit on unknown optionsLibravatar Christoph Gysin2015-11-28
|
* Use macros for exit valuesLibravatar Christoph Gysin2015-11-28
|
* Remove extraneous logging from swaygrabLibravatar Drew DeVault2015-11-28
|
* Rearrange logging headersLibravatar Drew DeVault2015-11-28
| | | | Ref #270
* Fix uninitialized variable warning in swaygrabLibravatar Drew DeVault2015-11-27
|
* Add ffmpeg capture to swaygrab (with limitations)Libravatar Drew DeVault2015-11-27
| | | | | This needs to be multithreaded to have any sort of realistic expectation of performance, due to issues with syncronous I/O.
* Fix swaygrab memory leakLibravatar Drew DeVault2015-11-27
|
* Implement swaygrab for still imagesLibravatar Drew DeVault2015-11-27
|
* Add command line to swaygrabLibravatar Drew DeVault2015-11-27
| | | | | Also modifies IPC client so that we can work with persistent connections.
* Add swaygrab subprojectLibravatar Drew DeVault2015-11-27