44 Commits

Author SHA1 Message Date
Morgan Hardwood
e5c00f0a9d Complete revision to how RawTherapee's version is handled in CMake and in other files, #3628 2017-01-27 15:33:05 +01:00
Flössie
f25e161d16 Clean-ups for #3616 2017-01-20 21:19:55 +01:00
FelixJongleur42
62451f471f issue 3598 and 2289 - util functions to determine file types by ending 2017-01-20 21:14:02 +01:00
Hombre
23863aceca Printer profile added in Preferences for soft-proofing
The output profiles now retain only 'Display' device class as well as
the Monitor profile - and they both have to have rgb color space, the
printer profile retain only 'Output' device class.

MacOS can use soft-proofing but due to undocumented feature of OSX, and
since Cairo assume that the image data are sRGB, the monitor profile is
forced to 'RT_sRGB'. A warning message replace the combobox for this OS.
2016-12-30 03:59:18 +01:00
Beep6581
7fdcc8f172 Review of thumb size defaults, closes #3535 2016-12-18 18:17:52 +01:00
Flössie
0bbc84b2af Merge branch 'master' into clang-tidy 2016-10-18 17:48:50 +02:00
heckflosse
8df2df664f Cppcheck: some fixes 2016-10-17 18:49:15 +02:00
Hombre
50165dab20 Merge branch 'master' into softproofing 2016-10-16 01:45:52 +02:00
Flössie
aeaff29ac0 Apply readability-simplify-boolean-expr 2016-10-12 20:01:30 +02: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
Ingo Weyrich
a57ecac9e9 Merge pull request #3452 from Beep6581/cppcheck
merge fixes for a lot of issues reported by Cppcheck
2016-10-09 22:55:31 +02:00
heckflosse
566d4c9822 Cppcheck: Fixed most issued in rtgui/* 2016-10-04 23:28:19 +02:00
Hombre
f904bc8f84 First patch of the LockableColorPicker tool.
Still Work In Progress, but can be used without too much hassle.
2016-09-30 01:03:57 +02:00
Hombre
a9fc506ac9 Bugfix: the options file were reseted unexpectedly
The error was that it was reading a wrong value, which thrown an
exception, but the error was diplayed in verbose mode only. Bug fixed,
and now it'll report any error in evry case.
2016-09-03 23:29:26 +02:00
Hombre
bdf4665c16 Merge branch 'master' into softproofing 2016-09-02 16:24:14 +02:00
Hombre
d52b627c68 Merge branch 'origin/navigator-units' 2016-08-31 13:42:56 +02:00
Hombre
f3d46f4c37 Minor code adjustment 2016-08-31 13:40:02 +02:00
Hombre
388d43ebce Adding new units for the RGB and HSV values in the Navigator tool (below
Histogram). Click on one of thes two columns to cycle to a new unit
independantly, between [0-1], [0-255], [%]  (Hue stays in degree instead
of percent). The current unit is saved in Options for new Editor tabs or
between sessions.
2016-08-31 03:58:07 +02:00
Hombre
ad5ef21648 Merge remote-tracking branch 'origin/master' into softproofing 2016-08-29 21:08:54 +02:00
Hombre
7c7cb9f9f1 Bug fix: the monitor profile and softproofing profile are now computed
automatically even without special trigger event. The order of the
Monitor Intent is now correct.
2016-08-29 21:04:59 +02:00
Hombre
2ba7e296d0 Bugfix: Options::readFromFile should not reset the options values. They
are initialy set in the constructor then should only be updated by each
call to this method.
2016-08-29 01:35:19 +02:00
Hombre
827acd35f9 Some bugfix. 2016-08-27 22:20:54 +02:00
Hombre
5affa18341 Introducting soft-proofing and Black Point Compensation, simplify the
CMM at the end of the pipeline + sparse code refactoring
A new BPC checkbutton has been created in 'Preferences/Color Management'
and in the ICM tool. Better hanbling of widget sensitivity of the output
profile / gamma part of the ICM tool.
2016-08-24 22:32:06 +02:00
Desmis
b97ed08987 Add working profile Rec2020 2016-04-29 07:41:17 +02:00
Flössie
296919eb2b Fix #3259, RT fails with ASan
When compiling RT with `-fsanitize=address` it fails early in
`Options::setDefaults()`. To fix it, initialize `baBehav` directly as
permitted with C++11. As a bonus, I converted `addsetids.h` from
defines to an enum.
2016-04-20 20:29:51 +02:00
Adam Reichold
85c809ce6c Also remove the SafeKeyFile wrapper class. 2016-02-21 10:26:11 +01:00
Adam Reichold
a2eea7c265 Finally fully remove the safegtk module. 2016-02-21 10:26:11 +01:00
Adam Reichold
747a28014b Begin removing simple pass-through wrapper for POSIX-style file system functions from safegtk module. 2016-02-21 10:07:57 +01:00
Beep6581
b8b3b3f47e Changed adjusterMinDelay, issue #3068 2016-01-08 17:17:42 +01:00
Adam Reichold
15813b9fb0 Fix the missing output profile intent in ParamsEdited::set and make sure the default output intent is relative colorimetric everywhere instead of perceptual as to not change the previous behaviour. 2016-01-02 12:27:33 +01:00
Hombre
bcbb45454a Updated icons (from Drslony), code cleanup and bugfix 2015-12-29 03:52:50 +01:00
Hombre
32eb6b996c Adding softproofing. Now the output profile and the new rendering intent
profile for the output profile will only be shown when the new softproof
toggle button (bottom of the preview in the Editor panel) will be on.
2015-12-15 01:06:38 +01:00
Adam Reichold
22bffabe7f Extend the editor panel to support selection of a monitor profile and rendering intent and extend the preferences to provide a default profile and intent for the editor panel. 2015-12-07 23:22:32 +01:00
Beep6581
b98aa2966d Fixes Retinex Method not read from PP3, issue 2833 2015-10-31 21:27:43 +01:00
Desmis
e234bb9278 Batch processing GUI 2015-09-23 11:23:30 +02:00
Morgan Hardwood
ea737ca866 Merge branch 'master' into retinex 2015-09-16 21:03:39 +02:00
heckflosse
f7afe06d8b Changed default delay for adjusters from 0 to 200 ms 2015-09-13 17:40:02 +02:00
Morgan Hardwood
5aa6f7861a Dehaze tool renamed to Retinex, GUI fixed, defaults changed 2015-09-11 21:04:29 +02:00
Desmis
528d85b1f9 Dehaz enhancement HSL GUI bugs partialpaste... 2015-09-09 20:01:27 +02:00
Morgan Hardwood
d8945607d5 astyle modified code on dehaze 2015-09-08 09:56:30 +02:00
Desmis
f22c11c27e Dehaze suggestions 2015-08-27 17:10:31 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
DrSlony
effb46c3e1 Line endings 2015-08-11 11:53:44 +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