84381 Commits

Author SHA1 Message Date
Nyall Dawson
b674a7c35d Add method to format processing output values as strings 2024-01-09 17:02:21 +10:00
Nyall Dawson
3e7d376953 Add method to push formatted text to Processing feedback
Provides a method for algorithms to push HTML contents to the log
(the other feedback methods all escape HTML strings to strip
formatting characters)
2024-01-09 17:02:21 +10:00
uclaros
b55bea8987 tune tests 2024-01-08 05:20:26 -08:00
uclaros
35ea603f80 add labeling tests 2024-01-08 05:20:26 -08:00
uclaros
c8468d45e0 cmon sip... 2024-01-08 05:20:26 -08:00
uclaros
bd04f31c13 add comment 2024-01-08 05:20:26 -08:00
uclaros
02ab91329b address review 2024-01-08 05:20:26 -08:00
uclaros
103e6dd0e6 ok sip 2024-01-08 05:20:26 -08:00
uclaros
b2d7a9fd57 ok sip 2024-01-08 05:20:26 -08:00
uclaros
f0ec3a0aea finalize mesh label rendering 2024-01-08 05:20:26 -08:00
Alexander Bruy
9ded559386 initial support for mesh labeling 2024-01-08 05:20:26 -08:00
Alessandro Pasotti
452c344b1e
Merge pull request #55782 from elpaso/bugfix-gh55711-rat-dbf-save
RAT: fix save to DBF
2024-01-08 13:31:58 +01:00
Alessandro Pasotti
34a6f5024b RAT: fix save to DBF
Fix #55711
2024-01-08 13:03:35 +01:00
Nyall Dawson
50a31065ab Add framework to temporarily halt flushing of QgsSettings to ini
This adds a mechanism where flushes of QgsSettings to the underlying
ini storage file can be temporarily suspended. It is intended for
code paths where many settings entries are consecutively read/written,
to avoid the very expensive cost of constructing and destructing
multiple QgsSettings objects for each in turn.

When QgsSettings::holdFlush() is called, then a temporary thread local
QgsSettings object will be created and ALL access to settings entries
will use this same object (preventing flushing of it to ini files).
An accompanying QgsSettings::releaseFlush() call MUST be made from
the same thread to destroy the thread local QgsSettings, flush it
to disk, and resume normal operation.

This helps avoid the VERY costly backward migration of settings,
and cuts the run time for qgis_process commands like `qgis_process list`
by at least half (and considerably more in common setups).
2024-01-08 18:58:14 +10:00
Nyall Dawson
5ac17746de Lazy initialize authentication framework
QCA and SSL certificate initialize can be costly -- so defer
startup of authentication framework until it is actually required.

This has no effect on QGIS desktop, as the news feed request
and other startup network requests will immediately trigger
an initialization of the framework. The use case here is improving
the core application startup time to benefit non-app based clients,
eg. qgis_process.
2024-01-08 17:21:07 +10:00
Alessandro Pasotti
9a86bf519b
Merge pull request #55759 from Joonalai/sparse-pgrasters
Fix sparse postgres rasters from disappearing
2024-01-07 18:02:23 +01:00
Alessandro Pasotti
8d70d4ba5f
Merge pull request #55751 from pathmapper/gfi_formatting
[server] Improve WMS GetFeatureInfo text/html output
2024-01-07 16:43:55 +01:00
pathmapper
4763dd0170 Test also layer server Abstract
ref https://github.com/qgis/QGIS/pull/55751#pullrequestreview-1807328965
2024-01-06 17:12:06 +01:00
pathmapper
1ba6f2c482 Update more tests 2024-01-06 05:30:22 +01:00
Nyall Dawson
9a0cbc0051 Build grass plugin on qt6 ci 2024-01-06 14:10:22 +10:00
Nyall Dawson
d77765f56d Fix mac build 2024-01-06 14:10:22 +10:00
Nyall Dawson
73e9d7ed84 Allow building grass support under qt6 builds 2024-01-06 14:10:22 +10:00
Mathieu Pellerin
e06c8ee3df [tiledscene] Catch type error exception when parsing tilesetVersion 2024-01-06 06:13:46 +10:00
Joonalai
37c890e9cf Prevent cache from being invalidated with sparse rasters
Fixes #55753
2024-01-05 09:26:57 +02:00
Joonalai
4591da0324 Test for regression #55753 sparse pgrasters
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
2024-01-05 09:26:57 +02:00
Nyall Dawson
dfd2686866
Disable msys2 workflow for now
Refs https://github.com/qgis/QGIS/issues/55761
2024-01-05 08:52:02 +10:00
pathmapper
cbc01f0f59 Update Postgres tests 2024-01-04 22:31:01 +01:00
pathmapper
fddb236398 Produce valid content for strings with HTML tag chars
Tests added, ref https://github.com/qgis/QGIS/pull/55751#discussion_r1441459922
2024-01-04 18:23:42 +01:00
Mathieu Pellerin
976ffd51d6
Merge pull request #55718 from nirvn/cmyk_encode_decode
[core] Rely on QgsColorUtils encoding/decoding to handle CMYK
2024-01-04 22:29:04 +07:00
Alessandro Pasotti
5b50eab19a
Merge pull request #55547 from gacarrillor/patch-3
Some love for .mailmap
2024-01-04 15:07:08 +01:00
Mathieu Pellerin
e3c5359d89 Insure that QgsColorUtils::colorFromString handle hex color strings 2024-01-04 14:10:41 +07:00
pathmapper
b9f2825204 Address code review, improve HTML formatting, fix remaining test 2024-01-04 08:06:32 +01:00
Mathieu Pellerin
58ff964194 Fix QgsMapBoxGlConverter and QgsSymbolLayerReadSld tests 2024-01-04 10:49:06 +07:00
Mathieu Pellerin
2fcf6a4375 Fix QgsLayoutMapOverview test 2024-01-04 10:49:06 +07:00
Mathieu Pellerin
0bf5f90d64 Fix creation of QgsGradientColorRamp stops from properties 2024-01-04 10:49:06 +07:00
Mathieu Pellerin
f0b4c067f5 Fix typo in QgsColorUtils::colorToString 2024-01-04 10:49:06 +07:00
Mathieu Pellerin
673f0b198a [core] Rely on QgsColorUtils encoding/decoding to handle CMYK 2024-01-04 10:49:06 +07:00
Nyall Dawson
d4a76a48d0
Update test mask 2024-01-04 07:23:03 +10:00
Björn
fe09179249
Update src/server/services/wms/qgswmsrenderer.cpp
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
2024-01-03 15:30:13 +01:00
Even Rouault
6880909ee7 [OAPIF] Fix bad performance on servers with large /api response documents (fixes #55740) 2024-01-03 12:53:47 +10:00
Nyall Dawson
8d03902d60 Update test masks 2024-01-03 12:40:55 +10:00
Nyall Dawson
c644bb79db Fix handling of opacity with custom phong material 2024-01-03 12:40:55 +10:00
Nyall Dawson
abf6753a99 Use same phong shader function for non data defined colors
Ensures that the same results are obtained for both the
data defined and non-data defined color situations, and ensures
that https://bugreports.qt.io/browse/QTBUG-77665 does not
impact the non-data defined color case.
2024-01-03 12:40:55 +10:00
Nyall Dawson
3728a242ea
Fix labeler workflow
Refs https://github.com/actions/labeler/issues/112
2024-01-03 09:07:49 +10:00
Nyall Dawson
ad4898d13d Revert "Bump actions/upload-artifact from 3 to 4"
This reverts commit e87e19d549a848be26acf62f10792b28e441785a.
2024-01-02 20:57:50 +10:00
dependabot[bot]
3d0706dbcd Bump tj-actions/changed-files from 40 to 41
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v40...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:43:10 +10:00
dependabot[bot]
5eaff934b9 Bump actions/labeler from 4 to 5
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:42:44 +10:00
dependabot[bot]
c885aba1c5 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:42:12 +10:00
dependabot[bot]
e87e19d549 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:41:40 +10:00
dependabot[bot]
6a6b1e1fd5 Bump actions/stale from 8 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:41:01 +10:00