Adam Reichold
fae40a137a
A few more minor fixes geared towards lgtm.com alerts ( #6127 )
...
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
2021-03-17 08:37:19 +01:00
Ingo Weyrich
e19321982c
Further cleanup
2020-08-13 13:27:01 +02:00
Ingo Weyrich
1419a01940
Further cleanup
2020-08-13 13:26:27 +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
Desmis
92fc0e307f
merge with dev
2020-02-24 11:09:20 +01:00
Ingo Weyrich
aae22fcc86
Merge pull request #5617 from Beep6581/devirtualize
...
devirtualize method calls by declaring classes and methods final
2020-02-07 17:06:30 +01:00
Ingo Weyrich
0d2ffb5e61
more final fixes
2020-01-24 14:53:41 +01:00
Ingo Weyrich
9a4ade6f20
devirtualize method calls by declaring classes and methods final
2020-01-23 22:18:46 +01:00
Ingo Weyrich
d82ea3af02
reduce some include dependencies
2020-01-17 23:18:48 +01:00
Desmis
e8986731e8
merge with dev
2019-11-07 08:09:21 +01:00
Ingo Weyrich
0544d15b16
Fix slowdown when creating thumb from non-raw file
2019-11-04 15:10:28 +01:00
Ingo Weyrich
6335b68a80
Further reduction of include dependencies
2019-11-03 14:52:42 +01:00
Flössie
add5c790d6
#pragma once
for our headers plus drive-by formatting
2019-10-31 10:20:50 +01:00
Ingo Weyrich
068847eb5a
Further cleanup of include dependencies
2019-10-29 21:06:27 +01:00
Desmis
40da546cf8
merge with dev
2019-09-11 12:45:32 +02:00
Morgan Hardwood
60b2196bce
Updated gnu.org links to use HTTPS
2019-09-10 12:34:57 +02:00
Desmis
7ac9629a7e
Some improvments
2019-06-26 06:47:19 +02:00
Desmis
5dbc61579d
Save provisory work for autowb ITCWB
2019-06-25 13:56:52 +02:00
Hombre
f60711b65b
Code cleanup of editcallbacks.h/.cc for more safety
2019-03-24 01:40:25 +01:00
Flössie
57d030881d
More procparams.h
relaxation
2019-03-01 17:40:02 +01:00
Flössie
0cbc4923bc
Relax dependency from procparams.h
2019-02-28 20:44:50 +01:00
heckflosse
8eba1c40a6
Fix segfaults when processing very large files in queue, #5170
2019-02-13 00:38:11 +01:00
heckflosse
ff00226d97
Fix segfault opining very large jpeg files in editor, #5170
2019-02-11 22:40:31 +01:00
heckflosse
831e18ca45
Add override keyword. Thanks @Floessie
2018-11-22 16:19:16 +01:00
heckflosse
a19f3484dd
Fix some warnings
2018-11-20 20:32:36 +01:00
Ingo Weyrich
aa286a32f9
Fix bug I introduced with last commit
2018-11-20 17:16:02 +01:00
heckflosse
087e438cdf
Fix coverity issues
2018-11-20 15:45:13 +01:00
heckflosse
512adf5b62
Review of image classes interfaces, part 2
2018-11-18 18:09:40 +01:00
heckflosse
bfe8465563
Review of image classes interfaces
2018-11-18 15:43:15 +01:00
Hombre
5d1922ce56
Merge branch 'dev' into 32b-tiff-output-cli
2018-08-30 21:32:26 +02:00
heckflosse
6d60d1093e
SEGV when using curve pipette in Lab tool while lab tool is disabled, fixes #4709
2018-08-22 11:51:28 +02:00
Hombre
30efa5930d
16-bit floating-point support for TIFF output image (see #2357 )
2018-05-07 09:57:53 +02:00
Alberto Griggio
08846264c7
started work on making RT not clip the image at intermediate stages
2018-02-09 21:25:39 +01:00
heckflosse
12261b5796
Segfault reading folder with own 32-bit compressed TIFF, fixes #4376
2018-02-07 14:45:57 +01:00
heckflosse
5ddd42f721
Faster png save with still good compression, fixes #4045
2017-11-18 12:56:37 +01:00
heckflosse
8de8775264
eliminate AlignedBufferMP, also eliminate some unsused functions in boxblur.h
2017-10-22 21:06:24 +02:00
heckflosse
6e55f6bab5
Fixed a lot of issues reported by cppcheck 1.78
2017-04-08 22:41:46 +02:00
heckflosse
2f1da199bd
Segfault when opening a folder which contains a 13229 x 57812 jpeg, fixes #3599
2017-01-07 23:02:30 +01:00
Flössie
730c03785d
Reapplied clang-tidy filters
...
- modernize-use-nullptr
- modernize-redundant-void-arg
- readability-simplify-boolean-expr
- misc-redundant-expression
- readability-redundant-control-flow
- readability-avoid-const-params-in-decls
2016-10-18 18:16:05 +02: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
Flössie
759676788b
Use BABL method for 16-to-8 bit conversion ( #3429 )
2016-09-22 21:52:07 +02:00
Flössie
1e7b8035c4
Round when converting to 8 bits ( #3429 )
2016-09-21 21:54:46 +02:00
Flössie
cb034284be
Use full range in ImageDatas::convertTo<>
( #3429 )
...
Kudos to @mmmtok for finding and fixing!
2016-09-14 21:36:44 +02:00
heckflosse
f885b17439
Small speedup for bilinear resize (used for thumbnails)
2016-06-02 15:25:08 +02:00
heckflosse
5c14573be7
cleaned code a bit, also added a small speedup
2016-05-08 23:16:23 +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
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