51936 Commits

Author SHA1 Message Date
Denis Rouzaud
1fbcab9edc fix device size in decoration item
the size should take the device pixel ration into account
fixes #20321
2018-11-02 22:04:01 -04:00
Denis Rouzaud
c1108fc6c8 move decoration items to specific folder 2018-11-02 22:04:01 -04:00
Rifa'i M. Hanif
6cb1b780d4 Merge remote-tracking branch 'upstream/master' 2018-11-03 05:17:27 +07:00
Denis Rouzaud
ec98dfcf92
fix build without GUI (#8405) 2018-11-02 08:56:16 -08:00
Denis Rouzaud
91583980fe allow to restric to certain module when running sip_includes.sh
it's a bit faster 🍺
2018-11-02 11:35:43 -04:00
Matthias Kuhn
eb5d487cd1
Merge pull request #8402 from m-kuhn/autoActivateGeometryValidation
Activate geometry checks when changing layer properties
2018-11-02 13:29:52 +01:00
Matthias Kuhn
7fb8579c9e
Fix crash when de/reactivating layer checks
When errors have been found and shown on the dock and deactivating layer checks that resulted in crashes.
Also when deactivating and reactivating checks, that would result in crashes.
2018-11-02 12:26:18 +01:00
Matthias Kuhn
5bc588e4df
Activate geometry checks when changing layer properties
No longer requires a reload of the project

Fix #20218
https://issues.qgis.org/issues/20218
2018-11-02 11:30:26 +01:00
Juergen E. Fischer
8400a8bb3d dwg import:
* allow entering new gpkg filenames (fixes #20305)
* move messagebar to dialog
2018-11-02 11:10:42 +01:00
Alessandro Pasotti
eca00ba3c9
Merge pull request #8396 from elpaso/datasource-select-dialog
QgsDataSourceSelectDialog: a simple browser-based reusable data sourc…
2018-11-02 08:47:33 +01:00
nirvn
ea734595ef [native] Use official .desktop file name on linux 2018-11-02 10:44:10 +07:00
Nyall Dawson
fd5a1c82ec Fix crash on Windows on idle/usb notifications
Fixes #20312, #20319, #20312, #20307, #20299, #20297, #20280
(maybe others)
2018-11-02 07:32:51 +10:00
Nyall Dawson
c782f27820 Tighten scope of connection 2018-11-02 04:35:37 +10:00
Nyall Dawson
a5ff6db240 [mssql] Fix database connection cleanup on thread exit 2018-11-02 04:35:37 +10:00
Nyall Dawson
a392a160e6 Fix authentication database connections
Fixes the authentication database cannot be opened in some circumstances.
We need to ensure that the pooled database connection is removed
immediately on thread finalisation and cannot defer this until
the main thread event loop runs.

Fixes #20262
2018-11-02 04:35:37 +10:00
Nyall Dawson
368286fed0 Correctly cleanup auth db connection on thread finished
(doesn't fix the invalid connection issue!)
2018-11-02 04:35:37 +10:00
Nyall Dawson
ac781fac50 Add more debugging to auth db opening 2018-11-02 04:35:37 +10:00
Denis Rouzaud
8ea02e9655
fix qgsDoubleString printing -0 (#8363) 2018-11-01 08:29:57 -08:00
Alessandro Pasotti
105455ca2c Layout fixes 2018-11-01 17:29:51 +01:00
Even Rouault
6d4935803b
Merge pull request #8397 from rouault/fix_20308
[BUGFIX] [OGR provider] Make filter by id(s) requests work again on OSM datasets (fixes #20308)
2018-11-01 14:32:01 +01:00
Nyall Dawson
fa71e4d3d7 Move to vector general group 2018-11-01 21:47:28 +10:00
Nyall Dawson
4dd3e211e2 Unit tests for reomve duplicates by attribute 2018-11-01 21:47:28 +10:00
Nyall Dawson
4e9da6f190 [FEATURE][processing] New algorithm "Remove duplicates by attribute"
Allows for removal of duplicate features, identified using the values
in one (or more) field values from the input features.

Optionally any discarded (duplicate) features can be saved to a separate
sink.
2018-11-01 21:47:28 +10:00
Juergen E. Fischer
1151639f9d fix news 2018-11-01 12:42:41 +01:00
Juergen E. Fischer
a826c56445 verify that projecta actually delivers a changelog 2018-11-01 12:39:53 +01:00
Even Rouault
986e11b6bb
[BUGFIX] [OGR provider] Make filter by id(s) requests work again on OSM datasets (fixes #20308) 2018-11-01 12:37:37 +01:00
Alessandro Pasotti
083208c1eb QgsDataSourceSelectDialog: a simple browser-based reusable data source select dialog 2018-11-01 12:02:38 +01:00
Nyall Dawson
3195c82ec1 Fix memory leak 2018-11-01 20:41:08 +10:00
Nyall Dawson
09c2daa1c1 [FEATURE] Allow exploration of QGS project file contents directly
within browser

Allows QGIS project file items inside the browser to be expanded,
showing the full layer tree (including groups) contained within
that project. Layers are shown as normal layer items, allowing
them to be easily added to the current project via drag and drop
or double click. Additionally, because they are treated just
the same as any other layer items in the browser, they can be
drag and dropped within the browser to e.g. directly copy the
layer to a geopackage file!

TODO: apply layer symbology from project file when adding a
layer from a different project to the current project
2018-11-01 20:41:08 +10:00
Nyall Dawson
f0436df618 [browser] Allow data item providers a chance to implement QGIS project
item creation and override default project file handling

If no provider is registered which handles QGIS project files,
then the default behavior is used as a fallback
2018-11-01 20:41:08 +10:00
Nyall Dawson
850eae1606 [browser] Avoid expanding/collapsing nodes if the double click
was specifically handled by an item itself
2018-11-01 20:41:08 +10:00
Nyall Dawson
5c5f2ed7e3 Add method to get QgsLayerItem::LayerType from a map layer 2018-11-01 20:41:08 +10:00
Nyall Dawson
f65c845f86 [processing][GRASS] Correctly handle input vector layers with |layername= param
Fixes #20277
2018-11-01 18:36:53 +10:00
Nyall Dawson
82ac04d6f7 [processing][GRASS] Give some more feedback when trying to use
v.external for reading inputs, and if we can't, advise why not
2018-11-01 18:36:53 +10:00
Nyall Dawson
676238b28f [processing][grass] Highlight GRASS error messages and warnings in log
And catch segmentation faults from GRASS commands and show a nice
helper text advising user that QGIS isn't at fault here ;)

Also add a tip to try disabling the v.external option if that setting
is enabled and a GRASS segfault occurs
2018-11-01 18:36:53 +10:00
Nyall Dawson
484895e267 [processing] Fix incorrect html used when pushing console command feedback to dialog
And make color less dominant (not bright blue!). We want other more critical
messages the be more attention grabbing then the noisy console outputs.
2018-11-01 18:36:53 +10:00
Nyall Dawson
e83aa5a200 Hidpi friendly message bar icon sizes 2018-11-01 17:40:16 +10:00
Nyall Dawson
26c3dd30a9 Hidpi friendly welcome page sizes 2018-11-01 17:40:16 +10:00
Nyall Dawson
187f74148c [FEATURE] Show QGIS style xml libraries in browser and support
drag and drop of style .xml files to main QGIS window

Double clicking the databases or dragging them to QGIS
triggers the import from style dialog with the corresponding
input file already selected
2018-11-01 15:57:31 +10:00
Nyall Dawson
620643e254 [browser] Unify layer name in properties for raster/vector layers 2018-11-01 15:55:57 +10:00
Nyall Dawson
17447e4b5c [FEATURE][browser] Restore preview functionality from old 2.x standalone
browser into inbuilt browser dock panel layer properties widget
2018-11-01 15:55:57 +10:00
Nyall Dawson
7f332fb7a6 [browser] Remove redundant name/uri/provider labels from top
of layer properties widget

All this information is already shown in the scrollable metadata
section below that, so we're wasting precious space in this
valuable widget with a lot of duplicate information
2018-11-01 15:55:57 +10:00
Nyall Dawson
ab4601820c [browser] Don't try to open links within the browser properties widget
Instead open them externally. Fixes clicking on the path link
within metadata tries to open layer files instead the text
widget instead of showing them in the desktop file browser.
2018-11-01 15:55:57 +10:00
William Kyngesburye
3f72e0cd41 don't run GRASS commands in shell, that's not working 2018-10-31 20:55:56 -05:00
Nyall Dawson
15435ad56e Fix crash on opening options on debug builds where open CL is not enabled
Fixes #20295
2018-11-01 06:22:20 +10:00
Nyall Dawson
41c31b44ba Fix build warning 2018-11-01 05:56:38 +10:00
Björn Harrtell
4ab377b92f Remove meaningless conditional and improve user input handling 2018-10-31 17:11:25 +01:00
Matthias Kuhn
429cd0bacd
Merge pull request #8240 from m-kuhn/mergeVectorLayersDuplicateFid
Ignore FID field when merging vector layers to geopackage
2018-10-31 13:47:12 +01:00
Alessandro Pasotti
467fae8e26
Merge pull request #8388 from elpaso/bugfix-20271-wms-null-styles
[wms] Do not pass null QStrings to QgsWmsProvider::setQueryItem
2018-10-31 13:34:47 +01:00
Rifa'i M. Hanif
116fcc453c Fix symbol selector dialog overflows the screen on small resolution 2018-10-31 18:23:25 +07:00