79714 Commits

Author SHA1 Message Date
Antoine Facchini
46ed1e12bd refacto: replace the parameter name 'i' to 'vertex' 2022-11-29 17:47:53 +01:00
Antoine Facchini
77e9491329 docs: inform users that some expression functions are deprecated 2022-11-29 17:47:52 +01:00
Antoine Facchini
d8131a0791 feature: add x_at, y_at, z_at and m_at expressions 2022-11-29 17:47:52 +01:00
Mathieu Pellerin
ec689c52f1
[wms] Allow for WMTS layers to take DPI into account and scale up on high DPI screens (#51018) 2022-11-29 11:05:43 +00:00
Nyall Dawson
44361ba352 Add flag to opt into including system tables in QgsAbstractDatabaseProviderConnection tables listings 2022-11-29 10:20:46 +01:00
Nyall Dawson
3864de6d66 Another test update 2022-11-29 14:31:36 +10:00
Nyall Dawson
3877db48d2 Fix missing shadows in legend text 2022-11-29 14:31:36 +10:00
Nyall Dawson
f1447bed29 Update tests 2022-11-29 14:31:36 +10:00
Nyall Dawson
d76a80d6e1 Fix possible nullptr dereference 2022-11-29 14:31:36 +10:00
Nyall Dawson
0803809b51 Cleanup code 2022-11-29 14:31:36 +10:00
Nyall Dawson
c2f8e7fb66 Add alternative reference json files for getlegendgraphic tests 2022-11-29 14:31:36 +10:00
Nyall Dawson
3dea6deced More test updates 2022-11-29 14:31:36 +10:00
Nyall Dawson
f18e90eb3e Update tests 2022-11-29 14:31:36 +10:00
Nyall Dawson
c3d5cdecb4 Fix server legend coloring 2022-11-29 14:31:36 +10:00
Nyall Dawson
a5c47eb113 Update test images 2022-11-29 14:31:36 +10:00
Nyall Dawson
662564b41f Update tests 2022-11-29 14:31:36 +10:00
Nyall Dawson
e667ebcd49 Update reference images 2022-11-29 14:31:36 +10:00
Nyall Dawson
7e9bee7905 Update reference images 2022-11-29 14:31:36 +10:00
Nyall Dawson
6b8d53a304 Fix cppcheck warnings 2022-11-29 14:31:36 +10:00
Nyall Dawson
3527257bd1 Deprecate legend line spacing setting, this is now handled in the text
formats
2022-11-29 14:31:36 +10:00
Nyall Dawson
b4ecf8a368 Set larger line heights for legend text formats by default, so that we match old rendering appearance 2022-11-29 14:31:36 +10:00
Nyall Dawson
34df6d129a [feature] Use text renderer in layout legends
This change allows use of the full text renderer capabilities
for legend titles, subtitles, and item text. It allows buffers,
shadows, font spacing control, and all over options (including
mixed HTML formatting!) which is permitted for use in text
formats.
2022-11-29 14:31:36 +10:00
Nyall Dawson
b4d62751db Cleanup includes 2022-11-29 13:10:25 +10:00
Nyall Dawson
86c8d13632 Silence noisy proj debug output 2022-11-29 13:10:25 +10:00
Nyall Dawson
6f8bc19a57 Silence some debug 2022-11-29 13:10:25 +10:00
Nicolas Godet
aa590b7302 Better handling of GDAL progess report 2022-11-29 09:44:42 +10:00
Greg Troxel
98995b2a84 Include <cmath> as required to use std::fabs
Previously, math.h was included instead, but this is C++ code.
2022-11-29 09:33:17 +10:00
Julien Cabieces
7ada1c1ddc [RelationEditor] Don't recreate dualview when only request has changed 2022-11-29 06:49:20 +10:00
Nyall Dawson
8d18f7c51d Fix relationship parent table name is repeated in browser info panel 2022-11-28 10:46:25 +01:00
Nyall Dawson
b35968e147 Don't show a empty geometry field when expanding aspatial GPKG tables in browser 2022-11-28 09:57:38 +01:00
Nyall Dawson
16e572daef Restore alternative silencer method 2022-11-28 11:46:45 +10:00
Nyall Dawson
14bf89c93f Alternative method of silencing clang warnings 2022-11-28 11:46:45 +10:00
Nyall Dawson
26f5683d3c Properly avoid clang warning 2022-11-28 11:46:45 +10:00
Nyall Dawson
5a0e2e25dd Supress clang warning 2022-11-28 11:46:45 +10:00
Nyall Dawson
fe0ab98ee0 Manually monkey patch compatibility, since we can't auto patch to gui classes 2022-11-28 11:46:45 +10:00
Nyall Dawson
0c562b4379 Dox 2022-11-28 11:46:45 +10:00
Nyall Dawson
fa0adc03fe Typo 2022-11-28 11:46:45 +10:00
Nyall Dawson
3efb1e604a Move action enums to Qgis, promote to enum class, and considerably thin
includes as a result
2022-11-28 11:46:45 +10:00
Javier Jimenez Shaw
81ca6f2578 use completeBaseName to make copc copy
this takes the full filename until the last dot.
2022-11-28 08:54:11 +10:00
Alessandro Pasotti
fdbcb2bf08 Fix #50999 GDAL auth config filter 2022-11-28 08:52:01 +10:00
Even Rouault
e86dc3e4f8 [OGR provider] Avoid console error related to gpkg_metadata_reference table
When opening the 'Open Vector Layer' dialog box in a directory with a
.gpkg without the optional metadata tables, the following error was
emitted on the console:
```
ERROR 1: In ExecuteSQL(): sqlite3_prepare_v2(
      SELECT
        ref.table_name, md.metadata, gc.geometry_type_name
      FROM
        gpkg_metadata_reference AS ref
      JOIN
        gpkg_metadata AS md ON md.id = ref.md_file_id
      LEFT JOIN
        gpkg_geometry_columns AS gc ON gc.table_name = ref.table_name
      WHERE
        md.md_standard_uri = 'http://mrcc.com/qgis.dtd'
        AND ref.reference_scope = 'table'
        AND md.md_scope = 'dataset'
      ):
  no such table: gpkg_metadata_reference
```
2022-11-28 08:50:17 +10:00
vcloarec
36157da39e fix bad type 2022-11-28 08:50:02 +10:00
Even Rouault
4f824ef056 [Lint] QgsMeshDatasetGroupStore: make mExtraDatasets a non-pointer member
There's no need to make it a std::unique_ptr<> given it is always
allocated in the constructor, and never assigned to another value. This
removes a useless check for mExtraDatasets != nullptr.

Spotted by cppcheck
2022-11-28 08:50:02 +10:00
Jean Felder
ade4f0cf0f qgscamerapose: Do not restrict the pitch angle with qt6
This was introduced as a workaround for a bug in Qt5. It has been
fixed in Qt6.
2022-11-25 12:20:52 +10:00
Alessandro Pasotti
c2bba3b840 Fix WMS identify (headers getters must be case insensitive)
Fixes #50981
2022-11-25 12:20:10 +10:00
Harrissou Sant-anna
d0903e7e31 Rename oapif subsection title 2022-11-25 12:19:12 +10:00
Harrissou Sant-anna
d67e3c39c5 Fix oapif subsection title 2022-11-25 12:19:12 +10:00
Nyall Dawson
ba9c669b49 Fix source select dialog does not add new pages for providers registered
after QGIS startup (eg when enabling a new plugin), and also ensure
pages are correctly removed when providers are removed
2022-11-25 12:07:49 +10:00
Nyall Dawson
cfbf5ef51d Add more efficient method to draw document when a QgsTextDocument is already available 2022-11-24 12:41:24 +10:00
Nyall Dawson
a10b971156 Add additional text renderer rect modes
Adds some text layout modes where the line heights are based
on cap heights or font ascent alone

These are required in order to port additional parts of QGIS
text rendering to the QgsTextRenderer class
2022-11-24 12:41:24 +10:00