geeqie.git
2 years agoFix runtime error
Colin Clark [Thu, 7 Oct 2021 09:08:14 +0000 (10:08 +0100)]
Fix runtime error

If GPU accel. is selected and images are scrolled through rapidly,
occasionally there will be a GdkPixbuf error logged.
This patch first checks if the pixbuf has been created.

2 years agoFix #926: Use system background color in window mode
Colin Clark [Mon, 4 Oct 2021 12:32:44 +0000 (13:32 +0100)]
Fix #926: Use system background color in window mode

https://github.com/BestImageViewer/geeqie/issues/926

The default background color for both windowed and fullscreen modes is
the theme background color.

This feature is not available when compiled for GTK2.

2 years agoAdl bug fix: Non-portable fucntions
Colin Clark [Sun, 3 Oct 2021 12:22:09 +0000 (13:22 +0100)]
Adl bug fix: Non-portable fucntions

Include new source files

2 years agoBuf fix #927: Option "Auto rotate proofs using Exif information" doesn't stick
Colin Clark [Sun, 3 Oct 2021 11:05:00 +0000 (12:05 +0100)]
Buf fix #927: Option "Auto rotate proofs using Exif information" doesn't stick

https://github.com/BestImageViewer/geeqie/issues/927

This option is not used and is now deleted.

2 years agoBug fix: Non-portable functions
Colin Clark [Sun, 3 Oct 2021 10:58:41 +0000 (11:58 +0100)]
Bug fix: Non-portable functions

Using argv[0] does not work with AppImages: it contains the path to
where the AppImage was called from, and not the path where the
executable is running.

This solution uses the whereami package from:
https://github.com/gpakosz/whereami

2 years agoRemove non-portable functions
Colin Clark [Sat, 2 Oct 2021 09:52:48 +0000 (10:52 +0100)]
Remove non-portable functions

The functions /proc/cpuinfo and /proc/self/exe are not portable.
Replace them with other solutions.

2 years agoPart fix #711: Deleting image should not scroll file list unnecessarily
Colin Clark [Mon, 27 Sep 2021 13:41:52 +0000 (14:41 +0100)]
Part fix #711: Deleting image should not scroll file list unnecessarily

https://github.com/BestImageViewer/geeqie/issues/711

This fix still has the following problems:
1. The refresh scrolls the list so that the first thumbnail is
completely aligned in the view
2. Sometimes the first alignment is followed by a second
3. If a selection list is deleted, the thumb with focus is not brought
into the view area
4. If an image in the last row is deleted, sometimes the remaining last
row is not brought completely into the view

2 years agoFix #897: Histogram not displayed until a refresh
Colin Clark [Mon, 27 Sep 2021 09:02:40 +0000 (10:02 +0100)]
Fix #897: Histogram not displayed until a refresh

https://github.com/BestImageViewer/geeqie/issues/897

2 years agoBug fix #229: File Compression and Archiving
Colin Clark [Fri, 24 Sep 2021 09:36:50 +0000 (10:36 +0100)]
Bug fix #229: File Compression and Archiving

https://github.com/BestImageViewer/geeqie/issues/299

Null fd not checked for.

2 years agoerrno.h and Ubuntu 20.04
Colin Clark [Wed, 22 Sep 2021 13:15:07 +0000 (14:15 +0100)]
errno.h and Ubuntu 20.04

On Ubuntu 20.04 errno.h must be explicitly included.

2 years agoAddl fix #521: zoom increment is not multiplicative
Colin Clark [Wed, 22 Sep 2021 12:36:09 +0000 (13:36 +0100)]
Addl fix #521: zoom increment is not multiplicative

https://github.com/BestImageViewer/geeqie/issues/521

Include user option on Preferences/Image to select geometric or
arithmetic zoom mode.

2 years agoAddl fix #299: File Compression and Archiving
Colin Clark [Wed, 22 Sep 2021 11:46:10 +0000 (12:46 +0100)]
Addl fix #299: File Compression and Archiving

https://github.com/BestImageViewer/geeqie/issues/299

Improve error handling.
Update list of archive file types.
Open archive file on right-click.

2 years agoFix compile errors
Colin Clark [Wed, 22 Sep 2021 10:39:39 +0000 (11:39 +0100)]
Fix compile errors

Fix compile errors in code copied from other image loaders

2 years agoFix libarchive problems
Colin Clark [Fri, 17 Sep 2021 15:37:10 +0000 (16:37 +0100)]
Fix libarchive problems

libarchive 3.4.0 is required for Ubuntu 20.04 LTS.

Include ifdefs for when the library is not included.

2 years agoAddl fix #299: File Compression and Archiving
Colin Clark [Fri, 17 Sep 2021 15:05:33 +0000 (16:05 +0100)]
Addl fix #299: File Compression and Archiving

https://github.com/BestImageViewer/geeqie/issues/299

Use libarchive to extract the files, instead of a plugin.

2 years agoFix #299: File Compression and Archiving
Colin Clark [Wed, 15 Sep 2021 15:21:18 +0000 (16:21 +0100)]
Fix #299: File Compression and Archiving

https://github.com/BestImageViewer/geeqie/issues/299

Create a new file class - Archive.

Direct this files of this class to a new plugin to process these files.
A folder is created under /tmp and the contents of the archive extracted
to that folder.

A new Geeqie window is opened, pointing to that folder.

2 years agoSave Exif window size and position
Colin Clark [Mon, 13 Sep 2021 11:01:58 +0000 (12:01 +0100)]
Save Exif window size and position

2 years agoFix #923: Wrong orientation in HEIC using EXIF
Colin Clark [Sun, 12 Sep 2021 14:41:32 +0000 (15:41 +0100)]
Fix #923: Wrong orientation in HEIC using EXIF

https://github.com/BestImageViewer/geeqie/issues/923

This is an excerpt from ISO/IEC 23008-12:2017(E):

---------
Metadata specified in Annex A or according to the item type and MIME
type values is descriptive and does not normatively affect the
presentation.
In particular, an image item can be rotated by 90°, 180°, or 270° using
the 'irot' transformative item property.
Rotation metadata, e.g. according to Annex A, is ignored in the
displaying process.

8.2 Metadata for image items
------------

Therefore libheif is rotating the image in accordance with the irot
property - and then Geeqie rotates it again using the Exif value.

If the libheif decoding option "ignore_transformations" is used, the
result is different on two systems I use - one one system the option is
ignored, and on the other system the option is used, but then no Exif
data is displayed for the file.
As the compiled code is the same in both cases, there must be an
influence from other system library files.

The implemented solution ignores the Exif rotation parameter and
inhibits writing manually applied rotation metadata for all files
processed by libheif.

2 years agoInfo sidebar pane heights
Colin Clark [Wed, 8 Sep 2021 09:15:19 +0000 (10:15 +0100)]
Info sidebar pane heights

Move the setting of info sidebar pane heights from the Preferences
dialog to a right-click action on the pane.

Also remove the Add Pane entries from the right-click pop-up - they are
available from a button at the bottom of the sidebar.

2 years agoFIXME: In bar_size_allocate() the width obtained...
Colin Clark [Mon, 6 Sep 2021 11:46:57 +0000 (12:46 +0100)]
FIXME: In bar_size_allocate() the width obtained...

Use the setting from the parent GTK_PANED object, instead of the width
of the bar vbox.

2 years agoFix spelling error avaialble/available
Andreas Rönnquist [Sat, 4 Sep 2021 02:53:23 +0000 (04:53 +0200)]
Fix spelling error avaialble/available

2 years agoFix compiler warning in commit 34edf6b6
Colin Clark [Fri, 3 Sep 2021 11:25:03 +0000 (12:25 +0100)]
Fix compiler warning in commit 34edf6b6

2 years agoFix #892: stereo side-by-side mode broken by commit 89c559
Colin Clark [Fri, 3 Sep 2021 11:03:49 +0000 (12:03 +0100)]
Fix #892: stereo side-by-side mode broken by commit 89c559

https://github.com/BestImageViewer/geeqie/issues/892

Stereo modes side-by-side and top-bottom use two pixbuf-renderers. This
was not taken into account.

2 years agoUser option to set tile size
Colin Clark [Thu, 2 Sep 2021 11:55:20 +0000 (12:55 +0100)]
User option to set tile size

Additional user option in Edit/Preferences/Image to set the tile size.

2 years agoBug fix: GPS map direction markers
Colin Clark [Tue, 24 Aug 2021 14:46:11 +0000 (15:46 +0100)]
Bug fix: GPS map direction markers

If an image has no GPS direction data, when the GPS map marker was
clicked to show the thumbnail, and then clicked to clear it, the image
marker was not redisplayed.

2 years agoFix minor coding error
Colin Clark [Tue, 24 Aug 2021 10:26:56 +0000 (11:26 +0100)]
Fix minor coding error

2 years agoDuplicates - option to limit thread use
Colin Clark [Tue, 24 Aug 2021 09:28:21 +0000 (10:28 +0100)]
Duplicates - option to limit thread use

In Preferences/Advanced there is an option to set the thread limit for
duplicates searches.

2 years agoCache maintenance - paths with spaces not handled
Colin Clark [Sun, 22 Aug 2021 13:48:09 +0000 (14:48 +0100)]
Cache maintenance - paths with spaces not handled

In the cache maintenance function, put double quotes around the path
variable.

2 years agoFix GPS map jitter
Colin Clark [Sun, 22 Aug 2021 13:36:28 +0000 (14:36 +0100)]
Fix GPS map jitter

When zooming the GPS map, it jittered because the zoom level box text
was changing size.
Use gtk_label_set_ellipsize() to avoid that.

2 years agoFix #813: Animated GIF should use faster antialiasing (or none at all)
Colin Clark [Sun, 22 Aug 2021 13:31:03 +0000 (14:31 +0100)]
Fix #813: Animated GIF should use faster antialiasing (or none at all)

https://github.com/BestImageViewer/geeqie/issues/813

If the file extension is .gif, 2pass is set to FALSE, and interpolation
is set to nearest.

2 years agoAdditional option on cache maintenance page
Colin Clark [Sat, 21 Aug 2021 10:30:39 +0000 (11:30 +0100)]
Additional option on cache maintenance page

On the Edit/Cache Maintenance page, include an option to call the cache
maintenance command line program.

2 years agoFix #652: Automated cache maintenance
Colin Clark [Fri, 20 Aug 2021 14:33:20 +0000 (15:33 +0100)]
Fix #652: Automated cache maintenance

https://github.com/BestImageViewer/geeqie/issues/652

If geeqie is called with --cache-maintenance <path>, the GUI is not
loaded and the program behaves as a command line program.

It runs recursively to clean thumbnail data, and create thumbnails and
.sim files.

2 years agoFix #918: geeqie crash when using JPEG XL images
Colin Clark [Thu, 19 Aug 2021 08:40:14 +0000 (09:40 +0100)]
Fix #918: geeqie crash when using JPEG XL images

https://github.com/BestImageViewer/geeqie/issues/918

Call to JxlDecoderDestroy() had been omitted.

2 years agoFix #917: GTK3 status bar fields can cause the window to unexpectedly change size
Colin Clark [Mon, 16 Aug 2021 15:52:08 +0000 (16:52 +0100)]
Fix #917: GTK3 status bar fields can cause the window to unexpectedly change size

https://github.com/BestImageViewer/geeqie/issues/917

Use gtk_label_set_ellipsize() to allow the box size to be reduced.

2 years agoInclude expanders on status bar
Colin Clark [Thu, 12 Aug 2021 10:23:46 +0000 (11:23 +0100)]
Include expanders on status bar

Include expander icons for the sort and zoom boxes on the status bar.

2 years agoFix #915: Unable to view JXL code streams
Colin Clark [Thu, 12 Aug 2021 09:15:55 +0000 (10:15 +0100)]
Fix #915: Unable to view JXL code streams

https://github.com/BestImageViewer/geeqie/issues/915

Use FF0A as an additional magic number for JPEG XL files.

2 years agoFix #900: Support JPEG XL images
Colin Clark [Mon, 9 Aug 2021 09:45:45 +0000 (10:45 +0100)]
Fix #900: Support JPEG XL images

https://github.com/BestImageViewer/geeqie/issues/900

At this time it is necessary for the user to compile libjxl for
themselves.

2 years agoInclude popover for layout default button
Colin Clark [Fri, 6 Aug 2021 15:52:07 +0000 (16:52 +0100)]
Include popover for layout default button

In Preferences/Windows, for the Set Default Layout button include a
popover text to indicate to the user that the button has been
successfully pressed.

2 years agoClean up some compile warnings and errors
Colin Clark [Fri, 6 Aug 2021 15:37:39 +0000 (16:37 +0100)]
Clean up some compile warnings and errors

Also remove the Guidelines overlay feature.

2 years agoFix #872: Geometry of Icon pane not being saved
Colin Clark [Wed, 4 Aug 2021 15:11:38 +0000 (16:11 +0100)]
Fix #872: Geometry of Icon pane not being saved

https://github.com/BestImageViewer/geeqie/issues/872

Permit the user to save the current window layout as the default for all
new windows.

2 years agoMinor documentation updates
Colin Clark [Wed, 4 Aug 2021 10:08:50 +0000 (11:08 +0100)]
Minor documentation updates

Remove Travis CI from the README (it is no longer supported by GitHub)

Other minor README text changes

Ensure the Lua API html is generated correctly

Improve the text for the exif rotation section of the Help file

2 years agoFix Lua API documentation link
Colin Clark [Wed, 28 Jul 2021 10:34:30 +0000 (11:34 +0100)]
Fix Lua API documentation link

2 years agoUpdate checklist document
Colin Clark [Mon, 26 Jul 2021 14:09:08 +0000 (15:09 +0100)]
Update checklist document

2 years agoFix #912: "overwrite files"-window outside screen
Colin Clark [Mon, 26 Jul 2021 12:37:22 +0000 (13:37 +0100)]
Fix #912: "overwrite files"-window outside screen

https://github.com/BestImageViewer/geeqie/issues/912

Put the message vbox inside a scrolled window.

2 years agoMerge branch 'master' of git.geeqie.org:geeqie
Colin Clark [Mon, 26 Jul 2021 09:30:39 +0000 (10:30 +0100)]
Merge branch 'master' of git.geeqie.org:geeqie

2 years agoFix #911: can't rename or create directories, while file name outside the window
Colin Clark [Mon, 26 Jul 2021 09:30:05 +0000 (10:30 +0100)]
Fix #911: can't rename or create directories, while file name outside the window

https://github.com/BestImageViewer/geeqie/issues/911

Using gtk_tree_view_get_bin_window() sometimes resulted in a negative x
value.

Use the window of the parent widget instead.

2 years agoMergin several old merge requests
Klaus Ethgen [Sat, 17 Jul 2021 10:31:25 +0000 (11:31 +0100)]
Mergin several old merge requests

That merge requests got implemented in the past. This just completes the
merges to have a correct display in git.

* commit '8abb834383bd':
  fixed uvbuntu url

* commit 'b2044632dfb8':
  Update Slovak translation

* commit 'eaf4dcdd76e4':
  Generate sRGB thumbnails for images with embedded color profile data

* commit 'cfb686d65005':
  Fix doc building with newer yelp

* commit '75794b0d6592':
  dupe: Eliminate O(n^2) code in dupe_files_add_queue_cb()
  dupe: Optimize memory handling in dupe_files_add_queue_cb()
  dupe: Avoid O(n) operations in dupe_files_add_queue_cb()

* commit '319f58d9c1d7':
  Use binary units for sizes, not decimal values.

* commit '0436ed321b88':
  Add image/webp mime type

* commit '8eb3ee5d331b':
  Update Dutch translation (nl_nl)

* commit '1424f6b6831b':
  Fix spelling mistake emdedded -> embedded

* commit '7ea866b2aa83':
  Cast `struct sockaddr_un*` properly
  Use POSIX options for tail and tr

* commit '865a8ba3888f':
  Updated Catalan translation

* commit 'f4fad426aed9':
  updated german translation
  updated german translation

* commit '0d981a84c8cb':
  fixed wrong spelled words

* commit '121db0ea48ef':
  fixed spelling mistakes

* commit '3c363439f022':
  New pop-up menu action "Copy image to clipboard"

* commit '18ad1ee9552a':
  Fix building on GTK2 again, adding #ifdefs for gtk_label_set_[x,y]align

* commit '50ccf27c1a5e':
  Use gtk_label_set_[x,y]align instead of gtk_misc_set_alignment

* commit 'e108b2e5c089':
  Add keymap_template.h to geeqie_SOURCES too

* commit '546dbdfa2dd7':
  Fix building with --enable-debug-flags

* commit 'c113dd9a8a29':
  Fix mistakes in Czech translation

* commit 'f6e88fcd6955':
  Update Slovak translation

* commit '635569789cf5':
  Slightly improve plugin template

2 years agoMerge commit '4c16fee96e84'
Klaus Ethgen [Sat, 17 Jul 2021 10:14:16 +0000 (11:14 +0100)]
Merge commit '4c16fee96e84'

* commit '4c16fee96e84':
  Update Slovak translation

2 years agoUpdate Slovak translation
Jose Riha [Sat, 26 Jun 2021 20:12:55 +0000 (22:12 +0200)]
Update Slovak translation

2 years agoUpdate Slovak translation
Jose Riha [Sat, 26 Jun 2021 20:12:55 +0000 (22:12 +0200)]
Update Slovak translation

2 years agoFix #903, #904: Slideshow settings
Colin Clark [Fri, 25 Jun 2021 08:35:10 +0000 (09:35 +0100)]
Fix #903, #904: Slideshow settings

https://github.com/BestImageViewer/geeqie/issues/903
https://github.com/BestImageViewer/geeqie/issues/904

Slideshow delay shown in the status bar.

Faster/slower default keys moved from keypad to main keyboard.

2 years agoUpdate Help files
Colin Clark [Fri, 25 Jun 2021 07:29:32 +0000 (08:29 +0100)]
Update Help files

Fix broken links

2 years agoUpdate appdata file
Colin Clark [Tue, 22 Jun 2021 15:31:12 +0000 (16:31 +0100)]
Update appdata file

Change appdata file to v1.6

2 years agoReplace HACKING document by CHECKLIST
Colin Clark [Tue, 22 Jun 2021 15:24:21 +0000 (16:24 +0100)]
Replace HACKING document by CHECKLIST

Remove HACKING and replace by CHECKLIST.md

2 years agoRef #559: Geeqie won't start if clutter fails to init
Colin Clark [Tue, 22 Jun 2021 10:42:34 +0000 (11:42 +0100)]
Ref #559: Geeqie won't start if clutter fails to init

https://github.com/BestImageViewer/geeqie/issues/559

Use Zenity to display a GUI message in addition to the console error.

2 years agoInclude a Other Software section in Help file
Colin Clark [Mon, 14 Jun 2021 12:51:08 +0000 (13:51 +0100)]
Include a Other Software section in Help file

Include a section in the Help file listing software that might be useful
to Geeqie users.

Set libraw version back to 0.20 - required to decode .cr3 files.

2 years agoAppImage - update web page
Colin Clark [Sun, 13 Jun 2021 17:12:59 +0000 (18:12 +0100)]
AppImage - update web page

Update web page to include link to AppImages.

Minor text edit in a shell script.

2 years agoCreate AppImages
Colin Clark [Sun, 13 Jun 2021 10:44:42 +0000 (11:44 +0100)]
Create AppImages

Change fixed paths to relative paths so that AppImages can be created.

Include documentation of how to create an AppImage, and a sample shell
script.

2 years agoFix #874: Travis CI fails
Colin Clark [Mon, 7 Jun 2021 12:19:07 +0000 (13:19 +0100)]
Fix #874: Travis CI fails

https://github.com/BestImageViewer/geeqie/issues/874

g_array_binary_search() requires >= glib 2.62

For earlier versions make a linear search.

2 years agoExternal preview image extractor/decoder
Colin Clark [Sun, 6 Jun 2021 14:09:25 +0000 (15:09 +0100)]
External preview image extractor/decoder

Include a new tab in Preferences - Advanced.
This provides the possibility to use an external preview image decoder
or extractor.
Usage is described in the Help file.

2 years agoFix #901: add ftypavif magic for AVIF files
Uwe Ohse  [Fri, 4 Jun 2021 13:29:57 +0000 (14:29 +0100)]
Fix #901: add ftypavif magic for AVIF files

https://github.com/BestImageViewer/geeqie/issues/901

AVIF loading depends on the magic numbers, and the current list of known magics in src/image-load.c
is: ftypheic, ftypmsf1, ftypmif1. This is okay for HEIF, but AVIF is a different beast with a different codec and a different magic ftypavif (which is generated by gimp and darktable), and a different file extension (.avif)

2 years agoFix #818: Latest version Cant' display the DNG files, previous were OK
Colin Clark [Sat, 29 May 2021 08:02:48 +0000 (09:02 +0100)]
Fix #818: Latest version Cant' display the DNG files, previous were OK

https://github.com/BestImageViewer/geeqie/issues/818

For the images in the bug report, Exiv2 returns a pointer to a section
that is not a jpeg.

Include a check that a jpeg has been found.

Libraw >= 0.20 will display these files.

2 years agoDocumentation update 3
Colin Clark [Sat, 29 May 2021 07:36:22 +0000 (08:36 +0100)]
Documentation update 3

Reinstate deleted lines

2 years agoDocumentation update 2
Colin Clark [Thu, 27 May 2021 08:35:08 +0000 (09:35 +0100)]
Documentation update 2

Change CODING.md section header format so that display is correct on
GitHub.

2 years agoDocumentation update
Colin Clark [Thu, 27 May 2021 08:26:24 +0000 (09:26 +0100)]
Documentation update

Change CODING file to markdown format.
Use environment variables to personalize some aspects of Doxygen output.
Include a sample of how to include a diagram in the Doxygen output.

2 years agofixed uvbuntu url
Luca Orlandi [Wed, 26 May 2021 13:28:19 +0000 (15:28 +0200)]
fixed uvbuntu url

2 years agofixed uvbuntu url
Luca Orlandi [Wed, 26 May 2021 13:28:19 +0000 (15:28 +0200)]
fixed uvbuntu url

2 years agoFix #777: Slow deduplication
Colin Clark [Sun, 23 May 2021 09:00:14 +0000 (10:00 +0100)]
Fix #777: Slow deduplication

https://github.com/BestImageViewer/geeqie/issues/777

Use FileUtilDoneFunc to update the UI once, when the entire delete
operation has completed.

2 years agoBug fix #744: Support Canon cr3 files
Colin Clark [Fri, 21 May 2021 12:19:59 +0000 (13:19 +0100)]
Bug fix #744: Support Canon cr3 files

https://github.com/BestImageViewer/geeqie/issues/744

Fix incorrect #ifdef in exiv2.cc

2 years agoSave Preferences window layout
Colin Clark [Thu, 20 May 2021 09:46:56 +0000 (10:46 +0100)]
Save Preferences window layout

If the Remember Dialog Window Positions option is on, also save the
Preferences window position, size, and current page.

2 years agoBug fix: Lua API docs
Colin Clark [Tue, 18 May 2021 08:17:44 +0000 (09:17 +0100)]
Bug fix: Lua API docs

Ensure helpdir and sub-directories are deleted when uninstalling.

2 years agoUse Doxygen to create a Lua API reference
Colin Clark [Mon, 17 May 2021 14:19:21 +0000 (15:19 +0100)]
Use Doxygen to create a Lua API reference

Generate a Lua API document - the Lua interface is minimal at the
moment, but may get expanded.

Change lua.c slightly so that the required data is visible.
Create a script to generate the Doxygen html files.
Include the API in the main help file.

2 years agoUpdate Slovak translation
Jose Riha [Sat, 15 May 2021 21:34:00 +0000 (23:34 +0200)]
Update Slovak translation

2 years agoUpdate Slovak translation
Jose Riha [Sat, 15 May 2021 21:34:00 +0000 (23:34 +0200)]
Update Slovak translation

2 years agoFix #744,891:Support Canon cr3 files
Colin Clark [Wed, 12 May 2021 14:03:56 +0000 (15:03 +0100)]
Fix #744,891:Support Canon cr3 files

https://github.com/BestImageViewer/geeqie/issues/744
https://github.com/BestImageViewer/geeqie/issues/891

Enable BMFF support in exiv2 init.
This permits exif data to be shown.

2 years agoFix #891: Application crashes while viewing CR3 thumbnails
Colin Clark [Tue, 11 May 2021 13:26:43 +0000 (14:26 +0100)]
Fix #891: Application crashes while viewing CR3 thumbnails

https://github.com/BestImageViewer/geeqie/issues/891

Change the method of extracting jpegs from a .cr3 file when libraw is
not installed.

This is not a real solution. The code simply scans for the mdat marker
to find the start of the jpeg section.

2 years agoPart fix #891: Application crashes while viewing CR3 thumbnails
Colin Clark [Mon, 10 May 2021 11:03:22 +0000 (12:03 +0100)]
Part fix #891: Application crashes while viewing CR3 thumbnails

https://github.com/BestImageViewer/geeqie/issues/891

Use LibRaw to extract preview images from .cr3 files (or any raw files
not recognized by exiv2).

2 years agoConvert TODOs and FIXMEs to Doxygen style
Colin Clark [Wed, 5 May 2021 12:06:17 +0000 (13:06 +0100)]
Convert TODOs and FIXMEs to Doxygen style

All TODOs and FIXMEs will appear in the Related Pages Todo list.

2 years agoUse at-sign rather than backslash as the Doxygen command symbol
Colin Clark [Wed, 5 May 2021 10:42:50 +0000 (11:42 +0100)]
Use at-sign rather than backslash as the Doxygen command symbol

2 years agoEnsure all source files are documented by Doxygen
Colin Clark [Tue, 4 May 2021 14:40:32 +0000 (15:40 +0100)]
Ensure all source files are documented by Doxygen

Include PREDEFINED statements to ensure all source files are documented.
It is not possible to document both sides of an #ifdef #ifndef e.g.
HAVE_EXIV2

2 years agoFix #890: Option to not save last_path
Colin Clark [Sun, 2 May 2021 09:32:51 +0000 (10:32 +0100)]
Fix #890: Option to not save last_path

https://github.com/BestImageViewer/geeqie/issues/890

last_path is saved both in geeqierc.xml and in the [path_list] section
of the History file.

Unnecessary writes to the configuration file are avoided by using only
the History file value.

2 years agoFix translation errors and update all .po files
Colin Clark [Sat, 1 May 2021 09:26:27 +0000 (10:26 +0100)]
Fix translation errors and update all .po files

Fix missing translations in preferences/general and update all .po
files.

2 years agoFix #888: fixed and updated Russian translation
ashed [Sat, 1 May 2021 09:21:58 +0000 (10:21 +0100)]
Fix #888: fixed and updated Russian translation

https://github.com/BestImageViewer/geeqie/issues/888

2 years agoFix #887: fixed Russian translation
ashed [Fri, 30 Apr 2021 14:32:07 +0000 (15:32 +0100)]
Fix #887: fixed Russian translation

https://github.com/BestImageViewer/geeqie/issues/887

2 years agoPreserve selection order in ViewFileIcon after Reset
Colin Clark [Fri, 30 Apr 2021 14:01:09 +0000 (15:01 +0100)]
Preserve selection order in ViewFileIcon after Reset

The order files are selected is now preserved in ViewFileIcon mode after
a Reset.

ViewFileList does not preserve the selection order.

2 years agoFix #886: Path copying does not work until the user left-clicks a node in the treeview
Colin Clark [Thu, 29 Apr 2021 12:26:54 +0000 (13:26 +0100)]
Fix #886: Path copying does not work until the user left-clicks a node in the treeview

https://github.com/BestImageViewer/geeqie/issues/886

Change the press callback to select the item on right-click also.
Other functions such as Rename/Delete are now available on right-click.

3 years agoCircular selection lists option
Colin Clark [Wed, 28 Apr 2021 10:17:05 +0000 (11:17 +0100)]
Circular selection lists option

An option in Preferences/Behavior to permit image selections to be
traversed in a circular or non-circular manner.

The default is "on" (circular) which is the method used until now.

3 years agoNEWS v1.6 update
Colin Clark [Tue, 27 Apr 2021 17:47:04 +0000 (18:47 +0100)]
NEWS v1.6 update

3 years agoFix #884: Display APNG files in the thumbnails area
Colin Clark [Tue, 27 Apr 2021 14:16:46 +0000 (15:16 +0100)]
Fix #884: Display APNG files in the thumbnails area

https://github.com/BestImageViewer/geeqie/issues/884

Only the static png image is displayed. There is no animation.

3 years agoMerge branch 'master' of git://www.geeqie.org/geeqie
Colin Clark [Tue, 27 Apr 2021 12:22:03 +0000 (13:22 +0100)]
Merge branch 'master' of git://geeqie.org/geeqie

3 years agoOption to select thumbnail color management
Colin Clark [Tue, 27 Apr 2021 12:21:40 +0000 (13:21 +0100)]
Option to select thumbnail color management

Include an option on Edit/Preferences/General to select thumbnail color
management.
Color management takes additional run-time - some users may not need
this function.

3 years agoFix #885: Generate sRGB thumbnails for images with embedded color profile data
Daniel Vogelbacher [Tue, 27 Apr 2021 12:09:38 +0000 (13:09 +0100)]
Fix #885: Generate sRGB thumbnails for images with embedded color profile data

Images with color profiles other than sRGB or AdobeRGB may look too bright/dark as thumbnails, because Geeqie ignores color profile information during thumbnail generation.

This patch adds color profile correction for thumbnails if the image contains EXIF data and provides an embedded color profile or EXIF color profile identifiers.

Fixes #608

3 years agoGenerate sRGB thumbnails for images with embedded color profile data
Daniel Vogelbacher [Mon, 26 Apr 2021 15:59:04 +0000 (17:59 +0200)]
Generate sRGB thumbnails for images with embedded color profile data

Images with color profiles other than sRGB or AdobeRGB may look
too bright/dark as thumbnails, because Geeqie ignores color profile
information during thumbnail generation.

This patch adds color profile correction for thumbnails if the image
contains EXIF data and provides an embedded color profile or EXIF
color profile identifiers.

3 years agoConvert general file comments in .c files to Doxygen style comments
Colin Clark [Sat, 24 Apr 2021 08:56:20 +0000 (09:56 +0100)]
Convert general file comments in .c files to Doxygen style comments

3 years agoConvert comments in .h files to Doxygen style comments
Colin Clark [Wed, 21 Apr 2021 09:03:26 +0000 (10:03 +0100)]
Convert comments in .h files to Doxygen style comments

3 years agoInclude DDS as image format in README
Colin Clark [Tue, 20 Apr 2021 15:43:03 +0000 (16:43 +0100)]
Include DDS as image format in README

3 years agoInclude CR3 as image format in README
Colin Clark [Tue, 20 Apr 2021 12:53:27 +0000 (13:53 +0100)]
Include CR3 as image format in README

3 years agoInclude AVIF as image format in README
Colin Clark [Tue, 20 Apr 2021 11:30:43 +0000 (12:30 +0100)]
Include AVIF as image format in README

3 years agoDo not open collection window for --list option and no files
Colin Clark [Tue, 20 Apr 2021 10:14:33 +0000 (11:14 +0100)]
Do not open collection window for --list option and no files

If the command line option --list is given, but there are no files
listed on the command line, do not open a blank collection window

3 years agoFix #772: Huge image display issue
terrancewong [Tue, 20 Apr 2021 09:30:35 +0000 (10:30 +0100)]
Fix #772: Huge image display issue

https://github.com/BestImageViewer/geeqie/issues/772
Patch by terrancewong, expanded by CAC.
There is a problem with the GdkPixbuf library when the image width is > 32767.
The problem shows in gdk_pixbuf_copy_area() and GDK_INTERP_NEAREST.
The easiest way to solve the problems is to work around them.