32 Commits

Author SHA1 Message Date
Hubert Figuière
a1bbc93538
Fix missing explicit include (#6704)
* Fix missing explicit include

- Also avoid rtgui include

* Fix more missing explicit include
2023-05-21 15:25:42 -07: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
Ingo Weyrich
f564394bbc
dfmanager cleanup (#6211)
* Turn `DFManager` into a singleton
* PIMPL `DFManager`
* Cleanup namespace usage in `dfmanager.cc`
* Constify `DFManager` interface
* Fix bad `reinterpret_cast` between `std::string` and `Glib::ustring`

Co-authored-by: Flössie <floessie.mail@gmail.com>
Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2022-08-18 17:00:49 +02:00
Ingo Weyrich
6335b68a80 Further reduction of include dependencies 2019-11-03 14:52:42 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Hombre
52dcd08b97 Merge branch 'dev' into hidpi-icons 2019-03-13 01:00:14 +01:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
Hombre
5ea0bacddd Icons are resized depending on the current scale/resolution
See issue #3547 and #4803
2018-12-08 22:48:15 +01:00
heckflosse
1ae01f40b9 Verbose console output is jumbled, fixes #4558 2018-09-18 13:09:58 +02:00
heckflosse
53ec11eea9 Cleanup fftw when closing RT, instead of after each time fftw is used. Speeds up fattal and luminance denoise 2018-01-17 20:39:01 +01:00
Alberto Griggio
ceb3ebf24b Fattal: protect fftwf calls with a mutex (shared also with the denoise routine)
Initialization of the fftwMutex now happens in rtengine::init()
2017-11-05 13:34:33 +01:00
heckflosse
93f6bf89b9 Multithreaded init phase, #4140 2017-10-13 20:59:49 +02:00
Alberto Griggio
be39ef3260 allow to use a relative path for Lensfun.DBDirectory in options 2017-09-26 00:10:23 +02:00
Alberto Griggio
008f280e29 lensfun: added possibility to use a private copy of the LF database 2017-09-14 11:34:41 +02:00
Alberto Griggio
dde94bc6d3 added basic integration of lensfun
so far only distortion correction, and no GUI yet
2017-09-07 00:53:03 +02:00
Hombre
fb5466bc8c Code reorganization to enable Dynamic profile with rt-cli (#3691) 2017-04-25 00:50:18 +02:00
Alberto Griggio
b01899783d Added support for autodetecting the system monitor color profile also on Linux
Code borrowed from Geeqie
2017-04-08 15:18:50 +02:00
Flössie
97caf21b5c PIMPLed and streamlined ICCStore (#3691) 2017-03-18 11:59:14 +01:00
Hombre
567ed3629c Automatically selected profiles are now correctly loaded on first use. 2017-03-13 01:30:34 +01:00
Hombre
a04b3eefba Adding rawtherapee-cli.exe, '-q' (quick start mode) added
Standard rawtherapee.exe now has almost no command line options left.
Use '-h' to see options for each executables.
2017-02-13 23:38:05 +01:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
Floessie
e0ca8ecdff First round of cleanups for rtengine/dcp.*
- Sorted functions and methods
- Moved local functions to anonymous namespace
- Slightly modernized local functions
- Reworked `DCPStore` and fixed memory leak

Still coming:
- Rework `DCPProfile`
2016-06-04 22:43:09 +02:00
heckflosse
f0113b8f57 Removed benchmark code and made Color::gammatabThumb a LUTuc 2016-02-25 19:14:00 +01:00
heckflosse
bf66671a6d Moved gamma lookup table from rtthumbnail.* to color.* 2016-02-25 15:45:42 +01:00
heckflosse
24ca91dc61 Removed cleanupCache from improcfun.h and StopWatch for iccstore 2016-02-24 02:17:09 +01:00
heckflosse
e52b1fcdd4 Reduce start time and memory usage by removing redundant lookup tables and fillig remaining lookup tables in parellel 2016-02-24 01:35:47 +01:00
Adam Reichold
68271b9279 Regularize the camera constant store singleton to use a function local static like most other singletons. 2015-11-28 14:53:34 +01:00
heckflosse
f7907a5474 Speedup for perceptual curve, #2817 2015-08-17 13:31:20 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
torger
6bb0d15ff0 Issue 2837: added 'Perceptual' tone curve 2015-07-26 20:37:44 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00