3730 Commits

Author SHA1 Message Date
Matthias Kuhn
a9d7630a69 Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
Because 3D coordinates should be the default.

References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Denis Rouzaud
2d78ef80a9 handle PyName for enums 2017-06-02 13:27:15 +02:00
Denis Rouzaud
98f653e6a5 sipify core raster part 2 2017-06-02 13:27:15 +02:00
Nyall Dawson
d357bc5a36 Correctly handle when either min or max map layer scale visibility
is set to 0

0 is intrepreted as "no limit"
2017-06-02 18:58:10 +10:00
Nyall Dawson
b2360dfd22 Update test mask for WMS server diagrams test 2017-06-02 09:07:53 +10:00
Nyall Dawson
4d936cea2b Add method to convert QgsUnitTypes::RenderUnit to translated string 2017-06-02 08:50:59 +10:00
rldhont
df9ee6f705 Merge pull request #4313 from pblottiere/cleansingleton
[Server] WMS getmap refactoring
2017-06-01 17:57:11 +02:00
Nyall Dawson
2f9bfc5653 Merge pull request #4661 from nyalldawson/feature_index
Add method for manually inserting features into spatial indexes
2017-06-01 18:24:44 +10:00
Nyall Dawson
ff171ea101 Add method for manually inserting features into spatial indexes
i.e. inserting a feature with a different bounding box to that
feature's actual geometry
2017-06-01 10:03:51 +10:00
Nyall Dawson
5077e1285e Merge pull request #4652 from nyalldawson/extent
[FEATURE] Add option to take extent from project map layer to QgsExtentGroupBox
2017-06-01 10:02:39 +10:00
Nyall Dawson
9e147413db Move logic for maintaining exact extent when CRS changes from
raster layer save as dialog to QgsExtentGroupBox, add tests
2017-06-01 09:10:07 +10:00
rldhont
451bda0012 Merge pull request #4644 from rldhont/server-wms-configparser-getstyles
[Server] WMS GetStyles (and GetStyle) refactoring
2017-05-31 15:44:49 +02:00
Nyall Dawson
e2de69d32d Ensure extent is updated when QgsExtentGroupBox crs is changed 2017-05-31 21:18:44 +10:00
Nyall Dawson
5649c405c9 Add unit tests for QgsExtentGroupBox 2017-05-31 21:06:21 +10:00
Nyall Dawson
77fd7e63ea Merge pull request #4646 from nyalldawson/rotation
Unify UX behavior, pt 2: rotation
2017-05-31 12:54:35 +10:00
Nyall Dawson
c019314f86 Update more rotation widgets to standard behavior, fix tests 2017-05-31 10:51:07 +10:00
Denis Rouzaud
8ce847f9b4 more constness 2017-05-30 22:27:44 +02:00
Blottiere Paul
e663d192e3 Add/update tests 2017-05-30 13:37:35 +02:00
Sandro Santilli
accf3f1845 ENABLE_PGTESTS doesn't really make sense w/out ENABLE_TESTS
[ci skip]
2017-05-30 11:13:07 +02:00
Nyall Dawson
d705642fb3 Update diagram renderer to use rotation in degrees clockwise 2017-05-30 17:19:25 +10:00
Nyall Dawson
efe6109cf2 Merge pull request #4641 from nyalldawson/alpha
Unify opacity UI/API, pt 1
2017-05-30 16:50:43 +10:00
Alexander Bruy
9e1108243c Merge pull request #4593 from alexbruy/create-raster-api
[API] convenience API call to create empty raster file with given number of bands
2017-05-30 07:50:33 +03:00
Nyall Dawson
e8b11a3b0a Fix test 2017-05-30 14:19:15 +10:00
Nyall Dawson
e58f25dbb9 Create new QgsOpacityWidget widget
Allows consistent behavior and appearance across all opacity controls
2017-05-30 11:36:24 +10:00
Nyall Dawson
a3262240fe Flip symbology from alpha/transparency to opacity 2017-05-30 11:07:22 +10:00
Nyall Dawson
32480fe8bd Fix tests 2017-05-30 08:48:55 +10:00
Nyall Dawson
bcf4026f9d Flip QgsVectorLayer from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
32af831ca2 Fix test 2017-05-30 08:48:55 +10:00
Nyall Dawson
ac3932073b Flip QgsShadowEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
6f4c5496c7 Flip QgsDrawSourceEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
89c2e85aa9 Flip QgsGlowEffect from transparency to opacity 2017-05-30 08:48:55 +10:00
Nyall Dawson
59cc09b4c4 Change QgsBlurEffect to use opacity instead of transparency 2017-05-30 08:48:55 +10:00
Nyall Dawson
39146517d2 Change QgsComposerItem to use opacity instead of transparency 2017-05-30 08:48:54 +10:00
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
3419945a8d [FEATURE] create_ramp() expression function 2017-05-29 16:31:53 +07:00
Nyall Dawson
e6a8f9da32 Fix memory leak in TestQgsPaintEffect 2017-05-29 12:48:34 +10:00
Nyall Dawson
566d75bd71 Fix memory leaks in processing tests 2017-05-29 09:25:02 +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
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
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
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
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
5b0bc93834 Rename QgsJSONExporter/Utils to QgsJsonExporter/Utils
Follows proper QGIS/Qt capitalization convention
2017-05-25 07:43:03 +10:00