746 Commits

Author SHA1 Message Date
Denis Rouzaud
4322c87c1e sipify scripts fixes
* fix prepare-commit.sh when SIP file is not created yet
* raise an error if header doesn't have EXPORT macro for class definition
* sipdiff can generate the SIP file on demand
2017-03-30 16:10:05 +02:00
Denis Rouzaud
f1d9d22a95 sipify: adds test to prepare-commit and adapt sipdiff
add missing macros to Doxyfile.in
2017-03-30 15:13:01 +02:00
Denis Rouzaud
9846b34ec3 add type and default values identifiers 2017-03-30 15:13:01 +02:00
Denis Rouzaud
15e4903890 sipify improvements
* add demo file and start a short doc
* fix some annotations
* do not display hidden line (SIP_SKIP, delete)
* use a defined var for SIP_SKIP
* remove constructor definition in header
* fix comment after method definition in header
* add a test for sipify itself
2017-03-30 15:13:01 +02:00
Denis Rouzaud
21be025d25 use sip includes rather than listing header to generate all sip files 2017-03-30 15:13:01 +02:00
Denis Rouzaud
b0564becfd also comment methods
fix comment starting on first line of block
2017-03-30 15:13:01 +02:00
Denis Rouzaud
a3bdd4405a SIP test: use blacklist rather than whitelist 2017-03-30 15:13:01 +02:00
Denis Rouzaud
7b08608f7f sipify QgsVectorLayer, QgsFeature 2017-03-30 15:13:01 +02:00
Denis Rouzaud
77d7236a93 sipify improvements
* remove enum value assignments
 * remove deleted functions
 * remove private members
 * remove function bodies
 * remove keywords (override, inline)
 * comment out but print SIP_SKIP
 * allow use of #if(n)def SIP_RUN and remove code in #else statements

 * fix PyName
 * fix SIP_SKIP

 * add a list of auto-generated sip files and a script to build them at once
2017-03-30 15:13:01 +02:00
Matthias Kuhn
ca008d7a48 Add script to generate sip code from headers
Add more annotations

Add some references to upstream documentation

Add more annotations
2017-03-30 15:13:01 +02:00
Nyall Dawson
77e7693c48 Fix spelling errors in processing algorithm help 2017-03-25 16:23:29 +10:00
Nyall Dawson
02b4f6c770 Spell check: accurancy->accuracy 2017-03-24 09:36:46 +10:00
Denis Rouzaud
e2d7181289 spelling 2017-03-15 08:23:05 +01:00
Denis Rouzaud
e23dcc8fef [spell check] avoid multiple replace by adding prev and next char to sed replace command 2017-03-07 11:20:48 +01:00
Denis Rouzaud
e7ea37dbb6 Revert "spell check: replace only words"
This reverts commit 0d7f697572e646500e002b53053cea0a1c201fd9.
2017-03-07 09:55:13 +01:00
Juergen E. Fischer
0d7f697572 spell check: replace only words 2017-03-07 09:43:47 +01:00
Juergen E. Fischer
09f83c266c spelling fix 2017-03-06 11:08:04 +01:00
Juergen E. Fischer
0d76dff305 spelling fixes 2017-03-06 11:03:28 +01:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
0bc3c2914c exclude test data from astyling 2017-03-03 15:39:59 +01:00
Denis Rouzaud
c4434e8bfc astyle options 2017-03-03 09:09:37 +01:00
Denis Rouzaud
5176ecf597 [needs-docs] keyboard shortcut to toggle snapping (S)
Pressing the key "S" will toggle snapping. This helps to quickly
enable/disable snapping while digitizing.
2017-02-28 12:13:41 +01:00
Denis Rouzaud
0eccc89ada remove extra file 2017-02-27 10:46:10 +01:00
Denis Rouzaud
7189ffac55 find edited files locally 2017-02-27 10:45:12 +01:00
Matthias Kuhn
77bc28f36c Build astyle 2017-02-24 15:51:27 +01:00
Denis Rouzaud
4021490791 make spell test a proper test and not a standalone script 2017-02-22 15:02:12 +01:00
Denis Rouzaud
293e1ee01c fix print spell check progress on Travis to avoid timeouts (followup 6cc58f3869a7f0642a78ee8f379e0b7862292c0b) 2017-02-21 16:00:59 +01:00
Juergen E. Fischer
d766159826 spell check: fix travis condition 2017-02-21 12:44:44 +01:00
Denis Rouzaud
6cc58f3869 print spell check progress on Travis to avoid timeouts 2017-02-21 11:15:29 +01:00
Juergen E. Fischer
4a741763f2 release.pl: allow tagging branches as ltr on point releases and
bypass pre-commit hooks

(cherry picked from commit 84cc3778d5dd1e9b25a9641a7de1c7f33b601029)
2017-02-21 01:01:29 +01:00
Juergen E. Fischer
74df8754f9 remove standalone browser 2017-02-20 15:14:00 +01:00
Matthias Kuhn
96c7fb3b17 Remove Q_INVOKABLE in sipdiff 2017-02-20 09:01:24 +01:00
Nyall Dawson
d19e70700f Ensure all pointer variables are initialized to nullptr 2017-02-18 20:23:18 +10:00
Tudor Bărăscu
13e7cd9d46 show shortcuts in advanced digitizing tools tooltips + fix small typo (#4102)
* show shortcuts in tooltips of advanced digitizing panel

+ fix small typo

* advanced digitizing tooltips styling
2017-02-15 20:24:05 +10:00
Juergen E. Fischer
6afd9a4921 update_ts: avoid excessive number of arguments (for windows) 2017-02-11 01:14:06 +01:00
Denis Rouzaud
4b730c3372 sipdiff: remove forward declarations and option to keep comments 2017-02-08 14:30:14 +01:00
Denis Rouzaud
835ffb0fb2 sipdiff also remove nullptr 2017-02-07 16:35:28 +01:00
Denis Rouzaud
02c2886585 sipdiff remove function definitions and Q_OBJECT/ENUM/PROPERTY 2017-02-07 16:26:36 +01:00
Denis Rouzaud
0dc1257701 make sipdiff available on mac 2017-02-07 14:57:05 +01:00
Juergen E. Fischer
07aa5598f2 fix directory detection in check_spelling.sh when pre-commit hook is linked to prepare-commit.sh 2017-02-07 14:49:43 +01:00
Juergen E. Fischer
e5fd81ffc3 osgeo4w: fix running of python tests 2017-02-07 14:47:07 +01:00
Juergen E. Fischer
5b27d827aa update scripts/update_ts.sh to use pylupdate5 2017-02-07 14:37:13 +01:00
Denis Rouzaud
6f5161a6f0 spelling fix 2017-02-06 11:48:47 +01:00
Denis Rouzaud
02b7a551d5 do not run spell check on Travis if no files were edited (only deleted) 2017-02-02 08:32:06 +01:00
Alessandro Pasotti
e6b38aff4f Revert "Merge pull request #4087 from elpaso/resource-sharing-plugin"
This reverts commit db0fa9ff5b7421262304ce6fb5f6e832db1baa57, reversing
changes made to aaa8c4e492d135210cd989b5e3131384954badd1.
2017-02-01 15:17:17 +01:00
Alessandro Pasotti
b370c8b815 Do not spell-check some test QMLs 2017-01-31 15:47:43 +01:00
Alessandro Pasotti
b3de34a6b6 Fixed spell check 2017-01-31 12:56:27 +01:00
Nyall Dawson
6bffa17cc2 Fix failing tests 2017-01-30 19:13:07 +10:00
Denis Rouzaud
958dff9d82 spelling fixes 2017-01-25 17:38:01 +01:00
Juergen E. Fischer
a64f909474 spelling fixes 2017-01-25 16:53:34 +01:00