37681 Commits

Author SHA1 Message Date
Matthias Kuhn
fb91ed7395 Use "\since" instead of "@note added in" 2017-04-03 01:06:33 +02:00
Matthias Kuhn
9c1861a1f3 some docstrings in cpp files 2017-04-03 01:00:55 +02:00
Matthias Kuhn
59e288c38e Update doc test for \since 2017-04-03 01:00:47 +02:00
Nyall Dawson
b55e4b9abd Add qgsi->qgis to spell check 2017-04-03 08:55:07 +10:00
Nyall Dawson
6f09a161e4 QGSI -> QGIS 2017-04-03 08:43:08 +10:00
Nyall Dawson
32326ab5df Replace "python" with "Python" in docs 2017-04-03 08:33:56 +10:00
Nyall Dawson
1521033cb0 Remove SIP_TRANSFERTHIS from .cpp files 2017-04-03 08:27:40 +10:00
Matthias Kuhn
5da0318d21 Fix build warnings 2017-04-02 23:37:17 +02:00
Matthias Kuhn
a9b5599377 Sipify QgsPropertyTransformer 2017-04-02 23:37:17 +02:00
Matthias Kuhn
4cfb60796e Sipify QgsConditionalStyle 2017-04-02 23:37:17 +02:00
Matthias Kuhn
d76bca0ade Sipify QgsClipper 2017-04-02 23:37:17 +02:00
Matthias Kuhn
f4f45bf6c6 Autogenerate more sip files 2017-04-02 23:37:17 +02: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
0c08fb3b35 More sipify blacklist removal 2017-04-02 21:24:19 +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
d40de5dbd0 Fix(?) build warning 2017-04-02 19:56:31 +10:00
Nyall Dawson
f831a3c1a2 Remove processing sip bindings from sip blacklist 2017-04-02 17:13:07 +10:00
Nyall Dawson
bed74fc24a Handle c++11 '= default' in sipify 2017-04-02 16:21:23 +10:00
Nyall Dawson
aec3e15042 Fix build when QWebKit not available 2017-04-02 08:30:12 +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
22272c65a5 Improve sip bindings 2017-03-31 11:22:32 +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
a44eb4d7b0 use dedicated header for QgsAttributes 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
85894ed4c8 pre-process headers (QgsVectorLayer and QgsFeature) 2017-03-30 15:13:01 +02:00
Denis Rouzaud
988c504d77 test auto-generated sip files on Travis 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
Denis Rouzaud
ba6f736c02 remove comments from sipfiles (QgsVectorLayer and QgsFeature) 2017-03-30 15:13:01 +02:00
Matthias Kuhn
0bdaf4fc6d Ignore SIP annotations in doxygen 2017-03-30 15:13:01 +02:00
Matthias Kuhn
bd75aeef49 Put some sip code into qgsfeature.h
Just for reference
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