geeqie.git
16 years agoimproved spec file
Vladimir Nadvornik [Sat, 19 Apr 2008 09:49:14 +0000 (09:49 +0000)]
improved spec file

16 years agoFix directory view popup menu to display a View As submenu
Laurent Monin [Sat, 19 Apr 2008 09:36:30 +0000 (09:36 +0000)]
Fix directory view popup menu to display a View As submenu
to switch between different directory views.

16 years agogimp-remote has no -n option.
Laurent Monin [Fri, 18 Apr 2008 23:35:16 +0000 (23:35 +0000)]
gimp-remote has no -n option.

16 years agoAdd zoom ratio display to OSD in fullscreen mode.
Laurent Monin [Fri, 18 Apr 2008 23:09:03 +0000 (23:09 +0000)]
Add zoom ratio display to OSD in fullscreen mode.
It appears as [%zoom%] in fullscreen info string.
It is now displayed by default.

16 years agopartially fixed reading embedded color profiles with exiv2
Vladimir Nadvornik [Fri, 18 Apr 2008 22:31:58 +0000 (22:31 +0000)]
partially fixed reading embedded color profiles with exiv2

16 years agoAdd two new options to control image read buffer at runtime.
Laurent Monin [Fri, 18 Apr 2008 22:15:01 +0000 (22:15 +0000)]
Add two new options to control image read buffer at runtime.
They are available in Preferences > Advanced > Image loading and caching.
Default read buffer size was set to 4096 instead of 512.
These options are saved to rc file.

16 years agoDisplay elapsed time since previous get_exec_time() call (debug only).
Laurent Monin [Fri, 18 Apr 2008 21:53:33 +0000 (21:53 +0000)]
Display elapsed time since previous get_exec_time() call (debug only).

16 years agoRemove forgotten debug printf().
Laurent Monin [Fri, 18 Apr 2008 21:51:08 +0000 (21:51 +0000)]
Remove forgotten debug printf().

16 years agoFix OSD display when fullscreen info string is empty.
Laurent Monin [Fri, 18 Apr 2008 21:42:00 +0000 (21:42 +0000)]
Fix OSD display when fullscreen info string is empty.

16 years agoreplace inner loops with memcpy
Vladimir Nadvornik [Fri, 18 Apr 2008 21:30:12 +0000 (21:30 +0000)]
replace inner loops with memcpy

16 years agoExplode pr_tile_mirror() in three optimized functions:
Laurent Monin [Fri, 18 Apr 2008 20:41:09 +0000 (20:41 +0000)]
Explode pr_tile_mirror() in three optimized functions:
pr_tile_mirror_only()
pr_tile_mirror_and_flip()
pr_tile_flip_only()

16 years agoRename vd_drop_update() to vd_dnd_drop_update().
Laurent Monin [Fri, 18 Apr 2008 16:53:41 +0000 (16:53 +0000)]
Rename vd_drop_update() to vd_dnd_drop_update().
Add two function pointers to ViewDir struct to keep
vdtree_dnd_drop_expand_cancel() and vdtree_dnd_drop_expand()
static to view_dir_tree.c.

16 years agoDrop 3 useless #define.
Laurent Monin [Fri, 18 Apr 2008 16:29:47 +0000 (16:29 +0000)]
Drop 3 useless #define.

16 years agoFix forgotten vd->pf affectation.
Laurent Monin [Fri, 18 Apr 2008 16:25:40 +0000 (16:25 +0000)]
Fix forgotten vd->pf affectation.
Cleanup, and reduce code redundancy a bit.

16 years agoExplode pr_tile_rotate_90() in two functions:
Laurent Monin [Fri, 18 Apr 2008 11:01:41 +0000 (11:01 +0000)]
Explode pr_tile_rotate_90() in two functions:
pr_tile_rotate_90_clockwise()
pr_tile_rotate_90_counter_clockwise()
Optimize the code at the expense of a bit of code redundancy:
tests were moved outside the loops, intermediate results are now cached.

16 years agoIntroduce printf_term() macro and use it.
Laurent Monin [Fri, 18 Apr 2008 09:15:09 +0000 (09:15 +0000)]
Introduce printf_term() macro and use it.

16 years agoAdd a shortcut key for List (L) and change the one for Tree (T),
Laurent Monin [Thu, 17 Apr 2008 20:14:49 +0000 (20:14 +0000)]
Add a shortcut key for List (L) and change the one for Tree (T),
they are now in a submenu.

16 years agoAdd some wrappers in view_dir.c and simplify even more.
Laurent Monin [Thu, 17 Apr 2008 20:03:49 +0000 (20:03 +0000)]
Add some wrappers in view_dir.c and simplify even more.

16 years agoFix a bug introduced in revision 489.
Laurent Monin [Thu, 17 Apr 2008 19:57:41 +0000 (19:57 +0000)]
Fix a bug introduced in revision 489.

16 years agoReduce code redundancy with the introduction of a new
Laurent Monin [Thu, 17 Apr 2008 18:44:17 +0000 (18:44 +0000)]
Reduce code redundancy with the introduction of a new
function named vd_get_fd_from_tree_path().

16 years agoimage post-processing (rotation and color management) moved to
Vladimir Nadvornik [Thu, 17 Apr 2008 17:44:54 +0000 (17:44 +0000)]
image post-processing (rotation and color management) moved to
pixbuf-renderer

16 years agoMerge vd(list|tree)_release_cb() in vd_release_cb().
Laurent Monin [Thu, 17 Apr 2008 17:35:51 +0000 (17:35 +0000)]
Merge vd(list|tree)_release_cb() in vd_release_cb().
I made some assumptions here i hope correct.

16 years agoMerge few more functions to view_dir.c.
Laurent Monin [Thu, 17 Apr 2008 17:19:41 +0000 (17:19 +0000)]
Merge few more functions to view_dir.c.

16 years agoMove common menu position callback to view_dir.c.
Laurent Monin [Thu, 17 Apr 2008 16:33:31 +0000 (16:33 +0000)]
Move common menu position callback to view_dir.c.

16 years agoMerge dirlist/dirview dnd code.
Laurent Monin [Thu, 17 Apr 2008 14:51:32 +0000 (14:51 +0000)]
Merge dirlist/dirview dnd code.

16 years agoRegenerate translations files and update french translation.
Laurent Monin [Wed, 16 Apr 2008 22:51:32 +0000 (22:51 +0000)]
Regenerate translations files and update french translation.

16 years agoFix new folder feature in dirlist mode, it was broken by revision 481.
Laurent Monin [Wed, 16 Apr 2008 22:31:52 +0000 (22:31 +0000)]
Fix new folder feature in dirlist mode, it was broken by revision 481.

16 years agoFix a crash introduced in revision 477.
Laurent Monin [Wed, 16 Apr 2008 22:23:43 +0000 (22:23 +0000)]
Fix a crash introduced in revision 477.

16 years agoFix two errors made in revision 473.
Laurent Monin [Wed, 16 Apr 2008 22:21:01 +0000 (22:21 +0000)]
Fix two errors made in revision 473.

16 years agoMerge few more vdlist/vdtree functions.
Laurent Monin [Wed, 16 Apr 2008 21:58:05 +0000 (21:58 +0000)]
Merge few more vdlist/vdtree functions.

16 years agoMake directory view popup menu common and move it to view_dir.{c,h}.
Laurent Monin [Wed, 16 Apr 2008 20:36:10 +0000 (20:36 +0000)]
Make directory view popup menu common and move it to view_dir.{c,h}.

16 years agofixed compiler warnings
Vladimir Nadvornik [Wed, 16 Apr 2008 20:32:44 +0000 (20:32 +0000)]
fixed compiler warnings

16 years agoin debug mode print time information on selected events
Vladimir Nadvornik [Wed, 16 Apr 2008 20:15:42 +0000 (20:15 +0000)]
in debug mode print time information on selected events

16 years agoClean up and simplify.
Laurent Monin [Wed, 16 Apr 2008 18:57:50 +0000 (18:57 +0000)]
Clean up and simplify.

16 years agoMerge parts of view_dir_list/tree constructors/destructors to
Laurent Monin [Wed, 16 Apr 2008 16:54:38 +0000 (16:54 +0000)]
Merge parts of view_dir_list/tree constructors/destructors to
view_dir.

16 years agoMove some dnd common code from view_dir_list.c and view_dir_tree.c
Laurent Monin [Wed, 16 Apr 2008 16:05:12 +0000 (16:05 +0000)]
Move some dnd common code from view_dir_list.c and view_dir_tree.c
to view_dir.c.

16 years agoRename vdt occurences to vd.
Laurent Monin [Wed, 16 Apr 2008 14:56:31 +0000 (14:56 +0000)]
Rename vdt occurences to vd.

16 years agoRename vdl occurences to vd.
Laurent Monin [Wed, 16 Apr 2008 14:51:39 +0000 (14:51 +0000)]
Rename vdl occurences to vd.

16 years agoIntroduce a new struct ViewDir to handle directory views common
Laurent Monin [Wed, 16 Apr 2008 14:45:22 +0000 (14:45 +0000)]
Introduce a new struct ViewDir to handle directory views common
data.
Specific data is now in ViewDirInfoList and ViewDirInfoTree.
Type of directory view can be specified with enum DirViewType.
This is saved to rc file as layout.dir_view_type, which replace
layout.view_as_tree.
Code was modified to reflect these changes.
This is a first to move to merge common code of view_dir_list.c
and view_dir_tree.c and ease the introduction of new types
of directory view.

16 years agoIndicate --debug[=level] in usage display.
Laurent Monin [Tue, 15 Apr 2008 21:49:28 +0000 (21:49 +0000)]
Indicate --debug[=level] in usage display.

16 years agoParse command line for --debug option as soon as possible and allow
Laurent Monin [Tue, 15 Apr 2008 21:47:03 +0000 (21:47 +0000)]
Parse command line for --debug option as soon as possible and allow
--debug[=level] syntax.
Only display message indication debug level once.

16 years agoCleanup read/write of image.zoom_mode option.
Laurent Monin [Tue, 15 Apr 2008 21:06:00 +0000 (21:06 +0000)]
Cleanup read/write of image.zoom_mode option.

16 years agoRead show_icon_names only once.
Laurent Monin [Tue, 15 Apr 2008 20:56:55 +0000 (20:56 +0000)]
Read show_icon_names only once.

16 years agoRename l_conf to layout_order and make it more local.
Laurent Monin [Tue, 15 Apr 2008 20:55:21 +0000 (20:55 +0000)]
Rename l_conf to layout_order and make it more local.

16 years agoFix a bug that was here since a long time, buf has nothing
Laurent Monin [Tue, 15 Apr 2008 20:46:14 +0000 (20:46 +0000)]
Fix a bug that was here since a long time, buf has nothing
to do with options->layout.order, so compare it to l_conf instead.
It fixes refreshing of files and directories lists when changing
filtering options.

16 years agoAdd a new option in Preferences > Filtering to allow the
Laurent Monin [Tue, 15 Apr 2008 20:36:11 +0000 (20:36 +0000)]
Add a new option in Preferences > Filtering to allow the
user to choose to display '.' directory in folder lists or not.
This option is saved to rc file as file_filter.show_dot_directory.
A minor fix was made to disable display of .. in folder selection
dialogs when current path is /.

16 years agoAdd and use few new macros in rc file writing code.
Laurent Monin [Tue, 15 Apr 2008 20:00:27 +0000 (20:00 +0000)]
Add and use few new macros in rc file writing code.

16 years agothis might fix the freezes on freebsd, solaris, etc.
Vladimir Nadvornik [Tue, 15 Apr 2008 18:34:24 +0000 (18:34 +0000)]
this might fix the freezes on freebsd, solaris, etc.

16 years agosave file_class to config file
Vladimir Nadvornik [Tue, 15 Apr 2008 16:57:30 +0000 (16:57 +0000)]
save file_class to config file

16 years agoExit fullscreen mode when Properties is displayed.
Laurent Monin [Tue, 15 Apr 2008 07:16:51 +0000 (07:16 +0000)]
Exit fullscreen mode when Properties is displayed.

16 years agoNew Go to directory view feature that permits to find and display the directory
Laurent Monin [Tue, 15 Apr 2008 06:56:25 +0000 (06:56 +0000)]
New Go to directory view feature that permits to find and display the directory
corresponding to an image view.
For example, when you open an image in new window from collection, right clicking on
the newly displayed image will let you choose Go to directory view, which would open
a new window, with image and directory list.
If current directory is the one of the image, menu item is disabled.

16 years agoMove layout.order default init to setup_default_options().
Laurent Monin [Mon, 14 Apr 2008 23:47:13 +0000 (23:47 +0000)]
Move layout.order default init to setup_default_options().

16 years agocollection_load(): use booleans and always count failures (for debug).
Laurent Monin [Mon, 14 Apr 2008 23:39:46 +0000 (23:39 +0000)]
collection_load(): use booleans and always count failures (for debug).

16 years agocollection_load(): improve headers parsing.
Laurent Monin [Mon, 14 Apr 2008 23:29:54 +0000 (23:29 +0000)]
collection_load(): improve headers parsing.

16 years agocollection_load(): fix typo (missing #) made in rev 453.
Laurent Monin [Mon, 14 Apr 2008 23:09:48 +0000 (23:09 +0000)]
collection_load(): fix typo (missing #) made in rev 453.

16 years agocollection_load(): accept whitespaces at start of lines.
Laurent Monin [Mon, 14 Apr 2008 23:08:27 +0000 (23:08 +0000)]
collection_load(): accept whitespaces at start of lines.

16 years agocollection_load(): increase verbosity in debug mode.
Laurent Monin [Mon, 14 Apr 2008 22:57:26 +0000 (22:57 +0000)]
collection_load(): increase verbosity in debug mode.

16 years agocollection_load(): replace official by limit_failures (and
Laurent Monin [Mon, 14 Apr 2008 22:50:50 +0000 (22:50 +0000)]
collection_load(): replace official by limit_failures (and
invert the tests).

16 years agoIncrease collection_load() buffer size and do not activate
Laurent Monin [Mon, 14 Apr 2008 22:45:53 +0000 (22:45 +0000)]
Increase collection_load() buffer size and do not activate
error limiting for GQview collections.

16 years agoMerge collection_load_only_geometry() into collection_load().
Laurent Monin [Mon, 14 Apr 2008 22:28:29 +0000 (22:28 +0000)]
Merge collection_load_only_geometry() into collection_load().

16 years agoUse flags for collection_load*().
Laurent Monin [Mon, 14 Apr 2008 22:05:47 +0000 (22:05 +0000)]
Use flags for collection_load*().

16 years agoApply exif display config (Never/If set/Always) to pan view too.
Laurent Monin [Sun, 13 Apr 2008 20:33:45 +0000 (20:33 +0000)]
Apply exif display config (Never/If set/Always) to pan view too.

16 years agoRename show_dot_files to show_hidden_files.
Laurent Monin [Sun, 13 Apr 2008 19:21:13 +0000 (19:21 +0000)]
Rename show_dot_files to show_hidden_files.
There is no need to expose the underlying method to hide
files.

16 years agoLet toggle the visibility of hidden files from directories list
Laurent Monin [Sun, 13 Apr 2008 18:56:24 +0000 (18:56 +0000)]
Let toggle the visibility of hidden files from directories list
or tree contextual menu.

16 years agoAdd a button to reset fullscreen info string to default value.
Laurent Monin [Sun, 13 Apr 2008 12:24:42 +0000 (12:24 +0000)]
Add a button to reset fullscreen info string to default value.

16 years agoFix a typo, READ_CHAR() must use value_all.
Laurent Monin [Sun, 13 Apr 2008 12:12:44 +0000 (12:12 +0000)]
Fix a typo, READ_CHAR() must use value_all.

16 years agoUse convenient macros to read options, it will ensure options
Laurent Monin [Sun, 13 Apr 2008 09:10:38 +0000 (09:10 +0000)]
Use convenient macros to read options, it will ensure options
names are matching (in the rc file and internally).

16 years agoSimplify read_*_option() stuff by passing pointer to option value.
Laurent Monin [Sun, 13 Apr 2008 08:36:17 +0000 (08:36 +0000)]
Simplify read_*_option() stuff by passing pointer to option value.
Introduce read_uint_option() to read enum values and read_int_option_clamp()
to read clamped values.

16 years agoPartly rewrite option parser to accept whitespaces at start
Laurent Monin [Sat, 12 Apr 2008 23:59:31 +0000 (23:59 +0000)]
Partly rewrite option parser to accept whitespaces at start
of lines.

16 years agoexif_* -> exif.display.*
Laurent Monin [Sat, 12 Apr 2008 23:41:35 +0000 (23:41 +0000)]
exif_* -> exif.display.*

16 years agoAdd a note in the rc file about special editor slots.
Laurent Monin [Sat, 12 Apr 2008 23:32:08 +0000 (23:32 +0000)]
Add a note in the rc file about special editor slots.

16 years agosidecar_ext -> sidecar.ext
Laurent Monin [Sat, 12 Apr 2008 23:16:41 +0000 (23:16 +0000)]
sidecar_ext -> sidecar.ext

16 years agoUnify names of options between variables and rc file.
Laurent Monin [Sat, 12 Apr 2008 23:07:04 +0000 (23:07 +0000)]
Unify names of options between variables and rc file.

16 years agoUse tree_descend_subdirs everywhere.
Laurent Monin [Sat, 12 Apr 2008 23:02:00 +0000 (23:02 +0000)]
Use tree_descend_subdirs everywhere.

16 years agoUse startup_path_enable everywhere.
Laurent Monin [Sat, 12 Apr 2008 22:22:11 +0000 (22:22 +0000)]
Use startup_path_enable everywhere.

16 years agoRename recent_list_max/open_recent_max to open_recent_list_maxsize.
Laurent Monin [Sat, 12 Apr 2008 22:17:14 +0000 (22:17 +0000)]
Rename recent_list_max/open_recent_max to open_recent_list_maxsize.

16 years agoRename dupe_custom_threshold option to duplicates_similarity_threshold.
Laurent Monin [Sat, 12 Apr 2008 22:10:38 +0000 (22:10 +0000)]
Rename dupe_custom_threshold option to duplicates_similarity_threshold.

16 years agoMove safe_delete* and in place rename options to file_ops
Laurent Monin [Sat, 12 Apr 2008 22:04:29 +0000 (22:04 +0000)]
Move safe_delete* and in place rename options to file_ops
struct.
Re-order rc file a bit.

16 years agoRename option thumbnails.enabled to layout.show_thumbnails as it makes
Laurent Monin [Sat, 12 Apr 2008 21:45:30 +0000 (21:45 +0000)]
Rename option thumbnails.enabled to layout.show_thumbnails as it makes
more sense.

16 years agoRename user_specified_window_background and window_background_color
Laurent Monin [Sat, 12 Apr 2008 21:38:55 +0000 (21:38 +0000)]
Rename user_specified_window_background and window_background_color
to image.use_custom_border_color and image.border_color.
Rename pref_background_color_set_cb() to pref_color_button_set_cb().
Rename pref_colorbutton_new() to pref_color_button_new().

16 years agoRename window options (moved to layout) and re-order rc file.
Laurent Monin [Sat, 12 Apr 2008 19:33:59 +0000 (19:33 +0000)]
Rename window options (moved to layout) and re-order rc file.

16 years agoFix bad image option name in the rc file.
Laurent Monin [Sat, 12 Apr 2008 17:20:34 +0000 (17:20 +0000)]
Fix bad image option name in the rc file.

16 years agoFix display bug when using "Limit image size when autofitting" option.
Laurent Monin [Sat, 12 Apr 2008 17:09:20 +0000 (17:09 +0000)]
Fix display bug when using "Limit image size when autofitting" option.

16 years agoBeautify rc file, adding sub-sections titles.
Laurent Monin [Sat, 12 Apr 2008 15:13:00 +0000 (15:13 +0000)]
Beautify rc file, adding sub-sections titles.

16 years agoRename image-related options.
Laurent Monin [Sat, 12 Apr 2008 15:04:58 +0000 (15:04 +0000)]
Rename image-related options.

16 years agoRename thumbnails related options.
Laurent Monin [Sat, 12 Apr 2008 09:41:44 +0000 (09:41 +0000)]
Rename thumbnails related options.

16 years agoRename file filtering options.
Laurent Monin [Sat, 12 Apr 2008 09:12:37 +0000 (09:12 +0000)]
Rename file filtering options.

16 years agoDrop unused stuff.
Laurent Monin [Sat, 12 Apr 2008 08:59:52 +0000 (08:59 +0000)]
Drop unused stuff.

16 years agoRename collection options.
Laurent Monin [Sat, 12 Apr 2008 08:40:02 +0000 (08:40 +0000)]
Rename collection options.

16 years agoRename file sorting options.
Laurent Monin [Sat, 12 Apr 2008 08:35:58 +0000 (08:35 +0000)]
Rename file sorting options.

16 years agoRe-order and try to group options.
Laurent Monin [Sat, 12 Apr 2008 08:28:08 +0000 (08:28 +0000)]
Re-order and try to group options.

16 years agoRename color profile options.
Laurent Monin [Sat, 12 Apr 2008 08:05:44 +0000 (08:05 +0000)]
Rename color profile options.

16 years agoRename slideshow options.
Laurent Monin [Sat, 12 Apr 2008 07:46:01 +0000 (07:46 +0000)]
Rename slideshow options.

16 years agoOnly display defined exif tags by default.
Laurent Monin [Sat, 12 Apr 2008 07:09:19 +0000 (07:09 +0000)]
Only display defined exif tags by default.

16 years agoDrop redundant code.
Laurent Monin [Sat, 12 Apr 2008 07:00:14 +0000 (07:00 +0000)]
Drop redundant code.

16 years agoAdd Exif.Photo.ColorSpace tag in Preferences > Properties > Exif.
Laurent Monin [Sat, 12 Apr 2008 06:42:47 +0000 (06:42 +0000)]
Add Exif.Photo.ColorSpace tag in Preferences > Properties > Exif.
Requested by Frédéric Mantegazza.

16 years agoRationalize fullscreen options naming.
Laurent Monin [Fri, 11 Apr 2008 23:32:22 +0000 (23:32 +0000)]
Rationalize fullscreen options naming.

16 years agooptions_c -> c_options
Laurent Monin [Fri, 11 Apr 2008 23:01:00 +0000 (23:01 +0000)]
options_c -> c_options

16 years agoMove more options to ConfOptions.
Laurent Monin [Fri, 11 Apr 2008 22:52:22 +0000 (22:52 +0000)]
Move more options to ConfOptions.

16 years agoMove file_sort_case_sensitive to ConfOptions.
Laurent Monin [Fri, 11 Apr 2008 22:27:54 +0000 (22:27 +0000)]
Move file_sort_case_sensitive to ConfOptions.