43550 Commits

Author SHA1 Message Date
Nyall Dawson
178708590d More followups to SAGA raster parameter handling 2017-11-09 18:54:13 +02:00
Nyall Dawson
1fc395b4fa GeoAlgorithmExecutionException -> QgsProcessingException 2017-11-09 18:54:13 +02:00
Nyall Dawson
65faf542e0 Fix excepthook handling in standalone scripts 2017-11-09 18:54:13 +02:00
Nyall Dawson
85b8502444 Fix parsing of saga params 2017-11-09 18:54:13 +02:00
Nyall Dawson
b928cc61fb Update SAGA RasterOuput params 2017-11-09 18:53:02 +02:00
Nyall Dawson
640891ee58 Update SAGA ParameterNumber params 2017-11-09 18:53:02 +02:00
Nyall Dawson
a1300f3d5b Update SAGA ParameterRaster params 2017-11-09 18:53:02 +02:00
Nyall Dawson
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Nyall Dawson
7ad764d625 Fix bad strings in saga description file 2017-11-09 18:53:02 +02:00
Nyall Dawson
571a5ca5f8 Start bringing back saga algs - split RGB bands 2017-11-09 18:53:02 +02:00
Even Rouault
d00efde2f0
Merge pull request #5580 from rouault/fix_QgsRasterFileWriter_geopackage
[GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
2017-11-09 16:24:23 +01:00
Blottiere Paul
022f6cfd21
Merge pull request #5515 from pblottiere/server_bugfix_plusspace
[server][bugfix]  Fixes #17401 by replacing '+' symbol by space
2017-11-09 15:01:40 +00:00
Even Rouault
b9bde10759
Merge pull request #5576 from rouault/wfst10_test_qt5
Re-enable testWFST10
2017-11-09 15:48:19 +01:00
Even Rouault
c3e15f5228 [GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
Previously we created an empty file, close it and re-opened it immediately in open mode.
However for GeoPackage, if you create for example a 1 band or 3 band dataset, upon reopening
you get a 4 band RGBA dataset, due to the fact that GeoPackage doesn't explicitly store the
number of bands. Thus the 4th band (alpha) was never written by the QgsRasterFileWriter logic.
2017-11-09 15:22:41 +01:00
Harrissou Sant-anna
d8a3c67fa5 Constrain the Help button placement
by avoiding the buttonbox expand
2017-11-09 15:09:48 +01:00
Matthias Kuhn
9f65fcd0d9
Merge pull request #5577 from m-kuhn/valuerelref
Fix value() method of relation reference widget
2017-11-09 14:56:57 +01:00
Matthias Kuhn
b1ac56b5bc Fix value() method of relation reference widget 2017-11-09 14:36:12 +01:00
Matthias Kuhn
8abc892ea2 Typo 2017-11-09 14:35:20 +01:00
Even Rouault
426b8dbc46 Re-enable testWFST10 2017-11-09 13:10:42 +01:00
Even Rouault
75c41f5e18 [WFS provider] Fix deadlock when adding WFS layer to project from Python console (fixes #17087) 2017-11-09 12:42:13 +01:00
Matthias Kuhn
032ca68ba3
Merge pull request #5572 from signedav/valuerelationwidget
Value relation widget takes key again instead of value (in Attribute Form)

Fix #17261
2017-11-09 11:11:38 +01:00
Blottiere Paul
7f37e70762 Add test 2017-11-09 09:31:43 +00:00
Blottiere Paul
ac24c4a37e Fixes #17401 by replacing '+' symbol by space 2017-11-09 09:30:14 +00:00
Juergen E. Fischer
1ff50fd59e fix TestQgsFileDownloader::testLacksWritePermissionsError (followup f06ea878) 2017-11-09 09:16:55 +01:00
David
2daae54d16 Attribute Form - value relation widget takes key again instead of value
Corrected: Value relation widget update incorrectly tries to use value instead of key

The mapped key has to be set in the return value (not the input value).
In the release-2_18 the key was returned correctly but in another structure. So this is corrected now.
2017-11-09 08:46:26 +01:00
Mathieu Pellerin
0ccf6fa171
Fix Z and M support for add point feature (fixes #17427) 2017-11-09 12:36:22 +07:00
Nyall Dawson
ba62ffce2c Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Matthias Kuhn
61b2f74aae Do not assume edit widget value changes on every signal
Widgets may on initialisation send out a notification that the value changed (from invalid to something sensible).

The attribute form should however only tell the rest of the world, that a value changed if the new value doesn't
correspond to the one in the cached QgsFeature.

Fix #17425
2017-11-09 02:18:11 +01:00
Matthias Kuhn
dca0dc1dd5 Fix crash when removing layers from running transactions
qobject_cast no longer works when the QObject::destryed signal is being emitted
2017-11-09 02:17:39 +01:00
Matthias Kuhn
78622b4816
Merge pull request #5568 from m-kuhn/postgresDefaultValues
[postgres] Fix default value check if evaluated server side
2017-11-09 01:46:30 +01:00
Matthias Kuhn
b18c891dfc [postgres] Fix default value check if evaluated server side 2017-11-09 01:19:35 +01:00
Nyall Dawson
cab807dc30
Merge pull request #5426 from medspx/ProcessingPortGrass72
[Processing] Port GRASS 7.2 algorithm provider
2017-11-09 06:42:38 +10:00
Matthias Kuhn
e1ffb2826b QgsHighlight improvements
* Doxygen improvements
* Fix unrequired casting
* Remove unrequired contructor
2017-11-08 21:17:00 +01:00
Matthias Kuhn
d79ac26fda
Fix build warning 2017-11-08 17:50:59 +01:00
Matthias Kuhn
140b9568b9
Merge pull request #5467 from signedav/propertieslayout
Propertieslayout Fields And Forms Redesign
2017-11-08 17:46:11 +01:00
David
0ba8f97979 no +/- buttons when not needed and some graphical finetuning
scroll area for attribute type config, but no scroll area for whole tab
set attribute type config to invisible when a container box is selected
2017-11-08 16:53:04 +01:00
Nathan Woodrow
7b427c6be5 Don't quote symbol path in crash 2017-11-09 00:57:04 +10:00
Matthias Kuhn
be5a0c9a01
Merge pull request #5556 from m-kuhn/crashOnHighlight
No need to crash when a user wants a highlight
2017-11-08 15:25:23 +01:00
Mathieu Pellerin
17c7e2fbca
[3D] Fix missing Z support for point layers (#5560) 2017-11-08 21:04:58 +07:00
Matthias Kuhn
fd937c3a86
Increase outline width 2017-11-08 14:37:17 +01:00
Matthias Kuhn
42c9d158cf
[test] Fix canvas size and background garbage 2017-11-08 14:37:16 +01:00
Matthias Kuhn
593bff2cf7
Add control images to highlight check 2017-11-08 14:37:16 +01:00
Matthias Kuhn
05868c21fb
Add smoke test for QgsHighlight 2017-11-08 14:37:16 +01:00
Matthias Kuhn
dc7ec1e1ca
No need to crash when a user wants a highlight
Fix #17413
2017-11-08 14:37:16 +01:00
David
ccd142fef6 Correct order of column headers in relationmanager
The column headers of "Referenced Field" and "Referenced Layer" were switched with respect to their content. Changed to the correct order in GUI now.

Fix #17409
2017-11-08 13:42:53 +01:00
Alessandro Pasotti
6b9b513ea5 [bugfix] Fixes QgsFileDownloader abort on error
Abort reply on error.

Fixes #171410

Requires backport
2017-11-08 13:33:27 +01:00
Alessandro Pasotti
f06ea878b8 Add a test case for unwriteable folders in file downloader
Attempt to verify bug 17410 Identify tool->download in a not authorised folder block qgis

The test passes, so let's push it in, I'll continue
to investigate if there is an issue in the GUI logic.
2017-11-08 13:01:46 +01:00
Alessandro Pasotti
e781ad2e3e
Merge pull request #5558 from elpaso/project_use_rw_context
[bugfix] Project use rw context
2017-11-08 12:26:45 +01:00
Alessandro Pasotti
d11ea073c7 Removed Q_UNUSED 2017-11-08 12:25:59 +01:00
Borys Jurgiel
845310091d Fix histogram refreshig 2017-11-08 10:28:16 +01:00