654 Commits

Author SHA1 Message Date
Juergen E. Fischer
ad5054bfd9 sip update qgsfeature 2017-05-12 09:53:47 +02:00
Denis Rouzaud
97866f4a20 [sip] add missing ConvertToClassCode
This was causing an issue if you tried to access widgets in a form using findChildren
widgets could not be casted to QGIs native types

also sipify QgsFilterLineEdit and QgsRelationEditorWidget
2017-05-10 14:40:31 +02:00
Denis Rouzaud
0824280296 sipify gui editor widgets 2017-05-09 08:59:07 +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
b93e925ba2 [sipify] follow-up 634c7aa3f460ee945743850f6715940d47a12579 2017-05-04 08:59:45 +02:00
Alexander Bruy
e1c35883c5 [sipify] remove space before ModuleTypeHeader
also update network analysis SIP files
2017-05-04 08:59:45 +02:00
Alexander Bruy
f6266130eb also sipify QgsGraphAnalyzer 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
Denis Rouzaud
f7f32e64b5 [sipify] signals are public 2017-05-04 07:23:44 +02:00
Nyall Dawson
ac54a3f83f [sipify] Combine multiple argument annotations 2017-05-04 08:29:54 +10: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
b77b496755 [sipify] fix detection of method signature with following body 2017-05-02 10:26:45 +02:00
Denis Rouzaud
b249d481e9 script to reverse engineering from SIP to header
go grab annotations in SIP files to write them in the header
or what could be called the headerizer
2017-05-02 10:11:50 +02:00
Denis Rouzaud
634c7aa3f4 [sipify] fix do not print comment after SIP directive 2017-05-01 16:13:11 +02:00
Denis Rouzaud
5112428a29 handle server sipify in prepare-commit 2017-05-01 11:45:43 +02:00
raymondnijssen
dce5b59fcb sipified qgsadvanceddigitizingdockwidget 2017-05-01 11:20:39 +02:00
Denis Rouzaud
5d5bb34383 prepare-commit: do not exist if indentation fails to go on with sipify 2017-05-01 00:48:19 +02:00
Denis Rouzaud
5e220e69ec followup b46de90d53c9298ba4f1267d2bdabcf4d669afe5 2017-05-01 00:13:41 +02:00
Denis Rouzaud
b46de90d53 [sipify| do not write docstring for [] operator 2017-04-30 23:51:47 +02:00
arnaud.morvan@camptocamp.com
6030cb983f Fix typo in sipify.pl 2017-04-30 21:08:52 +02:00
Denis Rouzaud
298e14b314 [sipify] handle multiple annotations 2017-04-30 17:16:57 +02:00
Matthias Kuhn
28a21209b9 [sipify] seealso 2017-04-30 16:52:05 +02:00
Denis Rouzaud
897e2f0410 [sipify] do not take // comments into docstrings 2017-04-30 16:34:08 +02:00
Denis Rouzaud
f20b9b96e7 [sipify] better remove body, remove duplicate code 2017-04-30 16:34:08 +02:00
Denis Rouzaud
c2b1272246 [sipify] fix oneliner constructor and destructor 2017-04-30 16:34:07 +02:00
Denis Rouzaud
39d87248ab [sipify] fix handling of nested classes
going to proper section when ending a nesting classes (public/private)
also improve debugging output
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
raymondnijssen
07b2bf1124 add some cheering 2017-04-30 14:47:44 +02:00
raymondnijssen
64215373e1 add beer 2017-04-30 14:47:44 +02:00
Denis Rouzaud
d71a563ee1 fix sipify_all 2017-04-30 12:58:34 +02:00
Denis Rouzaud
bbdc77dd91 followup #a86f5ea52d75862c190105d1ceb23c47a61bba4e fix issues links 2017-04-30 11:38:22 +02:00
Denis Rouzaud
a86f5ea52d remove PyNames for QgsGeometry::compare methods
single python method with some MethodCode to dispatch to proper cpp methods.
2017-04-30 11:29:45 +02:00
Larry Shaffer
b3e1aba1cd Use gsed for spellchecking on macOS; ignore inline ‘replys’ spell check 2017-04-29 09:07:24 +02:00
Denis Rouzaud
b88f350b22 add server files to sipify
you just now need to unblacklist them :)
2017-04-28 18:52:15 +02:00
Denis Rouzaud
70da6b6ee7 add server files to sipify
you just now need to unblacklist them :)
2017-04-28 16:45:04 +02:00
Matthias Kuhn
8493194336 Autoapply sipify in prepare-commit.sh 2017-04-28 13:42:30 +02:00
Matthias Kuhn
e13b481c78 fix sipdiff call to sipify 2017-04-28 00:27:46 +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
c1832854a2 sipify batch
* QgsDial
* QgsDialog
* QgsDockWidget
* QgsEncodingFileDialog
* QgsErrorDialog
2017-04-25 13:46:56 +02:00
Denis Rouzaud
157709129e sipify layer tree classes 2017-04-25 13:28:01 +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
9b523cb19b [sipify] do not remove function body within SIP_RUN blocks 2017-04-24 09:34:31 +02:00