geeqie.git
15 years agoOptimize a bit when connected zoom and scrolling are unset,
Laurent Monin [Fri, 4 Jul 2008 20:32:48 +0000 (20:32 +0000)]
Optimize a bit when connected zoom and scrolling are unset,
just move the test outside loops.

15 years agolayout_color_button_press_cb(): tidy up, drop useless memory allocations, improve...
Laurent Monin [Fri, 4 Jul 2008 17:21:07 +0000 (17:21 +0000)]
layout_color_button_press_cb(): tidy up, drop useless memory allocations, improve i18n.

15 years agorefresh thumbnails on file change
Vladimir Nadvornik [Thu, 3 Jul 2008 20:16:15 +0000 (20:16 +0000)]
refresh thumbnails on file change

15 years agoset fallback thumbnail pixbuf only if the loading really fails
Vladimir Nadvornik [Thu, 3 Jul 2008 19:38:19 +0000 (19:38 +0000)]
set fallback thumbnail pixbuf only if the loading really fails

15 years agoFix missing references for the current directory in pan folder stuff.
Laurent Monin [Thu, 3 Jul 2008 18:16:39 +0000 (18:16 +0000)]
Fix missing references for the current directory in pan folder stuff.
It was causing an fd magick assertion failure.
Bug reported by Omari Stephens.

15 years agoIncrease debugging info in file_data_ref() and file_data_unref().
Laurent Monin [Thu, 3 Jul 2008 08:33:10 +0000 (08:33 +0000)]
Increase debugging info in file_data_ref() and file_data_unref().
When compiled with DEBUG defined, file and line of the caller is displayed
in debug log.

15 years agoOptimize file_cache_get() by only moving element to front if needed
Laurent Monin [Wed, 2 Jul 2008 08:38:47 +0000 (08:38 +0000)]
Optimize file_cache_get() by only moving element to front if needed
(most of the time there is no need).
Reduce code redundancy in file_cache_put() by calling file_cache_get().
Enhance debugging code.

15 years agofixed division by zero in pixbuf_renderer_get_scroll_center
Vladimir Nadvornik [Mon, 30 Jun 2008 21:08:28 +0000 (21:08 +0000)]
fixed division by zero in pixbuf_renderer_get_scroll_center

15 years agoMerge thumb_loader_save_to_cache() and thumb_loader_mark_failure()
Laurent Monin [Sun, 29 Jun 2008 15:51:54 +0000 (15:51 +0000)]
Merge thumb_loader_save_to_cache() and thumb_loader_mark_failure()
into thumb_loader_save_thumbnail().
Most of the code was redundant.

15 years agoMake better matching between options types in options.h and the rest of the code.
Laurent Monin [Sun, 29 Jun 2008 10:11:43 +0000 (10:11 +0000)]
Make better matching between options types in options.h and the rest of the code.
Most changes are from gint to gboolean pseudo type and between gint / guint.

15 years agolayout_image_drag_cb(): optimize when connected scrolling is unset.
Laurent Monin [Sat, 28 Jun 2008 08:01:36 +0000 (08:01 +0000)]
layout_image_drag_cb(): optimize when connected scrolling is unset.

15 years agoReduce number of parameters (mostly unused), just pass the event pointer.
Laurent Monin [Sat, 28 Jun 2008 07:43:37 +0000 (07:43 +0000)]
Reduce number of parameters (mostly unused), just pass the event pointer.

15 years agoFix warning:
Laurent Monin [Sat, 28 Jun 2008 00:44:31 +0000 (00:44 +0000)]
Fix warning:
thumb.c:31: warning : 'normalize_thumb' declared 'static' but never defined

15 years agoimage_osd_mkinfo(): pipe replacement by " - " separator was fixed to work correctly...
Laurent Monin [Fri, 27 Jun 2008 22:57:48 +0000 (22:57 +0000)]
image_osd_mkinfo(): pipe replacement by " - " separator was fixed to work correctly with
empty first element.

15 years agodo not read keywords and comment between exif_read_fd and exif_free_fd
Vladimir Nadvornik [Fri, 27 Jun 2008 21:35:21 +0000 (21:35 +0000)]
do not read keywords and comment between exif_read_fd and exif_free_fd
calls (fd->exif does not have reference counting)

15 years agoadded pixbuf_fallback function
Vladimir Nadvornik [Fri, 27 Jun 2008 21:09:15 +0000 (21:09 +0000)]
added pixbuf_fallback function
fixed thumb loader for non-image files

15 years agofixed crash in entering fullscreen during loading
Vladimir Nadvornik [Fri, 27 Jun 2008 18:43:05 +0000 (18:43 +0000)]
fixed crash in entering fullscreen during loading

15 years agoosd_template_insert(): optimize and simplify using flags.
Laurent Monin [Fri, 27 Jun 2008 10:00:55 +0000 (10:00 +0000)]
osd_template_insert(): optimize and simplify using flags.

15 years agoimage_osd_info_render(): ensure values are always escaped before using pango_layout_s...
Laurent Monin [Fri, 27 Jun 2008 08:05:51 +0000 (08:05 +0000)]
image_osd_info_render(): ensure values are always escaped before using pango_layout_set_markup().
Two helper functions were added: osd_template_insert() and osd_template_insert_and_free().

15 years agoimage_osd_info_render(): code cleanup and simplification, drop some useless memory...
Laurent Monin [Thu, 26 Jun 2008 23:29:08 +0000 (23:29 +0000)]
image_osd_info_render(): code cleanup and simplification, drop some useless memory allocations.

15 years agoUse flags for pr_zoom_*() functions.
Laurent Monin [Thu, 26 Jun 2008 15:59:20 +0000 (15:59 +0000)]
Use flags for pr_zoom_*() functions.

15 years agoUse stricter types for image options.
Laurent Monin [Thu, 26 Jun 2008 14:43:52 +0000 (14:43 +0000)]
Use stricter types for image options.

15 years agoUse flags instead of int parameters for pixbuf_renderer_overlay_add().
Laurent Monin [Thu, 26 Jun 2008 12:23:48 +0000 (12:23 +0000)]
Use flags instead of int parameters for pixbuf_renderer_overlay_add().

15 years agoOnly define ExifOrientationType if GQ_BUILD is not defined since
Laurent Monin [Thu, 26 Jun 2008 11:48:40 +0000 (11:48 +0000)]
Only define ExifOrientationType if GQ_BUILD is not defined since
it is already defined in exif.h.

15 years agoTidy up.
Laurent Monin [Wed, 25 Jun 2008 20:53:52 +0000 (20:53 +0000)]
Tidy up.

15 years agoFrench translation was updated.
Laurent Monin [Wed, 25 Jun 2008 20:22:02 +0000 (20:22 +0000)]
French translation was updated.

15 years agooptimized marks drawing
Vladimir Nadvornik [Sun, 22 Jun 2008 20:07:32 +0000 (20:07 +0000)]
optimized marks drawing

15 years agoshow marks in iconview
Vladimir Nadvornik [Sun, 22 Jun 2008 20:01:20 +0000 (20:01 +0000)]
show marks in iconview

15 years agoshow sidecars in icon view
Vladimir Nadvornik [Sun, 22 Jun 2008 10:01:26 +0000 (10:01 +0000)]
show sidecars in icon view

15 years agofixed in-place renaming
Vladimir Nadvornik [Sun, 22 Jun 2008 09:40:57 +0000 (09:40 +0000)]
fixed in-place renaming

15 years agoadded possibility to disable grouping of selected files
Vladimir Nadvornik [Sun, 22 Jun 2008 09:19:42 +0000 (09:19 +0000)]
added possibility to disable grouping of selected files

15 years agocache size made configurable
Vladimir Nadvornik [Sat, 21 Jun 2008 22:01:45 +0000 (22:01 +0000)]
cache size made configurable

15 years agomeasure pixbuf cache size in bytes
Vladimir Nadvornik [Sat, 21 Jun 2008 19:26:01 +0000 (19:26 +0000)]
measure pixbuf cache size in bytes

15 years agosimple cache for loaded pixbufs
Vladimir Nadvornik [Sat, 21 Jun 2008 16:00:13 +0000 (16:00 +0000)]
simple cache for loaded pixbufs

15 years agorenamed fd->pixbuf to fd->thumb_pixbuf
Vladimir Nadvornik [Sat, 21 Jun 2008 11:05:55 +0000 (11:05 +0000)]
renamed fd->pixbuf to fd->thumb_pixbuf

15 years agoimplemented generic FileData cache
Vladimir Nadvornik [Wed, 18 Jun 2008 22:26:52 +0000 (22:26 +0000)]
implemented generic FileData cache
use it for caching decoded exif data

15 years agomore robust thumbs progress bar
Vladimir Nadvornik [Tue, 17 Jun 2008 20:25:05 +0000 (20:25 +0000)]
more robust thumbs progress bar

15 years agodo not allocate new buffer for thumbnails with correct orientation
Vladimir Nadvornik [Tue, 17 Jun 2008 19:56:21 +0000 (19:56 +0000)]
do not allocate new buffer for thumbnails with correct orientation

15 years agofixed memory leak
Vladimir Nadvornik [Mon, 16 Jun 2008 19:07:02 +0000 (19:07 +0000)]
fixed memory leak

15 years agoanother try to free layout at exit
Vladimir Nadvornik [Mon, 16 Jun 2008 18:37:35 +0000 (18:37 +0000)]
another try to free layout at exit

15 years agorotate thumbnails by exif
Vladimir Nadvornik [Sun, 15 Jun 2008 21:52:15 +0000 (21:52 +0000)]
rotate thumbnails by exif

15 years agouse FileData in thumb_loader
Vladimir Nadvornik [Sun, 15 Jun 2008 20:09:15 +0000 (20:09 +0000)]
use FileData in thumb_loader

15 years agouse GtkSizeGroup to control initial size of split images
Vladimir Nadvornik [Sat, 14 Jun 2008 21:49:48 +0000 (21:49 +0000)]
use GtkSizeGroup to control initial size of split images

15 years agopreserve image center on refresh
Vladimir Nadvornik [Sat, 14 Jun 2008 18:41:30 +0000 (18:41 +0000)]
preserve image center on refresh

15 years agouse multiline description in vflist with large thumbnails
Vladimir Nadvornik [Sat, 14 Jun 2008 18:33:40 +0000 (18:33 +0000)]
use multiline description in vflist with large thumbnails
always display marks in the first column
show expander in "name" column

15 years agojoin name and sidecars to one string
Vladimir Nadvornik [Sat, 14 Jun 2008 17:32:27 +0000 (17:32 +0000)]
join name and sidecars to one string

15 years agooptimized vflist_setup_iter_recursive
Vladimir Nadvornik [Sat, 14 Jun 2008 17:14:28 +0000 (17:14 +0000)]
optimized vflist_setup_iter_recursive

15 years agoiconlist_refresh optimization
Vladimir Nadvornik [Sat, 14 Jun 2008 12:43:39 +0000 (12:43 +0000)]
iconlist_refresh optimization

15 years agofixed iconview update after deletion of selected image
Vladimir Nadvornik [Sat, 14 Jun 2008 12:30:44 +0000 (12:30 +0000)]
fixed iconview update after deletion of selected image

15 years agoSilent unused variable warning.
Laurent Monin [Sat, 14 Jun 2008 06:52:52 +0000 (06:52 +0000)]
Silent unused variable warning.

15 years agooptimized vflist_setup_iter
Vladimir Nadvornik [Fri, 13 Jun 2008 21:32:58 +0000 (21:32 +0000)]
optimized vflist_setup_iter

15 years agoFrench translation was updated.
Laurent Monin [Fri, 13 Jun 2008 13:33:11 +0000 (13:33 +0000)]
French translation was updated.

15 years agoRevert patches 759 and 760.
Laurent Monin [Fri, 13 Jun 2008 12:27:41 +0000 (12:27 +0000)]
Revert patches 759 and 760.
759 patch broke adding selection of files through sort manager
to an unopened collection.

15 years agoDisplay total size of files in collection window, for the list and for the selection.
Laurent Monin [Fri, 13 Jun 2008 11:51:23 +0000 (11:51 +0000)]
Display total size of files in collection window, for the list and for the selection.

15 years agoOptionnally display directory's date in list view.
Laurent Monin [Fri, 13 Jun 2008 11:11:57 +0000 (11:11 +0000)]
Optionnally display directory's date in list view.
It can be set through Preferences > Advanced > Behavior and
is saved to rc file as layout.show_directory_date option.

15 years agoload_options_from():
Laurent Monin [Thu, 12 Jun 2008 22:43:32 +0000 (22:43 +0000)]
load_options_from():
- do not copy option name and value anywhere, only copy value_all to a separate buffer
- allow more relaxed syntax on read, so we can correctly read option name and value
  even if user made some errors like replacing ':' by '=' or inserting a space before ':'.
- minor aesthetical changes

15 years agoAdd a comment about relative positions of image overlay in the rc file.
Laurent Monin [Thu, 12 Jun 2008 21:21:32 +0000 (21:21 +0000)]
Add a comment about relative positions of image overlay in the rc file.

15 years agoAllow to set image overlay info position through options:
Laurent Monin [Thu, 12 Jun 2008 20:33:51 +0000 (20:33 +0000)]
Allow to set image overlay info position through options:
- image_overlay.common.x
- image_overlay.common.y

For now, there are only editable through rc file.

15 years agoMove some functions from image.[ch] to image-overlay.c and make them static:
Laurent Monin [Thu, 12 Jun 2008 20:17:22 +0000 (20:17 +0000)]
Move some functions from image.[ch] to image-overlay.c and make them static:
- image_overlay_add()
- image_overlay_set()
- image_overlay_remove()
- image_overlay_get() (unused)

15 years agoreverted changes in layout_close made in rev. 890 and 901
Vladimir Nadvornik [Thu, 12 Jun 2008 18:30:33 +0000 (18:30 +0000)]
reverted changes in layout_close made in rev. 890 and 901

15 years agofixed vdtree_sort_cb
Vladimir Nadvornik [Tue, 10 Jun 2008 19:25:21 +0000 (19:25 +0000)]
fixed vdtree_sort_cb

15 years agofixed segfault in vd_rename_cb
Vladimir Nadvornik [Tue, 10 Jun 2008 18:39:19 +0000 (18:39 +0000)]
fixed segfault in vd_rename_cb

15 years agodropped vficon_sync, use vficon_refresh everywhere
Vladimir Nadvornik [Tue, 10 Jun 2008 18:19:17 +0000 (18:19 +0000)]
dropped vficon_sync, use vficon_refresh everywhere

15 years agocollection_from_dnd_data(): simplify and optimize.
Laurent Monin [Tue, 10 Jun 2008 11:55:18 +0000 (11:55 +0000)]
collection_from_dnd_data(): simplify and optimize.

15 years agocollection_info_list_to_dnd_data(): simplify and optimize.
Laurent Monin [Tue, 10 Jun 2008 11:27:35 +0000 (11:27 +0000)]
collection_info_list_to_dnd_data(): simplify and optimize.

15 years agomoved notification to view_file.c
Vladimir Nadvornik [Mon, 9 Jun 2008 20:27:39 +0000 (20:27 +0000)]
moved notification to view_file.c

15 years agorun idle function just once
Vladimir Nadvornik [Mon, 9 Jun 2008 19:43:56 +0000 (19:43 +0000)]
run idle function just once

15 years agouse vficon_refresh for updating
Vladimir Nadvornik [Mon, 9 Jun 2008 19:41:37 +0000 (19:41 +0000)]
use vficon_refresh for updating

15 years agohandle deletion of selected files
Vladimir Nadvornik [Mon, 9 Jun 2008 19:00:47 +0000 (19:00 +0000)]
handle deletion of selected files

15 years agooptimized vficon_refresh_real
Vladimir Nadvornik [Mon, 9 Jun 2008 18:28:28 +0000 (18:28 +0000)]
optimized vficon_refresh_real

15 years agoMinor fixes and add a note about variable declaration.
Laurent Monin [Mon, 9 Jun 2008 10:10:34 +0000 (10:10 +0000)]
Minor fixes and add a note about variable declaration.

15 years agoUse unsigned type for marks since it is used as a bitfield.
Laurent Monin [Mon, 9 Jun 2008 07:14:46 +0000 (07:14 +0000)]
Use unsigned type for marks since it is used as a bitfield.

15 years agofixed saving options on exit
Vladimir Nadvornik [Mon, 9 Jun 2008 07:06:53 +0000 (07:06 +0000)]
fixed saving options on exit

15 years agoTidy up: add/remove white lines, minor code changes.
Laurent Monin [Sun, 8 Jun 2008 23:42:51 +0000 (23:42 +0000)]
Tidy up: add/remove white lines, minor code changes.

15 years agoimproved vficon_populate
Vladimir Nadvornik [Sun, 8 Jun 2008 21:21:13 +0000 (21:21 +0000)]
improved vficon_populate

15 years agovficon_sync speed-up
Vladimir Nadvornik [Sun, 8 Jun 2008 20:24:46 +0000 (20:24 +0000)]
vficon_sync speed-up

15 years agobetter check for notify type
Vladimir Nadvornik [Sun, 8 Jun 2008 19:09:44 +0000 (19:09 +0000)]
better check for notify type

15 years agofixed switching thumbnails in listview on and off - bug 1984825
Vladimir Nadvornik [Sun, 8 Jun 2008 09:25:39 +0000 (09:25 +0000)]
fixed switching thumbnails in listview on and off - bug 1984825

15 years agovarious refresh and notification fixes
Vladimir Nadvornik [Sat, 7 Jun 2008 22:44:17 +0000 (22:44 +0000)]
various refresh and notification fixes

15 years agovarious notification improvements
Vladimir Nadvornik [Sat, 7 Jun 2008 15:08:33 +0000 (15:08 +0000)]
various notification improvements

15 years agouse the new notification for collections
Vladimir Nadvornik [Sat, 7 Jun 2008 10:45:33 +0000 (10:45 +0000)]
use the new notification for collections

15 years agoDisplay Lirc state in config log.
Laurent Monin [Sat, 7 Jun 2008 10:18:30 +0000 (10:18 +0000)]
Display Lirc state in config log.
Re-organize the config log a bit.

15 years agouse new notification in img-view
Vladimir Nadvornik [Sat, 7 Jun 2008 09:36:12 +0000 (09:36 +0000)]
use new notification in img-view

15 years agouse new notification in layout and layout_image
Vladimir Nadvornik [Sat, 7 Jun 2008 09:10:01 +0000 (09:10 +0000)]
use new notification in layout and layout_image

15 years agoused new notification in search.c
Vladimir Nadvornik [Sat, 7 Jun 2008 08:13:22 +0000 (08:13 +0000)]
used new notification in search.c

15 years agoused new notification in dupe.c
Vladimir Nadvornik [Sat, 7 Jun 2008 07:45:08 +0000 (07:45 +0000)]
used new notification in dupe.c

15 years agoused new notification in cache_maint
Vladimir Nadvornik [Fri, 6 Jun 2008 22:34:15 +0000 (22:34 +0000)]
used new notification in cache_maint

15 years agoadded NotifyType
Vladimir Nadvornik [Fri, 6 Jun 2008 22:11:03 +0000 (22:11 +0000)]
added NotifyType

15 years agorealtime file monitor
Vladimir Nadvornik [Fri, 6 Jun 2008 21:50:09 +0000 (21:50 +0000)]
realtime file monitor

15 years agozero-lenght path must be allowed for now
Vladimir Nadvornik [Fri, 6 Jun 2008 20:59:03 +0000 (20:59 +0000)]
zero-lenght path must be allowed for now

15 years agoFrench translation was updated.
Laurent Monin [Fri, 6 Jun 2008 08:01:19 +0000 (08:01 +0000)]
French translation was updated.

15 years agoFix "No newline at end of file" warning.
Laurent Monin [Thu, 5 Jun 2008 23:31:22 +0000 (23:31 +0000)]
Fix "No newline at end of file" warning.

15 years agouse new notification in vficon
Vladimir Nadvornik [Thu, 5 Jun 2008 18:43:44 +0000 (18:43 +0000)]
use new notification in vficon

15 years agoCompare paths using utf8_collate_key() since paths are utf8-encoded.
Laurent Monin [Thu, 5 Jun 2008 09:24:42 +0000 (09:24 +0000)]
Compare paths using utf8_collate_key() since paths are utf8-encoded.
It fixes bug 1959854.

15 years agoUse uft8_collate_key() to sort utf8 strings.
Laurent Monin [Thu, 5 Jun 2008 08:41:02 +0000 (08:41 +0000)]
Use uft8_collate_key() to sort utf8 strings.
Modify file_data_set_path() to sync collate keys and file_data_pool
on path change.

Partially fix bug 1959854.

15 years agonew notification system (used only in vflist for now)
Vladimir Nadvornik [Wed, 4 Jun 2008 21:12:47 +0000 (21:12 +0000)]
new notification system (used only in vflist for now)

15 years agoreplaced directory path with FileData* dir_fd
Vladimir Nadvornik [Tue, 3 Jun 2008 19:44:19 +0000 (19:44 +0000)]
replaced directory path with FileData* dir_fd

15 years agoAllow to modify the aspect of Geeqie through the use of a
Laurent Monin [Tue, 3 Jun 2008 15:54:05 +0000 (15:54 +0000)]
Allow to modify the aspect of Geeqie through the use of a
gtkrc file that may be present in the geeqie rc directory.
Patch by Aldric RENAUDIN and me.

15 years agoReplace hardcoded collection filename extension by a macro (GQ_COLLECTION_EXT).
Laurent Monin [Tue, 3 Jun 2008 13:54:22 +0000 (13:54 +0000)]
Replace hardcoded collection filename extension by a macro (GQ_COLLECTION_EXT).

15 years agoDrop initialization to NULL since filelist_read() will take care of it.
Laurent Monin [Tue, 3 Jun 2008 11:24:16 +0000 (11:24 +0000)]
Drop initialization to NULL since filelist_read() will take care of it.