Skip to content
Snippets Groups Projects
  1. Apr 05, 2019
  2. Oct 02, 2018
  3. May 11, 2018
  4. Feb 28, 2018
  5. Feb 14, 2018
  6. Jan 24, 2018
  7. Jan 23, 2018
  8. Jan 17, 2018
  9. Sep 13, 2017
  10. Aug 29, 2017
  11. Aug 24, 2017
  12. Aug 22, 2017
  13. Feb 26, 2017
  14. Jan 12, 2017
  15. Aug 28, 2016
  16. Aug 27, 2016
  17. May 28, 2016
    • guns's avatar
      Add prev_dir and next_dir navigation actions · 36b09fa0
      guns authored
      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
      36b09fa0
  18. Apr 07, 2015
  19. May 06, 2014
  20. May 04, 2014
    • Birte Kristina Friesel's avatar
      strip unneded parts from giblib, part 1 · 68037c4d
      Birte Kristina Friesel authored
      Not all functions were examined yet. Also TODO:
      * check strdup / malloc calls (some are apparently unchecked in giblib),
        maybe use estrdup / emalloc for those
      * Check includes and update dependency list if needed
      68037c4d
  21. Apr 26, 2014
  22. Sep 12, 2012
  23. Aug 12, 2012
  24. Mar 12, 2012
  25. Mar 03, 2012
  26. Feb 26, 2012
  27. Jan 27, 2012
  28. Sep 28, 2011
  29. Sep 13, 2011
  30. Sep 01, 2011
  31. Aug 31, 2011
    • Birte Kristina Friesel's avatar
      feh_reload_image: Always die if reload failed · 8b79bc33
      Birte Kristina Friesel authored
      This fixes a segfault in --reload when the image becomes unloadable while feh
      is running.
      
      Note that this does not affect --reload with more than one file: If the
      current image is removed, feh will simply jump to the next image. feh will
      only quit if the file still exists, but can no longer be loaded.
      8b79bc33
  32. Aug 23, 2011
  33. Aug 11, 2011
    • Birte Kristina Friesel's avatar
      Show correct file number after deleting image · 64e9c952
      Birte Kristina Friesel authored
      In the image_remove function, slideshow_change_image needs to be called before
      removing the image from the filelist.  Because of this, the "x of y" displayed
      by --draw-filename is wrong (y is 1 too high).
      
      This commit introduces a new 'render' argument to slideshow_chingae_image.
      The image_remove function calls it with render=0, edits the filelist and then
      runs by winwidget_render_image itself.
      
      Patch by Yu-Jie Lin.
      64e9c952
  34. Aug 09, 2011
  35. Apr 30, 2011
  36. Apr 26, 2011
  37. Apr 22, 2011
Loading