72383 Commits

Author SHA1 Message Date
Nyall Dawson
0dfd561e4a Clarify ambiguous test 2021-07-23 14:57:56 +10:00
Nyall Dawson
d1f2031283 nc shouldn't be in inexpensive list 2021-07-23 14:57:56 +10:00
Nyall Dawson
23bd6a8ea1 .shp.zip is a potential container 2021-07-23 14:57:56 +10:00
Nyall Dawson
c7c97101d3 [gdal] Correctly implement FastScan for querySublayers 2021-07-23 14:57:56 +10:00
Nyall Dawson
8349457267 Skip empty layers in mdal querySublayers 2021-07-23 14:57:56 +10:00
Nyall Dawson
c5163e9634 [mdal] Respect FastScan flag when querying sublayers 2021-07-23 14:57:56 +10:00
Nyall Dawson
816bb43c96 [ogr] Correctly handle FastScan flag in querySublayers by performing
an extension only scan for files/folders
2021-07-23 14:57:56 +10:00
Nyall Dawson
f6540193c5 If a sublayer has the skippedContainerScan flag set, then
the sublayer details are incomplete
2021-07-23 14:57:56 +10:00
Nyall Dawson
e28a0b7258 Add flag to QgsProviderSublayerDetails to indicate that the uri
may be a container for other sublayers but that indepth scanning
of the container was skipped
2021-07-23 14:57:56 +10:00
Nyall Dawson
e6f0c928d8 [mdal Passing a direct layer uri to querySublayers should be acceptable 2021-07-23 14:57:56 +10:00
Nyall Dawson
9f63037bab [gdal] Populate sublayer driver name 2021-07-23 14:57:56 +10:00
Nyall Dawson
4a7692c4ed Populate sublayer driver name for OGR layers 2021-07-23 14:57:56 +10:00
Nyall Dawson
6c2d7bd7c9 Add driver name to QgsProviderSublayerDetails 2021-07-23 14:57:56 +10:00
Nyall Dawson
8b1c8d10e8 Silence GDAL warnings while querying sublayers 2021-07-23 14:57:56 +10:00
Nyall Dawson
7dc51d93d5 Use querySublayers in QgsVectorLayerSaveAsDialog to determine sublayers of an existing file
...instead of older deprecated sublayers handling
2021-07-23 11:45:27 +10:00
Nyall Dawson
5dbd7863b8 Fix build 2021-07-23 11:34:31 +10:00
Nyall Dawson
b34238bd19 Use querySublayers to populate database layers in QgsOgrDbSourceSelect 2021-07-23 11:34:31 +10:00
Nyall Dawson
de2e979e15 Fix build 2021-07-23 11:33:18 +10:00
Nyall Dawson
32a9ca270e Use querySublayers to populate Geopackage data items
...instead of older deprecated sublayers API
2021-07-23 11:33:18 +10:00
Keigo Imai
c34cfeb43b update sip file 2021-07-23 11:30:34 +10:00
Keigo Imai
c7a7ec3ba8 Update src/gui/qgisinterface.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-07-23 11:30:34 +10:00
Keigo Imai
811a0353a5 Add activeDecorations to iface object
Allow plugins and scripts to export animations with decorations
2021-07-23 11:30:34 +10:00
Nyall Dawson
09297ed95e Cleanup style upgrade loop
Refs https://github.com/qgis/QGIS/pull/44038/files#r663350654
2021-07-23 11:05:31 +10:00
Nyall Dawson
f818a620fe Create QgsGdalUtils::pathIsCheapToOpen
Returns true if a dataset is considered "cheap" to open.

The logic is very rudimentary for now, and considers only the file
size of a few hardcoded formats.
2021-07-23 10:57:21 +10:00
Sandro Santilli
5455e912eb Do not ignore .install and .lintial-overrides 2021-07-23 09:23:13 +10:00
Sandro Santilli
e1ccc844ba Ignore some more generated files 2021-07-23 09:23:13 +10:00
Nyall Dawson
6527d59118 Cleaner loop 2021-07-22 21:00:52 +10:00
Nyall Dawson
94417729bc Use proper icon for unknown/collection geometry types, instead
of always using polygon icon
2021-07-22 21:00:30 +10:00
Nyall Dawson
2fbcf30a4d Add a proper icon for geometry collections 2021-07-22 21:00:30 +10:00
Nyall Dawson
2fa296cfe5 Move utility functions to QgsOgrProviderUtils 2021-07-22 20:58:44 +10:00
Nyall Dawson
5067245c4d Fix misleading messages when trying to delete ogr sublayer 2021-07-22 20:58:28 +10:00
Denis Rouzaud
30e3f46edf
cmake fixes to static providers (#44326) 2021-07-22 09:20:01 +00:00
Denis Rouzaud
9af959afb8
fix DISTRO_VERSION argument (#44324) 2021-07-22 09:26:58 +02:00
Denis Rouzaud
117b43943a
Merge pull request #44328 from qgis/3nids-patch-1
fix typo
2021-07-22 09:26:30 +02:00
Stefano Campus
552e0a832d Update tsstat.pl
Add a reporter in Italian translators team.
2021-07-22 08:58:15 +02:00
Nyall Dawson
5246257e8a Cleaner API for QgsProviderUtils::sublayerDetailsAreIncomplete,
add flag to ignore unknown geometry types
2021-07-22 14:54:13 +10:00
Julien Cabieces
da03027583 [Oracle] Fixes #40001 : Use QgsTask to retrieve available tables so we can properly
cancel it
2021-07-22 13:45:56 +10:00
Nyall Dawson
0a63349d3e When dragging a vector layer with unknown geometry type from browser,
ensure the sublayers dialog is shown if the layer has unknown
geometry type

Fixes dragging geometry collection files like .tab files only adds
layer with one geometry type
2021-07-22 11:46:10 +10:00
Harrissou Sant-anna
d23c46bc6e Move "Offset from label" and "Offset from feature" close to each other 2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
b71182516f Typo fix 2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
e7c55e3365 Some Qt Designer automatic fixes (indentation, widget...) 2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
0843dfcc3f Emphasize that anchor point refers to feature side 2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
1fe044287f Move up Margins group 2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
9af76046be Reorganize balloon callout dialog
- Group properties of the same type (rendering vs relation with feature)
- Fix indentation, blend mode DD button misalignment
- Fix tab order
- Some Qt Designer fixups
2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
751ca17db2 Reorganize linear callouts dialog
- Group callout properties of the same type (rendering vs relation with feature)
- Fix tab order
2021-07-22 10:34:29 +10:00
Harrissou Sant-anna
d65204601e Use a meaningful name for label widgets 2021-07-22 10:34:29 +10:00
Even Rouault
b3c5cf8d5f Change prototypes of extern functions of C++ plugins...
... to fix the -Wreturn-type-c-linkage warnings.

The methods that returned a QString now return a const QString*.

This is a breakage for out-of-tree native plugins.
2021-07-22 10:33:34 +10:00
Alessandro Pasotti
276d1980f8 Address PR comments and add ENUM for widget mode 2021-07-22 10:18:13 +10:00
Alessandro Pasotti
387c403c2f First nail in the coffin of DB Manager
Replace DB Manager legend custom menu action with
C++ implementation for SQL layer
2021-07-22 10:18:13 +10:00
Alessandro Pasotti
f5946a184b Unfinished attempt to use query result widget for SQL layer updates 2021-07-22 10:18:13 +10:00