geeqie.git
16 years agoFix Gtk-CRITICAL **: gtk_entry_set_text: assertion `GTK_IS_ENTRY (entry)' failed
Laurent Monin [Wed, 23 Apr 2008 22:40:55 +0000 (22:40 +0000)]
Fix Gtk-CRITICAL **: gtk_entry_set_text: assertion `GTK_IS_ENTRY (entry)' failed
occuring when toggling file list view <-> file icon view.

16 years agoclear the buffer before loading of an image
Vladimir Nadvornik [Wed, 23 Apr 2008 22:38:34 +0000 (22:38 +0000)]
clear the buffer before loading of an image

16 years agoUse menu_item_add_stock_sensitive() and menu_item_add_sensitive().
Laurent Monin [Wed, 23 Apr 2008 22:33:18 +0000 (22:33 +0000)]
Use menu_item_add_stock_sensitive() and menu_item_add_sensitive().

16 years agoUpdate to contributors list.
Laurent Monin [Wed, 23 Apr 2008 22:22:37 +0000 (22:22 +0000)]
Update to contributors list.

16 years agoAllow the copy of file paths to clipboard.
Laurent Monin [Wed, 23 Apr 2008 22:17:21 +0000 (22:17 +0000)]
Allow the copy of file paths to clipboard.
This feature is disabled by default, it can be set through
Preferences > Advanced > Behavior > Show "Copy path" ...
When enabled, it adds a menu entry "Copy path" that let the
user copies current selection's paths to X clipboard.
It is very convenient to paste paths to xterm for example.
Patch by Carles Pina i Estany and me.

16 years agofixed a bug in opening files with non-utf8 locales in exiv2.cc
Vladimir Nadvornik [Wed, 23 Apr 2008 21:08:29 +0000 (21:08 +0000)]
fixed a bug in opening files with non-utf8 locales in exiv2.cc

16 years agoIntroduce macros to display debug messages.
Laurent Monin [Wed, 23 Apr 2008 20:47:19 +0000 (20:47 +0000)]
Introduce macros to display debug messages.
if (debug) printf(...) is now replaced by variadic macros:
DEBUG_1()
And for higher debugging levels:
DEBUG_2()
DEBUG_3()
DEBUG_4()

16 years agoHonor Control and Shift keys while drag'n'droping files
Laurent Monin [Wed, 23 Apr 2008 13:46:18 +0000 (13:46 +0000)]
Honor Control and Shift keys while drag'n'droping files
to directories.
Before a menu (Copy/Move/Cancel) was always displayed, now
if the user hold Shift key or Control key, the menu
is not shown, but move or copy actions take place.
If no modifier key is used, the menu is displayed as usual.

16 years agoOnly display message if in debug mode.
Laurent Monin [Wed, 23 Apr 2008 13:03:04 +0000 (13:03 +0000)]
Only display message if in debug mode.

16 years agoFix adding a selection to a collection with no window open
Laurent Monin [Wed, 23 Apr 2008 09:56:21 +0000 (09:56 +0000)]
Fix adding a selection to a collection with no window open
using the sort manager. Only one file was added, now all
files in the selection are added (but duplicates).
A pointer was not reset correctly.

16 years agoSave sort manager state to rc file.
Laurent Monin [Tue, 22 Apr 2008 23:53:24 +0000 (23:53 +0000)]
Save sort manager state to rc file.

16 years agoRemove unused function bar_info_size_request().
Laurent Monin [Tue, 22 Apr 2008 22:45:51 +0000 (22:45 +0000)]
Remove unused function bar_info_size_request().

16 years agoSave state and width of exif, info and sort panels to rc file.
Laurent Monin [Tue, 22 Apr 2008 22:44:10 +0000 (22:44 +0000)]
Save state and width of exif, info and sort panels to rc file.
Width is restored only if save windows dimensions is set.

16 years agoupdated ChangeLog from svn log
Vladimir Nadvornik [Tue, 22 Apr 2008 19:26:07 +0000 (19:26 +0000)]
updated ChangeLog from svn log

16 years agofixed version string ;)
Vladimir Nadvornik [Tue, 22 Apr 2008 18:06:38 +0000 (18:06 +0000)]
fixed version string ;)

16 years agoupdated version number
Vladimir Nadvornik [Tue, 22 Apr 2008 17:45:08 +0000 (17:45 +0000)]
updated version number

16 years agofixed reading of signed rational type with Exiv2
Vladimir Nadvornik [Tue, 22 Apr 2008 17:40:29 +0000 (17:40 +0000)]
fixed reading of signed rational type with Exiv2

16 years agofixed instalation of doc files
Vladimir Nadvornik [Tue, 22 Apr 2008 09:57:26 +0000 (09:57 +0000)]
fixed instalation of doc files

16 years agoCorrectly escape data before using pango_layout_set_markup().
Laurent Monin [Tue, 22 Apr 2008 09:40:05 +0000 (09:40 +0000)]
Correctly escape data before using pango_layout_set_markup().
Exif data may contain characters like & or < >.

16 years agoUse image_osd_toggle() in layout_menu_overlay_cb().
Laurent Monin [Tue, 22 Apr 2008 09:01:29 +0000 (09:01 +0000)]
Use image_osd_toggle() in layout_menu_overlay_cb().
Drop layout_image_overlay_update().

16 years agoMerge view_overlay_toggle() and layout_image_overlay_toggle() into new image_osd_togg...
Laurent Monin [Tue, 22 Apr 2008 08:53:07 +0000 (08:53 +0000)]
Merge view_overlay_toggle() and layout_image_overlay_toggle() into new image_osd_toggle().

16 years agoMake histogram depends on image window not layout window.
Laurent Monin [Tue, 22 Apr 2008 08:34:30 +0000 (08:34 +0000)]
Make histogram depends on image window not layout window.
It simplifies the code, and make more sense.

16 years agoEnsure Properties dialog is displayed above fullscreen window.
Laurent Monin [Tue, 22 Apr 2008 08:16:02 +0000 (08:16 +0000)]
Ensure Properties dialog is displayed above fullscreen window.
Add a parameter to info_window_new() to pass parent window and
revert patch 472.

16 years agoIndicate bugs and feature requests trackers, remove obsolete stuff.
Laurent Monin [Mon, 21 Apr 2008 22:19:32 +0000 (22:19 +0000)]
Indicate bugs and feature requests trackers, remove obsolete stuff.

16 years agoLowercased name.
Laurent Monin [Mon, 21 Apr 2008 22:15:56 +0000 (22:15 +0000)]
Lowercased name.

16 years ago. -> dot
Laurent Monin [Mon, 21 Apr 2008 22:14:57 +0000 (22:14 +0000)]
. -> dot

16 years agoupdated copyright in source files
Vladimir Nadvornik [Mon, 21 Apr 2008 21:46:38 +0000 (21:46 +0000)]
updated copyright in source files

16 years agoProperly initialize image_overlay options.
Laurent Monin [Mon, 21 Apr 2008 20:45:35 +0000 (20:45 +0000)]
Properly initialize image_overlay options.

16 years agoFew more fixes to french translation.
Laurent Monin [Mon, 21 Apr 2008 20:42:18 +0000 (20:42 +0000)]
Few more fixes to french translation.

16 years agoAdd some macros to handle rc file compatibility issues related to
Laurent Monin [Mon, 21 Apr 2008 20:39:36 +0000 (20:39 +0000)]
Add some macros to handle rc file compatibility issues related to
option name changes.

16 years agoMinor french translation fix.
Laurent Monin [Mon, 21 Apr 2008 20:27:39 +0000 (20:27 +0000)]
Minor french translation fix.

16 years agoFrench translation was updated.
Laurent Monin [Mon, 21 Apr 2008 20:24:15 +0000 (20:24 +0000)]
French translation was updated.

16 years agoRename few functions and replace fullscreen info with image overlay template string.
Laurent Monin [Mon, 21 Apr 2008 20:12:49 +0000 (20:12 +0000)]
Rename few functions and replace fullscreen info with image overlay template string.
fullscreen_info_default_cb() -> image_overlay_default_template_cb()
fullscreen_info_default_ok_cb() -> image_overlay_default_template_ok_cb()
set_default_fullscreen_info() -> set_default_image_overlay_template_string() (moved to image-overlay.h)

16 years agoReplace fullscreen.info and fullscreen.show_info options by:
Laurent Monin [Mon, 21 Apr 2008 20:01:22 +0000 (20:01 +0000)]
Replace fullscreen.info and fullscreen.show_info options by:
image_overlay.common.enabled => to save last state to rc file
image_overlay.common.show_at_startup => overrides .common.enabled at startup
image_overlay.common.template_string => replace fullscreen.info

common is used since for now there is only one image overlay setup,
later specific setups may be added.

16 years agofixed another "gqview" occurence
Vladimir Nadvornik [Mon, 21 Apr 2008 19:42:58 +0000 (19:42 +0000)]
fixed another "gqview" occurence

16 years agoupdated NEWS, README and other documentation files
Vladimir Nadvornik [Mon, 21 Apr 2008 19:10:41 +0000 (19:10 +0000)]
updated NEWS, README and other documentation files

16 years agorenamed no.po to nb.po
Vladimir Nadvornik [Mon, 21 Apr 2008 18:09:30 +0000 (18:09 +0000)]
renamed no.po to nb.po

16 years agoFix a segfault occuring when pressing 'i' for overlay info
Laurent Monin [Mon, 21 Apr 2008 15:30:16 +0000 (15:30 +0000)]
Fix a segfault occuring when pressing 'i' for overlay info
in a separate image window (no layout).

16 years agohistogram_draw(): tidy up.
Laurent Monin [Mon, 21 Apr 2008 14:19:48 +0000 (14:19 +0000)]
histogram_draw(): tidy up.

16 years agohistogram_read(): speed up calculations by 20%.
Laurent Monin [Mon, 21 Apr 2008 13:39:17 +0000 (13:39 +0000)]
histogram_read(): speed up calculations by 20%.

16 years agohistogram_read(): use memset() to initialize histogram data instead of for() loop.
Laurent Monin [Mon, 21 Apr 2008 11:44:03 +0000 (11:44 +0000)]
histogram_read(): use memset() to initialize histogram data instead of for() loop.

16 years agoFrench translation was updated.
Laurent Monin [Mon, 21 Apr 2008 10:11:55 +0000 (10:11 +0000)]
French translation was updated.

16 years agoAdd compat.c to POTFILES
Laurent Monin [Mon, 21 Apr 2008 10:10:23 +0000 (10:10 +0000)]
Add compat.c to POTFILES

16 years agoAllow the user to set the drag'n drop icon size through
Laurent Monin [Mon, 21 Apr 2008 10:09:01 +0000 (10:09 +0000)]
Allow the user to set the drag'n drop icon size through
Preferences > Advanced > Behavior > Drag'n drop icon size.
It is saved to rc file as dnd_icon_size.

16 years agoAdd a replacement for gtk_radio_action_set_current_value() which
Laurent Monin [Sun, 20 Apr 2008 23:17:35 +0000 (23:17 +0000)]
Add a replacement for gtk_radio_action_set_current_value() which
require GTK+ >= 2.10.
Two new files were added, compat.h and compat.c.

16 years agoFrench translation was updated.
Laurent Monin [Sun, 20 Apr 2008 22:51:53 +0000 (22:51 +0000)]
French translation was updated.

16 years agoAdd number mnemonics to image view editors submenu.
Laurent Monin [Sun, 20 Apr 2008 22:45:00 +0000 (22:45 +0000)]
Add number mnemonics to image view editors submenu.

16 years agoPrefix editor entries in the main menu with numbers.
Laurent Monin [Sun, 20 Apr 2008 22:29:23 +0000 (22:29 +0000)]
Prefix editor entries in the main menu with numbers.
It allows Alt+E+number as shortcut to start an editor.

16 years agoAdd missing shortcuts.
Laurent Monin [Sun, 20 Apr 2008 22:14:54 +0000 (22:14 +0000)]
Add missing shortcuts.

16 years agofixed color profile code for older versions of exiv2
Vladimir Nadvornik [Sun, 20 Apr 2008 22:14:38 +0000 (22:14 +0000)]
fixed color profile code for older versions of exiv2
compilation fixes

16 years agoMark slideshow toggle state in the menu.
Laurent Monin [Sun, 20 Apr 2008 22:01:26 +0000 (22:01 +0000)]
Mark slideshow toggle state in the menu.
There is still an issue due to layout vs view slideshows...

16 years agoFix a typo introduced by revision 521.
Laurent Monin [Sun, 20 Apr 2008 21:38:45 +0000 (21:38 +0000)]
Fix a typo introduced by revision 521.

16 years agoread color profiles from jpeg also with Exiv2
Vladimir Nadvornik [Sun, 20 Apr 2008 21:35:03 +0000 (21:35 +0000)]
read color profiles from jpeg also with Exiv2

16 years agoUse explicit names for mouse buttons instead of numbers.
Laurent Monin [Sun, 20 Apr 2008 21:30:36 +0000 (21:30 +0000)]
Use explicit names for mouse buttons instead of numbers.
MOUSE_BUTTON_LEFT   = 1
MOUSE_BUTTON_MIDDLE = 2
MOUSE_BUTTON_RIGHT  = 3
It makes the code easier to read.

16 years agoFix a typo: unoffical -> unofficial
Laurent Monin [Sun, 20 Apr 2008 20:35:26 +0000 (20:35 +0000)]
Fix a typo: unoffical -> unofficial

16 years agoEffectively drop empty newlines at end of files (missing from rev 535)
Laurent Monin [Sun, 20 Apr 2008 18:07:51 +0000 (18:07 +0000)]
Effectively drop empty newlines at end of files (missing from rev 535)

16 years agocomment_file_read(): rewrite the parser, drop leading and trailing newlines
Laurent Monin [Sun, 20 Apr 2008 16:50:19 +0000 (16:50 +0000)]
comment_file_read(): rewrite the parser, drop leading and trailing newlines
in comment.

16 years agoMinor cleanup and code redundancy reduction.
Laurent Monin [Sun, 20 Apr 2008 13:42:22 +0000 (13:42 +0000)]
Minor cleanup and code redundancy reduction.

16 years agoeditor_command_one(): tidy up.
Laurent Monin [Sun, 20 Apr 2008 13:30:36 +0000 (13:30 +0000)]
editor_command_one(): tidy up.

16 years agoBig whitespaces cleanup:
Laurent Monin [Sun, 20 Apr 2008 13:04:57 +0000 (13:04 +0000)]
Big whitespaces cleanup:
- drop whitespaces at end of lines
- convert eight spaces to tab at start of lines
- drop spurious spaces mixed with tabs
- remove empty lines at end of files

16 years agoAllow the user to change open_recent_list_maxsize option through
Laurent Monin [Sun, 20 Apr 2008 10:05:27 +0000 (10:05 +0000)]
Allow the user to change open_recent_list_maxsize option through
Preferences > Advanced > Navigation.

16 years agorm as external delete command is too dangerous, even for testing
Vladimir Nadvornik [Sun, 20 Apr 2008 09:53:37 +0000 (09:53 +0000)]
rm as external delete command is too dangerous, even for testing

16 years agoAdd a way to restore original state in Adjust menu.
Laurent Monin [Sun, 20 Apr 2008 09:47:51 +0000 (09:47 +0000)]
Add a way to restore original state in Adjust menu.

16 years agoadded fColorProfile pseudo-tag with detailed information
Vladimir Nadvornik [Sun, 20 Apr 2008 09:29:46 +0000 (09:29 +0000)]
added fColorProfile pseudo-tag with detailed information

16 years agoFix the case "orientation from FileData, color profile from exif".
Laurent Monin [Sun, 20 Apr 2008 09:02:05 +0000 (09:02 +0000)]
Fix the case "orientation from FileData, color profile from exif".
Reported by Vladimir Nadvornik.

16 years agoRename inappropriate folder_size to folder.
Laurent Monin [Sat, 19 Apr 2008 23:12:30 +0000 (23:12 +0000)]
Rename inappropriate folder_size to folder.

16 years agoUse sizeof() for buffer size where appropriate.
Laurent Monin [Sat, 19 Apr 2008 22:32:07 +0000 (22:32 +0000)]
Use sizeof() for buffer size where appropriate.

16 years agoKeep image orientation set by the user during the session.
Laurent Monin [Sat, 19 Apr 2008 21:50:05 +0000 (21:50 +0000)]
Keep image orientation set by the user during the session.

16 years agoSave Show Marks state to rc file and display current state in menu.
Laurent Monin [Sat, 19 Apr 2008 21:30:19 +0000 (21:30 +0000)]
Save Show Marks state to rc file and display current state in menu.
It is saved as boolean option layout.show_marks.

16 years agofixed max. number of profiles
Vladimir Nadvornik [Sat, 19 Apr 2008 21:20:08 +0000 (21:20 +0000)]
fixed max. number of profiles

16 years agoSort options.
Laurent Monin [Sat, 19 Apr 2008 21:18:24 +0000 (21:18 +0000)]
Sort options.

16 years agofixed color profile index
Vladimir Nadvornik [Sat, 19 Apr 2008 21:10:18 +0000 (21:10 +0000)]
fixed color profile index

16 years agoLet toggle marks with numeric keypad.
Laurent Monin [Sat, 19 Apr 2008 20:53:12 +0000 (20:53 +0000)]
Let toggle marks with numeric keypad.

16 years agoI have finally found how to add alternative hotkeys
Vladimir Nadvornik [Sat, 19 Apr 2008 20:19:27 +0000 (20:19 +0000)]
I have finally found how to add alternative hotkeys
removed more hard-coded keys
"Split Quad" is without hotkey for now

16 years agoAccept keywords composed by two words ("Todo" = "A faire" in french).
Laurent Monin [Sat, 19 Apr 2008 19:28:10 +0000 (19:28 +0000)]
Accept keywords composed by two words ("Todo" = "A faire" in french).
Prevent duplicate keywords in the list.

16 years agoshow the AdobeRGB profile in the menu, indicate input profile from image
Vladimir Nadvornik [Sat, 19 Apr 2008 17:55:41 +0000 (17:55 +0000)]
show the AdobeRGB profile in the menu, indicate input profile from image

16 years agofile_dat_unref: display number of references as well of path (debug only).
Laurent Monin [Sat, 19 Apr 2008 17:14:03 +0000 (17:14 +0000)]
file_dat_unref: display number of references as well of path (debug only).

16 years agofirst support for AdobeRGB colorspace
Vladimir Nadvornik [Sat, 19 Apr 2008 16:26:29 +0000 (16:26 +0000)]
first support for AdobeRGB colorspace

16 years agoFrench translation fixes.
Laurent Monin [Sat, 19 Apr 2008 16:10:08 +0000 (16:10 +0000)]
French translation fixes.

16 years agoFrench translation fixes and updates.
Laurent Monin [Sat, 19 Apr 2008 13:40:20 +0000 (13:40 +0000)]
French translation fixes and updates.

16 years agoAdd missing _().
Laurent Monin [Sat, 19 Apr 2008 13:39:21 +0000 (13:39 +0000)]
Add missing _().

16 years agoAdd the possibility to update only one translation file using,
Laurent Monin [Sat, 19 Apr 2008 12:46:59 +0000 (12:46 +0000)]
Add the possibility to update only one translation file using,
for example: make update-po PO=fr
autogen.sh applies a patch made against glib-gettextize generated Makefile.in.in

16 years agoCleanup last patch:
Laurent Monin [Sat, 19 Apr 2008 11:11:53 +0000 (11:11 +0000)]
Cleanup last patch:
- drop vd_pop_menu_dir_view_as_cb() since it is now unused.
- use G_N_ELEMENTS()

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.