24 Commits

Author SHA1 Message Date
Loïc Bartoletti
a72ffafb8f Have to use g prefix for gnu tools also on *BSD 2022-03-17 08:18:45 +10:00
Denis Rouzaud
cb6b306b36
option to run sipify_all.sh on a single module (#40874) 2021-01-06 16:22:44 +01:00
Martin Dobias
88cb8313c8 Python bindings for QGIS 3D library 2018-10-13 22:05:39 +02:00
Denis Rouzaud
cc3e29bcc2 add __repr__ for more geometry classes and add test 2018-06-19 07:02:17 -04:00
Denis Rouzaud
e5b02cd2a8 use dedicated files for auto additions 2018-06-03 11:07:09 -08:00
Denis Rouzaud
6301f9b6f3 [sipify] write helpers in core.__init__.py for Q_ENUM
whenever reading a Q_ENUM macro, sipify will create a helper in the core module:
BaseClass.EnumType.parentClass = lamda: BaseClass

this will allow to use the meta object to access the QMetaEnum of the object
2018-05-17 22:54:18 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
0a93674329 make sipify_all.sh much faster by using background processes 2018-02-02 16:30:29 -09:00
Denis Rouzaud
1d4e6a820a [sipify] use configuration file for SIP sources (*.sip.in)
to allow preprocessing the files to handle version specific features such as template based classes documentation in 4.19.7+
2018-01-17 10:16:37 -04:00
Denis Rouzaud
5327978ecf SIP 4.19.7+ allows to document template based classes 2018-01-17 10:16:37 -04:00
Ismail Sunni
b7a4366c40 Add {GP} to make the script use gsed in macos. 2017-07-28 10:35:43 +02:00
Denis Rouzaud
54c6291378 script to write include SIP files 2017-06-28 10:45:51 +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
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
Denis Rouzaud
157709129e sipify layer tree classes 2017-04-25 13:28:01 +02:00
Matthias Kuhn
60e2b1b837 mac compatibility fix 2017-04-01 19:10:59 +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
a3bdd4405a SIP test: use blacklist rather than whitelist 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