22 Commits

Author SHA1 Message Date
Ingo Weyrich
8f291c3ff2 Be -Wunused-macros clean 2020-02-07 20:18:35 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Flössie
70475f781a Derive lens name from 0xA434 and 0xA433 if other means fail (#5157)
Implemented for
- Pentax
- Canon
- "Unknown"

Also constified `toString()` methods in `rtexif`.
2019-03-07 19:29:11 +01:00
Flössie
c85dc2811b Fix most Clang 7 warnings (fixes #4972) 2019-02-17 12:07:48 +01:00
heckflosse
831e18ca45 Add override keyword. Thanks @Floessie 2018-11-22 16:19:16 +01:00
Hombre
cd1965b9d9 Fixing a memory leak in stdattribs.cc, no issue 2018-05-11 23:29:59 +02:00
Hombre
2f1ab34ef1 Attempt to fix clang warnings in rtexif/stdattribs.cc (see #2017)
https://github.com/Beep6581/RawTherapee/issues/2017#issuecomment-361060194
2018-01-28 14:47:56 +01:00
Hombre
9d2ccc19d3 Better UNICODE support (UCS-2/UTF-8) for Exif.UserComment (#2017)
- BOM is now checked and correctly handled
- auto-detection of UTF-8 string if no BOM available, otherwise assume
it's an UCS-2/UTF-16 string
- try to autodetect endianess of UTF-16 string by counting zeros
- possibility to enable writing BOM for this field (disabled for now)
- for undefined charset (empty identifier), RT now assume that the
string is what glib think is the local charset (not tested), and try to
convert it to UTF-8 for display/editing

JIS is still not handled though.
2018-01-01 14:24:47 +01:00
Hombre
96863bb956 Sets UTF-8 as default charset for IPTC + suppress one of the 2 methods
for saving TIFF images.
2018-01-01 13:51:48 +01:00
Hombre57
615dfcbb6c Added "Show all" button in Exif panel + astylized exifpanel.cc/.h
See #4008
2017-09-22 00:35:10 +02:00
Hombre57
6c988e94d4 FileBrowser now detects the 2 frames from DualPixel Canon files
The QuickInfo frame from the EditorPanel now display the number of frame
contained in the image file if > 1 

See #4008
2017-09-18 21:30:42 +02:00
Hombre57
f23be9345c Add multi-frame handling.
- Exif of all frames are displayed in the Editor's Exif tab (without
separator)
- isHDR and isPixelShift is added to the data files stored in cache
- In the Editor panel, the QuickInfo frame display the HDR and
PixelShift information, as well as the number of frame and bit-depth for
HDR image
- the number of frame is provided by dcraw. If not set, it is provided
by the Exif's main IFD count
- the PixelShift information (for Pentax as of now) is provided by
looking at the Exif informations
- the HDR information is provided by the Exif information of the first
frame for Pentax raw files, or by the bitspersample, sampleformat and
compression tags for other files

TODO: add icons to the thumbnails to tag HDR and PixelShift files.
2017-08-08 23:42:05 +02:00
Morgan Hardwood
cb4e6c83dd Merge branch 'dev' into exiftool1049 2017-04-18 21:00:42 +02:00
Morgan Hardwood
2c9c3b2a7f Fix for fractional exposure time values, fixes #2081 2017-04-16 18:52:26 +02:00
Morgan Hardwood
33a940cef4 astyled rtexif files, #3802 2017-04-15 21:36:53 +02:00
heckflosse
f203f284d6 Limited exif user comment to 65535 chars 2017-01-09 16:19:19 +01:00
heckflosse
1998e2c6d2 Crash when opening JPEG file with corrupted metadata, fixes #3602 2017-01-09 15:34:18 +01:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
heckflosse
b710595335 Adust buffers to fix potential buffer overruns 2016-08-10 22:59:48 +02:00
heckflosse
41cd98d462 Fix bug for non Nikon files with ISO > 65535 2015-11-10 21:24:03 +01:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00