Commit Graph

1744 Commits

Author SHA1 Message Date
Lawrence Lee
143e5c6783 Merge branch 'dev' into favorites-gui 2023-01-02 15:37:07 -08:00
Lawrence Lee
4d287b4cdf Merge branch 'dev' into multi-external-editor 2023-01-02 15:06:33 -08:00
Ingo Weyrich
8d29d361a8 Support dnggainmap (embedded correction) for Bayer files (#6382)
* dng gainmap support, #6379
* dng GainMap: control sensitivity of checkbox, #6379
* dng GainMap: partial paste
* dng GainMap: moved isGainMapSupported() from dcraw.h to dcraw.cc
* RawImageSource::applyDngGainMap: small speedup
* Change GUI to separate gainmap from other flat-field; also reorder checkbox

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2023-01-02 21:30:06 +01:00
Niklas Haas
2101b846c3 Implement file sorting in thumbnail view (#6449)
* Use mtime as fallback timestamp for files without EXIF data

As suggested in #6449, with date-based sorting it can be useful to have
at least *some* sort of time-relevant information for EXIF-less files,
to prevent them from falling back to getting sorted alphabetically all
the time.

This commit simply defaults the file timestamp to the file's mtime as
returned by g_stat. For annoying reasons, it doesn't suffice to merely
forward the timestamp to the FileData structs - we also need to keep
track of it inside FilesData to cover the case of a file with 0 frames
in it.

* Add DateTime to Thumbnail

Putting it here facilitate easier sorting without having to re-construct
the DateTime on every comparison.

To simplify things moving forwards, use the Glib::DateTime struct right
away. This struct also contains timezone information, but we don't
currently care about timezone - so just use the local timezone as the
best approximation. (Nothing currently depends on getting the timezone
right, anyway)

In addition to the above, this commit also changes the logic to allow
generating datetime strings even for files with missing EXIF (which
makes sense as a result of the previous commit allowing the use of mtime
instead).

* Implement file sorting in thumbnail view

For simplicity, I decided to only implement the attributes that I could
verily easily reach from the existing metadata exported by Thumbnail.
Ideally, I would also like to be able to sort by "last modified" but I'm
not sure of the best way to reach this from this place in the code.

It's worth pointing out that, with the current implementation, the list
will not dynamically re-sort itself until you re-select the sorting
method - even if you make changes to the files that would otherwise
affect the sorting (e.g. changing the rank while sorting by rank). One
might even call this a feature, not a bug, since it prevents thumbnails
from moving around while you're trying to re-label them. You can always
re-select "sort by ..." from the context menu to force a re-sort.

Fixes #3317

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2023-01-02 21:27:12 +01:00
Nicolas Turlais
401727fba9 Add filter for Paths to dynamic profiles (#6284)
Work by @nicolas-t 
* Path filter in dynamic profile panel
* Pass filename as a function argument
* Removed unused include
* Clearer translation
2022-12-31 10:51:30 +01:00
Lawrence37
5b4cf1a040 Merge branch 'dev' into multi-external-editor 2022-12-11 12:11:16 -08:00
Alberto Griggio
393dbcf9f9 metadata: allow the user to specify XResolution/YResolution
see https://discuss.pixls.us/t/note-to-the-dev-guys-about-72-ppi-output

(cherry picked from commit ad237944699800368ba50151f6774ee203d61ed5)
2022-12-10 09:56:36 -08:00
Alberto Griggio
1935f3d76d exif panel: ensure that keys are not empty in the displayed tag tree
(cherry picked from commit da45bf30bddf311b6c7d0d990d078b2a37d4b500)
2022-12-10 09:24:41 -08:00
Alberto Griggio
b92e77fb96 improved support for metadata editing
(cherry picked from commit 85da0b51ecf7ece768c0267aead71dd94404d4dc)
2022-12-09 22:35:26 -08:00
Alberto Griggio
a26e627282 Add EXIF panel activate buttons hints
Original commit message:
updated French and Brazilian translations

(cherry picked from commit 63db950a767737181b25e1888534cfac1cc40899)
2022-12-06 22:37:58 -08:00
Alberto Griggio
a4b0801646 fixed bugs in metadata saving
(cherry picked from commit 880b1d3d865a7820051cf3023cc58802daca28b0)
2022-12-04 16:13:04 -08:00
Morgan Hardwood
db1e7659a2 Japanese translation updated by Yz2house
Closes #6598
2022-10-22 20:19:10 +02:00
Morgan Hardwood
ba2a15a6af Espanol (Castellano) translation updated by TechXavAl
Closes #6597
2022-10-22 20:18:04 +02:00
Thanatomanic
4059ae5bca Remove language keys from translations that were obsoleted (long ago) and therefore no longer present in default (#6593) 2022-10-02 08:25:52 +02:00
Martin
ce8ab4ae23 Update Deutsch 2022-09-30 09:53:40 +02:00
Martin
795becb1f6 Update Deutsch 2022-09-30 07:38:44 +02:00
Morgan Hardwood
c113cffdf9 generateUnusedKeys 2022-09-29 00:47:59 +02:00
Morgan Hardwood
3ef618c236 generateTranslationDiffs 2022-09-29 00:44:15 +02:00
Morgan Hardwood
ea37cfc696 Delete unused keys to match default
Unused keys from localization files removes as per default.
2022-09-29 00:40:45 +02:00
Morgan Hardwood
727f3f7ba2 Consistently use _TOOLTIP suffix for tooltip keys 2022-09-28 23:24:51 +02:00
Morgan Hardwood
9010ca5d9d Review of default #5664
CIECAM terminology. Removed unused tooltips. Closes #6588
2022-09-26 18:06:50 +02:00
Morgan Hardwood
e2a7ccc612 Review of default #5664
Deleted commented-out key.
2022-09-26 16:57:22 +02:00
Morgan Hardwood
551f9f6116 Review of default #5664
Restored keys deleted by buggy `sort` command (version 9.1).
See PR #6503

printf '%s\n' "key;foo" "key0;bar0" | sort -Vu -t ';' --key=1,1
2022-09-26 16:46:25 +02:00
Morgan Hardwood
52a3a336ea Review of default #5664
Tooltips.
2022-09-23 18:51:32 +02:00
Morgan Hardwood
cf96139c3a Review of default #5664
Consistently use _TOOLTIP suffix for tooltip keys.
2022-09-23 18:09:44 +02:00
Morgan Hardwood
628a573c75 Review of default #5664
generateTranslationDiffs on default
2022-09-23 17:54:17 +02:00
Morgan Hardwood
cccb9f543c Review of default #5664
Cleanup of whitespace and fancy characters. Consistency in naming.
2022-09-23 17:51:13 +02:00
Morgan Hardwood
799452ac88 Review of default #5664 2022-09-23 16:37:46 +02:00
Thanatomanic
8ad6cdaada Update Chinese (Simplified) (#6565) 2022-08-30 15:18:06 +02:00
Desmis
200e2de86b Add TP_LOCALLAB_LOGAUTOGRAYJZ_TOOLTIP to Espagnol(Castellano) 2022-08-27 06:22:45 +02:00
Lawrence37
dfede05312 Add Castellano language, fix some default language detection (#6547)
Closes #6530 
Language file provided by Francisco Lorés and Javier Bartol
2022-08-26 10:44:22 +02:00
Desmis
efbcebb522 Review JzCzHz - Various changes to locallabtools2 - default - french (#6561)
* Various changes to locallabtools2 default french

* changed to German TP_LOCALLAB_LOGAUTOGRAYJZ_TOOLTIP
2022-08-25 14:01:17 +02:00
Thanatomanic
8d6a8eeae0 Updated German translation
Closes #6229
2022-08-24 20:31:15 +02:00
Lawrence37
4fa72c3a51 Add Japanese and Danish translations (#6503)
* Add Japanese and Danish translations
Japanese translations by Yz2house.
Danish translations by mogensjaeger.

* Run translation script on Japanese and Danish
Also add back some keys ending with "0" that the script mistakenly
removed.

* Rename language file Danish to Dansk
Allows automatic loading of the Danish translation from the system
language.

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2022-08-24 20:30:07 +02:00
Lawrence37
0a55428205 Clean up missing language keys (#6556)
* Clean up some unused code

* Use grid for abstract profile primaries

* Remove blank line from default
2022-08-24 20:23:09 +02:00
Desmis
1b3b0cf85f French for Perspective - Film negative - Cam16 and Jz (#6557)
* French for Perspective - Film negative - Cam16 and Jz

* Some forgotten tooltips

* Clean code and add others tooltip
2022-08-24 06:52:28 +02:00
Thanatomanic
93dfb09eaf Remove the HISTOGRAM_TOOLTIP_RAW from all language files (#6554)
It was a leftover from c03efe4878 where new strings were introduced to toggle the histogram types.
2022-08-22 20:45:03 +02:00
Beep6581
d92f5f7ca8 Merge pull request #6509 from Lawrence37/chinese-translation
Update Chinese (Simplified) translation
2022-07-25 13:43:33 +02:00
Andy Dodd
3bfcc66e46 Default strings cleanup, includes:
1 - Obsolete history events removal

Remove history events that are not referenced anywhere in code

Left event 149 despite being unreferenced due to the comment in the code indicating it may return

2 - Orphaned strings removal

HISTOGRAM_TOOLTIP_RAW appears to be an orphan, but this looks strange to me.  Investigation needed

3 - Strings cleanup - remove improperly commented entries

These don't get treated as comments, but at least didn't break anything since
nothing in the code referenced them.

But they will waste translator's time, so delete them
2022-07-22 06:27:02 -04:00
Bezierr
1450b9bb7a Camera and Lens profiles directories
In "Preferences", added the possibility to define a "Camera profiles directory" and a "Lens profiles directory" as base paths which enable storing relative paths in the .pp3 files.
2022-07-20 12:14:05 +02:00
Lawrence Lee
a877ac4878 Add pivot to local adjustments tone equalizer 2022-06-26 16:06:34 -07:00
Desmis
0599a5e96d Change tooltip in LA inverse issue 6506 2022-06-24 06:49:04 +02:00
Lawrence Lee
e87334b2f9 Update Chinese (Simplified) translation
Provided by syyrmb in #6369.
2022-06-23 21:40:23 -07:00
Lawrence Lee
3e2337bfae Add tone equalizer to batch editor 2022-06-12 16:57:40 -07:00
Desmis
404a584c74 Remove lines with bad history message ZCAM 2022-06-12 11:08:31 +02:00
Lawrence Lee
bd3bd809b5 Port tone equalizer from ART
Merge with local adjustments tone equalizer image processing function
for consistent results.

To-do: Enable for batch editing and add pivot/colormap to the local
adjustments version.
2022-05-01 16:13:27 -07:00
Desmis
c45a6105f7 Improvments to LA Sigmoid - LA Log encoding Cam16 and ICC profile creator (#6410)
* Improvment to sigmoid Cam16 and Jz
* Change default parameters contrast sigmoid
* Log encoding Q added to Sigmoid Q - Cam16
* Change DR evaluation for sigmoid
* Change default log encoding cam16 and change tool position options
* DCI-P3 added to Iccprofilecreator
2022-03-26 12:04:21 +01:00
Thanatomanic
1800fcc71f Minor change for spot size control 2022-03-26 11:45:00 +01:00
Jonathan Bieler
d80b3c71d1 Add default spot size control (#6371)
* added adjuster to change default spot size in spot removal tool

* added translation for default spot size

* removed unnecessary adjuster methods
2022-03-26 11:44:09 +01:00
Lawrence Lee
58f0783561 Allow selecting file as external editor 2022-03-05 18:26:52 -08:00