Commit Graph

25 Commits

Author SHA1 Message Date
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
c5ebed2d9b #523: Added GCC symbol visibility support. 2008-09-03 14:26:37 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
358adfce04 Added writeFile() convenience function. 2007-12-09 08:00:26 +00:00
Andreas Huggel
ac314ddfbc Intermediate state: Merged rev. 1153-1196 from branches/xmp. 2007-09-16 09:30:30 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
0723a62899 Removed trailing whitespace 2006-12-15 05:07:05 +00:00
Andreas Huggel
efc5a86653 Delete temporary file if user does not have write permissions. Completes fix for bug #497. 2006-12-05 16:18:41 +00:00
Andreas Huggel
5a5fcf8503 Added workaround for mmap/munmap for platforms which do not have these (MinGW and MSVC), converted CrwImage to use mmap too. 2006-06-28 05:36:49 +00:00
Andreas Huggel
ebe5bb0a27 Added experimental mmap support to improve read performance for TIFF and PNG images, barely tested and only on Linux 2006-06-25 18:11:01 +00:00
Andreas Huggel
2af57fb29d Fixed MemIo EOF behaviour to be similar to that of FILE*. Fixes bug #469 2006-06-02 12:59:04 +00:00
Andreas Huggel
b945568e6e Fixed MSVC compilation errors 2006-02-03 14:36:32 +00:00
Andreas Huggel
e1a895636b Cleaned-up a few includes 2006-01-27 14:36:08 +00:00
Andreas Huggel
99b4e71459 Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
Andreas Huggel
57fa6c9211 Changed MemIo "copy-on-expand" to "copy-on-write" strategy to ensure that the original buffer is never modified 2005-10-08 11:36:48 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +00:00
Andreas Huggel
b55a7f9f9c Cosmetics 2005-09-18 09:36:53 +00:00
Andreas Huggel
98ebb66d61 Implemented "copy-on-expand" memory mgmt strategy for MemIo instead of blindly copying the memory buffer 2005-09-17 09:34:38 +00:00
Andreas Huggel
489fff191d Canon CRW read support, first try. Introduces a new approach to parsing metadata. Cluttered by some related additions to the Canon makernote note and a bit of cleanup. 2005-09-11 08:41:54 +00:00
Andreas Huggel
1b41ce9931 Close files before calling FileIo::size() (which uses stat). This is necessary on Win32 it seems. Fixes bug #428. Changed default mode of FileIo::open to "rb" and added FileIo::switchMode. Fixes bug #429. Added a hack to make test output of exiv2-test.sh more readable on MinGW. 2005-04-22 15:07:12 +00:00
Andreas Huggel
56a7b11072 Fixed situation where an Error with a confusing message was thrown. Added BasicIo::path(). Further code and doc clean-up. 2005-04-21 07:21:53 +00:00
Andreas Huggel
55aebc0686 Overhauled exception handling. The new class Error has a list of error messages, which is selected based on the error code provided in the constructor.
Image::read/writeMetadata and ImageFactory::open now throw Error in case of failure. Applications therefore now need an exception handler for the error handling of such function calls. This should result in shorter and simpler application code.
2005-04-17 11:51:32 +00:00
Andreas Huggel
8521dead83 Added 2005 to Copyright lines 2005-03-12 16:43:06 +00:00
brad
82950ffc9e Added size method to basicio and test cases. 2005-02-02 21:09:18 +00:00
brad
0cab366ec2 Merges all changes from the insideout branch back into trunk. This includes the IO abstraction code, split-up of image.cpp, and inside-out design change (#402, #403, and #404). 2005-01-16 09:22:28 +00:00