32587 Commits

Author SHA1 Message Date
Matthias Kuhn
c315113ed0 Fix memory leak 2016-05-14 00:38:19 +02:00
Matthias Kuhn
27aca5c341 Fix typo 2016-05-14 00:21:50 +02:00
Matthias Kuhn
94e062728f Unblacklist fixed Qt5 tests 2016-05-14 00:02:28 +02:00
Matthias Kuhn
af1de6e3e0 Migrate more tests to Python3 2016-05-14 00:02:20 +02:00
Matthias Kuhn
7dfc69657f Migrate provider test to python 3 2016-05-13 22:23:03 +02:00
Matthias Kuhn
25f2e637c0 Remove references to QPyNullVariant 2016-05-13 22:23:03 +02:00
Matthias Kuhn
89b7a4aaa2 Introduce NULL QVariant to PyQt5 2016-05-13 22:23:03 +02:00
Matthias Kuhn
f48d0431a8 Merge pull request #3069 from sbrunner/connect
Directly use function connect, remove no more existing signals
2016-05-13 17:17:32 +02:00
Stéphane Brunner
d03821866e Directly use function connect, remove no more existing signals 2016-05-13 17:15:12 +02:00
Matthias Kuhn
b1f59f3ed6 Merge pull request #3068 from sebastic/qtermwidget-kfreebsd
Add support for kFreeBSD to GRASS plugin.
2016-05-13 15:35:47 +02:00
Matthias Kuhn
8360936e89 Merge pull request #3059 from arnaud-morvan/canvas_saveasimage_with_annotations
Save as image with annotations
2016-05-13 14:18:26 +02:00
Alexander Bruy
ab3fef97aa fix import (take 2) 2016-05-13 13:17:48 +03:00
arnaud.morvan@camptocamp.com
95b5548def Save as image with annotations 2016-05-13 11:33:01 +02:00
Alexander Bruy
7c122a3a93 [processing] fix import 2016-05-13 11:11:33 +03:00
Even Rouault
d4d13a4a0a Merge pull request #3018 from rouault/wfs_sql
[FEATURE] [WFS provider] Add support for WFS 2.0 joins and other improvements
2016-05-13 09:55:38 +02:00
Bas Couwenberg
9a48886412 Add support for kFreeBSD to grass plugin. 2016-05-13 09:03:43 +02:00
volaya
19f80601bf [processing] remove toolbox dock widget when unloading plugin 2016-05-13 08:58:47 +02:00
Alexander Bruy
555fe3d911 [processing] simplify variables handling in scripts 2016-05-13 09:34:25 +03:00
Alexander Bruy
0c8f6f7fbb fix indentation and typo 2016-05-13 09:32:13 +03:00
Alexander Bruy
730c5806aa Merge branch 'processing_exps' of https://github.com/volaya/QGIS into processing_exps
Conflicts:
	python/plugins/processing/gui/NumberInputPanel.py
	python/plugins/processing/gui/OutputSelectionPanel.py
2016-05-13 09:26:55 +03:00
Nyall Dawson
b51d70ab95 Correctly emit presetsChanged() from QgsVisibilityPresetCollection 2016-05-13 10:05:05 +10:00
Nyall Dawson
7b64feb7e1 Group add db layer actions together in toolbar
The add layer toolbar is very full and users are unlikely to be
connecting to more than one db provider type frequently (eg
at a workplace they will likely have access to a Postgres db
OR a MSSQL db, not both concurrently)
2016-05-13 08:05:34 +10:00
Nyall Dawson
1f59541b9c Fix flipped marker fill and outline color 2016-05-13 08:05:33 +10:00
Nyall Dawson
79b979458f [FEATURE] New map tool for interactively setting point symbol offset
Allows for setting a point's offset if it is bound to a field using
data defined overrides (fix #14738)

TODO: replace temporary icons

Sponsored by North Road
2016-05-13 08:05:23 +10:00
Even Rouault
65a37dbe07 Fix style of nullptr comparisons 2016-05-12 23:24:39 +02:00
Even Rouault
8259b3fcc9 QgsSQLStatement::quotedIdentifierIfNeeded(): make it quote SQL reserved keywords 2016-05-12 23:24:39 +02:00
Even Rouault
84a797ea86 [FEATURE] [WFS provider] Add support for WFS 2.0 joins and other improvements
Second part of qgis/QGIS-Enhancement-Proposals#53
(QEP 35: WFS provider enhancements)

- URI parameter with sql with SELECT / FROM / JOIN / WHERE / ORDER BY clauses
- handle WFS 2.0 joins
- handle DateTime fields
- enable "Only request features overlapping the view extent" by default (and memorize the settings)
- rework DescribeFeatureType parsing to handle responses with several documents, and some support for attribute types being complexType
- rework feature transfer between downloader and iterator so as to avoid uncontrolled RAM usage when the iterator cannot keep up with the downloader
- turn on WAL journaling for better reader / writer concurrency
- add retry logic based on the 'Max retry in case of tile request errors' setting (renamed 'Max retry in case of tile or feature request errors')
- error to MessageBar in case of failed download
- in progress dialog, add a "Hide" button to mask the dialog
- improve automated testing
- add testing of the GUI of QgsWFSSourceSelect
2016-05-12 23:24:39 +02:00
Even Rouault
e503ca82e2 QgsVectorLayer::setSubsetString(): call updateFields()
Useful for WFS provider whose setSubsetString() can potentially
modify fields if changing the SELECT fields
2016-05-12 23:24:39 +02:00
Even Rouault
1da1c278e7 QgsOgcUtils: add conversion from QgsSQLStatement to OGC filters 2016-05-12 23:24:39 +02:00
Even Rouault
84129604a9 Add a QgsSQLComposerDialog GUI to edit QgsSQLStatement 2016-05-12 23:24:39 +02:00
Even Rouault
9df19e0133 Add QgsSQLStatement class to parse SELECT statements 2016-05-12 23:24:39 +02:00
Even Rouault
12a630f050 QgsGML: extend to be able to parse WFS 2.0 GetFeature response with join layers
And also fix handling srsDimension=3 on main GML geometry objects and not only posList
2016-05-12 23:23:44 +02:00
Even Rouault
9aa2dea341 QgsCodeEditorSQL: make autocompletion case insensitive when APIs are set on the lexer 2016-05-12 23:23:44 +02:00
Even Rouault
4a761df9ff QgsCodeEditor: workaround 2 QScintilla bugs
- Fix one bug with Scintilla 2.8.X when focus out event does not
  disable blinking cursor
- Make QScintilla widget not capture Escape key so that it can
  propagate to parent.
2016-05-12 23:23:43 +02:00
Even Rouault
b38a16fe2e Implement representValue() for Relation Reference widget 2016-05-12 19:52:26 +02:00
Alexander Bruy
583eaeff7f [processing] don't crash if user canceled script loading 2016-05-12 16:27:24 +03:00
Nyall Dawson
6886ea0d0c [FEATURE] Redesigned interactive gradient editor
Uses new gradient editor widget and color controls for easier
manipulation of gradients. Also adds an interactive plot
for modifying gradient stops via the color HSV or RGB values.

Fix #8383

Sponsored by North Road
2016-05-12 21:03:59 +10:00
Nyall Dawson
881be0f365 [FEATURE] New reusable interactive widget for editing gradient ramps
Supports:

- drag to move color stops
- double clicking to add a new stop
- pressing delete will remove the selected stop
- pressing arrow keys will move the selected stop, shift+arrow= larger
  move
- drag and drop a color onto the widget to add a new stop

Sponsored by North Road
2016-05-12 21:03:51 +10:00
Nyall Dawson
79f3d4221b Add equality operator for gradients, ensure stops are always in order 2016-05-12 20:55:27 +10:00
Nyall Dawson
77fc122bed Move internals of QgsColorDialogV2 to new QgsCompoundColorWidget widget
This allows reuse of the full options from the color dialog when
required in a widget form.
2016-05-12 20:52:16 +10:00
Nyall Dawson
0332157d8a Partial revert 18b69d 2016-05-12 10:22:22 +10:00
Nathan
febd18eec7 [Style Dock] Attach widget changed for graduated widgets 2016-05-12 09:07:36 +10:00
Nyall Dawson
18b69d26ef Indentation 2016-05-11 23:02:34 +10:00
Nyall Dawson
88d3e2aa7f [FEATURE] Show stats for string and date fields in stats dock 2016-05-11 23:02:33 +10:00
Nyall Dawson
b053ad8769 New class QgsDateTimeStatisticalSummary
Calculates summary statistics on lists of datetime values, such
as count, count distinct, min, max and range
2016-05-11 23:02:33 +10:00
Matthias Kuhn
0d165e5621 Merge pull request #3058 from arnaud-morvan/processing_postgis_errors
Processing - Fix unicode/str error in postgis_utils
2016-05-11 12:30:14 +02:00
Matthias Kuhn
ab7a07a64e Migrate "Hidden" widgets to "Hidden" attribute table columns 2016-05-11 12:28:40 +02:00
arnaud.morvan@camptocamp.com
66b1416dfe Processing - Fix unicode/str error in postgis_utils 2016-05-11 11:27:58 +02:00
Matthias Kuhn
5a2ab50699 Followup d088fe0: Fix failing test 2016-05-11 11:09:38 +02:00
Matthias Kuhn
1e9a40fb62 Fix python bindings for QgsAttributeAction 2016-05-11 10:04:00 +02:00