aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Throw an exception instead of silently failing when unable to parse the raw ↵Olivier Tilloy2010-11-171-3/+19
| | | | | | value for EXIF and IPTC tags. Note that parsing never fails for XMP tags. Added corresponding unit tests.
* Strip trailing white spaces in string_to_undefined(…).Olivier Tilloy2010-11-151-4/+4
| | | New unit tests for string ⟷ undefined conversions.
* Turn ImageMetadata into MutableMappingAntti Siira2010-09-301-1/+9
|
* When deleting a tag, remove its key from the cache too.Olivier Tilloy2010-09-291-0/+6
| | | Many thanks to Antti Siira for spotting the issue and proposing a patch.
* Swallow all warnings and error messages written by libexiv2 to stderr.Olivier Tilloy2010-08-271-0/+5
|
* Sanity check when setting the parent image of a tag:Olivier Tilloy2010-08-241-2/+26
| | | if it’s already the same parent, don’t do anything.
* IOError accepts a filename as third parameter to its constructor.Olivier Tilloy2010-06-021-1/+1
|
* Fixed some harmless compilation warningsOlivier Tilloy2010-05-302-3/+7
| | | (thanks to Rob Healey for pointing them out).
* Bumped version number to 0.2.2.Olivier Tilloy2010-05-271-1/+1
|
* Add the new preview module to the build rules.Olivier Tilloy2010-05-261-1/+1
|
* Optionnally preserve the file's timestamp when writing back metadata.Olivier Tilloy2010-05-261-1/+20
|
* Don't copy the metadata internally, just keep a pointer to it.Olivier Tilloy2010-05-242-37/+34
| | | This should speed up the reading and writing of metadata.
* Copy the image comment when copying all the metadata from one image to the ↵Olivier Tilloy2010-05-211-1/+5
| | | | other.
* Get, set and delete the image comment.Olivier Tilloy2010-05-214-0/+43
|
* API documentation: include the preview module.Olivier Tilloy2010-05-201-1/+1
|
* Thin wrapper on top of libexiv2python.Preview, for a better encapsulation.Olivier Tilloy2010-05-204-23/+88
|
* Attach the image's XmpData to a tag when it is assigned to an image.Olivier Tilloy2010-05-205-83/+43
| | | | Remove redundant code that would set the value of a tag twice (in the tag itself, and in the image). Remove the now useless metadata attribute.
* Moving around the code that writes IPTC tag values,Olivier Tilloy2010-05-201-53/+43
| | | there is no need for it to be in its own static function now.
* Attach the image's IptcData to a tag when it is assigned to an image.Olivier Tilloy2010-05-195-36/+16
| | | | Remove redundant code that would set the values of a tag twice (in the tag itself, and in the image). Remove the now useless metadata attribute.
* Attach the image's ExifData to a tag when it is assigned to an image.Olivier Tilloy2010-05-195-33/+21
| | | | Remove redundant code that would set the value of a tag twice (in the tag itself, and in the image). Remove the now useless metadata attribute.
* Do not re-set the value of a tag when reading it.Olivier Tilloy2010-05-193-5/+16
|
* Do not copy a subset of the IptcData, instead pass around a pointer to it ↵Olivier Tilloy2010-05-182-97/+90
| | | | | | | and do the required arithmetics. This avoids leaking memory when instantiating an IptcTag from existing metadata. Factored out the code that sets the values of an IptcData for a given key (used in two places). Got rid of the copy of the FindIptcdatum unary predicate.
* Free the allocated memory when deleting an XmpTag.Olivier Tilloy2010-05-182-1/+14
|
* Free the allocated memory when deleting an IptcTag.Olivier Tilloy2010-05-172-1/+14
|
* Free the allocated memory when deleting an ExifTag.Olivier Tilloy2010-05-172-0/+10
|
* Bumped version number to 0.2.1.Olivier Tilloy2010-04-261-1/+1
|
* Use the proper delete[] operator to deallocate the memory block pointed by ↵Olivier Tilloy2010-04-161-1/+1
| | | | _data.
* Do not leak the data passed to ImageMetadata.from_buffer.Olivier Tilloy2010-04-142-7/+21
|
* Removed useless markup from the module's docstring.Olivier Tilloy2010-03-241-4/+4
|
* Do not try to encode filename if it is None,Olivier Tilloy2010-03-191-1/+3
| | | which happens when instantiating an ImageMetadata from a buffer.
* Merge the master branch.Olivier Tilloy2010-03-182-13/+27
|\
| * Install only selected modules (exclude main).Olivier Tilloy2010-03-181-1/+3
| |
| * Do not add the --user switch for Python < 2.6.Olivier Tilloy2010-03-181-4/+9
| |
| * Add a --user switch to the install target to install pyexiv2 in the user ↵Olivier Tilloy2010-03-181-9/+17
| | | | | | | | site directory.
| * Encode file names in the file system encoding.Olivier Tilloy2010-03-181-3/+2
| | | | | | Original patch by Rob Wallace.
* | getDataBuffer() now releases the GIL to allow other python threads to runOlivier Tilloy2010-03-171-1/+10
| | | | | | while reading image data.
* | Updated API documentation.Olivier Tilloy2010-03-171-8/+8
| |
* | Made buffer() a property.Olivier Tilloy2010-03-171-4/+5
| |
* | New data_buffer() method to get the image buffer.Olivier Tilloy2010-03-174-0/+58
| |
* | Instantiate an image from a data buffer.Olivier Tilloy2010-03-164-5/+39
|/
* Comment to explain the exception handlingOlivier Tilloy2010-03-161-0/+6
| | | outside of the Py_{BEGIN,END}_ALLOW_THREADS block.
* Clean error handling outside of the Py_{BEGIN,END}_ALLOW_THREADS blocks.Olivier Tilloy2010-03-161-9/+37
| | | This will effectively throw exceptions instead of nasty segmentation faults.
* No need for a boolean to test for error.Olivier Tilloy2010-03-161-3/+1
|
* Copy the error instead of instantiating a new one from its code.Olivier Tilloy2010-03-161-4/+4
|
* Explain the BOOSTLIB argument.Olivier Tilloy2010-02-221-0/+3
|
* Allow the builder to specify a custom name for the boost::python libraryMark Lee2010-02-211-1/+1
| | | | | | | Needed, for example, when building on certain versions of Debian and Ubuntu (because they added the -mt suffix to the library names). Example: `scons BOOSTLIB=boost_python-mt`
* More explicit parameter names: tag_or_value.Olivier Tilloy2010-02-171-14/+22
|
* Adapted the examples to make use of direct value assignment,Olivier Tilloy2010-02-171-8/+7
| | | which makes the syntax much lighter to application developers.
* Direct value assignment as an alternative to passing a fully-formed tag.Olivier Tilloy2010-02-171-7/+12
|
* Complete documentation generated with sphinx.Olivier Tilloy2010-02-167-251/+250
|\