1026 Commits

Author SHA1 Message Date
Juergen E. Fischer
80a4fc9339 Also retry tx pull on failure 2019-04-03 00:10:26 +02:00
Alessandro Pasotti
62895d1f42
Merge pull request #9619 from elpaso/plugin-dependencies
Plugin dependencies optional support
2019-04-01 09:43:28 +02:00
Denis Rouzaud
60682885c0
Small tweak to enum Python docs (#9631)
original credits to @nyalldawson
2019-03-26 14:00:37 -05:00
Denis Rouzaud
f000956e86
Merge pull request #9437 from 3nids/maplayertype_enum
create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
2019-03-26 10:28:34 -05:00
Denis Rouzaud
e232817e5b add missing doc 2019-03-25 11:00:17 -05:00
Alessandro Pasotti
c6c3d0971a Fix typo and do not spellcheck the json plugins testdata 2019-03-25 10:04:31 +01:00
Denis Rouzaud
9a6ddbd5c1 also monkey patch the former enum type 2019-03-24 21:40:33 -05:00
Denis Rouzaud
38c2d4a03d fix dox for unnested enums 2019-03-24 21:40:33 -05:00
Denis Rouzaud
0e35c91edf [sipify] handle enum class forward declaration and fix monkey patching 2019-03-24 21:40:33 -05:00
Denis Rouzaud
837607cb15 [sipify] handle moving enum to scope based and out of class enum 2019-03-24 21:37:04 -05:00
Juergen E. Fischer
e5f0522b36 update_ts.sh: add more context 2019-03-24 13:15:52 +01:00
Juergen E. Fischer
21207b8a7a update INSTALL 2019-03-21 19:45:35 +01:00
Denis Rouzaud
0e5c91234f add missing new line 2019-03-08 12:00:02 +01:00
Denis Rouzaud
1281bcc256 [sipify] add macro to explicitely ask for monkey patching
because new scope based enum should not do the monkey patching, it's only done for python API compatibility
2019-03-08 10:27:34 +01:00
Denis Rouzaud
051ac1383b [sipify] fix oneliners 2019-03-08 10:06:26 +01:00
Denis Rouzaud
ee37345aef [sipify] monkey patch enum for PyQGIS API compatibility 2019-03-07 21:07:43 +01:00
Denis Rouzaud
e162040f04 [sipify] handle scope based enums 2019-03-07 16:32:39 +01:00
Juergen E. Fischer
9f1fcb72d4 processing: enable translation for parameter descriptions 2019-03-05 20:16:23 +01:00
Nyall Dawson
620db06324 Add external qt-unix-signals library
This library, original taken from https://github.com/sijk/qt-unix-signals
(but a maintained fork exists at https://github.com/nyalldawson/qt-unix-signals),
handles unix signal watching using the Qt libraries.

It allows for detection of signals like SIGINT and SIGTERM,
and allows Qt applications to respond gracefully to these.

Included in external libraries for use in QGIS terminal
applications.
2019-03-05 18:43:02 +10:00
Juergen E. Fischer
09a4f6f585 i18n: fix it on windows (followup 2f431bc1f) 2019-02-28 23:52:36 +01:00
Nyall Dawson
107b48a430 Add NULLPTR macro for use in doxygen comments
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)

Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
eed9852fb9 Add TRUE and FALSE macros for use in doxygen comments
For the c++ api dox these expand to "\c true" and "\c false" (the
\c directive indicates a code literal value), and for sipify/Python
they expand to ``True`` and ``False`` (`` is sphinx annotation
for literal values)

Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Juergen E. Fischer
2f431bc1f3 i18n:
* include processing algorithm descriptions from yaml (with yaml fixes)
* create ui instead of cpp where possible and use -no-ui-lines to avoid
  artificial ever changing line numbers in ts files
* drop old used scripts: create_new_ts.sh, create_new_ts.sh and
  integrate_function_help.pl, update_ts_files.sh
2019-02-26 22:38:53 +01:00
Nyall Dawson
4839740262 Spelling 2019-02-25 19:02:12 +10:00
Bas Couwenberg
371176357b Fix spelling errors.
* cancelation -> cancellation
 * overal      -> overall
2019-02-24 22:39:40 +01:00
Matthias Kuhn
788e2cf9dc
Consistently use multi thread instead of multithread 2019-02-07 09:02:52 +01:00
Nyall Dawson
384d310233 Minor improvements to PyQGIS returns for SIP_OUT params 2019-02-05 04:55:34 +11:00
Juergen E. Fischer
a6f261826a translation updates 2019-01-16 14:24:04 +01:00
Matthias Kuhn
c72e99a3ed
Make expression parser output translatable 2018-12-20 09:15:40 +01:00
Denis Rouzaud
bd32078635 [sipify] enhanced SIP_OUT handling
return an error if method with SIP_OUT arguments has no \return directive AND is not void
create list of outputs for better visualization
2018-12-19 08:03:47 -04:00
Denis Rouzaud
c20b5b2f75 fix multine removal for SIP_PYARGREOMVEq 2018-12-18 21:54:38 -04:00
Denis Rouzaud
32e844f9f8 fix multiline comments on out params 2018-12-18 17:29:04 -04:00
Denis Rouzaud
9b852fbf35 [sipify] handles SIP_OUT arguments
remove them from parameters list and add them to return values
2018-12-18 17:17:18 -04:00
Nyall Dawson
e23527bf92 Use TypeHint annotation to indicate correct return type when sip code returns SIP_PYOBJECT
Provides correct return type hints to IDEs (and hopefully PyQGIS docs too!)
2018-12-07 05:51:27 +10:00
Nyall Dawson
84838d1ec6 [FEATURE][API] Add a content cache for raster images
This new class QgsImageCache is the equivalent of QgsSvgCache
but for raster images.

QgsImageCache stores pre-rendered resampled versions of raster
image files, allowing efficient reuse without incurring the
cost of resampling on every render.

Additionally, it offers the other benefits QgsSvgCache has,
such as thread safety, ability to transparently download remote
images, and support for base64 encoded strings.
2018-12-05 11:14:13 +07:00
Denis Rouzaud
7bce9342e5 [sipify] fix initializer in strcuts 2018-11-28 07:46:24 -04:00
Nyall Dawson
1e5479964f [FEATURE][API] Add some nice PyQGIS methods and exceptions to QgsLineString
- len(QgsCurve) returns number of points in curve
- raise IndexErrors when calling pointN, xAt, yAt, zAt, mAt, setXAt, setYAt,
setMAt, setZAt with invalid vertex indices
- Add [] getter for retrieving specific vertices, eg. ls[0] returns QgsPoint(...)
- Add [] setter for setting specific (existing) vertices, e.g. ls[1] = QgsPoint(1,2)
- Add del support for removing vertices, e.g. del ls[1] removes the second vertex
2018-11-27 09:29:13 +10:00
Nyall Dawson
9b04a29116 Support WSL shells in astyle script 2018-11-12 09:30:42 +10:00
Harrissou Sant-anna
fd2a599778 More rendererv2 cleanup 2018-11-03 17:17:01 +01:00
Denis Rouzaud
91583980fe allow to restric to certain module when running sip_includes.sh
it's a bit faster 🍺
2018-11-02 11:35:43 -04:00
Juergen E. Fischer
a826c56445 verify that projecta actually delivers a changelog 2018-11-01 12:39:53 +01:00
Juergen E. Fischer
9e45223d42 reset English translations on update 2018-10-27 19:06:37 +02:00
Juergen E. Fischer
012bd99e11 scripts/tsstat.pl: remove unused site mode and add note to doc/TRANSLATORS 2018-10-27 19:06:37 +02:00
Juergen E. Fischer
f3b0b257e4 add islandic translator (followup f4e6477a) 2018-10-26 22:01:32 +02:00
Martin Dobias
8814e40635 Move altitude binding/clamping enums to Qgs3DTypes + add culling mode in Python 2018-10-14 16:32:24 +02:00
Martin Dobias
88cb8313c8 Python bindings for QGIS 3D library 2018-10-13 22:05:39 +02:00
Juergen E. Fischer
9958c0b977 update_ts.sh: no obsolete translation on push 2018-10-02 20:34:53 +02:00
Juergen E. Fischer
f2ada66af9 ts2appinfo.py: get desktop encoding right 2018-10-01 21:18:15 +02:00
Juergen E. Fischer
9af3c49651 another adaption for ts2appinfo 2018-10-01 10:43:13 +02:00
Juergen E. Fischer
a6c3b812e6 add appinfo metadata source dependency 2018-09-29 00:14:36 +02:00