Vladimir Nadvornik [Sat, 19 Apr 2008 09:49:14 +0000 (09:49 +0000)]
improved spec file
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.
Laurent Monin [Fri, 18 Apr 2008 23:35:16 +0000 (23:35 +0000)]
gimp-remote has no -n option.
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.
Vladimir Nadvornik [Fri, 18 Apr 2008 22:31:58 +0000 (22:31 +0000)]
partially fixed reading embedded color profiles with exiv2
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.
Laurent Monin [Fri, 18 Apr 2008 21:53:33 +0000 (21:53 +0000)]
Display elapsed time since previous get_exec_time() call (debug only).
Laurent Monin [Fri, 18 Apr 2008 21:51:08 +0000 (21:51 +0000)]
Remove forgotten debug printf().
Laurent Monin [Fri, 18 Apr 2008 21:42:00 +0000 (21:42 +0000)]
Fix OSD display when fullscreen info string is empty.
Vladimir Nadvornik [Fri, 18 Apr 2008 21:30:12 +0000 (21:30 +0000)]
replace inner loops with memcpy
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()
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.
Laurent Monin [Fri, 18 Apr 2008 16:29:47 +0000 (16:29 +0000)]
Drop 3 useless #define.
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.
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.
Laurent Monin [Fri, 18 Apr 2008 09:15:09 +0000 (09:15 +0000)]
Introduce printf_term() macro and use it.
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.
Laurent Monin [Thu, 17 Apr 2008 20:03:49 +0000 (20:03 +0000)]
Add some wrappers in view_dir.c and simplify even more.
Laurent Monin [Thu, 17 Apr 2008 19:57:41 +0000 (19:57 +0000)]
Fix a bug introduced in revision 489.
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().
Vladimir Nadvornik [Thu, 17 Apr 2008 17:44:54 +0000 (17:44 +0000)]
image post-processing (rotation and color management) moved to
pixbuf-renderer
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.
Laurent Monin [Thu, 17 Apr 2008 17:19:41 +0000 (17:19 +0000)]
Merge few more functions 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.
Laurent Monin [Thu, 17 Apr 2008 14:51:32 +0000 (14:51 +0000)]
Merge dirlist/dirview dnd code.
Laurent Monin [Wed, 16 Apr 2008 22:51:32 +0000 (22:51 +0000)]
Regenerate translations files and update french translation.
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.
Laurent Monin [Wed, 16 Apr 2008 22:23:43 +0000 (22:23 +0000)]
Fix a crash introduced in revision 477.
Laurent Monin [Wed, 16 Apr 2008 22:21:01 +0000 (22:21 +0000)]
Fix two errors made in revision 473.
Laurent Monin [Wed, 16 Apr 2008 21:58:05 +0000 (21:58 +0000)]
Merge few more vdlist/vdtree functions.
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}.
Vladimir Nadvornik [Wed, 16 Apr 2008 20:32:44 +0000 (20:32 +0000)]
fixed compiler warnings
Vladimir Nadvornik [Wed, 16 Apr 2008 20:15:42 +0000 (20:15 +0000)]
in debug mode print time information on selected events
Laurent Monin [Wed, 16 Apr 2008 18:57:50 +0000 (18:57 +0000)]
Clean up and simplify.
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.
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.
Laurent Monin [Wed, 16 Apr 2008 14:56:31 +0000 (14:56 +0000)]
Rename vdt occurences to vd.
Laurent Monin [Wed, 16 Apr 2008 14:51:39 +0000 (14:51 +0000)]
Rename vdl occurences to vd.
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.
Laurent Monin [Tue, 15 Apr 2008 21:49:28 +0000 (21:49 +0000)]
Indicate --debug[=level] in usage display.
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.
Laurent Monin [Tue, 15 Apr 2008 21:06:00 +0000 (21:06 +0000)]
Cleanup read/write of image.zoom_mode option.
Laurent Monin [Tue, 15 Apr 2008 20:56:55 +0000 (20:56 +0000)]
Read show_icon_names only once.
Laurent Monin [Tue, 15 Apr 2008 20:55:21 +0000 (20:55 +0000)]
Rename l_conf to layout_order and make it more local.
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.
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 /.
Laurent Monin [Tue, 15 Apr 2008 20:00:27 +0000 (20:00 +0000)]
Add and use few new macros in rc file writing code.
Vladimir Nadvornik [Tue, 15 Apr 2008 18:34:24 +0000 (18:34 +0000)]
this might fix the freezes on freebsd, solaris, etc.
Vladimir Nadvornik [Tue, 15 Apr 2008 16:57:30 +0000 (16:57 +0000)]
save file_class to config file
Laurent Monin [Tue, 15 Apr 2008 07:16:51 +0000 (07:16 +0000)]
Exit fullscreen mode when Properties is displayed.
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.
Laurent Monin [Mon, 14 Apr 2008 23:47:13 +0000 (23:47 +0000)]
Move layout.order default init to setup_default_options().
Laurent Monin [Mon, 14 Apr 2008 23:39:46 +0000 (23:39 +0000)]
collection_load(): use booleans and always count failures (for debug).
Laurent Monin [Mon, 14 Apr 2008 23:29:54 +0000 (23:29 +0000)]
collection_load(): improve headers parsing.
Laurent Monin [Mon, 14 Apr 2008 23:09:48 +0000 (23:09 +0000)]
collection_load(): fix typo (missing #) made in rev 453.
Laurent Monin [Mon, 14 Apr 2008 23:08:27 +0000 (23:08 +0000)]
collection_load(): accept whitespaces at start of lines.
Laurent Monin [Mon, 14 Apr 2008 22:57:26 +0000 (22:57 +0000)]
collection_load(): increase verbosity in debug mode.
Laurent Monin [Mon, 14 Apr 2008 22:50:50 +0000 (22:50 +0000)]
collection_load(): replace official by limit_failures (and
invert the tests).
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.
Laurent Monin [Mon, 14 Apr 2008 22:28:29 +0000 (22:28 +0000)]
Merge collection_load_only_geometry() into collection_load().
Laurent Monin [Mon, 14 Apr 2008 22:05:47 +0000 (22:05 +0000)]
Use flags for collection_load*().
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.
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.
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.
Laurent Monin [Sun, 13 Apr 2008 12:24:42 +0000 (12:24 +0000)]
Add a button to reset fullscreen info string to default value.
Laurent Monin [Sun, 13 Apr 2008 12:12:44 +0000 (12:12 +0000)]
Fix a typo, READ_CHAR() must use value_all.
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).
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.
Laurent Monin [Sat, 12 Apr 2008 23:59:31 +0000 (23:59 +0000)]
Partly rewrite option parser to accept whitespaces at start
of lines.
Laurent Monin [Sat, 12 Apr 2008 23:41:35 +0000 (23:41 +0000)]
exif_* -> exif.display.*
Laurent Monin [Sat, 12 Apr 2008 23:32:08 +0000 (23:32 +0000)]
Add a note in the rc file about special editor slots.
Laurent Monin [Sat, 12 Apr 2008 23:16:41 +0000 (23:16 +0000)]
sidecar_ext -> sidecar.ext
Laurent Monin [Sat, 12 Apr 2008 23:07:04 +0000 (23:07 +0000)]
Unify names of options between variables and rc file.
Laurent Monin [Sat, 12 Apr 2008 23:02:00 +0000 (23:02 +0000)]
Use tree_descend_subdirs everywhere.
Laurent Monin [Sat, 12 Apr 2008 22:22:11 +0000 (22:22 +0000)]
Use startup_path_enable everywhere.
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.
Laurent Monin [Sat, 12 Apr 2008 22:10:38 +0000 (22:10 +0000)]
Rename dupe_custom_threshold option to duplicates_similarity_threshold.
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.
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.
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().
Laurent Monin [Sat, 12 Apr 2008 19:33:59 +0000 (19:33 +0000)]
Rename window options (moved to layout) and re-order rc file.
Laurent Monin [Sat, 12 Apr 2008 17:20:34 +0000 (17:20 +0000)]
Fix bad image option name in the rc file.
Laurent Monin [Sat, 12 Apr 2008 17:09:20 +0000 (17:09 +0000)]
Fix display bug when using "Limit image size when autofitting" option.
Laurent Monin [Sat, 12 Apr 2008 15:13:00 +0000 (15:13 +0000)]
Beautify rc file, adding sub-sections titles.
Laurent Monin [Sat, 12 Apr 2008 15:04:58 +0000 (15:04 +0000)]
Rename image-related options.
Laurent Monin [Sat, 12 Apr 2008 09:41:44 +0000 (09:41 +0000)]
Rename thumbnails related options.
Laurent Monin [Sat, 12 Apr 2008 09:12:37 +0000 (09:12 +0000)]
Rename file filtering options.
Laurent Monin [Sat, 12 Apr 2008 08:59:52 +0000 (08:59 +0000)]
Drop unused stuff.
Laurent Monin [Sat, 12 Apr 2008 08:40:02 +0000 (08:40 +0000)]
Rename collection options.
Laurent Monin [Sat, 12 Apr 2008 08:35:58 +0000 (08:35 +0000)]
Rename file sorting options.
Laurent Monin [Sat, 12 Apr 2008 08:28:08 +0000 (08:28 +0000)]
Re-order and try to group options.
Laurent Monin [Sat, 12 Apr 2008 08:05:44 +0000 (08:05 +0000)]
Rename color profile options.
Laurent Monin [Sat, 12 Apr 2008 07:46:01 +0000 (07:46 +0000)]
Rename slideshow options.
Laurent Monin [Sat, 12 Apr 2008 07:09:19 +0000 (07:09 +0000)]
Only display defined exif tags by default.
Laurent Monin [Sat, 12 Apr 2008 07:00:14 +0000 (07:00 +0000)]
Drop redundant code.
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.
Laurent Monin [Fri, 11 Apr 2008 23:32:22 +0000 (23:32 +0000)]
Rationalize fullscreen options naming.
Laurent Monin [Fri, 11 Apr 2008 23:01:00 +0000 (23:01 +0000)]
options_c -> c_options
Laurent Monin [Fri, 11 Apr 2008 22:52:22 +0000 (22:52 +0000)]
Move more options to ConfOptions.
Laurent Monin [Fri, 11 Apr 2008 22:27:54 +0000 (22:27 +0000)]
Move file_sort_case_sensitive to ConfOptions.