58590 Commits

Author SHA1 Message Date
Matthias Kuhn
924b4eda58 Fully qualify enum default parameters 2019-11-04 21:56:41 +01:00
Matthias Kuhn
a6386038ff Fix all 3 arg lambda problems 2019-11-04 21:52:39 +01:00
Matthias Kuhn
cffea8b28b Enable more clazy checks and disable warnings as errors (boom) 2019-11-04 18:35:26 +01:00
Alessandro Pasotti
f1e20f23e6 Resize source select dialogs according to container
Fixes #32615

This was tricky and I don't really know what was causing the issue,
but looks like the patch doesn't break the other dialogs (mainly
vector layer properties) that were affected by #31449.

Fixes also an unreported issue with OGR source select inner dialog
not being painted when opening the source manager dialog.
2019-11-04 18:27:37 +01:00
Matthias Kuhn
afdd6730cb Fix another 3 arg lambda warning 2019-11-04 17:50:07 +01:00
Matthias Kuhn
bdf023fe21
Merge pull request #32627 from m-kuhn/no_constexpr_latin1string
No constexpr QLatin1String on Windows
2019-11-04 17:35:59 +01:00
Matthias Kuhn
fb13857933 Fix clazy warning 2019-11-04 16:57:27 +01:00
Matthias Kuhn
0f5a4f7d2f [dxf] HAli/VAli support for TEXT 2019-11-04 16:47:48 +01:00
Matthias Kuhn
148febdc46 No constexpr QLatin1String on Windows 2019-11-04 15:29:16 +01:00
nirvn
9e61414387 More connect fun 2019-11-04 15:27:22 +01:00
Matthias Kuhn
1caa629266 Fix clazy non-pod-static 2019-11-04 15:27:22 +01:00
Alessandro Pasotti
696c4075da
Merge pull request #32487 from elpaso/value-relation-restore
[feature] Value relation restore missing layers from DBs
2019-11-04 12:03:40 +01:00
Alessandro Pasotti
e0e96faffd Changes dependency message: removed 'Form' 2019-11-04 09:38:49 +01:00
Alessandro Pasotti
144f6a8d09
Merge pull request #32553 from elpaso/uniform-field-display-alias
field displayNameWithAlias
2019-11-04 09:05:53 +01:00
Nyall Dawson
1046f6f1fc Fix some more connect 3arg warnings 2019-11-04 16:44:35 +10:00
Matthias Kuhn
31e74e1342
Merge pull request #32602 from m-kuhn/automoc
Widespread use of AUTOMOC
2019-11-04 07:42:42 +01:00
Nyall Dawson
4da0610296 Fix some more connect 3arg warnings 2019-11-04 07:36:07 +01:00
Matthias Kuhn
6dc576bc3e Only do connect-3arg-lambda check on travis 2019-11-04 07:35:34 +01:00
Matthias Kuhn
03bf765a0e No intermediate link 2019-11-04 07:35:34 +01:00
Matthias Kuhn
47c86dc4a2 Use clazy 2019-11-04 07:35:34 +01:00
Matthias Kuhn
b7a335916c Enable clazy on travis 2019-11-04 07:35:34 +01:00
Nyall Dawson
aa9134545a Improved lambda capture
Even if the collection item is deleted before the action is triggered,
we can still safely show the creation dialog and act on it (we just
can't trigger the item refresh automatically)
2019-11-04 13:28:24 +10:00
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