998 Commits

Author SHA1 Message Date
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
Matthias Kuhn
c3fdef9db1
Merge pull request #6405 from lbartoletti/mkuidefaults_python3
Convert mkuidefaults script to python3 and pep8 it
2018-04-12 10:37:15 +02:00
lbartoletti
99ae08a2aa use with open as block 2018-04-08 10:08:04 +02:00
Marco Bernasocchi
20c071b515 Add support for imports from qgis.PyQt
this adds support to imports from the qgis.PyQt packages like
from qgis.PyQt.QtGui import (QCheckBox, QIcon)

this kind of imports are already used by some plugins
without having the PyQt5 structure of packages (i.e. they use
from qgis.PyQt.QtGui import (QCheckBox, QIcon) instead of
from qgis.PyQt.QtGui import (QIcon)
from qgis.PyQt.QtWidgets import (QCheckBox)
2018-03-24 15:31:36 +01:00
Marco Bernasocchi
ac09795900 add a warning when unsupported imports are detected
Works for example with imports like import PyQt4.QtGui
2018-03-24 15:31:36 +01:00
Etienne Trimaille
c0f5d22fcd fix typo altitide -> altitude 2018-03-16 10:37:04 +01:00
Nyall Dawson
f06b3691c5 More spelling fixes 2018-03-12 14:32:17 +11:00
luz.paz
b82ec177c9 Misc. source comment typos
+ added 2 strings in to spelling.dat file
2018-03-12 14:32:17 +11:00
Nyall Dawson
d04b3d9eaf Update spell check list, spelling 2018-03-12 14:32:17 +11:00
Matthias Kuhn
0d00491436 s/Modeller/Modeler/ 2018-03-07 09:00:33 +11:00
Nyall Dawson
0acdcfadfd Fix crash when using the identify tool on a categorized render
with an unchecked category corresponding to the feature at the
clicked point

Also fix count of default category symbols
2018-03-01 16:49:29 +11:00
Denis Rouzaud
d171ca7ae4 offer enterCategory in Python bindings by adding a context manager 2018-02-28 13:43:11 -04:00
Denis Rouzaud
d5bb4a72e9 fix bad regex in parse_dash_results 2018-02-27 05:47:51 -09:00
Borys Jurgiel
388cfb89bb
Merge pull request #6427 from Cracert/trans
[TRANSUP] pl: new translator
2018-02-23 09:40:24 +01:00
Juergen E. Fischer
67a578f3dc fix df76bfc1 2018-02-23 07:40:14 +01:00
Robert Szczepanek
7203574439 [TRANSUP] pl: new translator 2018-02-23 00:53:22 +01:00
Loïc Bartoletti
002c020859 Convert script to python3 and pep8 it 2018-02-22 19:45:37 +01:00
Werner Macho
23951f3f10
Update tsstat.pl
correct arry
2018-02-22 16:53:04 +01:00
Alexandre Neto
99e437ce0a
Adds Portuguese translator 2018-02-22 15:40:22 +00:00
Juergen E. Fischer
f14b729e3b fix some references to PROJ.4 2018-02-19 22:12:09 +01:00
Denis Rouzaud
d468e5bb6a [sipify] fix Q_FLAG declaration 2018-02-19 05:55:09 -09:00
Juergen E. Fischer
d7edf6c58a fix e606b795d 2018-02-19 09:43:52 +01:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Juergen E. Fischer
e606b795da update_ts.sh: fix selective download of translations 2018-02-18 18:23:59 +01:00
Webmaster
65f6a909b1 [ui] update mkuidefaults.py script 2018-02-18 19:00:04 +07:00
Juergen E. Fischer
08bcb1cdd7 drastically speedup update_ts.sh with Qt5's lupdate 2018-02-17 17:02:01 +01:00
Minoru Akagi
dd5448f8bf Add a Japanese translator 2018-02-15 14:48:52 +09:00
lbartoletti
124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00
Juergen E. Fischer
df76bfc1a3 update INSTALL on release 2018-02-05 02:31:04 +01:00
Denis Rouzaud
a09b9e7af9 [sipify] fix QMap/Qlist with init in header 2018-02-03 15:52:33 -09:00
Juergen E. Fischer
57d38cd0d5 * revive update-news.pl
* osgeo4w: drop globe plugin
2018-02-03 19:24:03 +01:00