50910 Commits

Author SHA1 Message Date
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
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
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
Juergen E. Fischer
9958c0b977 update_ts.sh: no obsolete translation on push 2018-10-02 20:34:53 +02:00
Denis Rouzaud
3c13e7057c
fix build without HAVE_SERVER_PYTHON_PLUGINS (#7954) 2018-10-02 05:26:08 -08:00
Martin Dobias
6bff7f0896 [mesh] Misc GUI fixes for mesh layers
- correct rounding of time
- correct display of time (was off by an hour)
- fixed time combo box when not time-varying dataset group is loaded
- fixed switching of active dataset groups
- bonus: added missing space for arrows on grid ("10 px" not "10px")
2018-10-02 14:56:51 +02:00
Denis Rouzaud
d2fdfe8f6f
add null and is null macros for QgsFeatureId (#8085)
* add null and is null macros for QgsFeatureId
* Finalize FID_NULL
* No string to fid null conversion for now
* add parenthesis to fix macro call
2018-10-02 04:15:25 -08:00
Matthias Kuhn
b3f36dc22f
Merge pull request #8056 from qgis/3nids-patch-3
use float precision for screen coordinates
2018-10-02 14:04:50 +02:00
nirvn
ad95820541 bring some colors back 2018-10-02 19:00:32 +07:00
nirvn
6489081259 [browser] favorite and home folder icon improvements 2018-10-02 19:00:32 +07:00
nirvn
e9849a2b7e [browser] further tweak db, mesh, and zip icons 2018-10-02 19:00:32 +07:00
nirvn
d79c398245 [browser] invert folder icon colors 2018-10-02 19:00:32 +07:00
nirvn
89ed97c3fe [browser] grayscale raster and mesh icons 2018-10-02 19:00:32 +07:00
Nyall Dawson
8609052d61 More thread safe connection name work 2018-10-02 21:20:29 +10:00
Nyall Dawson
f4216bee5b [mssql] Fix never ending schema refreshing icon in browser 2018-10-02 21:20:29 +10:00
Nyall Dawson
b748ac607f [mssql] Fix cannot import layers to mssql via browser 2018-10-02 21:20:29 +10:00
Nyall Dawson
3b8a2d94c2 [mssql] Don't share connections between threads
Starting with Qt 5.11, sharing the same connection between
threads is not allowed. Use a dedicated connection for each
thread requiring access to the database, using the thread
address as connection name.

https://bugreports.qt.io/browse/QTBUG-68486 indicates that
this change is by design and that sharing connections between
threads was always unsafe.

Fixes broken mssql provider on Qt 5.11, and possibly who know
what issues on earlier Qt.

Ported from https://github.com/mumble-voip/mumble/pull/3419/commits/a3814e33
2018-10-02 21:20:29 +10:00
Nyall Dawson
57f77d01cb [processing] Fix in-place mode results in unknown distance units
We need to still create the parameter wrappers when in in-place mode
for the input/output parameters, as some other wrappers may rely
on these for various interactions (e.g. getting the crs/fields
from the input layer)

Fixes #19990
2018-10-02 19:51:02 +10:00
nirvn
5e1348bbdc address comment, update (and vectorize) zip icon 2018-10-02 14:34:02 +07:00
nirvn
29ac3f471a [browser] fix zip items unable to populate OGR layers 2018-10-02 14:34:02 +07:00
nirvn
af0bae67f7 [gdal] update data item creation to new methods 2018-10-02 14:34:02 +07:00
nirvn
e877050a97 [browser] prioritize OGR provider for archived files in basic scan mode 2018-10-02 14:34:02 +07:00
Nyall Dawson
df40eabb34 [processing] Make annoying modal progress dialog for algorithms match
size/position to the algorithm dialog itself

We can't get rid off this dialog, but let's at least position/size
it nicely...
2018-10-02 16:46:16 +10:00
Nyall Dawson
68dee5b17f [processing] Remove hack 2018-10-02 16:46:16 +10:00
Nyall Dawson
c8bf6db363 [processing] Give progress reports/allow cancelation in in-place mode 2018-10-02 16:46:16 +10:00
Matthias Kuhn
66f2272be0 Improve API docs concerning sort behavior 2018-10-02 15:37:07 +10:00
Nyall Dawson
a58d8d5411 Use golden ratio for tooltip preview swatches 2018-10-02 14:23:09 +10:00
Nyall Dawson
62d6c8c625 Also show a preview tooltip for symbol buttons 2018-10-02 14:23:09 +10:00
Nyall Dawson
8f78beb1b0 [ux] Show large swatch preview in color/symbol tooltips 2018-10-02 14:23:09 +10:00
Ricardo Garcia Silva
16a57a378d add call to embedded widget provider supportsLayer()
This method was not previously being called anywhere. It is now called in the embedded widget config
just before showing the available providers
2018-10-02 14:03:39 +10:00
Nyall Dawson
5c7fd20aa4 Fix truncated symbol name text in style manager dialog 2018-10-02 12:14:52 +10:00
Nyall Dawson
d5e0d33011 No Q_FOREACH 2018-10-02 10:49:41 +10:00