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.
- Applied `clang-tidy` 3.8 with these checks and `-fix`:
google-readability-casting,modernize-redundant-void-arg,
modernize-use-bool-literals,modernize-use-nullptr,
modernize-use-override,readability-braces-around-statements,
readability-container-size-empty,
readability-inconsistent-declaration-parameter-name,
readability-redundant-control-flow,readability-redundant-string-cstr,
readability-redundant-string-init,readability-simplify-boolean-expr,
readability-static-definition-in-anonymous-namespace
- Renamed last occurrences of `ULIM` to `median`
- Removed double include of `median.h` from `rtengine/rawimagesource.cc`
(found by Ingo)
- Now the Preview can show free space around the image (the image's
corner will coincide with the center of the preview area)
- Editing objects can now be manipulated in this free space
- The editing mechanism has been split : it was completely handled in
rtengine before, now rtengine still handle the pipette's data provider,
but rtgui now handle the objects data provider.
- Bugfix: when using coarse rotate in the Editor panel, the Gradient
widgets are now correctly displayed
- Removed the "Rendering intent" setting from Preferences,
- Hard-code "relative colorimetric" intent everywhere,
- Filter through output profile before filtering through monitor
profile if using a monitor profile,
- If not using a monitor profile, a direct sRGB conversion is done,