51643 Commits

Author SHA1 Message Date
Denis Rouzaud
4ba77f83a6 fix typo 2018-10-26 08:12:57 -04:00
Denis Rouzaud
9e6d165861 doxymentation 2018-10-26 08:11:17 -04:00
lbartoletti
f002a9c43d fix snapping indicator when advance digitizing tools is enabled 2018-10-26 08:11:17 -04:00
Hugo Mercier
443afcd0bf
Merge pull request #8323 from mhugo/fix_15709
Fix virtual layer FilterRect handling when no uid is defined
2018-10-26 14:04:27 +02:00
lbartoletti
40e9406670 Add snapindicator to shape tools (#8292) 2018-10-26 03:46:07 -08:00
Denis Rouzaud
547fdb8292 be more explicit when detecting dark theme on Mac 2018-10-26 07:40:43 -04:00
Salvatore Larosa
4295e0e8e2 Fix build on OSX platform < 10.14 (#8348) 2018-10-26 03:37:25 -08:00
Nyall Dawson
5f5edb6b04 Black mssql test on Travis
The mssql odbc driver is proving very crashy on the Travis
docker image. Revisit when the docker image is upgraded
2018-10-26 21:24:41 +10:00
Matthias Kuhn
0633ee04a3
Merge pull request #8336 from m-kuhn/doNotReportEnvelopeAsGap
Do not report envelope as gap
2018-10-26 13:00:21 +02:00
Matthias Kuhn
2c835f9702
Merge pull request #8347 from DelazJ/patch-4
[Bugfix]Update "refresh layer at interval" tooltip
2018-10-26 12:59:58 +02:00
Matthias Kuhn
03c38e92f8
Merge pull request #8345 from m-kuhn/snapToGridExtentsUpdate
Update snap to grid rect on extentChange
2018-10-26 12:58:49 +02:00
Harrissou Sant-anna
3e7ee919fa
Update "refresh layer at interval" tooltip
Fix #20223
2018-10-26 12:02:44 +02:00
Hugo Mercier
efe4a79687 Fix virtual layer FilterRect handling when no uid is defined (fixes #15709)
When no uid if defined, features returned have an id defined by an
autoincremented integer. So we cannot use a SQL filter here because it
would return a subset of features and then an autoincremented id that
does not correspond to ids without filters.

So in this case, all the features are requested and the rectangle
intersection is done by the provider, not by SQLite.
2018-10-26 11:07:43 +02:00
Matthias Kuhn
0a8081416f
Update snap to grid rect on extentChange
Fix #20222
2018-10-26 10:38:27 +02:00
Matthias Kuhn
32cdf3a0b2
Do not report envelope as gap
Under some circumstances, the envelope of a check region would be reported as a gap.
While a check that this doesn't happen is normally enforced, this check doesn't work
when the features happen to be placed unfortunate enough to have their bounding box
rounded differently than the envelope.
2018-10-26 10:01:18 +02:00
Matthias Kuhn
a0e3c2df3b
Merge pull request #8335 from m-kuhn/qgsrectangleSnappedToGrid
Add QgsRectangle::snappedToGrid
2018-10-26 10:00:39 +02:00
Matthias Kuhn
04edcb7552
Merge pull request #8305 from signedav/action-icon
Different mAction icon, when action activated
2018-10-26 09:38:06 +02:00
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
Matthias Kuhn
0da210df52
Add QgsRectangle::snappedToGrid
Snaps a rectangle to a grid.
2018-10-26 07:58:27 +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