Even Rouault
66518eb9ee
[GML parser/WFS provider] Fix crash when typename and geometry field name are identical ( fixes #15942 )
2017-11-11 12:11:36 +01:00
Nyall Dawson
bcb815bbf1
Merge pull request #5602 from nyalldawson/modernize2
...
Apply some more clang-tidy modernizations
2017-11-11 18:11:53 +11:00
Nyall Dawson
5a6c222e87
Fix Coverity null pointer dereference issues
2017-11-11 16:00:19 +10:00
Nyall Dawson
a9145f16cc
Avoid Coverity unchecked return value warnings
2017-11-11 15:48:19 +10:00
Nyall Dawson
48c7e31ee1
Fix Coverity uninitialized member warnings
2017-11-11 15:44:14 +10:00
Nyall Dawson
450887eabd
Fix documentation test
2017-11-11 15:34:46 +10:00
Nyall Dawson
2e6d125a6f
Use =default, =delete where possible
2017-11-11 15:22:19 +10:00
Nyall Dawson
bcd90715b0
Run clang-tidy code readability fixits
2017-11-11 12:19:59 +10:00
Nyall Dawson
c97fa5bdd0
Cleanup some constructors
2017-11-11 11:29:45 +10:00
Nyall Dawson
871f71305d
Use clang-tidy modernize-use-default-member-init to modernize initializers
2017-11-11 10:54:44 +10:00
Even Rouault
8c6e029688
Merge pull request #5601 from rouault/unblacklist_PyQgsDBManagerGpkg
...
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:37:45 +01:00
Even Rouault
95feb87d3b
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:02:19 +01:00
Even Rouault
a65f072b71
Merge pull request #5598 from rouault/gdal_ogr_extensions
...
[GDAL/OGR providers] Improve list of extensions, remove duplicates, support netCDF vector (fixes #17000 )
2017-11-10 21:57:56 +01:00
Borys Jurgiel
f97a011f96
[Plugin manager] Remember last visited tab. Fixes #8786
2017-11-10 21:35:56 +01:00
Nyall Dawson
992d1e26bd
Merge pull request #5587 from nyalldawson/3d
...
Fix 3d renderer does not work with multi-point layers
2017-11-11 07:31:21 +11:00
Even Rouault
0ba03e59ee
[GDAL/OGR providers] Improve list of extensions, remove duplicates, support netCDF vector ( fixes #17000 )
...
- Read GDAL 2.0 GDAL_DMD_EXTENSIONS metadata item to retrieve a list of extensions
- Remove 'duplicated' drivers from list (such as KML/LIBKML, DGN/DGNv8)
- Support netCDF as a vector format (in addition to raster)
- For OGR formats, dynamically build list for unknown drivers ('static' list kept for now)
2017-11-10 21:16:58 +01:00
Nyall Dawson
fb205b1aec
Merge pull request #5589 from nyalldawson/remote_proc_exp
...
[processing] Remove expression buttons from parameters outside modeler
2017-11-11 07:00:16 +11:00
Blottiere Paul
67f846548a
Merge pull request #5520 from pblottiere/server_bugfix_width_height
...
[server][bugfix] Fixes #17399 WIDTH and HEIGHT parameters are not mandatory for GetPrint
2017-11-10 16:56:32 +00:00
Blottiere Paul
2a7f23fd4c
Update tests
2017-11-10 16:19:24 +00:00
Blottiere Paul
edf9755c6c
Fixes #17399 GetPrint doesn't need a proper image with width/height
2017-11-10 16:19:24 +00:00
Blottiere Paul
ecacb3b07f
Merge pull request #5519 from pblottiere/server_bugfix_layernotfoud
...
[server][bugfix] Fixes #17400 by returning an empty response instead of an exception
2017-11-10 16:02:21 +00:00
Alessandro Pasotti
fe5653101a
[bugfix][postgresql] Fix crashes on featureCount()
...
Fixes #17388
Needs backporting
2017-11-10 16:32:50 +01:00
Blottiere Paul
534e1e811e
Add test
2017-11-10 15:26:21 +00:00
Blottiere Paul
39bce943bd
Fixes #17400 by returning an empty response if a layer is ignored due to configuration
2017-11-10 15:25:29 +00:00
Jürgen Fischer
2ca4ee5ba8
Merge pull request #5596 from boundlessgeo/bugfix-5212-ogr-proxy
...
[bugfix] Apply proxy configuration to OGR connections
2017-11-10 15:16:10 +01:00
Alessandro Pasotti
f2abcf2deb
Spelling
2017-11-10 14:43:40 +01:00
Alessandro Pasotti
77a73f41dd
[tests] Brand new C++ test and new py test case for ogr proxy
2017-11-10 13:33:23 +01:00
Alessandro Pasotti
e85897c354
Skip proxy auth settings if proxy is disabled
...
This does not really change anything but it makes more sense
2017-11-10 13:31:49 +01:00
Alessandro Pasotti
d8fc6e877b
[bugfix] Apply proxy configuration to OGR connections
...
Fixes #5212 Proxy settings ignored for layers
2017-11-10 13:31:11 +01:00
Nyall Dawson
f8cbc42dca
Merge pull request #5594 from nyalldawson/batch_lazy
...
[processing] Fix issues with batch processing and large count of layers
2017-11-10 18:21:42 +11:00
Nyall Dawson
6de3980e45
Fix issues in vector layers properties dialog
...
- remove frames from new pages
- fix cramped widgets on hidpi screens
- fix broken aux storage layout
- standardise margins across pages
2017-11-10 17:20:26 +10:00
Nyall Dawson
2ed2248827
[processing] Add option whether to load batch output layers on completion
...
By always trying to load all layers, we severely limit the usefulness
of batch processing. E.g. try clipping 200 layers - and then
get ready to punch something as you wait for all the results to load.
2017-11-10 17:00:24 +10:00
Nyall Dawson
3fc90301a9
[processing] Only load layers when absolutely required
...
This change avoids holding onto resources and layers from earlier iterations,
and allows batch processing of many more items then is possible
if we hold on to these layers
2017-11-10 17:00:24 +10:00
Alexander Bruy
30cefca19e
Merge pull request #5593 from nyalldawson/batch_rows
...
[processing] Change min rows in batch processing to 1
2017-11-10 08:35:00 +02:00
Alexander Bruy
9b85e5b7f5
Merge pull request #5592 from nyalldawson/batch
...
[processing] Fixes for batch processing
2017-11-10 08:34:37 +02:00
Alexander Bruy
019a4d2a78
Merge pull request #5155 from alexbruy/processing-saga
...
[processing] port SAGA to new API
2017-11-10 08:34:08 +02:00
Mathieu Pellerin
e7a1c0440a
Trigger layer repaint when adding field-less features ( fixes #17426 )
2017-11-10 10:49:57 +07:00
Nyall Dawson
bd9945ffe3
[processing] Change min rows in batch processing to 1
...
While no-one is likely to use the batch dialog to run a single
operation, it's a bit unexpected to see two empty rows, which
can't be removed, when first opening this dialog
2017-11-10 13:48:54 +10:00
Nyall Dawson
feacb76300
Fix python error
2017-11-10 13:43:50 +10:00
Nyall Dawson
08b189df89
Fix error when double clicking destination param in batch dialog
2017-11-10 13:40:50 +10:00
Nyall Dawson
feb66d2cd8
Fix saving/load batch processing models
2017-11-10 13:22:49 +10:00
Nyall Dawson
8526a2dd3f
Remember last used folder for processing batch save/load
...
Fixes #16310
2017-11-10 13:17:01 +10:00
Nyall Dawson
9bac962a9e
Fix batch processing progress bar never hits 100%, also fix fragile
...
cursor handling
2017-11-10 11:33:58 +10:00
Nyall Dawson
797437823c
[processing] Fix cannot resize columns in batch dialog
...
Fixes #17227
2017-11-10 11:25:11 +10:00
Nyall Dawson
a23f315f39
Fix duplicate 'all files' entry in batch input file selection dialog
2017-11-10 11:23:19 +10:00
Nyall Dawson
87ffdabbb3
[processing] Fix crash in batch processing dialog
...
Fixes #17429
2017-11-10 11:11:32 +10:00
Larry Shaffer
4bdfaa5f95
Fix astyle version check for macOS
...
Hard to emulate natural version sorting on macOS. Just use numeric.
https://stackoverflow.com/questions/21394536
2017-11-09 17:54:30 -07:00
Nyall Dawson
612f51601a
[processing] Remove expression buttons from parameters outside modeler
...
Since these expressions were only evaluated immediately, it led to
confusing behavior for users who were expecting that the expression
would be applied per-feature.
Given that expressions can be directly entered into spin boxes, we already
have a way of users evaluating simple calculations for numeric
parameters at least.
I don't think there's a strong enough use case for needing to
calculate string results to leave the confusing expression builder
option in place.
This should be re-evaluated when we add UI support for dynamic
parameters (which are already supported in the backend), where
expressions are evaluated per-feature.
Fixes #17267
2017-11-10 10:42:25 +10:00
Nyall Dawson
abe5756d3e
Merge pull request #5588 from nyalldawson/acquire
...
Workaround bug in Qt > 5.8 causing crashes in connection pools
2017-11-10 11:20:03 +11:00
Nyall Dawson
fef56184bc
Workaround bug in Qt > 5.8 causing crashes in connection pools
...
tryAcquire is broken on Qt > 5.8 with negative timeouts - see:
http://bugreports.qt.io/browse/QTBUG-64413
https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050456.html
2017-11-10 09:40:23 +10:00