* changes such as symmetric works and temperature output makes sense
* Comment code
* other Comment code and small change
* Change tint in tooltip temperature
* Improve GUI for tempout and greenout
* Write temp images to private tmp directory (Linux)
The directory is in /tmp with 700 permissions.
* Reduce temp image file permissions in Linux
Set temporary image file permissions to read/write for the user only.
* Use private tmp directory for temp images in MacOS
* Use private tmp directory for temp images Windows
* Use GLib to create temporary directories
* Reuse temp directory if possible
* 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>
* 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>
commit e293f0890866ddf934ba1a9dd9fa372364766bb3
Author: Bezierr <harald.aust@web.de>
Date: Tue Aug 23 16:16:23 2022 +0200
Added comment
commit 20a50b248dc110eeb4b526c7242920a68216c88c
Author: Bezierr <harald.aust@web.de>
Date: Tue Aug 23 14:35:47 2022 +0200
Follow dynamicprofile.cfg symlink instead of overwriting it
If dynamicprofile.cfg is a symlink, write the contents to this symlink's target instead of overwriting it.
commit bad2f8c37a0d27e612150dce3219593b2f996f9c
Author: Bezierr <harald.aust@web.de>
Date: Thu Aug 11 17:20:08 2022 +0200
Make dynamicprofile.cfg OS independent
dynamicprofile.cfg contains OS-dependent paths to the profiles. To fix this, replace "/" or "\", depending on OS, with the correct delimiter.
commit cd84120876be111c23dac5376eb5b6f6cb0a7328
Author: Bezierr <harald.aust@web.de>
Date: Thu Aug 11 16:33:39 2022 +0200
Relative paths also for Dark Frame and Flat File
(a) Extended the "relative path" functionality to the (already existing, but apparently not used) directories for FlatField and DarkFrame
(b) Simpler, cleaner implementation
commit a338b8726451323505bb4cff1888c562fd88929d
Author: Bezierr <harald.aust@web.de>
Date: Sun Aug 7 18:03:46 2022 +0200
Preference of RAW path over rtSettings path
(a) Give path relative to a camera or lens profile in the same folder as the raw file precendence over path relative to rtSettings.
(b) Replace backslash/slash when reading file paths, not when writing them.
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.
- Fixes LA lost when applying partial profile (fixes#6150)
- Fixes LA behavior when using apply/paste actions: spots are now totally replaced and not anymore merged (fixes#6136 and #6411)
- Fixes a crash in specific situations when saving/copying a partial number of spots
- Partial paste dialog: Fixes Locallab button remaining inconsistent if all the spots are deselected