48004 Commits

Author SHA1 Message Date
Nyall Dawson
ff7c70fc87 [processing][gdal] Fix gdal command does not automatically update
when destination value is changed
2018-05-29 22:21:31 +10:00
Matthias Kuhn
744a42ffc2
Assume URL already encoded in web view widget 2018-05-29 12:32:10 +02:00
Nyall Dawson
ad1fef9f7c Workaround crash in msvc when raising a GEOS exception
In some circumstances MSVC tries to raise it's own internal
exception when we try to raise a GEOSException. This results
in a hard crash of QGIS.

To workaround this, we cautiously try to raise a GEOSException
on msvc builds, catching all other raised exceptions if
throwing the GEOSException triggers them. This at least allows
us to gracefully handle the geos error without crashing QGIS
(although the detailed GEOS error message is not available
when this situation occurs... but that's still better than
a crash!).

If you want to try to find a better fix for this, the
testqgsexpression.cpp test suite will demonstrate the issue.

Without this fix the test will crash on the "line_interpolate_point point"
test.

Refs #14752
2018-05-29 20:26:44 +10:00
nirvn
5ab3fe4ba0 Add subsetStringChanged signal 2018-05-29 17:10:17 +07:00
nirvn
f5c0a2c472 Project dirtying improvements
- Mark as dirty  when renaming a layer/group
- Better approach to mark as dirty when changing CRS
- Better approach to mark as dirty when changing subset string
2018-05-29 17:10:17 +07:00
Salvatore Larosa
3edc07b4c2 also versioning cookbook url 2018-05-29 11:59:54 +02:00
Salvatore Larosa
8f5bde40cf use https for cookbook url 2018-05-29 11:52:43 +02:00
Matthias Kuhn
b202d60672 const correctness QgsVectorLayer::deleteAttributes 2018-05-29 19:43:04 +10:00
Blottiere Paul
04e779a040 qgz set as the default format 2018-05-29 19:40:10 +10:00
Nyall Dawson
6002ce0bf3 Speed up rendering by avoiding data defined layer enabled check in most circumstances 2018-05-29 06:18:38 +10:00
Peter Petrik
03f825396a add missing qgis_quick.h header to install 2018-05-29 06:18:24 +10:00
Denis Rouzaud
637f59ded1 fix server/app files and sipify test 2018-05-28 10:39:34 -08:00
Denis Rouzaud
65bb60e96c run sipify 2018-05-28 10:39:34 -08:00
Denis Rouzaud
0fa85bba1c put \since and \deprecated at the end of comment blocks 2018-05-28 10:39:34 -08:00
Denis Rouzaud
6772f0d74e fix test 2018-05-28 10:39:34 -08:00
Denis Rouzaud
83be4fae6b [sipify] fix deprecated annotation without additional comment 2018-05-28 10:39:34 -08:00
Denis Rouzaud
70f8266495 add test to check that \since and \deprecated are at the end of command blocks 2018-05-28 10:39:34 -08:00
Alexander Bruy
fc55d869a0
Merge pull request #7098 from alexbruy/fix-cmake
fix build with CMake < 3.7
2018-05-28 17:47:16 +03:00
Denis Rouzaud
034c3f0d75 Revert "Merge pull request #5461 from m-kuhn/less_temp_files"
This reverts commit cfad3aa560c2d11e5271fc2ac64d82aba9f7b5a0, reversing
changes made to cdca7084c44d9d12d2ee835afff8577222262764.
2018-05-28 09:28:58 -04:00
Nyall Dawson
4c3a9ef7be Ensure that class \brief comes before \since (#7081)
Otherwise it breaks the Python docstrings, which require
the brief to come first
2018-05-28 04:03:46 -08:00
Alexander Bruy
6cac1bdcbd use complex condition for CMake < 3.7 2018-05-28 14:20:10 +03:00
rldhont
facf7a22f0
Merge pull request #7007 from arnaud-morvan/server_filter_and_bbox
[server][wfs] Apply BBOX inside And using filterRect
2018-05-28 13:07:07 +02:00
Mathieu Pellerin
a525b2df94
Mark project as dirty when changing layer subset string 2018-05-28 16:49:02 +07:00
arnaud.morvan@camptocamp.com
12a7be799c [server] Apply BBOX inside And using filterRect
In case of a WFS GetFeature request,
if BBOX is not a direct child of the Filter element,
it is applyed through an intersects_bbox function in the QgsFeatureRequest filterExpression.
This is not compiled by providers like PostgreSQL, causing the whole filter to be interpreted on QGIS side.

When interpreted on QGIS side, the srsname given in the request is not handled properly as geom_from_gml return a geometry object, projection agnostic.
This result in a very long request returning no results.

This is a workaround for this performance and srs issue in the case the BBOX is direct child of an And operator,
itself at first level in Filter element.

This is a bug fix and huge optimisation for the case we have a And with a BBOX and another condition.
2018-05-28 11:25:17 +02:00
Salvatore Larosa
fc740d7140 Fixes #19001: update url to _pyqgis and _api commands 2018-05-28 08:42:45 +02:00
Nyall Dawson
e25c81377e Fix SAGA parameter value check 2018-05-28 16:02:38 +10:00
Nyall Dawson
a26ae3c1d9 [processing][grass] Fix broken checkParameterValues tests 2018-05-28 16:02:38 +10:00
Nyall Dawson
870d20740c [processing] Tweaks and checks for checkParameterValues 2018-05-28 16:02:38 +10:00
Harrissou Sant-anna
373b6bb979 [needs-docs] Move the "move features" and "Copy and move features"
buttons to the Advanced Digitizing toolbar
2018-05-28 15:36:16 +10:00
Harrissou Sant-anna
c16e279851 [needs-docs]Add multi edit attributes icon to the Digitizing toolbar
fixes #16568
2018-05-28 15:36:16 +10:00
Nathan Woodrow
cfdfa47da2 [fix] Variables can't have spaces in name 2018-05-28 14:20:40 +10:00
Nyall Dawson
6441b64a58 [Processing] Fix raster menu split in two in some locales
Fixes #17448
2018-05-28 13:49:13 +10:00
Nyall Dawson
dd2279c8af More capitalization 2018-05-28 13:34:10 +10:00
Nyall Dawson
ec9695691f Capitalization 2018-05-28 13:34:10 +10:00
Nyall Dawson
aa765b2049 Set object name for vertex editor (avoid Qt warning) 2018-05-28 13:34:10 +10:00
Nyall Dawson
6fd8890c4d Minor cleanups 2018-05-28 13:34:10 +10:00
Nathan Woodrow
614800c918 [Fix] Don't recreate vertex editor each time 2018-05-28 13:34:10 +10:00
Andrea Aime
c923d5b63f Fixes #16706, categorized symbology matching lack of value is not properly encoded in SLD 2018-05-28 13:05:28 +10:00
Nyall Dawson
b56f1132fc [processing] Add some more tags and icons to stats algs 2018-05-28 11:09:42 +10:00
Nyall Dawson
b6f2f7bd40 Don't use QgsVectorLayer::selectedFeatures() to check for a selection
in a layer

This is incredibly inefficient, because selectedFeatures() actually
fetches a full copy of all selected features (including all
attributes and geometry). Instead use selectedFeatureIds(), which
is just a list of numbers.

Add warning note to docs cautioning against this practice.

Fixes massive ui lockup when right clicking on a layer with
selected features in the layer tree
2018-05-28 10:59:48 +10:00
Nyall Dawson
e552ce62be Add warning note to QgsLayoutPageCollection::shouldExportPage 2018-05-28 10:06:23 +10:00
Nyall Dawson
5cf33969ae Cleaner conditional generation of pyi typehint stub files 2018-05-28 10:04:38 +10:00
Alexander Bruy
b150f41f12 fix build with SIP < 4.18 2018-05-28 10:04:38 +10:00
Nyall Dawson
a804a33bc7 Remove some useless \returns dox 2018-05-28 09:48:46 +10:00
Stéphane Brunner
2a7b854e25 Remove the invalid image/jpg mime type 2018-05-28 09:33:05 +10:00
Harrissou Sant-anna
f0b72ae62e Set the dpi default to -1 to use layout dpi 2018-05-28 08:56:32 +10:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
ea0c1d8cbc Typo 2018-05-28 08:22:11 +10:00
Juergen E. Fischer
499459be4b fix build with SIP <4.19 2018-05-27 19:17:12 +02:00
Salvatore Larosa
a2d796aaaf
Merge pull request #7086 from slarosa/plugin_mgr_search_icon
[pluginmanager] show search icon in filter line edit and remove search label
2018-05-27 14:30:41 +02:00