joel/kofoto.git
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.

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

14 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.

14 years agoFix bug introduced in the pylint cleanup race.
Joel Rosdahl [Tue, 27 Sep 2005 22:03:01 +0000 (22:03 +0000)]
Fix bug introduced in the pylint cleanup race.

14 years agoDoc string fix.
Joel Rosdahl [Tue, 27 Sep 2005 06:32:45 +0000 (06:32 +0000)]
Doc string fix.

14 years agoMore pylint-related changes.
Joel Rosdahl [Tue, 27 Sep 2005 06:28:57 +0000 (06:28 +0000)]
More pylint-related changes.

14 years agoRefactoring and more pylint-related changes.
Joel Rosdahl [Sun, 25 Sep 2005 20:47:52 +0000 (20:47 +0000)]
Refactoring and more pylint-related changes.

14 years agoSaner pylint defaults.
Joel Rosdahl [Sun, 25 Sep 2005 13:47:14 +0000 (13:47 +0000)]
Saner pylint defaults.

14 years agoMake pylint complain less about kofoto.commandline.
Joel Rosdahl [Sun, 25 Sep 2005 13:46:36 +0000 (13:46 +0000)]
Make pylint complain less about kofoto.commandline.

14 years agoExperiment with pylint to check source code.
Joel Rosdahl [Sun, 25 Sep 2005 10:12:42 +0000 (10:12 +0000)]
Experiment with pylint to check source code.

14 years agoReorganized source code hierarchy:
Joel Rosdahl [Wed, 21 Sep 2005 20:32:35 +0000 (20:32 +0000)]
Reorganized source code hierarchy:

 * Renamed src/lib to src/packages.
 * Moved src/gkofoto/gkofoto to src/packages/kofoto/gkofoto.
 * Moved src/cmdline/kofoto to src/packages/kofoto/commandline/main.py
   and wrote a new, simple src/cmdline/kofoto that uses
   kofoto.commandline.main.
 * Adjusted code for new package locations.

This was mostly done for consistency reasons. It also opens the door
to using pychecker and pylint in a better way.

14 years agoDrop database connection in the database upgrade code so that the
Joel Rosdahl [Mon, 19 Sep 2005 17:30:04 +0000 (17:30 +0000)]
Drop database connection in the database upgrade code so that the
file handle is closed before renaming the new database. This is
needed since open files can't be renamed on Windows.

14 years agoBugfix
Ulrik Svensson [Sun, 18 Sep 2005 18:19:26 +0000 (18:19 +0000)]
Bugfix

14 years agoTry to encode external command strings in proper localized codeset.
Joel Rosdahl [Sat, 10 Sep 2005 08:53:00 +0000 (08:53 +0000)]
Try to encode external command strings in proper localized codeset.
Fixes ticket #104.

14 years agoRead root album tag from optional parameter.
Joel Rosdahl [Sun, 4 Sep 2005 20:00:34 +0000 (20:00 +0000)]
Read root album tag from optional parameter.

14 years agoMake webkofoto know about image versions.
Joel Rosdahl [Sun, 4 Sep 2005 19:51:46 +0000 (19:51 +0000)]
Make webkofoto know about image versions.

14 years agoImproved algorithm used by registerImageVersions to find new unregistered image versions.
Ulrik Svensson [Sat, 20 Aug 2005 19:15:47 +0000 (19:15 +0000)]
Improved algorithm used by registerImageVersions to find new unregistered image versions.

14 years agoBugfix related to image-versions and HTML-generation
Ulrik Svensson [Sat, 20 Aug 2005 12:53:30 +0000 (12:53 +0000)]
Bugfix related to image-versions and HTML-generation

14 years agoFix HTML generation in non-UTF-8 locales.
Joel Rosdahl [Sat, 20 Aug 2005 06:54:40 +0000 (06:54 +0000)]
Fix HTML generation in non-UTF-8 locales.

14 years agoReload single object view properly after editing image version properties.
Joel Rosdahl [Sat, 20 Aug 2005 06:37:28 +0000 (06:37 +0000)]
Reload single object view properly after editing image version properties.

14 years agoCorrected typo
Ulrik Svensson [Fri, 19 Aug 2005 22:23:35 +0000 (22:23 +0000)]
Corrected typo

14 years agoAdded default action in "duplicate image and open" dialog.
Joel Rosdahl [Fri, 19 Aug 2005 20:54:15 +0000 (20:54 +0000)]
Added default action in "duplicate image and open" dialog.

14 years agoHandle album tags with characters outside latin1 correctly in
Joel Rosdahl [Mon, 18 Jul 2005 21:36:31 +0000 (21:36 +0000)]
Handle album tags with characters outside latin1 correctly in
HTML generation dialog.

14 years agoCorrected use of locale/unicode flags to the re engine.
Joel Rosdahl [Mon, 18 Jul 2005 21:31:07 +0000 (21:31 +0000)]
Corrected use of locale/unicode flags to the re engine.

14 years agoImproved image version registration: Make last registered image
Joel Rosdahl [Fri, 15 Jul 2005 15:09:45 +0000 (15:09 +0000)]
Improved image version registration: Make last registered image
version primary.

Reload single object view properly after changing image versions
attributes.

14 years agoImplemented new features in gkofoto:
Joel Rosdahl [Fri, 15 Jul 2005 09:22:53 +0000 (09:22 +0000)]
Implemented new features in gkofoto:

* Duplicate image/imageversion and open in external program.
* Register image versions.

14 years agoImproved exception formatting in crash dialog.
Joel Rosdahl [Thu, 14 Jul 2005 19:39:07 +0000 (19:39 +0000)]
Improved exception formatting in crash dialog.

14 years agoImproved order of image versions menu.
Joel Rosdahl [Thu, 14 Jul 2005 10:04:15 +0000 (10:04 +0000)]
Improved order of image versions menu.

Added top level menu for image versions.

14 years agoBug fix in Shelf.getImageVersionsInDirectory.
Joel Rosdahl [Mon, 11 Jul 2005 08:20:10 +0000 (08:20 +0000)]
Bug fix in Shelf.getImageVersionsInDirectory.

14 years agoAdded test exposing a bug in Shelf.getImageVersionsInDirectory.
Joel Rosdahl [Mon, 11 Jul 2005 08:17:27 +0000 (08:17 +0000)]
Added test exposing a bug in Shelf.getImageVersionsInDirectory.

14 years agoDon't show crash dialog for keyboard interrupt.
Joel Rosdahl [Mon, 4 Jul 2005 13:32:44 +0000 (13:32 +0000)]
Don't show crash dialog for keyboard interrupt.

14 years agoConverted to UTF-8.
Joel Rosdahl [Mon, 4 Jul 2005 08:11:15 +0000 (08:11 +0000)]
Converted to UTF-8.

14 years agoAdd versions column to the table view if not already present in the
Joel Rosdahl [Wed, 29 Jun 2005 20:56:50 +0000 (20:56 +0000)]
Add versions column to the table view if not already present in the
default_table_columns configuration option. This solves (in a hacky
way) the problem of how to make the versions column visible after
upgrade from an earlier version.

14 years agoMerged the image-versions branch to the trunk.
Joel Rosdahl [Thu, 23 Jun 2005 17:43:37 +0000 (17:43 +0000)]
Merged the image-versions branch to the trunk.

14 years agoMerged revisions 770-771 via svnmerge from
Joel Rosdahl [Wed, 22 Jun 2005 20:09:24 +0000 (20:09 +0000)]
Merged revisions 770-771 via svnmerge from
/kofoto/trunk

14 years agoMinor fix in CrashDialog.
Joel Rosdahl [Wed, 22 Jun 2005 20:08:31 +0000 (20:08 +0000)]
Minor fix in CrashDialog.

14 years agoMerged revisions 755-769 via svnmerge from
Joel Rosdahl [Wed, 22 Jun 2005 19:40:04 +0000 (19:40 +0000)]
Merged revisions 755-769 via svnmerge from
/kofoto/trunk

14 years agoCatch exceptions and show them in a message dialog (ticket #37).
Joel Rosdahl [Tue, 21 Jun 2005 18:32:37 +0000 (18:32 +0000)]
Catch exceptions and show them in a message dialog (ticket #37).

14 years agoRemoved import of unused module.
Joel Rosdahl [Sat, 18 Jun 2005 10:32:50 +0000 (10:32 +0000)]
Removed import of unused module.

14 years agoRemoved code that tweaked the PATH variable on Windows. It doesn't
Joel Rosdahl [Fri, 17 Jun 2005 20:56:00 +0000 (20:56 +0000)]
Removed code that tweaked the PATH variable on Windows. It doesn't
seem necessary to fiddle with PATH anymore since newer GTK+ win32
installers add the GTK directory to PATH automatically.

14 years agoHandle too new database formats gracefully.
Joel Rosdahl [Fri, 17 Jun 2005 19:52:12 +0000 (19:52 +0000)]
Handle too new database formats gracefully.

14 years agoShow informative message when upgrading database.
Joel Rosdahl [Fri, 17 Jun 2005 19:40:00 +0000 (19:40 +0000)]
Show informative message when upgrading database.

14 years agoImproved database upgrade message.
Joel Rosdahl [Fri, 17 Jun 2005 19:16:10 +0000 (19:16 +0000)]
Improved database upgrade message.

14 years agoDocumentation update.
Joel Rosdahl [Tue, 14 Jun 2005 17:58:31 +0000 (17:58 +0000)]
Documentation update.

14 years agoDocumentation update and other minor tweaks.
Joel Rosdahl [Tue, 14 Jun 2005 17:57:32 +0000 (17:57 +0000)]
Documentation update and other minor tweaks.

14 years agoRemoved hopefully unnecessary callback.
Joel Rosdahl [Tue, 14 Jun 2005 17:56:04 +0000 (17:56 +0000)]
Removed hopefully unnecessary callback.

14 years agoUpdate image version count properly after splitting image versions.
Joel Rosdahl [Mon, 13 Jun 2005 20:11:46 +0000 (20:11 +0000)]
Update image version count properly after splitting image versions.

14 years agoReload views appropriately after splitting a primary image version.
Joel Rosdahl [Mon, 13 Jun 2005 19:45:37 +0000 (19:45 +0000)]
Reload views appropriately after splitting a primary image version.

14 years agoBug fix in ImageVersion.setImage.
Joel Rosdahl [Mon, 13 Jun 2005 19:41:53 +0000 (19:41 +0000)]
Bug fix in ImageVersion.setImage.

14 years agoAdded a test triggering a bug in the current shelf.py.
Joel Rosdahl [Mon, 13 Jun 2005 19:40:50 +0000 (19:40 +0000)]
Added a test triggering a bug in the current shelf.py.

14 years agoSmall bug fix in ImageVersionsList.__split.
Joel Rosdahl [Mon, 13 Jun 2005 18:56:22 +0000 (18:56 +0000)]
Small bug fix in ImageVersionsList.__split.

14 years agoMerged revisions 745-754 via svnmerge from
Joel Rosdahl [Sun, 12 Jun 2005 21:09:34 +0000 (21:09 +0000)]
Merged revisions 745-754 via svnmerge from
/kofoto/trunk

14 years agoFinished major parts of image versions UI.
Joel Rosdahl [Sun, 12 Jun 2005 21:06:17 +0000 (21:06 +0000)]
Finished major parts of image versions UI.

14 years agoDon't create empty image objects for non-images when registering.
Joel Rosdahl [Sun, 12 Jun 2005 20:43:32 +0000 (20:43 +0000)]
Don't create empty image objects for non-images when registering.

14 years agoSome more work on UI for image versions.
Joel Rosdahl [Sat, 11 Jun 2005 17:11:55 +0000 (17:11 +0000)]
Some more work on UI for image versions.

14 years agoSome more work on UI for image versions.
Joel Rosdahl [Sun, 5 Jun 2005 21:15:52 +0000 (21:15 +0000)]
Some more work on UI for image versions.

14 years agoReload album tree if an album is destroyed in the table view. Fixes
Joel Rosdahl [Mon, 16 May 2005 16:57:07 +0000 (16:57 +0000)]
Reload album tree if an album is destroyed in the table view. Fixes
ticket #93.

14 years agoReleased version 0.3.3.
Joel Rosdahl [Sat, 14 May 2005 17:47:28 +0000 (17:47 +0000)]
Released version 0.3.3.

14 years agoMerged 0.3.3 preparations from the version-0.3.x branch.
Joel Rosdahl [Sat, 14 May 2005 17:28:02 +0000 (17:28 +0000)]
Merged 0.3.3 preparations from the version-0.3.x branch.

14 years agoPreparations for version 0.3.3.
Joel Rosdahl [Sat, 14 May 2005 17:25:19 +0000 (17:25 +0000)]
Preparations for version 0.3.3.

14 years agoMerged changeset 744 from the trunk.
Joel Rosdahl [Sat, 14 May 2005 10:09:53 +0000 (10:09 +0000)]
Merged changeset 744 from the trunk.

14 years agoMerged revisions 743-744 via svnmerge from
Joel Rosdahl [Sat, 14 May 2005 10:08:54 +0000 (10:08 +0000)]
Merged revisions 743-744 via svnmerge from
/kofoto/trunk

14 years agoMore bug fixes for problems related to cut/copy/paste.
Joel Rosdahl [Sat, 14 May 2005 10:08:26 +0000 (10:08 +0000)]
More bug fixes for problems related to cut/copy/paste.