32 Commits (07723af4a8be62a9ac7a06b006698697bddf31c6)

Author SHA1 Message Date
Andreas Huggel 3ac665a305 Added 2008 to Copyright notice. 18 years ago
Andreas Huggel 358adfce04 Added writeFile() convenience function. 18 years ago
Andreas Huggel 91c4dafbf9 Fixed compiler issues (gcc-4.3, msvc 7.1) 18 years ago
Andreas Huggel ac314ddfbc Intermediate state: Merged rev. 1153-1196 from branches/xmp. 18 years ago
Andreas Huggel 771738b475 Added includes required to compile with gcc 4.3 (prereleases) 18 years ago
Andreas Huggel da6266da3b Copyright updates for 2007 19 years ago
Andreas Huggel 0723a62899 Removed trailing whitespace 19 years ago
Andreas Huggel efc5a86653 Delete temporary file if user does not have write permissions. Completes fix for bug #497. 19 years ago
Andreas Huggel 75085fbe43 FileIo::transfer: check if original file is writable, remember file permissions. Fixes bug #497 19 years ago
Andreas Huggel 5a5fcf8503 Added workaround for mmap/munmap for platforms which do not have these (MinGW and MSVC), converted CrwImage to use mmap too. 19 years ago
Andreas Huggel ebe5bb0a27 Added experimental mmap support to improve read performance for TIFF and PNG images, barely tested and only on Linux 19 years ago
Andreas Huggel 9daaaa3f6d Fixed compiler warnings 19 years ago
Andreas Huggel 5099f2463f Fixed MSVC 2005 assertion triggered by iotest 19 years ago
Andreas Huggel 2af57fb29d Fixed MemIo EOF behaviour to be similar to that of FILE*. Fixes bug #469 19 years ago
Andreas Huggel 99b4e71459 Updated copyright and fsf address 20 years ago
Andreas Huggel d545215ceb Completed CRW write support, feature #438. Only tested on Linux 20 years ago
Andreas Huggel 57fa6c9211 Changed MemIo "copy-on-expand" to "copy-on-write" strategy to ensure that the original buffer is never modified 20 years ago
Andreas Huggel 06e5c0719e Removed trailing whitespace from source files 20 years ago
Andreas Huggel 773e6c6fa1 Use re-entrant system functions (gmtime_r, strerror_r) if available 20 years ago
Andreas Huggel 8093982ca4 Fixed MinGW warnings 20 years ago
Andreas Huggel b55a7f9f9c Cosmetics 20 years ago
Andreas Huggel 98ebb66d61 Implemented "copy-on-expand" memory mgmt strategy for MemIo instead of blindly copying the memory buffer 20 years ago
Andreas Huggel fe5a4c0022 Fixed changes introduced in previous revision. Added call to _commit() before stat() instead of insisting that the file is closed. Reverted changes to iotest.cpp introduced in the previous revision. 20 years ago
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. 20 years ago
Andreas Huggel 56a7b11072 Fixed situation where an Error with a confusing message was thrown. Added BasicIo::path(). Further code and doc clean-up. 20 years ago
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.
20 years ago
Andreas Huggel 90a707fa2e Fixed bugs found on MinGW and with MSVC. iotest still misteriously fails. 20 years ago
Andreas Huggel 59e1a6f29f Added an EXV_ prefix to precompiler defines (still not to all yet - I don't like the idea of "exv_size_t" or "exv_const" - but hopefully to those more likely to create conflicts). Fixes bug #420 21 years ago
Andreas Huggel 8521dead83 Added 2005 to Copyright lines 21 years ago
Andreas Huggel c1a678a883 Fixed test for stat return value 21 years ago
brad 82950ffc9e Added size method to basicio and test cases. 21 years ago
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). 21 years ago