Alessandro Pasotti
8db38afb86
Processing: fix crash in alg runner task with bad scripts
...
Fixes #21270
With test
2019-02-18 15:21:10 +01:00
Alessandro Pasotti
377040a2a6
Merge pull request #9191 from elpaso/bugfix-21259-geomchecker-crash
...
Geom checker plugin: don't crash if feedback is 0x0
2019-02-18 14:15:26 +01:00
Alessandro Pasotti
1f08a061ed
Geom checker plugin: don't crash if feedback is 0x0
...
Fixes #21259
2019-02-18 12:18:58 +01:00
Juergen E. Fischer
13a127e609
remove QgsOgrLayerItem::setCrs (overrided deprecated now unused method)
2019-02-18 11:21:24 +01:00
Juergen E. Fischer
f8e76db19a
translate all ziputils error messages and remove log tags
2019-02-18 11:21:24 +01:00
Matthias Kuhn
78d835705e
Merge pull request #9177 from mbernasocchi/master
...
Give more information when errors opening zip happens
2019-02-18 10:16:59 +01:00
Nyall Dawson
5ced04e400
[ogr] Read Geopackage layer identifier and description into QGIS
...
layer metadata automatically
Fixes #21293
2019-02-18 17:56:01 +10:00
Marco Bernasocchi
a643c87ec3
Fix capitalsation
2019-02-18 07:39:56 +01:00
Chris Mayo
fb798263b2
Remove unused Qt5XmlPatterns dependency
...
QtXmlPatterns includes were deleted here:
2eb82430bb
Remove code that was never enabled, introduced here:
0f7b405aa7
2019-02-16 20:01:15 +00:00
Alessandro Pasotti
6b7ba0d438
Merge pull request #9179 from elpaso/server-tiny-improvements
...
Server tiny improvements
2019-02-16 08:25:17 +01:00
Alessandro Pasotti
2c25c3d0ec
Merge pull request #9181 from elpaso/bugfix-21287-rule-based-double-else2
...
Rule based renderer: check for scale in rulesForFeature
2019-02-16 08:24:53 +01:00
Juergen E. Fischer
407adc761e
Expand ZipItem in foreground ( fixes #21268 )
2019-02-15 23:24:16 +01:00
Alessandro Pasotti
091eeb2cf4
Rule based renderer: check for scale in rulesForFeature
...
... when context is not nullptr, also don't crash if it is
With tests
Fixes #21287
2019-02-15 17:12:51 +01:00
Alessandro Pasotti
53a14e2402
Server: better formatting when logging request params
2019-02-15 12:10:24 +01:00
Alessandro Pasotti
6a81d2daca
Remove server unused/unimplemented option Allow Request Defined DataSources
2019-02-15 12:09:14 +01:00
Luigi Pirelli
7980cef192
Merge pull request #9176 from tudorbarascu/allow_localstorage
...
Enable HTML5 local storage for qgsexternalresourcewidget and maptips
2019-02-15 10:26:37 +01:00
Nyall Dawson
71bdc3192d
Fix pasting linestring into polygon layer should auto convert to polygon
...
(And polygon->lines, lines->points, polygon->points, etc)
Fixes #21213
2019-02-15 16:24:56 +10:00
Hugo Mercier
9ed5b3f874
Merge pull request #9063 from mhugo/fix_19355
...
Fix $length in labels
2019-02-14 14:34:13 +01:00
Hugo Mercier
e4288e5dea
QgsExpression: set setGeomCalculator precedence
...
setGeomCalculator, setDistanceUnits and setAreaUnits have now
precedence over expression scopes.
2019-02-14 13:40:12 +01:00
Hugo Mercier
ee980ca06f
Fix QgsExpressionNodeColumnRef::prepareNode
...
Look also for the attribute in the feature, as it is done by evalNode()
2019-02-14 13:40:12 +01:00
Hugo Mercier
809196693c
Fix $length in labels ( fixes #19355 )
...
Use the project expression scope to access project
parameters (ellipsoid and distance/area units)
2019-02-14 13:40:12 +01:00
Marco Bernasocchi
af4ee04f74
Give more information when errors opening zip happens
2019-02-14 13:14:10 +01:00
Alessandro Pasotti
24c09d1673
Merge pull request #9170 from elpaso/bugfix-21254-load-style-from-db
...
[ogr] Show style description instead of name in other styles
2019-02-14 08:25:40 +01:00
Tudor Bărăscu
65a54fed06
Enable html5 local storage for qgsexternalresourcewidget and maptips
2019-02-14 07:46:47 +02:00
Nyall Dawson
7418c189d0
[processing] Also generate friendly names for outputs when converting models to scripts
2019-02-14 15:36:55 +10:00
Nyall Dawson
d342ce939b
[processing] When converting models to Python, use friendlier (more
...
descriptive) names when storing child algorithm results
Makes for much easier to understand scripts
2019-02-14 15:36:55 +10:00
Nyall Dawson
3ceea2a050
[processing] Add alg descriptions as comments when converting models to python
...
Makes for easier to understand scripts
2019-02-14 15:36:55 +10:00
Alessandro Pasotti
dabd649a6d
Merge pull request #9164 from elpaso/bugfix-21227-layer-rename-styles
...
Fix GPKG layer rename styles in browser
2019-02-13 16:24:50 +01:00
Alessandro Pasotti
767fc059b2
Remember last used source in load styles dialog
...
... just a tiny UX improvement
2019-02-13 15:11:25 +01:00
Alessandro Pasotti
3e041b3a30
[ogr] Show style description instead of name in other styles
...
Fixes #21254
2019-02-13 15:09:20 +01:00
vsklencar
88afe7515a
Some changes of widgets after review:
...
PhotoPanel: added focus
TextEdit: Fixed references for edit widget and removed redundant empty lines and properties, removed textWrap property for single line edit
ExternalRersources: Revert back to use one image for icons and previewPhoto with better handling
DateTime: fixed typos
2019-02-13 10:50:05 +01:00
vsklencar
78639f0323
[QgsQuick] Feature form improvements
...
Changes are related to following widgets used in the FeatureForm:
Checkbox:
* fixed old import of QgsQuick
* changed indicator of a checkbox to be able to apply styles
DateTime:
* fixed wrong behaviour of the widget if a value is undefined
* replaced label with textfield with formatting options (ported from QField)
ExternalResources:
* fixed pixalation of icons
* added new icon without alternative border to be able to put color overlay on it
* fixed broken layout of icons
ValueMap
* updated way how to read option values from field config/setup (ported from QField, related to changes of the field config since QGIS 3.x)
TextEdit:
* Unified styling of the widgets - added some padding, changed background, height
Fields style added to QgsFeatureFormStyle
Added "fields" style object to customize some properties (e.g color, height, radius) of editor widgets. Due to new style options also widgets have been updated.
2019-02-13 10:50:05 +01:00
Nyall Dawson
fc8fd1e26b
[processing] When converting models to python, correctly use a
...
multi-step feedback object to give scripts accurate progress reports
And also add in checks for cancelation between child algorithm
execution to allow generated scripts to early exit
2019-02-13 19:17:30 +10:00
Nyall Dawson
76b7bcef96
Try to fix astyle errors
2019-02-13 08:47:32 +10:00
Nyall Dawson
493185c6a0
Astyle
2019-02-13 07:59:30 +10:00
Nyall Dawson
85b5167730
Fix build
2019-02-13 07:59:30 +10:00
Nyall Dawson
29fa7b6e7b
Fix build, indentation
2019-02-13 07:59:30 +10:00
Nyall Dawson
6648a955bc
Fix test
2019-02-13 07:59:30 +10:00
Nyall Dawson
69f45e389c
Refactor QgsExpressionContext and move QgsExpressionContextUtils
...
out to its own header
Avoids slow recompilation caused by changes to the frequently
modified QgsExpressionContextUtils class
2019-02-13 07:59:30 +10:00
Nyall Dawson
60a1d6306f
Fix some missing expression context variables in processing expression based widgets
2019-02-13 07:59:30 +10:00
Nyall Dawson
e533a4078c
[processing] Expose some model related variables to expressions
...
run inside models
Allows expressions to access important variables like the current
model path
2019-02-13 07:59:30 +10:00
Nyall Dawson
2180b63e35
[processing] Correct order of expression scopes in widget wrapper expression contexts
2019-02-13 07:59:30 +10:00
Nyall Dawson
493aed58fb
API tweak
2019-02-13 07:59:30 +10:00
Martin Dobias
43512d561a
[quick] Improve map settings flags for canvas
...
- labeling engine settings from project were not being applied
- enable simplification of geometries (faster map rendering)
- enable partial map updates when incremental rendering is enabled
(to be able to see how wmts/xyz tiles are being loaded)
2019-02-12 22:09:41 +01:00
Martin Dobias
673d494941
[quick] Fix identify: give priority to points (and lines)
...
Without priority for points (and lines) it is otherwise very difficult
to identify them on top of polygons or difficult to identify a point
on top of a line.
Also lowered the default radius from 8mm (which seemed excessively large) to 5mm.
2019-02-12 22:09:23 +01:00
Nyall Dawson
f95d3235f3
Merge pull request #9156 from nyalldawson/fix_21188_render_cats
...
[categorized] Fix blank layers when using categorized renderer
2019-02-13 05:33:02 +10:00
Nyall Dawson
07746dbc0e
[postgis] Fix creation of new Z/M enabled, curved geometry type layers
2019-02-13 05:32:51 +10:00
Alessandro Pasotti
61d361d674
GPKG: Rename styles when layers are renamed
...
Partially fixes #21227
TODO:
- DB manager
- Other providers
2019-02-12 19:37:01 +01:00
Nyall Dawson
7714bfbfbe
[categorized] Fix blank layers when using categorized renderer
...
Fixes #21188
2019-02-12 13:37:55 +10:00
Nyall Dawson
51a4981237
[memory] Optimise iteration, avoid multiple map lookups and an unnecessary expression evaluation
2019-02-12 13:01:04 +10:00