Daniel Gao
711f274403
Get rid of relative include paths
...
* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
2024-11-16 17:20:02 -05:00
Ingo Weyrich
9a4ade6f20
devirtualize method calls by declaring classes and methods final
2020-01-23 22:18:46 +01:00
Ingo Weyrich
79431ffa1d
Some changes suggested by @Floessie
2019-11-26 19:42:48 +01:00
Ingo Weyrich
2a4891827d
Some cleanups
2019-11-26 15:25:11 +01:00
Ingo Weyrich
b3b1008270
Further reduction of include dependencies
2019-11-02 17:29:26 +01:00
Flössie
add5c790d6
#pragma once
for our headers plus drive-by formatting
2019-10-31 10:20:50 +01:00
Morgan Hardwood
60b2196bce
Updated gnu.org links to use HTTPS
2019-09-10 12:34:57 +02:00
heckflosse
831e18ca45
Add override keyword. Thanks @Floessie
2018-11-22 16:19:16 +01:00
Flössie
2125f42116
Turn almost all Listeners into abstract interfaces
2018-10-09 20:32:40 +02:00
Flössie
91f8e46029
Revert ProgressConnector
...
Doesn't work with `IdleRegister`.
2017-03-30 21:17:34 +02:00
Flössie
91b44dbd08
Replace all g_idle_add
s with IdleRegister
( #3767 )
2017-03-26 22:03:33 +02:00
Flössie
fb8941cd88
Manually simplify bool expressions and fix rtgui/progressconnector.h
2016-10-18 18:30:25 +02: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
heckflosse
566d4c9822
Cppcheck: Fixed most issued in rtgui/*
2016-10-04 23:28:19 +02:00
heckflosse
3552fd4161
Cppcheck: Fix issues related to explicit constructors
2016-10-03 00:54:02 +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