aboutsummaryrefslogtreecommitdiff
path: root/options.c
Commit message (Collapse)AuthorAgeFilesLines
* -0 sends NULL separated file-list to key-handlerNRK2021-10-291-3/+2
| | | | | | | | with this change `-0` is turned into a more generic switch which can be used to send NULL-separated file-list to the key-handler as well. this also means `-0` no longer implicitly enables `-o` Closes: https://github.com/nsxiv/nsxiv/issues/140
* code-style: general cleanups (#137)N-R-K2021-10-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tns_clean_cache: remove unused function arg * remove malloc casting * improve consistency use sizeof(T) at the end * avoid comparing integers of different signedness * use Window type for embed and parent * remove unnecessary comparisons * remove cpp style comments * improve consistency: remove comma from the end of enumerator list * Removed useless _IMAGE_CONFIG defines * consistency: use the same order as snprintf * Resolve c89 warnings Co-authored-by: uidops <uidops@protonmail.com> Co-authored-by: Arthur Williams <taaparthur@gmail.com>
* update copyright notice (#139)eylles2021-10-281-1/+2
|
* switch -0 to bottom in options.cNRK2021-09-211-6/+6
|
* add 0 to print_usageNRK2021-09-211-1/+1
|
* add -0 for outputting null-terminated list (#68)N-R-K2021-09-201-1/+6
| | | | | | | | | | | | * add -0 for outputting null-terminated list this doesn't add much, if any, additional complexity to the codebase and can be quite handy for scripting purposes. Closes: https://github.com/nsxiv/nsxiv/issues/67 * Fix typo Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
* Rename, Update Docs and Prepare for Release (#9)Berke Kocaoğlu2021-09-161-7/+7
| | | | | | | Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Arthur Williams <taaparthur@gmail.com> Co-authored-by: eylles <ed.ylles1997@gmail.com>
* set title based on prefix and suffix (#23)qsmodo2021-09-161-3/+16
| | | | | | Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
* Implement fill scale modeBerke Kocaoğlu2021-09-161-1/+1
|
* New version schemeBert Münnich2018-06-091-1/+2
| | | | | | VERSION string between releases is last release suffixed with '+'. Additionally, use output of git-describe instead of VERSION string, if it is not empty.
* One header file for type definitions and function declarationsBert Münnich2017-10-161-9/+6
|
* Add -p flag to disable writing of cache and temporary filesAntti Korpi2017-09-081-2/+6
| | | | Closes #285.
* Merge djhejna/floatdelayBert Münnich2016-12-011-1/+1
|\
| * Support for DELAY as a floating point number including less than 1Don Hejna2016-11-271-4/+5
| | | | | | | | | | second while maintaining backward compatibiitiy with integer arguments.
* | Merge dwminer/framerateBert Münnich2016-11-281-3/+11
|\ \ | |/ |/|
| * Add -A option to force framerate on animated imagesdwminer2016-11-271-2/+10
|/
* Use -e for X window embeddingBert Münnich2016-10-301-9/+9
|
* added support for XEMBED into other windows (ie tabbed) with -wshuall2016-10-281-2/+9
|
* Revised error handlingBert Münnich2015-10-281-20/+13
| | | | | | | - Functions warn() and die() replaced by GNU-like error(3) function - Register cleanup() with atexit(3) - Functions called by cleanup() are marked with CLEANUP and are not allowed to call exit(3)
* Removed feature test macro definitions from source filesBert Münnich2015-10-281-3/+2
|
* Revised handling of GIF animationsBert Münnich2014-07-251-2/+6
| | | | | | - New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
* Removed command line option -FBert Münnich2014-02-051-6/+2
|
* Set scale mode at startup via argument to -s optionBert Münnich2014-02-041-5/+11
|
* Revised scale mode and zoom level handlingBert Münnich2014-02-041-6/+3
| | | | | | | - Scale mode is not reset to default value upon image loading anymore - New default key binding to change mode to scale-down - Removed scale mode setting from config.h - Removed -d command line option, as this is now the default at startup
* Fixed -z option argument parsing; fixes issue #127Bert Münnich2014-01-151-1/+1
|
* Slideshow mode is back, in a simplified versionBert Münnich2014-01-041-17/+24
|
* Refactored remote changesBert Münnich2013-11-141-6/+8
|
* Add support for changing the gamma valueAndrás Mohari2013-11-131-3/+12
|
* Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich2013-08-221-6/+2
| | | | Also removed now obsolete -p command line option; fixes issue #98
* New options: -[io], read/write files from/to stdin/outBert Münnich2013-03-191-4/+16
| | | | Fixes issue #84
* Refactored function definitions to use dangling braceBert Münnich2013-02-081-3/+6
|
* Updated/corrected license headerBert Münnich2013-02-081-13/+13
|
* New option: -N, set X window resource nameBert Münnich2012-10-291-2/+6
|
* Added option -b: disable barBert Münnich2012-02-161-2/+6
|
* Already in the year 2012Bert Münnich2012-02-151-1/+1
|
* Removed exif support; made gif support non-optionalBert Münnich2012-02-111-13/+0
|
* Updated contact informationBert Münnich2011-10-141-1/+1
|
* Strictly adhere to ANSI-C standardBert Münnich2011-10-131-1/+1
|
* Use void for empty argument listsBert Münnich2011-10-121-2/+2
|
* Made all conditionals more preciseBert Münnich2011-09-291-2/+2
|
* Transformed function macros in util.h to inline functionsBert Münnich2011-09-291-1/+1
|
* Added STREQ macroBert Münnich2011-09-261-1/+1
|
* make use of EXIT_ macrosrck2011-09-261-5/+5
|
* Much nicer handling of compile-time featuresBert2011-09-121-2/+3
| | | | | - *_SUPPORT enabled in config.h - XLIBS helper app prints lib flags needed for current settings
* Added own bool typeBert2011-09-111-17/+16
|
* Added slideshow supportBert2011-09-101-8/+7
|
* List additional features in usage message (-v)Bert2011-09-101-4/+16
|
* Strict conformance to IEEE Std 1003.1-2001Bert2011-09-081-2/+2
|
* Reformated license headerBert2011-09-031-11/+11
|
* Unified feature test macro requirementsBert2011-09-031-3/+4
|