425 Commits

Author SHA1 Message Date
Juergen E. Fischer
3da19183dc release.pl: use 99 instead of 999 for premajor minor 2016-07-10 20:53:59 +02:00
Juergen E. Fischer
b649c0bf20 release.pl:
* add second 'master' branch for interim release before a new major release
* allow to skip transifex update
2016-07-02 18:36:58 +02:00
Juergen E. Fischer
9446b20fe1 [gui/hidpi] scale splash screen on startup not on release 2016-07-02 17:44:22 +02:00
Juergen E. Fischer
b369b20843 remove_temporary_files.sh: add .new from addcopyrights.sh 2016-06-22 11:12:48 +02:00
Juergen E. Fischer
6e66eef1ef add missing copyright headers 2016-06-03 10:33:09 +02:00
Juergen E. Fischer
840022d772 fix indentation and some typos 2016-06-02 21:29:35 +02:00
Juergen E. Fischer
797826ea5b spelling fixes 2016-05-31 03:36:27 +02:00
Juergen E. Fischer
aef3dd4da4 remove svn references from prepare-commit.sh and make it work from anywhere in the repository 2016-05-26 17:17:24 +02:00
Matthias Kuhn
a349e702cc Fix from PyQt.xy > from qgis.PyQt.xy import leftovers 2016-05-14 00:38:19 +02:00
Nyall Dawson
948c1f0298 Temporarily fix generate_test_mask_image.py by rolling back to Qt4 2016-05-10 06:52:54 +10:00
Juergen E. Fischer
919c54ef5f release.pl: don't created branches from tag names 2016-05-04 13:20:10 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Robert Szczepanek
ee5548b27a Add Polish translators 2016-04-24 22:15:29 +02:00
Matthias Kuhn
1c6b298833 Add unicode_keep_u fixer 2016-04-15 09:20:40 +02:00
Nyall Dawson
4bbe318c20 [symbology] Remove distorted star symbol 2016-04-12 12:12:57 +10:00
Jürgen Fischer
60ada1185e Merge pull request #2946 from sebastic/debian
Debian packaging improvements
2016-04-07 08:59:58 +02:00
Nyall Dawson
54d093ed48 Function argument name should not be translatable 2016-04-04 13:59:22 +10:00
Nyall Dawson
ae00eb965c [FEATURE] Allow expression functions to use named parameters
This commit sets the framework for allowing expression functions to
use named parameters. Ie, instead of:

clamp(1,2,3)

you can use:

clamp( min:=1, value:=2, max:=3)

This also allows arguments to be switched, eg:

clamp( value:=2, max:=3, min:=1)

Additionally, it allows for a more structured definition of function
parameters to handle optional arguments and default values for
parameters. These are currently being done using a hacky infinite
argument list.

I've utilised the postgres ':=' syntax for specifying named arguments
to avoid potential collisions which may arise with the equality test
if we re-used just the '=' operator alone.

Sponsored by North Road
2016-04-04 13:59:13 +10:00
Juergen E. Fischer
9c2473df52 fix indentation 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
42e42f77b4 2to3: avoid duplicate transformation of print (followup c4d9b0a) 2016-04-01 22:12:09 +02:00
Juergen E. Fischer
4f6c271490 move new composer tests to pyqt wrappers (followup 7a8a541 and f413046) 2016-04-01 15:52:51 +02:00
Juergen E. Fischer
c4d9b0a242 2to3: drop fix_print and avoid double parens in fix_print_with_import 2016-04-01 12:02:14 +02:00
Matthias Kuhn
18cdad9956 Convert print function to py3 style in tests 2016-03-31 17:20:53 +02:00
Marco Bernasocchi
2fb71b02c4 Protect process_contexthelp.py from IOError 2016-03-31 10:18:57 +02:00
Nyall Dawson
47cc4473c7 Fix generate_test_mask_image script 2016-03-31 16:44:32 +11:00
Juergen E. Fischer
b1a4ef27da prepare-commit.sh: show progress 2016-03-25 20:29:18 +01:00
Bas Couwenberg
7248d586bf Fix 'nubmer' typo, replace with 'number'. 2016-03-25 16:55:24 +01:00
Juergen E. Fischer
8af5edce12 pyqtwrapper: update some remaining scripts 2016-03-25 10:42:17 +01:00
Juergen E. Fischer
ded1e045c9 indentation fix 2016-03-23 08:06:22 +01:00
Juergen E. Fischer
45c9ea2355 2to3:
* drop libpasteurize.fixes.fix_division
* replace lib2to3.fixes.fix_import with libfuturize.fixes.fix_absolute_import (with PyQt exclude plus AlgorithmsTestBase)
* drop lib2to3.fixes.fix_print (replaced with libfuturize.fixes.fix_print_with_import)
2016-03-23 01:14:33 +01:00
Juergen E. Fischer
00f8eff034 update_ts.sh: pulling doesn't require a build directory 2016-03-22 02:44:21 +01:00
Juergen E. Fischer
719182fe3a scripts/widgets_tree.py: switch to PyQt wrappers and reformat 2016-03-21 17:00:26 +01:00
Juergen E. Fischer
93aedcd14d scripts/mkuidefaults.py: switch to PyQt wrappers and reformat 2016-03-21 17:00:26 +01:00
Juergen E. Fischer
d25c253d87 2to3:
* add fixes
* pyqt fixer: include some QtSql symbols and remove imports
  which only symbol was removed (eg. SIGNAL)
2016-03-21 16:59:30 +01:00
Juergen E. Fischer
fb9d60d7c6 2to3: add fixes 2016-03-20 16:31:05 +01:00
Juergen E. Fischer
b5c4d28eba build context help and expression help in build directory and still include it in translations 2016-03-20 16:31:05 +01:00
Juergen E. Fischer
09f6b918a5 * fix pyuic wrapper on windows
* fix PyQt wrapper installation on precise
2016-03-17 02:23:16 +01:00
Juergen E. Fischer
4089ed8f01 fix pyuic wrapper 2016-03-16 00:34:24 +01:00
Juergen E. Fischer
4151a3b693 2to3: remove empty imports 2016-03-15 23:46:54 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Juergen E. Fischer
8c918aeaf3 astyle updates cosmetics, temporary file cleanups 2016-03-14 20:38:20 +01:00
Matthias Kuhn
264527a495 [PyQt5] make pyuic4-wrapper PyQt5 aware 2016-03-10 18:44:22 +01:00
Juergen E. Fischer
df22d565f5 include autopep8 in indentation tip 2016-03-06 22:21:43 +01:00
Even Rouault
ee53653151 The typo fix suggestion for initialisation should be initialization, not initalization 2016-02-29 12:53:38 +01:00
Juergen E. Fischer
5e2e468895 release.pl: reject mis-sized welcome page and convert to BMP3 2016-02-27 16:51:23 +01:00
Juergen E. Fischer
7e2caa679c fix some more signals for pyqtwrapper 2016-02-27 01:07:41 +01:00
Juergen E. Fischer
be7f3fa898 release.pl: warn about mis-sized splash and rescale it 2016-02-26 14:33:45 +01:00
Juergen E. Fischer
5b7cfbc37c release.pl: fix tar ball creation for ltr releases 2016-02-26 13:46:27 +01:00
Juergen E. Fischer
75d6a19ae8 release.pl: fix dryrun comment (followup a934b01) 2016-02-26 09:34:26 +01:00