59442 Commits

Author SHA1 Message Date
David Signer
1f1a3fe6b7 pass field formatter context as a reference instead of a pointer to implify his not optionality 2019-12-19 21:08:02 +01:00
signedav
7f9aa3d2bb
Merge branch 'master' into relating_values 2019-12-19 14:12:38 +00:00
David Signer
e8b82c15b8 use of context to pass project and avoid QgsProject::instance() 2019-12-19 15:07:52 +01:00
Alessandro Pasotti
6654870c0b
Merge pull request #33283 from elpaso/relation-style-restore
Relation style restore
2019-12-19 13:24:35 +01:00
Alessandro Pasotti
a4859a8278 Don't document the obvious 2019-12-19 10:56:50 +01:00
Alessandro Pasotti
35af12ae9e Update src/app/qgisapp.h
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-12-19 10:56:50 +01:00
Alessandro Pasotti
cb9f6ab28c Fix raster CRS
Honestly, a failing server test (apparently totally unrelated)
and bisect took me here and I don't really get all the
intricancies of the crs read order in the project XML loading
process, but this commit fixes the test.

This is one of the notable occasions in which a test saved our a**.
2019-12-19 10:56:50 +01:00
Alessandro Pasotti
5dd15ed3f1 Apply PR review comments 2019-12-19 10:56:50 +01:00
Alessandro Pasotti
b26173292f Class ctor docs 2019-12-19 10:56:50 +01:00
Alessandro Pasotti
d460dfba77 Add ingroup to class doc 2019-12-19 10:56:50 +01:00
Alessandro Pasotti
eb97f2f88a Remove duplicated entry 2019-12-19 10:56:50 +01:00
Alessandro Pasotti
e8c6838384 Do not automatically load referencing layers 2019-12-19 10:56:50 +01:00
Alessandro Pasotti
5784e873a4 Add relations icon for style categories 2019-12-19 10:52:37 +01:00
Alessandro Pasotti
a49e8d60c3 Make test class a friend of QgsWeakRelation 2019-12-19 10:52:37 +01:00
Alessandro Pasotti
2851bbdb43 Add test for weak relation 2019-12-19 10:52:37 +01:00
Alessandro Pasotti
84c435a82e Respect categories when applying styles 2019-12-19 10:52:37 +01:00
Alessandro Pasotti
90ac90b4a9 Weak relations and auto-restore when loading a style 2019-12-19 10:33:24 +01:00
David Signer
9e5657c8fe use of QVariantList instead of QList<QVariant> 2019-12-19 10:15:33 +01:00
Aleix Pol
76f9d16254 appstream: include oars metadata in appstream
You can read more about OARS here:
https://hughsie.github.io/oars/
2019-12-19 08:39:52 +10:00
Alessandro Pasotti
ecff2e6e04
Merge pull request #33462 from elpaso/stored-expressions-no-groups
[feature] User expressions followup
2019-12-18 20:59:27 +01:00
Nyall Dawson
971552a782 Fix features right on the edges of geographic layers can disappear when
reprojected

Eg +/- 180 degree grid lines

Fixes #27571
2019-12-19 05:50:27 +10:00
Alessandro Pasotti
b894cb7c2c User -> User expressions 2019-12-18 20:16:28 +01:00
Alessandro Pasotti
7f8ef8c470 Always load user exp when context is set
... and avoid loading recent exp and fields twice
2019-12-18 17:06:39 +01:00
Alessandro Pasotti
89bddec34b Update tests after group removal from user exp 2019-12-18 14:34:03 +01:00
Alessandro Pasotti
a8c0e4cbf6 User expressions followup
- renamed the group to "User"
- added help text for the group
- added QgsSettings Expressions namespace
- reworded tooltips for store/remove actions
2019-12-18 14:24:02 +01:00
Matthias Kuhn
b566eace8a
Merge pull request #33457 from m-kuhn/yet_another_azure_mask
Yet another test mask for Windows
2019-12-18 14:13:09 +01:00
Matthias Kuhn
79c7ca30ee
Merge pull request #33270 from roya0045/handler_v2
[UX][feature??] add progress bar to the auto layer finder
2019-12-18 14:10:52 +01:00
Hugo Mercier
630d0da148 Add a bit of context to errors in QgsRelationReferenceFieldFormatter 2019-12-18 11:27:32 +01:00
Matthias Kuhn
42708208ac Yet another test mask for Windows 2019-12-18 10:15:45 +01:00
Peter Petrik
e1068e61cb
Merge pull request #33388 from PeterPetrik/mesh3d_averaging_methods 2019-12-18 09:57:22 +01:00
Peter Petrik
a6bc4e3cdf fix doc 2019-12-18 07:51:07 +01:00
Nyall Dawson
e64a6acd38 Proj < 6 updates 2019-12-18 12:44:43 +10:00
Nyall Dawson
59a2cf1424 [FEATURE] Allow custom projections to be defined using WKT strings
instead of just proj strings

WKT strings are lossless and allow definition of a much wider range
of projections than are possible using proj strings.

A new combo box in the Custom Projections dialog allows users to
choose whether the new projection is defined using a WKT or PROJ string.
If possible, the current projection definition is automatically converted
when the combo box is changed by the user.

Also fixes #25918 in the process
2019-12-18 12:44:43 +10:00
Nyall Dawson
8bfca7f2c8 Expose control over whether custom projections are stored using proj or WKT strings 2019-12-18 12:44:43 +10:00
Nyall Dawson
67f25fed0e Update test to reflect changes in proj library 2019-12-18 12:44:17 +10:00
Alexander Bruy
ac3941acbe use QActionGroup to group style actions and make (fix #32624) 2019-12-18 08:52:34 +10:00
Alexander Bruy
a0b392da12 [processing] url-encode path to tiles in XYZ algorithm (fix #32589) 2019-12-18 08:50:23 +10:00
Alessandro Pasotti
89cacd7180
Merge pull request #33437 from elpaso/stored-expressions
[feature] Stored expressions
2019-12-17 20:13:32 +01:00
Samweli
6d156d4670 removed if conditions in QgsWMTSRootItem assignments, now using explicit casts 2019-12-18 05:05:37 +10:00
Samweli
db4a8ce381 comment for change of condition statements 2019-12-18 05:05:37 +10:00
Samweli
b862d5e13c added new class for wmts collection items 2019-12-18 05:05:37 +10:00
Samweli
28aefe5711 change icon for wmts layer item 2019-12-18 05:05:37 +10:00
Samweli
c106d39078 change icon for xyz layer item in wms provider 2019-12-18 05:05:37 +10:00
Alex
5ce38d6c28 whitespace 2019-12-17 13:04:44 -05:00
Alex
6ff3f400e7 Autofinder progress dialog.
Adds a dialog to comfort users by indicating that QGIS did not crash and if trying to find their layers.
2019-12-17 12:38:20 -05:00
Alessandro Pasotti
fd6075e80b Renamed stored expressions to user expressions 2019-12-17 17:10:43 +01:00
Denis Rouzaud
105ebc4683
test commit for backport bot (#33444) 2019-12-17 16:25:39 +01:00
Denis Rouzaud
89e3f2ccf9
put back backport bot 2019-12-17 15:23:19 +01:00
Alessandro Pasotti
6b232414f2 Added new files header 2019-12-17 15:00:48 +01:00
Vincent Cloarec
c252a3ad4c [mesh] Fixes time reference for mesh layer #32186 #33399 #31933 (#33410)
[FEATURE] [mesh] Load reference time from MDAL when available

Also adds combo box to let the user set the provider time unit. This is particularly useful when MDAL incorrectly recognised the time units in the raw dat format (for example format does nof follow spec and it is not possible to determine if time interval is in hours or days)

fix #32186 
fix #33399
fix #31933
2019-12-17 14:56:49 +01:00