tbeu
a2edf47056
refs 1038: Fix eof detection in MemIo::getb and avoid crash on truncated jpeg files (Vitaliy Filippov)
10 years ago
tbeu
8f5e5a8c4a
refs #922 :
...
* Fix MSVC warning introduced by r3650
* Change first argument of BasicIo::seek to signed integer type
10 years ago
Robin Mills
e51425046e
#1043 #1042 #812 . Thank You to Thomas for this "polishing" patch. Thank you to everybody who has worked on this issue. Adding all the comments on the three issues together comes to about 60 items by at least 6 contributors. And it involves platform issues, networking, Linux and Windows APIs. One of the most complex issues to arise in Exiv2. Well done everybody. And we've dealt with this quickly. Only 9 days since Calvin first reported #1042 .
...
I use the term "complex" to mean many threads of technology. "complex" != "complicated". "complicated" = "difficult to understand". We try to avoid "complicated".
10 years ago
Robin Mills
6b20a636b7
#1043 and #1042 . Thanks to Thomas for showing that r3627 reintroduced #812 . Thanks to Thoralf for suggesting msync MemIo fix.
10 years ago
Robin Mills
7817180351
#1042 and #1043 . Don't use a MemIo object for small temporary files.
10 years ago
Robin Mills
41243f8653
#1038 . Thank You to Vitaliy for reporting this and providing the patch.
10 years ago
Robin Mills
ccfc4b62fd
trunk: webready integration. split preview-test.sh and added eps-preview-test.sh (and fix basicio.cpp and svn_version.sh issues).
11 years ago
Robin Mills
d393b0fa7e
trunk: exiv2 v0.25
11 years ago
Robin Mills
0312a8ee0b
Issue: 984. Thanks, Thomas. I should not have modified your code. You were correct. My apologies.
11 years ago
Robin Mills
3c7264c487
Issue: #984 . Thank You, Thomas for the patch.
11 years ago
Robin Mills
d09658a5eb
Issue: 984. Correction to r3345. I submitted Axel's patched file in error.
...
This version deals with older MSVC (such as 2005) which do not provide REPLACEFILE_IGNORE_MERGE_ERRORS.
11 years ago
Robin Mills
f93877f94b
Issue: #984 . Thank You, Axel for reporting this, the patch, and the test code.
11 years ago
Robin Mills
fdd6c337db
Issue# 983. Thank You, Nehal for the patch.
11 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
Robin Mills
0ae729dcf8
Mac build #906 fix compilation error (thanks to Tuan for this fix).
12 years ago
Robin Mills
cc8953be16
Issue: #906
12 years ago
Robin Mills
67fe779212
MSVC/video port. Simplification of basicio.{hpp|cpp}. CMake updates to eliminate warnings in Cygwin. By default, don't build intl with CMake.
13 years ago
Robin Mills
159b2d285b
MSVC/video port. Fixing code to build on Linux (and Cygwin).
13 years ago
Robin Mills
6ca49acd13
Work on Issue 846 (porting video code to MSVC). See http://dev.exiv2.org/issues/846 (item #8 ) for more discussion.
13 years ago
vog
77235a05d0
#836 : Copy over xattr (extended attributes, such as resource forks) when creating temporary files
13 years ago
Andreas Huggel
cc061782d1
#812 : Tweak to make the code compile with MSYS/MinGW.
13 years ago
Andreas Huggel
2c401ffa3d
#812 : Changed LoadLibrary to LoadLibraryA (Thomas Beutlich).
13 years ago
Andreas Huggel
0d397b95c7
Updated copyright message for 2012.
13 years ago
Andreas Huggel
ffe8209018
#812 : Added function to determine the number of hard links on Windows NTFS. (Thomas Beutlich)
14 years ago
Andreas Huggel
92b2aac75a
#812 : Don't destroy files when checking if they are writable; use a memory buffer instead of a temporary file when writing files with hard links to preserve the links.
14 years ago
Andreas Huggel
7770151915
Updated Copyright message for 2011.
15 years ago
Robin Mills
20778cbd7d
msvc64. Added build type (64 or 32) to exiv2 -V output. A couple of changes to compile with DevStudio x64
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
Andreas Huggel
da52f17aa4
Fixed writing to pseudo memory mapped areas (at least on Linux).
15 years ago
Andreas Huggel
06ce0d18b6
- Introduced exiv2.hpp as a wrapper to include all Exiv2 objects. (Renamed existing exiv2.hpp to exiv2app.hpp)
...
- Changed Sony/Minolta pretty-print function to print EV value
- Renamed rcsid.hpp to rcsid_int.hpp, do not publish it anymore
15 years ago
Andreas Huggel
6d496a4888
Updated Copyright notice for 2010.
15 years ago
Andreas Huggel
c7d5396669
Fixed issues with Unicode paths on Windows. (Thomas Beutlich)
15 years ago
Andreas Huggel
ade0b51b79
#671 : Fixed error handling for read-only files.
16 years ago
Andreas Huggel
9b4f4f84d6
MinGW and MSVC fixes.
16 years ago
Andreas Huggel
ba5a7b9075
Minor fix.
16 years ago
Andreas Huggel
49e040ee8d
Generalized class Error, added class WError for use with Unicode-Paths.
16 years ago
Andreas Huggel
7154969383
#672 : Needed to compile on systems with lstat.
16 years ago
Andreas Huggel
c2ee400875
#672 : Fixed issue with C-string pointer of a temporary.
16 years ago
Andreas Huggel
efa3152710
Doc updates: added new Nikon and Canon makernote tags, silenced doxygen warnings.
16 years ago
Andreas Huggel
dd659d57bd
Changed MemIo to use a Pimpl class too ( #510 ).
16 years ago
Andreas Huggel
bdc2f225af
Use [w]path() instead of p_->[w]path_.
16 years ago
Andreas Huggel
83cd2efab9
#579 : Implemented mmap for Windows directly in FileIo and made that class use the Pimpl idiom ( #510 ) to de-clutter the interface. Unrelated: Added EXV_MIN/MAX macros, allow iconv config in commercial version.
16 years ago
Andreas Huggel
370af5c8a3
Merged all changes from the unstable branch into the trunk.
16 years ago
Andreas Huggel
7b75bbaa04
Removed r1799, r1797 from trunk ( #634 , #579 )
16 years ago
Robin Mills
ab8010ffd7
#556 timegm() function should work with Windows 64bit time_t
...
Fix submitted.
1) Removed _USE_32BIT_TIME_T from code base.
2) Added a macro to replace timegm() with _mkgmtime() on VC8+ (supports 32 and 64 bit time_t)
Simple test performed on VC 7.1/8 and 9 (VS 2003/05/08)
C:\gnu\exiv2\msvc\bin\Release>exiv2 -a 1:00:00 ad \R.tiff && exiv2 -pt \R.tiff | grep DateTimeOriginal
Exif.Photo.DateTimeOriginal Ascii 20 2009:04:26 10:38:18
C:\gnu\exiv2\msvc\bin\Release>exiv2 -a 1:00:00 ad \R.tiff && exiv2 -pt \R.tiff | grep -i time
Exif.Image.DateTimeOriginal Ascii 20 2009:04:26 11:38:18
C:\gnu\exiv2\msvc\bin\Release>
3) Cosmetic fix to basicio.cpp
Fixed nasty little <tab> I missed when I committed basicio.cpp on Sunday (apologies)
16 years ago
Robin Mills
61ca4b9b20
#634 Locking error on windows when updating a TIFF file with MemoryMapping enabled
16 years ago
Andreas Huggel
43303cf44b
#633 : Apply the fix only for platforms which have lstat. This does not include Win based platforms.
16 years ago
Andreas Huggel
fca7210a3f
#633 : Fixed FileIo::transfer to operate on the linked-to file if the FileIo is a symlink. Only tested on Linux.
16 years ago
Andreas Huggel
8a6d9dbc42
Updated Copyright notice for 2009.
17 years ago
Andreas Huggel
105a4e417d
Changed FileIo::transfer to only write a warning if changing file permissions fails and fixed the use of strerror_r. Fixes digiKam bug 178103.
17 years ago
Andreas Huggel
e4c96433d4
Added support for XMP sidecar files.
18 years ago
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