218 Commits

Author SHA1 Message Date
Denis Rouzaud
0644f59cde fix variable used for configuration 2018-01-17 10:16:37 -04:00
Denis Rouzaud
fe5a001df1 [sipify] remove space before semi-column 2018-01-17 10:16:37 -04: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
lbartoletti
f2a0c77952 Merge branch 'usr_bin_env' of https://github.com/lbartoletti/QGIS into usr_bin_env 2018-01-15 15:59:08 +01:00
Denis Rouzaud
4568bcdf1f [sipify] prevent creation of param list when not necessary 2018-01-12 21:10:16 -04:00
Denis Rouzaud
ba951893f3 [sipify] fix multiline note or warning 2018-01-12 21:10:16 -04:00
Denis Rouzaud
d87c60512c [sipify] fix bad handling of \see within sentences
and other docstrings improvements
2018-01-09 21:40:10 -04:00
Denis Rouzaud
9deef832c1 [sipify] fix SIP new restrictions on Docstrings
class members, operators cannot be documented anymore
2018-01-09 11:40:39 -04:00
Nyall Dawson
c7e37e89eb [sipify] Correctly convert doxygen warning blocks to sphinx warnings 2017-12-23 18:48:03 +11:00
Denis Rouzaud
5dc9b5869a fix empty lines with spaces 2017-12-19 21:17:29 -04:00
Denis Rouzaud
7b0ad1b6d5 fix code snippet and do not display cpp code in sip files 2017-12-19 21:17:29 -04:00
Denis Rouzaud
d042304cc3 [sipify] habndle python code snippets 2017-12-19 21:17:29 -04:00
Denis Rouzaud
36a05a3a0d do not create link for current class 2017-12-19 14:55:46 -04:00
Denis Rouzaud
db8a7c613b [sipify] also create links in docstrings 2017-12-19 14:55:46 -04:00
Denis Rouzaud
cb9bd6d3da fix missing new line before first param 2017-12-15 22:13:44 -04:00
Denis Rouzaud
8db419ca08 [sipify] avoid printing empty Docstrings 2017-12-15 22:13:44 -04:00
Denis Rouzaud
f811d8171b remove rtype from docstring 2017-12-15 22:13:44 -04:00
Denis Rouzaud
2009d4c916 remove extra spaces 2017-12-15 11:12:19 -04:00
Denis Rouzaud
bc51bba386 [sipify] transform \param xxx to :param xxx: 2017-12-15 11:12:19 -04:00
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