aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow assigning dates earlier than the year 1900.Olivier Tilloy2011-08-129-49/+406
|\ | | | | | | This requires a custom DateTimeFormatter helper as Python’s strftime() doesn’t support years before 1900 (see http://docs.python.org/library/datetime.html#strftime-strptime-behavior for details).
| * Custom DateTimeFormatter helper to convert date/time objects to strings ↵Olivier Tilloy2011-08-126-49/+364
| | | | | | | | conforming to the EXIF/IPTC/XMP formats.
| * Fixed a unit test.Olivier Tilloy2011-08-041-1/+1
| |
| * Added some (failing) unit tests for date conversion for dates prior to year ↵Olivier Tilloy2011-08-043-0/+42
|/ | | | 1900.
* Fix timezone formatting when writing IPTC and XMP tags.Olivier Tilloy2011-08-035-7/+53
|\ | | | | | | | | This introduces an optional dependency on python-tz in unit tests. Original patch by Petri Damstén, thanks Petri!
| * Updated developers documentation to mention the optional dependency of some ↵Olivier Tilloy2011-08-031-0/+5
| | | | | | | | unit tests on python-tz.
| * Fix timezone formatting when writing XMP tags.Olivier Tilloy2011-08-022-4/+30
| | | | | | This introduces an optional dependency on python-tz in unit tests.
| * Fix timezone formatting when writing IPTC tags.Olivier Tilloy2011-08-022-3/+18
|/ | | This introduces an optional dependency on python-tz in unit tests.
* Do not try (and fail!) to encode non-unicode filenames.Olivier Tilloy2011-08-012-5/+11
|\
| * Do not try (and fail!) to encode non-unicode filenames.Olivier Tilloy2011-08-012-5/+11
|/ | | More complete unit tests.
* Always write extracted previews as binary files.Olivier Tilloy2011-07-301-1/+1
|\ | | | | On windows this is necessary, otherwise the data written on disk is corrupted and results in bogus image files.
| * Always write extracted previews as binary files.Olivier Tilloy2011-07-301-1/+1
|/ | | On windows this is necessary, otherwise the data written on disk is corrupted and results in bogus image files.
* Added a __repr__ method to the Rational class.Hobson Lane2011-07-233-1/+14
|\
| * Added unit tests for Rational.__repr__().Olivier Tilloy2011-07-231-0/+5
| |
| * Added __str__ and __repr__ to the auto-generated API documentation for the ↵Olivier Tilloy2011-07-231-1/+1
| | | | | | | | Rational class.
| * Added missing whitespaces after commas.Olivier Tilloy2011-07-231-1/+1
| |
| * Simplified the docstring.Olivier Tilloy2011-07-231-4/+1
| |
| * Added a __repr__ method to the Rational class.Hobson Lane2011-07-231-0/+11
|/
* Do not fail to parse rationals stored as '0/0'.Olivier Tilloy2011-05-244-10/+58
|\ | | | | In the wonderful world of EXIF metadata, this means a null fraction, i.e. 0/1.
| * Document make_fraction and recommend its use instead of directly ↵Olivier Tilloy2011-05-242-0/+4
| | | | | | | | instantiating Rational objects.
| * Do not fail to parse rationals stored as '0/0'.Olivier Tilloy2011-05-243-10/+54
|/ | | In the crazy world of EXIF metadata, this means a null fraction, i.e. 0/1.
* Updated todo list, #2.Olivier Tilloy2011-02-181-0/+2
|
* Updated todo list.Olivier Tilloy2011-02-181-9/+0
|
* Updated the list of tags in the developers’ documentation.Olivier Tilloy2011-02-181-0/+4
|
* Updated documentation: pyexiv2 0.3 requires Python ≥ 2.6,Olivier Tilloy2011-02-073-3/+3
| | | because ImageMetadata implements collections.MutableMapping that was introduced in Python 2.6.
* Invoke the sphinx builder without named parameters.Olivier Tilloy2011-01-011-1/+1
| | | The "all_files" parameter (as found in sphinx 0.6.6) was renamed to "force_all" in sphinx 1.0.
* Merge the 0.3.0 release.release-0.3.0Olivier Tilloy2010-12-313-2/+55
|\
| * Updated NEWS.Olivier Tilloy2010-12-311-0/+53
| |
| * Bumped version number to 0.3.0.Olivier Tilloy2010-12-292-2/+2
|/
* Use fractions.Fraction when available in the standard library (Python ≥ 2.6),Olivier Tilloy2010-12-2610-84/+158
|\ | | | | or fallback on the custom Rational class in a transparent manner.
| * New convenience function to factorize further the code that handles ↵Olivier Tilloy2010-12-263-16/+29
| | | | | | | | fractions: fraction_to_string(...).
| * Handle fractions in a transparent manner,Olivier Tilloy2010-12-268-82/+74
| | | | | | using the convenience functions defined in module pyexiv2.utils.
| * is_fraction and make_fraction: convenience functions to handle transparentlyOlivier Tilloy2010-12-243-2/+71
|/ | | the conditional availability of the fractions module in the standard library (Python ≥ 2.6).
* Add pickling support to tags.Olivier Tilloy2010-12-225-0/+146
|\
| * Support pickling XMP tags.Olivier Tilloy2010-12-222-0/+34
| |
| * Support pickling IPTC tags.Olivier Tilloy2010-12-222-1/+35
| |
| * Merged the latest changes from the trunk.Olivier Tilloy2010-12-222-14/+19
| |\ | |/ |/|
* | Fix the IPTC Time type to string conversion,Olivier Tilloy2010-12-222-14/+19
| | | | | | | | the string expected by exiv2's TimeValue::read(string) does not respect the IPTC specification ('%H:%M:%S±%H:%M' instead of '%H%M%S±%H%M).
| * Support pickling EXIF tags.Olivier Tilloy2010-12-223-0/+78
|/
* Added an iptc_charset property to the ImageMetadata class,Olivier Tilloy2010-12-227-2/+136
|\ | | | | to get, set and delete the (optional) IPTC charset.
| * Added a section on iptc_charset to the tutorial.Olivier Tilloy2010-12-221-0/+17
| |
| * Unit tests for the IPTC charset.Olivier Tilloy2010-12-201-0/+65
| |
| * API documentation for the iptc_charset property.Olivier Tilloy2010-12-201-2/+3
| |
| * Added an iptc_charset property to the ImageMetadata class,Olivier Tilloy2010-12-204-0/+51
|/ | | to get, set and delete the (optional) IPTC charset.
* API to (un)register custom XMP namespaces.Olivier Tilloy2010-12-179-3/+256
|\ | | | | A known limitation of this implementation is that only simple text values can be written to tags in a custom namespace.
| * Added a section on custom XMP namespaces to the tutorial.Olivier Tilloy2010-12-171-0/+13
| |
| * EMPTY_JPG_DATA was moved to the testutils module.Olivier Tilloy2010-12-171-2/+1
| |
| * Merged latest changes from trunk.Olivier Tilloy2010-12-1722-84/+409
| |\ | |/ |/|
* | Moved EMPTY_JPG_DATA to the testutils module.Olivier Tilloy2010-12-173-20/+21
| |
* | Decode and encode EXIF comments according to the specified charset.Olivier Tilloy2010-12-1712-9/+230
|\ \