66 Commits

Author SHA1 Message Date
Even Rouault
9e9ddb587e
SIP: fix typemap for QVector<Type*> that was wrongly dropping a Python reference (refs #19885) 2018-09-21 15:31:28 +02:00
Nyall Dawson
273e664563 Fix some leaks in conversions 2018-03-12 14:30:53 +11:00
Nyall Dawson
a1a45536a2
Merge pull request #6221 from nyalldawson/var_leak
Fix massive memory leak in PyQGIS, pt 1
2018-02-13 13:18:42 +11:00
Nyall Dawson
0c6f22386b Drop some legacy sip conversion code 2018-02-13 12:02:50 +11:00
Denis Rouzaud
338a73b32e [sip] remove unused QPair conversion 2018-02-12 09:22:53 -04:00
Nyall Dawson
bbf3ed9d4e Fix massive memory leak in PyQGIS, pt 1 2018-01-30 16:00:39 +10:00
Nyall Dawson
f9a8161733 Fix some leaks and errors in sip conversions 2018-01-29 08:47:25 +11:00
Nyall Dawson
69c3debfc0 Nicer API for datum transforms
Instead of using QPairs of ints, use more descriptive structs, also
rename a lot of datum related methods for clarity and add docs
2017-12-15 14:16:59 +10:00
Nyall Dawson
cb693a72f9 Move caching to QgsCoordinateTransform
and remove no longer required QgsCoordinateTransformCache singleton
2017-12-15 14:14:08 +10:00
Nyall Dawson
8a0bd08e07 Start on QgsCoordinateTransformContext
Stores settings related to the correct datum transforms to use
when performing a coordinate transform.
2017-12-15 14:11:38 +10:00
Nyall Dawson
3ba2254503 Fix broken sip casting of nested QVectors
Old code was always forcing casting to QgsPointXY, regardless
of actual type
2017-11-14 21:08:21 +11:00
Nyall Dawson
87ffdabbb3 [processing] Fix crash in batch processing dialog
Fixes #17429
2017-11-10 11:11:32 +10:00
Matthias Kuhn
70dc92c4f2
conversions.sip does not need to be executable 2017-10-04 12:16:25 +02:00
Nyall Dawson
6bd37cc506 [processing] Fix crash when editing models on Windows (fix #17028) 2017-09-12 17:12:13 +10:00
Nyall Dawson
8d6d097ad8 Add conversion for QMap< QString, QList< TYPE > > for Python bindings 2017-06-30 12:50:38 +10:00
Matthias Kuhn
2bbadbacb7 Rename qgspoint.h and qgspointv2.h
To qgspointxy.h
And qgspoint.h
2017-06-02 19:53:37 +02:00
Matthias Kuhn
a9d7630a69 Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
Because 3D coordinates should be the default.

References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Denis Rouzaud
85f3b81b55 remove double spaces in sip files
fix indentation
2017-05-03 08:02:14 +02:00
Denis Rouzaud
93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Nyall Dawson
fbf99afd01 Add method to retrieve all valid srs ids from CRS databases 2017-02-14 05:49:23 +10:00
Denis Rouzaud
f7dbc054db more python 2 removal 2017-01-24 08:30:36 +01:00
Juergen E. Fischer
6a56cb0dd0 updates and fixes for windows qt5/py3 build 2017-01-24 01:25:59 +01:00
Denis Rouzaud
37ebcdd1cd [spellcheck] allow inwords checks and line skipping
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat

one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Nathan
6a4556ddd0 Add sip conversions for profile times 2016-06-05 14:16:30 +10:00
Matthias Kuhn
7dfc69657f Migrate provider test to python 3 2016-05-13 22:23:03 +02:00
Matthias Kuhn
89b7a4aaa2 Introduce NULL QVariant to PyQt5 2016-05-13 22:23:03 +02:00
Larry Shaffer
fc6559aa05 Remove conversions.sip conditionals meant for 4.12 but actually 4.18
- The hex version of 4.12 was not 0x041200 (current 4.18) but 0x040c00.
  Code was always skipped and has worked with recent sip versions.
2016-04-15 19:17:24 -06:00
Matthias Kuhn
5789dd8e99 python3 compatibility fix 2016-03-15 08:18:39 +01:00
Matthias Kuhn
cd0eb05ded [py3] Some compatibility fixes for python 3 2015-10-24 13:47:32 +02:00
Juergen E. Fischer
3e0badcb55 Fix sip conversion from QgsFields to QList<QgsField> (fixes #9208) 2015-10-17 22:03:03 +02:00
elpaso
e48b6e8910 Moved QMultiMap<int, TYPE2*> to conversion.sip 2015-08-07 09:26:14 +02:00
Marco Hugentobler
68fe5f5791 [FEATURE:] New geometry classes 2015-05-25 08:53:49 +02:00
Juergen E. Fischer
67e077853e DXF export improvements:
* tree view and attribute selection for layer assigment in dialog
* support fill polygons/HATCH
* represent texts as MTEXT instead of TEXT (including font, slant and weight)
* support for RGB colors when there's no exact color match
* use AutoCAD 2000 DXF (R15) instead of R12
* remove R18 test methods

Funded-By: City of Uster
Funded-By: Ville de Morges
Funded-By: SIGE
2014-09-26 14:10:26 +02:00
Martin Dobias
dc63b44af6 Fix build error with SIP (4.15.5) 2014-09-15 11:09:15 +07:00
Juergen E. Fischer
05c4522a63 fix build on PyQt <4.9.5 2014-09-14 23:31:01 +02:00
Matthias Kuhn
d1768b85fc [SIP] Change all occurences of convert[From|To]Instance to convert[From|To]Type
Removal of these deprecated calls is expected to improve stability
2013-08-13 12:35:49 +02:00
Matthias Kuhn
8c810328f7 Switch from deprecated sip*Instance* calls to sip*Type* calls
Min SIP version 4.8
2013-07-29 15:16:53 +02:00
Marco Hugentobler
8f9b89dd67 Clean up code related to old overlay object system 2013-07-06 16:18:30 +02:00
Salvatore Larosa
1f10010ebf Fixes #8061 2013-06-17 13:25:28 +02:00
Nathan Woodrow
979a11ec0b Fix crash in sip using QString 2013-05-31 09:22:33 +10:00
Radim Blazek
50d4bb6d4d WMS identify feature support - get vector features from GML GetFeatureInfo 2013-02-06 15:14:16 +01:00
Martin Dobias
31f6ce07c3 Changed data structure for added features from list to map to allow efficient lookups 2012-12-19 00:28:04 +01:00
Giuseppe Sucameli
e81b044889 fix segfaults and memory leaks in sip files (fix #6805) 2012-12-02 19:52:50 +01:00
Juergen E. Fischer
4b263d6b06 and more sip fixes 2012-09-30 18:18:40 +02:00
Juergen E. Fischer
ded943d77d update bindings 2012-09-25 14:28:06 +02:00
Juergen E. Fischer
eef8627663 more sip fixes 2012-09-24 22:40:24 +02:00
Juergen E. Fischer
75512bcf05 fix python binding for QgsVectorDataProvider::changeGeometryValues() 2012-01-27 00:24:24 +01:00
Juergen E. Fischer
d8bdcb20ca add python binding to QgsVectorDataProvider::fieldNameMap() 2012-01-16 08:57:07 +01:00
Juergen E. Fischer
5a3a87fde2 [FEATURE] support 64bit feature ids 2011-06-16 20:30:07 +02:00
jef
b2c6d045ce r15197 worked with SIP 4.12.1 on OSGeo4W
r15205 breaks SIP 4.12.1 again, but apparently works on SIP 4.12.0 on OSX
This hopefully works with both.


git-svn-id: http://svn.osgeo.org/qgis/trunk@15211 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-19 13:33:44 +00:00