Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Throw an exception instead of silently failing when unable to parse the raw ↵ | Olivier Tilloy | 2010-11-17 | 1 | -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 Tilloy | 2010-11-15 | 1 | -4/+4 | |
| | | | New unit tests for string ⟷ undefined conversions. | |||||
* | Turn ImageMetadata into MutableMapping | Antti Siira | 2010-09-30 | 1 | -1/+9 | |
| | ||||||
* | When deleting a tag, remove its key from the cache too. | Olivier Tilloy | 2010-09-29 | 1 | -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 Tilloy | 2010-08-27 | 1 | -0/+5 | |
| | ||||||
* | Sanity check when setting the parent image of a tag: | Olivier Tilloy | 2010-08-24 | 1 | -2/+26 | |
| | | | if it’s already the same parent, don’t do anything. | |||||
* | IOError accepts a filename as third parameter to its constructor. | Olivier Tilloy | 2010-06-02 | 1 | -1/+1 | |
| | ||||||
* | Fixed some harmless compilation warnings | Olivier Tilloy | 2010-05-30 | 2 | -3/+7 | |
| | | | (thanks to Rob Healey for pointing them out). | |||||
* | Bumped version number to 0.2.2. | Olivier Tilloy | 2010-05-27 | 1 | -1/+1 | |
| | ||||||
* | Add the new preview module to the build rules. | Olivier Tilloy | 2010-05-26 | 1 | -1/+1 | |
| | ||||||
* | Optionnally preserve the file's timestamp when writing back metadata. | Olivier Tilloy | 2010-05-26 | 1 | -1/+20 | |
| | ||||||
* | Don't copy the metadata internally, just keep a pointer to it. | Olivier Tilloy | 2010-05-24 | 2 | -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 Tilloy | 2010-05-21 | 1 | -1/+5 | |
| | | | | other. | |||||
* | Get, set and delete the image comment. | Olivier Tilloy | 2010-05-21 | 4 | -0/+43 | |
| | ||||||
* | API documentation: include the preview module. | Olivier Tilloy | 2010-05-20 | 1 | -1/+1 | |
| | ||||||
* | Thin wrapper on top of libexiv2python.Preview, for a better encapsulation. | Olivier Tilloy | 2010-05-20 | 4 | -23/+88 | |
| | ||||||
* | Attach the image's XmpData to a tag when it is assigned to an image. | Olivier Tilloy | 2010-05-20 | 5 | -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 Tilloy | 2010-05-20 | 1 | -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 Tilloy | 2010-05-19 | 5 | -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 Tilloy | 2010-05-19 | 5 | -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 Tilloy | 2010-05-19 | 3 | -5/+16 | |
| | ||||||
* | Do not copy a subset of the IptcData, instead pass around a pointer to it ↵ | Olivier Tilloy | 2010-05-18 | 2 | -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 Tilloy | 2010-05-18 | 2 | -1/+14 | |
| | ||||||
* | Free the allocated memory when deleting an IptcTag. | Olivier Tilloy | 2010-05-17 | 2 | -1/+14 | |
| | ||||||
* | Free the allocated memory when deleting an ExifTag. | Olivier Tilloy | 2010-05-17 | 2 | -0/+10 | |
| | ||||||
* | Bumped version number to 0.2.1. | Olivier Tilloy | 2010-04-26 | 1 | -1/+1 | |
| | ||||||
* | Use the proper delete[] operator to deallocate the memory block pointed by ↵ | Olivier Tilloy | 2010-04-16 | 1 | -1/+1 | |
| | | | | _data. | |||||
* | Do not leak the data passed to ImageMetadata.from_buffer. | Olivier Tilloy | 2010-04-14 | 2 | -7/+21 | |
| | ||||||
* | Removed useless markup from the module's docstring. | Olivier Tilloy | 2010-03-24 | 1 | -4/+4 | |
| | ||||||
* | Do not try to encode filename if it is None, | Olivier Tilloy | 2010-03-19 | 1 | -1/+3 | |
| | | | which happens when instantiating an ImageMetadata from a buffer. | |||||
* | Merge the master branch. | Olivier Tilloy | 2010-03-18 | 2 | -13/+27 | |
|\ | ||||||
| * | Install only selected modules (exclude main). | Olivier Tilloy | 2010-03-18 | 1 | -1/+3 | |
| | | ||||||
| * | Do not add the --user switch for Python < 2.6. | Olivier Tilloy | 2010-03-18 | 1 | -4/+9 | |
| | | ||||||
| * | Add a --user switch to the install target to install pyexiv2 in the user ↵ | Olivier Tilloy | 2010-03-18 | 1 | -9/+17 | |
| | | | | | | | | site directory. | |||||
| * | Encode file names in the file system encoding. | Olivier Tilloy | 2010-03-18 | 1 | -3/+2 | |
| | | | | | | Original patch by Rob Wallace. | |||||
* | | getDataBuffer() now releases the GIL to allow other python threads to run | Olivier Tilloy | 2010-03-17 | 1 | -1/+10 | |
| | | | | | | while reading image data. | |||||
* | | Updated API documentation. | Olivier Tilloy | 2010-03-17 | 1 | -8/+8 | |
| | | ||||||
* | | Made buffer() a property. | Olivier Tilloy | 2010-03-17 | 1 | -4/+5 | |
| | | ||||||
* | | New data_buffer() method to get the image buffer. | Olivier Tilloy | 2010-03-17 | 4 | -0/+58 | |
| | | ||||||
* | | Instantiate an image from a data buffer. | Olivier Tilloy | 2010-03-16 | 4 | -5/+39 | |
|/ | ||||||
* | Comment to explain the exception handling | Olivier Tilloy | 2010-03-16 | 1 | -0/+6 | |
| | | | outside of the Py_{BEGIN,END}_ALLOW_THREADS block. | |||||
* | Clean error handling outside of the Py_{BEGIN,END}_ALLOW_THREADS blocks. | Olivier Tilloy | 2010-03-16 | 1 | -9/+37 | |
| | | | This will effectively throw exceptions instead of nasty segmentation faults. | |||||
* | No need for a boolean to test for error. | Olivier Tilloy | 2010-03-16 | 1 | -3/+1 | |
| | ||||||
* | Copy the error instead of instantiating a new one from its code. | Olivier Tilloy | 2010-03-16 | 1 | -4/+4 | |
| | ||||||
* | Explain the BOOSTLIB argument. | Olivier Tilloy | 2010-02-22 | 1 | -0/+3 | |
| | ||||||
* | Allow the builder to specify a custom name for the boost::python library | Mark Lee | 2010-02-21 | 1 | -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 Tilloy | 2010-02-17 | 1 | -14/+22 | |
| | ||||||
* | Adapted the examples to make use of direct value assignment, | Olivier Tilloy | 2010-02-17 | 1 | -8/+7 | |
| | | | which makes the syntax much lighter to application developers. | |||||
* | Direct value assignment as an alternative to passing a fully-formed tag. | Olivier Tilloy | 2010-02-17 | 1 | -7/+12 | |
| | ||||||
* | Complete documentation generated with sphinx. | Olivier Tilloy | 2010-02-16 | 7 | -251/+250 | |
|\ |