31966 Commits

Author SHA1 Message Date
Patrick Valsecchi
f696b0a34d Allow relative links in composer labels
Now labels and HTML boxes can contain relative URLs. If we don't have
a base URL, the project file will be used as a base URL (closes #7236).

Remove the exception for the labels where the images where not
loaded (unless in in PDF or image mode). It was because of a crash. Qt didn't
like having the HTML loading to be done synchronously during painting.

Fix a leak when rendering labels.
2016-04-04 11:05:30 +02:00
Mathieu Pellerin
541463718d [FEATURE] add outline join style to ellipse markers 2016-04-04 14:38:52 +10: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
5e54b93be7 remove pseudo options HAVE_MSSQL, HAVE_DB2, HAVE_SPATIALITE
and HAVE_PYTHON
2016-04-04 00:59:38 +02:00
Juergen E. Fischer
1cbcf49043 include db2 provider in packaging 2016-04-04 00:59:38 +02:00
Nyall Dawson
d8dbc92510 Fix warning 2016-04-04 08:36:52 +10:00
David Adler
5fe19c5f15 merged DB2 updates
[FEATURE] New vector data provider for DB2 sources
2016-04-04 07:55:50 +10:00
Nyall Dawson
883016f471 Fix some minor coverity warnings 2016-04-04 06:58:42 +10:00
Nyall Dawson
b8b12d87c3 Fix memory leak 2016-04-04 06:53:40 +10:00
Nyall Dawson
639c050077 Fix coverity uninitialized variable warnings 2016-04-04 06:52:49 +10:00
Nyall Dawson
98d4734098 Make attribute selection table in vector save as dialog taller 2016-04-04 06:25:05 +10:00
Nyall Dawson
cbad546b09 Followup 99d5e4, add unit tests 2016-04-04 06:20:07 +10:00
Nyall Dawson
ae9d089142 Merge pull request #2964 from nirvn/simple_marker_join_style
[FEATURE] add outline join style settings to simple markers (fixes #3797)
2016-04-03 16:21:57 +10:00
Nyall Dawson
c08d3592dd Add testdata cache folder to .gitignore 2016-04-03 15:18:37 +10:00
nirvn
3a2a099c59 add simple marker join style tests 2016-04-03 11:56:47 +07:00
nirvn
6ad3537403 [FEATURE] add outline join style settings to simple markers
(fixes #3797)
2016-04-03 09:57:11 +07:00
Juergen E. Fischer
99d5e42247 [FEATURE] vector file writer: allow selection of attributes to export 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
c93187d78c oracle provider: handle NULL geometry in case of multiple geometry columns 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
59de73ac3b extent group box: fix header spelling 2016-04-03 01:56:21 +02:00
Juergen E. Fischer
9c2473df52 fix indentation 2016-04-03 01:56:21 +02:00
Jürgen Fischer
a534fcaa56 Merge pull request #2965 from DelazJ/patch-8
Update qgstipfactory.cpp
2016-04-02 23:45:20 +02:00
Harrissou Sant-anna
3e7553c1f2 Update qgstipfactory.cpp 2016-04-02 20:49:23 +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
Alexander Bruy
aef26c90f3 [processing] more HiDPI fixes (refs #14474) 2016-04-01 16:48:04 +03:00
Matthias Kuhn
32b5faa601 Right align labels with multicolumn attribute forms 2016-04-01 13:35:33 +02:00
Matthias Kuhn
e3de0c119a Move drag and drop designer python API to QgsEdtiFormConfig 2016-04-01 13:35:33 +02:00
Matthias Kuhn
faf6b2654c [feature] Allow using multiple columns in attribute forms
When using the drag and drop designer, a user can specify over how many
columns the fields should be distributed.

A double click on an existing group will allow adapting the value.
2016-04-01 13:35:33 +02:00
Alexander Bruy
9c96be1214 [processing] add function to retrieve Processing version
Initial idea by Etienne Trimaille
2016-04-01 14:09:02 +03:00
Juergen E. Fischer
687b6fdeaa fix windows build 2016-04-01 12:13:54 +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
Nyall Dawson
b466c63b9f [composer] Make drawing polygon/polyline follow canvas right click
behaviour (right click ends drawing without adding node)
2016-04-01 14:23:27 +11:00
Nyall Dawson
38fa2980ad [composer] Fix polylines would be removed if they had < 3 points
when deleting nodes (2 node lines should be allowed)
2016-04-01 14:23:19 +11:00
Nyall Dawson
90b6f46bf1 Use Qt methods for translating node coords to scene coords 2016-04-01 14:23:12 +11:00
Nyall Dawson
4efbb8fcf5 [composer] Respect modifier keys when moving nodes with keys 2016-04-01 14:23:01 +11:00
Blottiere Paul
7a8a5411e0 [FEATURE][composer] Add tools for drawing polygon and polylines 2016-04-01 11:05:03 +11:00
Juergen E. Fischer
bde512646c globe plugin: fix crash on exit 2016-03-31 23:18:40 +02:00
Juergen E. Fischer
3bfe2f1467 really fix ab5f06b (ouch again - machine mixup) 2016-03-31 23:03:03 +02:00
Juergen E. Fischer
c6117e0d32 fix ab5f06b (ouch) 2016-03-31 22:57:24 +02:00
Salvatore Larosa
0168bd5c68 [pyqgis-console] fix multi-line code execution 2016-03-31 22:53:10 +02:00
Salvatore Larosa
20ce2343cb [pyqgis-console] fix import statement 2016-03-31 22:53:10 +02:00
Juergen E. Fischer
ab5f06b9fb processing: base grass path on OSGEO4W_ROOT where available 2016-03-31 22:51:56 +02:00
Matthias Kuhn
18cdad9956 Convert print function to py3 style in tests 2016-03-31 17:20:53 +02:00
Matthias Kuhn
3c01f513b8 Remove some python tests from Qt5 blacklist 2016-03-31 17:20:52 +02:00
Tom Kralidis
26ebc83681 [MetaSearch] fix version referencing 2016-03-31 11:13:18 -04:00
Tom Kralidis
a88fcf1d54 Merge pull request #2959 from geopython/master
reuse core icons
2016-03-31 11:11:07 -04:00
Marco Hugentobler
1e85772e03 Fix layer order in GetPrint 2016-03-31 16:30:27 +02:00
Tom Kralidis
3dffb7b743 reuse core icons 2016-03-31 10:14:08 -04:00
Marco Hugentobler
6c6e983890 Replace calls to deprecated method 2016-03-31 13:23:35 +02:00