Juergen E. Fischer
8dde0b1fdc
tstat.pl: switch to Locales
2021-06-26 18:59:37 +02:00
Nyall Dawson
711a615be3
Fix raises sphinx format
2021-06-25 10:50:04 +10:00
Nyall Dawson
2328f4fad8
Fix sipify handling of long long return types
2021-06-22 08:43:39 +10:00
Nyall Dawson
7b19333442
Fix list formatting
2021-06-10 11:03:43 +10:00
Nyall Dawson
49e48f9383
Better approach to avoid duplicate docs
2021-06-10 11:03:43 +10:00
Nyall Dawson
4ff3f447dc
Don't try to insert links in raises blocks in PyQGIS docs
...
These aren't formatted correctly if we do
2021-06-10 11:03:43 +10:00
Matthias Kuhn
c6fdec8fca
Merge pull request #43238 from sshuair/master
...
add a new Chinese simplified translator
2021-06-02 07:07:06 +02:00
Denis Rouzaud
e7ccf1fcc6
also do non scoped enums
2021-05-31 09:36:21 +02:00
Denis Rouzaud
759e3db119
[sipify] add attribute to know if an enum is monkey patched
...
this way it can be easily removed from the PyQGIS API docs
2021-05-31 09:36:21 +02:00
Nyall Dawson
b4fea529f1
Promote Qgis::DataType to enum class
2021-05-27 13:44:15 +10:00
Denis Rouzaud
2e81f3b172
[sipify] support unparsed/raw code
2021-05-26 14:30:54 +02:00
Denis Rouzaud
bd88d6ac38
[sipify] force line return before code block
2021-05-26 14:30:54 +02:00
Nyall Dawson
60f48bc6a2
Add typehint for QgsPoint constructor ( #43385 )
2021-05-25 15:20:59 +02:00
Nyall Dawson
2b6c3c1db2
Fix PyQGIS QgsLineString constructor only accepts lists of QgsPoint,
...
not QgsPointXY as indicated by the documentation
Also add support for constructing QgsLineString using arrays of
arrays of floats, given that we're having to hand-roll sip conversion
code anyway!
Now the following is supported:
line = QgsLineString([[1,2], [3,4], [5,6]])
which is much nicer and more "pythonic" then the explicit
QgsPoint/QgsPointXY sequences!
Fixes #43200
2021-05-25 21:07:50 +10:00
Nyall Dawson
fc796b4c74
Fix sipify
2021-05-20 21:09:56 +10:00
Nyall Dawson
de406693c7
Move QgsVectorLayerExporter.ExportError to Qgis and promote to enum
...
class
This avoids an ugly include of qgsvectorlayerexporter.h in
qgsproviderregistry.h/qgsprovidermetadata.h, which in turn
triggers an inclusion of qgsvectorlayer.h and a bunch of
other heavy dependencies.
2021-05-20 21:09:56 +10:00
Nyall Dawson
b5dfe8f155
Refactor enum handling
...
- Add enums to qgis.h instead of qgscoreenums, so that they belong to
a Qgis namespace
- Split up the various symbol headers into multiple files so that we
can fine-tune their inclusion and forward declare more readily, speeding
up recompilation
- Move QgsSymbol enums to qgis
2021-05-18 16:59:22 +10:00
Nyall Dawson
239092e0f1
Move QgsVectorDataProvider::FeatureCountState enum to qgscoreenums.h
2021-05-18 16:59:22 +10:00
Sebastian
d175318870
add deleted exception
2021-05-17 09:54:03 +10:00
Sebastian
37a34b5820
fix 43080 and improve Exception
2021-05-17 09:54:03 +10:00
sshuair
6b9ed31761
Add a new Chinese translator
...
Add a new Chinese translator
2021-05-16 17:21:36 +08:00
sshuair
b3d6440e7c
add a new chinese translator
...
add a new chinese translator `Xubaocai`.
2021-05-16 17:13:23 +08:00
Denis Rouzaud
642deb194d
support QgsSettingsEntryEnumFlag in sipify ( #42888 )
2021-04-22 13:47:21 +02:00
Nyall Dawson
ffa99b7b64
Fix doxygen blocks which don't use the * prefix on all lines, which
...
prevents the auto format and sipify scripts from doing their full
formatting magic
2021-04-19 12:54:13 +10:00
Juergen E. Fischer
17084b8cf5
scripts/scandeps.pl: drop qt5-default, add pandoc, run
2021-04-12 13:02:09 +02:00
Denis Rouzaud
6ff14b563d
[sipify] fix static const inline ( #42607 )
...
* [sipify] fix static const inline
* remove extra match
2021-04-01 08:41:18 +02:00
Nyall Dawson
7715a12916
Fix spelling
2021-03-31 10:59:47 +10:00
Matthias Kuhn
6ca82a2717
Fix sipify
2021-03-28 06:29:24 +10:00
Juergen E. Fischer
2d1aa68f0d
spelling fixes
2021-03-23 20:41:25 +01:00
Juergen E. Fischer
e45b819897
fix update_news.pl and update NEWS.md
2021-03-23 15:11:42 +01:00
Denis Rouzaud
8d7ec8b69b
[pyqgis] move constructor docstring after the class docstring
2021-03-22 21:11:28 +01:00
Alessandro Pasotti
863c50f691
Try
2021-02-10 09:16:30 +01:00
Alessandro Pasotti
ee5612f53f
Follow the source, Luke!
2021-02-10 09:10:05 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Maxim Rylov
365b9da5dd
Skip external/odbccpp in astyle.sh
2021-01-13 11:20:07 +01:00
Denis Rouzaud
cb6b306b36
option to run sipify_all.sh on a single module ( #40874 )
2021-01-06 16:22:44 +01:00
Juergen E. Fischer
c8a2535ed5
scandeps.pl run
2020-12-27 18:54:01 +01:00
Peter Petrik
221bd2f68f
untwine pdalprovider integration ( #40404 )
...
[pointclouds] untwine pdalprovider integration
2020-12-15 14:25:09 +01:00
Nyall Dawson
53bdcb903f
Spelling
2020-12-08 19:52:22 +10:00
Juergen E. Fischer
3922a28dbc
folloup CMakeLists.txt updates (followup eddf6feb)
2020-11-11 23:08:26 +01:00
Denis Rouzaud
fec9c525dd
fix sip include test
2020-11-12 07:14:46 +10:00
Denis Rouzaud
c7ed320f8c
add script to modernize cmake commands
2020-11-12 07:14:46 +10:00
Juergen E. Fischer
60bca011d0
fix indentation
2020-11-10 20:31:39 +01:00
ValPinna
55e5c98e71
Update tsstat.pl
2020-11-10 20:16:52 +01:00
Even Rouault
4587c4e02b
cppcheck.sh: define a few macros to help cppcheck parse files
2020-11-10 06:09:22 +10:00
Nyall Dawson
c7a6e6bd15
Embed a copy of laz-perf, and use if system laz-perf is not found
...
Laz-perf is a relatively "underground" library, and is not packaged
for many major distributions. Its also tiny and trivial to include with
the other external libraries.
This avoids requiring users who want point cloud support to have to
compile their own laz-perf
2020-11-09 06:27:05 +01:00
Stefano Campus
0cadba16cb
Update tsstat.pl
...
Added new Italian Translator
2020-11-06 13:40:00 +01:00
Nyall Dawson
40c9eb6bc2
Add some small point cloud files for unit tests ( #39811 )
...
* Add some small point cloud files for unit tests
2020-11-05 12:52:46 +01:00
Even Rouault
1c06551be8
Add scripts/qstringfixup.py and .sh
...
The .py script is the lower level one that acts on a single file.
The .sh one is the one aimed at being used by the user:
- qstringfixup.sh without argument fixes up files modified in git
- qstringfixup.sh --all runs on all .h/.cpp files under src/ and tests/
2020-10-11 12:30:58 +10:00
Nyall Dawson
ffc71b54e1
spell
2020-10-09 11:20:09 +10:00