683 Commits

Author SHA1 Message Date
Martin Dobias
8da06cb97d QgsVectorLayer: deprecate old API: select(), nextFeature(), featureAtId() 2013-01-26 19:42:46 +01:00
Martin Dobias
5ad61f535a Merge remote-tracking branch 'origin/master' into new_vector_api 2013-01-26 18:17:45 +01:00
Juergen E. Fischer
994dc1cc21 - [API] introduce QgsMessageLog::MessageLevel and change logMessage() level
parameter to that type
- change default level to WARNING
- change startup messages to INFO
- don't unhide the warning button for INFO messages
- fix warnings produced by python code
2013-01-26 14:16:39 +01:00
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
Marco Hugentobler
353d6977bd Merge branch 'composer_inference_lines' 2013-01-18 17:07:05 +01:00
Marco Hugentobler
06374d9b64 Update composition sip bindings 2013-01-18 16:50:13 +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
Juergen E. Fischer
ac29c5b11f prepare-commit.sh: remove trailing blanks from python files 2013-01-12 23:48:58 +01:00
Juergen E. Fischer
98dad7dcbc fix sip binding of QgsCredentials::get() (always returned true; partly rolls back dcf3ede) 2013-01-12 23:17:25 +01:00
Nathan Woodrow
7e29d7ced1 [API] Add method to QgsMapLayerRegistry to get layers using name 2013-01-08 07:12:10 +10:00
Juergen E. Fischer
460f578d93 - [API] add optional progress dialog to QgsVectorLayerImport
- postgres/mssql: fix primary key generation on import (fixes #6907)
- fix crash on browser refresh after vector layer import
2013-01-07 01:01:27 +01:00
Larry Shaffer
5cd7dc5d4d Merge pull request #372 from dakcarto/iface_enviro_3
[FEATURE] Configure custom environment variables
2013-01-06 00:00:30 -08:00
Larry Shaffer
6a936b936b Draw SVG symbol from cached QImage unless it exceeds half of cache size, then use QPicture
- Fix #6855, SVG markers/fills larger than half cache (559^2 X 32 + SVG) are drawn with QPicture
- Fix #6861, make QPicture SVG symbols scale with Composer page zoom
- Fix #6861, make SVG symbol output to print/image more accurate by setting 'size' to double
- Update/add support for non-squared SVG via QImage and QPicture, on screen and in output to print/image
- Non-squared SVG QImage/QPicture can now be used in pattern fill, without excess space
2013-01-04 09:43:59 +01:00
Larry Shaffer
8d582ade2e [FEATURE] Configure custom environment variables
- Fix for #3097
- Could help plugins, like SEXTANTE, work better across platforms via abstracted coding based upon env vars
- In app prefs, configure variables and view current set, with tooltips to show pre-startup value (if any)
2013-01-03 03:33:43 -07:00
Alexander Bruy
5e45a22d06 remove deprecated methods from API 2012-12-23 10:40:23 +02:00
Marco Hugentobler
79947fe942 Merge branch 'master' of github.com:qgis/Quantum-GIS 2012-12-21 13:58:19 +01:00
Radim Blazek
d58d3476c0 raster creation moved from QgsGdalProvider::create() to GDAL provider extern C function 2012-12-20 14:44:10 +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
Marco Hugentobler
ac5267178c Merge branch 'crs_transform_cache' 2012-12-18 22:28:41 +01:00
Radim Blazek
9fce669ba2 Improved raster singleband pseudocolor classification GUI 2012-12-18 13:46:45 +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
76115ec886 Raster statistics and histogram moved from QgsRasterDataProvider to QgsRasterInterface 2012-12-17 18:29:08 +01:00
Radim Blazek
d435bfc876 QgsRasterBlock::DataType moved to QGis::DataType 2012-12-17 14:04:10 +01:00
Marco Hugentobler
e0d9796fda Use coordinate transform cache in maprenderer 2012-12-17 08:55:31 +01:00
Marco Hugentobler
d4aa0ed62a Change binding for QgsMapRenderer::render 2012-12-16 11:05:51 +01:00
Larry Shaffer
3b3d1a75da Update labeling tools and make more undo/redo friendly
- Change QgsVectorLayer::redoEditCommand to only strip invalid QVariants, not null ones
- Update undo/redo command text to start with action and end with sample of label text
- Update pin/unpin labels tool to be fully undo/redo-able
- Store generated label text in QgsLabelPosition (sans direction symbols)
- Update change label properties dialog to show whether label text is expression
2012-12-15 17:30:39 -07:00
Alexander Bruy
ee9c811d43 fix QgsDistanceArea bindings 2012-12-12 20:29:30 +02:00
Alexander Bruy
dcf3ede3c3 make username and password in-out parameters in QgsCredentials bindings 2012-12-11 14:04:56 +02:00
Tim Sutton
cd74d71a1d Transfer ownership of transparency to prevent crashing python apps. 2012-12-06 12:52:17 +02:00
Alexander Bruy
d32a3773c3 add missed renderer capabilities to Python bindings 2012-12-04 12:09:09 +02:00
Giuseppe Sucameli
dffae7962f move svg utils functions to the symbollayerv2utils class 2012-12-02 20:28:15 +01:00
Giuseppe Sucameli
e81b044889 fix segfaults and memory leaks in sip files (fix #6805) 2012-12-02 19:52:50 +01:00
Magnus Homann
69308d3767 Merge branch 'master' into qgsexpression_DA 2012-11-28 19:17:15 +01:00
Larry Shaffer
ee12df2f4e Add option to set inside and outside maximum for delta angle between curved label characters
- Addresses #6763, #6673 and #2113, but does not perform any feature simplification
- Recommend adding some letter [and word] spacing before applying any delta angle adjustment
2012-11-27 17:48:01 -07:00
Giuseppe Sucameli
454c732a3d [FEATURE] add support to SVG images from url.
Work done for Regione Toscana-SITA
2012-11-27 01:02:51 +01:00
Magnus Homann
e063c237d0 Update from master 2012-11-23 21:01:04 +01:00
Giuseppe Sucameli
3700d84306 fix build 2012-11-23 00:30:51 +01:00
Tim Sutton
7dd8a2ec5e Better annotation of vector file writer api changes 2012-11-22 10:35:20 +02:00
Etienne Tourigny
4c53c62a03 adjust .sip file after rebase 2012-11-17 19:01:46 -02:00
Etienne Tourigny
31c11edb2f make QgsCptCityColorRampV2 subclass of QgsVectorGradientColorRampV2 and adjust both accordingly (changed stops map to list) 2012-11-17 19:01:46 -02:00
Larry Shaffer
e3d30af735 Update to limit of number of features sent to PAL
- Distributes max number across total number of features registered in PAL
- Caveat: PAL may not show label for every registered feature
2012-11-15 21:21:13 -07:00
Jürgen Fischer
9183adce9f Merge pull request #320 from matthias-kuhn/fix-attredit
Fix for http://hub.qgis.org/issues/6647
2012-11-15 16:12:39 -08:00
Larry Shaffer
f210668cb2 Add option to limit number of labels rendered per layer (OFF by default)
- Initial limit set to 2000
- Results would look better if limited subset was a random sampling of all features
2012-11-13 15:40:19 -07:00
Larry Shaffer
bb947b4762 Add custom line direction symbols to labeling
- Options to place symbol above or below label text
- Option to reverse symbol direction
- Add character selector dialog for single font to src/gui
2012-11-11 16:12:45 -07:00
Larry Shaffer
15fe9926ce Add data defined option to always show a label, unless overridden
- Label is skipped during PAL priority calculation, permitting collisions and overlaps
- Overridden by layer and data defined 'scale/pixel size visibility' and data defined 'show label'  options
- Add option to Change Label tool
2012-11-10 00:49:50 -07:00
Nathan Woodrow
a7699e2696 [FEATURE] Add ability to create user defined Python (and C++) expression functions 2012-11-10 11:20:26 +10:00
Larry Shaffer
e5f07edf55 Add pixel size limiting for labels defined in map units
- Allows user to quickly set visibility thresholds based upon text legibility
- By default initially on for map unit labels to skip rendering at sizes < 3 px
2012-11-09 14:27:55 -07:00
Matthias Kuhn
d218d0a69f Add python bindings for setEditorLayout 2012-11-08 08:56:01 +01:00
Radim Blazek
a8934a28f7 invert raster colors better 2012-10-27 21:32:08 +02:00