geeqie.git
16 years agoAdded LIRC patch written by Matteo Beniamino
Vladimir Nadvornik [Sun, 27 Apr 2008 20:05:11 +0000 (20:05 +0000)]
Added LIRC patch written by Matteo Beniamino

16 years agoFix number of directory views, bug introduced in revision 617.
Laurent Monin [Fri, 25 Apr 2008 20:23:21 +0000 (20:23 +0000)]
Fix number of directory views, bug introduced in revision 617.

16 years agofixed dragging multiple files from file list
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

16 years agoAdd a line about variable and function names.
Laurent Monin [Fri, 25 Apr 2008 09:31:32 +0000 (09:31 +0000)]
Add a line about variable and function names.

16 years agoDocument the Geeqie coding style.
Laurent Monin [Fri, 25 Apr 2008 09:28:45 +0000 (09:28 +0000)]
Document the Geeqie coding style.
This is a draft, please improve.

16 years agoHandle the case of reduction of the number of view directory types.
Laurent Monin [Fri, 25 Apr 2008 08:07:22 +0000 (08:07 +0000)]
Handle the case of reduction of the number of view directory types.
Previously it was leading to a segfault.

16 years agoAllow to copy the path of a directory to clipboard from directory views.
Laurent Monin [Thu, 24 Apr 2008 20:29:09 +0000 (20:29 +0000)]
Allow to copy the path of a directory to clipboard from directory views.
Show Copy path option has to be enabled.
Suggested by Frédéric Mantegazza.

16 years agoDo not allow to add anything but directories to sort bar in
Laurent Monin [Thu, 24 Apr 2008 20:18:59 +0000 (20:18 +0000)]
Do not allow to add anything but directories to sort bar in
folder mode through drag'n'drop.
Introduce a new field only_directories to _BookMarkData struct.

16 years agoAdd missing spaces around equal sign.
Laurent Monin [Thu, 24 Apr 2008 16:35:02 +0000 (16:35 +0000)]
Add missing spaces around equal sign.

16 years agoCleanup exif_get_formatted_by_key().
Laurent Monin [Thu, 24 Apr 2008 16:32:20 +0000 (16:32 +0000)]
Cleanup exif_get_formatted_by_key().

16 years agoAdd missing space.
Laurent Monin [Thu, 24 Apr 2008 15:57:58 +0000 (15:57 +0000)]
Add missing space.

16 years ago6 for() vs 201 for (): winner is for ().
Laurent Monin [Thu, 24 Apr 2008 15:53:08 +0000 (15:53 +0000)]
6 for() vs 201 for (): winner is for ().

16 years agoConvert the minority of while() to while ().
Laurent Monin [Thu, 24 Apr 2008 15:49:57 +0000 (15:49 +0000)]
Convert the minority of while() to while ().

16 years agoUse only one secure_fprintf() call instead of two.
Laurent Monin [Thu, 24 Apr 2008 15:44:43 +0000 (15:44 +0000)]
Use only one secure_fprintf() call instead of two.

16 years agoUse sizeof().
Laurent Monin [Thu, 24 Apr 2008 15:31:21 +0000 (15:31 +0000)]
Use sizeof().

16 years agoRemove whitespace between function name and first parenthesis for the sake of consist...
Laurent Monin [Thu, 24 Apr 2008 12:47:09 +0000 (12:47 +0000)]
Remove whitespace between function name and first parenthesis for the sake of consistency. (pass 2)

16 years agoRemove whitespace between function name and first parenthesis for the sake of consist...
Laurent Monin [Thu, 24 Apr 2008 12:23:02 +0000 (12:23 +0000)]
Remove whitespace between function name and first parenthesis for the sake of consistency.

16 years agoIndentation fix.
Laurent Monin [Thu, 24 Apr 2008 11:40:26 +0000 (11:40 +0000)]
Indentation fix.

16 years agoDisplay file_data debug messages only at level 2.
Laurent Monin [Thu, 24 Apr 2008 09:50:37 +0000 (09:50 +0000)]
Display file_data debug messages only at level 2.

16 years agoMove get_exec_time() to debug.{c,h}.
Laurent Monin [Thu, 24 Apr 2008 09:43:23 +0000 (09:43 +0000)]
Move get_exec_time() to debug.{c,h}.

16 years agoMove options stuff to options.{c,h} and remove globals.c
Laurent Monin [Thu, 24 Apr 2008 09:09:48 +0000 (09:09 +0000)]
Move options stuff to options.{c,h} and remove globals.c

16 years agoMove debug macros from main.h to new debug.h.
Laurent Monin [Thu, 24 Apr 2008 08:53:39 +0000 (08:53 +0000)]
Move debug macros from main.h to new debug.h.
Make debug_level static to debug.c and add utility functions
to manipulate it.
Add #include "debug.h" where needed.

16 years agoHandle the newline in DEBUG_N() macro instead of adding one
Laurent Monin [Thu, 24 Apr 2008 00:15:03 +0000 (00:15 +0000)]
Handle the newline in DEBUG_N() macro instead of adding one
in each debug message string.

16 years agoFrench translation was updated.
Laurent Monin [Wed, 23 Apr 2008 23:52:20 +0000 (23:52 +0000)]
French translation was updated.

16 years agoMake image_osd_histogram_onoff_toggle() and image_osd_histogram_onoff_status() static.
Laurent Monin [Wed, 23 Apr 2008 23:51:02 +0000 (23:51 +0000)]
Make image_osd_histogram_onoff_toggle() and image_osd_histogram_onoff_status() static.

16 years agoFix image overlay displayed only on second "I" press in layout view.
Laurent Monin [Wed, 23 Apr 2008 23:47:53 +0000 (23:47 +0000)]
Fix image overlay displayed only on second "I" press in layout view.

16 years agoDisplay file and line along debug messages for any debug level but level 1.
Laurent Monin [Wed, 23 Apr 2008 23:35:13 +0000 (23:35 +0000)]
Display file and line along debug messages for any debug level but level 1.
Add a DEBUG_0() macro for instant debugging.

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.