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.
Laurent Monin [Fri, 11 Apr 2008 22:14:36 +0000 (22:14 +0000)]
Add a new struct ConfOptions to handle options.
Changes were made among the code to use only one global var
named "options" of type ConfOptions *.
Initialization takes place in new init_options().
Laurent Monin [Fri, 11 Apr 2008 20:35:37 +0000 (20:35 +0000)]
Make thumbnail standard fail directory after current application
name and version.
Laurent Monin [Fri, 11 Apr 2008 20:01:29 +0000 (20:01 +0000)]
Define drag and drop target string in dnd.h.
Make it use the current name of the application.
Laurent Monin [Fri, 11 Apr 2008 19:43:36 +0000 (19:43 +0000)]
Use secure save in history_list_save().
Laurent Monin [Fri, 11 Apr 2008 17:11:14 +0000 (17:11 +0000)]
Use secure save in comment_file_write().
Laurent Monin [Fri, 11 Apr 2008 16:46:21 +0000 (16:46 +0000)]
Secure save now unlinks temporary file on error by default.
It will prevent left-behind temporary files, but also prevent
potential data recovery from partially written files (it
should not be a problem here).
Laurent Monin [Fri, 11 Apr 2008 16:04:37 +0000 (16:04 +0000)]
Use secure save feature when saving collections.
Laurent Monin [Fri, 11 Apr 2008 16:02:33 +0000 (16:02 +0000)]
Preserve permissions of the destination file when using secure save.
Laurent Monin [Fri, 11 Apr 2008 15:27:08 +0000 (15:27 +0000)]
Revert part of the previous patch, let the caller take care
of calling path_from_utf8().
Laurent Monin [Fri, 11 Apr 2008 14:27:55 +0000 (14:27 +0000)]
Use path_from_utf8() on the passed filename.
Add const attribute.
Laurent Monin [Fri, 11 Apr 2008 13:07:48 +0000 (13:07 +0000)]
ui_icons.h and icons_inline.h depend on gdk-pixbuf-csource,
so add a test for it in configure.
Wrap generated headers files with #ifdef/#endif and add
a comment related to their auto-generated nature.
Make the generation itself quiet, but display a message
on error.
Make these targets depend on respective Makefile.in.
Laurent Monin [Fri, 11 Apr 2008 12:31:32 +0000 (12:31 +0000)]
Move secure save code to its own files: secure_save.{c,h}.
Laurent Monin [Fri, 11 Apr 2008 12:25:36 +0000 (12:25 +0000)]
Add missing #ifdef/#endif.
Laurent Monin [Fri, 11 Apr 2008 10:46:52 +0000 (10:46 +0000)]
Ensure that gcc flag -Wall is set.
Laurent Monin [Fri, 11 Apr 2008 10:45:37 +0000 (10:45 +0000)]
Silent some gcc warnings.
Laurent Monin [Fri, 11 Apr 2008 09:02:20 +0000 (09:02 +0000)]
Prevent multiple insertion of the same file in a collection.
Use a hash table to speed up existence tests.
Laurent Monin [Fri, 11 Apr 2008 08:10:40 +0000 (08:10 +0000)]
Only display these messages if debug mode is enabled.
Vladimir Nadvornik [Thu, 10 Apr 2008 19:27:42 +0000 (19:27 +0000)]
fixed dates in pan-calendar
Laurent Monin [Thu, 10 Apr 2008 12:07:34 +0000 (12:07 +0000)]
Fix fCamera even more.
Laurent Monin [Thu, 10 Apr 2008 11:31:20 +0000 (11:31 +0000)]
Do not display ... if not truncated.
Laurent Monin [Thu, 10 Apr 2008 10:43:15 +0000 (10:43 +0000)]
Add the possibility to truncate overlay infos displayed:
%fCamera:20% will truncate data displayed to 20 characters
and add 3 dots at the end.
For example, %name% -> some_file, %name:4% -> some...
Laurent Monin [Thu, 10 Apr 2008 00:09:43 +0000 (00:09 +0000)]
Fix broken remove_common_prefix(), fCamera didn't display model as it should.
Laurent Monin [Wed, 9 Apr 2008 22:47:43 +0000 (22:47 +0000)]
Resync .po files. French translation was updated (100% made).
Laurent Monin [Wed, 9 Apr 2008 22:36:43 +0000 (22:36 +0000)]
Add 3 missing files to POTFILES.in.
Laurent Monin [Wed, 9 Apr 2008 22:33:06 +0000 (22:33 +0000)]
Simple helper script to display translation statistics.
Laurent Monin [Wed, 9 Apr 2008 22:13:11 +0000 (22:13 +0000)]
Fix a typo: "while fluorescent" -> "white fluorescent"
Laurent Monin [Wed, 9 Apr 2008 22:01:52 +0000 (22:01 +0000)]
Resync .po files. Update french translation.
Vladimir Nadvornik [Wed, 9 Apr 2008 21:14:50 +0000 (21:14 +0000)]
fixed crash in pan_calendar
Vladimir Nadvornik [Wed, 9 Apr 2008 20:49:32 +0000 (20:49 +0000)]
improved histogram drawing
Laurent Monin [Wed, 9 Apr 2008 16:37:54 +0000 (16:37 +0000)]
Simplify and unify gtk_window creation with the help of
the new window_new() function, that wraps gtk_window_new()
call.
Subclass, title and icon are set in the same call.
Laurent Monin [Wed, 9 Apr 2008 13:53:01 +0000 (13:53 +0000)]
Replace occurences of Geeqie / geeqie by constants defined in main.h.
Laurent Monin [Tue, 8 Apr 2008 23:41:01 +0000 (23:41 +0000)]
int -> gint
Laurent Monin [Tue, 8 Apr 2008 23:39:27 +0000 (23:39 +0000)]
Make xmp debug info only appears when debug >= 2.
Laurent Monin [Tue, 8 Apr 2008 23:33:49 +0000 (23:33 +0000)]
Enable image rotation depending on EXIF by default.
New users shouldn't have to search for it.
Laurent Monin [Tue, 8 Apr 2008 23:25:46 +0000 (23:25 +0000)]
Fix missing header files inclusions.
Laurent Monin [Tue, 8 Apr 2008 23:16:12 +0000 (23:16 +0000)]
GQVIEW_* -> GQ_*
Laurent Monin [Tue, 8 Apr 2008 23:07:09 +0000 (23:07 +0000)]
GQVIEW_H -> MAIN_H
Laurent Monin [Tue, 8 Apr 2008 23:02:33 +0000 (23:02 +0000)]
gqview.h -> main.h
Laurent Monin [Tue, 8 Apr 2008 22:31:42 +0000 (22:31 +0000)]
Remove obsolete prototype.
Laurent Monin [Tue, 8 Apr 2008 22:28:55 +0000 (22:28 +0000)]
gqview_remote -> remote_connection
gqview_command_collection -> command_collection
gqview_remote_control() -> remote_control()
gqview_remote_help() -> remote_help()
gqview_remote_command_find() -> remote_command_find()
gqview_remote_build_list() -> remote_build_list()
gqview_remote_cb() -> remote_cb()
Laurent Monin [Tue, 8 Apr 2008 22:16:56 +0000 (22:16 +0000)]
exit_gqview() renamed to exit_program().
exit_gqview_final() renamed to exit_program_final().
Laurent Monin [Tue, 8 Apr 2008 22:05:04 +0000 (22:05 +0000)]
Add support for some Samsung raw files (.pef).
Samsung raw not strongly differ from Pentax raw.
The only difference in header (manufacturer, camera name and etc).
Tested on Samsung GX-1S and Pentax *ist DS.
Patch by Max Lushnikov.
Laurent Monin [Tue, 8 Apr 2008 21:55:58 +0000 (21:55 +0000)]
Implement secure rc file saving.
First data is written to a temporary file, then if nothing
was wrong, this file is renamed to the final name.
This way the risk of corrupted rc file is greatly reduced.
The code is borrowed from ELinks (http://elinks.cz).
Vladimir Nadvornik [Tue, 8 Apr 2008 21:52:04 +0000 (21:52 +0000)]
fixed histogram label
Laurent Monin [Tue, 8 Apr 2008 21:33:29 +0000 (21:33 +0000)]
Fix the "continuous display" of tooltips in the collection view
(before the tooltip delay occured once, then changing icon to icon never hide the
tooltip again, now the tip is displayed shortly after the cursor moved on the icon,
but disappears when moving cursor to another icon).
Display the full path to the file when Show filename text is on (before nothing
was displayed).
When Show filename text is off, behavior is unchanged, the (short) filename is
displayed.
Vladimir Nadvornik [Tue, 8 Apr 2008 20:56:50 +0000 (20:56 +0000)]
reworked the histogram patch by Uwe Ohse, most of the code is in
separate files
Vladimir Nadvornik [Tue, 8 Apr 2008 17:26:13 +0000 (17:26 +0000)]
fixed file delete notification in view_file_icon
Laurent Monin [Tue, 8 Apr 2008 16:22:21 +0000 (16:22 +0000)]
gtk_notebook_set_tab_reorderable() is only available sinc gtk+ 2.10.
Laurent Monin [Tue, 8 Apr 2008 15:53:03 +0000 (15:53 +0000)]
Move active variable affectation after the test.
Laurent Monin [Tue, 8 Apr 2008 14:52:42 +0000 (14:52 +0000)]
Simplify layout_color_name_parse() using g_strdelimit().
Laurent Monin [Tue, 8 Apr 2008 14:50:14 +0000 (14:50 +0000)]
Tidy up, whitespaces and indentation fix.
Laurent Monin [Tue, 8 Apr 2008 11:53:35 +0000 (11:53 +0000)]
Remove dependency on GTK 2.12, reported by John Vodden and Vladimir
Nadvornik.
gtk_set_tooltip_markup() calls were disabled for GTK+ versions < 2.12.
gdk_color_to_string() was replaced by a equivalent function.
Laurent Monin [Mon, 7 Apr 2008 19:47:22 +0000 (19:47 +0000)]
Add the possibility to print file names with path.
A checkbox was added to the Text tab in the Print dialog.
Name checked and Path unchecked -> filename.jpg
Name checked and Path checked -> /some/dir/filename.jpg
Name unchecked and Path checked -> /some/dir/
Patch by Michael Mokeev and Laurent Monin.
Laurent Monin [Mon, 7 Apr 2008 19:06:17 +0000 (19:06 +0000)]
Fix a segfault on fullscreen file deletion reported by Frédéric Mantegazza.
Laurent Monin [Mon, 7 Apr 2008 18:52:54 +0000 (18:52 +0000)]
Add the possibility to match duplicates on the name but ignoring the case.
A new item was added to types of match combo box in the Find duplicates dialog.
Laurent Monin [Mon, 7 Apr 2008 08:09:39 +0000 (08:09 +0000)]
Display marks in overlay info only if at least one is set.
Fix a missing g_string_free().
Laurent Monin [Sun, 6 Apr 2008 10:17:41 +0000 (10:17 +0000)]
Mark all exif labels as translatable.
Before only some of them were enclosed by N_().