Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set window title only once at startup | Bert Münnich | 2018-10-15 | 2 | -12/+0 |
| | | | | | | | Putting image info in the title predates the info bar; it no longer seems necessary. Fixes issue #318. | ||||
* | Revise Makefile | Bert Münnich | 2018-10-11 | 1 | -24/+18 |
| | | | | | | | Use uppercase for externally defined macros and lowercase for macros defined in the makefile. Also simplify generation of version.h. | ||||
* | Set executable bit on scripts in exec folder | Patryk Czachurski | 2018-08-04 | 2 | -0/+0 |
| | |||||
* | Respect updated path format when cleaning cache | Kacper Gutowski | 2018-07-30 | 1 | -11/+2 |
| | | | | | | Since d8114e8 the file name is used for caching as-is without adding .jpg at the end, but sxiv -c still expected old format causing it to remove all fresh thumbnails. | ||||
* | Don't skip dot files when cleaning cache | Kacper Gutowski | 2018-07-30 | 4 | -6/+12 |
| | |||||
* | Simplify cg_mark_range further | Bert Münnich | 2018-06-10 | 1 | -5/+3 |
| | |||||
* | Set global markidx whenever a single img is (un)marked | Bert Münnich | 2018-06-09 | 2 | -4/+4 |
| | | | | This also sets *markidx* when using the right mouse button in thumbnail mode. | ||||
* | (Un)mark thumbnails while holding Button3 down | Bert Münnich | 2018-06-09 | 1 | -4/+13 |
| | |||||
* | (Un)mark single image through generic function | Bert Münnich | 2018-06-09 | 2 | -14/+18 |
| | |||||
* | Simplify cg_mark_range | Bert Münnich | 2018-06-09 | 1 | -22/+11 |
| | |||||
* | Rename variable toggledidx to markidx | Bert Münnich | 2018-06-09 | 2 | -9/+9 |
| | |||||
* | Fix cg_mark_range after removing images from file list | Bert Münnich | 2018-06-09 | 1 | -0/+2 |
| | |||||
* | Remove unnecessary special cases in cg_mark_range | Bert Münnich | 2018-06-09 | 2 | -6/+1 |
| | |||||
* | Change default key-bindings of mark commands | Bert Münnich | 2018-06-09 | 1 | -3/+3 |
| | | | | | *Shift-m* feels much more natural for *mark_range* and *Ctrl-u* is decent enough for *unmark_all*. | ||||
* | Add mark range function | Daniel Lublin | 2018-06-09 | 5 | -0/+42 |
| | | | | | Sets the marked state of all images ranging from the latest marked/unmarked image to the current image, to the state of that latest toggled image. | ||||
* | New version scheme | Bert Münnich | 2018-06-09 | 2 | -3/+13 |
| | | | | | | VERSION string between releases is last release suffixed with '+'. Additionally, use output of git-describe instead of VERSION string, if it is not empty. | ||||
* | Initialize window bar buffers to empty string | Bert Münnich | 2018-04-11 | 2 | -1/+3 |
| | | | | Fixes issue #308. | ||||
* | Revise waiting for child processes | Bert Münnich | 2018-02-18 | 1 | -6/+20 |
| | |||||
* | Close image-info explicitly | Bert Münnich | 2018-02-18 | 2 | -19/+22 |
| | |||||
* | Skip imlib cache when reloading due to inotify event | Bert Münnich | 2018-02-18 | 1 | -0/+1 |
| | |||||
* | Ignore outdated inotify events | Bert Münnich | 2018-02-18 | 1 | -7/+7 |
| | |||||
* | Do not limit fit-to-win to smallest zoom level | Bert Münnich | 2018-01-22 | 1 | -7/+4 |
| | | | | Related to issue #303 | ||||
* | Make zoomdiff compare impact on image dimensions | Bert Münnich | 2018-01-22 | 1 | -6/+6 |
| | | | | | | Before that zoomdiff was a merely heuristic. Related to issue #303 | ||||
* | Use float for ox/oy compare values | Bert Münnich | 2018-01-22 | 1 | -4/+4 |
| | | | | Fixes issue #302 | ||||
* | Use argument to select between two drag methods | phi | 2018-01-22 | 4 | -8/+22 |
| | |||||
* | Refactoring | Bert Münnich | 2018-01-09 | 2 | -10/+8 |
| | |||||
* | Fix a potential uninitialized variable | Hyleus | 2018-01-09 | 1 | -2/+5 |
| | |||||
* | Fix autoreload-nop accidentally selecting on stdin | Leonardo Taccari | 2017-12-13 | 1 | -1/+1 |
| | | | | | | | | When sxiv is built with AUTORELOAD=nop if something is feed via stdin it will start to infinitely call select() leading to a 100% CPU usage. Thanks to @sdx23 for helping in analyzing that problem! Fixes issue #297. | ||||
* | Separate bar fields only by spaces | Bert Münnich | 2017-12-07 | 2 | -6/+8 |
| | |||||
* | Simplify drawing of bar text | Bert Münnich | 2017-12-07 | 1 | -53/+34 |
| | | | | | | | | | Non-fitting text is truncated by simply cutting it off. win_textwidth() has been replaced by a simple macro wrapper around win_draw_text() with a maximum width of zero, which results in a dry-run that still calculates the number of pixels used by the text, much like snprintf(3) with a buffer length of zero. | ||||
* | Replace utf8codepoint with Chris Wellons' utf8_decode | Bert Münnich | 2017-12-07 | 4 | -34/+75 |
| | | | | | | Code under a different license should be kept in a separate file. This implemention is a single header file with ~65 lines, so it better fits this requirement. | ||||
* | win_textwidth is no longer needed outside window.c | Bert Münnich | 2017-12-07 | 2 | -12/+8 |
| | |||||
* | Remove obsolete files[].base | Bert Münnich | 2017-12-07 | 2 | -6/+0 |
| | |||||
* | Left bar shows file name as given by user | Bert Münnich | 2017-12-07 | 2 | -20/+6 |
| | |||||
* | Try to match a fallback font if needed | Squibby | 2017-12-06 | 5 | -10/+75 |
| | | | | | | | | | | | | | | Fixes #276 Instead of rendering the entire filename at once, Xft will let us do it character by character. This will allow sxiv to query fontconfig for a font that can provide any missing codepoints, if needed. A known issue of this patch is that the "..." dots rendering will not work properly for very long multibyte filenames. That is because we cannot easily predict the final width of the rendered filename before drawing it. I couldn't figure out a clean way to deal with this, so I ended up just truncating the offending filenames. | ||||
* | Reject text files resembling TGA images | Bert Münnich | 2017-11-23 | 3 | -18/+26 |
| | | | | | | | | | | | | | | | | | | | Fixes issue #295 The imlib2 TGA loader returns an imlib image handle without any actual data when given a text file like this: T Content-Type: application/javascript Content-Length: 3836 Last-Modified: Wed, 23 Sep 2015 12:25:47 GMT Etag: "56029a4b-efc" Expires: Sat, 20 Aug 2016 15:14:33 GMT Cache-Control: max-age=604800, public Accept-Ranges: bytes Fortunately, `imlib_image_get_data()` returns NULL in this case, so that we can use it as an additional check when opening files. | ||||
* | Stable version 24 | Bert Münnich | 2017-10-27 | 2 | -2/+12 |
| | |||||
* | Fix navigating from last to previous image over invalid files | Bert Münnich | 2017-10-26 | 2 | -4/+5 |
| | |||||
* | Set LC_COLLATE for -r file list sorting | Bert Münnich | 2017-10-24 | 2 | -1/+4 |
| | | | | Fixes issue #293. | ||||
* | List objs in Makefile not srcs | Bert Münnich | 2017-10-23 | 1 | -3/+2 |
| | |||||
* | Make clean removes all object files | Bert Münnich | 2017-10-23 | 1 | -2/+2 |
| | |||||
* | Always take {C,CPP,LD}FLAGS from environment | Bert Münnich | 2017-10-22 | 1 | -9/+9 |
| | | | | Our own default values go into accompanying macros prefixed with DEF_. | ||||
* | Back to VPATH for out-of-source builds | Bert Münnich | 2017-10-19 | 1 | -6/+4 |
| | | | | | OpenBSD make supports VPATH but not pattern rules. Everything in the new Makefile should work no matter what make program is used. | ||||
* | Addendum to 1ace4fb0 | Bert Münnich | 2017-10-19 | 1 | -3/+1 |
| | |||||
* | No more automatic dependency tracking | Bert Münnich | 2017-10-16 | 1 | -7/+3 |
| | | | | | The new Makefile should work with the make programs shipped with FreeBSD, NetBSD and OpenBSD. | ||||
* | No more config.mk | Bert Münnich | 2017-10-16 | 1 | -2/+0 |
| | |||||
* | Small refinements in Makefile | Bert Münnich | 2017-10-16 | 1 | -4/+4 |
| | |||||
* | One header file for type definitions and function declarations | Bert Münnich | 2017-10-16 | 18 | -687/+483 |
| | |||||
* | Fix dep file include in Makefile | Bert Münnich | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | Zoom into mouse cursor position | Bert Münnich | 2017-10-16 | 2 | -3/+10 |
| |