Skip to content
Snippets Groups Projects
  1. Sep 02, 2017
  2. Aug 31, 2017
  3. Aug 29, 2017
  4. Aug 23, 2017
  5. Aug 22, 2017
  6. Aug 12, 2017
  7. Aug 10, 2017
  8. Jun 19, 2017
  9. Jan 12, 2017
  10. Oct 17, 2016
  11. Oct 15, 2016
  12. Aug 28, 2016
  13. Aug 27, 2016
  14. 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
  15. May 27, 2016
  16. Nov 14, 2015
    • Richard Molitor's avatar
      zoom: implement scale-down without flicker · dfe3c40f
      Richard Molitor authored
      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).
      dfe3c40f
  17. Jul 23, 2015
  18. May 22, 2014
  19. Apr 14, 2014
  20. Jan 30, 2013
  21. Dec 24, 2012
  22. Aug 21, 2012
  23. Mar 15, 2012
  24. Mar 12, 2012
  25. Mar 06, 2012
  26. Feb 26, 2012
  27. Feb 12, 2012
  28. Jan 27, 2012
  29. Nov 27, 2011
  30. Nov 19, 2011
  31. Oct 10, 2011
  32. Oct 02, 2011
  33. Sep 29, 2011
  34. Sep 28, 2011
  35. Sep 01, 2011
  36. 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
  37. Aug 29, 2011
    • Birte Kristina Friesel's avatar
      Various code fixups · 6206ca48
      Birte Kristina Friesel authored
      * remove unused variable Im1 in filelist.c
      * options are initialised as 0, so only explicitly set those to 0 for which it
        makes sense because of their context
      * Make a few warnings about wrong option combinations fatal
      6206ca48
Loading