38958 Commits

Author SHA1 Message Date
rldhont
ada8715691 [Server] Add GetStyles test 2017-05-29 12:14:46 +02:00
rldhont
8356c767b9 Merge pull request #4637 from rldhont/server-wms-configparser-describelayer
[Server] WMS DescribeLayer refactoring
2017-05-29 12:13:12 +02:00
nirvn
d996cf28cd clean up expression convertion errors 2017-05-29 16:31:53 +07:00
nirvn
3419945a8d [FEATURE] create_ramp() expression function 2017-05-29 16:31:53 +07:00
Denis Rouzaud
f250bef482 improved sipify code layout 2017-05-29 11:26:44 +02:00
Nyall Dawson
12ed31b742 Fix missing break statements (identified by Coverity) 2017-05-29 12:48:34 +10:00
Nyall Dawson
e6a8f9da32 Fix memory leak in TestQgsPaintEffect 2017-05-29 12:48:34 +10:00
Nyall Dawson
fa3e01409f Fix memory leak, potential crash when creating QgsVectorLayerSimpleLabeling
Identified by Coverity
2017-05-29 12:48:34 +10:00
Nyall Dawson
fb76383d29 Fix memory leak when cloning vector layers 2017-05-29 12:48:34 +10:00
Nyall Dawson
48db8ecfac Merge pull request #4601 from timlinux/contributors
Added Ismail Sunni and Etienne Trimaille to contributors list
2017-05-29 09:53:43 +10:00
Nyall Dawson
a9370af19c Fix potential crashes in geometry checker (identified by Coverity) 2017-05-29 09:29:53 +10:00
Nyall Dawson
566d75bd71 Fix memory leaks in processing tests 2017-05-29 09:25:02 +10:00
Nyall Dawson
83815baacf Merge pull request #4598 from Gustry/atlas_expressions
[needs-docs] add layerid and layername to atlas expressions
2017-05-29 09:10:10 +10:00
Nyall Dawson
ba079d80c9 Fix crash when reordering composer items via drag and drop
Caused by internal Qt bug when multiple QSortFilterProxyModels
used by widgets are attached to a parent model which calls
beginMoveRows.

Adds some tests, but none reproduce the crash. Not reproducable
on Qt5 builds.
2017-05-27 18:56:41 +10:00
Nyall Dawson
86ce4418b1 Merge pull request #4627 from nyalldawson/json_format
Use field formatter when exporting feature attributes to JSON
2017-05-27 07:22:07 +10:00
Nyall Dawson
9cfe70c058 Merge pull request #4624 from nyalldawson/feature_source
QgsFeatureSource
2017-05-27 07:21:45 +10:00
Sandro Santilli
13e39da074 Ensure "dbname" is set in the uri, once again
Fixes #16625 (ref #10600)
2017-05-26 17:52:29 +02:00
rldhont
8a0261c94e [Server] WMS DescribeLayer refactoring 2017-05-26 16:59:24 +02:00
rldhont
5b78297149 [Server] Rename QgsServerProjectUtils::wcsLayers to QgsServerProjectUtils::wcsLayerIds 2017-05-26 16:59:24 +02:00
rldhont
e7d45a0976 [Server] Add DescribeLayer test 2017-05-26 16:59:23 +02:00
rldhont
c05d779ccd Merge pull request #4630 from rldhont/server-wms-configparser-getcontext
[Server] WMS GetContext refactoring
2017-05-26 16:33:32 +02:00
rldhont
ce3cbeb963 [Server] Add GetContext accesscontrol test 2017-05-26 15:48:03 +02:00
rldhont
83b3368e38 [Server] Add GetContext test 2017-05-26 15:48:03 +02:00
rldhont
6feca53278 [Server] Fix QgsServerProjectUtils readListEntry 2017-05-26 15:48:03 +02:00
rldhont
0f00a5235d [Server] WMS GetContext refactoring 2017-05-26 15:48:02 +02:00
Juergen E. Fischer
8c873b14b8 avoid slashes in connection names (followup 30900e9b8; fixes #16624) 2017-05-26 14:06:13 +02:00
Alexander Bruy
dc5ba8ffe9 [processing] explisitly load outputs as raster or vector depending
on the output type. Don't rely on extension or other indirect attributes
2017-05-26 13:30:23 +03:00
Sandro Santilli
83613204fa Add test for QgsScaleRangeWidget::setScaleRange
See #15463 as this test guards after the fix for that bug
(minScale visibility corrupted upon project load)
2017-05-26 11:57:11 +02:00
Sandro Santilli
8ccb4c4399 When setting scale range, make sure to set min before max scale
This ensures the limit on max scale imposed by previously set min
scale does not trim the new value.

Fixes #15463

(cherry picked from commit 55ffbf5e932ede65144474c4854000708757b700)
2017-05-26 10:19:54 +02:00
Mathieu Pellerin
e0cad1fb4f [composer] fix export atlas as image crash (fixes #16623) 2017-05-26 11:58:02 +07:00
Nyall Dawson
47ffb588fe Fix some providers not requesting all required attributes needed
for client side order by clauses
2017-05-26 08:06:13 +10:00
rldhont
95a5ccefab [Server] fix wmsInspireActivated to wmsInspireActivate 2017-05-25 17:27:46 +02:00
Nyall Dawson
aa376c2a1f Split ProviderTestCase into provider/source tests
There's now a FeatureSourceTestCase base class which handles
testing QgsFeatureSources for conformance. These tests
consist mostly of tests which where previously in
ProviderTestCase. ProviderTestCase now subclasses
FeatureSourceTestCase + adds tests which are specific
to QgsVectorDataProviders.
2017-05-25 20:48:00 +10:00
Nyall Dawson
df3a43ff7e Add missing overrides 2017-05-25 12:31:06 +10:00
Nyall Dawson
85d463052a QgsFeatureSource/Sink can be stored in QVariant 2017-05-25 12:31:06 +10:00
Nyall Dawson
4647662664 Add crs, fields, wkbType and featureCount to QgsFeatureSource 2017-05-25 12:31:06 +10:00
Nyall Dawson
8bfeb8f73b QgsVectorLayer, QgsVectorDataProvider are QgsFeatureSources 2017-05-25 12:31:06 +10:00
Nyall Dawson
ce063b8691 Add QgsFeatureSource interface as interface for classes which
provide feature iterators via a getFeatures method
2017-05-25 12:31:06 +10:00
Nyall Dawson
13a3f2f88a More windows build fixes 2017-05-25 12:30:41 +10:00
Juergen E. Fischer
dcc571559c Revert "fix windows build (followup dd40a3d)"
This reverts commit b3f2fe2b5504ef3dbb57c719c8da57ddbf7e621f.
2017-05-25 01:33:51 +02:00
Nyall Dawson
955f5b1916 Merge pull request #4628 from nyalldawson/fix_16390
[composer] Refresh data defined properties after page size changes
2017-05-25 07:44:45 +10:00
Nyall Dawson
5b0bc93834 Rename QgsJSONExporter/Utils to QgsJsonExporter/Utils
Follows proper QGIS/Qt capitalization convention
2017-05-25 07:43:03 +10:00
Nyall Dawson
4b33e2fb1c Small optimisations 2017-05-25 07:36:04 +10:00
Nyall Dawson
a5e3f1931b Use field formatter when exporting feature attributes to JSON
This means that field values which utilise widget setups like
value maps will correctly show the "friendly" value
for the field, instead of the raw values.
2017-05-25 07:29:53 +10:00
Nyall Dawson
987f80a4ce Use weak layer pointer instead of layer id in QgsJsonExporter 2017-05-25 07:29:53 +10:00
Denis Rouzaud
f63adfe145 [sipify] keep external forward declaration 2017-05-24 15:39:46 +02:00
Denis Rouzaud
09d3e2ff3a sipify core effects 2017-05-24 15:39:46 +02:00
Denis Rouzaud
827c19f2e7 QgsCharacterSelectorDialog: rename file name according to class name 2017-05-24 15:22:09 +02:00
Denis Rouzaud
3f0017a46d sipify gui part 2 2017-05-24 15:22:09 +02:00
Denis Rouzaud
f5e66dd227 [sipify] handle constrained annotation 2017-05-24 14:49:28 +02:00