324 Commits

Author SHA1 Message Date
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
adb2ec1241 Fix font size from FontButton, behave differently from Gtk3.18 vs. 3.20
Gtk3.18 use px unit, Gtk3.20 use pt unit. Font selection does not
necessarily select the correct font where variant exists, expect strange
result. Nothing will be done to fix that.
2016-12-25 17:56:57 +01:00
Hombre
c993906d07 Restoring the FonButton in Preferences (#3540) 2016-12-18 22:50:59 +01:00
Hombre57
f3f317e5bd Issue #3446: Updated Gtk3.18 theme
Harcoded style has been reintroduced for Gtk < 3.20 only ; a cleanup
will have to be done once Gtk3.18 support will be dropped.
2016-12-06 01:33:03 +01:00
Hombre
8094ce7c99 Solving issue #3483 2016-11-29 01:11:14 +01:00
Hombre
17ff228177 Making the codified theme file name mandatory (#3446)
...which mean that TooWaBlue.css can't be loaded until it has been
reworked and renamed to the new mechanism. The default theme will be
loaded instead.
2016-11-20 12:33:47 +01:00
Hombre
55759c04e3 See #3446: the theme filenames now includes a code for version handling.
The theme filename must use a template, that will be explained with this
example:

mytheme-GTK3-20_22.css

Everything before -GTK3... is the theme (short) name, the [-GTK3-] is a
mandatory part, 20 is the included version where support begins and 22
is the included version where the support ends. One of this two version
parameters can be ommited (but not both of course), which make RT
understand "is compatible from all version up to xx" (e.g.
mytheme-GTK3-_22.css) or "is compatible from version yy and above" (e.g.
mytheme-GTK3-20_.css)

The RawTherapee-GTK3-_19.css comes 'as is' from the gtk3 branch and has
still to be tuned.
2016-11-20 02:22:03 +01:00
Hombre
0ab931c287 From issue #3446: remove the "Use system theme" option + slight rework
of the Preferences general panel.
2016-11-17 01:50:03 +01:00
Hombre
2b913bf213 More style fine tuning, including for the Preferences window 2016-11-14 03:06:49 +01:00
Morgan Hardwood
666698dc02 GTK3 fixes, handles issue #3446 and fixes #3495 2016-11-12 20:13:10 +01:00
Hombre
cbd0060bcd Merge branch 'gtk3' into gtk3-bugfix 2016-11-11 21:28:59 +01:00
Morgan Hardwood
a961325397 Merge commit 'b961e31' into gtk3 2016-11-05 20:43:58 +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
Morgan Hardwood
e35e46e0ad Fixes Preferences > Color Management layout, #3488 2016-10-30 20:52:13 +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
Morgan Hardwood
2a2dd2af8b Small fix to Preferences > Default Theme frame, no issue. 2016-10-24 21:04:13 +02:00
Hombre
f6a9e13297 New batch of Theme bugfix, see issue #3446 (still WIP) 2016-10-20 22:38:37 +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
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
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
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
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
Beep6581
5294d22bd1 Merge branch 'master' into gtk3 2016-05-01 22:49:36 +02:00
Flössie
d530617ae1 Include last remarks from Ingo
- Changed `_mm_store_ps` to `STVF`
- Increased number of cached CLUTs by factor 1.5
2016-05-01 20:49:17 +02:00
Adam Reichold
f0611fe9ba Merge branch 'master' into 'gtk3' to fix modal dialogs without a parent 2016-03-28 13:49:56 +02:00
Adam Reichold
4b9bc5be88 Try to fix #3132 by making sure every file chooser dialog is given an appropriate parent window. 2016-03-28 13:32:30 +02:00
Beep6581
0ce06b691f Fixed theme selection 2016-03-07 18:49:09 +01:00
Adam Reichold
a04c7706db Merge branch 'master' into 'gtk3' 2016-03-05 13:11:00 +01:00
Adam Reichold
d8e41eaeaa Fix #3711 by using the method to clear a combo box which is correct in version 2 and 3 of Gtk+. 2016-02-27 09:44:14 +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
325d153bd4 Use the Gtk::Dialog constructor with an explicit parent window for the preferences dialog. 2016-01-10 13:09:56 +01:00
Adam Reichold
8151e0f5ce Merge branch 'master' into 'gtk3'
Most conflicts seemed to be simple enough. There were a lot of `append_text` to
`append` conversions for `Gtk::ComboBoxText`. The `PopUpCommon` class also saw
a lot of changes with non-trivial conflict resolutions.
2016-01-06 23:56:12 +01:00
Adam Reichold
f66e838eb9 Fix enforcing the cache size limit and modernize the cache manager. 2016-01-04 21:02:40 +01:00
Adam Reichold
61f639192f Make use of the rendering intent enum in the preferences implementation as well. 2016-01-01 20:24:10 +01:00
Hombre
bcbb45454a Updated icons (from Drslony), code cleanup and bugfix 2015-12-29 03:52:50 +01:00
Adam Reichold
4ecf463f9f Merge master for the C++11 ABI fixes. 2015-12-20 20:53:59 +01:00
Adam Reichold
1b4fd2dcb5 Use the provided images for the filter-original button and the parsed extensions list and extend the filer-original tool tip. 2015-12-17 20:05:50 +01:00
Adam Reichold
b89cd282e0 Add buttons to the file browser preferences to make the list of extensions user-sortable. 2015-12-17 20:05:49 +01:00