79 Commits

Author SHA1 Message Date
luzpaz
22f89bc752
Fix various typos (#6332)
* Fix various typos

Found via `codespell -q 3 -S ./rtdata/languages -L ba,bord,childs,hist,fo,reall,bloc,alph,dof,inout,thre,makro,chang,currentry,preserv,portugues,struc,trough,vektor`

* Fix source typo

* Added requested revisions
2021-08-13 14:37:29 +02:00
Thanatomanic
fc031ccb5a
Remove deprecated GTK3 code, fixes #6103 (#6113)
Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
2021-02-17 11:44:25 +01:00
Ingo Weyrich
9a4ade6f20 devirtualize method calls by declaring classes and methods final 2020-01-23 22:18:46 +01:00
Ingo Weyrich
962f81f6bc Further reduction of include dependencies 2019-11-01 12:51:08 +01:00
Ingo Weyrich
cac2eb53ef Further reduction of include dependencies 2019-10-31 20:41:08 +01:00
Flössie
aacea7046c Fix Clang warnings plus some cleanups 2019-10-31 08:56:38 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
0ed517d972 cppcheck: more explicit contructors 2019-07-31 16:08:25 +02:00
Flössie
51f06dfa6d Explicitly destroy static Glib::RefPtr<>s on exit (fixes #3636) 2019-03-09 12:06:54 +01:00
Hombre
bd175ec8d1 Merge branch 'dev' into hidpi-icons 2019-02-25 22:37:00 +01:00
Flössie
c85dc2811b Fix most Clang 7 warnings (fixes #4972) 2019-02-17 12:07:48 +01:00
Hombre
cc1779a0ae Merge branch 'dev' into hidpi-icons 2019-01-24 22:02:44 +01:00
Hombre
97824da6de Histogram and Navigator now handle Hi-DPI.
+ widgets are now sized depending on Hi-DPI
see issue #3547
2019-01-04 15:32:35 +01:00
Hombre
78fa7dc063 SHCSelector, ThresholdSelector, LabGrid and Curves now handles HiDPI
see issue #3547
2019-01-02 18:04:58 +01:00
Flössie
b21d910573 Remove legacy IdleRegister::add<>() 2019-01-01 20:58:26 +01:00
Flössie
5af3f64a9d Merge branch 'dev' into review-idle_register-calls 2018-12-31 14:58:26 +01:00
Hombre
434e121f99 Merge branch 'dev' into hidpi-icons 2018-11-29 00:15:57 +01:00
heckflosse
831e18ca45 Add override keyword. Thanks @Floessie 2018-11-22 16:19:16 +01:00
Flössie
00b62d2b65 Add @thirtythreeforty's std::function<> variant (#4892)
Also convert `batchqueue.cc` where applicable.
2018-11-11 20:32:01 +01:00
Flössie
5906329485 Review IdleRegister (#4892)
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00
heckflosse
78989731f5 Always use icons for tab headers, #4772 2018-09-18 11:37:15 +02:00
Hombre
caffc3a23d Bugfix: the scrollable toolbars was freezing under some circumstances 2018-09-06 23:10:16 +02:00
Hombre
20118c4019 Partially hidden toolbars can now be scrolled with the mouse wheel
...thanks to the new MyScrolledToolbar class (guiutils.h/cc). This is
valid for the FileBrowser tab (first and second line can be scrolled
individually) and the top and bottom bar of the Editor(s) tab.

see #4035
2018-09-02 10:47:44 +02:00
Alberto Griggio
46e3471d0f minor tweak to the ok/cancel button labels of MyFileChooserButton 2017-10-24 15:09:40 +02:00
Alberto Griggio
cf75429648 added set_show_hidden() method to MyFileChooserButton 2017-10-24 11:48:07 +02:00
Alberto Griggio
df8b52f978 implement our own custom FileChooserButton, with the aim of speeding up startup time
See #4140

Compiles fine, but needs testing...
2017-10-24 00:27:55 +02:00
heckflosse
5f97800e69 Reduce number of leakes ui handles per editor instance, #3937 2017-06-29 19:09:40 +02:00
heckflosse
ebbb44c3f5 Cleanup for last commit 2017-06-25 21:42:43 +02:00
Flössie
bc33b51093 IdleRegister cleanups 2017-05-02 18:45:23 +02:00
Ingo Weyrich
3ff2519302 Merge pull request #3816 from Beep6581/cppcheck3
Merged to get more tests. Additional fixes will follow.
2017-04-09 23:58:07 +02:00
heckflosse
92a46e9a3d Merge branch 'idle_harder' into dev 2017-04-09 02:18:09 +02:00
heckflosse
6e55f6bab5 Fixed a lot of issues reported by cppcheck 1.78 2017-04-08 22:41:46 +02:00
Alberto Griggio
27e822fdae fixed more warnings in rtgui (reported by gcc but not clang) 2017-04-01 16:43:32 +02:00
Flössie
6e1f7df2fb Replace g_idle_add_full() with IdleRegister (#3767) 2017-03-30 21:40:09 +02:00
Hombre
c654785ae3 Merge branch 'dev' into rt-cli 2017-03-18 18:17:45 +01:00
Hombre
a25a585673 Checkbox class added to simplify event handling. (issue #3739) 2017-03-16 01:16:37 +01:00
heckflosse
f9a536fd0b new gtk3 version of pixelshift 2017-03-11 22:30:36 +01:00
heckflosse
f226934b57 Pixelshift: Added option to equalize brightness of frames and cleaned gui. 2017-03-11 00:25:49 +01:00
Hombre
fe83cc8134 Merge branch 'dev' into rt-cli 2017-02-14 00:15:23 +01:00
Hombre
a04b3eefba Adding rawtherapee-cli.exe, '-q' (quick start mode) added
Standard rawtherapee.exe now has almost no command line options left.
Use '-h' to see options for each executables.
2017-02-13 23:38:05 +01:00
Flössie
79ff7f5997 Replace all add_idle()s with IdleRegister 2017-02-10 21:22:42 +01:00
Flössie
824ecaed41 Add IdleRegister to deal with destruction while idle func is queued
This adds a little helper class to `guiutils.*` that unregisters
in-flight idle functions queued by `IdleRegister::add()`. It's best
to call `IdleRegister::destroy()` in the destructor of the class
owning the `IdleRegister` instance. Otherwise make sure, it is the
last member which will be deleted first.

`Resize` now makes use of this new facility in `setDimensions()`, which
also fixes #3673.
2017-02-09 20:25:58 +01:00
Hombre
d702156f8a Merge branch 'master' into gtk3 2017-01-02 02:48:45 +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
c7be386c3a Solving issue #3531, assign classes to Gtk::Window and MyWidget
- Curve editor buttons are set to expand by default, but they are set to
shrink as soon as an accompagnying widget is set to expand
- White Balance's method button now has a centered ellipse ("...")
- White Balance's buttons are now aligned on their right
- A "withScrollbar" class is added to MyExpander if the ToolPanel's
vertical scrollbar is visible. This can let you add padding space for
the scrollbar (see #MyExpander.withScrollbar in RT default theme)
- A "maximized" and "fullscreen" class is added to the RTWindow whenever
it change state ; BEWARE: if you maximize the window then make it
fullscreen, Gtk says that the window is in a "maximized & fullscreen"
state, which mean that both class can be added at the same time to the
window.

One Gtk oddity (at least on Windows) is that you can make your window
fullscreen and still drag it around by its header bar... That's not very
practical to click on the unfullscreen button if in Single Editor mode
with vertical Tab.

I also managed to see the window in a Inconified + Maximized state. This
part of Gtk doesn't seem very robust, on Windows at least.
2016-12-20 01:58:37 +01:00
Hombre
a7d4f76364 Merge branch 'gtk3' into gtk3-bugfix 2016-12-13 23:04:25 +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
Morgan Hardwood
5ecd50b1cd Merge branch 'master' into gtk3 2016-12-05 12:01:45 +01:00