joel/kofoto.git
13 years agoCreate the invisible mouse cursor in a simpler way.
Joel Rosdahl [Sat, 16 Sep 2006 08:58:45 +0000 (08:58 +0000)]
Create the invisible mouse cursor in a simpler way.

13 years agoUpdate the scroll bars around the ImageView nicely when zooming and
Joel Rosdahl [Wed, 6 Sep 2006 18:28:27 +0000 (18:28 +0000)]
Update the scroll bars around the ImageView nicely when zooming and
resizing the image.

13 years agoAdded accelerators for next/previous picture again... This time we'll
Joel Rosdahl [Tue, 5 Sep 2006 20:46:39 +0000 (20:46 +0000)]
Added accelerators for next/previous picture again... This time we'll
try F6/Shift+F6. Ticket #60.

13 years agoFixed ticket #115 ("GKofoto: Unhandled error when entering invalid
Joel Rosdahl [Tue, 5 Sep 2006 20:30:41 +0000 (20:30 +0000)]
Fixed ticket #115 ("GKofoto: Unhandled error when entering invalid
album tag").

13 years agoFixed ticket #117 ("double-click on scrollbars surrounding zoomed
Joel Rosdahl [Tue, 5 Sep 2006 20:22:34 +0000 (20:22 +0000)]
Fixed ticket #117 ("double-click on scrollbars surrounding zoomed
image triggers full screen mode").

13 years agoFixed some pylint warnings.
Joel Rosdahl [Tue, 5 Sep 2006 20:08:19 +0000 (20:08 +0000)]
Fixed some pylint warnings.

13 years agoRenamed insertionorderedmapping.InsertionOrderedMapping to
Joel Rosdahl [Tue, 5 Sep 2006 19:19:29 +0000 (19:19 +0000)]
Renamed insertionorderedmapping.InsertionOrderedMapping to
iodict.InsertionOrderedDict.

Moved test cases in iomtest.py into iodict.py to make it
self-contained.

13 years agoMade shelf tests 64-bit clean.
Joel Rosdahl [Sun, 27 Aug 2006 18:21:04 +0000 (18:21 +0000)]
Made shelf tests 64-bit clean.

13 years agoSplit find-missing-imageversions into two commands:
Joel Rosdahl [Sun, 27 Aug 2006 17:31:36 +0000 (17:31 +0000)]
Split find-missing-imageversions into two commands:
find-missing-imageversions and find-modified-imageversions. They now
print just the found image versions without any header and are thus
silent if no image versions were found.

13 years agoAdapted pylint disable messages to pylint 0.11.
Joel Rosdahl [Wed, 21 Jun 2006 19:45:16 +0000 (19:45 +0000)]
Adapted pylint disable messages to pylint 0.11.

13 years agoRemoved redundant parentheses.
Joel Rosdahl [Mon, 17 Apr 2006 15:39:41 +0000 (15:39 +0000)]
Removed redundant parentheses.

13 years agoLet Rectangle.downscaled_to and Rectangle.rescaled_to return a
Joel Rosdahl [Fri, 24 Feb 2006 07:48:56 +0000 (07:48 +0000)]
Let Rectangle.downscaled_to and Rectangle.rescaled_to return a
rectangle with width and height at least 1.

13 years agoImplemented full screen viewing of image versions.
Joel Rosdahl [Mon, 13 Feb 2006 20:04:25 +0000 (20:04 +0000)]
Implemented full screen viewing of image versions.

13 years agoOpen and copy image version locations in the expected order.
Joel Rosdahl [Mon, 13 Feb 2006 20:03:27 +0000 (20:03 +0000)]
Open and copy image version locations in the expected order.

13 years agoAdded category count to print-statistics output.
Joel Rosdahl [Sat, 4 Feb 2006 14:35:46 +0000 (14:35 +0000)]
Added category count to print-statistics output.

13 years agoMoved find-missing-imageversions command to proper location in help text.
Joel Rosdahl [Wed, 1 Feb 2006 21:41:39 +0000 (21:41 +0000)]
Moved find-missing-imageversions command to proper location in help text.

Added missing word in help text.

13 years agoGet key values from gtk.keysyms instead of using gtk.gdk.keyval_from_name.
Joel Rosdahl [Wed, 1 Feb 2006 21:40:44 +0000 (21:40 +0000)]
Get key values from gtk.keysyms instead of using gtk.gdk.keyval_from_name.

13 years agoNext version: 0.6.
Joel Rosdahl [Mon, 30 Jan 2006 18:43:07 +0000 (18:43 +0000)]
Next version: 0.6.

13 years agoMerged changes on the version-0.5.x branch to the trunk.
Joel Rosdahl [Mon, 30 Jan 2006 18:41:47 +0000 (18:41 +0000)]
Merged changes on the version-0.5.x branch to the trunk.

13 years agoReleased version 0.5.
Joel Rosdahl [Mon, 30 Jan 2006 18:37:24 +0000 (18:37 +0000)]
Released version 0.5.

13 years agoDisplay unknown image icon in ImageViews also.
Joel Rosdahl [Mon, 30 Jan 2006 18:26:29 +0000 (18:26 +0000)]
Display unknown image icon in ImageViews also.

13 years agoBug fix: Handle missing image gracefully when requesting a thumbnail of an
Joel Rosdahl [Mon, 30 Jan 2006 18:23:43 +0000 (18:23 +0000)]
Bug fix: Handle missing image gracefully when requesting a thumbnail of an
image not previously cached.

13 years agoUnset initial activation of the single object view menu entry.
Joel Rosdahl [Mon, 30 Jan 2006 18:18:53 +0000 (18:18 +0000)]
Unset initial activation of the single object view menu entry.

13 years agoPreparations for 0.5.
Joel Rosdahl [Mon, 30 Jan 2006 17:42:14 +0000 (17:42 +0000)]
Preparations for 0.5.

13 years agoBug fix in Rectangle.__eq__: Handle comparison with unsubscriptable object
Joel Rosdahl [Sun, 29 Jan 2006 19:04:10 +0000 (19:04 +0000)]
Bug fix in Rectangle.__eq__: Handle comparison with unsubscriptable object
correctly.

13 years agoAdded full screen view button. Reordered table and single object view
Joel Rosdahl [Sun, 29 Jan 2006 17:32:18 +0000 (17:32 +0000)]
Added full screen view button. Reordered table and single object view
buttons. Moved up full screen menu entry to the same section as the
other view entries.

Removed obsolete thumbnail view code.

13 years agoPEP8-ified raise clauses.
Joel Rosdahl [Sun, 29 Jan 2006 16:49:41 +0000 (16:49 +0000)]
PEP8-ified raise clauses.

13 years agoAdded some more debug code.
Joel Rosdahl [Sat, 28 Jan 2006 08:48:28 +0000 (08:48 +0000)]
Added some more debug code.

13 years agoImproved preloading and unloading in single object view.
Joel Rosdahl [Sat, 28 Jan 2006 08:36:28 +0000 (08:36 +0000)]
Improved preloading and unloading in single object view.

13 years agoMore work on the fullscreen view:
Joel Rosdahl [Thu, 26 Jan 2006 21:27:18 +0000 (21:27 +0000)]
More work on the fullscreen view:

Display end-of-display screen before first and after last image.

Added bindings for home and end keys.

Bound left mouse click to forward.

Removed ugly hack for catching too early loads/preloads; now requests
of previous size are unloaded from the cache instead.

13 years agoRefactored FullscreenWindow._after_map_event.
Joel Rosdahl [Tue, 24 Jan 2006 21:45:23 +0000 (21:45 +0000)]
Refactored FullscreenWindow._after_map_event.

13 years agoImproved FullscreenWindow:
Joel Rosdahl [Tue, 24 Jan 2006 21:32:03 +0000 (21:32 +0000)]
Improved FullscreenWindow:

Set background of the background window to black early to avoid flickering.

Added hack to avoid loading (and preloading) too early so that too small images
are requested.

13 years agoMore PEP8 changes.
Joel Rosdahl [Tue, 24 Jan 2006 20:56:33 +0000 (20:56 +0000)]
More PEP8 changes.

13 years agoBind Down and Up to next/previous in fullscreen view.
Joel Rosdahl [Tue, 24 Jan 2006 20:54:31 +0000 (20:54 +0000)]
Bind Down and Up to next/previous in fullscreen view.

13 years agoMake pylint happier.
Joel Rosdahl [Tue, 24 Jan 2006 20:52:58 +0000 (20:52 +0000)]
Make pylint happier.

13 years agoRemoving set_keep_above from fullscreen view
Ulrik Svensson [Tue, 24 Jan 2006 19:30:24 +0000 (19:30 +0000)]
Removing set_keep_above from fullscreen view

13 years agoBind PageDown and PageUp to next/previous in fullscreen view.
Joel Rosdahl [Mon, 23 Jan 2006 21:47:24 +0000 (21:47 +0000)]
Bind PageDown and PageUp to next/previous in fullscreen view.

13 years agoHide mouse cursor in fullscreen view
Ulrik Svensson [Mon, 23 Jan 2006 20:53:24 +0000 (20:53 +0000)]
Hide mouse cursor in fullscreen view

13 years agoSwitch to fullscreen mode when double-clicking on image in single object view.
Joel Rosdahl [Mon, 23 Jan 2006 20:18:21 +0000 (20:18 +0000)]
Switch to fullscreen mode when double-clicking on image in single object view.

13 years agoBetter activation of object view from row activation in table view.
Joel Rosdahl [Mon, 23 Jan 2006 20:11:33 +0000 (20:11 +0000)]
Better activation of object view from row activation in table view.

13 years agoAdded simplistic fullscreen view. Partly resolves ticket #33
Ulrik Svensson [Mon, 23 Jan 2006 19:58:10 +0000 (19:58 +0000)]
Added simplistic fullscreen view. Partly resolves ticket #33

13 years agoSwitch to single object view when a row is activated in the table view.
Joel Rosdahl [Mon, 23 Jan 2006 19:56:11 +0000 (19:56 +0000)]
Switch to single object view when a row is activated in the table view.

13 years agoIncrease (for now hard-coded) cache size to 20 Mpixel (about 60 MB).
Joel Rosdahl [Mon, 23 Jan 2006 19:47:58 +0000 (19:47 +0000)]
Increase (for now hard-coded) cache size to 20 Mpixel (about 60 MB).

13 years agoPreloads should now be done with least important first.
Joel Rosdahl [Mon, 23 Jan 2006 18:48:03 +0000 (18:48 +0000)]
Preloads should now be done with least important first.

13 years agoBug fix in ImageView.get_wanted_image_size.
Joel Rosdahl [Sat, 21 Jan 2006 17:35:47 +0000 (17:35 +0000)]
Bug fix in ImageView.get_wanted_image_size.

13 years agokofoto.gkofoto.imagepreloader: Removed; obsoleted by
Joel Rosdahl [Wed, 18 Jan 2006 21:40:23 +0000 (21:40 +0000)]
kofoto.gkofoto.imagepreloader: Removed; obsoleted by
CachingPixbufLoader. Ticket #86.

kofoto.gkofoto.mainwindow: Removed ImagePreloader instance.

kofoto.gkofoto.environment: Add global CachingPixbufLoader instance to
the environment.

kofoto.gkofoto.imageview: Implemented a new ImageView with better API
and performance.

kofoto.gkofoto.singleobjectview, kofoto.gkofoto.imageversionslist and
kofoto.gkofoto.objectcollection: Use the new ImageView and
CachingPixbufLoader.

kofoto.common: Removed obsolete rectangle calculation functions; moved
to kofoto.rectangle.Rectangle.

13 years agoRestructured test code.
Joel Rosdahl [Wed, 18 Jan 2006 21:39:24 +0000 (21:39 +0000)]
Restructured test code.

13 years agoWhitespace fix.
Joel Rosdahl [Wed, 18 Jan 2006 21:12:04 +0000 (21:12 +0000)]
Whitespace fix.

13 years agoDoc-string fixes.
Joel Rosdahl [Wed, 18 Jan 2006 21:08:52 +0000 (21:08 +0000)]
Doc-string fixes.

13 years agoRaise priority of the pixbuf loader's load thread when processing load
Joel Rosdahl [Wed, 18 Jan 2006 20:25:58 +0000 (20:25 +0000)]
Raise priority of the pixbuf loader's load thread when processing load
requests.

13 years agoAdded set_priority method to PseudoThread.
Joel Rosdahl [Wed, 18 Jan 2006 20:24:07 +0000 (20:24 +0000)]
Added set_priority method to PseudoThread.

13 years agoBug fix in pruning logic.
Joel Rosdahl [Mon, 16 Jan 2006 22:13:23 +0000 (22:13 +0000)]
Bug fix in pruning logic.

13 years agoImplemented unload_all method in CachingPixbufLoader.
Joel Rosdahl [Mon, 16 Jan 2006 21:31:40 +0000 (21:31 +0000)]
Implemented unload_all method in CachingPixbufLoader.

13 years agoUse Rectangle's scaling routines.
Joel Rosdahl [Mon, 16 Jan 2006 20:48:55 +0000 (20:48 +0000)]
Use Rectangle's scaling routines.

13 years agoMinor bug fix.
Joel Rosdahl [Mon, 16 Jan 2006 20:47:32 +0000 (20:47 +0000)]
Minor bug fix.

13 years agokofoto.gkofoto.cachingpixbufloader: New module with a caching pixbuf
Joel Rosdahl [Mon, 16 Jan 2006 20:44:44 +0000 (20:44 +0000)]
kofoto.gkofoto.cachingpixbufloader: New module with a caching pixbuf
loader, to be used by the new, yet uncommitted image view and in the
future for loading and caching thumbnails.

Disk caching is not yet implemented, though.

13 years agoNew convenience function: kofoto.gkofoto.pixbufloader.get_pixbuf_size.
Joel Rosdahl [Mon, 16 Jan 2006 20:26:52 +0000 (20:26 +0000)]
New convenience function: kofoto.gkofoto.pixbufloader.get_pixbuf_size.

Other minor clarifications in
kofoto.gkofoto.pixbufloader.PixbufLoader.

13 years agoNew module: kofoto.rectangle.
Joel Rosdahl [Mon, 16 Jan 2006 20:24:42 +0000 (20:24 +0000)]
New module: kofoto.rectangle.

13 years agoMinor performance and clarity improvements.
Joel Rosdahl [Mon, 16 Jan 2006 20:11:58 +0000 (20:11 +0000)]
Minor performance and clarity improvements.

13 years agoImplemented PixbufLoader.
Joel Rosdahl [Thu, 29 Dec 2005 12:01:29 +0000 (12:01 +0000)]
Implemented PixbufLoader.

13 years agoAdded insert_after, insert_before, insert_first and insert_last
Joel Rosdahl [Fri, 16 Dec 2005 22:16:47 +0000 (22:16 +0000)]
Added insert_after, insert_before, insert_first and insert_last
methods to InsertionOrderedMapping.

13 years agoImproved doc string.
Joel Rosdahl [Tue, 13 Dec 2005 19:27:33 +0000 (19:27 +0000)]
Improved doc string.

13 years agoPEP8-ified function names in kofoto.common.
Joel Rosdahl [Tue, 13 Dec 2005 19:27:10 +0000 (19:27 +0000)]
PEP8-ified function names in kofoto.common.

New function: kofoto.common.calculate_rescaled_size.

14 years agoImplemented InsertionOrderedMapping class to be used by the new
Joel Rosdahl [Sun, 4 Dec 2005 13:32:41 +0000 (13:32 +0000)]
Implemented InsertionOrderedMapping class to be used by the new
caching image loader.

14 years agoObjectCollection: Bug fix in object collection loading.
Joel Rosdahl [Mon, 28 Nov 2005 18:15:04 +0000 (18:15 +0000)]
ObjectCollection: Bug fix in object collection loading.

PseudoThread: Docstring updates.

14 years agoDoc string fixes.
Joel Rosdahl [Mon, 14 Nov 2005 20:35:33 +0000 (20:35 +0000)]
Doc string fixes.

14 years agoImproved speed of object collection loading.
Joel Rosdahl [Mon, 14 Nov 2005 20:11:55 +0000 (20:11 +0000)]
Improved speed of object collection loading.

14 years agoUse a PseudoThread instead of an explicit idle handler to load object
Joel Rosdahl [Mon, 14 Nov 2005 19:22:39 +0000 (19:22 +0000)]
Use a PseudoThread instead of an explicit idle handler to load object
collection.

14 years agoCreated PseudoThread class.
Joel Rosdahl [Mon, 14 Nov 2005 19:21:38 +0000 (19:21 +0000)]
Created PseudoThread class.

14 years agoAdded new utility for exporting images and adding EXIF/IPTC meta data
Ulrik Svensson [Sat, 15 Oct 2005 23:03:38 +0000 (23:03 +0000)]
Added new utility for exporting images and adding EXIF/IPTC meta data

14 years agoMerged bug fix from the version-0.4.x branch.
Joel Rosdahl [Tue, 11 Oct 2005 06:16:27 +0000 (06:16 +0000)]
Merged bug fix from the version-0.4.x branch.

14 years agoMerged changes from the version-0.4.x branch to the trunk.
Joel Rosdahl [Mon, 10 Oct 2005 17:45:22 +0000 (17:45 +0000)]
Merged changes from the version-0.4.x branch to the trunk.

14 years agoWhitespace cleanup.
Joel Rosdahl [Mon, 10 Oct 2005 17:44:46 +0000 (17:44 +0000)]
Whitespace cleanup.

14 years agoReleased version 0.4.1.
Joel Rosdahl [Mon, 10 Oct 2005 17:43:48 +0000 (17:43 +0000)]
Released version 0.4.1.

14 years agoPreparations for version 0.4.1.
Joel Rosdahl [Mon, 10 Oct 2005 17:31:15 +0000 (17:31 +0000)]
Preparations for version 0.4.1.

14 years agoCorrected variable reference in
Joel Rosdahl [Mon, 10 Oct 2005 17:27:59 +0000 (17:27 +0000)]
Corrected variable reference in
kofoto.gkofoto.clipboard.Clipboard.setObjects. Fix for ticket #113.

14 years agoMerged changes from the version-0.4.x branch to the trunk.
Joel Rosdahl [Sun, 9 Oct 2005 16:00:53 +0000 (16:00 +0000)]
Merged changes from the version-0.4.x branch to the trunk.

14 years agoReleased version 0.4.
Joel Rosdahl [Sun, 9 Oct 2005 15:56:50 +0000 (15:56 +0000)]
Released version 0.4.

14 years agoInclude libraries not found by py2exe but needed by libpixbufloader-*.dll
Joel Rosdahl [Sun, 9 Oct 2005 15:41:52 +0000 (15:41 +0000)]
Include libraries not found by py2exe but needed by libpixbufloader-*.dll
plugins.

14 years agoCompensate for pygtk.require() failing when running py2exe gkofoto.
Joel Rosdahl [Sun, 9 Oct 2005 15:40:46 +0000 (15:40 +0000)]
Compensate for pygtk.require() failing when running py2exe gkofoto.

14 years agoImproved build of py2exe installer.
Joel Rosdahl [Sun, 9 Oct 2005 14:27:14 +0000 (14:27 +0000)]
Improved build of py2exe installer.

14 years agoPreparations for version 0.4.
Joel Rosdahl [Sun, 9 Oct 2005 14:10:00 +0000 (14:10 +0000)]
Preparations for version 0.4.

14 years agoUpdated installation requirements.
Joel Rosdahl [Sun, 9 Oct 2005 13:23:18 +0000 (13:23 +0000)]
Updated installation requirements.

14 years agoImplemented reread-exif command (ticket #18).
Joel Rosdahl [Sun, 9 Oct 2005 08:23:20 +0000 (08:23 +0000)]
Implemented reread-exif command (ticket #18).

14 years agoRemoved left-over test code.
Joel Rosdahl [Sun, 9 Oct 2005 08:18:12 +0000 (08:18 +0000)]
Removed left-over test code.

14 years agoNew commandline option: -0/--null.
Joel Rosdahl [Sun, 9 Oct 2005 08:13:03 +0000 (08:13 +0000)]
New commandline option: -0/--null.

14 years agoMake sure kofoto.shelf.makeValidTag always returns Unicode strings.
Joel Rosdahl [Sun, 9 Oct 2005 07:52:13 +0000 (07:52 +0000)]
Make sure kofoto.shelf.makeValidTag always returns Unicode strings.

14 years agoCorrectly import exceptions from kofoto.shelfexceptions.
Joel Rosdahl [Sun, 9 Oct 2005 07:37:47 +0000 (07:37 +0000)]
Correctly import exceptions from kofoto.shelfexceptions.

14 years agoWork-around for buggy EXIF library.
Joel Rosdahl [Sun, 9 Oct 2005 07:33:15 +0000 (07:33 +0000)]
Work-around for buggy EXIF library.

14 years agoRemove left-over call to pygtk.require; it should only by done in
Joel Rosdahl [Sat, 8 Oct 2005 20:57:45 +0000 (20:57 +0000)]
Remove left-over call to pygtk.require; it should only by done in
kofoto.gkofoto.environment. Fix for ticket #112.

14 years agoMinor Unicode fixes.
Joel Rosdahl [Tue, 4 Oct 2005 20:59:15 +0000 (20:59 +0000)]
Minor Unicode fixes.

14 years agoDisable key bindings for going to the next and previous image for now
Joel Rosdahl [Sun, 2 Oct 2005 19:50:51 +0000 (19:50 +0000)]
Disable key bindings for going to the next and previous image for now
(closes ticket #102, opens ticket #60).

14 years agoMajor review of Unicode usage in all code. The new code should, with
Joel Rosdahl [Sun, 2 Oct 2005 19:27:07 +0000 (19:27 +0000)]
Major review of Unicode usage in all code. The new code should, with
one exception, hopefully be functionally equivalent to the old code,
but cleaner and more consistent. The exception is file path handling
in Windows, which now should work better for non-ASCII paths (ticket
#108).

14 years agoIcons not shown, Ticket #109
Ulrik Svensson [Thu, 29 Sep 2005 18:36:34 +0000 (18:36 +0000)]
Icons not shown, Ticket #109

14 years agoDefault to utf-8 in generated HTML pages. Ticket #99.
Joel Rosdahl [Thu, 29 Sep 2005 18:12:34 +0000 (18:12 +0000)]
Default to utf-8 in generated HTML pages. Ticket #99.

14 years agoAdded __all__ definition to kofoto.commandline.main.
Joel Rosdahl [Thu, 29 Sep 2005 18:07:48 +0000 (18:07 +0000)]
Added __all__ definition to kofoto.commandline.main.

14 years agoHide file chooser dialog when processing files in the image
Joel Rosdahl [Thu, 29 Sep 2005 18:01:20 +0000 (18:01 +0000)]
Hide file chooser dialog when processing files in the image
registration dialog. Ticket #103.

And likewise for the handle images dialog.

14 years agoRefactoring to get away from cyclical imports.
Joel Rosdahl [Wed, 28 Sep 2005 20:14:50 +0000 (20:14 +0000)]
Refactoring to get away from cyclical imports.

14 years agoMore pylint-related changes.
Joel Rosdahl [Wed, 28 Sep 2005 19:47:02 +0000 (19:47 +0000)]
More pylint-related changes.

14 years agoMore pylint-related changes.
Joel Rosdahl [Tue, 27 Sep 2005 22:07:11 +0000 (22:07 +0000)]
More pylint-related changes.