Joel Rosdahl [Wed, 25 Jul 2007 19:33:48 +0000 (21:33 +0200)]
Let commandline registration group image versions
Joel Rosdahl [Wed, 25 Jul 2007 15:04:12 +0000 (17:04 +0200)]
Let PIL recognize/read files with embedded JPEG thumbnails in EXIF information
Joel Rosdahl [Wed, 25 Jul 2007 15:04:10 +0000 (17:04 +0200)]
Handle unknown image sanely when getting image size in CachingPixbufLoader
Joel Rosdahl [Wed, 25 Jul 2007 15:02:56 +0000 (17:02 +0200)]
Ignore maker notes when parsing EXIF information to improve performance
Joel Rosdahl [Wed, 25 Jul 2007 14:50:28 +0000 (16:50 +0200)]
Don't ignore .rej and .orig so that they are visible in "hg status" output
Joel Rosdahl [Wed, 25 Jul 2007 14:50:28 +0000 (16:50 +0200)]
Correct check target and rename it to test
Joel Rosdahl [Wed, 25 Jul 2007 12:53:27 +0000 (14:53 +0200)]
Compensate for decoding of EXIF orientation in EXIF.py 1.0.2
Joel Rosdahl [Tue, 24 Jul 2007 19:32:44 +0000 (21:32 +0200)]
Merge our EXIF.py with upstream version 1.0.2
Joel Rosdahl [Tue, 24 Jul 2007 16:28:33 +0000 (18:28 +0200)]
Update Debian package standards version
Joel Rosdahl [Tue, 24 Jul 2007 16:28:10 +0000 (18:28 +0200)]
Update Debian package dependencies
Joel Rosdahl [Tue, 24 Jul 2007 16:12:39 +0000 (18:12 +0200)]
Fix reloading of image in single object view (e.g., after image rotation)
Joel Rosdahl [Tue, 24 Jul 2007 15:22:35 +0000 (17:22 +0200)]
Fix race condition in image rotation introduced in
e2bc73e4b0a0
Joel Rosdahl [Tue, 24 Jul 2007 11:59:46 +0000 (13:59 +0200)]
Delete stale image after unsuccessful image version registration
Joel Rosdahl [Tue, 24 Jul 2007 11:01:17 +0000 (13:01 +0200)]
Change accelerator for left rotation to Ctrl+Shift+R since Ctrl+L now is used elsewhere
Joel Rosdahl [Mon, 4 Jun 2007 15:11:41 +0000 (17:11 +0200)]
Fix bad usage of key argument to sorted()
Joel Rosdahl [Sat, 26 May 2007 15:54:05 +0000 (17:54 +0200)]
Rename test files to test_*.py
Joel Rosdahl [Sat, 26 May 2007 15:38:45 +0000 (17:38 +0200)]
Move iodict tests to src/test and actually perform them in alltests.py
Joel Rosdahl [Sun, 20 May 2007 16:29:59 +0000 (18:29 +0200)]
Use subprocess module
Joel Rosdahl [Sun, 20 May 2007 16:29:56 +0000 (18:29 +0200)]
Use list.sort's keyword parameters
Joel Rosdahl [Sun, 20 May 2007 15:54:35 +0000 (17:54 +0200)]
Use list.sort's new keyword parameters
Joel Rosdahl [Sun, 20 May 2007 14:58:47 +0000 (16:58 +0200)]
Use built-in set datatype
Joel Rosdahl [Sun, 20 May 2007 14:53:57 +0000 (16:53 +0200)]
Require Python 2.4
Joel Rosdahl [Sat, 19 May 2007 16:31:03 +0000 (18:31 +0200)]
Don't require non-shifted commands in full screen view
Joel Rosdahl [Wed, 9 May 2007 18:25:58 +0000 (20:25 +0200)]
Add Ctrl+L binding for focusing the search field
Joel Rosdahl [Mon, 30 Apr 2007 17:38:05 +0000 (19:38 +0200)]
Return correctly from FullScreenWindow._key_press_event_cb
Joel Rosdahl [Mon, 30 Apr 2007 05:51:10 +0000 (07:51 +0200)]
Check event.state correctly in FullScreenWindow
Joel Rosdahl [Sun, 29 Apr 2007 20:51:31 +0000 (22:51 +0200)]
Add Ctrl+t key binding (and menu entry) for focusing the quick select entry
Joel Rosdahl [Sun, 29 Apr 2007 19:26:03 +0000 (21:26 +0200)]
Add key bindings for zooming in full screen mode
+ --> zoom in
- --> zoom out
0 --> actual size
= --> best fit
Joel Rosdahl [Sun, 29 Apr 2007 19:26:03 +0000 (21:26 +0200)]
Fix left click in full screen mode
Left mouse click now goes to the next image in full screen mode only
if the image is in best fit mode.
Joel Rosdahl [Sun, 29 Apr 2007 19:26:03 +0000 (21:26 +0200)]
Add ImageView.get_zoom_mode method
Joel Rosdahl [Sun, 29 Apr 2007 19:26:03 +0000 (21:26 +0200)]
Refactor imageview to use kofoto.alternative for zoom modes
Joel Rosdahl [Sun, 29 Apr 2007 19:26:03 +0000 (21:26 +0200)]
Add shortcuts for zooming
Ctrl-+ --> zoom in
Ctrl-- --> zoom out
Ctrl-0 --> actual size
Ctrl-= --> best fit
Joel Rosdahl [Sun, 29 Apr 2007 19:26:03 +0000 (21:26 +0200)]
Rebuild gkofoto.glade with newer glade version
Joel Rosdahl [Sun, 29 Apr 2007 19:25:32 +0000 (21:25 +0200)]
Add .hgignore
Joel Rosdahl [Sat, 16 Sep 2006 09:34:44 +0000 (09:34 +0000)]
Sorted helper functions. Improved variable names.
Joel Rosdahl [Sat, 16 Sep 2006 09:20:46 +0000 (09:20 +0000)]
Improved ImageView widget:
* Only the visible part of the image is drawn, which should make the
widget somewhat faster.
* The image can scrolled by mouse dragging.
* Zooming follows a center point instead of the upper-left corner.
* The mouse wheel can be used for zooming and the zoom is centered
around the mouse pointer.
Joel Rosdahl [Sat, 16 Sep 2006 08:58:45 +0000 (08:58 +0000)]
Create the invisible mouse cursor in a simpler way.
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.
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.
Joel Rosdahl [Tue, 5 Sep 2006 20:30:41 +0000 (20:30 +0000)]
Fixed ticket #115 ("GKofoto: Unhandled error when entering invalid
album tag").
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").
Joel Rosdahl [Tue, 5 Sep 2006 20:08:19 +0000 (20:08 +0000)]
Fixed some pylint warnings.
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.
Joel Rosdahl [Sun, 27 Aug 2006 18:21:04 +0000 (18:21 +0000)]
Made shelf tests 64-bit clean.
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.
Joel Rosdahl [Wed, 21 Jun 2006 19:45:16 +0000 (19:45 +0000)]
Adapted pylint disable messages to pylint 0.11.
Joel Rosdahl [Mon, 17 Apr 2006 15:39:41 +0000 (15:39 +0000)]
Removed redundant parentheses.
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.
Joel Rosdahl [Mon, 13 Feb 2006 20:04:25 +0000 (20:04 +0000)]
Implemented full screen viewing of image versions.
Joel Rosdahl [Mon, 13 Feb 2006 20:03:27 +0000 (20:03 +0000)]
Open and copy image version locations in the expected order.
Joel Rosdahl [Sat, 4 Feb 2006 14:35:46 +0000 (14:35 +0000)]
Added category count to print-statistics output.
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.
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.
Joel Rosdahl [Mon, 30 Jan 2006 18:43:07 +0000 (18:43 +0000)]
Next version: 0.6.
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.
Joel Rosdahl [Mon, 30 Jan 2006 18:37:24 +0000 (18:37 +0000)]
Released version 0.5.
Joel Rosdahl [Mon, 30 Jan 2006 18:26:29 +0000 (18:26 +0000)]
Display unknown image icon in ImageViews also.
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.
Joel Rosdahl [Mon, 30 Jan 2006 18:18:53 +0000 (18:18 +0000)]
Unset initial activation of the single object view menu entry.
Joel Rosdahl [Mon, 30 Jan 2006 17:42:14 +0000 (17:42 +0000)]
Preparations for 0.5.
Joel Rosdahl [Sun, 29 Jan 2006 19:04:10 +0000 (19:04 +0000)]
Bug fix in Rectangle.__eq__: Handle comparison with unsubscriptable object
correctly.
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.
Joel Rosdahl [Sun, 29 Jan 2006 16:49:41 +0000 (16:49 +0000)]
PEP8-ified raise clauses.
Joel Rosdahl [Sat, 28 Jan 2006 08:48:28 +0000 (08:48 +0000)]
Added some more debug code.
Joel Rosdahl [Sat, 28 Jan 2006 08:36:28 +0000 (08:36 +0000)]
Improved preloading and unloading in single object 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.
Joel Rosdahl [Tue, 24 Jan 2006 21:45:23 +0000 (21:45 +0000)]
Refactored FullscreenWindow._after_map_event.
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.
Joel Rosdahl [Tue, 24 Jan 2006 20:56:33 +0000 (20:56 +0000)]
More PEP8 changes.
Joel Rosdahl [Tue, 24 Jan 2006 20:54:31 +0000 (20:54 +0000)]
Bind Down and Up to next/previous in fullscreen view.
Joel Rosdahl [Tue, 24 Jan 2006 20:52:58 +0000 (20:52 +0000)]
Make pylint happier.
Ulrik Svensson [Tue, 24 Jan 2006 19:30:24 +0000 (19:30 +0000)]
Removing set_keep_above from 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.
Ulrik Svensson [Mon, 23 Jan 2006 20:53:24 +0000 (20:53 +0000)]
Hide mouse cursor in fullscreen 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.
Joel Rosdahl [Mon, 23 Jan 2006 20:11:33 +0000 (20:11 +0000)]
Better activation of object view from row activation in table view.
Ulrik Svensson [Mon, 23 Jan 2006 19:58:10 +0000 (19:58 +0000)]
Added simplistic fullscreen view. Partly resolves ticket #33
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.
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).
Joel Rosdahl [Mon, 23 Jan 2006 18:48:03 +0000 (18:48 +0000)]
Preloads should now be done with least important first.
Joel Rosdahl [Sat, 21 Jan 2006 17:35:47 +0000 (17:35 +0000)]
Bug fix in ImageView.get_wanted_image_size.
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.
Joel Rosdahl [Wed, 18 Jan 2006 21:39:24 +0000 (21:39 +0000)]
Restructured test code.
Joel Rosdahl [Wed, 18 Jan 2006 21:12:04 +0000 (21:12 +0000)]
Whitespace fix.
Joel Rosdahl [Wed, 18 Jan 2006 21:08:52 +0000 (21:08 +0000)]
Doc-string fixes.
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.
Joel Rosdahl [Wed, 18 Jan 2006 20:24:07 +0000 (20:24 +0000)]
Added set_priority method to PseudoThread.
Joel Rosdahl [Mon, 16 Jan 2006 22:13:23 +0000 (22:13 +0000)]
Bug fix in pruning logic.
Joel Rosdahl [Mon, 16 Jan 2006 21:31:40 +0000 (21:31 +0000)]
Implemented unload_all method in CachingPixbufLoader.
Joel Rosdahl [Mon, 16 Jan 2006 20:48:55 +0000 (20:48 +0000)]
Use Rectangle's scaling routines.
Joel Rosdahl [Mon, 16 Jan 2006 20:47:32 +0000 (20:47 +0000)]
Minor bug fix.
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.
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.
Joel Rosdahl [Mon, 16 Jan 2006 20:24:42 +0000 (20:24 +0000)]
New module: kofoto.rectangle.
Joel Rosdahl [Mon, 16 Jan 2006 20:11:58 +0000 (20:11 +0000)]
Minor performance and clarity improvements.
Joel Rosdahl [Thu, 29 Dec 2005 12:01:29 +0000 (12:01 +0000)]
Implemented PixbufLoader.
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.
Joel Rosdahl [Tue, 13 Dec 2005 19:27:33 +0000 (19:27 +0000)]
Improved doc string.
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.
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.