248 Commits

Author SHA1 Message Date
Denis Rouzaud
8fef9e9679 [sipify] place :rtype: at the correct place
also add space before other paragraph-level markups
2017-12-15 11:12:19 -04:00
Denis Rouzaud
53a86932d4 [sipify] creates links in seealso 2017-12-06 07:19:50 -04:00
Matthias Kuhn
e0c1f0b050 Fix abstract MOCed class generation 2017-11-01 22:20:17 +01:00
Matthias Kuhn
69a28d823f MOC compatible SIP_ABSTRACT version
New version supports the following notation

    class QgsOutClass : public QObject // SIP_ABSTRACT

MOC does not like lines like the following one and silently refuses to build the meta object for such classes

    class QgsOutClass : public QObject SIP_ABSTRACT
2017-11-01 22:20:17 +01:00
lbartoletti
0ec041d4cd Merge branch 'master' into usr_bin_env 2017-10-27 15:41:43 +02:00
Denis Rouzaud
6e14854f90 [sipify] remove redundant private sections 2017-10-09 09:51:40 +02:00
Martin Dobias
68bb68d176 [FEATURE] QGIS 3D (pull request #5203) 2017-10-02 23:02:37 +02:00
Juergen E. Fischer
df71901a32 fix windows build 2017-10-01 01:09:50 +02:00
Martin Dobias
8dc70b479e Add copyright headers + few bits from review + fixing sip updates 2017-09-30 13:39:54 +02:00
Nyall Dawson
a87d352bd7 Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Nyall Dawson
1fddfcf622 Flip Q_ENUMS to Q_ENUM
See https://woboq.com/blog/q_enum.html for rationale
2017-08-29 18:03:41 +10:00
Juergen E. Fischer
03e0298f49 msvc warning fixes:
* use AUTORCC to avoid locked qrc_images.cpp during build of gui tests
* bump minimum version of cmake to 3.0.0 for AUTORCC
* suppress some warnings in sip bindings
* suppress unreachable warnings and some more
* split sip files in more parts to suppress warning BK4504
* also remove old WITH_INTERNAL_YAML from travis
2017-08-10 00:09:14 +02:00
lbartoletti
6b67a720da Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python} 2017-08-07 19:54:52 +02:00
Juergen E. Fischer
c29fc35155 also "s/( )/()/;" in sipify.pl (followup 4f9a9e036) 2017-07-19 10:36:12 +02:00
Nyall Dawson
fc221a6ebe Add sip VirtualCatcherCode to avoid algorithm copies being
destroyed by the python garbage collector

The code generated with the /Factory/ annotation was not sufficient
to correctly transfer the ownership of objects created in Python
back to c++ (despite mailing list messages which hint that it
is).

Anyway, this awful abomination works. Let's all move on to more
useful ways to spend our time...
2017-07-10 15:51:02 +10:00
Denis Rouzaud
54c6291378 script to write include SIP files 2017-06-28 10:45:51 +02:00
Denis Rouzaud
b7d524c111 sipify server 2017-06-26 14:22:26 +02:00
Nyall Dawson
958ca1075c [sipify] Add support for specifying VirtualErrorHandlers to use for a function 2017-06-23 12:08:54 +10:00
Denis Rouzaud
eddd258725 sipify core composer part 4 2017-06-20 15:36:04 +02:00
Denis Rouzaud
83c440448b [sipify] allow exception to required _EXPORT macros 2017-06-15 07:39:16 +02:00
Denis Rouzaud
5a8ed1d4d9 sipify QgsRange as template 2017-06-13 18:31:00 +02:00
Denis Rouzaud
eb397607cf fixes failing sipify test 2017-06-13 10:50:23 +02:00
Denis Rouzaud
5a5dc31f01 [sipify] fix again template inheritance 2017-06-13 10:41:58 +02:00
Denis Rouzaud
9dd60e4a77 followup 82bd08c187daa66cf5dbd11e34d9c90b9e4cfd30
removed debugging stuff
2017-06-13 07:58:28 +02:00
Denis Rouzaud
82bd08c187 [sipify] fixes to template based inheritance
* fix space-formatting issue
* avoid double include of the same header
2017-06-13 07:53:21 +02:00
Denis Rouzaud
2eb3e64803 [sipify] properly handle python signatures 2017-06-12 11:35:16 +02:00
Denis Rouzaud
00b2d24247 sipiy gui symbology 2017-06-09 10:16:08 +02:00
Denis Rouzaud
f5c3b8a1f8 [sipify] fix enum again 2017-06-09 10:16:08 +02:00
Denis Rouzaud
9e176feeac gps fixes 2017-06-08 09:38:34 +02:00
Denis Rouzaud
ed915e75a2 sipify gui part 1 2017-06-08 08:52:02 +02:00
Denis Rouzaud
41ceed3d77 [sipify] fix false virtual methods 2017-06-08 07:28:36 +02:00
Denis Rouzaud
67b01dee0c [sipify] fix negative value assignment 2017-06-07 16:34:45 +02:00
Denis Rouzaud
154c8f5d70 [sipify] fix body detection* 2017-06-07 16:04:30 +02:00
Denis Rouzaud
9a40754fb8 sipify Qgis, QgsDxfExport 2017-06-07 12:03:22 +02:00
Denis Rouzaud
8d2f72c3df [sipify] uniform die messages 2017-06-07 12:03:22 +02:00
Denis Rouzaud
176b7cafaf sipify core raster part 3 2017-06-05 22:59:25 +02:00
Denis Rouzaud
2d78ef80a9 handle PyName for enums 2017-06-02 13:27:15 +02:00
Denis Rouzaud
98f653e6a5 sipify core raster part 2 2017-06-02 13:27:15 +02:00
Denis Rouzaud
07fa24781c sipify core raster part 1 2017-06-01 13:33:16 +02:00
Denis Rouzaud
2148fa9287 handle protected inheritance, rename ui class to avoid class name collision 2017-05-31 14:37:30 +02:00
Denis Rouzaud
f250bef482 improved sipify code layout 2017-05-29 11:26:44 +02:00
Denis Rouzaud
f63adfe145 [sipify] keep external forward declaration 2017-05-24 15:39:46 +02:00
Denis Rouzaud
f5e66dd227 [sipify] handle constrained annotation 2017-05-24 14:49:28 +02:00
Denis Rouzaud
30a7e44d57 [sip] handle Deprecated annotations
some additional fixes in headers too
2017-05-24 09:49:46 +02:00
Denis Rouzaud
694c8113e5 sipify gui part 1 2017-05-24 09:49:46 +02:00
Denis Rouzaud
8157cf6e44 template classes are not imperatively exported
followup a14ad32b676664cef99f4d43f0a54b4d1ee88f52
fixes win build
2017-05-24 07:22:59 +02:00
Denis Rouzaud
a14ad32b67 sipify QgsVectorLayerFeatureIterator 2017-05-23 15:02:55 +02:00
Denis Rouzaud
d93d0a8066 [sipify] detect multiple variable declarations oneliners 2017-05-22 10:17:51 +02:00
Denis Rouzaud
1df3c51606 sipify batch 2017-05-22 10:12:08 +02:00
Juergen E. Fischer
212d07f3a2 sipify.pl: consider structs in exported classes also exported 2017-05-21 10:09:57 +02:00