93 Commits

Author SHA1 Message Date
Daniel Gao
711f274403 Get rid of relative include paths
* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
2024-11-16 17:20:02 -05:00
Simone Gotti
2b97de233f Add initial metadata lens correction handling 2024-07-08 10:30:51 +02:00
Lawrence Lee
068420da60
Use camera crop factor to select Lensfun lens 2024-05-02 22:12:44 -07:00
Pandagrapher
7e63892628 Merge with 'Beep6581/dev' 2024-03-06 19:10:49 +01:00
Lawrence Lee
1efa06e887
Fix Lensfun camera mismatch
Work around a Lensfun bug that finds the wrong camera when given an
exact name of certain cameras.
2023-10-14 21:18:04 -07:00
Pandagrapher
488a157476 Fixing review comments 2023-10-13 11:12:37 +02:00
Pandagrapher
990e9c70a5 Merge with 'Beep6581/dev' 2023-09-05 09:48:43 +02:00
Beep6581
e189a1a4ec
Merge pull request #6817 from ss23/clang_windows_mingw_64bit_fix
Use `_WIN32` instead of `WIN32` to detect Windows
2023-08-29 00:47:13 +02:00
Lawrence Lee
e6a2654241
Show "unchanged" in batch profiled lens correction 2023-08-27 16:32:30 -07:00
Stephen Shkardoon
23f2a2fc9f Use _WIN32 instead of WIN32 to detect Windows
`WIN32` is not defined when building a 64-bit executable on Windows with Clang. `_WIN32` is the more appropriate option here.
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system contains a handy table/matrix of the options and why this is best.
2023-08-13 17:09:49 +12:00
Pandagrapher
c28d5aab97 Merge with "Beep6581/dev" 2023-03-11 11:02:29 +01:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +02:00
Lawrence Lee
40678f67b0 Refactor tool name code 2021-12-11 21:21:54 -08:00
Thanatomanic
d2cd5f21c9
GUI changes: more distinct on/off modules, various CSS and GUI tweaks for further future modifications
Collection of CSS and GUI improvements, cleanup of main CSS theme, introduction of highlight for enabled module. 

Primary change is the modification of the module titles to better distinguish modules that are on or off. The text of a disabled module is now less bright, the corresponding icon is a slightly smaller version of the power icon. When activating the module, the text turns brighter and the icon slightly bigger and also brighter. Thanks to @TechXavAL for the icon work.

Secondary changes are related to the margins around several GUI elements, padding within elements and some accompanying borders. These changes hopefully make it easier to distinguish the various (sometimes crowded) GUI elements of modules. The panels have gotten a slightly 'outset' look.

Nested panels have a changed look where deeper nesting increases the background brightness slightly, instead of darkening it (old behaviour). This  is done without a strong decrease in contrast.

The old theme is available as a legacy option. Due to hardcoded GUI changes needed for the new theme, the legacy version is not a 100% exact replicate. The @TooWaBoo theme's may also be slightly affected.
2020-12-27 15:31:39 +01:00
Ingo Weyrich
7c2aa2405b Startup crashes in LensProfilePanel::LFDbHelper, fixes #5577, thanks to @dlichtenberger for the fix 2020-01-02 23:01:37 +01:00
Flössie
5852ee02b9 Make LFDatabase::findModifier() non-static 2019-12-02 08:20:25 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Ingo Weyrich
068847eb5a Further cleanup of include dependencies 2019-10-29 21:06:27 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Hombre
108b69ae22 "edit.h/.cc" splitted to limit rebuilding dependencies 2019-03-22 00:09:37 +01:00
Flössie
57d030881d More procparams.h relaxation 2019-03-01 17:40:02 +01:00
TooWaBoo
d6bdce3417
Lens profile bug fix
When changed distortion the profile changed too.
Fixed
2018-12-02 13:29:48 +01:00
Morgan Hardwood
1563854815 Lensfun crop factor warning icon
Replaced inconsistnent stock "dialog-warning" icon with custom warning.png
2018-12-02 02:02:53 +01:00
TooWaBoo
6b0558c9e3
Listener fix 2018-11-28 07:44:28 +01:00
TooWaBoo
90122c419e
Added inconsitent status to checkboxes and radio buttons 2018-11-27 20:17:52 +01:00
TooWaBoo
66e9014238
Batch mode fixed 2018-11-26 23:15:21 +01:00
TooWaBoo
0f6edfe8dd
Profiled Lens Correction Buf fix
Fixed bug https://github.com/Beep6581/RawTherapee/issues/5002
Profiled Lens Correction does not seem to use (Unchanged) mode in Batch Edit
2018-11-25 18:06:45 +01:00
TooWaBoo
0ffc7d9617
Add frames to lensprofile.cc 2018-11-25 08:47:39 +01:00
Roel Baars
d1571658f8
Consistent display of lensfun profile, fixes #5024 2018-11-24 13:37:36 +01:00
Morgan Hardwood
7e70412090 Constified and shuffled by Floessie #4999
I added the missing "(Unchanged)" mode for Batch Edit,
which is currently broken #5002.
2018-11-20 12:47:25 +01:00
Morgan Hardwood
452dec763c Show PLC widgets for auto+manual modes #4999
The Profile Lens Correction comboboxes for choosing the camera + lens
are now visible in both manual and automatic modes as requested.
2018-11-19 21:38:43 +01:00
Morgan Hardwood
ff6d02fd71 Hide manual lens correction widgets when not needed
- The comboboxes and their respective labels for manually specifying a
  camera and lens are now hidden when not in manual mode to not confuse
  the user.
- All Lens Correction Profile widgets are now aligned.
- Labels changed to not mislead users - the tool lets you select a lens
  profile, but it does not let you manually specify the individual
  correction parameters as previously implied.

Closes #4995, closes #4997
2018-11-19 18:28:37 +01:00
Morgan Hardwood
8de054d504 Formatted lensprofile.* 2018-11-19 14:14:31 +01:00
heckflosse
1ae01f40b9 Verbose console output is jumbled, fixes #4558 2018-09-18 13:09:58 +02:00
heckflosse
ce8ead804b Changing lens correction method triggers processing twice, fixes #4740 2018-08-19 16:38:02 +02:00
luz.paz
c3c3ceac79 Misc. typos
Found via `codespell` 
+ removed rtengine/dcraw.patch per discussion in https://github.com/Beep6581/RawTherapee/pull/4395
2018-02-14 14:07:18 -05:00
Alberto Griggio
56dc615b2a lens profile: correctly update the value of the "correct CA" checkbox
Fixes #4201
2017-11-28 14:26:30 +01:00
Alberto Griggio
339c794359 Fixed bug (typo) in LCP-based CA correction (now reenabled) 2017-11-16 21:22:17 +01:00
Alberto Griggio
19281eedd1 merge branch 'lensprofile-ca-correction' into 'dev' 2017-11-14 22:53:27 +01:00
Alberto Griggio
99f41baf4f disable LCP-based CA correction, as it is currently broken 2017-11-14 22:52:57 +01:00
Alberto Griggio
830fd6fdbb added support for CA correction via lensfun
Performance could be improved (see the comments marked "agriggio" in iptransform.cc and rtlensfun.cc)
2017-10-26 23:55:52 +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
Alberto Griggio
e2433214a3 Fixed bug in updating the GUI value of the lensfun lens when maker name consists of multiple words
It might happen in the lensfun DB that there are multiple makers sharing a
similar name (at present, this only happens for "Leica" and "Leica Camera AG").
The logic for finding the lens in the combo box was not considering this...
2017-10-19 16:20:31 +02:00
Hombre57
02463995af Merge branch 'dev' into multiframe-handling 2017-10-13 22:51:42 +02:00
heckflosse
5a0e4de607 When no lcp is selected, rt does not show (none), fixes #4143 2017-10-13 21:23:21 +02:00
heckflosse
77b3576059 dual-threaded fill of lensfun treestores, #4140 2017-10-13 21:05:37 +02:00
Hombre57
180912df0f Merge branch 'dev' into multiframe-handling 2017-10-04 23:34:28 +02:00
Morgan Hardwood
6828cf6eaf Fixes crash involving locale conversion of lensfun strings, by Floessie, fixes #4117 2017-09-30 15:41:52 +02:00
heckflosse
d733c40346 Fixed two bugs in lens correction gui, fixes #4098 2017-09-22 19:11:55 +02:00
Hombre57
97afbdc5c5 Merge branch 'dev' into multiframe-handling 2017-09-18 22:59:57 +02:00