51621 Commits

Author SHA1 Message Date
Matthias Kuhn
e797f7efe9
Merge pull request #8229 from signedav/duplication-context-fix
Select feature menu on action with multiple features
2018-10-26 09:36:35 +02:00
Nyall Dawson
bbdbfa17a9 [layouts] Final fixes for data defined widgets showing outdated
data defined definitions when clicking between layout items
of the same type

Fixes #18694
2018-10-26 16:58:08 +10:00
Nyall Dawson
5e3fdb96b8 [layouts] Fix some data defined buttons don't update when
clicking between objects of same type

Refs #18694
2018-10-26 16:58:08 +10:00
Nyall Dawson
e991d98c36 [layouts] Fix data defined table button loses state
Refs #18694
2018-10-26 16:58:08 +10:00
Nyall Dawson
0f22a29b9d Fix dropping/adding z dimensions to certain output data types
where the layer geometry type is defined by features, not preset
in advance

Fixes #20220, #17669
2018-10-26 16:57:48 +10:00
Nyall Dawson
4bc561cc5c Fix crashes when right clicking a layer with a broken source,
e.g. a layer loaded from a qlyr with missing layer reference
2018-10-26 16:57:36 +10:00
Nyall Dawson
d1e2978314 Add warning to QgsLayerTreeLayer::layer() dox
Because the returned pointer must ALWAYS be tested before
being dereferenced
2018-10-26 16:57:36 +10:00
Matthias Kuhn
694424000c
Merge pull request #8338 from 3nids/fix20201
use Exclude field by default for relation search widget wrapper
2018-10-26 08:24:48 +02:00
Nyall Dawson
f0735d9171 Update test masks 2018-10-26 15:03:54 +10:00
Nyall Dawson
1ae010a6c9 Fix some clang truncate to int warnings 2018-10-26 15:03:54 +10:00
Nyall Dawson
1a2d0cc54f [processing][SAGA] Fix multilevel b spline description files
Resync with SAGA parameters
2018-10-26 13:15:43 +10:00
Nyall Dawson
7f484aba3b Fix some more inconsistent status bar fonts 2018-10-26 11:54:11 +10:00
signedav
b150554935 Do not overwrite values in attribute form while SearchMode
Because it can be in SearchMode during editing state, a change of selection in the feature list would overwrite the values of the selected one by the one selected before. This because the widget-values were not resetet for the current feature and are saved.

The saving is not avoided, because on edit, and switching to SearchMode and changing selection, the old feature still have to be saved. But it does reset the values of the current widget in SearchMode after changing selection - even if it's not visible by the user - to avoid to have wrong values there.

fixes ##17751
2018-10-26 10:16:00 +10:00
William Kyngesburye
6526dd0894 bundle sip to correct dir 2018-10-25 18:54:55 -05:00
Nyall Dawson
25c94d48b5 Better method to avoid test on Travis 2018-10-26 07:54:14 +10:00
Nyall Dawson
89aa19f643 Add a provider test to ensure that features returned from
addFeatures have the correct id assigned
2018-10-26 07:54:14 +10:00
Nyall Dawson
54c587f028 [mssql] Avoid some tests on Travis which trigger crashes in the ms odbc driver
not our fault -- i think it's either an issue with the ms odbc
driver itself or qt's odbc database handling. In any case, it
doesn't crash locally, so let's just skip the tests which trigger
the crash for now and revisit when Travis environment is upgraded.(*)
2018-10-26 07:54:14 +10:00
Nyall Dawson
1f852fffa8 [mssql] Run provider layer edits test suite 2018-10-26 07:54:14 +10:00
Nyall Dawson
37a6856232 A bit more tolerance in provider test 2018-10-26 07:54:14 +10:00
Nyall Dawson
972250d01f [mssql] Use output instead of IDENT_CURRENT to retrieve newly added primary keys
It's safer, works with non-identity columns, and potentially allows
us to optimise in future and bulk insert features instead of
one by one
2018-10-26 07:54:14 +10:00
Nyall Dawson
72946c30b4 [mssql] Fix incorrect layer extents after modifying layers 2018-10-26 07:54:14 +10:00
Nyall Dawson
fb0b8fdadc [mssql] For consistency with other providers deleteFeatures should return true to an empty list 2018-10-26 07:54:14 +10:00
Nyall Dawson
cd64d31b39 [mssql] Ensure provider rejects features with incorrect geometry type 2018-10-26 07:54:14 +10:00
Sveinn í Felli
f4e6477a63 Update TRANSLATORS
Added missing translator for Icelandic
2018-10-26 07:52:57 +10:00
James Shaeffer
69df8cf75c Updated the version of CMake from 3.7 to 3.12 in the list of required tools 2018-10-26 07:52:41 +10:00
Alessandro Pasotti
560e841e37 [authmanager] Fix OAuth2 implicit grant flow 2018-10-26 07:51:57 +10:00
Denis Rouzaud
8eb193020a
Merge pull request #8330 from 3nids/fix9160
Properly zoom to feature for single point selected
2018-10-25 13:34:49 -08:00
Nyall Dawson
1118f4ac91 Remove some dox details which are likely to go out of date quickly 2018-10-26 07:20:47 +10:00
Nyall Dawson
857bbe1e66 Register metatype for QgsAuthManager::MessageLevel to avoid qt warnings 2018-10-26 07:20:47 +10:00
Nyall Dawson
87f5c0c0d4 [o2] Avoid a misleading console error output 2018-10-26 07:20:47 +10:00
Borys Jurgiel
531f366372
Merge pull request #8310 from borysiasty/scale_lock_button
Move the scale lock button from the QgsStatusBarScaleWidget to QgsStatusBarMagnifierWidget
2018-10-25 23:17:34 +02:00
Borys Jurgiel
2633006985
Merge pull request #8329 from borysiasty/browser_gpkg_overwrite
Disable overwriting GPKG layers with rasters in the Browser Panel
2018-10-25 23:10:39 +02:00
Borys Jurgiel
6a61d5d226
Merge pull request #8337 from borysiasty/update-firstrundialog
Update link to changelog in the First Run Dialog
2018-10-25 23:10:10 +02:00
Denis Rouzaud
95142cc19e use Exclude field by default for relation search widget wrapper
fix #20201
2018-10-25 16:38:22 -04:00
Borys Jurgiel
ef56a7a208 Update changelog link from 3.0.0 to 3.4-LTR in the First Run Dialog 2018-10-25 22:00:47 +02:00
Denis Rouzaud
daca55a725 add test for QgsRectangle::scale and scaled 2018-10-25 15:31:05 -04:00
Juergen E. Fischer
6a2c31d897 fix typo 2018-10-25 20:51:19 +02:00
Nyall Dawson
3088574c50 Fix failing oauth2 test
The presence of the state parameter which has no QPROPERTY
counterpart in QgsAuthOAuth2Config was causing the
conversion for json to qobject to fail.
2018-10-26 04:46:42 +10:00
Nyall Dawson
7b3f3cfafb [oauth2] Show a list of directories searched for predefined configuration
files in the list tooltip/help text

Immediately gives users more clues about how to use these
files and where they must be placed
2018-10-26 04:46:42 +10:00
Nyall Dawson
b8361e4f9e [outh2] Don't crash when trying to parse an invalid json configuration file 2018-10-26 04:46:42 +10:00
Nyall Dawson
b5dc84d7db Fix some clazy warnings 2018-10-26 04:46:42 +10:00
Nyall Dawson
e24e5c7860 [oauth2] Use token url if refresh token url is not specified
The refresh token url is marked as optional -- so we fallback
on the token url if user has not specified a specific refresh URL
2018-10-26 04:46:42 +10:00
Denis Rouzaud
a4e438a410 fix fetching rectangle 2018-10-25 14:34:59 -04:00
Denis Rouzaud
6fc36dcd1a
use QgsFeatureRequest::setNoAttributes (#8332) 2018-10-25 10:01:04 -08:00
Denis Rouzaud
5577d83a75 mark method as const 2018-10-25 13:49:26 -04:00
Denis Rouzaud
d1f0ae4740
optimize request by fetching the required extend 2018-10-25 13:41:28 -04:00
Denis Rouzaud
80d0c33f5b add QgsRectangle::scaled which returns the scaled rectangle
facilitates one-lines
2018-10-25 13:37:07 -04:00
Denis Rouzaud
bf5537e230
fix crash when changing screen while rendering (#8328)
remove this assert since by the time the map is rendered the screen changed and might not have the same DPR.
2018-10-25 08:03:27 -08:00
Denis Rouzaud
699d8487dc
add QgsFeatureRequest::setNoAttributes (#8326)
since it's more convenient than setSubsetOfAttributes( QgsAttributesList() )
2018-10-25 07:35:05 -08:00
Alessandro Pasotti
653a668531
Merge pull request #8325 from elpaso/bugfix-other-db-styles
Fix show other DB styles when there are no styles for current layer
2018-10-25 16:56:35 +02:00