24870 Commits

Author SHA1 Message Date
Alexander Bruy
c0491d6997
Merge pull request #61321 from alexbruy/harmonize-create-options-naming
Harmonize terminology related to create options
2025-04-15 08:06:44 +01:00
qgis-bot
569aa196e7 auto sipify 🍺 2025-04-15 06:08:30 +00:00
Nyall Dawson
005908f073 Expose method to python, rename 2025-04-15 16:05:33 +10:00
Nyall Dawson
8182d8b169 Add python conversion code for QMap<int, int> 2025-04-15 16:05:33 +10:00
Nyall Dawson
44d96a3fdb Fix Python conversion code for Python dict->QMap<QString, int> 2025-04-15 09:03:48 +10:00
Alexander Bruy
78cdb4216b add SIP deprecation tags to deprecated methods 2025-04-14 20:12:15 +01:00
Alexander Bruy
b5019cbfb0
Merge pull request #60945 from alexbruy/processing-export-geometry-info-cpp
port Add geometry attributes algorithm to C++
2025-04-14 20:04:33 +01:00
Alexander Bruy
d7fd6fd619 use more semantic argument name 2025-04-12 11:00:42 +01:00
Alexander Bruy
598233d881 fix test 2025-04-12 11:00:42 +01:00
Alexander Bruy
5bde6fec42 harmonize parameter name in Processing algorithms 2025-04-12 11:00:42 +01:00
Alexander Bruy
dfe0e16660 harmonize terminology related to creation options with GDAL 2025-04-12 11:00:41 +01:00
qgis-bot
5fbef15433 auto sipify 🍺 2025-04-11 20:43:25 +00:00
Nyall Dawson
0e6d5f5593 Properly silence overloaded-virtual warning on Fedora 42 2025-04-12 06:38:32 +10:00
qgis-bot
68ff5ec6b5 auto sipify 🍺 2025-04-11 00:31:38 +00:00
Nyall Dawson
887fffa3dd Fix missing docstring 2025-04-11 10:28:38 +10:00
Nyall Dawson
0fc05051dd Fix docstrings for QgsDateRange/QgsDateTimeRange
We can't rely on sip to generate these -- it outputs malformed
docstrings where the constructor docs are incorrectly placed
before the class docstrings
2025-04-11 10:03:58 +10:00
Nyall Dawson
1046ecccbb Update python/processing/algfactory.py
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2025-04-11 08:08:54 +10:00
Nyall Dawson
4de4173841 Fix list formatting for alg docs
Fixes #42570
2025-04-11 08:08:54 +10:00
Nyall Dawson
54d078ed7a Add missing SIP_OUT annotations
Fixes #54404 (at least, the remaining discernable portions of that ticket)
2025-04-11 05:42:02 +10:00
qgis-bot
80b7ee2058 auto sipify 🍺 2025-04-10 07:57:38 +00:00
qgis-bot
ff7e851921 auto sipify 🍺 2025-04-10 05:39:09 +00:00
Jean Felder
d30c311ab3 qgsgroupwmsdatadialog: Remove Q_DECL_DEPRECATED from constructor
Even though this class is deprecated, this breaks the qt 6 on qt 6.7+.

It looks like this is the only available fix at the moment.

Related:
07d7668c60
2025-04-10 15:36:13 +10:00
qgis-bot
8aa0b6da32 auto sipify 🍺 2025-04-10 04:14:20 +00:00
Alexander Bruy
f5106db020 use fully-qualified enum name in the comments 2025-04-10 14:11:19 +10:00
Alexander Bruy
c0b435994e use enum class instead of plain enum and add test to ensure comparison
with int works
2025-04-10 14:11:19 +10:00
Alexander Bruy
a584e533d9 use enum for return value instead of plain int in the QgsNineCellFilter 2025-04-10 14:11:19 +10:00
qgis-bot
dccbdb5f2e auto sipify 🍺 2025-04-10 01:24:53 +00:00
Nyall Dawson
1f31e41d20 Fix project zip creation from QTemporaryFile
QTemporaryFile creates an empty file in order to reserve the
filename, so we need to allow overwriting of existing files
2025-04-10 11:21:54 +10:00
Julien Cabieces
5675231eb1
Merge pull request #61387 from ptitjano/python-3d-sip
python/cmake: Fix 3d pyi file generation with SIP 4.X
2025-04-09 08:37:39 +02:00
qgis-bot
be26e391bf auto sipify 🍺 2025-04-09 04:07:20 +00:00
Nyall Dawson
06d237366a Fix processing.run docstring formatting 2025-04-09 14:04:24 +10:00
Nyall Dawson
bdb5904283 Fix more malformed docstrings, enforce correct format in sipify 2025-04-09 14:04:24 +10:00
Nyall Dawson
fb645f0e04 Fix another documentation build warning 2025-04-09 14:04:24 +10:00
Nyall Dawson
fc76784e09 Misc documentation fixes causing errors in PyQGIS doc builder 2025-04-09 14:04:24 +10:00
Nyall Dawson
e5327c3749 Fix build error for PyQGIS docs
Correctly convert typehints for c++ pointer arguments
2025-04-09 14:04:24 +10:00
qgis-bot
df91956126 auto sipify 🍺 2025-04-09 03:12:34 +00:00
Nyall Dawson
1e1c415261 Allow data-defined control over legend wrap distance 2025-04-09 13:09:36 +10:00
Nyall Dawson
bbdc235c61 Drop units API for auto wrap distance
This isn't exposed, and needs more thought before it is (should
we use RenderUnits or LayoutUnits?)
2025-04-09 13:09:36 +10:00
Nyall Dawson
61009bdf95 [feature] Add auto-wrap after setting for layout legends
Allows legend text to be automatically wrapped after a set
line length (in millimeters).

This can prevent very wide auto-generated legends.

Sponsored by North Road, thanks to SLYR
2025-04-09 13:09:36 +10:00
Jean Felder
22380d2d1e
python/cmake: Fix 3d pyi file generation with SIP 4.X
the pyi names start with a '_'.

Trying to install a QGIS with the python support generated from SIP 4 fails with this error:

```
-- Set non-toolchain portion of runtime path of "/usr/local/share/qgis/python/qgis/_gui.so" to ""
CMake Error at python/cmake_install.cmake:142 (file):
  file INSTALL cannot find
  "/home/XXXX/build/output/python/qgis/_3d_p.pyi": No such file or
  directory.
Call Stack (most recent call first):
  cmake_install.cmake:72 (include)
```

This is because, the generated pyi file is named `3d_p.pyi` and not  `_3d_p.pyi`
This is fixed by adding the missing underscore.

Related: https://github.com/qgis/QGIS/pull/58562
Related: https://github.com/qgis/QGIS/pull/58534
2025-04-08 18:20:50 +02:00
qgis-bot
b4b304c340 auto sipify 🍺 2025-04-07 23:43:24 +00:00
JuhoErvasti
baddfc2499 Address review 2025-04-08 09:40:21 +10:00
JuhoErvasti
6a757be985 Implement toggleComment for QgsCodeEditorExpression 2025-04-08 09:40:21 +10:00
Alexander Bruy
0cbfa928c6 more complete test for merge vector layers algorithm for the case when
fields have different length and precision (follow-up #60842)
2025-04-08 09:20:39 +10:00
qgis-bot
9067198dc6 auto sipify 🍺 2025-04-07 12:04:34 +00:00
Julien Cabieces
68dd8200c1
Merge pull request #61195 from troopa81/feat_groupwmsdata
[Server] Add server properties on layer tree group
2025-04-07 14:01:35 +02:00
qgis-bot
7862775d08 auto sipify 🍺 2025-04-07 08:23:47 +00:00
Mathieu Pellerin
6771869a30
[symbology] Fix [categorized,graduated] symbol renderer UUID collision leading to unstable experience (#61292) 2025-04-07 15:20:53 +07:00
Jorge Gustavo Rocha
b801b255cc Fix Qt6 Python sip type error 2025-04-07 11:17:26 +10:00
qgis-bot
117a69e465 auto sipify 🍺 2025-04-06 05:01:21 +00:00