3188 Commits

Author SHA1 Message Date
Matthias Kuhn
9fd0802939 Remove QgsEditorWidgetConfig
This is replaced with a QVariantMap. It was never really more than this in the
past and with the switch to QgsConfigurationProperties, there is really no
longer any reason to assume that this will change.
2016-12-20 01:20:08 +01:00
Matthias Kuhn
80b3bfdf18 Add QgsConfigurationProperty class
This class holds a QVariantMap to manage key-value-pairs where each
value can be a string, bool, int, double or itself a map and can be
stored to and restored from XML.
2016-12-20 01:20:08 +01:00
Denis Rouzaud
9c4be41441 [spelling] labelling -> labeling 2016-12-19 23:58:29 +01:00
Even Rouault
792873af5c Merge pull request #3871 from rouault/auto_stretch
[FEATURE] Implement raster auto-stretching when updating canvas
2016-12-16 13:53:54 +01:00
Even Rouault
532eb58d1f [FEATURE] Implement raster auto-stretching when updating canvas
This commit implements the improvements described at:
https://lists.osgeo.org/pipermail/qgis-developer/2016-September/044393.html

The QgsRasterMinMaxWidget now offers a seetting to specify that the statistics
should be computed each time the canvas extent changes.

Other changes:
- the content of the QgsRasterMinMaxWidget is now persistant.
- there is no longer any Load button. The global Apply / OK button of the raster
  properties dialog has this effect.
- the default "limits" for single band raster is now MinMax and not CumulativeCut
- the default "limits" can be configured for single band, multi band single byte and
  multi band multi byte
- "Strech using current extent" honours the "limits" instead of forcing min/max.
2016-12-16 12:36:06 +01:00
Nyall Dawson
a0b260587b Add some data modification tests to providertestbase
Tests for addFeatures, deleteFeatures, changeAttributeValues
and changeGeometryValues

Implemented for memory, ogr and spatialite providers
2016-12-16 13:02:52 +10:00
Denis Rouzaud
2ffe1a764b spelling fixes 2016-12-15 15:26:36 +01:00
Denis Rouzaud
90fc0bb226 use Travis to look for spelling errors
use silver searcher for faster search (instead of grep)
2016-12-15 15:26:36 +01:00
Alexander Bruy
417a5cdba3 Merge pull request #3861 from alexbruy/svg-cleanup
clean up SVG files from unnecessary data
2016-12-15 12:48:41 +02:00
Martin Dobias
5c402b2fde Fix python test 2016-12-15 18:15:12 +08:00
Juergen E. Fischer
a85fe1fa44 [FEATURE] DWG import into geopackage using libdxfrw 2016-12-14 22:15:15 +01:00
Juergen E. Fischer
8d8bbabf81 indentation update 2016-12-14 14:13:31 +01:00
Alexander Bruy
81e2f87fd0 update test masks 2016-12-14 13:46:19 +02:00
rldhont
287ed2d39c Fix test for WMS 1.3. compliance: distort image if width/height ratio of bbox is different to WIDTH/HEIGHT of requested image 2016-12-13 20:10:40 +01:00
rldhont
e59bad53fb Fix test for WMS 1.3. compliance: distort image if width/height ratio of bbox is different to WIDTH/HEIGHT of requested image 2016-12-13 16:40:05 +01:00
Alessandro Pasotti
f48f90ead0 Merge pull request #3864 from elpaso/downloader-fixes-bad-network
[BUGFIX] Fixed a crash on bad network protocol
2016-12-13 15:50:57 +01:00
Alessandro Pasotti
6f534c5f8e [BUGFIX] Fixed a crash on bad network protocol 2016-12-13 14:07:23 +01:00
rldhont
56633baffc [QGIS Server] CITE WMS 130 Test project
Add a project for OGC CITE WMS 130 tests
2016-12-13 13:07:51 +01:00
Mathieu Pellerin
a8b9723cbc [FEATURE] allow customization of line spacing for legend item labels (#3632)
* [FEATURE] allow customization of line spacing for legend item labels
* add test for legend line spacing and update control images
2016-12-13 12:09:13 +07:00
Nyall Dawson
d7b0244e68 Disable another intermittent task manager test 2016-12-13 06:58:22 +10:00
rldhont
7028eee198 Merge pull request #3809 from pblottiere/render
replace QgsMapRenderer
2016-12-12 14:07:37 +01:00
rldhont
29a05dfa9c Adapt WFS capabilties in server test for WMS 1.3.0 compliance 2016-12-12 14:06:14 +01:00
Nyall Dawson
7bc7647957 More flaky test disabling 2016-12-12 17:47:34 +10:00
Nyall Dawson
caa0d500af Fix spelling of orthoganilize 2016-12-12 17:47:12 +10:00
Blottiere Paul
8cda1bbb79 fix getLegendGraphics when BBox parameter is used 2016-12-12 08:16:18 +01:00
Blottiere Paul
f3a5c98178 remove QgsMapRenderer 2016-12-12 07:50:22 +01:00
Martin Dobias
5228cc5fb4 One more fix for doc test 2016-12-12 10:34:03 +08:00
Martin Dobias
d60f94bf5d Fix doc coverage test 2016-12-12 09:54:05 +08:00
Nyall Dawson
b4d49133df Temporarily disable flaky part of test 2016-12-12 09:19:46 +10:00
Martin Dobias
c783be1d04 Rename QgsComposerLegendStyle to QgsLegendStyle 2016-12-12 03:23:02 +08:00
Martin Dobias
3efc28d07b Remove legacy class QgsComposerLegendItem and subclasses 2016-12-12 02:42:04 +08:00
Martin Dobias
57ff36bc01 Make it possible to use project as non-singleton
This is just a first step - it will be a long way to get rid of all
the usages of singleton instance in QGIS code.
2016-12-11 17:49:24 +08:00
Martin Dobias
2c9f1ff579 Make map canvas independent from overview canvas, simplify QgsMapCanvas API 2016-12-11 16:41:07 +08:00
Martin Dobias
04f8704ebd Unit tests for utility methods from qgsmaplayerlistutils.h 2016-12-11 13:33:53 +08:00
Martin Dobias
1580f325c2 More test fixes 2016-12-11 00:47:30 +08:00
Martin Dobias
483c7f4b86 Test fixes and further QgsProject::instance() removals 2016-12-11 00:31:27 +08:00
Martin Dobias
5fc10d6207 Migrate QgsMapThemeCollection away from using layer IDs 2016-12-10 23:23:18 +08:00
Martin Dobias
c143be7a73 QgsMapSettings and QgsComposerMap store layers for rendering as weak pointers
... instead of using layer IDs which need to be resolved using QgsProject
2016-12-10 18:50:52 +08:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Matthias Kuhn
48f43b0862 Fix map canvas test 2016-12-09 11:00:17 +01:00
Nyall Dawson
4b6f3a3ee5 [FEATURE][processing] New algorithm to orthagonalize geometries
Adds a new QgsGeometry::orthagonalize method which tries to make
angles in geometries either right angles or straight lines

Also adds a processing algorithm exposing this feature.
2016-12-09 09:41:56 +10:00
Nyall Dawson
379e7a42e6 Add some more QgsVector operators, allow use of QgsVector with QgsPointV2 2016-12-09 08:13:48 +10:00
Nyall Dawson
77a8e18ec1 Add methods to add/subtract QgsVectors 2016-12-09 08:13:48 +10:00
Nyall Dawson
37edb69c21 Merge pull request #3843 from nyalldawson/oriented
Port minimum oriented bounding box to QgsGeometry
2016-12-08 05:52:59 +10:00
Nyall Dawson
8a3c1efefe Merge pull request #3840 from DelazJ/selectedfeaturesids
Replace selectedFeaturesIds by selectedFeatureIds
2016-12-07 21:44:24 +10:00
Nyall Dawson
c975764c12 Port processing oriented minimum bounding box alg to QgsGeometry 2016-12-07 20:13:29 +10:00
nirvn
9afb48eccd fix snapping test 2016-12-07 15:29:19 +07:00
Harrissou Sant-anna
f9578bf60b Replace selectedFeaturesIds by selectedFeatureIds 2016-12-07 00:19:11 +01:00
Nyall Dawson
adff069d5a Cleanup QgsTask API for dependent layers 2016-12-06 20:02:34 +10:00
Nyall Dawson
6f9292a75d Reenable all task manager tests 2016-12-06 14:22:03 +10:00