81846 Commits

Author SHA1 Message Date
Nyall Dawson
ef954214d9 yes 2023-05-10 11:58:24 +10:00
Nyall Dawson
73c7e4756b Missing run 2023-05-10 11:58:24 +10:00
Nyall Dawson
0fc3efbbde Try to workaround https://bugreports.qt.io/browse/QTBUG-113227
on qt6 ci builds
2023-05-10 11:58:24 +10:00
Juergen E. Fischer
1f739868ca debian packaging: enable PDAL only on bullseye and jammy 2023-05-09 17:06:45 +02:00
Nyall Dawson
87d3501d0b Don't try to read tiles with zero size from vtpk archives
Avoids unnecessary user-visible warnings about unreadable tiles
when those tiles don't actually exist
2023-05-09 19:51:31 +10:00
Nyall Dawson
cfe09eea10 Add hash for QgsTileXYZ 2023-05-09 19:41:53 +10:00
Nyall Dawson
171baf0013 Add equality operators for QgsTileXYZ 2023-05-09 19:41:53 +10:00
Nyall Dawson
35e3d49738 Add repr for QgsTileXYZ 2023-05-09 19:41:53 +10:00
Nyall Dawson
1b4a59f49d Small optimisation to QgsVectorLayerFeatureIterator::checkGeometryValidity, avoid checking geometry presence if not filtering for invalid geometries 2023-05-09 18:58:04 +10:00
Nyall Dawson
ab1e839910 Tiny optimisation to QgsVectorLayerFeatureIterator::postProcessFeature 2023-05-09 18:58:04 +10:00
Nyall Dawson
4c4ccb97f7 Avoid calling canDriverShareSameDatasetAmongLayers for every ogr feature processed, call once upfront 2023-05-09 18:58:04 +10:00
Nyall Dawson
c8702693ce Optimise QgsFeature::setAttributes
Remove the equality check "shortcut". Profiling shows that the cost
of checking the equality of the attributes well exceeds the cost
of cost always detaching the feature. And in the vast majority of
cases the equality operator would return false anyway, resulting
in a lot of wasted effort.
2023-05-09 18:58:04 +10:00
Nyall Dawson
e33996dcc0 Optimise QgsGeometryPrivate constructors to avoid unnecessary extra work 2023-05-09 18:58:04 +10:00
Alexander Bruy
beceade0ff create output directory only when needed 2023-05-08 17:14:55 +02:00
Alexander Bruy
bf3bcace5f fix output directory handling in the tile algorithm 2023-05-08 17:14:55 +02:00
Alexander Bruy
30eed0b85e add optinal output directory parameter to make it possible to force the
COPC files to be put in a single place
2023-05-08 17:14:55 +02:00
Alexander Bruy
51c34ba350 algorithm to create COPC files for input point clouds 2023-05-08 17:14:55 +02:00
Alexander Bruy
7685c9afd3
Merge pull request #53027 from nirvn/processing_crash_fix
[processing] Fix crash when loading a layer from a string pointing to an invalid/corrupt file
2023-05-08 15:24:41 +03:00
Matthias Kuhn
4720209b5f
Merge pull request #52096 from joto/symbol-levels-plus 2023-05-08 07:53:34 +02:00
Yoann Quenach de Quivillic
5837820fb7 Fix compilation warning 2023-05-08 08:01:49 +10:00
Yoann Quenach de Quivillic
3c3bfb8590 Tweak cursors and resizing behavior 2023-05-08 08:01:49 +10:00
Yoann Quenach de Quivillic
28af4c0c50 Scrap the toggleTextItemVisibilities feature 2023-05-08 08:01:49 +10:00
Yoann Quenach de Quivillic
d7001083f2 Add context menu 2023-05-08 08:01:49 +10:00
Yoann Quenach de Quivillic
6c6e20a03b Do not resize annotations when cursor is outside it 2023-05-08 08:01:49 +10:00
Mathieu Pellerin
f729eb0df2 [processing] Fix crash when loading a layer from a string pointing to an invalid/corrupt file 2023-05-06 16:17:30 +07:00
Mathieu Pellerin
0b6a0f6e76 [qgsquick] Add global map shading support to map canvas 2023-05-06 14:35:38 +07:00
Matthias Kuhn
790b37273f
Merge pull request #53004 from m-kuhn/server_url_param_blocking_network_request 2023-05-06 09:22:28 +02:00
Alessandro Pasotti
93b8b0e70a
Merge pull request #52923 from agiudiceandrea/fix-52341-negative-norwegian
Fix QgsDoubleValidator for positive sign and for negative and exponential signs in some locales (Fix #52341)
2023-05-05 17:11:59 +02:00
Even Rouault
66fa7e7552
[WFS / OAPIF] Emit request headers of initial request when following a redirect (#53011) 2023-05-05 08:31:02 +02:00
Nyall Dawson
0d90cbcf1b sipify (followup cb1bfa1a) 2023-05-05 06:27:32 +10:00
Nyall Dawson
a8fd082fb9 Avoid installing QgsCPLHTTPFetchOverrider for every ogr feature
fetched if we can avoid it

This is a relatively expensive operation to do (specifically
the calls to QgsCPLHTTPFetchOverrider::setAttribute) compared
with the actual costs of fetching features from GDAL

Avoid creating a new override for every feature, if we detect
that its safe to use an override created in the OGR feature
iterator constructor.
2023-05-05 05:20:59 +10:00
Alessandro Pasotti
6bce64786a
Merge pull request #52988 from elpaso/advanced-digitizing-more-angles
[feature] Advanced Digitizing: more common angle options
2023-05-04 16:03:11 +02:00
Juergen E. Fischer
cb1bfa1ab7 fix msvc build (followup effbfc220677e3693b49ba915e7267b08e1cbe7f) 2023-05-04 14:44:16 +02:00
Alessandro Pasotti
ef01fb90f4 doxy 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
34933d0072 SIP_SKIP and tidy 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
fa5de44a85 indentation 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
f93c2d7a1a strict initializer 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
6f694c35f5 Remove unused string 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
5f86a4011f Advanced Digitizing: more common angle options
- add 0.1, 0.5, 1.0 common angles
- add an option to show current common angle in the floater
- add 'N' 'SHIFT+N' keyboard shortcuts to cycle through the
  common angle options
2023-05-04 13:19:59 +02:00
Matthias Kuhn
c72fc8e68f [Server] Use QgsBlockingNetworkRequest to download URL
1. Deduplicate code
2. We have seen crashes where we can observe the following pattern at
   the top of the stack trace. This is always happening nested inside
   another event loop somewhere, where the lower part of the stack,
   which is omitted here `[...]` can be any other `processEvents()` call
   or local `QEventLoop`, which is likely caused by interaction of the
   local event loop for downloading here with other event loops, signals
   and timers (only approximal understanding on the exact reasons from
   my side).

```
_ZNK14QMessageLogger5fatalEPKcz: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
_ZN28QgsServerParameterDefinition10raiseErrorERK7QString: /usr/lib/libqgis_server.so.3.22.14
_ZN28QgsServerParameterDefinition10raiseErrorERK7QString: /usr/lib/libqgis_server.so.3.22.14
_ZN7QObject5eventEP6QEvent: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[symbol missing]: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
[symbol missing]: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
[symbol missing]: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
_ZN9QMetaType4typeERK10QByteArray: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[symbol missing]: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
_ZN9QMetaType8typeInfoEi: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
_ZN14QgsApplication6notifyEP7QObjectP6QEvent: /usr/lib/libqgis_core.so.3.22.14
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
_ZN27QEventDispatcherGlibPrivate31runTimersOnceWithNormalPriorityEv: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
```
2023-05-04 10:29:25 +02:00
Yoann Quenach de Quivillic
61fe17774e Deselect annotation item when modify tool is deactivates 2023-05-04 12:51:34 +10:00
Nyall Dawson
b1905fadb7 Fix crash when removing drag and drop form elements
If both a container and a item within that container are selected
and then the "remove" button is pressed, QGIS will crash

Avoid the crash by removing items one-by-one, so that we don't try
to delete a child item which was already deleted by its parent.
2023-05-04 12:47:29 +10:00
Nyall Dawson
2dccf42e99 [postgres][browser] Implement field comment setting for postgres fields 2023-05-04 11:48:27 +10:00
Nyall Dawson
f9b6b30af4
Remove file 2023-05-04 09:25:42 +10:00
Nyall Dawson
4df6a2b7aa Fix invisible horizontal alignment icons 2023-05-04 05:56:23 +10:00
Nyall Dawson
a52e0bdd22 Respect layer output ordering when adding processing results layers 2023-05-03 18:29:28 +10:00
Nyall Dawson
70c91eb96b Always expand processing results groups by default 2023-05-03 18:29:28 +10:00
Nyall Dawson
01ba0b2d8f When adding a node to the layer tree, ensure the initial expansion state of the node is respected 2023-05-03 18:29:28 +10:00
Nyall Dawson
f8ff71031d Minor lint fixes 2023-05-03 18:29:28 +10:00
Nyall Dawson
42e9b916c5 Respect output group name when loading layers 2023-05-03 18:29:28 +10:00