63240 Commits

Author SHA1 Message Date
Even Rouault
18a95c2c2f QgsRasterLayerZonalStatsAlgorithm::processAlgorithm(): fix (likely false positive) nullPointer cppcheck warning
cppcheck warned about potential null pointer dereference of rasterBlock and
zonesRasterBlock at line 242
```
if ( !rasterBlock->isValid() || rasterBlock->isEmpty() || !zonesRasterBlock->isValid() || zonesRasterBlock->isEmpty() )
```

It is likely that the logic about correctly prevented those null pointer from
arising, but this wasn't immediately obvious. Make it so
2020-05-20 08:24:39 +10:00
Nyall Dawson
b292f38306 Fix ui build warning 2020-05-20 08:13:40 +10:00
Juergen E. Fischer
facceb6931 debian packaging: verify absence of Qt3DExtras system headers before
falling back to internal copy
2020-05-19 23:44:05 +02:00
Nyall Dawson
882b6855f2 Fix edit button shows incorrectly 2020-05-20 06:32:16 +10:00
Denis Rouzaud
cc19fa1d13
Merge pull request #36421 from 3nids/basemap_path
Registry for localized data paths
2020-05-19 21:27:51 +02:00
lbartoletti
8249dccfdd
Fix rectangle from 3 points
Fixes #35043, fixes #35671

The initial version of this class presupposed the possibility of constructing a rectangle by 3 points where each point had a  Z. Very useful to make 3D plans, but this is not always what we want...
2020-05-20 05:03:40 +10:00
uclaros
e6fef7af63 also fix return for empty parameter point 2020-05-20 05:01:20 +10:00
uclaros
0f3a6f030c test added 2020-05-20 05:01:20 +10:00
uclaros
24cda403da why u no sipify? 2020-05-20 05:01:20 +10:00
uclaros
0beee90f09 Return empty point instead of point( 0, 0 ) 2020-05-20 05:01:20 +10:00
Nyall Dawson
d03d190cb3 Fix runtime profiler handling of profile names with '/' characters 2020-05-20 04:55:46 +10:00
Nyall Dawson
15b318b50d Don't try to identify CRSes created just for ellipsoid definitions
These don't correspond to standard CRSes, and by avoiding the identification
we shave a considerable time off QGIS startup (about 1/3rd on my machine!)
2020-05-20 04:55:46 +10:00
Nyall Dawson
0acb7fcc29 Add API to skip identification of CRS created from proj strings
The identification can be time consuming, so in the rare cases that
we are SURE that the definition doesn't correspond to a known or
user CRS, we can optionally skip it to save some time.
2020-05-20 04:55:46 +10:00
Nyall Dawson
a2e8cdedf1 More startup profile hooks 2020-05-20 04:55:46 +10:00
Nyall Dawson
a6cd3d1ebd Add some more startup cost logging hooks 2020-05-20 04:55:46 +10:00
Samweli
1b5cd3a829 fix wmst ui state issue 2020-05-20 04:54:59 +10:00
Ismail Sunni
934d6c8e9f Add tooltip for mFixedRangeSetToProjectTimeButton. 2020-05-20 04:54:21 +10:00
Nyall Dawson
4744696d5a Correctly update temporal properties widgets after loading styles 2020-05-20 03:47:59 +10:00
Nyall Dawson
79f8fd9892 Move reponsibility for saving/restoring temporal properties
to QgsMapLayer::read/writeCommonStyle

Correctly stores these settings in QML files and when duplicating
layers

Fixes #36531, fixes #36530
2020-05-20 03:47:59 +10:00
Denis Rouzaud
1befc328fd fix test 2020-05-19 17:53:48 +02:00
Denis Rouzaud
db4b215d61 remove read lock 2020-05-19 16:07:01 +02:00
Alexander Bruy
f16ee3ed9f use value from context when copying variables from the editor widget
(fix #30641)
2020-05-19 16:52:12 +03:00
Denis Rouzaud
606e4ca53f
fix bad rebase 2020-05-19 14:39:02 +02:00
Denis Rouzaud
1affb0c2d3 remove private constructor 2020-05-19 14:25:01 +02:00
Denis Rouzaud
1915fe2c08 try to move the member 2020-05-19 14:25:01 +02:00
Denis Rouzaud
5d892e78fc remove destructor 2020-05-19 14:21:56 +02:00
Denis Rouzaud
b67f6bf2d9 rename full/relative to global/localized 2020-05-19 14:21:56 +02:00
Denis Rouzaud
74607479cc change mode of locker 2020-05-19 14:21:56 +02:00
Denis Rouzaud
6eae625fac missing lock 2020-05-19 14:21:56 +02:00
Denis Rouzaud
360827ade0 rename QgsBasemapPathRegistry to QgsLocalizedDataPathRegistry 2020-05-19 14:21:55 +02:00
Denis Rouzaud
74c2ccc319 address review 2020-05-19 14:21:55 +02:00
Denis Rouzaud
8f9fbba391 fix insert at position 2020-05-19 14:21:03 +02:00
Denis Rouzaud
714352c682 run test 2020-05-19 14:21:03 +02:00
Denis Rouzaud
85b62695e4 add UX to edit the basemap paths registry 2020-05-19 14:21:03 +02:00
Denis Rouzaud
1ec35d9125 add test for basemap path registry 2020-05-19 14:21:03 +02:00
Denis Rouzaud
6bfc7194e3 handle basemaps in QgsPathResolver 2020-05-19 14:21:03 +02:00
Denis Rouzaud
75a991c09b add the registry to QgsApplication 2020-05-19 14:21:03 +02:00
Denis Rouzaud
b1920bb287 introduce QgsBasemapPathRegistry to hold a list of paths where basemaps can be located 2020-05-19 14:20:04 +02:00
Julien Cabieces
8499e09e28
Don't refresh single pseudo color band classication when min/max hasn't really changed
Fixes #36172
2020-05-19 11:17:17 +10:00
Andrea Giudiceandrea
3fbbc01077 Turn off editing and dragging for current env vars table in System setting 2020-05-19 11:15:15 +10:00
Harrissou Sant-anna
cca23c6bbf [eVis] Display the icons in the dialog 2020-05-19 07:45:44 +10:00
Loïc Bartoletti
2f42d48576 Fix the absence of words in the advanced configuration widget 2020-05-19 07:45:17 +10:00
Loïc Bartoletti
72d19c9016 Allow to search multi paths 2020-05-19 07:43:58 +10:00
Julien Cabieces
01563e6454
[Expression] Do not transform NULL integer as 0 when concat
Fixes #36112 : don't concat null values
2020-05-19 07:41:17 +10:00
Julien Cabieces
dc8b8e9a8f Fix crash when masking widget is not initialized 2020-05-19 07:39:56 +10:00
Alexander Bruy
231a2df2dd sensible defaults for float precision in the Add field dialog, same as
in Field Calculator (fix #16581)
2020-05-19 07:38:01 +10:00
Alexander Bruy
a8dc87f074 sensible defaults for new fields in the New memory layer dialog 2020-05-19 07:38:01 +10:00
Alexander Bruy
5948c3f499 default precision for new double field in the shapefile should be
greater than 0 (refs #16581)
2020-05-19 07:38:01 +10:00
Alexander Bruy
def981cd43 don't pre-select geometry type in the New SpatiaLite layer dialog 2020-05-19 07:38:01 +10:00
Nyall Dawson
3a29831e3f Show hotspots for top level items too 2020-05-19 04:35:34 +10:00