579 Commits

Author SHA1 Message Date
Nyall Dawson
85b38e36eb Whitespace 2017-04-07 09:23:24 +10:00
Nyall Dawson
ca8e1d343d [sipify] Replace nullptr with None in docstrings
Since nullptr has no meaning to Python devs
2017-04-07 09:21:26 +10:00
Nyall Dawson
5ccc6cccef Update api break docs, sipify QgsRasterFileWriter 2017-04-07 09:21:26 +10:00
Nathan Woodrow
e9cad2cd19 Add ignore for astyle for template folder 2017-04-06 13:19:15 +10:00
Denis Rouzaud
c2c9335911 [sipify] fix private inheritance with namespace 2017-04-05 09:58:44 +02:00
Denis Rouzaud
d7014846f1 [sipify] skip protected members 2017-04-05 09:58:37 +02:00
Nyall Dawson
5718abd4e1 Spell check "condtion" -> "condition" 2017-04-05 10:36:04 +10:00
Nyall Dawson
4eeacb8fdf [sipify] Replace :: with . during doxygen->docstring conversion
e.g.

You can use QgsXmlUtils::writeVariant to save it to an XML document
->
You can use QgsXmlUtils.writeVariant to load it from an XML document
2017-04-05 10:32:27 +10:00
Denis Rouzaud
169c60950d [sipify] fix override removal 2017-04-03 09:38:40 +02:00
Denis Rouzaud
cca83b7599 [sipify] properly get out of private section 2017-04-03 08:40:29 +02:00
Nyall Dawson
3e9c527dc7 [sipify] Handle enum values using bitshift operators 2017-04-03 14:09:40 +10:00
Nyall Dawson
7db1913c07 Handle Q_DECLARE_FLAGS and Q_DECLARE_OPERATORS_FOR_FLAGS in sipify 2017-04-03 13:54:12 +10:00
Nyall Dawson
e1e1f0d514 Strip \a from doxygen comments in sipify 2017-04-03 13:18:36 +10:00
Nyall Dawson
f92f14df70 Spell check: vecotr -> vector 2017-04-03 13:18:36 +10:00
Matthias Kuhn
beb185a72e Update sipify to use the "\since" tag 2017-04-03 01:31:44 +02:00
Nyall Dawson
b55e4b9abd Add qgsi->qgis to spell check 2017-04-03 08:55:07 +10:00
Matthias Kuhn
16594da94c Fix sipify override and inline definition combination 2017-04-02 23:37:17 +02:00
Matthias Kuhn
a609883cc0 Add %Feature support to sipify 2017-04-02 23:37:17 +02:00
Matthias Kuhn
68d8108ab3 Fix sipify constructor detection 2017-04-02 23:37:17 +02:00
Matthias Kuhn
6681766cbb Mac compatibility for prepare-commit.sh 2017-04-02 23:37:17 +02:00
Matthias Kuhn
cd559eab5c Fix sipdiff 2017-04-02 23:37:17 +02:00
Nyall Dawson
f044eeb597 Remove \brief from doxygen in sipify 2017-04-02 21:28:20 +10:00
Nyall Dawson
f1162f7884 Fix sipify annotations and inline definition combination 2017-04-02 21:19:52 +10:00
Nyall Dawson
d3daf60020 Convert doxygen notes and version added to sphinx style in sipify 2017-04-02 20:52:50 +10:00
Nyall Dawson
28a57c8f95 Remove ingroup and class from doxygen when creating sip docstrings 2017-04-02 20:30:22 +10:00
Nyall Dawson
bed74fc24a Handle c++11 '= default' in sipify 2017-04-02 16:21:23 +10:00
Matthias Kuhn
60e2b1b837 mac compatibility fix 2017-04-01 19:10:59 +02:00
Matthias Kuhn
25f137053d Add whitespace check to prepare-commit.sh 2017-04-01 19:10:59 +02:00
Matthias Kuhn
5148b7accb [sipify] Add name of source file to generated headers 2017-04-01 19:10:59 +02:00
Matthias Kuhn
6208986852 Autogenerate some sip files 2017-03-31 11:22:32 +02:00
Matthias Kuhn
8a44161b46 Fix typos 2017-03-30 16:27:41 +02:00
Matthias Kuhn
649e3c2b88 More information when [LIB]_EXPORT is missing 2017-03-30 16:25:25 +02:00
Denis Rouzaud
b8159a9544 fix export macro matching 2017-03-30 16:17:05 +02:00
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