Commit Graph

1810 Commits

Author SHA1 Message Date
Robin Mills
bf4bf5af77 Adding project mmap-test to the mix. 2009-05-31 04:02:44 +00:00
Andreas Huggel
8b2b3ffec7 Added simple memory mapping test program. 2009-05-30 07:17:52 +00:00
Andreas Huggel
d72eadb647 Changed BasicIo::munmap so that it does not throw to make sure ~FileIo does not throw. Doc tweaks. 2009-05-30 07:17:20 +00:00
Andreas Huggel
5135792d8a Reverted changes done by mistake. 2009-05-30 05:31:08 +00:00
Andreas Huggel
5f1d376eb8 Prevent switchMode() from calling itself (fixes an incompatibility of the changes for #634 with the code to write to memory-mapped files. 2009-05-30 05:29:55 +00:00
Andreas Huggel
b563340cc0 Merged r1801:1803 from the trunk. 2009-05-29 15:04:24 +00:00
Andreas Huggel
1f9264bddf Merged r1798:1800 from the trunk. 2009-05-29 14:56:01 +00:00
Andreas Huggel
f093fd49a6 Merged r1794:1797 from the trunk. 2009-05-29 14:54:53 +00:00
Andreas Huggel
1c2dd764f8 #636: Do not change makernote byte order unless requested. By default, use the same byte order as that of the image (for new makernote metadata). Right now, the only makernote that has its own byte order is Nikon3. Also added missing padding to IPTC binary data for Exif.Image.IPTCNAA. 2009-05-28 11:35:01 +00:00
Andreas Huggel
5720f14438 Fixed nasty illegal read. 2009-05-28 10:19:12 +00:00
Andreas Huggel
87b1da755c #629: Cleaned-up a few more virtual inlined methods. 2009-05-20 14:53:15 +00:00
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)
2009-05-19 03:48:42 +00:00
Robin Mills
61ca4b9b20 #634 Locking error on windows when updating a TIFF file with MemoryMapping enabled 2009-05-17 23:41:43 +00:00
Andreas Huggel
c2c1673b7a #629: Made inlined virtual functions non-inlined. Also some non-virtual inlined functions. Part 1. 2009-05-17 16:15:54 +00:00
Robin Mills
0ed8680e02 #579: Implement Memory Mapping for Windows Platforms
This improves the performance of exiv2.exe on TIFF files about 5x

The MSVC branch adds mmap.cpp and mman.h - borrowed and slightly touched from KDE
- the contribution of KDE is acknowledged and respected (and changes documented)
- exv_msvc.h modified to support MM
- added support files include/sys to enable compilation on MSVC
2009-05-17 03:37:20 +00:00
Andreas Huggel
43303cf44b #633: Apply the fix only for platforms which have lstat. This does not include Win based platforms. 2009-05-16 14:59:33 +00:00
Andreas Huggel
fca7210a3f #633: Fixed FileIo::transfer to operate on the linked-to file if the FileIo is a symlink. Only tested on Linux. 2009-05-16 12:09:07 +00:00
Andreas Huggel
f3c9d826f6 Remove test files on top-level make maintainer-clean. 2009-05-16 07:04:31 +00:00
Andreas Huggel
1861850764 Merged -r1772:1791 from the trunk. 2009-05-16 05:19:41 +00:00
Andreas Huggel
0c3d282923 Merged -r1772:1791 from the trunk. 2009-05-16 05:19:13 +00:00
Andreas Huggel
7e266aa5df Updated Nikon Lens lookup table to v4.0.352.00 of Robert Rottmerhusen's fmountlens list. 2009-05-12 17:02:58 +00:00
Andreas Huggel
851db3df0e #632: Fixed another minor doc bug, ran make update-po again. 2009-05-12 16:50:08 +00:00
Andreas Huggel
ad3fd0ee6f #631: Fixed minor doc bugs, ran make update-po. 2009-05-12 16:45:55 +00:00
Andreas Huggel
89c13b112c Updated Polish translation (Michal Smoczyk). 2009-05-12 16:35:09 +00:00
Andreas Huggel
05e8255c78 #628: Improved version: insert comments just before SOFn. Updated test cases accordingly. 2009-05-09 04:00:43 +00:00
HumanDynamo
1679208578 I got a new Sigma Lens : AF70-200 F2.8 EX DG MACRO for Minolta/Sony camera. It's areally a pro lens... great... 2009-05-05 07:52:08 +00:00
Andreas Huggel
792b272ad7 #628: Write COM segment (JPEG comment) last, after all APPn segments. 2009-05-02 01:42:43 +00:00
Andreas Huggel
fdfefed4fb Tagged release 0.18.1 2009-04-05 15:37:30 +00:00
Andreas Huggel
3a8c054a20 Formatting tweaks. 2009-04-05 15:27:11 +00:00
Andreas Huggel
9e19d6f271 #609: Add -no-undefined flag to compile DLL on Windows. 2009-04-03 15:52:50 +00:00
Andreas Huggel
6f0ddf7e21 Minor tweak. 2009-04-01 15:11:03 +00:00
Andreas Huggel
6844b994d5 Updated ChangeLog 2009-03-30 14:19:47 +00:00
Andreas Huggel
6be18b6a03 Updated Nikon Lens lookup table to v4.0.347.00 of Robert Rottmerhusen's fmountlens list. 2009-03-30 14:18:46 +00:00
Andreas Huggel
bbc7ae9358 Bumped version to 0.18.1 2009-03-30 13:30:11 +00:00
Andreas Huggel
265ca4a3e6 Updated PO directory. 2009-03-30 13:09:43 +00:00
Andreas Huggel
0fd3697648 Updated ChangeLog for 0.18.1 2009-03-29 12:35:23 +00:00
Andreas Huggel
e65b2db457 Added table with supported image formats to man page. 2009-03-28 14:33:01 +00:00
Andreas Huggel
0da1d88115 #606: Added Michael Ulbrich's patch for Exif and IPTC write-support. 2009-03-28 11:18:55 +00:00
Andreas Huggel
e57c3e5e8a #623: Removed class TiffPrinter and tiffparse.cpp. 2009-03-21 10:03:38 +00:00
Andreas Huggel
90040d0db9 #620: Part 1, basic TiffBinaryArray and TiffBinaryElement framework and Nikon World Time binary array as a first use-case. 2009-03-21 09:43:21 +00:00
Andreas Huggel
3a033e856c Merged -r1755:1770 from the trunk. 2009-03-21 09:32:20 +00:00
Andreas Huggel
03e311793c #622: Fixed the same typo in the doc too. 2009-03-21 08:40:57 +00:00
Andreas Huggel
096a1d169f #622: Fixed MicrosoftPhoto URI in call to RegisterNamespace. 2009-03-20 15:30:01 +00:00
HumanDynamo
f8b6281ad7 fix typo in M$ XMP namespace 2009-03-20 09:03:13 +00:00
Robin Mills
891827b6ce #621 : Windows build changes.
I discovered while doing a private build for a user that msvc/include/exv_msvc.h still contains the #pragma comment code.
I've removed that (again!) and fixed a consequential link error on exiv2lib.vcproj DebugDLL | ReleaseDLL
Rebuilt everything on VS2003/5/8 and all run the runner.bat test OK.
2009-03-20 03:40:14 +00:00
Andreas Huggel
953f387e5c Added digiKam and MicroSoftPhoto XMP properties to doc 2009-03-17 11:16:55 +00:00
HumanDynamo
c02386cb7a wrong M$ XMP tag name : RatingPercent => Rating 2009-03-17 09:01:09 +00:00
Robin Mills
0b913aa605 #621: Windows build environment changes
1) exv_msvc.h moved to msvc/include/exv_msvc.h
2) exv_msvc.h no longer has #pragma comment statements to link zlib
3) project files updated to explicitly link appropriate zlib library
2009-03-17 06:47:43 +00:00
Andreas Huggel
f827d8a380 #619: Check for empty buffer. Fixes crash with some PNG images. (Lukasz Krzyzak) 2009-03-12 09:15:09 +00:00
brad
2b7a80d4bb made use of new easyaccess functions to support macro mode, orientation, lens name, and better iso values 2009-03-08 08:26:30 +00:00