281 Commits

Author SHA1 Message Date
Alberto Griggio
97478161c5 initialize prof to NULL 2017-04-08 15:24:29 +02:00
Alberto Griggio
b01899783d Added support for autodetecting the system monitor color profile also on Linux
Code borrowed from Geeqie
2017-04-08 15:18:50 +02:00
Alberto Griggio
7f05567edf fixed warnings in rtgui/editorpanel 2017-04-01 15:31:19 +02:00
Flössie
91b44dbd08 Replace all g_idle_adds with IdleRegister (#3767) 2017-03-26 22:03:33 +02:00
Flössie
97caf21b5c PIMPLed and streamlined ICCStore (#3691) 2017-03-18 11:59:14 +01:00
Flössie
79ff7f5997 Replace all add_idle()s with IdleRegister 2017-02-10 21:22:42 +01:00
Morgan Hardwood
706c3efb77 Merge branch 'master' into gtk3 2017-01-07 14:11:59 +01:00
Flössie
414f28e806 Guard processor in editorpanel.cc (#3578) 2017-01-07 11:51:22 +01:00
Morgan Hardwood
934f1b1513 Merge branch 'master' into gtk3 2017-01-06 20:12:12 +01:00
Morgan Hardwood
c99bd6d211 macOS fix from #3589 2017-01-06 16:44:58 +01:00
Hombre
d702156f8a Merge branch 'master' into gtk3 2017-01-02 02:48:45 +01:00
Hombre
e9df621d4b Updated strings + Image preview now updates on changes in Preferences
... regarding Printer profile, intent or BPC
2017-01-01 02:03:44 +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
Hombre
e97507e090 Merge branch 'gtk3' into gtk3-bugfix 2016-12-27 23:22:31 +01:00
Morgan Hardwood
e4f6319d1b Testing merge of master 95f0d6 into gtk3 9cf0e5 2016-12-27 17:14:45 +01:00
Hombre
95f0d67dfe Fix issue #3532 + a memory leak 2016-12-27 14:31:55 +01:00
Hombre
e6aff9cbf7 Tweaked some space here and there, thanks to Beep6581 (issue #3446) 2016-12-12 01:18:27 +01:00
Hombre
7209f4f1c9 Previous behavior for Profile Panel's combobox size restored
See issue #3300 and #3446.
2016-11-17 20:09:31 +01:00
Morgan Hardwood
666698dc02 GTK3 fixes, handles issue #3446 and fixes #3495 2016-11-12 20:13:10 +01:00
Hombre
2fcc5b75c8 Solving issue #3497, #3500, #3498 and #3483
For issue #3483, the old behavior is restored, i.e. the minimum width of
the ProfilePanel combobox is the maximum width of its content.

Style updated for the Exif and IPTC sub-tabs
2016-11-09 00:09:52 +01:00
Hombre
965cadb52e New batch of update for issue 3446
This commit include :
- cleanup rtgui/retinex.cc file (constructor only) and switched to
Gtk::Grid (the new standard) instead of Gtk::Box. This however doesn't
solve the issue of the Transmission curves in the Retinex tool, with
wrong resize of the Frame when folding/unfolding the curves.
- better alignment of the Histogram panel now with 4px of padding on the
left and right side
- Threshold selector now use the Scale's Trough style to draw its box
and sliders
- Curve's background are darker and restricted to the curve diagram
- Diagonal and Flat curves has been converted to Gtk::Grid as well
- A special color is now used for unsensitive Threshold selector and
Sclaes widgets
- Gap around the main Window has been removed on windows to circumvent a
bug in Gtk3, but the window can now only be maximized (usual use case)
or resized vertically by the top border only.
- Buttons at the bottom of the Editor panel has now the same height
2016-11-01 20:39:41 +01:00
heckflosse
3ae608d5ca Fixes #3486, gtk3: progress bar remaining blue after processing is annoying 2016-10-30 12:52:30 +01:00
Hombre
e4e474ca8a Merge branch 'gtk3' into gtk3-bugfix 2016-10-28 23:48:22 +02:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Hombre
b2af94ac74 More bugfix to the Gtk3 RawTherapee theme, see issue #3446 2016-10-22 02:13:50 +02:00
Hombre
712468197d Bugfix and style update of RawTherapee.css
Still unfinished - Big thank you to DrSlony for his help
2016-10-19 02:20:12 +02:00
Flössie
fb8941cd88 Manually simplify bool expressions and fix rtgui/progressconnector.h 2016-10-18 18:30:25 +02:00
Flössie
0bbc84b2af Merge branch 'master' into clang-tidy 2016-10-18 17:48:50 +02:00
Morgan Hardwood
4efae5c764 Merge branch 'master' into gtk3 2016-10-16 23:26:51 +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
Morgan Hardwood
0dbea030cb Merge branch 'master' into gtk3-merge-master-b8eb349 2016-10-10 23:07:41 +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
23011fbd63 Merge branch 'master' into softproofing 2016-10-04 00:04:57 +02:00
Hombre
4506247985 Merge branch 'master' into lockable-color-picker 2016-09-30 01:06: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
Flössie
8e6cfcb766 Fix use-after-free of ImageArea::mainCropWindow (#3048) 2016-09-29 18:21:37 +02:00
Hombre
3bdf38437c Fix issue #3186: "Combobox text overflow Gtk3"
+ fix a bug that prevent RT from building with gcc6.2
2016-09-27 02:08:23 +02:00
Hombre
c96c7dc8f3 Soft-proofing ang GamutCheck buttons are now disabled if Monitor profile
== NONE of is no suported intent for the selected profile.

The Monitor profile list (in the Editor and in Preferences) shows RGB
profiles only, whereas the output profile list shows all profiles (RGB,
CMYK, ... anything!)

Bugfix: When switching to a new image, the image now use the selected profile and intent.
2016-09-02 16:23:21 +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
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
Hombre
b7a3c45c7e Add new object IDs for theming (see issue #3214) 2016-03-26 15:06:17 +01:00
Adam Reichold
a04c7706db Merge branch 'master' into 'gtk3' 2016-03-05 13:11:00 +01:00
Hombre
3577d87862 Removed set_border_width from the code, padding and margin values still
to be set in CSS file
2016-02-23 21:36:00 +01:00
Adam Reichold
a2eea7c265 Finally fully remove the safegtk module. 2016-02-21 10:26:11 +01:00
Adam Reichold
e853629854 Move the external command helper into the external program store singleton. 2016-02-21 10:12:56 +01:00
Adam Reichold
b62b78e2f8 Move the special directory query helpers into the places browser. 2016-02-21 10:07:57 +01:00