7525 Commits

Author SHA1 Message Date
Martin Dobias
cf2d87837b
Merge pull request #30234 from PeterPetrik/providers
[QEP 149] Introduce static data providers
2019-06-26 08:18:21 +02:00
nirvn
0e4f0c8555 [symbology] Fix broken centroid fill's force point inside polygon 2019-06-26 12:05:07 +07:00
Martin Dobias
8e56f51c23 Merge remote-tracking branch 'origin/master' into providers 2019-06-25 22:11:51 +02:00
nirvn
ffb123c6ca [testcase] Properly test resizing of locked scale map canvas 2019-06-25 09:47:48 +07:00
Alessandro Pasotti
f220a7f580 Remove redundant checks and apply recommendations 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
020154ccf3 Save time with localtime and tz options
This will save a wrong time in most TZ aware
storages when an option different than UTC
is chosen, but we have no way to know that
from the widget.
2019-06-24 12:11:51 +02:00
Alessandro Pasotti
680d935852 Add tests for linestring and leap seconds 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
538e294280 Fix preferred fields storage 2019-06-24 12:11:51 +02:00
Alessandro Pasotti
5c6223c2bf GPS timestamp support with tests 2019-06-24 12:11:51 +02:00
Nyall Dawson
42562c6226 Add DateTime filter support to QgsFieldProxyModel 2019-06-24 20:09:37 +10:00
Julien Cabieces
ad2d0a28da Add unit test 2019-06-24 09:07:42 +02:00
Matthias Kuhn
db18ef260f
Merge pull request #30281 from nyalldawson/text_symbol
Handle text formats in style manager
2019-06-21 16:14:16 +02:00
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