102 Commits

Author SHA1 Message Date
Matthias Kuhn
d3f64deb80
Further doc improvements 2018-12-22 11:54:43 +01:00
Matthias Kuhn
525a3da3ab
More doxygen 2018-12-22 10:57:53 +01:00
Matthias Kuhn
07ab092fb1
Some doc fixes 2018-12-22 10:35:30 +01:00
Matthias Kuhn
c6420690b5
Skip more missing doc checks for old classes 2018-12-22 10:16:24 +01:00
Matthias Kuhn
2ad870b95a
Suppress api doc warnings for old classes 2018-12-21 18:06:40 +01:00
Denis Rouzaud
7bce9342e5 [sipify] fix initializer in strcuts 2018-11-28 07:46:24 -04:00
Nyall Dawson
e0fa9eb9cf Add QStringLiteral(), QStringLiteral( "" ) and QLatin1String( "" )
to banned keywords

And replace use with QString()
2018-08-31 12:31:27 +10:00
Nyall Dawson
0d1a9819d4 Add qFloor, qCeil, qSqrt to banned keywords 2018-08-22 06:39:28 +10:00
Denis Rouzaud
9218c26070 fix SIP test 2018-08-07 14:32:47 +02:00
Even Rouault
b5b720dbea
Add QOverload to test_banned_keywords.sh 2018-06-28 22:29:28 +02:00
Nyall Dawson
b0aaa9d11a Fix test 2018-06-21 15:33:29 +10:00
Nyall Dawson
78b07cdf31 Fix SC2196 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
4778498c94 Fix SC2034 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
5b375a2edf Fix SC2188 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
0e9a381534 Fix SC2103 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
040f1d1879 Fix SC2006 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
cab83c51a8 Fix SC2222 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
7ad85a451f Fix SC2004 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
00477ff910 Fix SC2068 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
11bb5afa0b Fix SC2035 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
fc20fc81f7 Fix SC2062 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
6c9484b923 Fix SC2181 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
36e38210db Fix SC2116 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
80d655598a Fix SC2219 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
4118bafc96 Fix all SC2164 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
0d41925535 Disable all failing shellcheck checks 2018-06-21 15:33:29 +10:00
Nyall Dawson
7d938e8b94 [ci] Run shellcheck as part of code_layout build 2018-06-21 15:33:29 +10:00
Denis Rouzaud
a719605ef1 clean auto folders in sip test 2018-06-19 07:14:22 -04:00
Nyall Dawson
6470aacb33 Ban QScopedPointer/QSharedPointer 2018-06-17 15:09:07 +10:00
Nyall Dawson
e1ace09f76 Ban more obselete qt methods 2018-06-17 15:09:07 +10:00
Nyall Dawson
1d111ce741 Ban @ doxygen style annotations 2018-06-17 09:24:37 +10:00
Nyall Dawson
da487e2e34 Ban deprecated qMin/qMax/etc methods 2018-06-17 09:24:37 +10:00
Nyall Dawson
c705670947 Upgrade INT_ methods to numeric_limits 2018-06-17 09:24:37 +10:00
Nyall Dawson
17cd2fd5f3 More DBL_MIN/MAX_EPSILON upgrades 2018-06-17 09:24:37 +10:00
Nyall Dawson
ce6fc8fe96 [ci] Add unit test for banned keywords
Flags use of keywords representing deprecated or other
"to be avoided" methods, e.g. use of DBL_MAX instead of
the type-safe std::numeric_limits<double>::max() method.
2018-06-17 09:24:37 +10:00
Denis Rouzaud
b2274258a4 fix sip test
only check for Python file if it is produced
2018-06-05 17:02:17 -08:00
Nyall Dawson
1395dc0e9c Add missing license headers 2018-06-04 11:30:32 +10:00
Nyall Dawson
23c3731121 Fix path to licensecheck in test 2018-06-04 11:30:32 +10:00
Nyall Dawson
4bb572f4d0 Move licensecheck to external folder 2018-06-04 11:30:32 +10:00
Nyall Dawson
4e0845b4c6 Include licensecheck.pl script in code_layout test folder
Seems to be the only way to get this functional under Travis.

TODO: remove when Travis is upgraded to a reasonably modern
Ubuntu version
2018-06-04 11:30:32 +10:00
Nyall Dawson
48b117e0db Fail check if licensecheck missing 2018-06-04 11:30:32 +10:00
Nyall Dawson
d16ec3e257 Add unit test for license headers 2018-06-04 11:30:32 +10:00
Denis Rouzaud
e5b02cd2a8 use dedicated files for auto additions 2018-06-03 11:07:09 -08:00
Denis Rouzaud
637f59ded1 fix server/app files and sipify test 2018-05-28 10:39:34 -08:00
Denis Rouzaud
6772f0d74e fix test 2018-05-28 10:39:34 -08:00
Denis Rouzaud
70f8266495 add test to check that \since and \deprecated are at the end of command blocks 2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
b6b08e96a0 Add 'accessor for' to doxygen compliance blacklist
Use "Returns the..." instead
2018-05-27 14:05:06 +10:00
Nyall Dawson
8f770c3f60 Add 'mutator for ' to doxygen compliance blacklist 2018-05-26 15:44:04 +10:00