82824 Commits

Author SHA1 Message Date
Mathieu Pellerin
52abcdf11c [themes] Fix Night Mapping checkbox and radiobox not friendly to colour blindness 2023-08-07 13:11:26 +10:00
Nyall Dawson
bb729240f1 Add PyQgsExternalStorageAwsS3 to ci blocklist
The CI setup is no longer working for this test, resulting in
continuous false positives
2023-08-07 13:10:44 +10:00
Andrea Giudiceandrea
3f6e31b206 Use localized format to display release date of plugins 2023-08-07 09:02:08 +10:00
Andrea Giudiceandrea
a471108a91 Remove Esperanto language workaround
QTBUG-57802 has been fixed since Qt 5.12
2023-08-07 09:00:39 +10:00
Nyall Dawson
397328f3c2 Set WITH_DRACO=OFF for macos/mingw ci builds 2023-08-07 08:06:55 +10:00
Nyall Dawson
1dca9b9dbc Treat external includes as system libraries, so we don't get warnings
when compiling them
2023-08-07 08:06:55 +10:00
Nyall Dawson
d611b6840f Add draco to ci containers 2023-08-07 08:06:55 +10:00
Nyall Dawson
731c2e7430 Add draco-devel to Fedora dependencies 2023-08-07 08:06:55 +10:00
Nyall Dawson
40ecc548d8 Add conditional support for linking draco library
Can be opted out by setting WITH_DRACO cmake option to false
2023-08-07 08:06:55 +10:00
Mathieu Pellerin
a75694e190 [ui] Fix hard-to-see connecting arrows and text within the processing's model designer 2023-08-06 05:38:47 +10:00
Mathieu Pellerin
c36dd461a7 [ui] Fix the main window's status bar text color on dark themes 2023-08-06 05:38:16 +10:00
Nyall Dawson
9f6e92623f Fix test 2023-08-05 21:31:49 +10:00
Nyall Dawson
a727b8d8d2 Identation 2023-08-05 21:31:49 +10:00
Nyall Dawson
9f57fb2ef0 Rename "tiled mesh" to "tiled scene"
Better reflects that these types can contain lines and point
data, not just meshes
2023-08-05 21:31:49 +10:00
Mathieu Pellerin
e157a56f96 [ui] Fix black labels on black background in the elevation profile canvas 2023-08-05 19:16:22 +10:00
Mathieu Pellerin
7907b55312 [ui] Fix black labels on black background within color ramp legend items 2023-08-05 19:16:22 +10:00
Mathieu Pellerin
1552ae111b [ui] Fix source fields' virtual field comment widget on dark themes 2023-08-05 19:16:22 +10:00
Juergen E. Fischer
3e774edcb6 grass on windows:
* avoid running grassMm.bat found in the current directory
* avoid finding and running GRASS pager found in the current directory
2023-08-05 10:49:09 +10:00
Alexandre Neto
6f1d39a7f3 update sip 2023-08-05 10:48:51 +10:00
Alexandre Neto
1c30d618aa Try to clean all traces of the Graphical modeler and replace by Model Designer 2023-08-05 10:48:51 +10:00
Mathieu Pellerin
b252da6fb4 [themes] Fix black label on dark layout designer ruler issue 2023-08-05 06:15:07 +10:00
Nyall Dawson
af9e2a6d34 Add method to render triangle on QPainter using triangular portion of texture QImage
Useful for 2d rendering of 3d meshes with a texture
2023-08-05 05:30:41 +10:00
Nyall Dawson
51eb0a7ec6 Add method to generate QTransform which maps one triangle to another 2023-08-05 05:30:41 +10:00
Jean Felder
71cb52608e testqgsexpression: Fix concave_hull multilinestring result
Tested with GEOS 3.11.0, 3.11.1, 3.11.2 and 3.12.0. All these versions
give this result.
2023-08-05 05:08:49 +10:00
Yoann Quenach de Quivillic
93cbddc44b Fix #25694 - Page number in item properties 2023-08-05 05:08:15 +10:00
Nyall Dawson
f862bff87d Try to get oracle test passing again 2023-08-05 05:07:34 +10:00
Nyall Dawson
5a9936d7a1 Fix clang tidy warning 2023-08-05 05:05:46 +10:00
Nyall Dawson
329f84b72a Fix qt6 build 2023-08-05 05:05:46 +10:00
Nyall Dawson
8179e0dacb Fix seealso links 2023-08-05 05:05:46 +10:00
Nyall Dawson
e829939f7f By default fetch whole hierarchy when requesting cesium tiles 2023-08-05 05:05:46 +10:00
Nyall Dawson
5597a2a640 Add flags to QgsTiledMeshRequest 2023-08-05 05:05:46 +10:00
Nyall Dawson
ad4ee07e7c Don't assume that json extensions are always present for content
uris
2023-08-05 05:05:46 +10:00
Nyall Dawson
12bf02cc89 Avoid ambiguity in 'refinement' naming, remove ambiguity about
whether a tile has children available, no children, or not-yet-
fetched children
2023-08-05 05:05:46 +10:00
Nyall Dawson
e1f62940d9 Remove QgsTiledMeshNode from public api 2023-08-05 05:05:46 +10:00
Nyall Dawson
ce0358ef74 Move parent tile ID filter to QgsTiledMeshRequest 2023-08-05 05:05:46 +10:00
Nyall Dawson
c42407143e Add intersects tests for QgsAbstractTiledMeshNodeBoundingVolume 2023-08-05 05:05:46 +10:00
Nyall Dawson
00f63c3b76 Introduce QgsTiledMeshIndex
This is an equivalent of the point cloud index class, with some
notable differences:

- The class is designed to be thread safe. There's a shallow copy
QgsTiledMeshIndex class, which contains an implicitly shared
QgsAbstractTiledMeshIndex object. Tiled mesh data providers will
be accompanied by a concrete class of QgsAbstractTiledMeshIndex.
- The QgsTiledMeshIndex class takes care of thread safety by
protecting the underlying QgsAbstractTiledMeshIndex via a read/write
lock
- Callers can request tiled mesh tiles from the index by calling
QgsTiledMeshIndex::getTiles along with a QgsTiledMeshRequest object.
This will return the unique IDs of tiles matching the request.
Currently only geometric error based filtering is supported
by QgsTiledMeshRequest, but bounding box based filtering will
also be introduced.
- Individual tile details are retrieved by calling
QgsTiledMeshIndex::getTile along with the tile's unique ID.
- A caller can determine whether a specific tile can be further
refined by checking QgsTiledMeshIndex::tileCanRefine. This allows
the caller to check whether more children are available for a
tile, but which haven't yet been fetched (eg due to a sub dataset
tileset which hasn't yet been retrieved)
- A tile can be refined by calling QgsTiledMeshIndex::refineAsync.
(Non async refinement will be introduced later)
- Clients can request tile content by calling
  QgsTiledMeshIndex::retrieveContent. This will either return
a cached version of the content (if available), or retrieve and cache
the content for future retrieval. Currently this uses a custom caching
mechanism, but this will be replaced in future with
QgsTileDownloadManager. (Currently QgsTileDownloadManager lacks support
for blocking gets which is required by the index to avoid use
of local event loops)

The api is implemented by the cesium tiles data provider, which
builds the index upfront from the cesium tiles tileset.json definitions.
2023-08-05 05:05:46 +10:00
Nyall Dawson
08e739fea7 Add class for storing hierarchy tree of QgsTiledMeshTile 2023-08-05 05:05:46 +10:00
Nyall Dawson
c22796d6fe Add QgsTiledMeshRequest
Encapsulates parameters for filtering tiled mesh tiles
2023-08-05 05:05:46 +10:00
Nyall Dawson
0e77729860 Add method to transform a tiled mesh bounding volume via QgsMatrix4x4 2023-08-05 05:05:46 +10:00
Nyall Dawson
f3c987f5e5 Introduce QgsTiledMeshTile
Represents an individual tile from a tiled mesh scene
2023-08-05 05:05:46 +10:00
Alessandro Pasotti
d05ddc5fb9
Merge pull request #54060 from elpaso/bugfix-qgis_process-deadlock
qgis_process: fix unreported deadlock
2023-08-04 16:46:20 +02:00
Alessandro Pasotti
cc7c1052e7 qgis_process: fix unreported deadlock 2023-08-04 12:36:48 +02:00
Nyall Dawson
78c5539c39 Moaw space 2023-08-04 18:09:54 +10:00
Nyall Dawson
aca9bce617 Try to free some space 2023-08-04 18:09:54 +10:00
Alessandro Pasotti
312060fbc0
Merge pull request #54014 from elpaso/auth-oauth2-pkce
OAUTH2 Authorization Code PKCE
2023-08-04 08:50:34 +02:00
Nyall Dawson
87907a812f Remove unnecessary costly forced refresh of legends and replace with
a deferred update
2023-08-04 12:07:58 +10:00
Nyall Dawson
a0cdf36e0f Always defer layout legend model updates till legend is visible
Avoids an upfront cost of handling map theme overrides when loading
legend items in layouts, where the legend is linked to a map
with a map theme set.

This cost will still be incurred later, when the layout is opened.

(The actual root cause of this issue is the EXTREME cost of applying
layer presets in order to retrieve the definition of map themes, but
that's far from trivial to fix)
2023-08-04 12:07:46 +10:00
Nyall Dawson
1b0a1a0eda Modernize test 2023-08-04 12:07:46 +10:00
Mathieu Pellerin
ccdabf30d4 [ui] Fix visual glitches when resizing the overview panel 2023-08-04 09:02:15 +07:00