49727 Commits

Author SHA1 Message Date
Matthias Kuhn
6097b13aa2
Merge pull request #7700 from m-kuhn/fixRelations
Invalidate relations on layer removal
2018-08-25 08:09:30 +02:00
Matthias Kuhn
960636aa3e
Merge pull request #7704 from m-kuhn/fixSaveRestoreProjectVariables
Fix save and restore of some project variables
2018-08-25 08:09:09 +02:00
Nyall Dawson
83feea46a7 [processing] Accept geometry-less layers in more algorithms
Fixes #19685
2018-08-25 15:41:13 +10:00
Alexander Bruy
267b049d31 [dbmanager] fix versioning dialog UI (overlapping line edits) 2018-08-25 08:34:24 +03:00
Etienne Trimaille
d65ad453cf fix array formatting for array_filter 2018-08-25 11:34:42 +10:00
Matthias Kuhn
71ec91e91a Fix save and restore of some project variables 2018-08-24 18:19:52 +02:00
Matthias Kuhn
38d1c68cfa
Merge pull request #7702 from m-kuhn/relationRecursionCrash
Fix crash when relations would be recursively nested
2018-08-24 18:02:25 +02:00
Matthias Kuhn
2a31d38613 Add copy constructor dox 2018-08-24 18:01:47 +02:00
Matthias Kuhn
db4d18c59e
Merge pull request #7701 from DelazJ/patch-2
Fix help of some array functions
2018-08-24 17:57:19 +02:00
Harrissou Sant-anna
40223db87d
Merge branch 'master' into patch-2 2018-08-24 16:05:15 +02:00
Matthias Kuhn
31fadd1c00
Merge pull request #7692 from m-kuhn/arrayRep
Adjust representation of arrays and maps in expressions
2018-08-24 15:51:14 +02:00
Matthias Kuhn
79f766afef Don't crash, please 2018-08-24 15:49:24 +02:00
Matthias Kuhn
4c52faa0df Fix crash when relations would be recursively nested
There is already code, that avoids building up widgets in such a situation. With this patch
it also avoids recursively calling methods on relations which are hidden (because of nesting or other reasons).
2018-08-24 15:39:25 +02:00
Matthias Kuhn
ec4483a51a Update map and array examples 2018-08-24 14:04:27 +02:00
Matthias Kuhn
7e63093987 Fix test 2018-08-24 13:50:01 +02:00
Matthias Kuhn
308b16b163 range-based for loops 2018-08-24 13:24:13 +02:00
Matthias Kuhn
932e70a756 QgsRelation::isValid will return false if layers are deleted 2018-08-24 13:24:13 +02:00
Matthias Kuhn
86e1382fb0 Make QgsRelation implicitly shared 2018-08-24 13:24:13 +02:00
Matthias Kuhn
a5a6f0058a
Merge pull request #7672 from m-kuhn/geomCheckerAutoFixes
Add automatical fixes for geometries
2018-08-24 12:32:44 +02:00
Harrissou Sant-anna
399bbf1a00
Fix array_to_string description and add default value example 2018-08-24 11:54:34 +02:00
Matthias Kuhn
9dc387fb87 Doxygen since 2018-08-24 11:33:59 +02:00
Harrissou Sant-anna
8e8f4a5ea7
Fixes generate_series examples 2018-08-24 11:28:58 +02:00
Matthias Kuhn
61c3fe4a9d
Merge pull request #7696 from m-kuhn/initializeCaptureModeNone
Initialize capture mode none
2018-08-24 11:28:54 +02:00
Mathieu Pellerin
bf0962fa9c
[raster] Remove preexisting pyramid files when over-writing a raster (#7677)
(failing to do so can lead to new raster relying on old pyramid
files, corrupting the rendering)
2018-08-24 15:39:16 +07:00
Matthias Kuhn
f9da596462 QVariantMaps always have string keys 2018-08-24 08:47:23 +02:00
Matthias Kuhn
04cdc9bf30
Merge pull request #7694 from signedav/trans_extends
Improvements of translation-featurs of .qgs project data
2018-08-24 08:43:13 +02:00
Matthias Kuhn
dea911dcbc Simplify code 2018-08-24 08:41:46 +02:00
Matthias Kuhn
b6fbdec739 Initialize capture mode from layer
When the captureMode is set to CaptureNone, it should be initialized from the layer on create and not only on the first layer change.
2018-08-24 08:41:46 +02:00
Matthias Kuhn
0274bc8645 More test fixes 2018-08-24 08:11:07 +02:00
Matthias Kuhn
2c0de10b57 Fix code style 2018-08-24 07:56:58 +02:00
Matthias Kuhn
cc424f9eaa Fix compilation 2018-08-24 06:10:12 +02:00
Matthias Kuhn
70bf49a18d Adjust tests for array and map expression formatting 2018-08-24 06:09:07 +02:00
Matthias Kuhn
8e1aeda464 More array and map expression formatting 2018-08-24 06:08:35 +02:00
Matthias Kuhn
65fd187da8 Quote keys 2018-08-24 05:52:15 +02:00
Luigi Pirelli
3b29e59885 small fix in parameter description removing spaces 2018-08-24 06:18:51 +10:00
Luigi Pirelli
819a82ad54 added SAGA watershed segmentation execution test 2018-08-24 06:18:51 +10:00
Luigi Pirelli
ad96be96a9 Fix Thershold parameter for SAGA Watershed algorithm 2018-08-24 06:18:51 +10:00
Chris Mayo
2a72eda514 Improve documentation of QgsRasterLayer constructor
- baseName is just passed on to the parent constructor to be the display
   name, use a literal string in the example to avoid misunderstanding.

 - Remove stray bullet.
2018-08-24 06:16:57 +10:00
Matthias Kuhn
907fb55f82 Update tests to new API 2018-08-23 18:38:24 +02:00
Matthias Kuhn
063ccf4283 Move geometry fixes to separate class 2018-08-23 18:38:09 +02:00
signedav
5ef079970d Value Relation implementation
Values in the Value Relation widgets can be translated now - means changed.
So the setting-change is made to get translated values over another layer.
2018-08-23 17:51:53 +02:00
Matthias Kuhn
d93d585b4a Rename checkbox 2018-08-23 17:22:52 +02:00
Matthias Kuhn
d24ffbc401 Add guard 2018-08-23 17:21:18 +02:00
Matthias Kuhn
40d0dfa315 JSON formatting and prefix removal 2018-08-23 16:11:23 +02:00
Matthias Kuhn
51ec333199
Merge pull request #7688 from m-kuhn/array_filter
Add array_filter expression function
2018-08-23 15:54:21 +02:00
Matthias Kuhn
d9e59e28a9 Concentration please 2018-08-23 15:14:24 +02:00
Matthias Kuhn
4fecc2e90a Code cleanup 2018-08-23 14:48:26 +02:00
Matthias Kuhn
750f63fb6f Adjust representation of arrays and maps in expressions
array representation:

```
array: [ 1, 2, 3 ]
```

before:

```
array: 1, 2, 3
```

map representation:

```
map: { one: 1, two: 2, three: 3 }
```

before

```
map: one: 1, two: 2, three: 3
```
2018-08-23 14:46:41 +02:00
Matthias Kuhn
f69e58f261 Revert to specific setters and getters 2018-08-23 14:24:42 +02:00
Matthias Kuhn
0b96fd9246
Merge pull request #7691 from asiersarasua/master
[i18n] Make string translatable
2018-08-23 14:16:33 +02:00