Julien Cabieces
f6d60e8bfa
style(PdfExport): Avoid ugly static cast
2024-09-04 09:06:41 +10:00
Julien Cabieces
7902849db7
style(PdfExport): one lining styleSetting condition
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-09-04 09:06:41 +10:00
Julien Cabieces
9466812765
fix(PdfExport): check for null project
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-09-04 09:06:41 +10:00
Julien Cabieces
0cebe5ada8
fix(ExportPdf): write correctly utf-8 chars in XML
2024-09-04 09:06:41 +10:00
Julien Cabieces
9a9d35f94f
style(ExportPdf): make spellcheck happy
2024-09-04 09:06:41 +10:00
Julien Cabieces
5c272f78d0
fix(PdfExport): Rewrite XMP metadata writing to escape XML chars
2024-09-04 09:06:41 +10:00
Julien Cabieces
3abddf2980
feat(CMYK): Generate a valid PDF/X-4 file
...
When a colorspace has been defined, we generate a valid PDF/X-4 file.
2024-09-04 09:06:41 +10:00
Juergen E. Fischer
f6799dba43
fix sip_check failure
2024-09-04 09:04:50 +10:00
Juergen E. Fischer
50c03ccf02
apply osgeo4w patches
2024-09-04 09:04:50 +10:00
qgis-bot
d46973d9c1
auto sipify 🍺
2024-09-03 20:35:11 +00:00
Nyall Dawson
f2e4c3dfb7
Don't mangle http see links in PyQGIS docs
2024-09-04 06:32:03 +10:00
Nyall Dawson
534ca73c59
Fix missing see also trailing notes in PyQGIS documentation
2024-09-04 06:32:03 +10:00
Nyall Dawson
4628bc9d85
More \see cleanups
2024-09-04 06:32:03 +10:00
Nyall Dawson
b89a1f9f1c
Remove broken see also links
2024-09-04 06:32:03 +10:00
Nyall Dawson
0f1daa11f3
Fix formatting of some \see links
2024-09-04 06:32:03 +10:00
Juergen E. Fischer
640f2801f2
fix 3d.pyi install (followup da317dd8dea0)
...
$ find build -name "*3d*.pyi"
build/python/3d/build/_3d_p/_3d_p.pyi
2024-09-04 05:26:12 +10:00
Nyall Dawson
bd5c5b31ff
Fix CRS flagged as invalid from standalone code
...
Correctly handle the situation where multiple
QgsCoordinateReferenceSystemRegistry objects are created. This can
happen when something tries to create a CRS before the
QgsApplication is properly constructed.
In this situation the std::once calls were incorrectly causing
the member cached objects to only be populated for the FIRST
registry created.
Move to static objects were possible, and use a local mutex
to protect other create-once, registry specific caches.
Fixes #55161
2024-09-04 05:25:24 +10:00
Alessandro Pasotti
fbf9edfb5d
Add referencingFieldsAllowNull
2024-09-03 16:47:49 +02:00
qgis-bot
c774d6cd77
auto sipify 🍺
2024-09-03 13:56:24 +00:00
Mathieu Pellerin
03af916099
Merge pull request #58548 from nirvn/smart_disk_cache
...
[network] Implement a smart cache size
2024-09-03 20:53:16 +07:00
Mathieu Pellerin
f0085c622e
Upgrade settings
2024-09-03 15:08:52 +07:00
Alessandro Pasotti
b6fdb69209
Fix default AllowNotNULL for relation ref wdgt
...
Fix #52219
Followup #58361 , this fixes the default before the config
is actually saved.
While #58361 fixed the default in the config dialog, the default
was not effective if the config wasn't saved.
2024-09-03 07:38:46 +02:00
Mathieu Pellerin
98c5c49087
Address review
2024-09-03 07:57:38 +07:00
Nyall Dawson
b53968c771
Fix warning
2024-09-03 08:16:56 +10:00
Julien Cabieces
1fe370540d
fix(Expression): clamp color components
2024-09-03 07:39:05 +10:00
Julien Cabieces
7829b378ea
fix(Expression): Returns QVariant for invalid color
2024-09-03 07:39:05 +10:00
Julien Cabieces
3fd6c3bdfe
feat(Expression): Add color_hsvf
...
Contrary to color_hsv, color_hsvf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Julien Cabieces
15bae7e6ab
feat(Expression): Add color_hslf
...
Contrary to color_hsl, color_hslf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Julien Cabieces
53db863fe2
feat(Expression): Add color_cmykf
...
Contrary to color_cmyk, color_cmykf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Julien Cabieces
3203704931
feat(Expression): Add color_rgbf
...
Contrary to color_rgb, color_rgbf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Benoit D.-M. - oslandia
1449978816
Fix/export 3d scene ( #58541 )
...
* fix(qgs3dexportobject): saveTo was using bad algorithm to access vertices from indexes.
As we can have holes in the face list and we only write vertices from theses faces then
the vertex list in the obj is not the whole from mVertexPosition! So we have a like
"compressed" the section vertex/normal.
Then when saving the indexes (ie. faces) we do not need to use the 'mIndexes[i]' value
anymore but only the 'i' value.
* fix(testqgs3dutils): use QGSCOMPARELONGSTR and files instead of long strings
* fix(qgs3dsceneexporter): allow findAttribute to find attribute only by type
* fix(qgs3dsceneexporter): improve null/no data detection and error log.
* fix(3dsceneexporter): improve code readability and index filtering to avoid feature duplication
* fix(testqgs3drendering): improve 3d scene export tests
* use QGSCOMPARELONGSTR
* improve generated file names
* add more complex cases with buildings and dem.
2024-09-03 07:36:48 +10:00
Julien Cabieces
94863b435e
Merge pull request #58534 from nyalldawson/fix_3d_import
...
Fix PyQGIS 3D module patching
2024-09-02 11:21:11 +02:00
Julien Cabieces
e6ae6a3981
Merge pull request #58553 from nyalldawson/fix_deprecated_enum_values_documented
...
Fix PyQGIS docstrings for monkey patched enum values
2024-09-02 11:04:37 +02:00
Denis Rouzaud
4d150a8270
support multiple URLs/sources for vector tiles ( #58155 )
...
* support multiple URLs/sources for vector tiles
* fix ++ op
* fix test
* address review
* review suggestions
* fix clazy warnings
* fix clazy warnings
* again
2024-09-02 09:08:13 +02:00
Nyall Dawson
50408edac6
Fix PyQGIS docstrings for monkey patched enum values
...
We should be using the new name for the enum value instead
of the old one in the enum class docstring.
Move the old compatible name to an extra note
"Available as ``xx.yy`` in older QGIS releases."
Fixes #49171
2024-09-02 11:43:23 +10:00
Nyall Dawson
1a974f5841
Update
2024-09-02 11:42:12 +10:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
081c258e12
Require version number for \deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
d070534729
Add "3.40" as version for all \deprecated annotations without version
...
Since we didn't capture the actual version information at the
time of deprecating these, it's basically impossible to retrieve
that information now. Use the most conservative version possible
and tag all these with version 3.40 instead.
2024-09-02 11:42:12 +10:00
Nyall Dawson
3fda72f7d7
Standardise some deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
4febad6f0c
Standardise some deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
765cbb32db
Standardise some deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
9ea1ddbe64
Apply suggestions from code review
2024-09-02 09:54:52 +10:00
Simon Lopez
79a34fd721
Rename elevation profile widget
...
This adds a menu item in the Options sub-menu to change the windows name
to something meaningfull to the user.
2024-09-02 09:54:52 +10:00
dependabot[bot]
5d02a5bbf8
Bump tj-actions/changed-files from 44 to 45
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44 to 45.
- [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/v44...v45 )
---
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-09-02 08:25:34 +10:00
Mathieu Pellerin
f8450ad170
[network] Implement a smart cache size
2024-09-01 16:32:46 +07:00
Nyall Dawson
343709f48a
Always use correct \since annotation for enum values
2024-09-01 02:29:17 +10:00
Nyall Dawson
d318cdb992
Standardise some since annotations
2024-09-01 02:29:17 +10:00
Nyall Dawson
2af54ad057
Fix malformed python docstrings when enum value has \since annotation
2024-09-01 02:29:17 +10:00
Nyall Dawson
2215a8c5df
Revert "Always enable Live Update in layer styling dock"
...
This reverts commit 5d11440dc1212f98a433d40a8e0752de4001ed3d.
2024-08-31 07:12:42 +10:00