Petr Ostadal [Mon, 19 May 2008 01:15:17 +0000 (01:15 +0000)]
configure.in was rewritten:
- uses PKG_CHECK_MODULES everywhere
- added --enable-debug (enable debugging support)
- added --enable-developer (developer mode, checks depreceated code ...)
- removed obsoleted INCLUDES from Makefile.am
Fixed src/debug.h (added glib.h).
Fixed src/exiv2.c compilation with libexiv2 v0.15.
Added src/trash.h to src/Makefile.am (fixed generating 'make dist').
Petr Ostadal [Mon, 19 May 2008 00:54:59 +0000 (00:54 +0000)]
Updated CODING (GPL header, macros, svn change-log, ...).
Laurent Monin [Sun, 18 May 2008 21:14:01 +0000 (21:14 +0000)]
Save order of Properties dialog tabs to rc file.
Users of GTK+ <2.10 can set tabs order directly in the rc file,
others can move tabs using drag'n drop.
The option is named properties.tabs_order, its default value
is "123" which is General, Keywords, Exif tabs (left to right).
Laurent Monin [Sun, 18 May 2008 12:56:18 +0000 (12:56 +0000)]
Cleanup and code redundancy reduction.
Laurent Monin [Sun, 18 May 2008 11:39:58 +0000 (11:39 +0000)]
Memorize text to display in the log window when the window is
not yet created. On log window display, the memorized text
is then recalled and displayed.
Laurent Monin [Sun, 18 May 2008 07:36:57 +0000 (07:36 +0000)]
Do not create log window more than once.
Laurent Monin [Sat, 17 May 2008 22:37:04 +0000 (22:37 +0000)]
Fix formatted.SubjectDistance appearing twice in exif bar configuration.
Laurent Monin [Sat, 17 May 2008 21:28:02 +0000 (21:28 +0000)]
Update POTFILES.in.
Laurent Monin [Sat, 17 May 2008 21:26:45 +0000 (21:26 +0000)]
Add a log window that shows normal and debug messages. For now, it was added to Help menu.
Vladimir Nadvornik [Fri, 16 May 2008 20:12:11 +0000 (20:12 +0000)]
fixed exiv2 version test
Vladimir Nadvornik [Fri, 16 May 2008 20:09:32 +0000 (20:09 +0000)]
get processed values from exiv2
http://sourceforge.net/tracker/index.php?func=detail&aid=
1962444&group_id=222125&atid=
1054680
Laurent Monin [Fri, 16 May 2008 14:59:45 +0000 (14:59 +0000)]
Fix redundant application name in window titles.
It simplifies code.
Laurent Monin [Fri, 16 May 2008 14:38:05 +0000 (14:38 +0000)]
French translation was updated.
Laurent Monin [Fri, 16 May 2008 12:16:49 +0000 (12:16 +0000)]
Do not use printf() directly but use new wrapper function log_printf() instead.
Laurent Monin [Fri, 16 May 2008 12:08:51 +0000 (12:08 +0000)]
Drop include "debug.h".
Laurent Monin [Fri, 16 May 2008 10:02:56 +0000 (10:02 +0000)]
Include debug.h from main.h since debug macros may be used anywhere in the code.
Laurent Monin [Fri, 16 May 2008 09:10:56 +0000 (09:10 +0000)]
Improve editor commands error display:
- display all errors (not only syntax errors)
- display errors from Preferences (checks are made on Apply or OK)
Laurent Monin [Fri, 16 May 2008 08:37:07 +0000 (08:37 +0000)]
Improve editors a bit:
- allow whitespaces before and after %v, %V, %w
- allow % escaping using %% (mandatory to use shell commands than contain % characters)
- display a dialog on execution if a syntax error is detected (only for generic editors)
- update README editors section
Laurent Monin [Wed, 14 May 2008 18:12:11 +0000 (18:12 +0000)]
The Encoding key is now deprecated by the FreeDesktop standard and all
strings are required to be encoded in UTF-8. This desktop entry
explicitly specifies an Encoding of UTF-8, which is harmless but no longer
necessary.
See http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html
Patch #
1963689.
Laurent Monin [Wed, 14 May 2008 18:09:05 +0000 (18:09 +0000)]
Patch #
1963690 was applied.
It fixes hyphens/minus confusion in the man page.
Laurent Monin [Wed, 14 May 2008 17:00:25 +0000 (17:00 +0000)]
Simplify thumb_std_maint_moved(), since g_list_append knows
how to append to a NULL list. Patch by Uwe Ohse.
Laurent Monin [Wed, 14 May 2008 16:52:55 +0000 (16:52 +0000)]
Simplify collect_manager_add_action(), since g_list_append knows
how to append to a NULL list. Patch by Uwe Ohse.
Laurent Monin [Wed, 14 May 2008 12:59:00 +0000 (12:59 +0000)]
Merge vflist_row_by_path() into vflist_index_by_path().
Laurent Monin [Wed, 14 May 2008 10:40:43 +0000 (10:40 +0000)]
Fix some typos. Thanks to Michal \u010ciha\u0159 and James R. Van Zandt.
Patch #
1963691.
Laurent Monin [Wed, 14 May 2008 08:56:08 +0000 (08:56 +0000)]
Make vf_pop_menu_*_cb static.
Laurent Monin [Tue, 13 May 2008 20:31:35 +0000 (20:31 +0000)]
French translation fixes.
Laurent Monin [Tue, 13 May 2008 20:21:00 +0000 (20:21 +0000)]
Resync POTFILES.in and *.po, update french translation and
regenerate statistics in README.
Laurent Monin [Tue, 13 May 2008 20:13:44 +0000 (20:13 +0000)]
Merge vflist_pop_menu() and vficon_pop_menu() into vf_pop_menu().
Laurent Monin [Tue, 13 May 2008 19:56:52 +0000 (19:56 +0000)]
Move VFICON_INFO() and VFLIST_INFO() macros to view_file.h
Laurent Monin [Tue, 13 May 2008 19:54:13 +0000 (19:54 +0000)]
vficon_pop_menu(): drop "gint active" parameter, use stored click_id instead.
Laurent Monin [Tue, 13 May 2008 19:51:22 +0000 (19:51 +0000)]
vflist_pop_menu(): drop FileData * parameter, use stored click_fd instead.
Laurent Monin [Tue, 13 May 2008 19:45:04 +0000 (19:45 +0000)]
Fix last patch, only set vf->clicked_mark for a valid mark.
Laurent Monin [Tue, 13 May 2008 19:32:25 +0000 (19:32 +0000)]
Get rid of vflist_pop_menu() col_idx parameter, use new Viewfile field
named clicked_mark.
Marks numbering is now consistent with menus (starting at 1, 0 is an
invalid mark), assertions were modified accordingly.
Laurent Monin [Tue, 13 May 2008 16:09:43 +0000 (16:09 +0000)]
Expand tilde with file: and view: remote parameters.
Now these are working:
geeqie -r file:~/dir
geeqie -r view:~user/file
Laurent Monin [Tue, 13 May 2008 14:49:38 +0000 (14:49 +0000)]
Display a message when invalid remote options are used.
Laurent Monin [Tue, 13 May 2008 14:35:51 +0000 (14:35 +0000)]
Comparing tag id is not sufficient, check the tag name too.
Laurent Monin [Tue, 13 May 2008 11:58:47 +0000 (11:58 +0000)]
Keywords and comment can now be displayed in OSD info using %keywords% and %comment%.
Laurent Monin [Tue, 13 May 2008 08:53:26 +0000 (08:53 +0000)]
Move all remote stuff from main.c to remote.[ch].
Laurent Monin [Tue, 13 May 2008 08:02:46 +0000 (08:02 +0000)]
Move some functions from main.[ch] to new window.[ch].
Laurent Monin [Tue, 13 May 2008 07:34:37 +0000 (07:34 +0000)]
Ensure that we end with UTF8 encoded comment and keywords.
Laurent Monin [Mon, 12 May 2008 23:26:00 +0000 (23:26 +0000)]
Reading of Iptc.Application2.Keywords should now be fixed.
Use uft8_validate_or_convert() on exif's text data to be safe.
Laurent Monin [Mon, 12 May 2008 23:21:35 +0000 (23:21 +0000)]
Rename bar_exif_validate_text() to utf8_validate_or_convert() and move it to main.[ch].
Laurent Monin [Mon, 12 May 2008 23:00:04 +0000 (23:00 +0000)]
bar_exif_validate_text(): use computed length and cleanup.
Laurent Monin [Mon, 12 May 2008 19:56:28 +0000 (19:56 +0000)]
Disable non-working Iptc.Application2.Keywords reading introduced in revision 736.
Laurent Monin [Mon, 12 May 2008 17:10:40 +0000 (17:10 +0000)]
Extract and append keywords from Iptc.Application2.Keywords tags.
A function was added to make the keywords unique in the list.
Note: Iptc.Application2.Keywords is only read, not written.
Laurent Monin [Mon, 12 May 2008 10:46:23 +0000 (10:46 +0000)]
When an option was successfully read, just continue to next line.
Laurent Monin [Mon, 12 May 2008 10:37:37 +0000 (10:37 +0000)]
Minor formatting fix in rc file header.
Laurent Monin [Mon, 12 May 2008 08:52:17 +0000 (08:52 +0000)]
Rework read_*_option():
- read_u?int_option() now interpret a value of "true" as 1
- read_bool_option() now interpret any value different from 0 as true.
- make functions return TRUE on successful read, FALSE else
Theses changes will help to maintain compatibility when options are modified.
Laurent Monin [Mon, 12 May 2008 08:11:27 +0000 (08:11 +0000)]
Rename option image_overlay.common.enabled to image_overlay.common.state
since it is not a boolean anymore.
Laurent Monin [Mon, 12 May 2008 00:22:38 +0000 (00:22 +0000)]
Add some wrapper functions for not yet common code.
Laurent Monin [Sun, 11 May 2008 23:56:40 +0000 (23:56 +0000)]
Make vf_pop_menu_toggle_view_type_cb() independent of FILEVIEW_LIST/FILEVIEW_ICON real values.
Laurent Monin [Sun, 11 May 2008 23:47:59 +0000 (23:47 +0000)]
Move a part of pop up menu common code to view_file.[ch].
Laurent Monin [Sun, 11 May 2008 23:09:39 +0000 (23:09 +0000)]
Introduce vf_pop_menu_file_list() as a wrapper to
vflist_pop_menu_file_list() and vficon_pop_menu_file_list().
Laurent Monin [Sun, 11 May 2008 21:11:54 +0000 (21:11 +0000)]
Use vf_* functions where possible.
Laurent Monin [Sun, 11 May 2008 20:38:21 +0000 (20:38 +0000)]
Drop unused layout_list_get_path() and vf*_index_get_path().
Laurent Monin [Sun, 11 May 2008 13:17:38 +0000 (13:17 +0000)]
French translation was updated.
Laurent Monin [Sun, 11 May 2008 13:14:58 +0000 (13:14 +0000)]
An option to save and restore the last path used was added.
This option appears as startup.use_last_path in rc file.
Preferences > General > Startup was modified accordingly.
Laurent Monin [Sun, 11 May 2008 12:23:26 +0000 (12:23 +0000)]
Rename options:
startup_path_enable -> startup.restore_path
startup_path -> startup.path
Geeqie is still able to read old options.
Laurent Monin [Sun, 11 May 2008 11:46:48 +0000 (11:46 +0000)]
Fix help window title.
Laurent Monin [Sun, 11 May 2008 11:44:58 +0000 (11:44 +0000)]
Use computed string length.
Laurent Monin [Sun, 11 May 2008 11:41:32 +0000 (11:41 +0000)]
Slightly increase help window's default width.
Laurent Monin [Sun, 11 May 2008 11:30:41 +0000 (11:30 +0000)]
Add an help button to OSD info configuration in Preferences dialog.
Make its own section named "Overlay Screen Display".
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