44277 Commits

Author SHA1 Message Date
Nyall Dawson
b578f8af35 Fix layer handling in import to postgis algs 2017-12-08 15:25:25 +10:00
Nyall Dawson
2d4a465212 [processing][gdal] Spatial extent filter for import to postgis
should be optional
2017-12-08 15:24:30 +10:00
Nyall Dawson
846400cb70 Resurrect GDAL import to PostGIS (available connections) alg
Fixes #17605
2017-12-08 15:18:03 +10:00
Nyall Dawson
3a5caaf94c Add missing proxy calls for QgsProcessingFeatureSource, causing
inefficient base class methods to be used instead.
2017-12-08 15:05:56 +10:00
Nyall Dawson
be962c7d8b Faster command generation in gdal algorithm dialog, by skipping forced incompatible layer exports 2017-12-08 14:50:03 +10:00
Nyall Dawson
96c7e6e0a6 [processing][gdal] Cleanup some code, add method to customise
generated command based on whether the algorithm is actually
executing or just being displayed in the UI as a command
2017-12-08 14:09:08 +10: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