53577 Commits

Author SHA1 Message Date
Alessandro Pasotti
2dd55073b0 Modernize code FOREACH -> range for 2019-02-08 17:49:03 +01:00
Alessandro Pasotti
7f61dc4954 Fix spatialite text pks and other issues
... also fixes the geometry information query
when spatialite version is >= 4

Fixes #21176

With tests
2019-02-08 17:49:03 +01:00
Nyall Dawson
7e106ef4b7 [processing] Ensure that distance inputs become expression variables for model child algorithms 2019-02-08 19:00:39 +10:00
Nyall Dawson
f22f182bcf [processing] Buffer algorithm should always export multipolygon layers
We can never predict when a buffer will create a multipolygon output
(e.g. for negative buffer sizes), so ALWAYS export multipolygons

Fixes #21191
2019-02-08 18:53:18 +10:00
Matthias Kuhn
09407c1258
Merge pull request #9128 from m-kuhn/todo-qgis-4
Move QGIS 3 todos to QGIS 4
2019-02-08 08:02:17 +01:00
Alexander Bruy
440f8d4cbb [geonode] more robust version string parsing (fix #21093, #21140) 2019-02-08 15:44:35 +10:00
rldhont
f285d91ce4 [Tests] Add LIKE with underscore (_) as partially uncompiled expression for shp provider 2019-02-08 15:42:36 +10:00
rldhont
4b60a1e3bd [Tests] Add LIKE underscore (_) test to feature source test base 2019-02-08 15:42:36 +10:00
rldhont
094620bcff [Bugfix][Oracle] Add ESCAPE when compiling LIKE
The oracle SQL documentation specifies that *there is no default escape character* and *the escape character, if specified, must be a character string of length 1*.
In expression the underscore (_) and the percent sign (%) can be escaped with the backslash (\). So in the Oracle Expression Compiler if the ESCAPE clause is not specified, the pattern is not valid.
To fix it, the Oracle Expression Compiler has to add the ESCAPE clause.

https://docs.oracle.com/cd/B12037_01/server.101/b10759/conditions016.htm
2019-02-08 15:42:36 +10:00
nirvn
fc6695ab9b [themes] Harmonize padding of combobox widgets 2019-02-08 12:12:18 +07:00
nirvn
669d72aa29 [themes] Add padding for icons in combo box's drop down lists 2019-02-08 11:05:46 +07:00
nirvn
5fc0726bfa [themes] Properly style editable combobox in disabled state 2019-02-08 10:54:38 +07:00
Nyall Dawson
7f3640d8a1 [processing] Fix evaluation of linked parameters in batch mode
e.g. missing fields after selecting a layer parameter
2019-02-08 06:38:49 +11:00
Even Rouault
2341fa86f6
Merge pull request #9118 from rouault/fix_20742
Correctly compute layer extent when zooming out layer [WFS provider]
2019-02-07 17:32:57 +01:00
Matthias Kuhn
20d85288b4
Merge pull request #9127 from m-kuhn/spellcheck-multi-thread
Consistently use multi thread instead of multithread
2019-02-07 14:41:01 +01:00
Matthias Kuhn
2fb37042a5
Fix TODO and docstrings 2019-02-07 14:36:43 +01:00
Matthias Kuhn
98ec323672
Merge pull request #9065 from alexbruy/fix-paste
fix pasting features into vector layer from clipboard (fix #21154)
2019-02-07 13:36:58 +01:00
Martin Dobias
dfa1680a86 [vertex tool] "current layer" mode default + locked feature improvements
When a feature is locked:
- vertex tool will not highlight other features
- vertex tool will not allow selection of vertices from other features
2019-02-07 11:54:09 +01:00
Juergen E. Fischer
2bed7ab001 fix substr help (fixes #21192) 2019-02-07 11:17:57 +01:00
mhugent
a774499b95 Don't add extra linebreak in print composer tables
Check if remaining text is short enough to go in one line. Fixes #20546
2019-02-07 21:08:05 +11:00
Matthias Kuhn
90f7989f4d
Move QGIS 3 todos to QGIS 4 2019-02-07 09:10:03 +01:00
Matthias Kuhn
32b6599df0
Merge pull request #9074 from m-kuhn/til
Deprecate QgsGeometry::set for usage in Python
2019-02-07 09:07:14 +01:00
Matthias Kuhn
788e2cf9dc
Consistently use multi thread instead of multithread 2019-02-07 09:02:52 +01:00
Tudor Bărăscu
6c1036c5c0 remove 'multithreading is not supp in server text' 2019-02-07 17:19:14 +11:00
lbartoletti
b4d01e461f qgsRound: places should be of integer type instead of double 2019-02-07 17:00:41 +11:00
Julien Cabieces
e948120b7b Correct crash when read from ogr file in thread (QgsProcessing for instance)
fixes #20581
2019-02-07 16:58:12 +11:00
nirvn
3b4def83bf [ui] Fix undersized color buttons in the 3D map config dialog 2019-02-07 11:31:37 +07:00
nirvn
aec05a7288 [themes] Insure groupbox checkbox indicator size equals that of normal checkbox 2019-02-07 10:53:56 +07:00
donvincenzo
e4e0948a3d Add actionVertexToolActiveLayer to iface 2019-02-07 11:17:56 +11:00
Andrea Giudiceandrea
daab33c4d7 New Shapefile Layer: reorganise additional dimensions checkboxes
because shapefiles could only be
- plain X,Y
- with M values: X,Y,M
- with Z and M values: X,Y,Z,M
2019-02-07 08:51:37 +11:00
Even Rouault
32d902874a
[WFS provider] Correctly compute layer extent when zooming out layer (fixes #20742) 2019-02-06 22:32:26 +01:00
Matthias Kuhn
31ab3bb5d1
Merge pull request #9115 from m-kuhn/wmts-getcapabilities-compat
Append ? to WMTS GetCapabilities
2019-02-06 22:01:53 +01:00
Matthias Kuhn
76ac0f1f3c
Even more test fixes 2019-02-06 20:07:10 +01:00
Matthias Kuhn
0629a1b6da
More test fixes 2019-02-06 20:06:53 +01:00
Matthias Kuhn
a13e50270e
Fix test 2019-02-06 18:21:55 +01:00
Matthias Kuhn
3564838ef2
Fix test 2019-02-06 18:21:29 +01:00
Nyall Dawson
d92f9e79f7 Fix some hidpi layout issues in options dialog 2019-02-07 04:14:16 +11:00
Nyall Dawson
2c64cece0d [browser] Avoid always opening every file using gdal to test for
update capabilities

This is no longer required - it was previously done in order to
detect if the item should expose the SetCrs capability, but
that's deprecated and unused.

Fixes #16807, fixes #20411, and avoids QGIS opening every file encountered in
the browser even when the Data Source setting is set to the
default (fast) "Check Extension" setting only.
2019-02-07 04:14:16 +11:00
Nyall Dawson
d61694cb42 Deprecate QgsDataItem API for setting item CRS
This is no longer used by QGIS (it was only ever used by the standalone
browser)
2019-02-07 04:14:16 +11:00
Nyall Dawson
b581a084e1 Silence some noisy debug messages 2019-02-07 04:14:16 +11:00
Nyall Dawson
eab1c31f86 Remove space before line number in log messages
Because this means you can copy the filename:linenumber combo and
enter it directly in QtCreator's locator without having to manually
remove that extra space.

It's the little things...
2019-02-07 04:14:16 +11:00
Matthias Kuhn
2745dfe4bf
Merge pull request #9110 from m-kuhn/sip-no-default-parameter-override
Do not remove parameters from virtual methods which should be used in…
2019-02-06 17:13:51 +01:00
Matthias Kuhn
db15057732
Merge pull request #9112 from m-kuhn/sip-keep-reference-to-registry
Sip keep reference to registry
2019-02-06 17:13:17 +01:00
Matthias Kuhn
5dd8388469
Append ? to WMTS GetCapabilities
This makes WMTS behave equal to the WMS implementation which already appends a ? in case there is no query string supplied.

Some parsers rely on a terminating ? to work properly.
2019-02-06 16:09:34 +01:00
Matthias Kuhn
2400050878
Deprecate for sip 2019-02-06 13:09:23 +01:00
Matthias Kuhn
b2aed603f1
Add registry keepreference test 2019-02-06 12:18:41 +01:00
Matthias Kuhn
89ea819938
Make sure Python wrappers of quasi-singletons are kept alive
If they are deleted, any other python wrappers which have been parented to these singletons are deleted too.

One of the most common issues with this is, that subclasses of registry items are deleted and lost.
2019-02-06 12:18:41 +01:00
nirvn
87a1cb55c7 [themes] Properly style autoRaise state in Night Mapping 2019-02-06 17:57:37 +07:00
nirvn
c1e62ed2f9 [themes] Properly style autoRaise state in Blend of Gray 2019-02-06 17:56:48 +07:00
Even Rouault
1699d1efbf
Merge pull request #9105 from rouault/fix_20865
Ensure stability of QGIS FeatureId when reloading layer [WFS provider]
2019-02-06 11:54:36 +01:00