Laurent Monin [Sun, 11 May 2008 10:25:04 +0000 (10:25 +0000)]
Partially update main README.
A section concerning overlay info was added.
Translation statistics were updated.
Laurent Monin [Sun, 11 May 2008 09:37:46 +0000 (09:37 +0000)]
Change translations statistics formatting to match the style
use in the README file.
Here is the result for current trunk:
Translations statistics
Date: Sun, 11 May 2008 11:33:14 +0200
Note: completion % in the chart below may not be quite correct
when fuzzy translations exist but do not appear in the source.
For exact results, run make update-po with up to date POTFILES.in.
comp % = trans / (trans + fuzzy + untrans)
Language Comp(%) Trans Fuzzy Untrans Total
fr 100.00 985 0 0 985
be 90.56 892 25 68 985
eu 68.53 675 150 160 985
eo 68.22 672 153 160 985
vi 68.02 670 156 159 985
it 67.82 668 154 163 985
pt_BR 67.82 668 154 163 985
zh_TW 66.90 659 150 176 985
sk 66.50 655 158 172 985
fi 64.37 634 176 175 985
nl 64.37 634 179 172 985
sv 64.16 632 175 178 985
bg 64.06 631 175 179 985
ca 64.06 631 175 179 985
cs 64.06 631 175 179 985
de 64.06 631 175 179 985
es 64.06 631 175 179 985
ja 64.06 631 175 179 985
ru 64.06 631 175 179 985
pl 60.61 597 148 240 985
ar 42.94 423 315 247 985
ro 37.56 370 342 273 985
hu 36.14 356 332 297 985
id 19.70 194 408 383 985
et 19.29 190 407 388 985
uk 17.16 169 411 405 985
nb 15.94 157 416 412 985
zh_CN.GB2312 15.94 157 416 412 985
th 15.13 149 413 423 985
sl 14.72 145 419 421 985
da 12.99 128 402 455 985
ko 11.37 112 52 821 985
tr 6.60 65 398 522 985
Laurent Monin [Sat, 10 May 2008 21:29:53 +0000 (21:29 +0000)]
Fix display of collection in overlay info.
Due to markup escaped <i>collection</i> was displayed instead of collection's in italic.
Overlay info syntax was extended to allow the wrapping of displayed data with markup.
General syntax is: %name[:length limit][:extra]%
Extra string uses special character '*' to mark the place of the data to display.
If no '*' is present, then extra string is just appended to data.
Any "\n" is replaced by a newline on display.
Pango mark up is accepted in left and right parts.
If data is empty, nothing will be displayed.
Examples:
"%name:<i>*</i>\n%" -> name is displayed in italics ended with a newline
"%size:\n%" -> size is displayed with a newline at end
"%formatted.ISOSpeedRating:ISO *%" -> prefix iso number with "ISO " (ie. "ISO 100")
"Collection <b>*</b>\n" -> display collection name in bold prefixed by "Collection " and a newline is appended
Collection name formatting was slighly improved by not displaying the .gqv extension.
The default overlay info string was modified to use the new syntax, but older info strings should be
displayed as usual.
Laurent Monin [Sat, 10 May 2008 14:22:18 +0000 (14:22 +0000)]
image_osd_get() now returns OsdShowFlags.
Laurent Monin [Sat, 10 May 2008 13:54:25 +0000 (13:54 +0000)]
Display a simple grid with histogram.
Laurent Monin [Sat, 10 May 2008 12:33:52 +0000 (12:33 +0000)]
Initialize to correct value (OSD_SHOW_NOTHING instead of FALSE).
Laurent Monin [Sat, 10 May 2008 09:00:14 +0000 (09:00 +0000)]
Save full OSD state to rc file and restore it on startup.
It allows to restore OSD with or without histogram depending
on previous state.
Laurent Monin [Fri, 9 May 2008 12:43:10 +0000 (12:43 +0000)]
image_osd_info_render(): if there's no fd, just return.
Laurent Monin [Fri, 9 May 2008 12:33:24 +0000 (12:33 +0000)]
Move overlay histogram stuff from ImageWindow to OverlayStateData.
It simplifies things a lot and make more sense.
Note: overlay icons display is broken since a long time it seems.
Laurent Monin [Fri, 9 May 2008 11:15:56 +0000 (11:15 +0000)]
Introduce image_get_osd_data() and image_set_osd_data().
Laurent Monin [Fri, 9 May 2008 09:58:46 +0000 (09:58 +0000)]
image_osd_get() and image_osd_set() now uses flags.
Laurent Monin [Fri, 9 May 2008 09:34:38 +0000 (09:34 +0000)]
image_osd_histogram_chan_toggle(), image_osd_histogram_log_toggle():
reduce indentation level.
Laurent Monin [Fri, 9 May 2008 08:39:18 +0000 (08:39 +0000)]
Preserve last histogram modes.
When a new histogram is displayed, it uses previously chosen
modes.
These modes are saved on exit to rc file as options:
histogram.last_channel_mode
histogram.last_log_mode
Laurent Monin [Fri, 9 May 2008 08:03:25 +0000 (08:03 +0000)]
Update CODING and HACKING files, and add po/README file for translators.
Laurent Monin [Fri, 9 May 2008 07:46:18 +0000 (07:46 +0000)]
Make lirc_cleanup() and lirc_input_callback() static.
Laurent Monin [Fri, 9 May 2008 07:32:30 +0000 (07:32 +0000)]
Use function(void) instead of function() for declaring functions which
do not take any parameters at all.
It respects current Geeqie coding style more.
Laurent Monin [Thu, 8 May 2008 22:59:14 +0000 (22:59 +0000)]
In the search results view, hide dimensions column instead of
displaying an empty one.
When dimensions search criteria is used, it is always displayed.
Laurent Monin [Thu, 8 May 2008 22:49:16 +0000 (22:49 +0000)]
Reset thumbnail column to NULL when hidden.
It fixes bug
1960274.
Laurent Monin [Thu, 8 May 2008 20:21:03 +0000 (20:21 +0000)]
search_status_update(): slightly reduce code redundancy.
Laurent Monin [Thu, 8 May 2008 12:50:25 +0000 (12:50 +0000)]
Use g_ascii_strncasecmp() instead of strncasecmp() where applicable.
Add a FIXME where potential improper usage of strncasecmp() is made.
Laurent Monin [Thu, 8 May 2008 12:38:34 +0000 (12:38 +0000)]
Use g_ascii_strcasecmp() instead of strcasecmp() where ascii-only strings
are used.
Laurent Monin [Wed, 7 May 2008 23:27:26 +0000 (23:27 +0000)]
Replace deprecated functions by their counterparts:
g_strcasecmp() -> g_ascii_strcasecmp()
g_strncasecmp() -> g_ascii_strncasecmp()
gtk_input_remove() -> g_source_remove()
g_io_channel_close() -> g_io_channel_shutdown() + g_io_channel_unref()
All these are deprecated either since 2.2 or 2.4.
Laurent Monin [Wed, 7 May 2008 22:54:33 +0000 (22:54 +0000)]
Resync po files.
French translation was updated.
Laurent Monin [Wed, 7 May 2008 22:48:30 +0000 (22:48 +0000)]
Add a way to invert the current selection.
An item labeled "Invert selection" was added to the Select submenu
in the main menu.
Laurent Monin [Tue, 6 May 2008 23:58:08 +0000 (23:58 +0000)]
Tidy up.
Laurent Monin [Tue, 6 May 2008 23:53:12 +0000 (23:53 +0000)]
French translation was updated.
Laurent Monin [Tue, 6 May 2008 23:52:09 +0000 (23:52 +0000)]
Add trash.c.
Vladimir Nadvornik [Tue, 6 May 2008 21:35:31 +0000 (21:35 +0000)]
moved safe delete functions to separate file
Vladimir Nadvornik [Tue, 6 May 2008 20:24:16 +0000 (20:24 +0000)]
use some of the new functions in filedata.c
Laurent Monin [Tue, 6 May 2008 17:00:55 +0000 (17:00 +0000)]
Allow the user to append or replace comments for a group of selected files.
Two buttons were added to the Keywords panel.
Laurent Monin [Tue, 6 May 2008 12:31:23 +0000 (12:31 +0000)]
Use a dedicated option to enable keywords and comment saving as XMP tags
in image's files.
This new option is named "save_metadata_in_image_file" in configuration file.
User can toggle it through Preferences > Advanced > Miscellaneous > Store keywords and comments as XMP tags in image files.
Description of enable_metadata_dirs was modified as an attempt to improve clarity.
Laurent Monin [Tue, 6 May 2008 12:03:39 +0000 (12:03 +0000)]
comment_xmp_read(), comment_xmp_write(): cleanup and improve readibility.
Laurent Monin [Mon, 5 May 2008 21:27:39 +0000 (21:27 +0000)]
French translation was updated, various fixes.
Laurent Monin [Mon, 5 May 2008 20:56:20 +0000 (20:56 +0000)]
Belarusian translation was updated. Thanks to Pavel Piatruk.
Vladimir Nadvornik [Mon, 5 May 2008 20:51:51 +0000 (20:51 +0000)]
started implementation of API for sidecar files
Laurent Monin [Mon, 5 May 2008 20:51:50 +0000 (20:51 +0000)]
Update POTFILES.in (filelist.c -> filedata.c).
Laurent Monin [Mon, 5 May 2008 20:49:40 +0000 (20:49 +0000)]
Modify regen_potfiles.sh to generate a patch instead of
directly applying changes to POTFILES.in.
Vladimir Nadvornik [Mon, 5 May 2008 19:20:46 +0000 (19:20 +0000)]
added .gqv to known file types
Vladimir Nadvornik [Mon, 5 May 2008 19:11:12 +0000 (19:11 +0000)]
split filelist.c to filefilter.c and filedata.c
Laurent Monin [Mon, 5 May 2008 09:21:01 +0000 (09:21 +0000)]
Revert wrong patch rev 676.
Laurent Monin [Mon, 5 May 2008 09:12:07 +0000 (09:12 +0000)]
Add an helper script to regenerate POTFILES.in file.
POTFILES.in was updated.
French translation was updated.
Laurent Monin [Mon, 5 May 2008 08:32:18 +0000 (08:32 +0000)]
Revert patch 675, and correctly fix gtk assertion failure.
Laurent Monin [Mon, 5 May 2008 08:15:52 +0000 (08:15 +0000)]
Fix two memory leaks.
Laurent Monin [Mon, 5 May 2008 07:46:32 +0000 (07:46 +0000)]
Fix Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
when swapping to/from file icon view.
Laurent Monin [Sun, 4 May 2008 23:57:20 +0000 (23:57 +0000)]
vficon_release_cb(): use switch() and cleanup.
Laurent Monin [Sun, 4 May 2008 23:20:43 +0000 (23:20 +0000)]
Minor tidyup.
Laurent Monin [Sun, 4 May 2008 23:06:46 +0000 (23:06 +0000)]
Drop unused vficon_select_by_path() and vflist_select_by_path().
Laurent Monin [Sun, 4 May 2008 23:03:36 +0000 (23:03 +0000)]
Minor cleanup.
Vladimir Nadvornik [Sun, 4 May 2008 21:54:20 +0000 (21:54 +0000)]
dropped path_list functions, use filelist functions everywhere
Laurent Monin [Sun, 4 May 2008 19:00:39 +0000 (19:00 +0000)]
Remove unused functions:
vflist_set_status_func()
vflist_set_thumb_status_func()
vflist_set_layout()
vficon_set_status_func()
vficon_set_thumb_status_func()
vficon_set_layout()
Laurent Monin [Sun, 4 May 2008 18:45:06 +0000 (18:45 +0000)]
Drop ViewFileIcon, use ViewFile and ViewFileInfoIcon instead.
Laurent Monin [Sun, 4 May 2008 16:16:07 +0000 (16:16 +0000)]
Drop ViewFileList, use ViewFile and ViewFileInfoList instead.
Laurent Monin [Sun, 4 May 2008 11:47:36 +0000 (11:47 +0000)]
Prepare switch to ViewFile (unused yet).
Laurent Monin [Sun, 4 May 2008 00:32:05 +0000 (00:32 +0000)]
Shorten Edit menu labels, dropping "in ". It will ease
translations too, and user can define its own label in Preferences.
Laurent Monin [Sun, 4 May 2008 00:21:14 +0000 (00:21 +0000)]
Do not show Copy, Move, Rename, Delete, New Folder external commands
in the Edit section of contextual menus.
Laurent Monin [Sun, 4 May 2008 00:16:37 +0000 (00:16 +0000)]
Use GQ_EDITOR_GENERIC_SLOTS instead of hardcoded value.
Laurent Monin [Sat, 3 May 2008 20:55:16 +0000 (20:55 +0000)]
exif_get_description_by_key(): check for "formatted." prefix, and optimize.
Laurent Monin [Sat, 3 May 2008 20:49:25 +0000 (20:49 +0000)]
exif_get_formatted_by_key(): skip prefix when comparing.
Laurent Monin [Sat, 3 May 2008 20:40:50 +0000 (20:40 +0000)]
Change the prefix of formatted exif tags to a more explicit "formatted." prefix
instead of the shorter "f".
Warning: custom overlay info string has to be modified since old names are no
more recognized, one can reset it to default through Preferences > Advanced.
Laurent Monin [Sat, 3 May 2008 16:58:17 +0000 (16:58 +0000)]
Fix a bug occuring when using certain actions on a collection
item which is not in the selection.
Triggering it will either result in an assertion failure or a
segfault.
To reproduce:
- open a collection
- right-click on a non-selected image
- select Delete... menu entry (or Copy, Move, Rename, Properties...)
It results in the best case:
** ERROR **: file filelist.c: line 905 (file_data_ref): assertion failed: (fd->magick == 0x12345678)
or a pure segfault due to corrupted data.
collection_table_popup_file_list() has to return a list of filedata *
not a list of gchar *.
Laurent Monin [Sat, 3 May 2008 15:19:35 +0000 (15:19 +0000)]
Move marks-related fields from _ViewFileInfoList to _ViewFile, since
they'll be used for file icon view too.
Laurent Monin [Sat, 3 May 2008 15:17:24 +0000 (15:17 +0000)]
Move common thumbs_* fields from _ViewFileInfoIcon and _ViewFileInfoList
to _ViewFile.
Laurent Monin [Sat, 3 May 2008 15:13:15 +0000 (15:13 +0000)]
Rename thumbs_fd to thumbs_filedata in ViewFileIcon struct to match
the name used in ViewFileList.
Laurent Monin [Sat, 3 May 2008 15:09:21 +0000 (15:09 +0000)]
Remove useless thumbs_list from ViewFileIcon.
Laurent Monin [Sat, 3 May 2008 12:50:52 +0000 (12:50 +0000)]
Add function prototypes (yet unused).
Laurent Monin [Sat, 3 May 2008 12:48:45 +0000 (12:48 +0000)]
Drop redundant vflist_thumbs_set() introduced in revision 649,
modify and use existing vflist_thumb_set().
Laurent Monin [Sat, 3 May 2008 12:21:22 +0000 (12:21 +0000)]
Remove redundant prototype.
Laurent Monin [Sat, 3 May 2008 11:58:41 +0000 (11:58 +0000)]
Introduce ViewFileInfoList and ViewFileInfoIcon (not used yet).
Laurent Monin [Sat, 3 May 2008 11:34:13 +0000 (11:34 +0000)]
Replace Layout icon_view field by more generic file_view_type.
Replace option layout.view_as_icons by layout.file_view_type.
Laurent Monin [Sat, 3 May 2008 10:31:37 +0000 (10:31 +0000)]
Set thumbs_enabled through new function vflist_thumbs_set() instead
of vflist_new().
Laurent Monin [Sat, 3 May 2008 09:41:09 +0000 (09:41 +0000)]
Prepare merging of some parts of view_file_list and view_file_icon and
simplification of view_file* interface.
Laurent Monin [Sat, 3 May 2008 08:35:08 +0000 (08:35 +0000)]
Change default positions of dividers since width of the main menu
was increased.
Laurent Monin [Fri, 2 May 2008 23:11:31 +0000 (23:11 +0000)]
Make exif_rational_to_double() and exif_get_rational_as_double() static.
Laurent Monin [Fri, 2 May 2008 23:08:18 +0000 (23:08 +0000)]
info_notebook_reordered_cb(): do not call info_tabs_sync(), it causes exif
info disappearing when moving the tab.
Laurent Monin [Fri, 2 May 2008 22:59:04 +0000 (22:59 +0000)]
Fix a Pango warning related to UTF8 when displaying internationalized
description in Advanced Exif Properties panel.
Laurent Monin [Fri, 2 May 2008 22:31:24 +0000 (22:31 +0000)]
exif_get_description_by_key(): tidy up.
Laurent Monin [Fri, 2 May 2008 22:28:39 +0000 (22:28 +0000)]
Add a pointer to the build function in the formatted exif tags struct
and use a loop in exif_get_formatted_by_key().
Laurent Monin [Fri, 2 May 2008 21:58:36 +0000 (21:58 +0000)]
Indentation fix.
Laurent Monin [Fri, 2 May 2008 21:34:26 +0000 (21:34 +0000)]
Explode exif_get_formatted_by_key() in smaller functions prefixed "exif_build_f".
An helper macro was added to call them.
Laurent Monin [Fri, 2 May 2008 20:56:59 +0000 (20:56 +0000)]
Remove unused checksum_simple() function.
Laurent Monin [Fri, 2 May 2008 20:40:47 +0000 (20:40 +0000)]
Simplify remove_extension_from_path().
Laurent Monin [Fri, 2 May 2008 20:27:47 +0000 (20:27 +0000)]
remove_level_from_path() was simplified.
Laurent Monin [Fri, 2 May 2008 09:03:52 +0000 (09:03 +0000)]
Move variable declaration and affectation near where it is used.
Laurent Monin [Fri, 2 May 2008 08:41:32 +0000 (08:41 +0000)]
Replace GQView by Geeqie.
Laurent Monin [Thu, 1 May 2008 23:20:26 +0000 (23:20 +0000)]
Use sizeof() instead of hardcoded buffer sizes.
Laurent Monin [Thu, 1 May 2008 22:59:54 +0000 (22:59 +0000)]
cache_sim_write_similarity(): cleanup and simplification.
Laurent Monin [Thu, 1 May 2008 22:31:14 +0000 (22:31 +0000)]
Use secure_save stuff to write .sim files.
Laurent Monin [Thu, 1 May 2008 22:30:16 +0000 (22:30 +0000)]
save_options(): minor code simplification.
Laurent Monin [Thu, 1 May 2008 22:27:44 +0000 (22:27 +0000)]
Add a wrapper to fwrite().
Laurent Monin [Thu, 1 May 2008 21:42:22 +0000 (21:42 +0000)]
Typo fix.
Laurent Monin [Thu, 1 May 2008 18:37:50 +0000 (18:37 +0000)]
Indentation fixes.
Laurent Monin [Thu, 1 May 2008 18:26:30 +0000 (18:26 +0000)]
Simplify and optimize extension_find_dot().
Vladimir Nadvornik [Tue, 29 Apr 2008 22:44:06 +0000 (22:44 +0000)]
fixed a memory leak
Vladimir Nadvornik [Tue, 29 Apr 2008 18:12:49 +0000 (18:12 +0000)]
cleanup: use image_get_image_size
Vladimir Nadvornik [Tue, 29 Apr 2008 17:52:12 +0000 (17:52 +0000)]
fixed connected zoom and scroll that didn't work in some cases
http://sourceforge.net/tracker/index.php?func=detail&aid=
1952429&group_id=222125&atid=
1054680
Petr Ostadal [Sun, 27 Apr 2008 23:31:20 +0000 (23:31 +0000)]
fix warning cast from pointer to integer of different size (when an integer is
passed instead of a pointer to a callback, GINT_TO_POINTER(i) should be used)
Vladimir Nadvornik [Sun, 27 Apr 2008 20:05:11 +0000 (20:05 +0000)]
Added LIRC patch written by Matteo Beniamino
Laurent Monin [Fri, 25 Apr 2008 20:23:21 +0000 (20:23 +0000)]
Fix number of directory views, bug introduced in revision 617.
Vladimir Nadvornik [Fri, 25 Apr 2008 20:08:47 +0000 (20:08 +0000)]
fixed dragging multiple files from file list
http://sourceforge.net/tracker/index.php?func=detail&aid=
1950740&group_id=222125&atid=
1054680
Laurent Monin [Fri, 25 Apr 2008 09:31:32 +0000 (09:31 +0000)]
Add a line about variable and function names.