37 Commits

Author SHA1 Message Date
Denis Rouzaud
33ea41a100 run pre-commit 2024-11-30 15:07:24 +01:00
Nyall Dawson
d764c34f28 Bump minimum Qt version to 5.15.2
and remove code for Qt < 5.15.2
2023-12-05 01:35:06 +10:00
Antoine
98ca1ca776 remove useless variables 2021-11-16 10:46:13 +01:00
nirvn
9d64e14209 Migrate all uses of of QRegEXp in tests/ 2021-07-15 11:48:11 +07:00
Nyall Dawson
ffa99b7b64 Fix doxygen blocks which don't use the * prefix on all lines, which
prevents the auto format and sipify scripts from doing their full
formatting magic
2021-04-19 12:54:13 +10:00
Matthias Kuhn
cb2426fc02 Avoid taking reference to temporary 2021-03-25 09:06:31 +01:00
Nyall Dawson
08ca000e71 Use c++17 std::clamp instead of qBound 2021-03-22 05:34:10 +10:00
Nyall Dawson
c6370c7f52
Speed up QGIS compilation by removing all Qt Module-wide includes
Refs https://www.kdab.com/beware-of-qt-module-wide-includes/
2021-03-05 11:23:15 +10:00
Alessandro Pasotti
093b0a1d11 Fix legend nodes 2020-11-09 17:51:02 +01:00
Alessandro Pasotti
bc18ec9945 No more warning in the model, but still doesn't work 2020-11-09 17:51:02 +01:00
Nyall Dawson
6da6a4521e Remove all use of deprecated Qt methods up to Qt 5.14 2020-10-07 20:16:33 +10:00
Nyall Dawson
6340fb5591 Spelling 2020-02-08 15:17:47 +10:00
Nyall Dawson
57bba33fa7 Update modeltest files 2020-02-08 15:17:47 +10:00
Matthias Kuhn
31981123d4
Remove Q_FOREACH from modeltest 2019-04-05 15:30:03 +02:00
Harrissou Sant-anna
59e9f79658 ok is spelled OK 2017-07-03 08:49:50 +02:00
Juergen E. Fischer
b9162dccdf scripts/astyle-all.sh run 2017-03-03 15:37:12 +01:00
Nyall Dawson
d19e70700f Ensure all pointer variables are initialized to nullptr 2017-02-18 20:23:18 +10:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
Matthias Kuhn
0302719cf0 Add qgis_core.h to with CORE_EXPORT macro
This removes complexity from the compiler flags because defines
happen in a file.
2017-01-05 00:12:11 +01:00
Matthias Kuhn
dfd9833467 Let all tests work with a proper QgsApplication instance 2016-12-20 01:20:08 +01:00
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Nyall Dawson
ec35dbee92 Fix some warnings when building with clang and -Weverything 2015-12-20 21:43:51 +11:00
Juergen E. Fischer
1b4ca622c9 add cppcheck fixes 2015-10-03 21:57:17 +02:00
Nyall Dawson
f628ebd423 Replace foreach with Q_FOREACH
For:
- consistency
- to make it immediately clear that this is a Qt macro and that it
works slightly differently to c++ for loops
2015-09-09 19:17:29 +10:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Matthias Kuhn
c1b520fbd8 Hide shared library symbols by default on GCC and Clang
* Decreases lib size, loading time and compile time
 * Forces people on linux to use the {LIB}_EXPORT defines and therefore will
   make Windows nightlies more reliable
2015-05-23 16:53:12 +02:00
Nyall Dawson
2d8feebbde Some very minor Coverity related fixes 2015-02-16 16:11:57 +11:00
Nyall Dawson
25652e4228 More Coverity fixes 2015-02-12 07:35:40 +11:00
Nyall Dawson
db17513287 Fix some warnings, incorrect use of abs for double values 2015-02-10 18:54:49 +11:00
Juergen E. Fischer
0f9397028e fix more cppcheck issues 2015-02-07 18:40:42 +01:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Juergen E. Fischer
bc7a5517dd cleanup: replace boolean comparison (x==true => x / x==false => x) (followup b40868c8) 2014-04-22 10:35:01 +02:00
Werner Macho
f218a394f4 adding licenses to a few files more - we are under 100 files .. 2012-12-12 22:28:01 +01:00
Juergen E. Fischer
5ae312cfad add 'foreach' to astyle and re-run indentation 2012-08-03 06:57:11 +02:00
Juergen E. Fischer
8e75d4b18f test fixes:
- run xvfb in 96 dpi mode
- indentation update (including tests)
- fix running tests from build directory
2012-04-22 01:40:14 +02:00
Martin Dobias
1c3c02f832 Add ModelTest: Qt tool for debugging custom models
Very handy to stay sane when your model goes crazy
2012-01-24 11:37:17 +01:00