34439 Commits

Author SHA1 Message Date
Patrick Valsecchi
3d6e7c8bdb Add hstore support to the postgres provider 2016-09-08 09:51:46 +02:00
Nyall Dawson
25191e1cd1 Merge pull request #3461 from nyalldawson/filter_line_edit
Rework QgsFilterLineEdit handling of clear button
2016-09-08 06:05:51 +10:00
Nyall Dawson
845b2a04bf Merge pull request #3462 from pvalsecc/fix_auto_rangewidget
Fix auto conf of QgsRangeWidgetWrapper
2016-09-07 20:40:01 +10:00
Patrick Valsecchi
5eb70d3382 Fix auto conf of QgsDateTimeEditWrapper 2016-09-07 10:32:31 +02:00
Matthias Kuhn
03f0b44e4e Typo 2016-09-07 09:48:36 +02:00
Matthias Kuhn
02ae886d69 Map renderer sends signal on layers finished but before labeling 2016-09-07 09:00:18 +02:00
Patrick Valsecchi
8d9cf9de06 Fix auto conf of QgsRangeWidgetWrapper
The default range was 0..100, made it to min..max of the type.
QgsRangeWidgetWrapper is auto selected only for Int and Double QVariants,
now. The used widgets don't support 64 bits and Uint ranges.
2016-09-07 08:05:56 +02:00
Denis Rouzaud
45373d0ecb Merge pull request #3458 from 3nids/parallel
parallel rendering enabled by default
2016-09-07 07:23:17 +02:00
Nyall Dawson
9ccbe179a4 Increase some test timeouts to handle when Travis is slow 2016-09-07 08:06:50 +10:00
Nyall Dawson
98f25f59e7 Rework QgsFilterLineEdit handling of clear button
Don't use a child button but instead paint the icon when
required. Improves interaction with the widget/clear
button.
2016-09-06 16:45:32 +10:00
Nyall Dawson
63cc762139 Fix crash when 'use popup' is selected for time based datetime widgets 2016-09-06 09:30:08 +10:00
Nyall Dawson
cd236218e0 Fix some editor widget config dialogs don't show default settings 2016-09-06 09:30:08 +10:00
Nyall Dawson
16715361fb Merge pull request #3457 from nyalldawson/pygments
Upgrade internal pygments to 2.1.3
2016-09-06 08:56:33 +10:00
Matthias Kuhn
e1f21b003c Add missing headers 2016-09-05 14:35:51 +02:00
Patrick Valsecchi
7169079f91 Smarter default edit widgets with plugins to pick them
Now the widgets factories can give a score on how good they could handle
a widget.

Additionaly, plugins can be added to choose a widget factory in function
of an external information. One of them uses a table in PostgresQL to
allow specification of the widget type and configuration.

I took the opportunity to remove a few deprecated method in relation to
this.
2016-09-05 14:22:17 +02:00
Hugo Mercier
a1cb2be8d3 Fix signal names 2016-09-05 13:43:00 +02:00
Hugo Mercier
b23e58a6d9 Restore virtual layer tests in PyQt5 2016-09-05 13:43:00 +02:00
Hugo Mercier
7e6d641c68 Fix PyQgsLayerDependencies with pyqt5 2016-09-05 13:43:00 +02:00
Hugo Mercier
5c3a43e286 Fix spatialite access with python3 2016-09-05 13:43:00 +02:00
Matthias Kuhn
63654e5c79 Fix loading of editor widget configuration 2016-09-05 10:42:03 +02:00
volaya
f38e03b37d Merge pull request #3454 from arnaud-morvan/processing_modeler_parameter_extent
[Processing] Fix on extent parameter in modeler parameters dialog
2016-09-05 09:04:34 +02:00
volaya
8de9757f54 Merge pull request #3456 from arnaud-morvan/processing_apply_use_coverge_on_execution
[Processing] Calculate min coverage on execution
2016-09-05 09:03:06 +02:00
Denis Rouzaud
a3af3fc41e parallel rendering enabled by default 2016-09-05 08:22:00 +02:00
Matthias Kuhn
2fbc3266ff Merge pull request #3452 from nirvn/pyqt5_57
fix to support PyQt5 5.7
2016-09-05 07:21:24 +02:00
Nyall Dawson
1819b313ef Merge pull request #3289 from dgoedkoop/valuemapsearchnull
Add handling of null value in value map to search widget
2016-09-05 13:54:50 +10:00
Nyall Dawson
6dbdd4c24b Update test masks for qt5 2016-09-05 13:44:41 +10:00
Nyall Dawson
766ae97d35 Fix some errors when using python3 tempfile 2016-09-05 13:30:41 +10:00
Nyall Dawson
eba6101357 Fix broken python save/open dialogs under PyQt5
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Nyall Dawson
e54f9bee7a Fix PyQgsMapUnitScale test under qt5 2016-09-05 10:56:07 +10:00
Nyall Dawson
fd0d804341 Fix error when executing python code under python 3 2016-09-05 10:17:37 +10:00
Nyall Dawson
0ead08b5b0 Fix incorrect QtGui import 2016-09-05 09:50:34 +10:00
Nyall Dawson
82da555c79 Upgrade internal pygments to 2.1.3 2016-09-05 09:25:59 +10:00
Nyall Dawson
96e10ebff2 If vector layer renderer cannot be loaded, fallback to default
Eg if loading a project which used a plugin based renderer which
is not available, qgis would not renderer the layer and
eventually crash. Now if the saved renderer could not be
restored we fallback to a default renderer for the layer.
2016-09-05 08:58:04 +10:00
arnaud.morvan@camptocamp.com
c369710667 Calculate min coverage on execution 2016-09-04 17:58:17 +02:00
arnaud.morvan@camptocamp.com
b18cfc99e6 Fix on extent parameter in modeler parameters dialog 2016-09-04 16:33:43 +02:00
Webmaster
9d22440c56 fix to support PyQt5 5.7 2016-09-04 16:30:23 +07:00
Nyall Dawson
95c4fa1340 Merge pull request #3451 from nyalldawson/smoooooth
[FEATURE] New simplify + smoothing expression functions
2016-09-04 12:09:31 +10:00
Juergen E. Fischer
0036274a41 oracle provider: add updates on lob fields
(cherry picked from commit b61d932fc4b44669bf0094d76089d8c6bc129da6)
2016-09-03 20:22:52 +02:00
Juergen E. Fischer
474b9d86b2 processing: use main vector menu translation (fixes #14535)
(cherry picked from commit 11289a0d973e6e4a3f7f81972dd08f2e6d82941e)
2016-09-03 20:19:43 +02:00
Juergen E. Fischer
1fe085bf16 translation string fix
(cherry picked from commit 02af8b5566cba2271404e91d694d239bcdd3aedd)
2016-09-03 20:19:29 +02:00
Nyall Dawson
679797e22b [FEATURE] New simplify + smoothing expression functions
Exposes simplification and smoothing algorithms to expression
engine, via:

- simplify(): applies Douglas-Peucker geometry simplification
- simplify_vw(): applies Visvalingam-Whyatt geometry simplification
- smooth(): smoothes a geometry

Carto tip: use smooth along with geometry generators to minimise
the typical "GIS" noded look of rendered geometries!
2016-09-03 21:52:06 +10:00
Nyall Dawson
8881a7e5de Improve wording and fix build warning 2016-09-03 17:19:10 +10:00
Matthias Kuhn
26253c8c8e Add qgsmaplayerdependency.h to installed headers 2016-09-03 08:35:38 +02:00
Nyall Dawson
8107856cc5 Merge pull request #3450 from nyalldawson/smoooooth
[FEATURE] Extra control when smoothing geometries
2016-09-03 09:38:37 +10:00
Nyall Dawson
795b52e906 Followup 80653c7, add missed algorithm 2016-09-03 08:50:23 +10:00
Nyall Dawson
4d60d0cdb5 [FEATURE] Add option to QgsGeometry::smooth to not smooth
segments shorter than a certain threshold or sharp corners
with an angle exceeding a threshold

Expose the angle threshold to processing smooth algorithm

Also:
- optimise QgsGeometry::smooth for new geometry classes
- Fix smooth does not work with geometries containing Z/M
2016-09-03 08:31:33 +10:00
Matthias Kuhn
01da222b34 Merge pull request #3447 from epifanio/patch-1
fix typo
2016-09-02 17:11:12 +02:00
epifanio
4aac75ff9b fix typo
fix typo in python/plugins/processing/algs/qgis/Polygonize.py
2016-09-02 10:33:45 -04:00
Matthias Kuhn
31c3739460 Merge pull request #3420 from yjacolin/rewordWMSConnexion
Reword delete button in service connection dialog
2016-09-02 08:45:57 +02:00
volaya
7ddaf9039d Merge pull request #3430 from alexbruy/output-vector
[processing] support for explicit output vector types
2016-09-02 08:40:37 +02:00