7513 Commits

Author SHA1 Message Date
Matthias Kuhn
2b95707838
Merge pull request #30113 from m-kuhn/ssl_certificate_check_ssl_cleanup
Cleanup dockerfile customizations
2019-06-21 16:07:56 +02:00
Matthias Kuhn
14c21a14ad Add dxf curve tests 2019-06-21 13:14:46 +02:00
Juergen E. Fischer
88cb4d4eda dxf export: fix export of curved geometries 2019-06-21 13:14:46 +02:00
Matthias Kuhn
641a9b7276 Remove temporary ssl docker fixes 2019-06-21 12:54:47 +02:00
Nyall Dawson
278a586e11
Update tests/src/python/test_qgsstylemodel.py 2019-06-21 20:32:08 +10:00
Nyall Dawson
207ea7523b Unit tests 2019-06-21 18:07:10 +10:00
Nyall Dawson
554d23b324 Improve handling of favorites in QgsStyleModel and proxy model
Fixes favorite entities sometimes incorrectly filtered out
2019-06-21 15:52:56 +10:00
Nyall Dawson
7757a5ae7a Spelling 2019-06-21 15:52:56 +10:00
Nyall Dawson
9647a18c13 Move label preview background color setting to QgsTextFormat
So that we can utilise it outside of labeling
2019-06-21 15:52:56 +10:00
Nyall Dawson
67c93c1191 Add support for text formats to QgsStyleModel 2019-06-21 15:52:56 +10:00
Nyall Dawson
40e4789ba1 [API] Add support for text renderer formats to QgsStyle 2019-06-21 15:52:56 +10:00
Nyall Dawson
bb622c8718 [layouts] When a layer item is set to block labels from a map,
don't apply the "label margin from map edge" to this item's extent

Turns out that that behavior was unwanted in practice, as it
misused the margin from edge setting and caused too large a
blocking region for labels around other layout items.
2019-06-21 15:12:55 +10:00
David Signer
9290dff9fc tests for removing constraints on provider default value 2019-06-21 09:04:42 +10:00
Blottiere Paul
3b02d3d970 Replace shared pointer with unique pointer 2019-06-21 09:03:03 +10:00
Blottiere Paul
87bdf6b6b6 Add unit test 2019-06-21 09:03:03 +10:00
Alessandro Pasotti
0290342e6e
Merge pull request #30271 from elpaso/bugfix-gh30264-wms-bbox-wrong-transform-empty-layers
Server wms bbox wrong transform on empty layers
2019-06-20 10:55:25 +02:00
Alessandro Pasotti
c838161f64 Catch coord transform exception and log it
Skip the layer if there are any exceptions.
2019-06-20 07:22:57 +02:00
Nyall Dawson
3bd3aba25b [needs-docs] [labeling] Allow data defined control over line placement options
Allows users to override the line placement settings (e.g.
above/below/on line options) on a per-feature basis. Somehow
this one was the only(?) setting from labeling which
was missing a data defined control...
2019-06-20 10:24:16 +07:00
Nyall Dawson
04c51db551 Fix priority of parallel placements
Ensure that above line placement is preferred when both above
and below line placements are valid
2019-06-20 12:50:35 +10:00
Nyall Dawson
a8d212b129 Fix tests 2019-06-20 09:40:47 +10:00
Nyall Dawson
11e1862f86 Fix logic for picking default field for display expression
And add test
2019-06-20 09:40:47 +10:00
Martin Dobias
f6049e01d0 Misc fixes to get the branch compiling & running with Python
- grass data item provider fixes
- removed QgsProviderMetadata constructor (with std::function / PyObject) due to sip errors (api break)
- reverted DataCapability move to Qgis - back to QgsDataProvider (avoiding api breaks)
- WidgetMode enum documentation
- sipify monkey patching fix
- renamed WidgetMode's "None" to "Normal" value - in python None has special meaning (api break)
2019-06-19 23:02:11 +02:00
Alessandro Pasotti
9868d86f0d Reference file for regression 30264 2019-06-19 15:49:59 +02:00
Alessandro Pasotti
6cfc7b09bd Server WMS getcapabilities wrong bbox in case of empty layers
... and different CRS

Fixes #30264
2019-06-19 15:46:51 +02:00
lbartoletti
c3f5f71752 more tests 2019-06-19 05:19:10 +10:00
lbartoletti
a022cbb21b Fix reshape for snapped point with Z and add test 2019-06-19 05:19:10 +10:00
Éric Lemoine
ebb2983ee3 Add a unit test for QgsMapSettings::extentBuffer 2019-06-18 15:42:00 +02:00
Peter Petrik
62d615c2cd [QEP 149] Introduce static data providers [API BREAK]
- adds QgsProviderGuiRegistry and QgsProviderGuiMetadata
- adds QgsProjectStorageGuiRegistry
- requires providerMetadataFactory for dynamic data providers
- requires providerMetadataGuiFactory for dynamic data providers (GUI only)
- removes QgsProviderRegistry::WidgetMode
2019-06-18 15:15:36 +02:00
Matthias Kuhn
24e56a810c
Merge pull request #30176 from jgrocha/redmine2github
References to issues.qgis.org updated
2019-06-17 11:34:12 +02:00
Nyall Dawson
de672e3127 Allow storing layer WKB type in QgsMimeDataUtils::Uri 2019-06-17 18:17:10 +10:00
Nyall Dawson
0389ebeab5 Fix collecting geometries when one of the added geometries is already multi-part
Fixes #30208
2019-06-17 06:27:36 +10:00
Alex
a02a4ede6e Allow calculating aggregates using a subset of fids only 2019-06-16 07:00:26 +10:00
Tamas Szekeres
6c6c145590 Fix writing geometries with M values, adding tests for Z/M/ZM geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
7d1b0cb70b Adding test for curve geometries 2019-06-15 15:16:42 +10:00
Nyall Dawson
b25fa7a2e3 Try to fix crash on travis 2019-06-15 15:05:48 +10:00
Nyall Dawson
fbd243be65 [processing] Port map layer selection combobox widget to c++
And:

- fix enable state of selected features only after changing between
map layers with/without selections
- fix state of selected features only when running an algorithm
from the history list, e.g. respect original setting for
selected features only (or not)
- ensure no duplicate changed signals are sent, and correctly
emit changed signals in all applicable circumstances
- handle drag and dropped layers from browser panel (UX fix)
- soak with unit tests
2019-06-15 15:05:48 +10:00
Nyall Dawson
9d82273208 Fix duplicate (and missing) signals from QgsMapLayerComboBox, add tests 2019-06-15 15:05:48 +10:00
rldhont
0499a933c1 [Test][Server] GetContext: Fix hidden attribute 2019-06-14 14:35:25 +02:00
Nyall Dawson
ad4a38d1c0 [layouts] Improve north arrow export time validity check to also test
for north arrows by checking their default id string
2019-06-14 08:02:34 +07:00
Nyall Dawson
ab92deee03 [layouts] Warn when exporting a layout with a north arrow not
linked to a map item
2019-06-14 08:02:34 +07:00
Matthias Kuhn
586d216735
Merge pull request #30185 from m-kuhn/update_on_split
Update default values with "apply on update" on split
2019-06-13 07:01:21 +02:00
Nyall Dawson
1c5ebe8ebd Spelling 2019-06-13 04:57:37 +10:00
Nyall Dawson
d56ddc25fb Minor refactor of QgsMapLayerProxyModel 2019-06-13 04:57:37 +10:00
Nyall Dawson
760af67d0f Cleanup handling of QgsMimeDataUtils::Uri corresponding to project layers
And add tests
2019-06-13 04:57:37 +10:00
Nyall Dawson
5bc50ff820 [processing] Fix iterating mode when output is a temporary layer
Credit to @volaya for this fix!

Fixes #29340
2019-06-13 02:43:06 +10:00
Matthias Kuhn
492ce0c9f1 Recalculate "evaluate on update" default expressions always
... no mather what attributes are provided. Default values with evaluate on update
should really just always be calculated.

Fix #30164
Fix #29683
2019-06-12 13:11:38 +02:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Matthias Kuhn
b34539ad6f
Merge pull request #30155 from m-kuhn/qobjectuniqueptr
QObjectUniquePtr
2019-06-11 21:07:34 +02:00
Matthias Kuhn
3f136b8920 Use QgsApplication for test 2019-06-11 15:37:59 +02:00
Matthias Kuhn
b55f22119e Add deleteLater test 2019-06-11 11:21:21 +02:00