Matthias Kuhn
49a55b0e70
Add shebang to shell scripts
2018-06-19 16:11:09 +02: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
Nyall Dawson
0f78277a59
Add SIP_THROW annotation
...
SIP uses the deprecated throw(...) annotation in order to determine
which exceptions may be thrown by c++ code. Without these, only
a generic unknown exception is throw, which is of limited value
to Python code (losing any valuable message and exception type).
So we add a new SIP_THROW macro, which can be added to method's
declaration:
bool doSomething() SIP_THROW( QgsCsException );
This is ignored outside of sipify, so we don't actually use
the deprecated c++ throw annotations, but sipify picks it up
and adds the appropriate change to the sip definition for
the method:
bool doSomething() throw( QgsCsException );
This means that calling the method from Python will raise
the QgsCsException instead of a generic exception.
2018-05-16 04:35:17 +10:00
Denis Rouzaud
395e864b68
fix prepare-commit after moving sip files
2018-05-14 20:56:53 -04:00
Denis Rouzaud
847f0e1829
adapt sipify scripts and test to place auto generated sip files in dedicated folder
2018-05-14 10:44:11 -04:00
Denis Rouzaud
272f9ef874
Merge pull request #6951 from 3nids/locator_prefix
...
allow customizing prefix of locator filters
2018-05-13 17:56:22 -08:00
Denis Rouzaud
395c13f1f1
fix typo
2018-05-11 10:55:34 -04:00
Juergen E. Fischer
6b67708166
add libyaml-tiny-perl & python-autopep8 to debian deps
2018-05-11 01:43:43 +02:00
Juergen E. Fischer
968b50f4f0
expression help: support optional parameters and defaults
2018-05-10 20:15:39 +02:00
Alessandro Pasotti
d06043f723
Merge pull request #6952 from elpaso/DelazJ-symbolselectorHelpShow
...
Delaz j symbolselector help show
2018-05-09 08:04:02 +02:00
Matthias Kuhn
cfad3aa560
Merge pull request #5461 from m-kuhn/less_temp_files
...
Cleanup temporary files in prepare-commit.sh
2018-05-08 10:35:15 +02:00
Nyall Dawson
51a15640dd
Add words to spell check file
2018-05-08 09:33:07 +10:00
Harrissou Sant-anna
ee417aae67
Fix typo and spelling
2018-04-30 14:11:16 +02:00
Juergen E. Fischer
41b6ae6d58
fix astyle version check
...
(cherry picked from commit dee284fe974560a3c9723e35123a02c7c9d30b8a)
2018-04-24 21:56:15 +02:00
Juergen E. Fischer
8e7486bf56
update_ts.sh: handle empty exclusion
2018-04-23 00:20:25 +02:00
Juergen E. Fischer
9242d2f960
remove plugin_template exclusion from translation updates (followup 605ef7d8294b6)
2018-04-21 14:32:28 +02:00
Denis Rouzaud
d94cf12dea
fix list of updated files in pull requests
2018-04-12 10:35:32 -04:00