63790 Commits

Author SHA1 Message Date
Nyall Dawson
b7eac07721 Add a render context flag so we know when a render operation is
occurring for drawing a symbol preview

Because these have no map association, certain settings like
sizes in "meters in map units" will have no meaning, and may need
special handling

Refs #28690
2020-06-17 08:02:49 +10:00
vcloarec
2264fefdd2 new contributor (me) 2020-06-17 06:23:30 +10:00
Vincent Cloarec
76946dd659
fix bad alloc when mesh's arrows of 3D rendering has too small spacing (#37195)
* fix bad alloc when mesh's arrows of 3D rendering has too small spacing

* Update src/core/mesh/qgsmeshlayerutils.cpp

Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>

* fix mesh terrain not rendering anymore

Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2020-06-16 17:33:49 +02:00
Peter Petrik
659ed397a7
MDAL 0.6.1 patch release (#37246) 2020-06-16 17:24:37 +02:00
Vincent Cloarec
65ba272cb7
fix non temporal calculated mesh dataset (#37243) 2020-06-16 09:24:08 +02:00
Nyall Dawson
63cb42c298 Fix font in CSS code editor 2020-06-16 17:13:59 +10:00
Nyall Dawson
75c86786c1 Add QgsCodeEditorJavascript subclass of QgsCodeEditor
Allows plugins to create a nice editor for JSON content -- not easy
to do if we don't expose this through the QGIS api!
2020-06-16 17:13:59 +10:00
Nyall Dawson
52692f94ae Fix warning on release builds 2020-06-16 14:08:51 +10:00
Nyall Dawson
be281c49b7 Fix rendering of geometry generator expressions which return geometry collection results
Fixes #35356

But in general, this is exciting because it allows QgsSymbol to correctly render any
input geometry types, and handle collections nicely. In future releases we could quite
easily add a symbol layer type for rendering collections, where the symbol layer has
a marker/line/fill symbol set, and the appropriate selection of these is used to
render each geometry part (it's basically identical to a geometry generator!)

Geometry collection handling at a QgsVectorLayer level, now that's a totally
different beast....
2020-06-16 14:08:51 +10:00
Nyall Dawson
a198e30488 Update test 2020-06-16 13:58:01 +10:00
Nyall Dawson
281356aa4e [processing] Correctly expose date time inputs (and a bunch of others)
as possible sources for in-model expressions

Fixes #37219
2020-06-16 13:58:01 +10:00
Nyall Dawson
3717adcef6 Fix all Qt 5.14 deprecation warnings 2020-06-16 13:57:45 +10:00
uclaros
05f4359211 Fix crash when disabling defined sort order in attribute table 2020-06-16 11:21:46 +10:00
vcloarec
300fc9e9af emit dataset group changed after it effectively changed 2020-06-16 09:35:45 +10:00
Samweli
5cc0a224af disable project time use in wmst if it is invalid 2020-06-16 09:34:50 +10:00
Samweli
65bf008478 add the missing translations 2020-06-16 09:34:50 +10:00
Samweli
4f497116c6 always update wmst reference time 2020-06-16 09:34:50 +10:00
Samweli Mwakisambwe
9dcc6992b7 update on state handling between temporal properties and static wmst capabilities ui 2020-06-16 09:34:50 +10:00
Alessandro Pasotti
4fc400756a Add MXE badge 2020-06-16 08:36:24 +10:00
Alexander Bruy
136c5a4bc2 perform rounding either if field type is numeric or if value was casted
to the number
2020-06-16 08:35:51 +10:00
Nyall Dawson
4b1f61285f Update test mask 2020-06-16 06:04:14 +10:00
Nyall Dawson
d98fe9f989 [symbology] When rendering a multipart geometry, ensure that
geometry generator symbol is only rendered once, instead of
once per part

Fixes #23730
2020-06-16 06:04:14 +10:00
Matthias Kuhn
816d4b04ff
Merge pull request #37068 from m-kuhn/qgis_server_webp
WEBP for QGIS Server
2020-06-15 15:13:33 +02:00
Denis Rouzaud
0a0fc29385
fix setting of feature in expression preview widget (#37221)
fixes #372124
2020-06-15 13:48:14 +02:00
Werner Macho
118350880c
Added new Translator
Added Translator after request
2020-06-15 12:10:00 +01:00
Nyall Dawson
671cebcf81 [layout] Make "show feature count" button apply to all selected indexes
Fixes #37194
2020-06-15 18:33:29 +10:00
Nyall Dawson
803f507d45 Fix for container "show as group box" setting is lost when closing
layer properties dialog

We can't use the checkbox visibility to determine whether it applies,
as the checkbox will ALWAYS be invisible when applying the settings
as a result of clicking "OK" (since the form is already closed and
all child widgets are not visible at that stage)

Fixes #37205
2020-06-15 18:33:05 +10:00
Nyall Dawson
7ec4968aa9 Use even more forceful language to dissuade users from creating
custom projections using Proj strings

Refs #37204
2020-06-15 18:32:41 +10:00
Peter Petrik
81d2e5658a fix sip 2020-06-15 08:54:04 +02:00
Matthias Kuhn
91f1485a6e
Merge pull request #36514 from lbartoletti/fix_interpolation_split
[BUGFIX] Fix interpolation on split geometry
2020-06-15 08:45:59 +02:00
Vincent Cloarec
b5d61594ee
mesh layer expose datasetIndexAtTime() (#37197)
mesh layer expose datasetIndexAtTime()
2020-06-15 08:32:33 +02:00
Nyall Dawson
4fd98e3ae9 Fix additional string 2020-06-15 16:31:08 +10:00
Nyall Dawson
2596b6be85 Use "markers" terminology consistently in centroid fill widget
Fixes #37106
2020-06-15 16:31:08 +10:00
Nyall Dawson
8d4f00b0af Remove TODO comments included in public API documentation
This is just "airing our dirty laundry". We don't want/need end users
to see this.
2020-06-15 13:43:58 +10:00
Nyall Dawson
83bcbc5d47 Flag use of TODO comments in the public doxygen docs
These should be c++ code comments only, we don't want to include
them in the API docs
2020-06-15 13:43:58 +10:00
Nyall Dawson
e22ce34f60 Fix more doxygen warnings 2020-06-15 13:43:58 +10:00
Nyall Dawson
67896ebabc Fix some doxygen warnings 2020-06-15 13:43:58 +10:00
Nyall Dawson
74400c7ff8 Some fixes to numbered list handling in dox/PyQGIS API 2020-06-15 13:43:58 +10:00
Nyall Dawson
1ef12a0c7f Fix numeric list formatting in dox 2020-06-15 13:43:58 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
e653711509 QgsGeometry::error() does not exist, should be lastError() 2020-06-15 13:43:58 +10:00
Alessandro Pasotti
3ef7d89a35 Fix crash and missing closest vertex in WMS identify
... in "feature" mode.

Fixes #29443
2020-06-15 11:32:35 +10:00
Matthias Kuhn
d8b3adab94 Fix option "show label" on relation editor
If the option was disabled, the label was still shown.
2020-06-15 11:31:09 +10:00
Basil Eric Rabi
8e09f4e9c1 replace NEWS with the new NEWS.md in rpm 2020-06-15 11:20:28 +10:00
Harrissou Sant-anna
55466c1f53 Add tooltips to layout legend items' frame buttons 2020-06-15 11:18:41 +10:00
Harrissou Sant-anna
39f30ba07e Add help button to 'Add layers to Layout Legend' dialog 2020-06-15 11:18:41 +10:00
Even Rouault
1c7b583320 qgsmdalprovider.cpp: fix false-positive warning about potentially unused variable 2020-06-15 11:17:46 +10:00
Even Rouault
3827aa09f4 qgsmeshlayerutils.cpp: fix warnings about unused variables 2020-06-15 11:17:46 +10:00
Even Rouault
f11eb45839 qgsimageoperation.cpp: fix (likely false-positive) warning about potential integer overflow in the loop increment 2020-06-15 11:17:46 +10:00
Even Rouault
e2eabe49f9 qgso2.cpp: fix false-positive warning about potentially unused variable 2020-06-15 11:17:46 +10:00