21716 Commits

Author SHA1 Message Date
Nyall Dawson
e670ed334d Allow a "destination" QgsMapLayerStore to be associated with a
QgsExpressionContext, providing a place for layers loaded
during expression preparation/evaluation to be stored

There are no destination stores set by default. The store
is likely to be set only in a limited number of circumstances,
eg in expression contexts used by Processing where we already
have a logical temporary layer store to use (via QgsProcessingContext)
2023-01-09 14:35:50 +10:00
pathmapper
111b5a7c6d Small adjustments 2023-01-09 12:03:50 +10:00
pathmapper
0e533cda96 Make attribution more informative and translatable 2023-01-09 12:03:50 +10:00
pathmapper
9bcce8d9c7 Remove optional Leaflet attribution prefix 2023-01-09 12:03:50 +10:00
pathmapper
361faa9224 Update Leaflet to latest release 2023-01-09 12:03:50 +10:00
Mathieu Pellerin
cf0dae76b2 [processing] Don't load default style when creating a memory sink 2023-01-07 10:21:37 +07:00
Yoann Quenach de Quivillic
1c79b4927d
[feature][console] Add toggle comment action in the python console (#50341)
Adds a toggle comment action in the Python Console and script editors
2023-01-07 09:27:08 +10:00
Yoann Quenach de Quivillic
f6c0bda4c5 Add userProfileManager in QgisInterface (iface)
Fixes #48337
2023-01-06 10:46:50 +01:00
Julien Cabieces
f4d2f27fbd
Merge pull request #51215 from uclaros/fix-relation-multi-completer
Allow filtering in value relation widget when allowing multiple selections
2023-01-03 15:59:52 +01:00
Sandro Mani
caadcb42e8 Move QgsProviderSublayersDialog to GUI 2023-01-03 11:34:52 +01:00
Nyall Dawson
7297f7aa9e Fix PyQGIS documentation for QgsFeature.setAttribute
Fixes #51276
2023-01-03 18:16:45 +10:00
Mathieu Pellerin
2aacff1d46
[gps] Catch NMEA UTC times for date-less streams (#51346) 2023-01-01 12:31:15 +00:00
Harrissou Sant-anna
0dffc593e2 Add missing blank line to allow parameters display in docs 2022-12-31 06:56:48 +10:00
Harrissou Sant-anna
f1f7b7ab12 Fix see also blocks misformatting 2022-12-31 06:56:48 +10:00
Alessandro Pasotti
0aeb6dc760
Merge pull request #51277 from elpaso/sld-export-options-svg
Add SLD export context
2022-12-28 09:34:12 +01:00
Alessandro Pasotti
85da91eb83
Merge pull request #51260 from elpaso/bugfix-gh22172-sld-else-export
SLD: <se:ElseFilter/> nor working when styling data with sld
2022-12-28 09:33:57 +01:00
Alessandro Pasotti
d7ad954bc5
Merge pull request #51253 from tudorbarascu/selecticon
add "Select Within Distance" icon to the Selection Toolbar
2022-12-21 11:56:45 +01:00
Alessandro Pasotti
f84a0a8647 More doxy 2022-12-21 11:31:25 +01:00
Alessandro Pasotti
644a99dd6e Doxy 2022-12-21 11:26:20 +01:00
Alessandro Pasotti
118c956cff Add SLD export context 2022-12-21 11:09:03 +01:00
Matthias Kuhn
73be65fc7d
Merge pull request #51250 from fghoussen/fix_build_debian 2022-12-17 13:00:36 +01:00
Matthias Kuhn
f591542ffe
Merge pull request #50740 from DelazJ/txIssues 2022-12-17 08:37:12 +01:00
Alessandro Pasotti
c552ab64c2 SLD ElseFilter support 2022-12-16 17:05:34 +01:00
Franck HOUSSEN
a33e2bcef9 [BUG FIX] Fix compilation on debian:
In file included from /path/to/QGIS/build/python/core/auto_generated/pointcloud/qgspointcloudlayerexporter.sip:242:
/path/to/QGIS/src/core/pointcloud/qgspointcloudlayerexporter.h:28:10: fatal error: pdal/PointView.hpp: No such file or directory
   28 | #include <pdal/PointView.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
2022-12-16 16:57:53 +01:00
Alessandro Pasotti
8b5e9c4b29
Merge pull request #51218 from elpaso/bugfix-gh51200-rat-editing
Raster Attribute Table GUI enhancements/fixes
2022-12-16 13:45:35 +01:00
Harrissou Sant-anna
7da101acbe Fix GeometryOperationResult enums documentation 2022-12-16 11:23:02 +01:00
Harrissou Sant-anna
d249049256 make params easier to find in PyQgsSettingsEntryEnumFlag docs 2022-12-16 11:23:02 +01:00
Denis Rouzaud
b983c5afeb fix docs 2022-12-16 09:09:57 +01:00
Denis Rouzaud
da4865872c [settings] add new type for variant map: QgsSettingsEntryVariantMap 2022-12-16 09:09:57 +01:00
Nyall Dawson
c43b558901 Upgrade raster enums to enum class, and remove some completely unused
enums
2022-12-16 12:01:44 +10:00
Nyall Dawson
769c68b591 [api][expressions] Allow additional map layer stores to be associated
with an expression context

This allows the various expression functions which can refer to
layers to also locate layers stored in these additional,
non-QgsProject::instance, store.

The immediate use case is paving the way for expressions to access
temporary layers created during the execution of processing jobs
(ie model steps). (This is just an API building block toward that
goal)
2022-12-16 03:37:26 +10:00
Nyall Dawson
9a8b8b160d Fix thread safety in raster layer rendering
We were cloning the data provider correctly, but doing this on the
main thread means that the provider has thread affinity with the
main thread -- so we need to ensure it is moved over to the
actual rendering thread prior to the rendering.
2022-12-15 14:50:08 +10:00
signedav
15a6f6a616 remove doc note 2022-12-15 14:42:15 +10:00
signedav
115d822bb8 remove SIP_SKIP on hasCheckedStateInfo and setHasCheckedStateInfo to be able to create full map theme record settings 2022-12-15 14:42:15 +10:00
Nyall Dawson
515ce71df2 Remove unused enum 2022-12-15 12:26:49 +10:00
Alessandro Pasotti
f09aabc96c Raster Attribute Table GUI enhancements/fixes
Fixes #51200 and more small GUI/UX related glitches:

- locale aware double input (consitent behavior with the vector attr
  table and the widgets)
- locale aware double formatting (same logic of the vector fields of type double.
- right-alignment of double fields
- wrong tooltip for last column
2022-12-14 16:07:55 +01:00
uclaros
111753a13b remove hack when stopping editing 2022-12-14 12:35:55 +02:00
Nyall Dawson
8921e696e7 Make iteration of features from vector layers with joins actually thread safe 2022-12-14 18:19:05 +10:00
Alessandro Pasotti
507851224d Server WFS: add srsName support to JSON output 2022-12-14 14:48:22 +10:00
Nicolas Godet
630e00851c
Add help for GRASS creation and metadata options 2022-12-12 11:31:44 +01:00
Denis Rouzaud
6c48145e75
Merge pull request #51117 from 3nids/settings-registry-migration-core-2
migrate babel devices settings
2022-12-12 08:57:31 +01:00
Harrissou Sant-anna
d6b5b070d8 Remove unicode string notifier from python files 2022-12-11 08:58:21 +01:00
Harrissou Sant-anna
9f127b2815 More string fixes and make a few more available for translation 2022-12-11 07:37:55 +01:00
Even Rouault
4ee8225acb
Merge pull request #51102 from DelazJ/createMapRendererV2
Correctly render ordered list in maplayerrenderer API docs - take 2
2022-12-09 20:42:50 +01:00
Denis Rouzaud
8ca06eaa96
Merge branch 'master' into settings-registry-migration-core-2 2022-12-09 11:21:52 +01:00
Harrissou Sant-anna
79bd12c207 Fix typos in QGIS Server service_url docs 2022-12-09 13:24:37 +10:00
Nyall Dawson
2cecb3fc5d Add API to allow storage of GPS component information in recorded
track/point geometry m values
2022-12-08 15:07:12 +10:00
Nyall Dawson
59332bb40d [processing] Fix incorrect GDAL raster calc sources for layers when
the extent handling option is set
2022-12-08 12:06:02 +10:00
Denis Rouzaud
99a1390a19 migrate babel devices settings 2022-12-05 10:57:40 +01:00
Denis Rouzaud
a77d626991 API to migrate settings from old key 2022-12-05 10:51:11 +01:00