51097 Commits

Author SHA1 Message Date
Denis Rouzaud
819aaee382 move XML flag reading to Xml utils 2018-10-04 08:56:51 -04:00
Denis Rouzaud
0cd6ea488d use the source style from clipbboard to avoid error when pasting with all style 2018-10-04 08:56:51 -04:00
Denis Rouzaud
b004a415ac save categories that were used in the XML 2018-10-04 08:56:50 -04:00
Denis Rouzaud
0787a73d5b do not block pasting style on different geometry type layer if destination categories don't have symbology 2018-10-04 08:56:50 -04:00
Denis Rouzaud
226fb47eef
fix cannot load style when layer has no style in DB (#8113) 2018-10-04 04:45:30 -08:00
Alessandro Pasotti
bfe2413019
Merge pull request #8101 from elpaso/bugfix-various-dbmanager-query-time-rows
[db-manager] Fix some unreported issues in the SQL dialog
2018-10-04 08:26:52 +02:00
Alessandro Pasotti
031efeb39c
Merge pull request #8100 from elpaso/bugfix-19388-crash-on-form-widget
Fix a crash on attribute form widget
2018-10-04 08:26:22 +02:00
Nyall Dawson
cc4e2ab842 Capitalization 2018-10-04 16:07:37 +10:00
nirvn
9d2c3af7ad [mesh] make layer blend mode option visible in UI 2018-10-04 09:59:42 +07:00
Nyall Dawson
64e561cc15 Fix "Add" button in database add layer dialogs is sometimes disabled
even when a layer is selected
2018-10-04 12:46:28 +10:00
Nyall Dawson
7ac86d2fbf [mssql] Fix incorrect feature sort order when combined with subset
of attributes request

Fixes a failing provider conformance test
2018-10-04 12:46:28 +10:00
Nyall Dawson
f3779589c6 [mssql] Fix conversion of time values
At least using the linux sql server driver, time fields are not
correctly automatically converted to QTime variants. Instead
they are returned as a raw byte array containing the value.

Add special handling to ensure that these time values are
read regardless.

(there's already a test in place for this, which was failing
on Linux)
2018-10-04 12:46:28 +10:00
Nyall Dawson
072965385e [mssql] Fix more clazy/clang warnings 2018-10-04 12:46:28 +10:00
Nyall Dawson
c5ecc6484e [mssql] Fix provider emits unnecessary dataChanged signal
Fixes a failing provider conformance test
2018-10-04 12:46:28 +10:00
Nyall Dawson
f0342ec64f [mssql] Fix some clazy/clang warnings 2018-10-04 12:46:28 +10:00
Nyall Dawson
f6ecc8c08c [mssql] Fix debug noise when reading features with null geometry 2018-10-04 12:46:28 +10:00
Nyall Dawson
af0ddb6a7c [browser] Use link folder icon for symlinked folders 2018-10-04 11:29:35 +10:00
Nyall Dawson
7ae3864b63 Correctly parent dialog to window, not browser 2018-10-04 09:53:42 +10:00
Nyall Dawson
5774b9a85b Correctly parent actions 2018-10-04 09:53:42 +10:00
Nyall Dawson
faa119fef5 Fix cannot use browser dock to create new folders 2018-10-04 09:53:42 +10:00
Philipe Borba
e375d1ddd7 [BUG FIX][Split Tool] Bug fix for split features tool
Fixes #19936 by prioritising existing attributes over provider side defaults in some circumstances
2018-10-04 06:19:55 +10:00
Stephen Knox
f410b4a4da Fixes #16759 - ensures OSM layers use OGR random layer read/write
To guarantee all features are rendered with large files
2018-10-04 06:17:17 +10:00
Nyall Dawson
14b6843293 Update expected test results 2018-10-04 06:15:38 +10:00
Nyall Dawson
297dbe0786 Fix ellipsoidal area calculation 2018-10-04 06:15:38 +10:00
Martin Dobias
36d33ee65d Two small mesh layer GUI fixes
- update native/triangular mesh enabled/disabled setting from layer
- update time slider/cobmo from layer
2018-10-04 06:13:32 +10:00
Denis Rouzaud
de1a546328 move connection to change project title later in init
this fixes a crash when running QGIS with snapping enabled in ini file
2018-10-04 06:13:14 +10:00
Giovanni Manghi
e5e1b9a416 fix the GRASS7 r_contour tool removing the mandatory flag of one of the parameters 2018-10-04 05:52:13 +10:00
Larry Shaffer
a74d797517
Merge pull request #8072 from dakcarto/opencl-clhpp
[opencl] Add FindOpenCLhpp CMake module; vendor cl2.hpp; fixup includes
2018-10-03 13:38:47 -06:00
Alessandro Pasotti
947a199960 [db-manager] Fix max recursion limit in rollback 2018-10-03 15:17:52 +02:00
Alessandro Pasotti
c90da0e46a [db-manager] Fix affected rows -1
Number of affected rows was always reported ad -1
no matter what was in the SQL
2018-10-03 15:11:08 +02:00
Alessandro Pasotti
96b903e1f3 [db-manager] Increase precision when reporting query time
For consistency with the SQL dialog that used 3 decimal places
2018-10-03 14:48:04 +02:00
Alessandro Pasotti
b8c21b0387 [db-manager] Query elapsed time include fetch time
The values reported were always lower than
the actual time for query and fetch.

I guess that those values are useful when you
are testing queries and fine-tuning them,
so the actual value should include fetching
time.
2018-10-03 14:45:01 +02:00
Matthias Kuhn
0319e36c63
Merge pull request #8054 from m-kuhn/geometryCheckPyBindings
Python bindings for QgsGeometryCheck and co
2018-10-03 14:36:48 +02:00
Alessandro Pasotti
6a8d80d597 Alway use index from name
followup 2609815cd134112489a3933461324c176cafcbe8
2018-10-03 11:50:52 +02:00
Alessandro Pasotti
2609815cd1 Fix a crash on attribute form widget
Fixes #19388 - Consistent crash with join layer
2018-10-03 11:28:01 +02:00
nirvn
f4bc24c58f [ui] add a favorite star to menu action 2018-10-03 14:03:40 +07:00
nirvn
3235fb5422 [ui] resurrect home folder 2018-10-03 14:03:40 +07:00
nirvn
359986d885 [ui] remove use of system icons in svg selector widget 2018-10-03 14:03:40 +07:00
nirvn
94aa8d0360 [ui] remove use of system icons in browser directory properties 2018-10-03 14:03:40 +07:00
nirvn
edc54b7348 [ui] remove use of system icon in adv. settings tree 2018-10-03 14:03:40 +07:00
Matthias Kuhn
09adbe290b
Merge pull request #7888 from signedav/bugfix_recursive_crash
[Bugfix] Do not store recursively
2018-10-03 07:24:45 +02:00
Nyall Dawson
2aef195527 Fix doxygen warning 2018-10-03 04:50:30 +10:00
Nyall Dawson
3e356bee76 Safer projection handling overriding in browser 2018-10-03 04:50:30 +10:00
Nyall Dawson
82c6281e0e Load default QGIS metadata for layers in browser layer metadata panel 2018-10-03 04:50:30 +10:00
Nyall Dawson
dcca55c6c8 [mssql] Fix iteration failure from background threads
We need to defer the database retrieval until iteration begins,
because otherwise we are creating the database in the main thread
and then using it in another thread (blocked in Qt 5.11, dangerous
in Qt < 5.11).
2018-10-03 04:50:05 +10:00
Nyall Dawson
b7333c0664 [mssql] Use currentThread instead of fragile currentThreadId to ID unique connection names 2018-10-03 04:50:05 +10:00
Nyall Dawson
72432246a1 [mssql] Fix test data creation script 2018-10-03 04:50:05 +10:00
Nyall Dawson
dce7b1938f [mssql] Fix some provider methods fail 2018-10-03 04:50:05 +10:00
Nyall Dawson
801fce7cc3 [mssql] Fix another scenario when mssql browser item can get stuck in refreshing state forever 2018-10-03 04:50:05 +10:00
Nyall Dawson
7c27a5b401 [mssql] Fix connection ID used by column type thread 2018-10-03 04:50:05 +10:00