Nyall Dawson
4778498c94
Fix SC2034 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
5b375a2edf
Fix SC2188 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
0e9a381534
Fix SC2103 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
040f1d1879
Fix SC2006 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
cab83c51a8
Fix SC2222 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
7ad85a451f
Fix SC2004 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
00477ff910
Fix SC2068 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
11bb5afa0b
Fix SC2035 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
fc20fc81f7
Fix SC2062 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
4118bafc96
Fix all SC2164 warnings
2018-06-21 15:33:29 +10:00
Denis Rouzaud
408979ceb5
fix prepare-commit for python additions
2018-06-20 11:21:25 -08:00
Denis Rouzaud
d36015070c
Merge pull request #7171 from 3nids/sip_python_repr
...
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 09:56:28 -08:00
Matthias Kuhn
353eb65117
Double quote to prevent globbing and word splitting.
2018-06-19 16:22:38 +02:00
Matthias Kuhn
49a55b0e70
Add shebang to shell scripts
2018-06-19 16:11:09 +02:00
Denis Rouzaud
cc3e29bcc2
add __repr__ for more geometry classes and add test
2018-06-19 07:02:17 -04:00
Denis Rouzaud
ac4f508c13
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 07:02:17 -04:00
Nyall Dawson
c705670947
Upgrade INT_ methods to numeric_limits
2018-06-17 09:24:37 +10:00
Nyall Dawson
17cd2fd5f3
More DBL_MIN/MAX_EPSILON upgrades
2018-06-17 09:24:37 +10:00
Nyall Dawson
a4c8386e88
[sipify] Replace std::numeric_limits with old style DBL_MAX/etc
2018-06-17 09:24:37 +10:00
Tudor Bărăscu
a92b049a70
fix dislpay typo
2018-06-14 13:02:40 +03:00
Nyall Dawson
262a01f53c
Supress dos2unix output
2018-06-08 11:00:25 +10:00
Nyall Dawson
e5e966bb7a
Fix some shellcheck warnings in astyle scripts
2018-06-04 18:50:24 +10:00
Denis Rouzaud
164f662dc0
fix sipify and run
2018-06-03 11:07:09 -08:00
Denis Rouzaud
e5b02cd2a8
use dedicated files for auto additions
2018-06-03 11:07:09 -08:00
Denis Rouzaud
7cb18cd5f1
[sipify] allow to define python operator in headers
...
sipify will take care of injecting them in python/{module}/__init__.py
2018-06-03 11:07:09 -08:00
Matthias Kuhn
5e3ce8ff6a
SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
2018-06-01 08:25:46 +10:00
Matthias Kuhn
09f17d9952
SC2006: Use $(..) instead of legacy ..
.
2018-06-01 08:24:38 +10:00
Denis Rouzaud
83be4fae6b
[sipify] fix deprecated annotation without additional comment
2018-05-28 10:39:34 -08:00
Denis Rouzaud
034c3f0d75
Revert "Merge pull request #5461 from m-kuhn/less_temp_files"
...
This reverts commit cfad3aa560c2d11e5271fc2ac64d82aba9f7b5a0, reversing
changes made to cdca7084c44d9d12d2ee835afff8577222262764.
2018-05-28 09:28:58 -04:00
Nyall Dawson
4c3a9ef7be
Ensure that class \brief comes before \since ( #7081 )
...
Otherwise it breaks the Python docstrings, which require
the brief to come first
2018-05-28 04:03:46 -08:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
ea0c1d8cbc
Typo
2018-05-28 08:22:11 +10:00
Nyall Dawson
7a1a787c0a
Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
0e75f6ef85
Don't indent multiline versionadded/deprecated tags
...
Turns out there isn't any valid ones anyway - the only
multiline versionadded tags are due to incorrect ordering
of brief/since tags (which is fixed in a different PR)
2018-05-27 18:54:09 +10:00
Nyall Dawson
9f650fead9
Fix incorrect param docstring when doxygen \param has extra
...
trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
4b1b752633
Fix bad regex
2018-05-27 18:54:09 +10:00
Nyall Dawson
3d6ea5972b
Remove some junk lines from docstrings
2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Nyall Dawson
94cf3fc788
Use "customize" instead of "customise"
...
Since we default to US spelling, we should always be using "customize"
2018-05-26 15:44:04 +10:00
Nyall Dawson
fa5a7d2ae2
Typo
2018-05-26 15:44:04 +10:00
Nyall Dawson
8bb45b935a
Typo
2018-05-25 15:09:00 +10:00
Denis Rouzaud
b4ec9a3190
[pyqgis] add QgsSettings.enumValue and flagValue to the bindings ( #7024 )
...
* [pyqgis] add QgsSettings.enumValue and flagValue to the bindings
these are done in pure Python since no implementation is possible in SIP
there is a dirty hack for flags since QgsMapLayerProxyModel.Filters.__qualname__
returns 'Filters' and not 'QgsMapLayerProxyModel.Filters'
* fix typo
2018-05-18 09:25:12 -08:00
Denis Rouzaud
deccf205cf
[pyqgis] add method to retrieve metaEnum from an enum value or type ( #7023 )
2018-05-18 06:47:18 -08:00
Denis Rouzaud
6301f9b6f3
[sipify] write helpers in core.__init__.py for Q_ENUM
...
whenever reading a Q_ENUM macro, sipify will create a helper in the core module:
BaseClass.EnumType.parentClass = lamda: BaseClass
this will allow to use the meta object to access the QMetaEnum of the object
2018-05-17 22:54:18 -04:00
Denis Rouzaud
1fe0fb74ec
[sipify] fix remove value assignment in members
2018-05-17 21:49:07 -04:00
Denis Rouzaud
c1e16969f3
[QgsLocator] add the capability of adding group for elements within the same filter
2018-05-17 21:46:31 -04:00
Denis Rouzaud
1a879b18a1
Merge pull request #7002 from 3nids/sip_metoobject
...
[sipify] insert missing QMetaObject for gadget classes
2018-05-16 17:54:06 -08:00
Nyall Dawson
fe93993ab8
Fix typo
2018-05-17 08:50:39 +10:00
Denis Rouzaud
2abcfa23b8
do not add static QMetaObject to QgsDefaultValue
...
it has no Q_ENUM so no need for now
I do not understand while it doesn't compile though
2018-05-16 14:25:01 -04:00
Denis Rouzaud
e8cf8c2f1c
[sipify] insert missing QMetaObject for gadget classes
2018-05-15 17:38:16 -04:00