1170 Commits

Author SHA1 Message Date
Nyall Dawson
c293d2c60d [sipify] Correctly collapse TypeHint annotations 2020-09-18 11:50:27 +10:00
Nyall Dawson
d4a2dddac5 Tag some inexpensive, frequently called methods with the HoldGIL annotation
This prevents the Python GIL from being released before calling the method
(which is the default behaviour). For very cheap to call c++ methods the
cost of releasing the GIL can outweigh the cost of the c++ call, which means
it's more efficient to retain the hold on the GIL.

Ideally we'd do this everywhere, and switch to an explicit ReleaseGIL
annotation on functions which are slow or risky (raise exceptions, or
do something which can cause a GIL deadlock). But those are very tricky
to identify, so instead just explicitly hold the gil on cheap methods
which are likely to be called many times and could have an impact on
script performance.
2020-09-18 04:34:57 +10:00
Juergen E. Fischer
8ee86d01a8 remove duplicate trailing ; 2020-09-17 08:12:14 +02:00
Blottiere Paul
d857db174a Update ignore file for spell check 2020-09-12 05:29:18 +10:00
Nyall Dawson
d1bc82ca7b Misc typo fixes 2020-08-31 11:38:02 +10:00
Nyall Dawson
e39d8b10fe Fix 'ellipoid' typos 2020-08-31 11:38:02 +10:00
Nyall Dawson
5f8bc430c2 The Server landing page js libraries are full of typos, so skip the spell check for these 2020-08-31 11:38:02 +10:00
Juergen E. Fischer
9b1e46c9ea translation string fixes 2020-08-08 19:13:08 +02:00
Matthias Kuhn
532f548dac Fix warning in parse_dash_results 2020-08-02 13:55:27 +02:00
Matthias Kuhn
2677de9a6c Allow adding a new set of control images 2020-08-02 13:55:14 +02:00
Matthias Kuhn
23acbf1b5a Capitalization in parse_dash_results 2020-08-02 13:54:23 +02:00
Matthias Kuhn
c1bd69cbb6 Allow to maximize parse_dash_results window 2020-08-02 13:53:56 +02:00
Matthias Kuhn
f7ca8b6786 Make test folder detection more robust 2020-07-31 07:10:26 +10:00
Matthias Kuhn
2f99a327b0 Improve cli of parse_dash_results 2020-07-31 07:10:26 +10:00
Nyall Dawson
d2238d8f14 Fix parse_dash_result helper script layout issues, add handling
of multiple matching images
2020-07-31 07:10:26 +10:00
Peter Petrik
d9f18ccb9c
Fix spelling (#37849)
fix the spelling errors
2020-07-21 12:51:48 +02:00
Denis Rouzaud
66b0f1d60c correctly remove title + slash 2020-07-09 16:22:06 +02:00
Denis Rouzaud
ca89fdff12 [sipify] format section/subsection to RST
because one should write some Perl everyday to realize how life is nicer without it
2020-07-09 16:11:09 +02:00
Even Rouault
cd92345110 Use prefix increment operator to fix cppcheck warnings related to postfixOperator 2020-06-28 10:20:16 +10:00
Juergen E. Fischer
1eddb99a29 note to self in release.pl 2020-06-25 14:34:52 +02:00
Juergen E. Fischer
a6fdfc1b57 Also push new branch to transifex on release 2020-06-25 14:34:52 +02:00
Juergen E. Fischer
5b5f1f58f8 more retries with transifex 2020-06-18 21:19:18 +02:00
Werner Macho
118350880c
Added new Translator
Added Translator after request
2020-06-15 12:10:00 +01:00
Nyall Dawson
74400c7ff8 Some fixes to numbered list handling in dox/PyQGIS API 2020-06-15 13:43:58 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Even Rouault
ff86fa1027 cppcheck.sh: turn 'unusedPrivateFunction' warnings as errors 2020-06-15 11:17:28 +10:00
Even Rouault
037409f2e3 cppcheck.sh: turn 'redundantCondition' warnings as errors 2020-06-15 11:17:28 +10:00
Even Rouault
21bc22fdbc cppcheck.sh: make duplicateExpressionTernary an error 2020-06-15 11:17:28 +10:00
Even Rouault
775ad77a79 cppcheck.sh: make issues in 'error' category to fail build 2020-06-15 11:17:28 +10:00
Nyall Dawson
a5101f2ade [sipify] Fix header formatting 2020-06-13 16:49:14 +10:00
Nyall Dawson
cedd73ee4d More list formatting fixes 2020-06-13 16:49:14 +10:00
Nyall Dawson
561a8326c5 Modernize language
And avoid insensitive/trigger words (as far as possible -- some are
coming from Qt or other external APIs)
2020-06-13 16:48:38 +10:00
Nyall Dawson
84ec481aa8 [sipify] Correctly indent multiline list items 2020-06-11 13:29:59 +10:00
Nyall Dawson
e293a9da8f When a list item is immediately followed by a new list, condense the
two -- it's likely that there's extraneous newlines in the middle of
the list
2020-06-11 13:29:59 +10:00
Nyall Dawson
7ccc7ae36d List indentation fix 2020-06-11 13:29:59 +10:00
Nyall Dawson
83dc3a5769 Make prepare_commit automatically place an empty line before lists
in doxygen blocks

Fixes display of lists in the PyQGIS dox

Fixes #37114
2020-06-11 13:29:59 +10:00
Juergen E. Fischer
b304e3843a fix installation and some other followup cleanups to dcd017a655f 2020-06-10 12:25:29 +02:00
Peter Petrik
dcd017a655
Remove txt2tags dependency (use markdown instead) 2020-06-10 10:00:22 +10:00
Even Rouault
9df71ef19a
scripts/cppcheck.sh: error out on clarifyCalculation issues 2020-06-02 13:56:23 +02:00
Even Rouault
a54ad8814d
Add scripts/cppcheck.sh 2020-06-02 13:56:22 +02:00
Nyall Dawson
1f835dfa9a [3d] Expose 3d algorithms provider to Python
Otherwise this provider cannot be initialized from standalone Python
scripts

Fixes #36661

Also cleanup 3d sip generation by correctly defining SIP_NO_FILE
in headers we don't want to expose, so that the sip_include script
can do its magic
2020-05-29 03:44:55 +10:00
sshuair
14bc9479a5 Add a Chinese Simplified translator
Add a Chinese Simplified translator
2020-05-18 07:54:32 +10:00
sshuair
e59743c75a Add a Chinese Simplified translator 2020-05-18 07:54:32 +10:00
Juergen E. Fischer
db50e77741 release.pl: allow specifying explicit point release number 2020-05-17 09:23:44 +02:00
Denis Rouzaud
ad3c1cd7ef
Delete prepare-commit.sh 2020-05-15 14:43:20 +02:00
Werner Macho
55efa3cd57
Update tsstat.pl
Add nb Translator on request
2020-05-13 15:06:38 +02:00
Matthias Kuhn
84e6378324 Install indentation deps 2020-05-11 15:46:59 +02:00
Matthias Kuhn
02df2577c8
Merge pull request #36307 from m-kuhn/code_layout_test_to_github_workflow
Code layout test to GitHub workflow
2020-05-11 11:52:20 +02:00
Matthias Kuhn
f171232ee6 Improve wording in verify_indentation 2020-05-11 09:16:34 +02:00
Matthias Kuhn
e094ab570e Another try 2020-05-11 08:35:33 +02:00