58618 Commits

Author SHA1 Message Date
Nyall Dawson
b71713a67f Another connect without context 2019-11-04 13:28:24 +10:00
Nyall Dawson
fed75afa95 [FEATURE] Add expression functions for converting to/from wkb
Adds geom_from_wkb and geom_to_wkb, which mirror the existing
geom_from_wkt/geom_to_wkt functions but for WKB representations
of geometries.

Since QGIS 3.6 we've had good support for binary blob values in
expressions and field values, so adding these functions allows
users to work with binary blob fields containing WKB representations
of geometries (e.g. with a geometry generator showing the encoded
geometries)
2019-11-04 13:00:11 +10:00
Nyall Dawson
13ead42f5e [processing] Allow enum input values to be used in expressions for model
inputs

Fixes #32452
2019-11-04 12:56:48 +10:00
Nyall Dawson
8dadbed1a1 Fix some lambda connects without context arguments (these cause crashes--STOP doing THIS!) 2019-11-04 11:21:50 +10:00
Matthias Kuhn
f14301d7a7 Add separate section for private headers 2019-11-04 00:12:05 +01:00
Matthias Kuhn
bf651e99c0 Also moc private 3d headers 2019-11-03 23:33:11 +01:00
Matthias Kuhn
1f3b039fe2
Merge pull request #32552 from m-kuhn/q_global_static
non POD static
2019-11-03 23:11:51 +01:00
Matthias Kuhn
9033891a85 AUTOMOC auth 2019-11-03 22:40:39 +01:00
Matthias Kuhn
1a1fb19428 Cleanup 3d 2019-11-03 22:36:37 +01:00
Matthias Kuhn
260196f031 Fix building core and pycore 2019-11-03 22:22:58 +01:00
Matthias Kuhn
e32f4dca3c No reason to set AUTOMOC on individual targets, it's global 2019-11-03 21:51:27 +01:00
Matthias Kuhn
1c850f6335 Remove leftover 2019-11-03 21:46:50 +01:00
Matthias Kuhn
80c0b944f0 Fixup 2019-11-03 21:33:03 +01:00
Matthias Kuhn
b08a7d711c Fix sip file for sip and automoc 2019-11-03 21:20:08 +01:00
Matthias Kuhn
4294dda083 Resipify 2019-11-03 21:05:34 +01:00
Matthias Kuhn
6f43c98d0a Fix range widget wrapper test 2019-11-03 20:33:01 +01:00
Juergen E. Fischer
002d3986d5 translation string fix 2019-11-03 19:00:08 +01:00
Matthias Kuhn
277a848300 Widespread use of AUTOMOC
For many people it's unclear where to put headers in CMakeFiles.txt
If they should be duplicated in both moc and non moc header sections.
And if private headers should be included as well.
The good news is that CMake is able to figure out itself which headers
need moc'ing by some sourcery called automoc. Let's use it.
2019-11-03 18:02:16 +01:00
Juergen E. Fischer
87a8a16bbd include saga strings in translations 2019-11-03 16:46:23 +01:00
Alessandro Pasotti
b5349c2f31 Add match type to resolveWeakly
This way can define exactly how the weak resolution
will consider a layer a postivie match.
2019-11-03 12:49:10 +01:00
Matthias Kuhn
c154b2f31e invokable return types need to be fully-qualified
Idenfied by clazy
2019-11-03 21:26:54 +10:00
Alexander Bruy
3701d360a1 remove unused variable
fix tests
2019-11-03 21:25:52 +10:00
Giovanni Manghi
74d6e099e6 fix gdal calc compression options 2019-11-03 21:25:52 +10:00
Matthias Kuhn
7d2deb4b44 non-POD global statics
Identified by clazy
2019-11-03 10:54:08 +01:00
Matthias Kuhn
e17f99c5c3 non-POD static ([class name goes here]) [-Wclazy-non-pod-global-static] 2019-11-03 10:38:05 +01:00
Matthias Kuhn
29c2af9add Fix crs test 2019-11-03 10:38:05 +01:00
Matthias Kuhn
7ad6619209
Merge pull request #32593 from m-kuhn/qwt_find_usr_include
Find QWT headers also in /usr/include/qt5
2019-11-03 10:23:15 +01:00
Alessandro Pasotti
3aa927cc63 sipify 2019-11-03 10:04:07 +01:00
Alexander Bruy
38b270e31a
Merge pull request #32583 from alexbruy/fix-32579
[processing] handle advanced flag when exporting model to Python (fix #32579)
2019-11-03 10:55:33 +02:00
Alessandro Pasotti
a6213d6d3f
Merge pull request #32586 from elpaso/server-oapif-fix-items-crs
Fix server OAPIF crs transformation on items
2019-11-03 09:54:58 +01:00
Matthias Kuhn
b4225d7003
Merge pull request #32559 from troopa81/revert_waitforfinished
Fixes #32545 Revert qgstaskmanager waitforfinished fix
2019-11-03 09:20:35 +01:00
Matthias Kuhn
5eac13558b Find QWT headers also in /usr/include/qt5
That is where Fedora puts them
2019-11-03 09:16:59 +01:00
Matthias Kuhn
ca115961cd Find QWT headers also in /usr/include/qt5
That is where Fedora puts them
2019-11-03 09:16:07 +01:00
Matthias Kuhn
0f0714edf8 Update tests 2019-11-03 08:47:38 +01:00
Matthias Kuhn
9ce55dbe82
Merge pull request #32585 from m-kuhn/dxf_private
Move internals to private header
2019-11-03 08:35:00 +01:00
Matthias Kuhn
0b5814717c
Merge pull request #32587 from m-kuhn/dxf_loops
Modernize loops in dxf exporter
2019-11-03 08:34:41 +01:00
Julien Cabieces
cddc10a929 comment these tests while waitforfinished is not fixed 2019-11-02 23:18:28 +01:00
Julien Cabieces
eb719683d8 Fixes #32545 Revert qgstaskmanager waitforfinished fix
This reverts commit 42e22b7a6894f84a155d0c9330414f88413ece2b.
2019-11-02 23:18:28 +01:00
Matthias Kuhn
c796b2d592 Workaround sip issues 2019-11-02 19:47:09 +01:00
Matthias Kuhn
614fda351b Fixup 2019-11-02 19:08:09 +01:00
Matthias Kuhn
6685471596 Use nondeprecated api 2019-11-02 16:51:25 +01:00
Matthias Kuhn
04fd7f6a91 License header 2019-11-02 16:48:33 +01:00
Matthias Kuhn
5c439ab693 More efficient loops 2019-11-02 16:05:28 +01:00
Alessandro Pasotti
7d2000bc30 Fix server OAPIF crs tranformation on items
fixes an unreported issue when serving items not in
4326.
2019-11-02 16:00:33 +01:00
Matthias Kuhn
20f0436427 Move internals to private header 2019-11-02 15:54:08 +01:00
Matthias Kuhn
4ee24bbb64 Merge back into master 2019-11-02 15:12:23 +01:00
Matthias Kuhn
d99d829ef2 Dox 2019-11-02 15:12:23 +01:00
Matthias Kuhn
81b49ce1bb Fixup 2019-11-02 15:12:23 +01:00
Matthias Kuhn
fd40748492 Fixup 2019-11-02 15:02:00 +01:00
Matthias Kuhn
f9804eb6ce Python fixes 2019-11-02 15:02:00 +01:00