77 Commits (da24df0ba0f6daac12ba7133e1216f7401807731)

Author SHA1 Message Date
Luis Diaz Mas 00f86a8df4 Cleanup unused variable warnings 7 years ago
Dan Čermák b761c6d056 Remove useless casts in preview.cpp 7 years ago
Dan Čermák fe70939f54 Fix addition overflows in range checks in LoaderTiff::getData
Several checks for extracted values performed no overflow checks on the
addition. They can be tricked into passing, albeit the individual summands are
too large.
=> use Safe::add() which now aborts when an overflow occurs
This fixes #366
7 years ago
Dan Čermák 937a1a2bd0 Add offset_ and size_ safely in LoaderExifJpeg::LoaderExifJpeg
offset_ can become arbitrarily large and overflows once its added to size_,
this causes all kinds of problems further in the code when offset_ is used
again.
=> Use Safe::add() to catch potential overflows
This fixes #365.
7 years ago
tbeu 9569ef2fda Use auxiliary variable
V807 Decreased performance. Consider creating a reference to avoid using the 'image_.exifData()' expression repeatedly. preview.cpp 530
7 years ago
Luis Diaz Mas 67a5a74115 Throw when trying to write out of the buffer 7 years ago
Luis Diaz Mas 863aaebc92 Use index to access buf.pData_ 7 years ago
Luis Diaz Mas ed874703ad Prevent call to memcpy with size==0 7 years ago
Dan Čermák efe2ccdcb6 Replaced all hardcoded error codes with ker... constants 7 years ago
tbeu 5b5987a596 Remove obsolete EXIV2_RCSID 8 years ago
tbeu 5df8b01b77 Remove obsolete svn revision 8 years ago
clanmills 882c825f1a Fix https://github.com/Exiv2/exiv2/issues/16 8 years ago
Robin Mills 82dbe6199d https://github.com/Exiv2/exiv2/issues/11 Closed. Coincidentally Raphael reported issues with Visual Studio 2015 Community Edition. Issue 11 and Raphael's issues should now be resolved. 8 years ago
Robin Mills 44da4724b3 #1175 Correction to r4756 Another three casts required to build with Visual Studio (size_t code ripple) 8 years ago
Robin Mills 6d5c2c3256 Getting ready to release v0.26 8 years ago
Robin Mills b15a401569 #1187 Thank You to Taras for the patch. 9 years ago
Andreas Huggel fd80993ab0 Updated copyright notice. 10 years ago
Robin Mills 0df8356a56 #1029. Thank You, Thomas for reporting this and providing the patch. 10 years ago
Robin Mills d393b0fa7e trunk: exiv2 v0.25 11 years ago
nkbj 284050623b Feature request #933: Add support for Casio makernotes. Thanks goes to T Modes for the patch. 12 years ago
Robin Mills 4e530fbce0 Bumping the copyright notice again. (re-doing 3089 without breaking the build!) 12 years ago
Robin Mills a297d2b69e Rollback 3089 - somehow it's broken the build! 12 years ago
Robin Mills da1ed8c536 Bumping the copyright notice in src &samples from 2012 to 2013 12 years ago
Andreas Huggel bd90c19219 #819: Fixed PentaxDng offsets so that they are relative to the beginning of the makernote, added support for the PentaxDng preview image. 13 years ago
Andreas Huggel 0d397b95c7 Updated copyright message for 2012. 13 years ago
Andreas Huggel d109589267 Added support for CR2 IFD2 image preview. (An uncompressed TIFF image without white-balance correction.) 13 years ago
Andreas Huggel e4475fb453 Casts added to make 64bit MSVC compiler happy. 14 years ago
vog 45b729bc70 Improved one of the native preview warning messages 14 years ago
vog 058f1ea221 Added support for Illustrator previews (%AI7_Thumbnail) in EPS files, decoded to *.pnm 14 years ago
vog a9d9a4a53c Added missing "const" 14 years ago
vog bd7254aed6 Added native preview filter "hex-irb" that is needed for Photoshop EPS previews 14 years ago
vog 72bdc994f0 Added helper function decodeHex() that is needed to decode some types of EPS previews 14 years ago
vog aad2a3d32f Small bugfix 14 years ago
vog 08ef2ff9af Added missing type cast 14 years ago
vog da6051a3a0 Added the possibility to define a filter in the NativePreview mechanism, e.g. for hex decoding 14 years ago
vog 640921e6c0 make cast in decodeBase64() more explicit 14 years ago
Robin Mills 25b4bf2ce9 Added cast to enable compilation with DevStudio VS2003 and VS2005. 14 years ago
vog 115ba5a04e Improved epsimage.cpp and preview.cpp to avoid unnecessary type casts, also make some implicit type casts explicit for clarity 14 years ago
Robin Mills e2c570a1ce EPS project.
added long ul2Data(byte* buf, size_t s, ByteOrder byteOrder) to the DevStudio 64 bit build.
This rippled requiring casts to differentiate ul2Data(byte*, uint32_t,size_t) and ul2Data(byte*,size_t,size_t)
Team review requested.
14 years ago
vog 3c1d3d993b #689: Added support for native DOS EPS previews 14 years ago
vog 3342822ad7 Provide generic mechanism for native previews 14 years ago
vog 155b37d45f #689: Support XMP previews that use the old xapGImg: namespace prefix 14 years ago
vog 9e36ca5dbf #689: Provide support for JPEG previews stored in the XMP metadata 14 years ago
vog 49f4536c36 #689: Improved block indentation 14 years ago
Andreas Huggel 7770151915 Updated Copyright message for 2011. 15 years ago
Andreas Huggel ad094e05be #745: Fixed leftover x-raw MIME type. 15 years ago
Andreas Huggel 1a105de39f #739: Protect access to toLong() in preview.cpp. 15 years ago
Andreas Huggel 5f5d089b00 #726: Added support for Samsung2 makernote. (Pretty-print and easy-access functions not done yet.) 15 years ago
Andreas Huggel f25fca8808 #726: Added support for thumbnail found in sub-IFD of IFD1 of Samsung .SRW files. 15 years ago
Andreas Huggel dc264bc00d #476, #614: Introduced class LogMsg for enhanced logging, migrated all existing warnings and error messages (not the exceptions) to use the new logic. Every log message now has a type (debug, info, warning, error). Applications can set a logging level to determine which messages are processed and supply a custom log message handler at runtime. (Based on a contribution by Simson Garfinkel.) 15 years ago