78 Commits

Author SHA1 Message Date
Denis Rouzaud
fb8edea112 [sipify] implement template inheritance 2017-05-19 15:35:47 +02:00
Denis Rouzaud
8231d7528b sipify QgsExpressionContext, QgsFeatureRequest, QgsOptionalExpression 2017-05-17 15:20:31 +02:00
Denis Rouzaud
bfb62c4be9 [sipify] fix Abstract class
unblacklist qgstransaction.sip
(followup 931bf32a9fe46570ac80d947552d46c9f427457)
also fix method declaration with private only inheritance
2017-05-08 08:45:11 +02:00
Alexander Bruy
e1c35883c5 [sipify] remove space before ModuleTypeHeader
also update network analysis SIP files
2017-05-04 08:59:45 +02:00
Denis Rouzaud
eda17309d7 [sipify] use single regex for all double annotation cases
followup ac54a3f83fa95e965f415ec6884d195629e87273
2017-05-04 07:38:32 +02:00
Nyall Dawson
548d61b8c4 Fix expected sipify output 2017-05-04 09:50:57 +10:00
Nyall Dawson
ac54a3f83f [sipify] Combine multiple argument annotations 2017-05-04 08:29:54 +10:00
Denis Rouzaud
85f3b81b55 remove double spaces in sip files
fix indentation
2017-05-03 08:02:14 +02:00
Denis Rouzaud
6958db6f06 [sipify] rename SIP_PYARGTYPE to SIP_PYTYPE since it can be used to changed return types too 2017-05-03 07:22:30 +02:00
Denis Rouzaud
fbd62be7c5 [sipify] remove static const value assignment 2017-05-02 20:34:25 +02:00
Denis Rouzaud
634c7aa3f4 [sipify] fix do not print comment after SIP directive 2017-05-01 16:13:11 +02:00
raymondnijssen
dce5b59fcb sipified qgsadvanceddigitizingdockwidget 2017-05-01 11:20:39 +02:00
Denis Rouzaud
5e220e69ec followup b46de90d53c9298ba4f1267d2bdabcf4d669afe5 2017-05-01 00:13:41 +02:00
Denis Rouzaud
298e14b314 [sipify] handle multiple annotations 2017-04-30 17:16:57 +02:00
Denis Rouzaud
c2b1272246 [sipify] fix oneliner constructor and destructor 2017-04-30 16:34:07 +02:00
Denis Rouzaud
92b5265d82 [sipify] fix multiline definition with member initiliazing list 2017-04-30 16:34:07 +02:00
Denis Rouzaud
2c4b3bbf21 followup ec568222e06776f45ec6dbe390d21c117938cb67 2017-04-29 07:42:42 +02:00
Denis Rouzaud
ec568222e0 followup b88f350b2283df3ce5f527fd41b7b1382f4c23a1
add server to sipify test
2017-04-28 20:56:54 +02:00
Denis Rouzaud
ce770293b3 [sipify] debug + fix multiline in SIP_RUN 2017-04-27 11:06:19 +02:00
Denis Rouzaud
4cc4a27068 [sipify] operators, remove argument
* skip some operators
 * allow to remove an argument with SIP_PYARGREMOVE
2017-04-26 15:06:16 +02:00
Denis Rouzaud
9688b81874 followup 45266cd03ef8037fd657b992357b0d2d716522da 2017-04-26 11:04:25 +02:00
Denis Rouzaud
45266cd03e [sipify] improvements
* add In annotation
 * remove struct forward declarations
 * fix members initialization list in header
 * merge removal code for function bodies and constructor definition
2017-04-26 10:25:50 +02:00
Denis Rouzaud
9bb076295e [sipify] improvements
* add Array and ArraySize annotations
 * also handle multiline skipped bodies
 * handle #if 0 blocks
2017-04-26 08:15:18 +02:00
Denis Rouzaud
b0c1604864 fix indentation 2017-04-25 07:07:59 +02:00
Denis Rouzaud
085803de8a [sifpiy] handle multiline body 2017-04-24 16:37:23 +02:00
Denis Rouzaud
fbe10d461c followup 8f35ee464f0a32284263b684abbdf2a42c0e9131 2017-04-24 14:54:07 +02:00
Denis Rouzaud
8f35ee464f sipify improvements
* one liner enum (without assignements)
 * remove function bodies of skipped methods
2017-04-24 14:52:10 +02:00
Denis Rouzaud
419185bc21 [sipify] remove EXPORT macro from struct definition 2017-04-24 13:06:03 +02:00
Denis Rouzaud
6e7b753ceb sipify improvements
* reset comment while changing section
 * fix comment at the end of a comment block
 * use SIP_FORCE to show private members
2017-04-24 09:32:39 +02:00
Denis Rouzaud
347934f4de follow up 1bfa539 2017-04-24 07:43:52 +02:00
Denis Rouzaud
f022858643 [sipify] handle SIP_SKIP on several lines 2017-04-20 14:37:22 +02:00
Denis Rouzaud
1ab5a628df [sipify] handle override method signature on several lines 2017-04-20 14:21:36 +02:00
Denis Rouzaud
b272bf816f [sipify] read file at once into an array
this will allow accessing other lines while reading
2017-04-20 14:21:36 +02:00
Denis Rouzaud
e5ab2f6b5b [sipify] fix struct member assignment 2017-04-19 18:06:39 +02:00
Denis Rouzaud
652d6b4200 [sipify] remove Q_INVOKABLE 2017-04-19 15:19:14 +02:00
Denis Rouzaud
a260146e94 [sipify] fix remove protected members 2017-04-19 15:18:54 +02:00
Denis Rouzaud
51aa44de5f [sipify] fix enum combination 2017-04-19 15:03:31 +02:00
Nyall Dawson
33b6c41dd2 Merge pull request #4357 from nyalldawson/composer_layer_ref
Use weak layer references and loose matching for composer legend customisation
2017-04-18 12:06:38 +10:00
Nyall Dawson
87a670848b [sipify] Always add virtual keyword for overridden methods
sip often requires the virtual keyword to be present, or
it chokes on covariant return types in overridden methods
2017-04-18 11:14:01 +10:00
Nyall Dawson
147bb7f1ed Move ellipsoid parameter retrieval to new QgsEllipsoidUtils class 2017-04-18 09:53:00 +10:00
Martin Dobias
316d9c3359 R.I.P. QgsSnapper and QgsMapCanvasSnapper
These classes have been replaced by more efficient and flexible classes
(see QgsPointLocator, QgsSnappingUtils, QgsMapCanvasSnappingUtils)
2017-04-17 17:08:48 +08:00
Nyall Dawson
eff5a823c9 [sipify] Convert "\a arg" to "`arg`" when processing Docstrings
Allows argument names to be highlighted in Python docs
2017-04-17 13:49:59 +10:00
Nyall Dawson
6a72c945af [sipify] Don't autocreate Docstrings for overridden members
Skip the autocreated Docstrings with rtype annotations if the
member is overridden - better to use the base class
Docstring in this case.
2017-04-17 11:03:02 +10:00
Nyall Dawson
798c318288 [sipify] Fix loss of class docstring if newline present between
class doxygen and class definition
2017-04-17 10:49:29 +10:00
Nyall Dawson
669fa87eb4 [sipify] Fix stripping function body with virtual const reference returns 2017-04-11 16:24:01 +10:00
Nyall Dawson
18c1e6233b [sipify] Also skip mutable protected members 2017-04-10 17:00:12 +10:00
Matthias Kuhn
14e949b96c [sipify] skip non-public template based member declarations 2017-04-08 23:42:55 +02:00
Matthias Kuhn
d8207021d3 Fix sipify test header file 2017-04-08 23:42:55 +02:00
Matthias Kuhn
d902575f58 Sipify 2017-04-08 23:42:55 +02:00
Nyall Dawson
bfd37e1122 [sipify] Add return types for functions in docstrings
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00