32650 Commits

Author SHA1 Message Date
Bas Couwenberg
666050c57c Add support for GNU/Hurd to GRASS plugin qtermwidget/kpty.cpp.
The GNU/Hurd porting guidelines document the following:
"
 Missing termio.h

 Change it to use termios.h (check for it properly with autoconf
 HAVE_TERMIOS_H or the __GLIBC__ macro)

 Also, change calls to ioctl(fd, TCGETS, ...) and ioctl(fd, TCSETS, ...)
 with tcgetattr(fd, ...) and tcsetattr(fd, ...).
"
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#Missing_termio_h_tt_
2016-05-14 18:45:32 +02:00
Even Rouault
45e7da15e1 OGR provider: fix Coverity warning about mFetchGeometry member being not always initialized 2016-05-14 17:57:00 +02:00
Even Rouault
349a618a9e qgsgml & WFS provider: fix Coverity warnings introduced in recent WFS works 2016-05-14 14:42:34 +02:00
Even Rouault
abd182c50c Merge pull request #3061 from rouault/saveas_human_readable_values
[FEATURE] Export vector layer with "human-readable" values from edit widgets
2016-05-14 14:23:10 +02:00
Even Rouault
90cc0ed495 QgsVectorLayerSaveAsDialog: add checkboxes to decide which fields should be exported with their displayed values, and bind it in QgisApp with QgsVectorFileWriter 2016-05-14 12:33:10 +02:00
Even Rouault
038b3b7950 QgsVectorFileWriter: add capability to export displayed values of fields (typically coming from edit widgets) instead of their raw values 2016-05-14 12:33:10 +02:00
aharfoot
cfb6100389 Disable FEATURE_DATASET layer option if its value is not set 2016-05-14 08:55:23 +02:00
Matthias Kuhn
894d520018 Merge pull request #2621 from simonsonc/georef-crosshairs
Make the georeferencer tool use a snapping cursor
2016-05-14 00:47:51 +02:00
Sebastian Dietrich
c5308754eb [DbManager] allow to refresh materialized views
(fixes #13697)
2016-05-14 00:41:20 +02:00
Matthias Kuhn
10134587ed Add note for failing Qt5 test 2016-05-14 00:38:19 +02:00
Matthias Kuhn
a349e702cc Fix from PyQt.xy > from qgis.PyQt.xy import leftovers 2016-05-14 00:38:19 +02:00
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
Blottiere Paul
b930a4b5e2 fix extent 2016-05-12 17:42:55 +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