44272 Commits

Author SHA1 Message Date
Frank Dekervel
51ec70abc0 Fix missing signal/slot connection resulting in non-woring autocompleter for value relation fields (fixes #16676).
This oneliner introduces the missing signal/slot connection, and fixes the bug.
2017-12-05 13:41:39 +01:00
Nyall Dawson
7584bf1310 Consistent capitalisation 2017-12-05 20:32:20 +10:00
Nyall Dawson
8cb206e0e5 Fix missing delete action for gpkg layers in browser 2017-12-05 20:12:26 +10:00
Nyall Dawson
eda3d6e475 Fix use of QWidgets from non-gui thread 2017-12-05 20:05:19 +10:00
Alessandro Pasotti
2ca90545e6
Merge pull request #5773 from SrNetoChan/add_missing_tooltips
Adds missing tooltips
2017-12-05 11:01:28 +01:00
Martin Dobias
ba9e19954b
Merge pull request #5798 from wonder-sk/polygon-3d-fixes
[3d] Tessellator fixes + culling mode configuration for 3D polygons
2017-12-05 10:54:48 +01:00
Alessandro Pasotti
db9fc285f7 Add documentation for new overridden constructors 2017-12-05 09:49:19 +01:00
Alessandro Pasotti
85a7ba77d6
Merge pull request #5795 from elpaso/delegate-leaks
Fix Some Delegate leaks
2017-12-05 09:21:04 +01:00
Alessandro Pasotti
efad2f6a1f Don't leak memory in qgsnodeeditor delegates 2017-12-05 09:18:26 +01:00
Alessandro Pasotti
2b3fbc7761 Don't leak in metadatawidget delegates 2017-12-05 09:18:26 +01:00
Martin Dobias
1f6cd31fab Fixes after review 2017-12-05 08:58:23 +01:00
Martin Dobias
011e254e8a [3d] Read/write camera position of the 3D map view in project 2017-12-05 08:46:51 +01:00
Mathieu Pellerin
ad54073b1e
[processing] list native QGIS algorithms first in modeler dialog 2017-12-05 11:52:06 +07:00
Nyall Dawson
13cb44fd9d Fix initial extent of map canvas is loaded incorrectly from projects 2017-12-05 13:05:33 +10:00
Nyall Dawson
9d0b0f27f2 Fix crash in standalone apps when no QgsApplication available 2017-12-05 11:40:54 +10:00
Nyall Dawson
4671acb875 Fix coverity unreachable code warning
Was preventing conditional formatting decorations from showing
in relation widgets
2017-12-05 11:02:39 +10:00
Nyall Dawson
45fb6e9243 Fix coverity uninitialized member warnings 2017-12-05 11:00:16 +10:00
Nyall Dawson
fa5a8311d1 Fix coverity null pointer dereference warnings 2017-12-05 10:56:07 +10:00
Nyall Dawson
75c99800d0 Fix coverity ignored return value warnings 2017-12-05 10:34:33 +10:00
Nyall Dawson
b0a36e9bb1
Merge pull request #5789 from nyalldawson/render_jobs
[Rendering] Only render in preview jobs layers that are fast enough
2017-12-05 11:17:44 +11:00
Nyall Dawson
b26c14ef04
Merge pull request #5799 from nyalldawson/mingw
Mingw build fixes and windows build warning fixes
2017-12-05 10:51:21 +11:00
Nyall Dawson
38cca6ca7e Tweak API 2017-12-05 09:02:40 +10:00
Nyall Dawson
be954585cf Always show WMTS/XYZ layers in preview jobs (to pre-warm cache) 2017-12-05 09:02:40 +10:00
Nyall Dawson
5ee9cdd222 Rename layerRenderingTime()->perLayerRenderingTime() 2017-12-05 09:02:40 +10:00
Nyall Dawson
56508b57ca Update docs 2017-12-05 09:02:40 +10:00
Nyall Dawson
91c913077c Run canvas preview jobs sequentially
Only start the next job when the previous one has completely finished.
Avoids flooding connection pools with too many quick requests.
2017-12-05 09:02:40 +10:00
Nyall Dawson
01e8ed85e3 More flexible API for preview job determination 2017-12-05 09:02:40 +10:00
Nyall Dawson
16a1bd7948 Store previous layer rendering time in canvas, not map layer 2017-12-05 09:02:40 +10:00
Even Rouault
997619c9ed [Rendering] Only render in preview jobs layers that are fast enough
This implements the improvements discussed in the mailing list thread
https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050524.html
to avoid rendering layers in preview jobs that take too much time to render.
2017-12-05 09:02:40 +10:00
Nyall Dawson
32ba5bf23f
Merge pull request #5791 from nyalldawson/geom_snapper_vertices
Fix geometry snapper sometimes creates unwanted overlapping segments when snapping line layers
2017-12-05 09:47:27 +11:00
Nyall Dawson
4689537842 Fix build warning 2017-12-05 08:30:52 +11:00
Martin Dobias
b773d617b1 [3d] Tessellator fixes + culling mode configuration for 3D polygons
- missing vertical walls since a recent tessellator crash fix (fixes #17604)
- choice of the culling mode - no culling / back face / front face (fixes #17619)
- more unit tests for tessellator
2017-12-04 22:28:14 +01:00
Nyall Dawson
13614dc4bb Readability fix 2017-12-05 08:03:28 +11:00
Nyall Dawson
11f610b7ba Fix build using mingw
Credit to t-hey
2017-12-05 08:01:49 +11:00
Borys Jurgiel
f180ea4454 [Plugin manager] Use raw string for zip file path to avoid escaping '\U' in C:\Users. Fixes #17624 2017-12-04 18:37:30 +01:00
Borys Jurgiel
053fec89a2 Fix untranstatable strings 2017-12-04 15:44:46 +01:00
Matthias Kuhn
1cef982614 Fix build warning 2017-12-04 14:57:32 +01:00
Matthias Kuhn
5d8783f96e Hide aggregate button in non-aggregate context 2017-12-04 14:57:32 +01:00
Alessandro Pasotti
e4dabe57df Don't leak memory in bookmarks delegate 2017-12-04 09:40:11 +01:00
Nathan Woodrow
57dc9deb06
Add API to ease saving and restoring widget geometry. (#5615)
Usage:
 - QgsGui::instance()->enableAutoGeometryRestore( this ); just
after setupUi in your widgets to enable.
 - Remove any calls to saveGeometry() and restoreGeometry() in your
widgets.
2017-12-04 13:41:42 +10:00
Nyall Dawson
21fe98d5f0 Sipify 2017-12-04 13:10:28 +10:00
Nyall Dawson
d3e561fced Fix build warning 2017-12-04 11:35:58 +10:00
Nyall Dawson
5a818707c7 Update tests 2017-12-03 17:06:20 +10:00
Nyall Dawson
5b5560aaf9 Set default method for check validity alg 2017-12-03 15:16:17 +10:00
Nyall Dawson
a441b7390c Less debug noise in geometry validator 2017-12-03 15:12:51 +10:00
Nyall Dawson
113c21e8bf [geometry snapper] Don't create invalid geometries with duplicate nodes
Fixes #15247
2017-12-03 15:10:53 +10:00
Nyall Dawson
484a61154f Show cell values in tooltips in attribute table
Otherwise long values can be truncated and hard to read
2017-12-03 14:58:21 +10:00
Nyall Dawson
5b05699fc9 Add some tags to check validity algorithm 2017-12-03 14:58:21 +10:00
Nyall Dawson
e12621ce2a Add API method to remove duplicate nodes from geometries
Removes duplicate nodes from the geometry, wherever removing the
nodes does not result in a degenerate geometry.

By default, z values are not considered when detecting duplicate
nodes. E.g. two nodes with the same x and y coordinate but
different z values will still be considered duplicate and one
will be removed. If useZValues is true, then the z values are
also tested and nodes with the same x and y but different z
will be maintained.

Note that duplicate nodes are not tested between different
parts of a multipart geometry. E.g. a multipoint geometry
with overlapping points will not be changed by this method.

The function will return true if nodes were removed, or false
if no duplicate nodes were found.

Includes unit tests and a processing algorithm which exposes
this functionality.
2017-12-03 14:58:21 +10:00
Nyall Dawson
0b452cabbb Spelling 2017-12-03 08:03:30 +10:00