54353 Commits

Author SHA1 Message Date
Nyall Dawson
c24f51ece8 [processing] Fix exception in IDW interpolation
Fixes #21578
2019-03-15 08:38:01 +10:00
Nyall Dawson
db1645cf12 [processing] Fix processing.runAndLoadResults
Fixes #21551
2019-03-15 08:37:43 +10:00
Matthias Kuhn
ab530e4b04
Merge pull request #9495 from m-kuhn/default-enable-geometry-checks
Make default geometry checks configurable via settings [needs-docs]
2019-03-14 08:46:18 +01:00
Hugo Mercier
a7d060bb96
Merge pull request #9494 from mhugo/force_provider_constraints
Allow the strength of provider constraints to be soft
2019-03-14 08:42:12 +01:00
Hugo Mercier
1eaa5bbf96 Allow the strength of provider constraints to be set to soft 2019-03-13 15:30:29 +01:00
Alessandro Pasotti
2be6c47d16
Merge pull request #9510 from nastasi-oq/gem-contributors
Gem contributors
2019-03-13 15:18:47 +01:00
Matteo Nastasi
cffe61250e layout: add new vertical and horizontal equispaced distributions 2019-03-13 14:52:25 +01:00
Matteo Nastasi
43c74c2a84 port of RedHat packaging from QGIS 2.0 to 3.0 2019-03-13 14:49:59 +01:00
Marco Bernasocchi
bee20785cc
Update mbernasocchi email in AUTHORS 2019-03-13 14:42:59 +01:00
Matthias Kuhn
78351effd9
Merge pull request #9500 from m-kuhn/disable_flaky_test_3d_mesh_text
Disable flaky 3D mesh rendering test
2019-03-13 08:11:29 +01:00
Nyall Dawson
60ad7f9ac2 Fix warning when opening attribute table
When init()ing QgsDualView through the attribute table it is
usually done BEFORE the model has been populated, so this code
has no effect and throws a warning.

There's no feature regression by removing this - the first
entry is still selected by default (elsewhere)
2019-03-13 16:57:14 +10:00
Nyall Dawson
e620b9cf63 Fix broken string 2019-03-13 16:57:14 +10:00
Nyall Dawson
1e5ae9cae7 Fix dox 2019-03-13 16:52:29 +10:00
Nyall Dawson
46e3304d2c Fix naming collision 2019-03-13 16:52:29 +10:00
Nyall Dawson
32fbf0a92b [processing][FEATURE] New parameter type for map scales
This adds a new parameter type specifically for map scales,
QgsProcessingParameterScale. The values are evaluated using
self.parameterAsDouble, which returns the map scale
denominator (matching the standard in other parts of the
QGIS API).

Scale parameters are displayed to users using the standard
QgsScaleWidget, which includes the combo box of predefined
scales and a shortcut button to match the current map scale.
2019-03-13 16:52:29 +10:00
Nyall Dawson
ca7008c285 Add API to allow QgsScaleWidget to accept NULL values 2019-03-13 16:52:29 +10:00
Nyall Dawson
7c582063c1 Add API to allow null values in QgsScaleComboBox 2019-03-13 16:52:29 +10:00
Nyall Dawson
cf1f06eee6 Layer CRS validation is NOT thread safe, and can cause crashes
when a layer with unknown CRS is loaded in a background thread

We can't queue the connection to prompt for CRS (or warn via
messagebar), because the slot uses a modifiable reference which
may be deleted before the queued slot is called.

We also can't do ANY gui related stuff when this occurs. Best
we can do is log a warning and move on...
2019-03-13 16:37:07 +10:00
Matthias Kuhn
2a41fd0c7d
Disable flaky 3D mesh rendering test 2019-03-13 07:31:37 +01:00
Matthias Kuhn
1645799788
Make default geometry checks configurable via settings [needs-docs] 2019-03-13 07:23:26 +01:00
nirvn
b97ef936be [expression] Negative index support to point_n(), angle_at_vertex(), distance_to_vertex() functions 2019-03-13 11:20:04 +07:00
lbartoletti
ce9124710b apply martin's review 2019-03-12 17:56:49 +01:00
lbartoletti
1ac18f919e remove useless variable mSnappedToVertex 2019-03-12 17:56:49 +01:00
lbartoletti
2a2b7a6532 Needs to snap point too when CadDockWidget is enabled. Fixes #18138 2019-03-12 17:56:49 +01:00
Matthias Kuhn
857fe53773
[FEATURE] Merge pull request #9460 from m-kuhn/labeling_geometry_generator
 Geometry generators for labeling 
2019-03-12 14:15:51 +01:00
Matthias Kuhn
f60e0b6d60
Merge pull request #9491 from m-kuhn/ogr_provider_test_flaky
Disable flaky ogrprovider test
2019-03-12 14:15:21 +01:00
Julien Cabieces
1dc146a7ca Change 'since' version to 3.4.6 (#9480) 2019-03-12 12:05:36 +01:00
Nyall Dawson
1029c6542c Disable freaking annoying constantly failing unit tests 2019-03-12 20:08:03 +10:00
Matthias Kuhn
8c676ba0b3
Disable flaky ogrprovider test 2019-03-12 10:56:11 +01:00
Matthias Kuhn
de541d488c
Update placement options on geometry type change 2019-03-12 09:11:37 +01:00
nirvn
f83990f44f [themes] Fix missing visual hint for disabled tabs 2019-03-12 15:07:15 +07:00
Matthias Kuhn
486bb75ca8
Set obstacle geometry to original geometry 2019-03-12 09:04:35 +01:00
Matthias Kuhn
e19527c369
Fix geometry generator type visibility glitch 2019-03-12 09:04:33 +01:00
Harrissou Sant-anna
4b9f4da929 Use Qt style "returns .." tense instead of "return .." 2019-03-12 14:42:36 +10:00
Nyall Dawson
d890084f63 Fix loss of layout item combo box filters 2019-03-12 08:16:52 +10:00
Nyall Dawson
41d8a9c20b Fix test 2019-03-12 08:16:52 +10:00
Nyall Dawson
422d0f7a2e Correctly sort items in QgsLayoutItemComboBOx 2019-03-12 08:16:52 +10:00
Nyall Dawson
9191841509 Spelling 2019-03-12 08:16:52 +10:00
Nyall Dawson
021d1ef237 [FEATURE][processing] New parameter types for layouts and layout items
Allows processing algorithms which operate on a specific layout
and layout item selection
2019-03-12 08:16:52 +10:00
Nyall Dawson
f9fb4085b2 Tweaks to layout item combo box 2019-03-12 08:16:52 +10:00
Nyall Dawson
0003e91f27 Add methods to resolve parameters to layouts/layout items 2019-03-12 08:16:52 +10:00
Nyall Dawson
ba82954ac5 [processing] Add new parameter type for layout item objects 2019-03-12 08:16:52 +10:00
Nyall Dawson
dd49720863 [processing] Add new parameter type for print layout names 2019-03-12 08:16:52 +10:00
Nyall Dawson
5ec43cfdc1 [processing] Add project to QgsProcessingParameterWidgetContext 2019-03-12 08:16:52 +10:00
Nyall Dawson
8d77a6bdcc New gui class QgsLayoutComboBox
Shows a list of layouts
2019-03-12 08:16:52 +10:00
Nyall Dawson
cba22770dc Move layout manager model from app to core and add unit tests 2019-03-12 08:16:52 +10:00
Nyall Dawson
0b270f98fb
Merge pull request #9454 from nastasi-oq/distribute-equispaced2
[layout] add new vertical and horizontal equispaced distributions
2019-03-12 06:29:33 +10:00
Alessandro Pasotti
8e39f0f57a
Merge pull request #9478 from elpaso/bugfix-21028-db-manager-sqlite-thread
[db-manager] Invalidate sqlite connection if it was created in anothe…
2019-03-11 21:28:43 +01:00
Matthias Kuhn
67555c8432
Fix geometry generator condition 2019-03-11 16:19:30 +01:00
Alessandro Pasotti
8fb112d26f [db-manager] Invalidate sqlite connection if it was created in another thread
Fixes #21028 - DB manager: SQLite objects created in a thread can only be used in that same thread
2019-03-11 16:04:00 +01:00