55004 Commits

Author SHA1 Message Date
Alessandro Pasotti
8e40481284 Minor changes in file header, stretch last column in deps table 2019-03-25 09:01:13 +01:00
Matthias Kuhn
9327834322
Merge pull request #9294 from lbartoletti/bugfix_21390_pointZ_snapping
Fix Z snapping for point.
2019-03-25 07:31:01 +01:00
Denis Rouzaud
9a6ddbd5c1 also monkey patch the former enum type 2019-03-24 21:40:33 -05:00
Denis Rouzaud
38c2d4a03d fix dox for unnested enums 2019-03-24 21:40:33 -05:00
Denis Rouzaud
1dc535d572 use enum forward declaration in QgisInterface 2019-03-24 21:40:33 -05:00
Denis Rouzaud
f45314245c run sipify 2019-03-24 21:40:33 -05:00
Denis Rouzaud
0e35c91edf [sipify] handle enum class forward declaration and fix monkey patching 2019-03-24 21:40:33 -05:00
Denis Rouzaud
375a0aa253 create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
the enum is moved out of the class
this will allow forward declaration more easily since the enum is not nested in the class
2019-03-24 21:40:33 -05:00
Denis Rouzaud
837607cb15 [sipify] handle moving enum to scope based and out of class enum 2019-03-24 21:37:04 -05:00
Juergen E. Fischer
e5f0522b36 update_ts.sh: add more context 2019-03-24 13:15:52 +01:00
Juergen E. Fischer
0c23e94a29 fix translation string 2019-03-23 20:53:31 +01:00
Alessandro Pasotti
90ea199e65 QGIS quick switch case from new HTML widget 2019-03-23 18:47:16 +01:00
Alessandro Pasotti
b06103f140 Added missing SIP files and headers
Also fixes context evaluation before html is updated
2019-03-23 17:24:02 +01:00
Alessandro Pasotti
b165258e6d [feature][needs-docs] HTML form widget
Shameless clone of QML widget, with some webview quirks.

Funded by ARPA Piemonte
2019-03-23 16:41:16 +01:00
Juergen E. Fischer
2af3535216 [needsbackport] apply an alternative fix for #20826
Partly reverts c9e761649, which removed the synchronizatiion of
credential requests (eg. in a project that has multiple layers from the
same postgresql database without credentials) and led to multiple
concurrent requests for the same credentials.

Some of which were silently discarded, when events processed in the
dialogs exec() event loop tried to reinvoke the dialog and caused
invalid layers.

Authentications caused by network requests can still cause this.

The credential cache is now guarded by a separate mutex.
2019-03-23 16:08:25 +01:00
Alessandro Pasotti
d317cf4658 [feature][needs-docs] Toggle selection button in form d&d designer
Funded by ARPA Piemonte
2019-03-23 10:05:31 +01:00
Alessandro Pasotti
78b56785b0
Merge pull request #9613 from elpaso/form-designer-allow-multiple-selection
Allow multiple selection of d&d fields in form designer
2019-03-23 09:02:46 +01:00
Juergen E. Fischer
a19fc89e5f osgeo4w: updates for grass 7.6.1 2019-03-23 02:08:30 +01:00
Denis Rouzaud
ac7f66f9f3
fix copy in Dockerfile 2019-03-22 13:03:55 -05:00
Alessandro Pasotti
dbe8b6c0a6 Allow multiple selection of d&d fields in form designer 2019-03-22 19:02:11 +01:00
Bas Couwenberg
f7bdded3a4 Fix trailing comma in control files. 2019-03-22 15:30:45 +01:00
Blottiere Paul
b0ef62ba51 Fixes compilation 2019-03-22 12:57:28 +00:00
Blottiere Paul
e57e85d557 Returns an 'Internal Server Error' exception 2019-03-22 12:37:33 +00:00
Blottiere Paul
096bd79565 Update sip binding 2019-03-22 12:36:52 +00:00
Blottiere Paul
0e4e09d389 Update doc 2019-03-22 12:36:45 +00:00
Blottiere Paul
eb72f16580 Log exceptions according Info or Critical errors 2019-03-22 12:32:32 +00:00
Blottiere Paul
6028b70f20 Clean 2019-03-22 10:11:08 +00:00
Blottiere Paul
10c02e72a1 Log exception on server side 2019-03-22 10:10:29 +00:00
Nyall Dawson
ee7a7e707c Revert "Avoid more accidentally editable table cells"
This reverts commit c6ee6e390baf4f5259dfc426916b55e5b6654a01.
2019-03-22 15:38:11 +10:00
Nyall Dawson
236cb085b8 Unit tests for QgsDatumTransformDialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
8d3f710005 Use structs instead of pairs 2019-03-22 15:38:11 +10:00
Nyall Dawson
6afc6e6fb1 Constify, QStringLiteral 2019-03-22 15:38:11 +10:00
Nyall Dawson
dc6869d28d Avoid more accidentally editable table cells 2019-03-22 15:38:11 +10:00
Nyall Dawson
d658c5138c Make preferred choices more visually dominant in transform selection dialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
8b1d247fc1 FORCE users to make a choice in the transformation selection dialog
We don't want users to fallback to a "don't know what this means,
I'll click 'Cancel'" behaviour here. Doing so results in the
worst possible inaccurate transformations used. Literally, picking
ANYTHING in the dialog is a better selection then allowing
them to click cancel.

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
785c03358e Move datum transformation dialog prompting behaviour setting to a new
key to reset ALL users to a default value

And add to qgis_global_settings.ini

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
3505eb9ceb [needs-docs] Add a "Make Default" checkbox in the datum transform selection dialog
If checked, the selected transformation will be set as a default
for all newly created projects (this can later be changed
in the usual place in Options - CRS)

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
cd01a5bf87 Move ALL logic for prompting users for datum transform selection
AND updating the current project transform context accordingly
to a single method

Unifies this logic, but most importantly fixes a bug where
users are NEVER prompted for a transformation when only one
valid transformation exists AND this single transform
is not added to the project context (in other words, QGIS
could not handle transformations when only one possible
path existed).

Some logic here is temporary (QgsDatumTransformDialog::defaultDatumTransform())
and will be replaced with proj db logic when we update to
proj v6 API

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
2af0d0de93 Fix double update of dialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
fe50e24ccf Fix loss of transform context changes when editing project CRS in project properties dialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
0b6fdd9b09 Standardise API for deciding whether the datum transform dialog should be shown 2019-03-22 15:38:11 +10:00
Nyall Dawson
fc4d9b8f78 Remove dead code 2019-03-22 15:38:11 +10:00
Harrissou Sant-anna
f998ec9bb4 Remove duplicate word 2019-03-22 12:44:27 +10:00
Nyall Dawson
e7389db5c7 Fix marker line offset along line unit is ignored when in Interval mode 2019-03-22 12:16:22 +10:00
Nyall Dawson
6b470eebea Fix warning 2019-03-22 12:16:22 +10:00
Nyall Dawson
427ea515a5 Deprecate some more methods 2019-03-22 12:16:22 +10:00
Nyall Dawson
16a64ed84d Deprecate some methods, dox++ 2019-03-22 12:16:22 +10:00
Nyall Dawson
fa202795b0 Dox++ 2019-03-22 12:16:22 +10:00
Víctor Olaya
e0a990d997 [processing] Add 'call' statements to SAGA batch file 2019-03-22 12:15:50 +10:00
AlisterH
da6a3786e2 Add missing bracket to formula generated by data defined override
Refs #21617
2019-03-22 09:38:45 +10:00