Commit Graph

11230 Commits

Author SHA1 Message Date
Lawrence Lee
70d30a5050 Fix crash after pressing f key in file browser
Check that the inspector window exists before trying to close it.
2021-05-02 15:57:34 -07:00
Lawrence Lee
bce88478c4 Fix inspector window rendering with device scaling 2021-05-02 15:50:55 -07:00
Lawrence Lee
de9403f9fe Ignore key down repeat events in inspector window
Ignore key press events that happen when a key is held down.
2021-05-02 12:52:15 -07:00
Lawrence Lee
4811f92c39 Add missing return statement 2021-05-02 12:35:05 -07:00
Lawrence Lee
b99b9302cc Fix inspector window scaling with caps lock
When launched with the accelerator key, the inspector window initially
scales the image without respecting the state of the caps lock. This
commit fixes the bug.
2021-05-02 12:31:33 -07:00
Lawrence Lee
e25cb3fde0 Fix inspector window panning speed
Consistently use integers for mouse movement and compensate for image
scale.
2021-05-01 15:52:45 -07:00
Lawrence Lee
5decec5405 Fix inspector window zoom centering
Use floating point coordinates instead of integers to avoid rounding
errors.
2021-05-01 15:52:13 -07:00
Flössie
8c477ffb8b Fix bug in DFManager::addFileInfo()
This was caught by GCC 11.1.
2021-04-30 10:21:04 +02:00
Lawrence Lee
900af7aeb7 Remove drawn background in inspector window
Add "InspectorWindow" CSS ID so that the background color can be changed
through CSS.
2021-04-25 18:11:47 -07:00
Lawrence Lee
d4bceb5c06 Pin inspector window if opened with context menu 2021-04-25 17:27:57 -07:00
Lawrence Lee
67e18b5c53 Fix inspector window sometimes not hiding
When the f shortcut is quickly pressed, the inspector window will
sometimes open and remain open even though it should automatically
close. This commit ensures the window closes by capturing the f key
release event from the main window in addition to the inspector window.
2021-04-25 17:05:02 -07:00
Lawrence Lee
61aba8ad08 Set inspector window title from language files 2021-04-25 15:48:29 -07:00
Lawrence Lee
58995a052d Properly enable inspector window for film strip 2021-04-25 15:44:49 -07:00
Simon Segerblom Rex
2061cfc54e Fix predictor modes 2-7 for lossless JPEG
Predictor modes 2-7 were broken. I just copy-pasted this
line from dcraw.c

After this fix it should be possible to remove lj92
(the lib + lossless_dnglj92_load_raw) and always use
lossless_dng_load_raw.
2021-04-22 14:35:32 +02:00
Desmis
53bb6e41bb LA other bad behavior Duplicate spot when spot outside preview 2021-04-22 07:15:28 +02:00
rom9
ca9f373ab8 Film negative: added new bundled profile for black and white film. #6201
Simply sets both exponent ratios to 1.0, and enables the B&W tool. This is a temporary solution waiting for more specific handling of B&W negatives in the tool.
2021-04-21 22:52:37 +02:00
rom9
aea1d805f7 Fixes #6213 : when both fattal and filmNegative tools are enabled, copy data from baseCrop, to avoid using the fresh buffer from getImage (un-doing the previous negative inversion).
This minimal change might not be the most correct solution, but it cannot be harmful: at worst, it can only break when both filmNeg and fattal are enabled (a situation wich is already broken).
2021-04-21 21:53:37 +02:00
Desmis
f47f23a4dc LA - Duplicate full image size whole image - issue 6200 2021-04-21 10:32:51 +02:00
Thanatomanic
2685e1774c Merge pull request #6208 from Beep6581/gfx100-support
Apply patch to support 16-bit Fujifilm files + support for GFX 100 and GFX100S
2021-04-18 13:51:21 +02:00
Thanatomanic
1d075175f4 Apply patch to support 16-bit Fujifilm + support for GFX100S 2021-04-18 13:40:44 +02:00
Simon Segerblom Rex
cfbc8a632d lj92: Fix decoding of 16 bit diff values (#6190)
This is a port of the fix discussed here:
https://github.com/ilia3101/MLV-App/pull/221
2021-04-18 08:03:53 +02:00
Ingo Weyrich
2eaccc40af Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2021-04-08 19:38:32 +02:00
Ingo Weyrich
4d7b6406dd Missing copyright statements and Boost license text for files forked from SLEEF, fixes #6202 2021-04-08 19:38:10 +02:00
Lawrence37
8bf1098d7b Merge pull request #6199 from Beep6581/merge-file-neutral-background
Enable neutral colors for LA merge file
2021-04-04 09:16:36 -07:00
Desmis
cfda519894 Fixed LA shape detection adjusters range mismatch issue 6198 - thanks to Lawrence37 2021-04-04 08:35:45 +02:00
Desmis
c14a43355f Remove unused variables a_basemerg and b_basemerg 2021-04-04 08:15:01 +02:00
Lawrence Lee
a0993b624d Enable neutral colors for LA merge file 2021-04-03 11:56:22 -07:00
Desmis
128de03aed Local adjustemnts - adapt various parameters to fit labels in right tool panel issue #6153 (#6160)
* Various change to fit label in left tool panel

* Increase size left panel from 460 to 465

* Various improvment to reduce size left panel

* Others changes to reduce left panel labels

* Increase default size right panel

* Set right panel ajustable to size font

* Others small changes to mask

* Others small modifications

* change a litlle GUI - curveeditorgroup.cc - suppress curves u=in mask and reduce size right panel

* Added : to various curves label

* Others : labels curves

* Some adjustments labels sizefonts

* Change 2 forgotten length labels in denoise

* Others improvments labels

* Others labels change for retinex

* Others change labels - thanks to Wayne Sutton

* French change label length

* Change labels Wavelet levels - LA retinex - LA color and lights - and others

* Other change to mask blur

* Change box - Flowbox - thanks to Beep6581

* Adapt size box basic..advanced with size font

* Restore curveditorgroup : - change some labels and tooltips

* Remove some ':' - change and adapt labels tooltip wavelet levels

* Change flowbox for complexity under label

* Restore right panel and options to default values

* Change a label in wavelet level denoise

* Change in mask curves L(L) by L C(C) by C

* Small change labels denoise to fit in width right panel

* Others changes to GUi and labels to fit in right panel

* First change tooltips and french

* Second change tooltips

* Change tooltip mask denoise
2021-04-02 07:36:42 +02:00
Desmis
e98288ab31 Wavelet levels - enable Toning in some cases 2021-03-30 16:49:25 +02:00
Desmis
717948cf09 Local adjustments - Normalize luminance - improvment Preview TM - Retinex - Remove D.Range (#6185)
* Enable dynamic range - settings normalize luminance

* Change range DR sigma offset

* improve normalize_mean_dt with mean std before

* Save work on normalize dynamic range

* Improve normalize for TM

* Added LA retinex to normalize_mean

* Clean and optimize code

* Disabled normalize DR - improve TM and Retinex

* Clean code - first part

* Clean code - part two

* Change 2 default values Retinex

* Change order TM and Retinex in process

* remove the order number in - add tool to current spot -

* Fixed bug in TM

* Some change Retinex - default...

* optimize mean sigma

* cleanup for mean_sig

* Fix some cppcheck issues

* convert one large loop into three loops to avoid performance penalty on machines with 4-way L1 cache

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-03-28 12:55:29 +02:00
Thanatomanic
a64660bfa2 Support for Canon EOS RP and Canon 100D in camconst.json
Merge pull request #6187 from CarVac/patch-1
2021-03-26 10:59:20 +01:00
CarVac
3bbfdb306f Update camconst.json
Add the EOS RP (same as 6D2) and 100D/SL1/Kiss X7 (same as 700D)
2021-03-26 05:53:08 -04:00
Ingo Weyrich
871d35c228 Favorites Tab: rawBayerExposure in X-Trans, fixes #6182 2021-03-24 11:05:11 +01:00
Desmis
35cb43d675 LA -Fixed bad coloration with narrow preview (#6183) 2021-03-24 08:03:05 +01:00
Desmis
3ad786745c LA - Move colortoning labgrid from rgb to lab - issue #6132 (#6173)
* Move colortoning labgrid from rgb to lab

* Remove unnecessary variables
2021-03-23 16:59:54 +01:00
Thanatomanic
ca5a9a26de Initial support for Fujifilm X-E4 in camconst.json 2021-03-22 13:26:25 +01:00
Desmis
d90f663f83 Second forgotten nlmeans size Rt-spot 2021-03-21 20:55:35 +01:00
Desmis
619244886d Change 2 forgotten Nlmeans parameters - thanks to Lawrence37 2021-03-21 20:49:52 +01:00
Desmis
88a7a7ecc7 LA nlmeans remove limitation spot size - issue 6087 2021-03-21 10:03:27 +01:00
Desmis
170df03933 LA - Simplify GUI - Dynamic range 2021-03-19 16:58:49 +01:00
Desmis
7224412b69 Local adjustments - Nlmeans - Fixed smears image borders issue 6171 (#6172)
* Fixed ? smears image borders issue 6171

* Increase effect for borders

* Fixed smears image border nlmeans - thanks to Lawrence37
2021-03-19 08:45:56 +01:00
Desmis
c0e67b64c8 Fixed crash wavelet edge sharpness in some cases 2021-03-18 09:40:34 +01:00
Adam Reichold
fae40a137a A few more minor fixes geared towards lgtm.com alerts (#6127)
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
2021-03-17 08:37:19 +01:00
Desmis
537fa73d3f Local adjustments - Log encoding - Ciecam16 ContrastJ - contrastQ - contrast threshold (#6169)
* Added contrast threshold Log encoding

* Improve contrast threshold

* Chanhe tooltip

* Change sign threshold when contrast negative

* Another change threshold with contrast Q and J
2021-03-15 07:57:25 +01:00
Morgan Hardwood
2c47005b1d Chinese (Simplified) locale updated
Updated by syyrmb, closes #6168
2021-03-15 02:42:52 +01:00
Beep6581
f75090c513 Merge pull request #6158 from stwunsch/fix-cmake-abspath
[cmake] Use absolute path to cmake in UpdateInfo
2021-03-15 00:04:11 +01:00
Desmis
227ae487d4 LA and Shadows-Highlight main - change location shadows-highlight in Lab issue 6163 (#6164)
* Change location shadows-highlight in Lab

* Suppress unused variable

* Small change in improccoordinator.cc
2021-03-13 07:17:42 +01:00
Ingo Weyrich
bb08b6bed8 Raw black points: Green2 Does not change color when click button restore value to 0, fixes #6165 2021-03-09 13:11:51 +01:00
Desmis
0170305906 Local contrast - Try to solve bug issue #6132 (#6134)
* Try to solve bug issue 6132

* Refine placement localcontrast in pipeline
2021-03-08 08:29:57 +01:00
Desmis
9b2e955dc9 LA improve behavior full image issue 6161 2021-03-08 08:00:35 +01:00