57 Commits

Author SHA1 Message Date
Lawrence Lee
4e9ceff1e9
Merge remote-tracking branch 'origin/fix-warnings-5.9' into fix-warnings-5.12 2024-11-16 22:27:29 -08:00
Stephen Shkardoon
23f2a2fc9f Use _WIN32 instead of WIN32 to detect Windows
`WIN32` is not defined when building a 64-bit executable on Windows with Clang. `_WIN32` is the more appropriate option here.
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system contains a handy table/matrix of the options and why this is best.
2023-08-13 17:09:49 +12:00
Lawrence Lee
3833c6e634
Merge branch 'dev' into metadata-exiv2 2023-02-05 12:29:58 -08: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
Alberto Griggio
7324ea7230
replace Glib::filename_to_utf8 with custom fname_to_utf8
(cherry picked from commit 30b4daf9077e3c6780cefbf6c4223da4698b8612)
2022-12-10 12:15:27 -08:00
Lawrence Lee
255dc13843
Add Lensfun DB lookup fallback directory
Load from the bundled database directory if loading from the configured
location fails.
2022-11-24 17:08:00 -08:00
Flössie
6819b32be7 Mute some warnings (#6563) 2022-08-26 11:54:12 +02:00
Ingo Weyrich
a5c7713042 Cleanup: removed unused function; also murder instead of call for suicide (delete this) 2020-08-13 13:10:33 +02:00
Ingo Weyrich
785273e7bf Further reduction of include dependencies 2019-11-01 01:03:30 +01:00
Ingo Weyrich
ba8dda1836 Further cleanup of include dependencies 2019-10-30 16:38:02 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
41fc34c5c6 Do not assign empty strings on creation of std::string or Glib::ustring 2019-07-31 20:21:16 +02:00
Hombre
757af312d2 Suppress 'rtwindow.h' from main-cli.cc 2019-03-19 02:02:12 +01:00
Hombre
81407cd663 Adding SVG support for icons with automatic cache handling
See issue #3547 and #4803
2018-12-13 00:04:30 +01:00
Hombre
434e121f99 Merge branch 'dev' into hidpi-icons 2018-11-29 00:15:57 +01:00
heckflosse
52ddc63f54 Fix coverity issues 2018-11-23 00:33:30 +01:00
Hombre
3d7ef4286e Merging dev into hidpi-icons 2018-11-13 22:37:49 +01:00
Morgan Hardwood
4fefc9433a Fixes unspecified bit depth in CLI
In rawtherapee-cli, if you did not explcitly specify a bit depth then -1
was used and lead to corrupted saved images.
Fixes #4937
2018-11-04 19:06:54 +01:00
Hombre
785a0e6a46 Merge branch 'dev' into hidpi-icons 2018-10-25 20:43:41 +02:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00
Ingo Weyrich
601ef585e1
Update main-cli.cc 2018-10-16 10:11:20 +02:00
Hombre
b26ea95c92 Bit-depth detection from RT-cli now more bulletproof (see #2357)
Thanks to Beep6581 for the fix
2018-09-01 23:04:49 +02:00
Hombre
5c10e19541 Fix wrong bit-depth detection from RT-cli (see #2357) 2018-09-01 19:02:00 +02:00
Morgan Hardwood
7e1d6a3c67 Revision of CLI --help info 2018-09-01 14:40:32 +02:00
Hombre
30efa5930d 16-bit floating-point support for TIFF output image (see #2357) 2018-05-07 09:57:53 +02:00
Hombre
5ac11ef1b9 Enable saving 32 bits floating point TIFF image with rt-cli (see #2357) 2018-05-06 18:50:42 +02:00
heckflosse
483c0ae3e5 GIMP RawTherapee plugin cannot find executable in Windows, fixes #4514 2018-04-30 14:16:00 +02:00
Hombre
191a139445 Fix error message handling in rt-cli, related to single-user mode
See #4428
2018-03-10 17:34:06 +01:00
Hombre
b430ca19a6 Double fallback implemented (see #4396)
If the user's default profile is not found, it'll fallback to the
bundled one. If this one is not found, it'll fall back to internal
values. No restart required. Only the GUI alert are localized.
2018-02-24 14:02:50 +01:00
Hombre
ee2c8f01e0 Merge branch 'dev' into tiff32float 2018-01-01 15:24:00 +01:00
Alberto Griggio
b589254d21 Moved "Copy metadata unchanged" to PP3, and added "strip metadata" mode
Fixes #3647
2017-12-29 23:03:44 +01:00
Alberto Griggio
bc8b8902e6 make rtengine::processImage return an Imagefloat instead of an Image16
This is for supporting saving to 32-bit float TIFFs
2017-11-20 00:10:51 +01:00
heckflosse
5ddd42f721 Faster png save with still good compression, fixes #4045 2017-11-18 12:56:37 +01:00
heckflosse
7542cfc456 Make compilation unit rtengine/icons.cc -Wextra clean, #4155 2017-10-25 13:26:14 +02:00
Alberto Griggio
be39ef3260 allow to use a relative path for Lensfun.DBDirectory in options 2017-09-26 00:10:23 +02:00
heckflosse
e29334a4dc rawtherapee-cli: use jpeg compression 92 instead of 0 when called with -j 2017-09-22 18:00:15 +02:00
Alberto Griggio
6f7ca3f5ec one more fix for locating the lensfun db in bundle mode 2017-09-17 16:45:54 +02:00
Alberto Griggio
6d453dbd34 make sure the lensfun db is found correctly when building RT in "bundle" mode 2017-09-17 00:35:37 +02:00
Daniel Lichtenberger
f5628dd5b3 Fix crash on empty command line arguments 2017-09-01 20:01:28 +02:00
Alberto Griggio
b39f072baf run through astyle 2017-08-22 08:53:17 +02:00
Alberto Griggio
511f6c2a7b raise an exception when Options::save fails
See #3975 #3976
2017-07-20 17:03:21 +02:00
Alberto Griggio
d67ca00ce2 Merge pull request #3946 from Beep6581/remote-app
new feature: open images in an already-running instance of RT
2017-07-19 17:51:39 +02:00
Hombre57
ded8c66fcd Solving issue #3948 2017-07-13 17:06:47 +02:00
heckflosse
ffc84a676e Small speedup for rawtherapee-cli when processing a whole folder of files 2017-07-12 01:14:59 +02:00
Flössie
051670160b Some fixes as hinted by Coverity (#3558) 2017-06-05 10:58:14 +02:00
heckflosse
58b3ed7c43 rawtherapee-cli (5.1) crashing with -t option. Fixes #3891 2017-05-27 14:12:48 +02:00
Alberto Griggio
c4863e5f89 Added support for opening images in an already-running RT instance
This is enabled by the new -R switch of rawtherapee.
The idea is that you first start the "server" with

  `$ rawtherapee -R`

and then open images on this server by using

  `$ rawtherapee -R /path/to/raw.file`

Currently disables on OSX (there seems to be some "legacy" support for this in
rtwindow, but I have no way of testing it and/or integrating it with this at
the moment)
2017-05-18 16:38:09 +02:00
Morgan Hardwood
3950bf80d3 Small change to man page and help. 2017-05-13 01:32:02 +02:00
Hombre
76bab70ccb Bugfix of 'Usage' text and updated manpage 2017-05-13 01:12:00 +02:00
Hombre
bcad76cd5e Processing a directory now look for image format set in options (#3691)
See the updated '-c' and new '-a' help when using rawtherapee-cli.exe -h
2017-05-02 23:08:33 +02:00