Denis Rouzaud
37f180c59e
Merge pull request #6365 from 3nids/geom_gadget
...
make QgsGeometry a Q_GADGET
2018-02-17 06:56:46 -09:00
Salvatore Larosa
a8a449f8c1
[processing] fix variable name
2018-02-17 16:50:43 +01:00
Salvatore Larosa
4c95b6bf38
[processing] fix execution of SAGA algorithms under macos
2018-02-17 16:47:17 +01:00
Denis Rouzaud
f31ba78ccd
Merge pull request #6364 from 3nids/setting_enum_value
...
[settings] add method to get value for a setting associated to an enum
2018-02-17 06:28:35 -09:00
Denis Rouzaud
91e98ef5a5
run sip_include.sh
2018-02-17 11:16:47 -04:00
Denis Rouzaud
bda67ada90
add test for QgsSettings::enumSettingValue
2018-02-17 10:46:01 -04:00
Juergen E. Fischer
125370076f
string truncations now uses ellipses (followup c3573b163)
2018-02-17 14:14:28 +01:00
Juergen E. Fischer
c3573b1636
more translation string fixes and updates
2018-02-17 11:33:36 +01:00
Jürgen Fischer
030714c8f3
Merge pull request #6329 from DelazJ/QMessageBoxTitles
...
Fix some message boxes titles
2018-02-17 11:33:05 +01:00
Felis Pimeja
dedfb5ccb6
Updated and vectorized several icons ( #6362 )
...
mActionFileExit
repositoryUnavailable
repositoryDisabled
repositoryConnected
mActionRefresh
mIconDelete
mActionRemoveSelectedFeature
mActionFromSelectedFeature
2018-02-17 15:42:53 +07:00
Harrissou Sant-anna
b3b17b6557
More message box fixes
2018-02-17 09:41:11 +01:00
Nyall Dawson
7e4cdc024b
Update test
2018-02-17 19:10:46 +11:00
Nyall Dawson
1f3ee0501a
[processing] Always report errors if features cannot be written
...
to a destination
Before we silently ignored these - now algorithms will automatically
push errors to the log if a feature cannot be written to a sink (no
changes to algorithms or special handling required)
2018-02-17 19:10:46 +11:00
Nyall Dawson
84d2443b0a
Try to fix postgres provider handling of missing attributes
2018-02-17 19:10:04 +11:00
Nyall Dawson
877efca82e
Correct test
2018-02-17 19:10:04 +11:00
Nyall Dawson
141caddb62
Add test that providers always accept features with null geometry
2018-02-17 19:10:04 +11:00
Nyall Dawson
0e68a3e775
Rollback rejection of features with too many attributes
...
Turns out editable joins rely on this situation. Instead change
the providers to warn on this occurance, and make the memory
provider alone truncate the extra attributes (since it doesn't
have an external backend or disk based format which natively
applies this truncation)
2018-02-17 19:10:04 +11:00
Nyall Dawson
5ee54e095d
Fix test
2018-02-17 19:10:04 +11:00
Nyall Dawson
453c56e070
Fix adding features with geometry to geometryless memory layer
2018-02-17 19:10:04 +11:00
Nyall Dawson
0a5d48612c
Add provider test to ensure providers reject adding features
...
with geometry type mismatch
2018-02-17 19:10:04 +11:00
Nyall Dawson
7187ae3544
Ensure ogr, postgis and memory providers reject features
...
with too many attributes
2018-02-17 19:10:04 +11:00
Nyall Dawson
4ae476da99
Add provider test to ensure that adding features to a provider
...
with MORE attributes than expected results in a failure
We need to flag these and not silently discard the extra
attributes resulting in loss of information -- if thisi
situation occurs there's a deeper bug present whic
needs to be addressed.
2018-02-17 19:10:04 +11:00
Juergen E. Fischer
17039ff195
Adapt packaging to c988dd291
2018-02-17 07:41:20 +01:00
Denis Rouzaud
710beffd53
make QgsGeometry a Q_GADGET
...
so Q_ENUM can be used
2018-02-16 21:46:24 -04:00
Denis Rouzaud
1198dbad24
[settings] add method to get value for a setting associated to an enum
...
this will make sure the returned value is actually an existing entry of the enum
2018-02-16 21:37:05 -04:00
Alessandro Pasotti
bbcd332a78
Fix raster layer names in geopackage browser data items
2018-02-16 15:00:40 +01:00
Blottiere Paul
53aafb4803
Z value from snapped point is kept
2018-02-16 12:57:12 +00:00
Nyall Dawson
52585cf226
Fix memory provider handling of missing attributes when adding features
...
Ensure that features added to a memory provider (and returned when
fetching features from a memory provider) always have the correct
number of attributes present.
Fixes many random behavior bugs when working with memory providers.
2018-02-16 22:36:23 +11:00
Nyall Dawson
6d3b37a85e
Add provider test to ensure that features added with missing attributes
...
are transparently padded out with NULL attributes to the required fields
length
Currently the behavior is inconsistent - some providers reject these
features, others pad them out, and worse -- some add them with
missing attributes (memory provider), causing ALL sorts of flow-on,
difficult to debug issues.
2018-02-16 22:36:23 +11:00
Alessandro Pasotti
8628ba1bdd
Merge pull request #6356 from elpaso/bugfix-17721-color-picker
...
[bugfix] Restore color picker from layer styling panel
2018-02-16 11:47:11 +01:00
Blottiere Paul
b4be0ce791
Fixes build
2018-02-16 10:06:42 +00:00
Blottiere Paul
a6a3e0b1d4
Fix spelling check and sip binding
2018-02-16 10:06:42 +00:00
Blottiere Paul
cd4d9d0b0d
Drop z dimension in case of circle from tangential points
2018-02-16 10:06:42 +00:00
Blottiere Paul
35d0f57807
Update documentation
2018-02-16 10:06:42 +00:00
Blottiere Paul
d91bd45749
Take into account z dimension from center points
2018-02-16 10:06:42 +00:00
Blottiere Paul
12392f75b3
Some clean
2018-02-16 10:06:42 +00:00
Blottiere Paul
76a57b8345
The first point in 3D is used to propagate Z dimension
2018-02-16 10:06:42 +00:00
Blottiere Paul
ce9e012be8
Add some tests for regular polygon map tools
2018-02-16 10:06:42 +00:00
Blottiere Paul
d7860e25b0
Add some tests for ellipse map tools
2018-02-16 10:06:42 +00:00
Blottiere Paul
868c869e88
Add some tests for ellipse map tools
2018-02-16 10:06:42 +00:00
Blottiere Paul
58610b4298
Add some tests for circle map tools
2018-02-16 10:06:42 +00:00
Blottiere Paul
916e4bae2e
Add some tests for circular string map tools
2018-02-16 10:06:42 +00:00
Blottiere Paul
47ba3a026e
Fixes variables' names
2018-02-16 10:06:42 +00:00
Blottiere Paul
d2ed783de2
Add test for z values on QgsMapToolAddFeature with LineStringZ
2018-02-16 10:06:42 +00:00
Blottiere Paul
4bfc7b786e
Add Z support to AddRegularPolygon map tools
2018-02-16 10:06:41 +00:00
Blottiere Paul
4c6d03cac6
Add Z support for AddRectangle map tools
2018-02-16 10:06:41 +00:00
Blottiere Paul
79cdaa6092
Add Z support for AddEllipse map tools
2018-02-16 10:06:41 +00:00
Blottiere Paul
d3b9c98383
Rename pointFromPointXY to fromPointXY
2018-02-16 10:06:41 +00:00
Blottiere Paul
5d921cc9b2
Fixes crash in map tool
2018-02-16 10:06:41 +00:00
Blottiere Paul
4e7291783f
Add Z support for AddCircle map tools
2018-02-16 10:06:41 +00:00