69622 Commits

Author SHA1 Message Date
Juergen E. Fischer
735cc85be9 Release of 3.18.3 final-3_18_3 2021-05-14 14:10:19 +02:00
Juergen E. Fischer
7a4c9d8b6a translation update for 3.18.3 from transifex 2021-05-14 14:10:14 +02:00
nirvn
ae7d8b40c0 Add missing documentation 2021-05-11 06:27:23 +10:00
nirvn
ceb1e5bedc [editor widgets] Avoid infinite image resize loop 2021-05-11 06:27:23 +10:00
nirvn
547abc8a9f [editor widgets] Fix external resource's image not cleared when browsing from one feature to another 2021-05-11 06:27:23 +10:00
rldhont
1152322004 [Processing][Test] QgsProcessingParameterVectorLayer description string - Deactivated tests
QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource
2021-05-11 06:24:57 +10:00
rldhont
75ae9cf6f4 [Processing][Test] QgsProcessingParameterRasterLayer description string 2021-05-11 06:24:57 +10:00
rldhont
787eba2b2d [Processing][Test] QgsProcessingParameterVectorLayer description string 2021-05-11 06:24:57 +10:00
rldhont
90da0d37e1 [Processing][Test] QgsProcessingParameterFeatureSource description string 2021-05-11 06:24:57 +10:00
rldhont
4d7313184b [Processing][Test] QgsProcessingParameterFileDestination description string 2021-05-11 06:24:57 +10:00
rldhont
9f7d913c51 [Processing][Test] QgsProcessingParameterFolderDestination description string 2021-05-11 06:24:57 +10:00
rldhont
3977de50ad [Processing][Test] QgsProcessingParameterRasterDestination description string 2021-05-11 06:24:57 +10:00
rldhont
37cfb3f042 [Processing][Test] QgsProcessingParameterVectorDestination description string 2021-05-11 06:24:57 +10:00
rldhont
68a6c20d79 [Processing][Test] QgsProcessingParameterFile description string 2021-05-11 06:24:57 +10:00
Nyall Dawson
541e64d270 Update python/plugins/processing/tests/ParametersTest.py 2021-05-11 06:24:57 +10:00
rldhont
79db16d8ae fix number 2021-05-11 06:24:57 +10:00
rldhont
dff541a461 Tests QgsProcessingParameterExtent 2021-05-11 06:24:57 +10:00
rldhont
c484b933ed Tests QgsProcessingParameterCrs 2021-05-11 06:24:57 +10:00
rldhont
9187c94168 Tests QgsProcessingParameterBoolean 2021-05-11 06:24:57 +10:00
rldhont
0e0a12edf7 Fix number 2021-05-11 06:24:57 +10:00
rldhont
6018c562a3 Tests QgsProcessingParameterNumber 2021-05-11 06:24:57 +10:00
rldhont
8742c43cfe fix lint 2021-05-11 06:24:57 +10:00
rldhont
2a8f238128 [Tests][Processing] Add getParameterFromString tests
The Procesing plugins provide a method to get parameter from string.
The string can be based on the QGIS parameter `asScriptCode` / `fromScriptCode` string definition or
on the QGIS definitions used in description file.
2021-05-11 06:24:57 +10:00
Even Rouault
c195f468ec QgsAppMapTools: fix double-free during destruction of tools
and do it also in QgsMapToolAddEllipse, QgsMapToolAddRectangle,
QgsMapToolAddRegularPolygon and QgsMapToolAddCircularString that
use a similar pattern

spotted by Valgrind when quitting the app:
```
==80600== Invalid read of size 8
==80600==    at 0x61C0F54: swap<QgsMapToolCaptureRubberBand*> (move.h:193)
==80600==    by 0x61C0F54: reset (unique_ptr.h:400)
==80600==    by 0x61C0F54: QgsMapToolCapture::deleteTempRubberBand() (qgsmaptoolcapture.cpp:848)
==80600==    by 0x4DF1017: QgsMapToolAddCircle::clean() (qgsmaptooladdcircle.cpp:135)
==80600==    by 0x4DF1390: QgsMapToolAddCircle::~QgsMapToolAddCircle() (qgsmaptooladdcircle.cpp:41)
==80600==    by 0x4DF36BC: QgsMapToolCircle2TangentsPoint::~QgsMapToolCircle2TangentsPoint() (qgsmaptoolcircle2tangentspoint.cpp:44)
==80600==    by 0x4E9516E: QgsAppMapTools::~QgsAppMapTools() (qgsappmaptools.cpp:185)
==80600==    by 0x4B327D2: operator() (unique_ptr.h:81)
==80600==    by 0x4B327D2: operator() (unique_ptr.h:75)
==80600==    by 0x4B327D2: reset (unique_ptr.h:402)
==80600==    by 0x4B327D2: QgisApp::~QgisApp() (qgisapp.cpp:1725)
==80600==    by 0x4B32E2C: QgisApp::~QgisApp() (qgisapp.cpp:1787)
==80600==    by 0x1163F7: main (main.cpp:1645)
==80600==  Address 0x2b25e608 is 200 bytes inside a block of size 616 free'd
==80600==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==80600==    by 0x4E9516E: QgsAppMapTools::~QgsAppMapTools() (qgsappmaptools.cpp:185)
==80600==    by 0x4B327D2: operator() (unique_ptr.h:81)
==80600==    by 0x4B327D2: operator() (unique_ptr.h:75)
==80600==    by 0x4B327D2: reset (unique_ptr.h:402)
==80600==    by 0x4B327D2: QgisApp::~QgisApp() (qgisapp.cpp:1725)
==80600==    by 0x4B32E2C: QgisApp::~QgisApp() (qgisapp.cpp:1787)
==80600==    by 0x1163F7: main (main.cpp:1645)
==80600==  Block was alloc'd at
==80600==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==80600==    by 0x4E956E2: QgsAppMapTools::QgsAppMapTools(QgsMapCanvas*, QgsAdvancedDigitizingDockWidget*) (qgsappmaptools.cpp:128)
==80600==    by 0x4B6409B: make_unique<QgsAppMapTools, QgsMapCanvas*&, QgsAdvancedDigitizingDockWidget*&> (unique_ptr.h:857)
==80600==    by 0x4B6409B: QgisApp::QgisApp(QSplashScreen*, bool, bool, QString const&, QString const&, QWidget*, QFlags<Qt::WindowType>) (qgisapp.cpp:1052)
==80600==    by 0x1157A7: main (main.cpp:1377)
```

The reason was that the mParentTool of QgsMapToolCapture was already
destroyed
2021-05-10 09:15:02 +10:00
Andrea Giudiceandrea
e8630d7a42 Release datasource when cancelling loading of OGR sublayers 2021-05-08 08:44:13 +10:00
Maxim Rylov
8b356775b4 Fix compiler warnings in QgsHanaConnection 2021-05-05 09:05:25 +10:00
Nyall Dawson
0289cb7342 Update src/providers/hana/qgshanaconnection.cpp 2021-05-05 09:05:25 +10:00
Maxim Rylov
b7720fe992 Fix spell check/compiler warnings 2021-05-05 09:05:25 +10:00
Maxim Rylov
9c8bd52e13 Fix: QgsHanaProvider cannot be initialized with a query 2021-05-05 09:05:25 +10:00
Maxim Rylov
e93a92e84e Rework uniqueness detection for composite keys in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
5dcfc8fb60 Update odbccpp dependency 2021-05-05 09:05:25 +10:00
Maxim Rylov
fd817b7165 Fix: field precision is not set in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
3606fcf7be Rework field uniqueness detection in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
767a2eb7f4 Update odbccpp dependency 2021-05-05 09:05:25 +10:00
Maxim Rylov
747db18b02 HANA: Fix bug when writing attributes with a geometry column 2021-05-05 09:05:25 +10:00
Maxim Rylov
e9738523e4 Optimize fetching of default values in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
3ea7443285 Retrieve fields' comments in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
7e060a892d Minor cleanups in QgsHanaProviderConnection 2021-05-05 09:05:25 +10:00
Maxim Rylov
cd2865ad38 Fix: unable to drop a view in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
f7da4f42fd Improve primary key detection in HANA 2021-05-05 09:05:25 +10:00
Maxim Rylov
a207c31e8a Implement QgsHanaProviderConnection::fields 2021-05-05 09:05:25 +10:00
Maxim Rylov
8a080d01a9 Implement QgsHanaProviderConnection::table 2021-05-05 09:05:25 +10:00
uclaros
3c71e94776 Manual backport of #42383 2021-05-02 08:00:58 +10:00
Andrea Giudiceandrea
5920dd1abe [DB Manager] Fix No Geometry tables
Avoid to add a nonexistent 'geometry' field to the fields list of No Geometry tables.
2021-04-30 08:33:23 +10:00
Andrea Giudiceandrea
a7d6a8b837 [DB Manager] Fix recognition of project layers with Z/M…
…or CurvePolygon/MultyCurve/... geometry types as spatial layers.
2021-04-30 08:33:23 +10:00
vcloarec
d9d765e57b backport #43010 and #43017 2021-04-29 15:54:29 +10:00
Matthias Kuhn
eed3818385
Merge pull request #42993 from qgis/backport-42989-to-release-3_18
[Backport release-3_18] [BUGFIX] Fixes QgsPostgresProviderConnection::createSpatialIndex.
2021-04-27 21:31:54 +02:00
Loïc Bartoletti
b1086b50bb [BUGFIX] Fixes QgsPostgresProviderConnection::createSpatialIndex. Adds quotedIdentifier to avoid failure when indexName contains 'invalid' characters 2021-04-27 17:42:49 +00:00
qgis-bot
3213c68c1e
Merge pull request #42975 from qgis/3nids-patch-1 (#42976)
use qgis-bot as actor

Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
2021-04-27 09:12:21 +02:00
Stefanos Natsis
fbda356a74 Order map keys by length before using in replace function
Fix #42940
2021-04-27 15:31:23 +10:00