geeqie.git
2 hours agoFix FIXME: Emblems should be attached to icons via master
Colin Clark [Sun, 19 May 2024 09:47:28 +0000 (10:47 +0100)]
Fix FIXME: Emblems should be attached to icons via

2 hours agoUse GdkRectangle in PanGrid
Arkadiy Illarionov [Fri, 17 May 2024 19:35:44 +0000 (22:35 +0300)]
Use GdkRectangle in PanGrid

24 hours agoUse GdkPoint in PAN_ITEM_TRIANGLE coord
Arkadiy Illarionov [Fri, 17 May 2024 18:40:34 +0000 (21:40 +0300)]
Use GdkPoint in PAN_ITEM_TRIANGLE coord

2 days agoUse util_clip_triangle() in pan_item_tri_new()
Arkadiy Illarionov [Thu, 16 May 2024 18:33:29 +0000 (21:33 +0300)]
Use util_clip_triangle() in pan_item_tri_new()

Remove unused parameters in pan_item_tri_new().

2 days agoUse gdk_rectangle_intersect() in pan-view
Arkadiy Illarionov [Wed, 15 May 2024 19:17:31 +0000 (22:17 +0300)]
Use gdk_rectangle_intersect() in pan-view

2 days agoCheck for GTK4 migration regressions
Colin Clark [Thu, 16 May 2024 15:47:14 +0000 (16:47 +0100)]
Check for GTK4 migration regressions

- Additional test to ensure that GTK4 compatibility functions are
prefixed by gq_
- Fix found errors

3 days agoSimplify util_clip_region()
Arkadiy Illarionov [Tue, 14 May 2024 18:30:29 +0000 (21:30 +0300)]
Simplify util_clip_region()

* use gdk_rectangle_intersect()
* convert pointers to references

4 days agoBug fix: rotate plugin
Colin Clark [Tue, 14 May 2024 13:39:57 +0000 (14:39 +0100)]
Bug fix: rotate plugin

Remove junk from the script file.

5 days agoInclude unit_tests option in test runs
Colin Clark [Tue, 14 May 2024 11:53:55 +0000 (12:53 +0100)]
Include unit_tests option in test runs

Previous "test 1" commit should have been here.

5 days agotest 1
Colin Clark [Tue, 14 May 2024 10:58:50 +0000 (11:58 +0100)]
test 1

5 days agoSwitches to using isolate-test.sh everywhere we launch Geeqie from tests/checks.
Omari Stephens [Sat, 11 May 2024 05:21:16 +0000 (05:21 +0000)]
Switches to using isolate-test.sh everywhere we launch Geeqie from tests/checks.

This allows us to run all of those tests in parallel, and without potentially interacting with processes that might be running outside of the build/test environment.

5 days agoUpdates image-test.sh to include a more robust teardown, and to make it more independ...
Omari Stephens [Sat, 11 May 2024 05:19:11 +0000 (05:19 +0000)]
Updates image-test.sh to include a more robust teardown, and to make it more independent of the rest of the system.

In particular, avoids `pgrep` (which could detect geeqie processes unrelated to this test) in favor of stashing and checking the pid that was launched.

Also makes some more minor fixups to lua-test.sh

5 days agoCreates a helper utility to run tests isolated from the user's actual environment.
Omari Stephens [Sat, 11 May 2024 02:10:19 +0000 (02:10 +0000)]
Creates a helper utility to run tests isolated from the user's actual environment.

This avoids interference from/with other processes that might be running on the
same host machine (such as the user's own Geeqie processes, or other processes
that were started in parallel by Meson), and also ensures that we can clean up
the test environment without making any permanent changes (especially important
in case of bugs).

5 days agoAdds support to use the system gtest/gmock as a default, if available, and the subpro...
Omari Stephens [Sat, 11 May 2024 00:33:38 +0000 (00:33 +0000)]
Adds support to use the system gtest/gmock as a default, if available, and the subproject versions otherwise.

This follows the pattern from:
https://github.com/mesonbuild/meson/blob/master/test%20cases/frameworks/2%20gtest/meson.build

5 days agoPartitions the Geeqie tests into three suites, and adds testing-related documentation.
Omari Stephens [Fri, 10 May 2024 18:57:34 +0000 (18:57 +0000)]
Partitions the Geeqie tests into three suites, and adds testing-related documentation.

5 days agoRuns unit tests from main.cc when requested, and integrates that into the build syste...
Omari Stephens [Fri, 10 May 2024 17:43:21 +0000 (17:43 +0000)]
Runs unit tests from main.cc when requested, and integrates that into the build system test plumbing.

To run just the unit tests is now just two steps:
```
$ meson setup -D unit_tests=enabled build
$ meson test -C build -v 'Unit tests'
```

5 days agoCleans up and slightly refactors command line interrogation functions in main.cc.
Omari Stephens [Fri, 10 May 2024 17:39:54 +0000 (17:39 +0000)]
Cleans up and slightly refactors command line interrogation functions in main.cc.

This is in preparation for conditionally executing unit tests when that argument is specified.

5 days agoCreates some initial unit tests, and adds the build system infrastructure to compile...
Omari Stephens [Fri, 10 May 2024 17:34:14 +0000 (17:34 +0000)]
Creates some initial unit tests, and adds the build system infrastructure to compile and link them when appropriate.

5 days agoPlumbs `ENABLE_UNIT_TESTS` through the build system, and conditionally compiles and...
Omari Stephens [Fri, 10 May 2024 17:24:18 +0000 (17:24 +0000)]
Plumbs `ENABLE_UNIT_TESTS` through the build system, and conditionally compiles and links googletest into geeqie when unit tests are enabled.

This is following the pattern from:
https://stackoverflow.com/a/57478960

5 days agoIncorporates the Meson gtest wrap file for googletest, in order to allow Meson to...
Omari Stephens [Fri, 10 May 2024 17:11:30 +0000 (17:11 +0000)]
Incorporates the Meson gtest wrap file for googletest, in order to allow Meson to auto-download and -compile googletest when needed.

This is based on the strategy recommended here:
https://stackoverflow.com/a/57478960

The gtest.wrap file originates from here (using version 1.10.0):
https://wrapdb.mesonbuild.com/gtest

5 days agoExclude subprojects from markdown lint
Colin Clark [Tue, 14 May 2024 09:57:59 +0000 (10:57 +0100)]
Exclude subprojects from markdown lint

This is necessary for a future commit. At the moment it has no effect.

5 days agoSend stacktrace data also to a /tmp file
Colin Clark [Mon, 13 May 2024 15:25:21 +0000 (16:25 +0100)]
Send stacktrace data also to a /tmp file

5 days agoFix meson deprecation
Colin Clark [Mon, 13 May 2024 15:09:39 +0000 (16:09 +0100)]
Fix meson deprecation

doc/meson.build:35: WARNING: Project targets '>=1.0.0' but uses feature
deprecated since '0.60.0': install_subdir with empty directory. It
worked by accident and is buggy. Use install_emptydir instead.

6 days agoCheck for shell scripts that are not POSIX
Colin Clark [Sun, 12 May 2024 16:26:35 +0000 (17:26 +0100)]
Check for shell scripts that are not POSIX

6 days agoExclude subprojects from shellcheck
Colin Clark [Sun, 12 May 2024 12:48:26 +0000 (13:48 +0100)]
Exclude subprojects from shellcheck

This may be necessary for a future commit. At the moment it has no
effect.

7 days agoRemove ToolbarButtonData
Arkadiy Illarionov [Sat, 11 May 2024 14:00:11 +0000 (17:00 +0300)]
Remove ToolbarButtonData

Use simple gchar*.
Also simplify toolbar_apply.

8 days agoAdd MetadataCacheEntry for fd->cached_metadata
Arkadiy Illarionov [Fri, 10 May 2024 17:23:39 +0000 (20:23 +0300)]
Add MetadataCacheEntry for fd->cached_metadata

8 days agoUse more g_list_find_custom()
Arkadiy Illarionov [Fri, 10 May 2024 16:51:07 +0000 (19:51 +0300)]
Use more g_list_find_custom()

Instead of manual iteration.

8 days agoUpdate clang-tidy-check for build options
Colin Clark [Fri, 10 May 2024 14:20:42 +0000 (15:20 +0100)]
Update clang-tidy-check for build options

If the build directory does not exist, run meson with the
-Ddevel=enabled option.

If the build test-image directory does not exist, assume that all
options have not been enabled and print a warning.

8 days agoRemove unused members in toolbar structs
Arkadiy Illarionov [Thu, 9 May 2024 12:05:16 +0000 (15:05 +0300)]
Remove unused members in toolbar structs

Widgets are added to containers, no need to keep them in structs.
Remove UseableToolbarItems.
Remove redundant casts, merge callbacks.

8 days agoclang-tidy: bugprone-suspicious-missing-comma
Colin Clark [Fri, 10 May 2024 13:19:48 +0000 (14:19 +0100)]
clang-tidy: bugprone-suspicious-missing-comma

- Remove the exclude from .clang-tidy file

9 days agoclang-tidy: readability-redundant-casting
Colin Clark [Fri, 10 May 2024 09:58:53 +0000 (10:58 +0100)]
clang-tidy: readability-redundant-casting

- Fix warnings identified by this flag
- Remove the exclude from .clang-tidy file

Edited by --fix-errors

9 days agoclang-tidy: bugprone-switch-missing-default-case
Colin Clark [Fri, 10 May 2024 08:55:48 +0000 (09:55 +0100)]
clang-tidy: bugprone-switch-missing-default-case

- Fix warnings identified by this flag
- Remove the exclude from .clang-tidy file

11 days agoEliminate some GitHub action warnings
Colin Clark [Wed, 8 May 2024 10:31:59 +0000 (11:31 +0100)]
Eliminate some GitHub action warnings

Update version number of some GitHub actions

13 days agoSome command line options are not GNU/POSIX compliant (4)
Colin Clark [Sun, 5 May 2024 16:01:27 +0000 (17:01 +0100)]
Some command line options are not GNU/POSIX compliant (4)

Update the plugins for the change from colon to equals sign.

13 days agoEliminate meson deprecation (2)
Colin Clark [Sun, 5 May 2024 15:56:58 +0000 (16:56 +0100)]
Eliminate meson deprecation (2)

mkdir --parents is not legal in FreeBSD

13 days agoEliminate meson deprecation
Colin Clark [Sun, 5 May 2024 12:55:13 +0000 (13:55 +0100)]
Eliminate meson deprecation

The feature '@0@'.format(name) was used - probably derived from:
https://github.com/mesonbuild/meson/issues/5273

This resulted in the warning:
DEPRECATION: Project uses feature that was always broken, and is now
deprecated since '1.3.0'

Rework meson.build files so that this feature is no longer used.

2 weeks agoUpdate .clang-tidy for Ubuntu 24.04
Colin Clark [Sun, 5 May 2024 11:23:00 +0000 (12:23 +0100)]
Update .clang-tidy for Ubuntu 24.04

Additional excludes are required for .clang-tidy, presumably because of
a new clang-tidy version.

2 weeks agoSimplify vflist_get_formatted()
Arkadiy Illarionov [Wed, 1 May 2024 12:21:57 +0000 (15:21 +0300)]
Simplify vflist_get_formatted()

Use GString for result.
Remove redundant with_stars parameter.

2 weeks agoRemove ToolbarButtonData::stock_id
Arkadiy Illarionov [Wed, 1 May 2024 10:13:36 +0000 (13:13 +0300)]
Remove ToolbarButtonData::stock_id

No need to keep it.

2 weeks agoRemove last GTK_STOCK items
Arkadiy Illarionov [Mon, 29 Apr 2024 14:19:54 +0000 (17:19 +0300)]
Remove last GTK_STOCK items

Replace GQ_ICON_COLLECTION with PIXBUF_INLINE_COLLECTION.
Also use PIXBUF_INLINE_COLLECTION macro instead of "gq-icon-collection".
Replace GQ_ICON_DND with GQ_ICON_DIRECTORY for "Dropped list includes folders." dialog.

2 weeks agoDisables clang-tidy check for multiple declarations on the same line for rect dimensi...
Omari Stephens [Mon, 29 Apr 2024 18:44:02 +0000 (18:44 +0000)]
Disables clang-tidy check for multiple declarations on the same line for rect dimension variables rx, ry, rw, rh.

Echoing https://www.reddit.com/r/learnprogramming/comments/9zgvlk/comment/ea942uh/
"My recommendation is that you only declare multiple per line if they represent
more or less the same thing, and are used together in such a way that they
logically belong to each other."

2 weeks agoClean up hard-coded hidpi scale factor in debug codepath
Omari Stephens [Mon, 29 Apr 2024 18:11:51 +0000 (18:11 +0000)]
Clean up hard-coded hidpi scale factor in debug codepath

2 weeks agoAdds comments to rt_source_tile_render
Omari Stephens [Mon, 29 Apr 2024 18:02:02 +0000 (18:02 +0000)]
Adds comments to rt_source_tile_render

Plus, some further tidying.

2 weeks agoReverts a diagnostic change to rt_hidpi_aware_draw
Omari Stephens [Sun, 28 Apr 2024 17:21:52 +0000 (17:21 +0000)]
Reverts a diagnostic change to rt_hidpi_aware_draw

2 weeks agoSignificant cleanup and simplification of rt_source_tile_render
Omari Stephens [Sun, 28 Apr 2024 17:20:01 +0000 (17:20 +0000)]
Significant cleanup and simplification of rt_source_tile_render

2 weeks agoBaby steps! Rendering seems to be working, but there are still some bugs.
Omari Stephens [Sun, 28 Apr 2024 09:10:01 +0000 (09:10 +0000)]
Baby steps! Rendering seems to be working, but there are still some bugs.

2 weeks agoInclude check for untranslated text
Colin Clark [Mon, 29 Apr 2024 15:53:40 +0000 (16:53 +0100)]
Include check for untranslated text

- Meson check for untranslated text strings
- Fix some untranslated text strings

2 weeks agoSilence GtkAction deprecation warnings
Arkadiy Illarionov [Mon, 29 Apr 2024 10:31:27 +0000 (13:31 +0300)]
Silence GtkAction deprecation warnings

Add aliases for deprecated functions.
Also move gq_gtk_container_add() out of ifdefs.

2 weeks agoDeduplicate mark_to_selection and selection_to_mark
Arkadiy Illarionov [Sun, 28 Apr 2024 15:13:56 +0000 (18:13 +0300)]
Deduplicate mark_to_selection and selection_to_mark

3 weeks agoSome command line options are not GNU/POSIX compliant (3)
Colin Clark [Wed, 24 Apr 2024 08:54:10 +0000 (09:54 +0100)]
Some command line options are not GNU/POSIX compliant (3)

Update the plugins for the change from colon to equals sign.

3 weeks agoAdds API documentation to functions in pixbuf-util.h
Omari Stephens [Sun, 21 Apr 2024 06:31:17 +0000 (06:31 +0000)]
Adds API documentation to functions in pixbuf-util.h

Also renames some variables to clarify operation.

Also notes but does not perform some function renames that would dramatically clarify what those functions do.

This change should be a no-op.

3 weeks agoPrefer internal ViewFile submodule functions
Arkadiy Illarionov [Sun, 21 Apr 2024 18:09:30 +0000 (21:09 +0300)]
Prefer internal ViewFile submodule functions

Avoid redundant type checks.

3 weeks agoOption to hide window decorations
Colin Clark [Sun, 21 Apr 2024 16:15:55 +0000 (17:15 +0100)]
Option to hide window decorations

The option is in Edit/Preferences/Windows

When selected and if supported by the window manager, window title bar,
resize controls, etc will not be displayed.

3 weeks agoDeduplicate ViewFile pop menu functions
Arkadiy Illarionov [Sun, 21 Apr 2024 14:07:43 +0000 (17:07 +0300)]
Deduplicate ViewFile pop menu functions

3 weeks agoDeduplicate ViewFile dnd
Arkadiy Illarionov [Sun, 21 Apr 2024 12:14:03 +0000 (15:14 +0300)]
Deduplicate ViewFile dnd

3 weeks agoTidy AppImage generation files
Colin Clark [Sun, 21 Apr 2024 12:39:18 +0000 (13:39 +0100)]
Tidy AppImage generation files

4 weeks agoAuto-completion - split standard and remote options
Colin Clark [Sat, 20 Apr 2024 17:29:26 +0000 (18:29 +0100)]
Auto-completion - split standard and remote options

- Only complete remote options after --remote has been given
- Delete --remote-help option - it has no value

4 weeks agoSimplify ViewFile callbacks
Arkadiy Illarionov [Sat, 20 Apr 2024 12:55:20 +0000 (15:55 +0300)]
Simplify ViewFile callbacks

Remove unused declarations.
Add vf*_pop_menu_add_items().
Split vf_selection_foreach().
Move ViewFileInfo* structs to submodules.

4 weeks agoBug fix: AppImage notification not working (2)
Colin Clark [Fri, 19 Apr 2024 09:35:42 +0000 (10:35 +0100)]
Bug fix: AppImage notification not working (2)

g_file_query_info does not get the date from GitHub. Use curl instead.

4 weeks agoMove common click_fd member to ViewFile
Arkadiy Illarionov [Wed, 17 Apr 2024 21:12:26 +0000 (00:12 +0300)]
Move common click_fd member to ViewFile

4 weeks agoDeduplicate "Show star rating" menu item creation
Arkadiy Illarionov [Wed, 17 Apr 2024 20:42:44 +0000 (23:42 +0300)]
Deduplicate "Show star rating" menu item creation

4 weeks agoAdd vf_selection_foreach()
Arkadiy Illarionov [Tue, 16 Apr 2024 19:54:22 +0000 (22:54 +0300)]
Add vf_selection_foreach()

Hide implementation and deduplicate code.
Also simplify layout_menu_write_rotate() a bit.

4 weeks agoSome command line options are not GNU/POSIX compliant (2)
Colin Clark [Tue, 16 Apr 2024 09:09:42 +0000 (10:09 +0100)]
Some command line options are not GNU/POSIX compliant (2)

Update the plugins for the change from colon to equals sign.

4 weeks agoBug fix: AppImage notification not working
Colin Clark [Mon, 15 Apr 2024 14:13:21 +0000 (15:13 +0100)]
Bug fix: AppImage notification not working

AppImage new issue notification did not work if run from an extracted
AppImage.

4 weeks agoUpdate AppImage download script for command line completions
Colin Clark [Sun, 14 Apr 2024 18:08:56 +0000 (19:08 +0100)]
Update AppImage download script for command line completions

If the extract option is given, create a symbolic link from
$HOME/.local/share/bash-completion to the extracted executable.

If this is not done, the command line auto-completion function will not
work for AppImages,

4 weeks agoCommand line auto-completion - further enhancements
Colin Clark [Sun, 14 Apr 2024 15:54:41 +0000 (16:54 +0100)]
Command line auto-completion - further enhancements

- Include auto-completion for remaining options.
- Fix some text errors

5 weeks agoOption --cache-maintenance is not GNU compliant
Colin Clark [Sun, 14 Apr 2024 10:58:15 +0000 (11:58 +0100)]
Option --cache-maintenance is not GNU compliant

https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html

The option requires an equals sign as a separator.

5 weeks agoSimplify pan_item_image_find_size()
Arkadiy Illarionov [Sat, 13 Apr 2024 22:43:23 +0000 (01:43 +0300)]
Simplify pan_item_image_find_size()

5 weeks agoDeduplicate PanCacheData destroying
Arkadiy Illarionov [Sat, 13 Apr 2024 22:32:33 +0000 (01:32 +0300)]
Deduplicate PanCacheData destroying

5 weeks agoSome command line options are not GNU/POSIX compliant
Colin Clark [Sat, 13 Apr 2024 17:38:33 +0000 (18:38 +0100)]
Some command line options are not GNU/POSIX compliant

The definitions are:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html

Colons in an option have been replaced by an equals sign.
Multi-character short options have been deleted.

The option --cache-render-shared-recurse remains illegal because it
exceeds the three--word limit.

5 weeks agoUse references in pan_layout_compute() parameters
Arkadiy Illarionov [Sat, 13 Apr 2024 12:31:44 +0000 (15:31 +0300)]
Use references in pan_layout_compute() parameters

Simplify related functions.

5 weeks agoMove some types and constants from pan-types to specific modules
Arkadiy Illarionov [Fri, 12 Apr 2024 19:23:18 +0000 (22:23 +0300)]
Move some types and constants from pan-types to specific modules

5 weeks agoMinor change to AppImage download script
Colin Clark [Thu, 11 Apr 2024 16:29:22 +0000 (17:29 +0100)]
Minor change to AppImage download script

Display an animated "spinner" character while extracting the AppImage.

5 weeks agoBug fix: Collections and unmounted drives (2)
Colin Clark [Thu, 11 Apr 2024 11:36:32 +0000 (12:36 +0100)]
Bug fix: Collections and unmounted drives (2)

Did not compile on FreeBSD

This is a blind fix.

5 weeks agoMerge SCROLL_RESET_* macros with PixbufRendererScrollResetType
Arkadiy Illarionov [Wed, 10 Apr 2024 20:46:50 +0000 (23:46 +0300)]
Merge SCROLL_RESET_* macros with PixbufRendererScrollResetType

Rename to ScrollReset.

5 weeks agoBug fix: Collections and unmounted drives
Colin Clark [Tue, 9 Apr 2024 09:48:01 +0000 (10:48 +0100)]
Bug fix: Collections and unmounted drives

The bug:
If a collection file is on the local filesystem
The collection file contains references to files on a mounted drive
The drive is unmounted
The collection file is opened

Geeqie sees that the files do not exist and deletes them from the
collection file.

The fix:
If Geeqie does not find the file-

If the file path prefix contains /home, /tmp or /usr it is assumed that
the file was on the local drive and has been deleted by the user. It is
ignored.

If the file path prefix contains a mount path, it is assumed that the
file was on a currently mounted drive and has been deleted.

Otherwise it is assumed that the file is on a removable drive that is
not currently mounted. The collection will not be opened.

If this is not the case the user may need to use a text editor to remove
the offending line from the collection file.

Created problem:
When a collection window contents have not been changed, but its
geometry has, the geometry changes will not be saved. The user must make
a minor positional change to any thumbnail to trigger a save.

5 weeks agoDrop obsolete GTK_OBJECT_FLOATING
Arkadiy Illarionov [Mon, 8 Apr 2024 21:08:58 +0000 (00:08 +0300)]
Drop obsolete GTK_OBJECT_FLOATING

5 weeks agoMove some defines from main-defines to modules
Arkadiy Illarionov [Sun, 7 Apr 2024 13:10:51 +0000 (16:10 +0300)]
Move some defines from main-defines to modules

Convert to constants.

5 weeks agoMove keyboard_scroll_calc() to layout-util
Arkadiy Illarionov [Sun, 7 Apr 2024 12:16:16 +0000 (15:16 +0300)]
Move keyboard_scroll_calc() to layout-util

Convert parameters from pointers to references.
Move Shift processing inside keyboard_scroll_calc().

6 weeks agoSimplify lists handling in history-list
Arkadiy Illarionov [Sat, 6 Apr 2024 14:07:41 +0000 (17:07 +0300)]
Simplify lists handling in history-list

6 weeks agoSimplify max value search in history-list
Arkadiy Illarionov [Sat, 6 Apr 2024 12:21:17 +0000 (15:21 +0300)]
Simplify max value search in history-list

6 weeks agoRemove unused key_press_cb() declaration
Arkadiy Illarionov [Fri, 5 Apr 2024 20:59:48 +0000 (23:59 +0300)]
Remove unused key_press_cb() declaration

6 weeks agoReplace custom PI with G_PI
Arkadiy Illarionov [Fri, 5 Apr 2024 20:36:31 +0000 (23:36 +0300)]
Replace custom PI with G_PI

6 weeks agoSimplify pixels sorting in image_sim_channel_equal()
Arkadiy Illarionov [Tue, 2 Apr 2024 18:22:59 +0000 (21:22 +0300)]
Simplify pixels sorting in image_sim_channel_equal()

And move it to anonymous namespace.

6 weeks agoAdditional test for temporary comments
Colin Clark [Thu, 4 Apr 2024 17:31:37 +0000 (18:31 +0100)]
Additional test for temporary comments

- The only sequence checked for is "//~"
- Delete existing temporary comments

6 weeks agoCommand line auto-completion enhancements
Colin Clark [Thu, 4 Apr 2024 16:15:13 +0000 (17:15 +0100)]
Command line auto-completion enhancements

- Limit completions to a list of file extensions known to Geeqie
- Limit completions to a specific extension where possible e.g. gqv
- Change option +t to -T and +w to -w. The plus character affected the
output of _parse_help
- Additional warning to user for invalid parameters - unknown option or
valid remote option used without a --remote command
- New remote.cc function for above feature
- Update man page and documentation

6 weeks agoReplace mround with STL lround
Arkadiy Illarionov [Tue, 2 Apr 2024 18:46:19 +0000 (21:46 +0300)]
Replace mround with STL lround

6 weeks agoInclude xmllint checks
Colin Clark [Tue, 2 Apr 2024 15:26:18 +0000 (16:26 +0100)]
Include xmllint checks

6 weeks agoCommand line auto-completion - AppImages
Colin Clark [Tue, 2 Apr 2024 13:56:54 +0000 (14:56 +0100)]
Command line auto-completion - AppImages

- Auto-completion does not work with AppImages. Document a work-around.
- Change the format of the completions file to be the same as similar
files.

6 weeks agoSimplify ImageSimilarityData comparison
Arkadiy Illarionov [Mon, 1 Apr 2024 18:37:53 +0000 (21:37 +0300)]
Simplify ImageSimilarityData comparison

* Run alternate_image_sim_compare_fast() once
* Deduplicate ImageSimilarityData comparison

6 weeks agoImplement basic command line auto-completion
Colin Clark [Mon, 1 Apr 2024 18:56:50 +0000 (19:56 +0100)]
Implement basic command line auto-completion

_parse_help is used to provide auto-completion for long options.
No other processing is done.

6 weeks agoFix #259: Zoom by drawing rectangle
Colin Clark [Sun, 31 Mar 2024 18:10:25 +0000 (19:10 +0100)]
Fix #259: Zoom by drawing rectangle

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

Menu item View/Zoom/Zoom To Rectangle

7 weeks agoAdd HtmlBrowser class and replace C array with std::array
Arkadiy Illarionov [Sat, 30 Mar 2024 12:43:04 +0000 (15:43 +0300)]
Add HtmlBrowser class and replace C array with std::array

7 weeks agoFix 1302: Cut image to clipboard
Colin Clark [Fri, 29 Mar 2024 13:24:11 +0000 (13:24 +0000)]
Fix 1302: Cut image to clipboard

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

Shortcut key Control-X and menu item Cut To Clipboard function as in
other programs.

This feature is only available in the main window.

7 weeks agoFix #1089: Sync xmp:Rating across all sidecar images (2)
Colin Clark [Fri, 29 Mar 2024 10:10:39 +0000 (10:10 +0000)]
Fix #1089: Sync xmp:Rating across all sidecar images (2)

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

Fix the documentation.

7 weeks agoFix #1303: Automatically hide image overlay in fullscreen mode
Colin Clark [Thu, 28 Mar 2024 14:57:19 +0000 (14:57 +0000)]
Fix #1303: Automatically hide image overlay in fullscreen mode

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

Additional option Edit/Preferences/Behavior/Hide OSD In Fullscreen

7 weeks agoAdditional meson test - look for stray debug statements
Colin Clark [Thu, 28 Mar 2024 11:35:24 +0000 (11:35 +0000)]
Additional meson test - look for stray debug statements

Check if DEBUG_0, DEBUG_BT or DEBUG_FD statements have been erroneously
left in the code.

7 weeks agoFix #1089: Sync xmp:Rating across all sidecar images
Colin Clark [Wed, 27 Mar 2024 18:46:10 +0000 (18:46 +0000)]
Fix #1089: Sync xmp:Rating across all sidecar images

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

Include Xmp.xmp.Rating in list of tags written to all sidecars.

7 weeks agoFix #1240: Regression: Option to open new full-function window directly is missing
Colin Clark [Wed, 27 Mar 2024 15:27:35 +0000 (15:27 +0000)]
Fix #1240: Regression: Option to open new full-function window directly is missing

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

Ensure that the sort sidebar is displayed if set in a saved window.