summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-06-24Also handle fork() failure in magick_load_imageDaniel Friesel-1/+8
2016-06-23imlib/rotate: Fail gracefully when fork() failsDaniel Friesel-3/+3
2016-06-22changelogDaniel Friesel-0/+5
2016-06-20imlib.c: Do not call atexit hooks when terminating a child process (closes #245)Daniel Friesel-5/+5
2016-06-09release v2.162.16Daniel Friesel-2/+3
2016-06-07changelogDaniel Friesel-0/+12
2016-06-06next/priv directory: Use PATH_MAX instead of FEH_MAX_DIRNAME_LENDaniel Friesel-10/+9
2016-06-06Define 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-06-02Merge branch 'guns-dirnav'Daniel Friesel-16/+157
2016-05-28Add prev_dir and next_dir navigation actionsguns-1/+63
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-28New sort option: dirnameguns-6/+54
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-28Add --sort mtime to menu and fix menu when sorting by mtimeguns-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-27events/keyevents: zero cur_bb/cur_kb on each iterationDaniel 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-27changelog2.15.4Daniel Friesel-3/+4
2016-05-05Merge pull request #238 from neosilky/indentationDaniel Friesel-2/+2
src/main.c: switch spaces to tabs to clobber GCC warning
2016-05-05src/main.c: switch spaces to tabs to clobber GCC warningDaniel Lockyer-2/+2
2016-05-03changelogDaniel Friesel-0/+5
2016-05-03feh_draw_filename: Set correct list number in multiwindow mode (closes #237)Daniel Friesel-2/+6
2016-05-02src/main.c: rebase master and fix segfault issueDaniel Lockyer-0/+3
2016-05-02Merge branch 'neosilky-optionsmem'Daniel Friesel-0/+3
2016-05-02Merge branch 'optionsmem' of https://github.com/neosilky/feh into ↵Daniel Friesel-0/+3
neosilky-optionsmem
2016-05-02Merge branch 'neosilky-memleak'Daniel Friesel-1/+8
2016-05-02always initialize data_root and data_esetrootDaniel Friesel-1/+1
2016-05-02Merge branch 'memleak' of https://github.com/neosilky/feh into neosilky-memleakDaniel Friesel-0/+7
2016-05-01src/main.c: free the malloc'ed sections of the optionsDaniel Lockyer-0/+3
2016-05-01src/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-01Merge pull request #232 from neosilky/memleakDaniel Friesel-1/+4
src/feh_png.c: close file upon error
2016-05-01src/feh_png.c: close file upon errorDaniel Lockyer-1/+4
2016-04-28version bumpDaniel Friesel-1/+2
2016-04-25update test screenshots (minor x11 font rendering changes apparently)2.15.3Daniel Friesel-0/+0
2016-04-24update feh(1) --geometry and --scale-downDaniel Friesel-3/+6
2016-04-24changelogDaniel Friesel-0/+8
2016-04-24winwidget_render_image: re-zoom image in scaledown/geometry mode after ↵Daniel Friesel-2/+11
ConfigureNotify event
2016-04-16help: Add --no-recursiveDaniel Friesel-1/+3
2016-04-16bugfix and version bump (closes #230)2.15.2Daniel Friesel-1/+6
2016-04-15version bump2.15.1Daniel Friesel-1/+2
2016-04-14also respect w key in --geometry mode, update changelog and manualDaniel Friesel-1/+10
2016-04-13fix image resize for w key and menu option (#229)Daniel Friesel-7/+12
2016-04-09release v2.152.15Daniel Friesel-4/+6
2016-04-09changelog, BC case or [ -L %F ] and similar actions using /bin/[Daniel Friesel-3/+29
2016-04-09feh(1): update --action partDaniel Friesel-6/+8
2016-03-14feh.desktop: Add NoDisplay=true to hide feh from app menu (closse #228)Daniel Friesel-1/+2
2016-02-26Merge branch 'guraga-patch-2'Daniel Friesel-0/+5
2016-02-26Merge branch 'patch-2' of https://github.com/guraga/feh into guraga-patch-2Daniel Friesel-0/+5
2016-02-26Merge branch 'guraga-patch-1'Daniel Friesel-0/+3
2016-02-26Add "--no-recursive" to man pageguraga-0/+5
Add description of option "--no-recursive" to man page.
2016-02-26Add 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-20update year in copyright noticeDaniel Friesel-2/+2
2016-02-18prepare bugfix release #2Daniel Friesel-0/+13
2016-02-18filelist: Do not print error when a correct filelist file is specifiedDaniel Friesel-6/+10