63 Commits

Author SHA1 Message Date
Martin Dobias
5f304b34a1 Merge remote-tracking branch 'origin/master' into new_vector_api
Conflicts:
	python/core/qgsvectordataprovider.sip
	src/app/legend/qgslegendlayer.cpp
	src/app/qgisapp.cpp
	src/app/qgsmergeattributesdialog.cpp
	src/core/qgsvectordataprovider.cpp
	src/core/qgsvectordataprovider.h
	src/core/qgsvectorlayer.cpp
	src/gui/qgssearchquerybuilder.cpp
	src/providers/postgres/qgspostgresprovider.cpp
	src/providers/wfs/CMakeLists.txt
2013-01-23 23:46:56 +01:00
Mathias Walker
a1743ab0e5 Move QgsOfflineEditing to core and add SIP bindings; refactor Offline Editing Plugin 2013-01-15 16:30:35 +01:00
Martin Dobias
9317ffd89a Merge remote-tracking branch 'origin/master' into new_vector_api
Also disabled mapserver until compilation is fixed.
Fixed tests.

Conflicts:
	src/app/legend/qgslegendlayer.cpp
	src/app/qgsattributedialog.cpp
	src/app/qgsattributedialog.h
	src/app/qgslabelpropertydialog.cpp
	src/app/qgsmaptoollabel.cpp
	src/app/qgsvectorlayerproperties.cpp
	src/core/CMakeLists.txt
	src/core/composer/qgsatlascomposition.cpp
	src/core/qgsexpression.cpp
	src/core/qgspallabeling.cpp
	src/core/qgsvectorlayer.cpp
	src/core/qgsvectorlayer.h
	src/core/qgsvectorlayerimport.cpp
	src/mapserver/qgsprojectparser.cpp
	src/mapserver/qgswfsserver.cpp
	src/mapserver/qgswfsserver.h
	src/mapserver/qgswmsserver.cpp
	src/providers/postgres/qgspostgresprovider.cpp
	src/providers/spatialite/qgsspatialiteprovider.h
	tests/src/core/testqgsexpression.cpp
	tests/src/python/test_qgsmemoryprovider.py
2012-12-18 01:35:06 +01:00
Martin Dobias
81b0930498 QgsVectorLayer: large internal refactoring
Most important changes:
- introduced feature iterator for QgsVectorLayer
- vector editing moved to QgsVectorEditBuffer
- complete rework of undo/redo commands for vector layers
- geometry cache separated from editing (QgsVectorLayerCache)
- non-essential editing functionality moved to QgsVectorLayerEditUtils
2012-12-17 21:22:42 +01:00
Radim Blazek
7cb523a26f + QgsRasterBlock 2012-10-11 16:12:09 +02:00
Martin Dobias
e110855e6c [API] added QgsFeatureIterator, changed QgsVectorProvider API
Vector data provider now has getFeatures() method to access features.
select(), nextFeature(), featureAtId(), rewind() were removed resp. moved to provider's feature iterator implementations.

Providers that currently do not implement the new API were disabled.
2012-10-08 17:47:51 +02:00
Martin Dobias
70ff8ef6dd Added select() variant with QgsFeatureRequest for simpler construction of requests 2012-10-08 17:14:45 +02:00
Hugo Mercier
d904da4ce1 Update of QgsAtlasComposition SIP (with Python unit tests as well) 2012-10-05 16:25:11 +02:00
Juergen E. Fischer
8349d52015 indentation cleanup 2012-10-02 16:20:04 +02:00
Juergen E. Fischer
74fd0e48ae more sip fixes:
- also move enum StyleEntity in QgsStyleV2
- fix some warnings
2012-09-24 18:43:20 +02:00
Tim Sutton
ee515bd989 Reinstate symbol layer registry sip stuff 2012-09-24 12:49:47 +02:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Juergen E. Fischer
aad3f4e5a1 add sip bindings to QgsCredentials 2012-09-17 12:41:29 +02:00
Juergen E. Fischer
d8675ba32a add sip bindings for QgsPalLabeling, QgsSimpleMarkerSymbolLayerV2,
QgsSvgMarkerSymbolLayerV2, QgsFontMarkerSymbolLayerV2
2012-09-16 20:21:37 +02:00
Radim Blazek
ea86b93e0d more raster Python bindings, raster write test in Python 2012-09-06 19:16:53 +02:00
Radim Blazek
9286429baa - QgsRenderChecker moved to core + Python bindings
- raster transparency python test
2012-09-04 20:31:59 +02:00
Magnus Homann
8e16c8e37a Fixed SIP errors and reinstated expand() as depreceated. 2012-08-17 11:23:58 +02:00
Radim Blazek
ac4486a7a1 raster save as raw/image mode, pipe clone 2012-08-16 17:05:58 +02:00
Marco Hugentobler
f5ff7c222b Add python bindings for composerhtml 2012-08-09 11:10:55 +02:00
Martin Dobias
e35b115881 [API] removed QgsSearchString - QgsExpression should be used instead 2012-07-15 11:14:53 +02:00
Juergen E. Fischer
545220ec31 refactor QgsPaintEngineHack into core and add python bindings 2012-07-05 17:38:52 +02:00
Marco Hugentobler
fd0a46a8d3 Python binding for raster renderer and resampler classes 2012-05-01 23:09:29 +02:00
Marco Hugentobler
83f95b8fa7 Add sip files for gps connection. Patch from Marcel Huber, ticket #4826 2012-02-01 16:09:20 +01:00
Juergen E. Fischer
2564e6a79a [API] add sip bindings for QgsCsException 2012-01-28 22:33:14 +01:00
Juergen E. Fischer
893f305c51 update for sip 4.13 2011-12-24 05:09:25 +01:00
Juergen E. Fischer
2ab61ff64f [FEATURE] message log window 2011-11-18 23:08:18 +01:00
Marco Hugentobler
ed13141b67 Added python bindings for vector field symbollayer 2011-11-15 16:22:46 +01:00
Giuseppe Sucameli
1a70dddca1 [FEATURE] Import a vector layer from a datasource to a different one
Merge of another part of my Summer of Code work (remote-tracking branch 'brushtyler/import_layer')
2011-09-15 02:34:03 +02:00
Giuseppe Sucameli
6eb406b122 Move import feature main code to QgsVectorLayerImport and keep just few methods in providers 2011-09-12 21:08:13 +02:00
Martin Dobias
98a1c233af Added python bindings for QgsExpression 2011-08-09 20:48:13 +02:00
jef
8ed2174353 add bindings to QgsProjectVersion
git-svn-id: http://svn.osgeo.org/qgis/trunk@15633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-28 22:14:09 +00:00
mhugent
2ed7c945c7 Add python bindings for composer command classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@14827 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-02 09:55:42 +00:00
mhugent
91fa1e0da3 Added binding files for composer attribute table
git-svn-id: http://svn.osgeo.org/qgis/trunk@14770 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-26 10:30:19 +00:00
jef
dec81b9095 fix sip bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@13446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-08 23:50:32 +00:00
jef
f6483e9df5 network manager changes:
- add QgsNetworkAccessManager to core as singleton
- add support for multiple proxy factories
- remove qgisNetworkAccessManager property hack
- python bindings

wms provider:
- use QgsNetworkAccessManager
- some precision changes



git-svn-id: http://svn.osgeo.org/qgis/trunk@13443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-08 19:16:21 +00:00
mhugent
f4c042d561 Add composer shape item to sip list
git-svn-id: http://svn.osgeo.org/qgis/trunk@12905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-09 13:14:53 +00:00
wonder
8f32f25a90 [FEATURE] Support for custom plugin layers. Applied patch from #2392 contributed by Mathias Walker. Thanks!
Some parts modified to make plugin layers easier to use and more robust.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-26 15:43:54 +00:00
wonder
3a7851c8a1 Added python bindings for search strings
git-svn-id: http://svn.osgeo.org/qgis/trunk@12579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-22 14:52:54 +00:00
wonder
961742e243 Symbology-NG branch merged to trunk. This includes also work on labeling done during my GSoC'09.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 10:36:24 +00:00
jef
03224425e5 [FEATHRE] attribute action improvements
- add python bindings for attribute actions
- support actions as context menu in feature form (ui)
- add action types:
  * generic: commands that should work on all platforms
  * windows, mac, unix: commands that should work and are only shown on one platform respectively
    (eg. vim on unix, notepad on windows and textmate on Mac)
  * python: python strings to be executed instead of a command
    (eg. qgis.utils.plugins['apluginname'].amethod('[%someattribute%]'))

[BUGFIXES]
- ogr support for relative filenames fixed
- relative filename support also for feature form uis


git-svn-id: http://svn.osgeo.org/qgis/trunk@12113 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-15 00:15:55 +00:00
mhugent
749390f2e4 Change in overlay classes such that pal object and geos geometry don't appear in the public interfaces (important for python bindings)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-14 15:58:24 +00:00
wonder
62d01abe74 PyQGIS: wrapped QgsMapTip and QgsRunProcess.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10557 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-13 12:29:59 +00:00
mhugent
fbd3adeff0 remove overlay classes in core.sip until some problems are fixed...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-08 10:29:48 +00:00
mhugent
03c843844c Add overlay object, modify core.sip to include it
git-svn-id: http://svn.osgeo.org/qgis/trunk@10506 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-08 10:15:22 +00:00
wonder
2b08dfda2b Added possibility to express tolerances for digitising also in pixels in addition to map units. Patch contributed by Richard Kostecky.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-05 16:46:13 +00:00
mhugent
f7fd50ffa4 Python bindings for composer classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@10244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-27 13:57:26 +00:00
jef
bb61177a46 revert accidental commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@10239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 20:58:19 +00:00
mhugent
0baa9349ea saver string list handling
git-svn-id: http://svn.osgeo.org/qgis/trunk@10236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 19:15:23 +00:00
ersts
5cf0e49eae -Delete outdated class QgsColorTable
-First round of API cleaning for raster classes (all but QgsRasterLayer)

git-svn-id: http://svn.osgeo.org/qgis/trunk@9560 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-01 18:36:02 +00:00
timlinux
a4bd78c9f8 Refactor spatial reference system to coordinate reference system (finalise fix of ticket #15). Also updated some more core api docs / module assignments.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-21 21:11:56 +00:00