Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: storing thumbnails on disk #201

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Commits on Oct 27, 2024

  1. pixmap: Add saving and loading to a file

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    ebea027 View commit details
    Browse the repository at this point in the history
  2. Add thumbnail caching to image

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    920d258 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6d6986 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    afd395c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9a023e2 View commit details
    Browse the repository at this point in the history
  6. fix: use fixed size integers

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    e38918e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    44db2d0 View commit details
    Browse the repository at this point in the history
  8. fix: conditional include of <linux/limits>

    refactor: format code
    
    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    919a8c9 View commit details
    Browse the repository at this point in the history
  9. fix: remove array size from color[] in pixmap_save()

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    87377e9 View commit details
    Browse the repository at this point in the history
  10. refactor: change PATH_MAX to sizeof(path)

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    43dcd14 View commit details
    Browse the repository at this point in the history
  11. fix: change sizeof() of pointer to PATH_MAX

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    d840a87 View commit details
    Browse the repository at this point in the history
  12. feat: update cached thumbnails based on ctime

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    9b80899 View commit details
    Browse the repository at this point in the history
  13. feat: enable turning caching thumbnails on disk on/off

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    06b19ca View commit details
    Browse the repository at this point in the history
  14. refactor!: extract thumbnail related things to thumbnail.c

    breaking change: image_thumbnail() takes arguments
    
    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    99c7624 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0d4e79c View commit details
    Browse the repository at this point in the history
  16. feat: add thumbnail params

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    2035a9e View commit details
    Browse the repository at this point in the history
  17. feat: recreate thumbnail if metadata changed

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    25b7ab1 View commit details
    Browse the repository at this point in the history
  18. chore: remove resolved NOTE comment

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    65f1ec4 View commit details
    Browse the repository at this point in the history
  19. docs: fixed comment

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    74b46a1 View commit details
    Browse the repository at this point in the history
  20. changed default to not cache thumbnails on dist

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    b3a14f3 View commit details
    Browse the repository at this point in the history
  21. fixed get_thumb_path()

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    a975462 View commit details
    Browse the repository at this point in the history
  22. fix(thumbnail.c): Handle io errors.

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    41a8a06 View commit details
    Browse the repository at this point in the history
  23. moved expand_path() to config.h header

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    de506dc View commit details
    Browse the repository at this point in the history
  24. chore: remove unused includes

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    37dde1a View commit details
    Browse the repository at this point in the history
  25. add fallback for XDG_CACHE_HOME

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    7716523 View commit details
    Browse the repository at this point in the history
  26. fix design of make_directories()

    Signed-off-by: Rentib <[email protected]>
    Rentib committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    88f2d10 View commit details
    Browse the repository at this point in the history