aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check the integrity of the image before performing the actual test.Olivier Tilloy2011-08-201-0/+5
|
* Correctly extract the type of an EXIF tag when read from an image.Olivier Tilloy2011-08-201-2/+9
|
* Added a unit test to verify that the type of an EXIF makernote tag is ↵Olivier Tilloy2011-08-203-1/+25
| | | | | correctly set when extracted from an image. Currently failing (see https://bugs.launchpad.net/pyexiv2/+bug/781464).
* Updated header.Olivier Tilloy2011-08-201-5/+2
|
* Check that Python ≥ 2.6 in the build script.Olivier Tilloy2011-08-191-0/+3
|\ | | | | Fail gracefully and with a meaningful error message if this is not the case.
| * Check that Python ≥ 2.6 in the build script.Olivier Tilloy2011-08-191-0/+3
|/ | | Fail gracefully and with a meaningful error message if this is not the case.
* Check the type before setting an XMP tag’s value and raise a TypeError if ↵Olivier Tilloy2011-08-184-9/+40
|\ | | | | | | | | it doesn’t match. Allow setting the value of a LangAlt tag to a single string, in which case it is automatically converted to {'x-default': value}.
| * Be flexible and allow setting the value of a LangAlt tag to a string,Olivier Tilloy2011-08-172-1/+9
| | | | | | in which case it is automatically converted to {'x-default': value}.
| * Add some sanity checks.Olivier Tilloy2011-08-171-0/+2
| |
| * Check the type before setting a tag’s value and raise a TypeError if it ↵Olivier Tilloy2011-08-172-1/+15
| | | | | | | | doesn’t match.
| * Updated copyright header of the file modified in the previous revision.Olivier Tilloy2011-08-171-1/+1
| |
| * White-list accepted tag families: 'exif', 'iptc', 'xmp'.Olivier Tilloy2011-08-171-6/+6
| | | | | | Any other family will raise a KeyError.
| * Add a unit test to check that using the dictionary interface with an ↵Olivier Tilloy2011-08-171-1/+8
|/ | | | incorrect tag family raises a KeyError as expected.
* 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
| |\ | |/ |/|