Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2016-08-31 | Fix build on FreeBSD. | Niclas Zeising | -6/+12 | |
FreeBSD lacks the constant HOST_NAME_MAX, instead using sysconf(3) to find out the value of the maximum host name length at run time. Patch to use this instead of HOST_NAME_MAX. This brings with it the need to use malloc instead of using a statically sized buffer for the host name, since the size of the buffer cannot be known at run time. Errors from sysconf or malloc just means that the entire block of code is skipped over (the same way it's skipped if the call to gethostname() fails), rather than returning any kind of error to the caller or logging an error message somewhere. | ||||
2016-08-28 | dedup key/button initialization | Daniel Friesel | -254/+142 | |
2016-08-28 | merge next(_img), prev(_img) and (toggle_)menu | Daniel Friesel | -25/+16 | |
2016-08-28 | Only set _NET_WM_PID once, also set WM_CLIENT_MACHINE | Daniel Friesel | -6/+14 | |
2016-08-27 | Add support for _NET_WM_PID | Klee Dienes | -0/+6 | |
2016-08-27 | Key actions can now also be bound to buttons. not vice versa, though | Daniel Friesel | -73/+217 | |
2016-08-27 | preparations for unified key/button bindings | Daniel Friesel | -71/+64 | |
2016-08-21 | reload timer: always call prepare_filelist for sorting etc (closes #200) | Daniel Friesel | -2/+2 | |
2016-07-24 | support rotation for images loaded via libcurl and imagemagick | Daniel Friesel | -29/+29 | |
2016-07-22 | I may have fixed rotate etc. on remote images (not magick ones, though) | Daniel Friesel | -3/+20 | |
2016-06-24 | Also handle fork() failure in magick_load_image | Daniel Friesel | -1/+7 | |
2016-06-23 | imlib/rotate: Fail gracefully when fork() fails | Daniel Friesel | -3/+3 | |
2016-06-20 | imlib.c: Do not call atexit hooks when terminating a child process (closes #245) | Daniel Friesel | -5/+5 | |
2016-06-06 | next/priv directory: Use PATH_MAX instead of FEH_MAX_DIRNAME_LEN | Daniel Friesel | -10/+9 | |
2016-06-06 | Define PATH_MAX ourselves if it isn't defined by the OS (closes #90) | Daniel Friesel | -1/+12 | |
This is kinda sloppy coding (feh --filelist and --bg-* will fail when running on a system with path lengths >= 4096 and PATH_MAX not defined), but that's sufficiently improbable to be okay. (plus, I ain't getting paid for this, so if you want to improve it feel free to do so) | ||||
2016-05-28 | Add prev_dir and next_dir navigation actions | guns | -1/+57 | |
Many image collections are organized by directory, so it is nice to have jump-to-adjacent-directory navigation. e.g. Given the following file hierarchy: . ├── A │ ├── 1.jpg │ ├── 2.jpg │ └── C │ ├── 1.jpg │ ├── 2.jpg │ └── 3.jpg └── B ├── 1.jpg ├── 2.jpg └── 3.jpg `feh --recursive` creates the following filelist: A/1.jpg <---- current_file A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg If we press [next_dir], we move the current_file pointer to: A/1.jpg A/2.jpg A/C/1.jpg <-- current_file A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg Pressing [next_dir] again moves the pointer to: A/1.jpg A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg <---- current_file B/2.jpg B/3.jpg [next_dir] now moves the pointer back to the top of the list: A/1.jpg <---- current_file A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg Pressing [prev_dir] from here moves backwards to the first image of the previous directory: A/1.jpg A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg <---- current_file B/2.jpg B/3.jpg When starting from an position that is not the first image of a directory, [prev_dir] moves the pointer to the first image of the current directory. These actions combine well with `--sort dirname` since all regular files in a directory will be sorted before any subdirectories, avoiding a filelist like the following: A/1.jpg A/SUBDIR/2.jpg A/SUBDIR/3.jpg A/4.jpg With `--sort dirname` that filelist becomes: A/1.jpg A/4.jpg A/SUBDIR/2.jpg A/SUBDIR/3.jpg | ||||
2016-05-28 | New sort option: dirname | guns | -2/+50 | |
Sort filelist by dirname, then by name. This results in file entries sorting before subdirectory entries. Useful in conjunction with upcoming prev_dir and next_dir navigation actions. | ||||
2016-05-28 | Add --sort mtime to menu and fix menu when sorting by mtime | guns | -9/+40 | |
We did not preload when SORT_MTIME, so check opt.sort > SORT_MTIME before offering to sort by file size. The CB_* enum block was run through s/, /,\n\t/g for legibility. | ||||
2016-05-27 | events/keyevents: zero cur_bb/cur_kb on each iteration | Daniel Friesel | -0/+2 | |
previously, a button/key definition with an invalid action name would assign the specified key to the most recent valid action. E.g. "zoom_in 4\ninvalid 5" wuold assign button 5 to zoom_in. | ||||
2016-05-05 | src/main.c: switch spaces to tabs to clobber GCC warning | Daniel Lockyer | -2/+2 | |
2016-05-03 | feh_draw_filename: Set correct list number in multiwindow mode (closes #237) | Daniel Friesel | -2/+6 | |
2016-05-02 | src/main.c: rebase master and fix segfault issue | Daniel Lockyer | -0/+3 | |
2016-05-02 | Merge branch 'optionsmem' of https://github.com/neosilky/feh into ↵ | Daniel Friesel | -0/+3 | |
neosilky-optionsmem | ||||
2016-05-02 | always initialize data_root and data_esetroot | Daniel Friesel | -1/+1 | |
2016-05-02 | Merge branch 'memleak' of https://github.com/neosilky/feh into neosilky-memleak | Daniel Friesel | -0/+7 | |
2016-05-01 | src/main.c: free the malloc'ed sections of the options | Daniel Lockyer | -0/+3 | |
2016-05-01 | src/wallpaper.c: free up some data allocated by X. | Daniel Lockyer | -0/+7 | |
The if statements are needed because we cannot pass a NULL pointer to XFree. | ||||
2016-05-01 | src/feh_png.c: close file upon error | Daniel Lockyer | -1/+4 | |
2016-04-24 | winwidget_render_image: re-zoom image in scaledown/geometry mode after ↵ | Daniel Friesel | -2/+11 | |
ConfigureNotify event | ||||
2016-04-16 | help: Add --no-recursive | Daniel Friesel | -1/+3 | |
2016-04-16 | bugfix and version bump (closes #230)2.15.2 | Daniel Friesel | -1/+1 | |
2016-04-14 | also respect w key in --geometry mode, update changelog and manual | Daniel Friesel | -1/+2 | |
2016-04-13 | fix image resize for w key and menu option (#229) | Daniel Friesel | -7/+12 | |
2016-04-09 | changelog, BC case or [ -L %F ] and similar actions using /bin/[ | Daniel Friesel | -1/+2 | |
2016-02-26 | Add option "--no-recursive" | guraga | -0/+3 | |
Purpose of "--no-recursive" option is disabling effect of "--recursive" option that enabled by user's theme. | ||||
2016-02-20 | update year in copyright notice | Daniel Friesel | -1/+1 | |
2016-02-18 | filelist: Do not print error when a correct filelist file is specified | Daniel Friesel | -6/+10 | |
2016-02-18 | also, don't fclose() /dev/stdin | Daniel Friesel | -1/+2 | |
2016-02-18 | filelist: Don't try to fopen() stdin (it's a stream, not a file) | Daniel Friesel | -1/+7 | |
2016-02-16 | menu: Fix typo | Daniel Friesel | -1/+1 | |
2016-02-10 | add preliminary action-title support (#224) | Daniel Friesel | -6/+17 | |
2016-01-08 | options.c: Use help.inc, not help.raw (the latter isn't formatted properly) | Daniel Friesel | -1/+1 | |
2016-01-07 | Changes: | William Woodruff | -9/+17 | |
* Added an --insecure option to disable host/peer verification in libcurl. This allows feh to load images on HTTPS hosts with self-signed certificates. For security, this is not the default. * Fixed an include in show_usage. | ||||
2015-11-15 | winwidget.c: never scale down thumbnail list window | Daniel Friesel | -1/+3 | |
this fixes a segfault when combining --scale-down and --thumbnails on a sufficiently large directory | ||||
2015-11-15 | zoom: implement scale-down without flicker | Richard Molitor | -31/+8 | |
this actually uses the old "force geometry" workaround to get the scale down behaviour (which makes the code a lot cleaner) by first setting the geometry after the window is created (to avoid creating a 0x0 sized window, which X does not like). | ||||
2015-11-15 | events: also react to ConfigureNotify after mapping | Richard Molitor | -2/+13 | |
2015-09-29 | also mark images as removed/processed when clicking on them in thumbnail ↵ | Daniel Friesel | -2/+5 | |
mode and --action is specifed | ||||
2015-07-23 | use --xinerama-index instead of XINERAMA_INDEX to override xinerama screen ↵ | Daniel Friesel | -10/+8 | |
selection | ||||
2015-07-06 | allow --sort and --randomize to override each other (issue #199) | Daniel Friesel | -6/+10 | |
2015-06-26 | Merge pull request #185 from shiponi/master | Daniel Friesel | -1/+6 | |
slideshow: When removing last image, stay on the last image |