Support #1169

Validate flag EXV_UNICODE_PATH/msvc2005 builds and passes the test suite

Added by Robin Mills over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:18 Mar 2016
Priority:NormalDue date:
Assignee:Robin Mills% Done:

100%

Category:buildEstimated time:10.00 hours
Target version:0.26


Related issues

Related to Exiv2 - Feature #1121: Visual Studio support for v0.27 Assigned 24 Sep 2015

Associated revisions

Revision 4235
Added by Robin Mills over 1 year ago

#1169. Fixing issues concerning msvc2005/EXV_UNICODE_PATH

Revision 4282
Added by Robin Mills over 1 year ago

#1169 Fix submitted.

Revision 4283
Added by Robin Mills over 1 year ago

#1169. Correction to r4282. I should not have submitted the change to exv_msvc.h

Revision 4284
Added by Robin Mills over 1 year ago

#1169. Code simplication/clarification.

History

#1 Updated by Robin Mills over 1 year ago

  • % Done changed from 10 to 80

Mikayel Egibyan raised a topic relating to this: http://dev.exiv2.org/boards/3/topics/2538
How does wstring support work for Exiv2::ImageFactory::open()?

I've update samples/exifprint.cpp to respect EXV_UNICODE_PATH. I don't intend to update any other part of the test suite. This is sufficient to verify that EXV_UNICODE_PATH/msvc2005 is working.

C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll>dir \squareroot
 Volume in drive C has no label.
 Volume Serial Number is 0899-EF40

 Directory of C:\squareroot

04/21/2016  12:21 PM    <DIR>          .
04/21/2016  12:21 PM    <DIR>          ..
03/02/2015  05:31 PM         6,673,920 √.jpg
               1 File(s)      6,673,920 bytes
               2 Dir(s)  28,997,189,632 bytes free

C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll>exifprint
Usage: exifprint file

C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll>dir exifprint.exe
 Volume in drive C has no label.
 Volume Serial Number is 0899-EF40

 Directory of C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll

04/21/2016  12:25 PM            61,440 exifprint.exe
               1 File(s)         61,440 bytes
               0 Dir(s)  28,997,189,632 bytes free

C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll>exifprint c:\squareroot\√.jpg | grep GPS
Exif.Image.GPSTag                            0x8825 Long        1  4060
Exif.GPSInfo.GPSVersionID                    0x0000 Byte        4  2 3 0 0
Exif.GPSInfo.GPSLatitudeRef                  0x0001 Ascii       2  N
Exif.GPSInfo.GPSLatitude                     0x0002 Rational    3  29/1 251835/10000 0/1
Exif.GPSInfo.GPSLongitudeRef                 0x0003 Ascii       2  W
Exif.GPSInfo.GPSLongitude                    0x0004 Rational    3  98/1 287057/10000 0/1
Exif.GPSInfo.GPSAltitudeRef                  0x0005 Byte        1  0
Exif.GPSInfo.GPSAltitude                     0x0006 Rational    1  209/1
Exif.GPSInfo.GPSTimeStamp                    0x0007 Rational    3  18/1 29/1 5007/100
Exif.GPSInfo.GPSSatellites                   0x0008 Ascii       3  06
Exif.GPSInfo.GPSMapDatum                     0x0012 Ascii      17  WGS-84
Exif.GPSInfo.GPSDateStamp                    0x001d Ascii      11  2015:02:15

C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll>exifprint --version | grep unicode
have_unicode_path=1

C:\cygwin64\home\rmills\gnu\exiv2\trunk\msvc2005\bin\Win32\debugdll>

#2 Updated by Robin Mills over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 80 to 90

#3 Updated by Robin Mills over 1 year ago

  • % Done changed from 90 to 100

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux