Commit Graph

12239 Commits

Author SHA1 Message Date
Lawrence37
2c51b822a3 Merge pull request #6889 from Lawrence37/wprof-crash-fix
Fix for segfault due to wprof being null
2024-01-27 21:47:55 -08:00
Lawrence37
8f1f532fe6 Merge pull request #6878 from Lawrence37/switch-image-fix
Fix for crash when moving cursor over loading raw image
2024-01-27 21:47:15 -08:00
Lawrence37
4dd7517a55 Merge pull request #6873 from 0v3rt1r3d/0v3rt1r3d/fix-a-couple-of-warnings
Fix a couple of warnings
2024-01-27 21:46:14 -08:00
Lawrence37
9b7aef5d58 Merge pull request #6865 from CarVac/dev
Fix camconst.json white levels for 1DxII
2024-01-27 21:45:40 -08:00
Lawrence37
516add1efd Merge pull request #6923 from Benitoite/patch-32
mac: installation & run instructions
2024-01-27 21:40:42 -08:00
Lawrence37
13bf7a1f0a Merge pull request #6857 from Lawrence37/camconst-from-art
Update camconst.json from ART
2024-01-27 15:52:54 -08:00
Lawrence37
4a6abba826 Merge pull request #6858 from Lawrence37/dcps-from-art
Add DCPs from ART
2024-01-26 23:14:12 -08:00
Lawrence37
7eb2aedbc1 Merge pull request #6927 from Lawrence37/panasonic-dc-g100-white-levels
Panasonic DC-G100 white levels
2024-01-25 21:04:19 -08:00
Lawrence37
366d6964c9 Merge pull request #6894 from Lawrence37/appimage-debug-build
AppImage workflow debug build
2024-01-25 21:03:15 -08:00
Lawrence37
5ffa0632f2 Merge pull request #6885 from Lawrence37/asan-mem-leak
Fixes for memory leaks and memcpy overlap found by AddressSanitizer
2024-01-25 21:02:50 -08:00
Lawrence37
ddcaa7a81c Merge pull request #6881 from Lawrence37/lensfun-vignette-fix
Fix focus distance from metadata
2024-01-25 21:01:17 -08:00
Scott Gilbertson
11a0a0b697 Fixes per pull request comments: fix %p-1 missing slash, use static_cast, fix int/unsigned mismatches 2024-01-16 07:54:12 -05:00
Scott Gilbertson
6cbc448f63 Handle Samba-style UNC prefix '//' in %p and %P queue output template specifiers 2024-01-15 17:13:40 -05:00
Scott Gilbertson
1df9b4869e Make %p and %P queue output template specifiers limit invalid range rather than treating that as an error.
For example in a 4-element path "first 5 elements" and "last 5 elements" now return all four elements.
2024-01-15 16:39:38 -05:00
Scott Gilbertson
a39e6779e4 Fix: If %p or %P queue template term includes start of file path, prepend the leading /, \ or \\ from the file path 2024-01-15 15:27:09 -05:00
Scott Gilbertson
343b5ecc68 Left-justify the queue destination preview label and allow it to scroll horizontally 2024-01-15 14:40:56 -05:00
Lawrence Lee
2bc7cea5a1 Add white levels for Panasonic DC-G100
Reduce white levels for ISOs 1600-4000 due to noise with LENR on.
2024-01-14 12:58:05 -08:00
Lawrence Lee
67da8a9634 Implement Hasselblad flat-field and levels 2024-01-11 22:35:26 -08:00
Lawrence Lee
2b6789b4ac Fix Hasselblad model name when using LibRaw
The model, rather than the normalized model, gives the name that matches
those given by dcraw for Hasselblad cameras. This is important for
matching the model name in camconst.json.
2024-01-11 22:32:09 -08:00
Scott Gilbertson
b3bbaa6421 Code formatting: move ampersands next to types 2024-01-10 18:55:52 -05:00
Scott Gilbertson
9e310b7454 Minor changes per feedback in issue #6915 (mostly code formatting) 2024-01-10 18:47:14 -05:00
Richard E Barber
d536289d6d mac: add new fancy dmg bkgnd png w/instructions 2024-01-09 03:42:39 -08:00
Richard E Barber
25907444b6 mac: rm outdated fancy dmg bkgd png 2024-01-09 03:41:00 -08:00
Richard E Barber
de67fa6577 mac: rewrite of install readme instructions 2024-01-09 03:38:28 -08:00
Scott Gilbertson
c918de3178 Reversed %p and %P processing cases for location templates, which were opposite to what the help says. 2024-01-07 11:49:19 -05:00
Scott Gilbertson
0127b68bdb Minor comment clarification 2024-01-07 11:14:52 -05:00
Scott Gilbertson
df41028468 On Windows, use backslashes in template-generated paths
(but continue to accept either / or \ in input strings, on any platform)
Also deleted an unused helper function.
2024-01-07 11:10:05 -05:00
Scott Gilbertson
6df930b639 Minor tooltip change: shorter explanation of %f location template specifier 2024-01-07 11:09:24 -05:00
Scott Gilbertson
f92e07e5cf Make destination path preview label selectable, so its contents can be copied to the clipboard 2024-01-07 10:52:01 -05:00
Scott Gilbertson
d9511d9af8 Update QUEUE_LOCATION_TEMPLATE_TOOLTIP text to describe new specifiers
Describe %dN, %d-N, %pN, %p-N, %PN, %P-N and %f specifiers
Add examples using the new P specifier and -N terms
2024-01-07 10:42:44 -05:00
Scott Gilbertson
5accf1e9db Add myself to the list of authors 2024-01-07 10:31:05 -05:00
Scott Gilbertson
0f66d43272 Update destination preview whenever the save format changes. 2024-01-07 10:09:45 -05:00
Lawrence Lee
d13badbbe0 Implement DNG bad pixels constant for LibRaw
Works if the FixBadPixelsConstant is zero, as implemented for dcraw.
Other constant values may be implemented in the future.
2024-01-06 21:40:00 -08:00
Lawrence Lee
d96809ecab Copy missing camera constants from dcraw to LibRaw
Update white level for Fujifilm HS20EXR/HS22EXR and add constants for
Panasonic DMC-TZ82.
2024-01-06 21:40:00 -08:00
Lawrence Lee
ab21f77b95 Implement Sony Pixel Shift for LibRaw 2024-01-06 21:39:59 -08:00
Scott Gilbertson
21c53823ee Reimplemented %p template specifier to use new method, added %P specifier
The %P specifier includes directories from the start of the file path,
whereas the original %p specifier includes them from the end. In both
cases N is from the last directory in the path, and -N is from the
first directory in the path (N=1..9).
2024-01-06 18:21:59 -05:00
Scott Gilbertson
b8d3f90ca0 Reimplement template %dN specifier, making %d-N count from start of path, not end
Also made %pN selectively skip the next character only if it's a slash or backslash,
so for example %p2/a, %p2\a and %p2a produce the same result.
2024-01-06 18:01:56 -05:00
Scott Gilbertson
587e0c6782 Simplified BatchQueue::updateDestinationPathPreview after noticing that calcAutoFileNameBase handles all cases 2024-01-06 16:32:14 -05:00
Scott Gilbertson
380d964077 Add destination path preview label to batch queue panel.
Label initially says "Destination path for the first selected image appears here"
so the feature is discoverable. Select a file and it shows the destination path
that would be used if it is the first file to be processed and the file does
not already exist. Label is updated as the template is edited, so you can see the
effect of the edits. If "Save to folder" is selected, the previewed path uses
that folder.
2024-01-06 16:00:19 -05:00
Lawrence Lee
88f9978e1f Merge commit 'de5f92937857cccc45080c59c6236561416e5ece' into libraw-copylib
Upgrade LibRaw to 0.21.2.
2023-12-31 14:05:48 -08:00
Lawrence Lee
de5f929378 Squashed 'rtengine/libraw/' changes from cccb97647..1ef70158d
1ef70158d 0.21.2 release
62f042366 tag type => tag size mapping fixed
ee087e3fe cubic_spline: better handling of non-integer data
af755b991 extra metadata check in arq_load_raw
0fadd8819 Better incorrect data handling in cubic_spline
d7fb66053 skip invalid pattern in xtrans_interpolate
d059ed280 Check HL recovery coeffs before processing
104730519 limit wavelet denoise minimum size
cae09838e raw-identify: use fallback if PATH_MAX not available
d6c677608 additional check against corrupted ljpeg layout
1001a6ac1 Disable color conversion for Canon 16-bit thumbnails
a5130b01b docs/changelog: explained the case when no thumbnail is found in specific file
600c0c63d rename swapXX to libraw_swapXX to avoid name conflict
299c8a11b Check against corrupted LJPEG header in Canon sRAW decoder
ec8671ad9 Limit embedded color profile allocation/read size
5229d5942 Wrong alloc result check for 16-bit bitmap thumbnail
b278b775f check pana_data/buffer offset before use
7f4b8d3af Check P1 quadrant linearization coeff[15] against zero
e942a7db6 avoid integer overflow in buffer space check
f6a57cfb8 prevent buffer overrun in buffer_datastream::scanf_one
3e62ed304 ensure correct T.tlength for 16b bitmap thumbnails(2)
8e52d81cd ensure correct T.tlength for 16b bitmap thumbnails
8e1af15e2 Do not run sraw decoder on (crafted) bayer files
0ace959c2 better striped thumbnails handling
477e0719f do not set shrink flag for 3/4 component images
c8efae6c5 allow more decoders for fuji-rotated RAWs

git-subtree-dir: rtengine/libraw
git-subtree-split: 1ef70158d7fde1ced6aaddb0b9443c32a7121d3d
2023-12-31 12:52:34 -08:00
Lawrence Lee
ebf5b422be Use proper include for LibRaw
The include directory for LibRaw is properly set by CMake so
    `#include <libraw/libraw.h>`
will work for both the internal and system versions.
2023-12-31 12:33:01 -08:00
Lawrence Lee
e599f71bf2 Remove unused rawimage functions
Prevent accidental use of these functions that will not supply the
correct data when using LibRaw.
2023-12-31 12:03:16 -08:00
Lawrence Lee
dca44bb89a Fix crash loading multi-frame RAFs with LibRaw
Set the frame number when reading image metadata.
2023-12-31 12:00:45 -08:00
Lawrence37
255a0c7086 Merge pull request #6906 from Lawrence37/fix-odd-raw-crop-raw-ca
Fix for wrong colors when the demosaic border is odd (dev)
2023-12-23 11:18:31 -08:00
Lawrence37
d0e36ee509 Merge pull request #6904 from Lawrence37/fix-odd-raw-crop-raw-ca
Fix for wrong colors when the demosaic border is odd
2023-12-23 11:14:37 -08:00
Lawrence37
85746a8093 Fix bad colors when demosaic border is odd
Colors are incorrect if the demosaic border is odd and raw chromatic
aberration is enabled.
2023-12-21 22:09:32 -08:00
Lawrence Lee
2b7889b645 Add option to disable LibRaw in preferences 2023-12-17 16:00:30 -08:00
Lawrence Lee
f296991419 Implement DNG gain map for LibRaw 2023-12-17 16:00:30 -08:00
Desmis
31bf942d92 Local adjustments - Show additional settings - link with complexity (#6899)
* Change hishow -additional seeting - with complexity

* Modify windows.yml and appimage.yml

* Fixed bug in duplicate spot

* Remove pre-dev builds
2023-12-17 08:37:20 +01:00