53600 Commits

Author SHA1 Message Date
Nyall Dawson
73fa58a5af Fix more incorrect 'invalid data source' errors when loading mesh layers 2019-02-09 06:24:28 +10:00
Nyall Dawson
a1d8d9ae5d Fix invalid data source message is always shown after dragging and dropping
vector layers to QGIS window
2019-02-09 06:24:28 +10:00
Nyall Dawson
9b6367fc1f [processing] Simplify algorithm should not run validity checks on geometries
Simplify (by its intrinsic nature) can output invalid geometries,
and its processing is not affected by the presence of input
geometry validity.

Also tag a few other algorithms which aren't sensitive to input
geometry validity.
2019-02-09 06:24:12 +10:00
Nyall Dawson
061882d9f7 [processing] Port file widget wrapper to new c++ API 2019-02-09 06:23:47 +10:00
mhugent
4eaae77a5d
Merge pull request #9129 from mhugent/itempolyline_end_arrow
Move end arrowhead by half arrow width
2019-02-08 17:19:29 +01:00
Marco Hugentobler
14e517665f Add unittest for composer polyline with arrow 2019-02-08 16:23:29 +01:00
Martin Dobias
b7138b17e1 Fix tests 2019-02-08 13:15:09 +01:00
Martin Dobias
e6f148e576 [vertex tool] do not clear selection of vertices after a move
The list of selected vertices was getting prematurely cleared.

Also had to remove a piece of code to select some vertices of the locked
feature (was causing a crash) but the logic seemed wrong anyway
(and there is a planned work on sync between vertex editor and tool)
2019-02-08 13:15:09 +01:00
Martin Dobias
941ec4cf66 [vertex tool] add new vertex without moving it (shift+double click)
Obviously this is something that some people find useful, but because
it is not so common it uses shift modifier.
2019-02-08 13:15:09 +01:00
Alessandro Pasotti
471734a9ea
Merge pull request #9111 from SIRS-CLS/sirs_db_manager
Fix bug comment on postgres and others management
2019-02-08 12:47:53 +01:00
Ailurupoda
d331143837 Removing print 2019-02-08 11:18:53 +01:00
Ailurupoda
db4db5983a Fix travis 2019-02-08 11:01:13 +01:00
Marco Hugentobler
a321d40840 Adapt unit test control images 2019-02-08 10:56:07 +01:00
Ailurupoda
db06040b60 Change != True to not + getComment and commentTable on main file if not needed only 2019-02-08 10:45:49 +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
Ailurupoda
9741515fae Replace db.connector/self + is None 2019-02-08 08:30:48 +01: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
Corentin.F
68c541b969
Update connector.py 2019-02-07 18:45:53 +01: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
Ailurupoda
8ed7971626 Another fix try 2019-02-07 17:29:25 +01:00
Ailurupoda
832eb40166 Another fix try 2019-02-07 16:59:12 +01:00
Ailurupoda
f27ecab62f Fix travis 2019-02-07 16:44:28 +01:00
Ailurupoda
e9e9fd322e Fixing travis layout 2019-02-07 15:35:16 +01:00
Marco Hugentobler
89571f7ed2 Move end arrowhead by half arrow width. Fix for bug #21171 2019-02-07 15:22:56 +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
Ailurupoda
277d4fefae Fixing travis test 2019-02-07 13:10:37 +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
Ailurupoda
63c010dbb5 Fix create and delete comment from tableProperties 2019-02-07 09:56:48 +01: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