3211 Commits

Author SHA1 Message Date
Juergen E. Fischer
91ecc5f31b add 'warning' to the respective python message log tab 2014-02-24 02:03:42 +01:00
Martin Dobias
fafa58ed24 Merge remote-tracking branch 'origin/master' into threading-revival
Conflicts:
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/symbology-ng/qgslinesymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/providers/wms/qgswmsdataitems.cpp
	tests/src/core/testqgsblendmodes.cpp
2014-02-23 20:12:50 +07:00
Matthias Kuhn
f9e0093ce7 [fTools] Spatial join aggregates: handle NULL values 2014-02-23 10:39:14 +01:00
Martin Dobias
5a4f8d07a0 Change "added/deprecated in 2.1" notes to 2.4 for stuff related to threading 2014-02-21 17:33:09 +07:00
Martin Dobias
da1ebc2693 Comments and API improvements of simplification (no functional changes)
- moved QgsVectorLayer::SimplifyHint enum to QgsVectorSimplifyMethod
- use QFlags instead of int for hints
- added few notes about simplification being added in 2.2
2014-02-21 12:08:50 +07:00
Larry Shaffer
523fd44d86 Add more standard test font functions to QgsFontUtils 2014-02-19 13:27:59 -07:00
Larry Shaffer
2d4ecbac00 Move loading of test fonts to QgsFontUtils
- Always add testdata.qrc to desktop and server, but only auto-load Roman and Bold if built in debug mode
- Test fonts can now be loaded directly, after startup
- Add sip binding and unit tests
2014-02-19 13:27:59 -07:00
Salvatore Larosa
42a4e75536 [pyqgis-console] prepared apis file update 2014-02-19 16:56:56 +01:00
Juergen E. Fischer
5cd53dd28e dbmanager versioning: use lower case 'sql' language (fixes #9434) 2014-02-18 17:45:20 +01:00
Borys Jurgiel
88e8f9d6b6 [Plugin Installer] More robust xml parsing: fix lonely ampersands. Fixes #9524 2014-02-18 17:01:41 +01:00
Martin Dobias
a3af93394e Merge branch 'master' into threading-revival
Some features are still disabled - will be fixed later

Conflicts:
	python/core/composer/qgscomposition.sip
	python/core/diagram/qgsdiagram.sip
	python/core/diagram/qgshistogramdiagram.sip
	python/core/diagram/qgspiediagram.sip
	python/core/diagram/qgstextdiagram.sip
	python/core/qgsdiagramrendererv2.sip
	python/core/qgsfield.sip
	python/core/qgslabelsearchtree.sip
	python/core/qgsmaprenderer.sip
	python/core/qgsrenderchecker.sip
	python/core/symbology-ng/qgssymbollayerv2.sip
	python/gui/qgsmapcanvas.sip
	src/app/composer/qgscomposerlegendwidget.cpp
	src/app/qgisapp.cpp
	src/core/composer/qgsatlascomposition.cpp
	src/core/composer/qgscomposerattributetable.cpp
	src/core/composer/qgscomposermap.cpp
	src/core/composer/qgscomposition.cpp
	src/core/composer/qgscomposition.h
	src/core/diagram/qgsdiagram.h
	src/core/diagram/qgshistogramdiagram.cpp
	src/core/diagram/qgshistogramdiagram.h
	src/core/diagram/qgspiediagram.cpp
	src/core/diagram/qgspiediagram.h
	src/core/diagram/qgstextdiagram.cpp
	src/core/diagram/qgstextdiagram.h
	src/core/qgsdiagramrendererv2.cpp
	src/core/qgsdiagramrendererv2.h
	src/core/qgsmaprenderer.cpp
	src/core/qgsmaprenderer.h
	src/core/qgsnetworkaccessmanager.h
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/qgsvectorlayer.h
	src/core/qgsvectorlayerfeatureiterator.cpp
	src/core/qgsvectorlayerfeatureiterator.h
	src/core/raster/qgsrasterlayer.cpp
	src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
	src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.h
	src/core/symbology-ng/qgssymbolv2.cpp
	src/gui/qgshighlight.cpp
	src/gui/qgsmapcanvas.cpp
	src/gui/qgsmapcanvas.h
	src/gui/qgsmapcanvasitem.cpp
	src/gui/qgsmaptoolidentify.cpp
	src/plugins/georeferencer/qgsgeorefplugingui.cpp
	src/providers/memory/qgsmemoryfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.h
	src/providers/ogr/qgsogrprovider.cpp
	src/providers/oracle/qgsoraclefeatureiterator.cpp
	src/providers/oracle/qgsoracleprovider.cpp
	src/providers/postgres/qgspostgresconn.cpp
	src/providers/postgres/qgspostgresfeatureiterator.cpp
	src/providers/postgres/qgspostgresfeatureiterator.h
	src/providers/wfs/qgswfsfeatureiterator.cpp
	src/providers/wms/qgswmsprovider.cpp
	src/providers/wms/qgswmsprovider.h
	src/ui/qgsoptionsbase.ui
	tests/src/core/CMakeLists.txt
	tests/src/core/testqgscomposereffects.cpp
	tests/src/core/testqgscomposerhtml.cpp
	tests/src/core/testqgscomposerscalebar.cpp
	tests/src/core/testqgscomposershapes.cpp
2014-02-18 11:28:46 +07:00
Martin Dobias
8b10eb0306 Color ramp combo box: do not show "random colors" if gradients-only is on
+ added option to query whether gradients-only option is enabled
2014-02-14 19:20:34 +07:00
Nyall Dawson
9e948dfb2b [composer] Fix scrollbars in composer by correctly calculating scene bounds (fix #7691) 2014-02-13 22:38:01 +11:00
Martin Dobias
8e330e3ad4 [processing] Fix Qt warnings when opening config dialog 2014-02-13 13:25:44 +07:00
Martin Dobias
3a8770e71e Merge remote-tracking branch 'slarosa/fix_9328' 2014-02-13 12:25:46 +07:00
Juergen E. Fischer
57dd8779ac dbmanager: fix 'load as new layer' (fixes #9548) 2014-02-13 00:00:25 +01:00
Salvatore Larosa
c060164bca [processing] fixes #9328:
addressed: http://hub.qgis.org/issues/9328
2014-02-12 18:58:22 +01:00
Martin Dobias
684dd890a3 Fix #9459 (layer fails to render when rule-based symbology make use of $atlasfeatureid) 2014-02-11 23:57:02 +07:00
Martin Dobias
6b74feed5c [db manager] Also removed completer.py file and its imports 2014-02-11 19:26:44 +07:00
Alexander Bruy
83baa914bd [db manager] use QScintilla for SQL window 2014-02-11 13:10:15 +02:00
Martin Dobias
e6c2ecd9f3 Fix #9290 (crashes in symbology on fields with special characters)
Fixes several crashes and problems with backwards compatibility.
Before expressions were allowed, field names were loaded and saved
unquoted, e.g. x.y  - with introduction of expressions it was
necessary to use properly quoted "x.y" name so that expression
is correctly parsed. With these changes both options are possible
and when possible, the unquoted field name is used for compatibility
2014-02-11 14:27:01 +07:00
Martin Dobias
c465c9f03d Fix #8434 (join by spatial location locks up QGIS)
By caching the features of the provider in the inner loop, there is
a considerable speedup (compared to doing millions of queries)
2014-02-10 14:47:51 +07:00
Sandro Santilli
0d4968c80a Fix type of "face_seed" layer in TopoViewer 2014-02-09 21:42:12 +01:00
Martin Dobias
77a24cbeb4 Fix #8996 (Composer crashes QGIS when setComposition() method called) 2014-02-09 20:25:20 +07:00
Juergen E. Fischer
780443e200 indentation update 2014-02-09 11:26:56 +01:00
Juergen E. Fischer
52616b6549 vector layer: save old attribute values where available to speedup undo (and rollback) (fixes #9509)
field calculator & app: use wait cursor while calculating and committing or rolling back
2014-02-08 23:28:52 +01:00
Sandro Santilli
02409e9901 Pass extent of loaded views to the provider via URI
Completes the speed up loading of view layers in TopoViewer.
Finally and definitely fixes #9510.

NOTE: the commit also adds a layer for face's MBR, which serves
the purpose (among others) to allow for easy computing extent.
2014-02-08 19:25:04 +01:00
Sandro Santilli
56bebb193b Pass wkbType and SRID of loaded views to the provider via URI
Slighly speeds up loading of view layers in TopoViewer (#9510).
Unfortunately there's no way to also pass in the Extent, so loading
is still slow.
2014-02-08 17:05:47 +01:00
Sandro Santilli
188b373bad Fix loading of face layers after breaking it with 73b49867
Fix #9510 again
2014-02-08 14:31:29 +01:00
Sandro Santilli
6dd0cbe542 Update TopoViewer style templates to 2.2.0 version
Fix #9512
2014-02-08 14:11:24 +01:00
Sandro Santilli
73b4986747 Speed up topology loading
When loading topology viewer on a PostGIS-2.0+ database, it includes
type and srid typmod in the view layers, avoiding a full scan of
the datasets.

Fix #9510
2014-02-08 12:26:19 +01:00
Piotr Pociask
02822d4945 [processing]Fix "float division by zero" in polygonize algorithm if no
polygons were created.
For shapely 1.2.16+ and GEOS 3.2+ unary_union will be used for noding
lines - union method sometimes failed to create properly noded polyline.
2014-02-08 12:08:01 +01:00
Juergen E. Fischer
5397dfe538 update qgis.org links 2014-02-07 21:02:11 +01:00
Alexander Bruy
cedc22ff43 [processing] fix docstring 2014-02-07 15:57:14 +02:00
Martin Dobias
408e2b7a12 Fix #8864 (Random selection with subsampling broken) 2014-02-07 16:19:29 +07:00
Martin Dobias
caf33b657f Fix #8174 (overlaps when using 'avoid intersections' functionality) + test
I am not entirely confident if it will work perfectly with older versions of GEOS (< 3.3)
because of the lack of unary union (that is emulated by series of unions of two geometries)
2014-02-07 12:03:18 +07:00
Nyall Dawson
d22f7e8b9d [composer] Fix stacking of items breaks after pasting items. Make sure pasted items are always placed in correct order on top of composition. 2014-02-06 22:46:42 +11:00
Giuseppe Sucameli
58faa5b4ad Merge pull request #1129 from etiennesky/gdaltools_fixes2
gdaltools: use GDAL python bindings to get raster SRS and extent (fix #9460)
2014-02-05 23:54:12 +01:00
Nyall Dawson
78ecef6f2a [composer] Draw mouse handles and item bounds outside of item's frames, so that snapping occurs to edge of item frame (fix #8943) 2014-02-04 19:01:41 +11:00
Alexia Mondot
7abca16d05 fixes bugs about processing evolution 2014-01-31 16:16:13 +01:00
Alexia Mondot
4f443dd384 Update OTB processing modules 2014-01-31 16:16:13 +01:00
Alexia Mondot
128158b3ce import removed to fix bugs 2014-01-31 16:13:20 +01:00
Alexia Mondot
cdadc701ee add ParameterMultipleExternalInput parameter type 2014-01-31 11:20:50 +01:00
Matthias Kuhn
e4f410b589 [ftools] S'part to M'part with non-string columns and NULL values
Fix #8625
2014-01-30 23:59:31 +01:00
Etienne Tourigny
4b9e181e23 use python API to get raster extent, instead of relying on gdalinfo 2014-01-30 11:42:00 -02:00
Etienne Tourigny
1d812b3187 use python API to get raster SRS, instead of relying on gdalinfo 2014-01-30 11:13:21 -02:00
Juergen E. Fischer
bc757ffe50 * fix QgsGeometry::moveVertex for multipolygons()
* add test for QgsGeometry::addPart()
* remove expectedFailure decoration from PyQgsGeometry.testSimplifyIssue4189
* modify move and translate tests by 1,1 to 1,2
2014-01-29 21:36:50 +01:00
Etienne Tourigny
d63104ae50 fix gdaltools getRasterSRS() and use gdalsrsinfo with gdal >= 1.9 2014-01-29 16:51:39 -02:00
Etienne Tourigny
2dabba4530 gdaltools batch operations: only update progress when there are input files to process 2014-01-28 16:24:42 -02:00
Etienne Tourigny
921510d12f gdaltools warp: overwrite existing files when not in batch mode 2014-01-28 16:04:09 -02:00