aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated the TODO list: using pkg-config does not make really sense as it ↵Olivier Tilloy2007-09-191-2/+0
| | | | adds a lot of complexity to the SConsctruct script and a dependency (on pkg-config itself), and boost_python does not seem to have a *.pc file anyway.
* Updated the TODO list.Olivier Tilloy2007-09-191-0/+1
|
* Explicitely returning the tag types as C++ strings.Olivier Tilloy2007-09-181-6/+6
|
* Updated the changelog for release 0.1 with more details on dependencies.Olivier Tilloy2007-09-171-1/+4
| | | | Note: the change won't be retrofitted in release 0.1.
* Fixed a bug reported by Damon Lynch: due to interface changes for exceptions ↵Olivier Tilloy2007-09-162-1/+8
| | | | management in libexiv2 0.13, libpyexiv2 would not compile against versions >= 0.13.
* When setting a datetime or time tag value, truncate the unused information ↵Olivier Tilloy2007-09-162-1/+16
| | | | (microseconds).
* Updated documentation.Olivier Tilloy2007-09-102-7/+2
|
* Updated changelog for version 0.1, tagging as release-0.1.release-0.1Olivier Tilloy2007-08-301-1/+4
|
* First release (version 0.1)! Added a ChangeLog file to track the future ↵Olivier Tilloy2007-08-302-1/+4
| | | | version changes.
* Updated the README file and the todo list.Olivier Tilloy2007-08-302-7/+51
|
* Updated the docstring documentation of module pyexiv2.Olivier Tilloy2007-08-272-16/+76
|
* Internally renamed methods getAvailableExifTags() and getAvailableIptcTags() ↵Olivier Tilloy2007-03-303-8/+12
| | | | | | to exifKeys() and iptcKeys(). Changed the type of exception raised when trying to get a value corresponding to an invalid IPTC key (TypeError, to comply with http://docs.python.org/ref/sequence-types.html).
* Removed methods isExigTagSet() and isIptcTagSet() as they are now useless ↵Olivier Tilloy2007-03-304-34/+0
| | | | thanks to exception management.
* Changed the type of exception raised when trying to get a value ↵Olivier Tilloy2007-03-302-6/+7
| | | | corresponding to an invalid key (TypeError, to comply with http://docs.python.org/ref/sequence-types.html).
* Updated the todo list.Olivier Tilloy2007-03-291-0/+1
|
* Added methods cacheAllExifTags() and cacheAllIptcTags() that read and cache ↵Olivier Tilloy2007-03-292-1/+8
| | | | | | all the tag values (to be called in a separate thread for applications that need to access all the tags anyway, will speed up subsequent access). Note: on my machine, tests do not show any obvious performance improvement as reading and converting a tag value to a Python type seems instantaneous anyway.
* Changed the name of methods getAvailableExifTags() and ↵Olivier Tilloy2007-03-291-2/+2
| | | | getAvailableIptcTags() to exifKeys() and iptcKeys().
* Getters and setters for EXIF and IPTC tags are now private (but beware! ↵Olivier Tilloy2007-03-294-31/+34
| | | | Python's concept of privacy does not totally forbid access to those members, it just makes them less straightforward), from the client's point of view, metadata should always be accessed using operator [].
* Internal accessor __setitem__ now handles tuples to be consistent with ↵Olivier Tilloy2007-03-272-9/+13
| | | | __getitem__ when dealing with repeatable IPTC tags (but passing it a list of values will also work, the list being internally converted into a tuple).
* Internal accessor __getitem__ now returns a tuple (immutable) when ↵Olivier Tilloy2007-03-272-0/+3
| | | | | | requesting the values of a repeatable IPTC tag. Updated the todo list.
* Updated the todo list with new ideas.Olivier Tilloy2007-03-181-2/+4
|
* Updated the todo list to reflect the recent modifications.Olivier Tilloy2007-03-181-3/+2
|
* Added a __delitem__(key) method to class Image in order to allow the use of ↵Olivier Tilloy2007-03-181-2/+25
| | | | the dictionary metaphor for write access to metadata tags.
* Added a __setitem__(key, value) method to class Image in order to allow the ↵Olivier Tilloy2007-03-181-0/+54
| | | | | | use of the dictionary metaphor for write access to metadata tags. TODO: define the corresponding __delitem__(key) method for completeness.
* Added a __getitem__(key) method to class Image in order to allow the use of ↵Olivier Tilloy2007-03-152-0/+27
| | | | | | the dictionary metaphor to access metadata tags. TODO: define the corresponding __setitem__(key, value) and __delitem__(key) methods for completeness.
* Changed the Python exception type an Exiv2::Error(KEY_NOT_FOUND, ...) is ↵Olivier Tilloy2007-03-151-1/+1
| | | | converted to (now a KeyError) for consistency with Python conventions.
* Updated the todo list with a fresh new idea :).Olivier Tilloy2007-03-141-0/+1
|
* The python part of the binding now correctly handles the possibility for an ↵Olivier Tilloy2007-03-134-11/+34
| | | | IPTC tag to be repeatable.
* Modified method Image::deleteIptcTag(...) to take into account the ↵Olivier Tilloy2007-03-132-9/+20
| | | | possibility for an IPTC tag to be repeatable.
* Modified methods Image::getIptcTag(...) and Image::setIptcTag(...) to take ↵Olivier Tilloy2007-03-122-23/+51
| | | | into account the possibility for an IPTC tag to be repeatable.
* Modified the behaviour of Image::getAvailableIptcTags(): it now returns a ↵Olivier Tilloy2007-03-082-4/+6
| | | | list without duplicates. This is a prerequisite to the implementation of an Iptc handler that can access all the instances of a given repeatable key.
* Updated the todo list (again!). Work work!Olivier Tilloy2007-03-071-2/+2
|
* Updated the todo list with fresh new ideas :).Olivier Tilloy2007-03-061-0/+3
|
* Added a recognized format for string to datetime conversion.Olivier Tilloy2007-03-041-1/+1
|
* Updated the C++ class' methods comments.Olivier Tilloy2007-01-201-24/+29
|
* Added two methods to class Image, isExifTagSet() and isIptcTagSet(), to ↵Olivier Tilloy2007-01-203-0/+32
| | | | determine whether a tag is set.
* Complete switch to C++/Python exceptions: methods do not return empty ↵Olivier Tilloy2007-01-204-79/+48
| | | | strings or tuples anymore, they throw an exception instead.
* Defined a new custom IO exception for when trying to access the metadata ↵Olivier Tilloy2007-01-201-60/+24
| | | | before the method readMetadata() has been called.
* Basic handling of Exiv2 exceptions which are now converted to corresponding ↵Olivier Tilloy2007-01-203-204/+162
| | | | Python exceptions.
* Added a fixme in the python source.Olivier Tilloy2007-01-202-6/+4
| | | | Updated the todo list.
* Times are now correctly handled by the methods Image::getIptcTagValue(...) ↵Olivier Tilloy2007-01-181-15/+6
| | | | and Image::setIptcTagValue(): they take into account a potential offset from UTC in an elegant manner (using the previously defined class FixedOffset).
* Removed useless history in file headers (what use is it when using a VCS ↵Olivier Tilloy2007-01-186-16/+0
| | | | anyway?).
* Added a concrete subclass of datetime.tzinfo, FixedOffset, to represent ↵Olivier Tilloy2007-01-181-0/+78
| | | | offsets from UTC for local times (will be used in the time representations of IPTC tag values).
* Added method setIptcTagValue() to class Image in the higher-level binding ↵Olivier Tilloy2007-01-172-3/+38
| | | | (still not complete).
* Utility functions StringToDate(string) and StringToTime(string) now ↵Olivier Tilloy2007-01-172-74/+54
| | | | correctly handle the IPTC date and time formats as returned by exiv2.
* Implemented utility function StringToTime(string) (could be improved but ↵Olivier Tilloy2007-01-162-6/+55
| | | | | | should work fine). See the first item of the todo list about exiv2's format for IPTC dates and times.
* Moved the todo list out of the source directory where it did not belong.Olivier Tilloy2007-01-161-0/+0
|
* Updated the todo list.Olivier Tilloy2007-01-102-2/+4
| | | | Minor changes in the README file.
* Added utility functions: StringToDate(string) and StringToTime(string) (this ↵Olivier Tilloy2007-01-101-5/+88
| | | | | | one needs implementing). Added method getIptcTagValue() to class Image in the higher-level binding: uses python native types and classes to type the values of IPTC tags.
* Considerably improved the ascii to datetime conversion for EXIF tags.Olivier Tilloy2007-01-082-8/+36
|