Skip to content
Snippets Groups Projects
  1. Aug 28, 2016
  2. Aug 27, 2016
  3. Aug 21, 2016
  4. Jul 24, 2016
  5. Jul 22, 2016
  6. Jun 23, 2016
  7. Jun 19, 2016
  8. Jun 06, 2016
  9. 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
    • guns's avatar
      New sort option: dirname · 7db8895f
      guns authored
      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.
      7db8895f
    • guns's avatar
      Add --sort mtime to menu and fix menu when sorting by mtime · 5df711cb
      guns authored
      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.
      5df711cb
  10. May 27, 2016
  11. May 05, 2016
  12. May 03, 2016
  13. May 02, 2016
  14. May 01, 2016
  15. Apr 24, 2016
  16. Apr 16, 2016
  17. Apr 14, 2016
  18. Apr 13, 2016
  19. Apr 09, 2016
  20. Feb 26, 2016
    • guraga's avatar
      Add option "--no-recursive" · 5990b628
      guraga authored
      Purpose of "--no-recursive" option is disabling effect of "--recursive" option that enabled by user's theme.
      5990b628
  21. Feb 20, 2016
  22. Feb 18, 2016
  23. Feb 16, 2016
  24. Feb 10, 2016
  25. Jan 08, 2016
  26. Nov 15, 2015
  27. 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
Loading