Commit Graph

2578 Commits

Author SHA1 Message Date
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
Thanatomanic
3423a7ac55 Support for GX680 digital back including DCP (#6655)
* Initial support for GX680 digital back
With help from LibRaw for decoding support.
Estimates for color calibration are very rough...
* Small modification to black level, add DCP
2023-01-02 21:24:15 +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
Pandagrapher
1a4de65f46 Fixes ornament icon not correctly rendered 2022-12-13 19:26:25 +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
Pandagrapher
cc48ad2aa1 Fixes hi-dpi on Linux
- Fixes incorrect install path for icons
- Fixes case-sensitive issues with names
2022-12-08 10:03:45 +01: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
abb052e51b metadata: allow to select which metadata tags to include in the output image
(cherry picked from commit ed64206cb8b4455870815e2c51aecbd5c09e4054)
2022-12-06 22:08:23 -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
ea7c811b9b Preparing to merge back to dev 2022-11-27 20:29:39 +01:00
Morgan Hardwood
9b85839884 Preparing for release 5.9 2022-11-27 19:04:23 +01:00
Pandagrapher
eb40593d60 Merge with 'Beep6581/dev' 2022-11-03 17:10:48 +01: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
Morgan Hardwood
b08ed74cb8 Preparing for release 5.9-rc1 2022-10-07 12:25:16 +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
Pandagrapher
2cd6ba96ca Merge with 'Beep6581/dev' 2022-08-27 11:49:02 +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
Thanatomanic
ea515f4c98 Add several DCPs (#6553)
Fixes #5647, #5862, #5952, #6307, #6318
* Samsung Galaxy S7
* Canon EOS 1DX Mark III
* Canon EOS 5D Mark II
* Canon EOS-1Ds Mark II
* Fujifilm X-T4
2022-08-21 06:57:34 +02: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
Andrew Dodd
3dabe6bec4 Add Sony ILCE-7M4 DCP dual illuminant profile (#6552)
Fixes #6468
Intentionally generated without tone curve per #6467
2022-08-19 15:44:51 +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