geeqie.git
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.

16 years agoAdd some wrappers in view_dir.c and simplify even more.
Laurent Monin [Thu, 17 Apr 2008 20:03:49 +0000 (20:03 +0000)]
Add some wrappers in view_dir.c and simplify even more.

16 years agoFix a bug introduced in revision 489.
Laurent Monin [Thu, 17 Apr 2008 19:57:41 +0000 (19:57 +0000)]
Fix a bug introduced in revision 489.

16 years agoReduce code redundancy with the introduction of a new
Laurent Monin [Thu, 17 Apr 2008 18:44:17 +0000 (18:44 +0000)]
Reduce code redundancy with the introduction of a new
function named vd_get_fd_from_tree_path().

16 years agoimage post-processing (rotation and color management) moved to
Vladimir Nadvornik [Thu, 17 Apr 2008 17:44:54 +0000 (17:44 +0000)]
image post-processing (rotation and color management) moved to
pixbuf-renderer

16 years agoMerge vd(list|tree)_release_cb() in vd_release_cb().
Laurent Monin [Thu, 17 Apr 2008 17:35:51 +0000 (17:35 +0000)]
Merge vd(list|tree)_release_cb() in vd_release_cb().
I made some assumptions here i hope correct.

16 years agoMerge few more functions to view_dir.c.
Laurent Monin [Thu, 17 Apr 2008 17:19:41 +0000 (17:19 +0000)]
Merge few more functions to view_dir.c.

16 years agoMove common menu position callback to view_dir.c.
Laurent Monin [Thu, 17 Apr 2008 16:33:31 +0000 (16:33 +0000)]
Move common menu position callback to view_dir.c.

16 years agoMerge dirlist/dirview dnd code.
Laurent Monin [Thu, 17 Apr 2008 14:51:32 +0000 (14:51 +0000)]
Merge dirlist/dirview dnd code.

16 years agoRegenerate translations files and update french translation.
Laurent Monin [Wed, 16 Apr 2008 22:51:32 +0000 (22:51 +0000)]
Regenerate translations files and update french translation.

16 years agoFix new folder feature in dirlist mode, it was broken by revision 481.
Laurent Monin [Wed, 16 Apr 2008 22:31:52 +0000 (22:31 +0000)]
Fix new folder feature in dirlist mode, it was broken by revision 481.

16 years agoFix a crash introduced in revision 477.
Laurent Monin [Wed, 16 Apr 2008 22:23:43 +0000 (22:23 +0000)]
Fix a crash introduced in revision 477.

16 years agoFix two errors made in revision 473.
Laurent Monin [Wed, 16 Apr 2008 22:21:01 +0000 (22:21 +0000)]
Fix two errors made in revision 473.

16 years agoMerge few more vdlist/vdtree functions.
Laurent Monin [Wed, 16 Apr 2008 21:58:05 +0000 (21:58 +0000)]
Merge few more vdlist/vdtree functions.

16 years agoMake directory view popup menu common and move it to view_dir.{c,h}.
Laurent Monin [Wed, 16 Apr 2008 20:36:10 +0000 (20:36 +0000)]
Make directory view popup menu common and move it to view_dir.{c,h}.

16 years agofixed compiler warnings
Vladimir Nadvornik [Wed, 16 Apr 2008 20:32:44 +0000 (20:32 +0000)]
fixed compiler warnings

16 years agoin debug mode print time information on selected events
Vladimir Nadvornik [Wed, 16 Apr 2008 20:15:42 +0000 (20:15 +0000)]
in debug mode print time information on selected events

16 years agoClean up and simplify.
Laurent Monin [Wed, 16 Apr 2008 18:57:50 +0000 (18:57 +0000)]
Clean up and simplify.

16 years agoMerge parts of view_dir_list/tree constructors/destructors to
Laurent Monin [Wed, 16 Apr 2008 16:54:38 +0000 (16:54 +0000)]
Merge parts of view_dir_list/tree constructors/destructors to
view_dir.

16 years agoMove some dnd common code from view_dir_list.c and view_dir_tree.c
Laurent Monin [Wed, 16 Apr 2008 16:05:12 +0000 (16:05 +0000)]
Move some dnd common code from view_dir_list.c and view_dir_tree.c
to view_dir.c.

16 years agoRename vdt occurences to vd.
Laurent Monin [Wed, 16 Apr 2008 14:56:31 +0000 (14:56 +0000)]
Rename vdt occurences to vd.

16 years agoRename vdl occurences to vd.
Laurent Monin [Wed, 16 Apr 2008 14:51:39 +0000 (14:51 +0000)]
Rename vdl occurences to vd.

16 years agoIntroduce a new struct ViewDir to handle directory views common
Laurent Monin [Wed, 16 Apr 2008 14:45:22 +0000 (14:45 +0000)]
Introduce a new struct ViewDir to handle directory views common
data.
Specific data is now in ViewDirInfoList and ViewDirInfoTree.
Type of directory view can be specified with enum DirViewType.
This is saved to rc file as layout.dir_view_type, which replace
layout.view_as_tree.
Code was modified to reflect these changes.
This is a first to move to merge common code of view_dir_list.c
and view_dir_tree.c and ease the introduction of new types
of directory view.

16 years agoIndicate --debug[=level] in usage display.
Laurent Monin [Tue, 15 Apr 2008 21:49:28 +0000 (21:49 +0000)]
Indicate --debug[=level] in usage display.

16 years agoParse command line for --debug option as soon as possible and allow
Laurent Monin [Tue, 15 Apr 2008 21:47:03 +0000 (21:47 +0000)]
Parse command line for --debug option as soon as possible and allow
--debug[=level] syntax.
Only display message indication debug level once.

16 years agoCleanup read/write of image.zoom_mode option.
Laurent Monin [Tue, 15 Apr 2008 21:06:00 +0000 (21:06 +0000)]
Cleanup read/write of image.zoom_mode option.

16 years agoRead show_icon_names only once.
Laurent Monin [Tue, 15 Apr 2008 20:56:55 +0000 (20:56 +0000)]
Read show_icon_names only once.

16 years agoRename l_conf to layout_order and make it more local.
Laurent Monin [Tue, 15 Apr 2008 20:55:21 +0000 (20:55 +0000)]
Rename l_conf to layout_order and make it more local.

16 years agoFix a bug that was here since a long time, buf has nothing
Laurent Monin [Tue, 15 Apr 2008 20:46:14 +0000 (20:46 +0000)]
Fix a bug that was here since a long time, buf has nothing
to do with options->layout.order, so compare it to l_conf instead.
It fixes refreshing of files and directories lists when changing
filtering options.

16 years agoAdd a new option in Preferences > Filtering to allow the
Laurent Monin [Tue, 15 Apr 2008 20:36:11 +0000 (20:36 +0000)]
Add a new option in Preferences > Filtering to allow the
user to choose to display '.' directory in folder lists or not.
This option is saved to rc file as file_filter.show_dot_directory.
A minor fix was made to disable display of .. in folder selection
dialogs when current path is /.

16 years agoAdd and use few new macros in rc file writing code.
Laurent Monin [Tue, 15 Apr 2008 20:00:27 +0000 (20:00 +0000)]
Add and use few new macros in rc file writing code.

16 years agothis might fix the freezes on freebsd, solaris, etc.
Vladimir Nadvornik [Tue, 15 Apr 2008 18:34:24 +0000 (18:34 +0000)]
this might fix the freezes on freebsd, solaris, etc.

16 years agosave file_class to config file
Vladimir Nadvornik [Tue, 15 Apr 2008 16:57:30 +0000 (16:57 +0000)]
save file_class to config file

16 years agoExit fullscreen mode when Properties is displayed.
Laurent Monin [Tue, 15 Apr 2008 07:16:51 +0000 (07:16 +0000)]
Exit fullscreen mode when Properties is displayed.

16 years agoNew Go to directory view feature that permits to find and display the directory
Laurent Monin [Tue, 15 Apr 2008 06:56:25 +0000 (06:56 +0000)]
New Go to directory view feature that permits to find and display the directory
corresponding to an image view.
For example, when you open an image in new window from collection, right clicking on
the newly displayed image will let you choose Go to directory view, which would open
a new window, with image and directory list.
If current directory is the one of the image, menu item is disabled.

16 years agoMove layout.order default init to setup_default_options().
Laurent Monin [Mon, 14 Apr 2008 23:47:13 +0000 (23:47 +0000)]
Move layout.order default init to setup_default_options().