46216 Commits

Author SHA1 Message Date
Nyall Dawson
fa56aa5542 [dbmanager] Fix python error when scrolling postgis results
Fixes #17835
2018-02-13 19:49:15 +11:00
Nyall Dawson
ad849615a3 Fix python error when trying to export db manager table 2018-02-13 19:49:15 +11:00
Nyall Dawson
6b4e734d95 [dbmanager] Fix inconsistent capitalization, HIG violations,
and unprofessional strings
2018-02-13 19:49:15 +11:00
Nyall Dawson
c08e4c53a9 Fix invalid (deprecated) escape strings in db manager 2018-02-13 19:49:15 +11:00
Nyall Dawson
70644f1ddd Fix undo stack does not correctly roll back geometry edits
in a granular manner

Fixes #17658
2018-02-13 19:48:43 +11:00
mhugent
c996c61789
Merge branch 'master' into dxf_label_layers_v3 2018-02-13 09:23:05 +01:00
Marco Hugentobler
5c3a7554de Fix dxf export for label layers and add unit test 2018-02-13 08:55:26 +01:00
Harrissou Sant-anna
576030b0fe
Revert arg simplification attempt 2018-02-13 07:38:38 +01:00
Harrissou Sant-anna
e6a57437e5 Fix message boxes titles 2018-02-13 06:35:04 +01:00
Nyall Dawson
66b9b435b6 [processing] Fix destination files are silently ignored when relaunching
algorithms from the history panel
2018-02-13 14:24:48 +10:00
nirvn
1994c44644 [processing] harmonize results viewer action behavior 2018-02-13 10:40:17 +07:00
Nyall Dawson
a1a45536a2
Merge pull request #6221 from nyalldawson/var_leak
Fix massive memory leak in PyQGIS, pt 1
2018-02-13 13:18:42 +11:00
Nyall Dawson
0c6f22386b Drop some legacy sip conversion code 2018-02-13 12:02:50 +11:00
Denis Rouzaud
59b17f251a
Merge pull request #6321 from 3nids/dxf_addlayers
[dxf] use a struct instead of QPair for layers
2018-02-12 06:54:19 -09:00
Denis Rouzaud
2a7aeafb75 doxygen, init in header 2018-02-12 11:29:41 -04:00
Alessandro Pasotti
94b644e94a
Merge pull request #6324 from qgis/revert-6320-try-to-fix-collapsible-crash-on-qt510
Revert "Try to fix QgsCollapsibleGroupBox crash on Qt 5.10"
2018-02-12 16:10:20 +01:00
Alessandro Pasotti
03e49f1f65
Revert "Try to fix QgsCollapsibleGroupBox crash on Qt 5.10" 2018-02-12 15:08:34 +01:00
Denis Rouzaud
53f4464b53 [dxf] followup 31e93aecae fix server 2018-02-12 09:48:50 -04:00
Denis Rouzaud
338a73b32e [sip] remove unused QPair conversion 2018-02-12 09:22:53 -04:00
Denis Rouzaud
31e93aecae [dxf] use a struct instead of QPair for layers
there was a crash in Python in QgsDxfExport.addLayers due to a bad conversion
2018-02-12 09:22:21 -04:00
Jürgen Fischer
ec86fcb168
Merge pull request #6169 from landryb/fix/desktopfile
Don't hardcode the path to qgis binary in .desktop file
2018-02-12 12:44:05 +01:00
Alessandro Pasotti
9e79d8a7ad
Merge pull request #6320 from elpaso/try-to-fix-collapsible-crash-on-qt510
Try to fix QgsCollapsibleGroupBox crash on Qt 5.10
2018-02-12 12:40:37 +01:00
nirvn
4ada4989e5 [processing] automatically open results viewer panel when items added 2018-02-12 18:09:38 +07:00
nirvn
207a94738d [processing] offer hyperlink to file path in the results viewer
because users don't always get that there is a dbl-click action
against the tree view items.
2018-02-12 18:09:38 +07:00
Alessandro Pasotti
d4063e8b67 Try to fix QgsCollapsibleGroupBox crash on Qt 5.10
Automatic memory management: prevent button to be
deleted too early.
2018-02-12 11:52:03 +01:00
Nyall Dawson
2c6100ea20 Doxygen 2018-02-12 20:42:03 +10:00
Nyall Dawson
44df58e54d Simplify code 2018-02-12 20:28:32 +10:00
Nyall Dawson
7609ab7c9d Allow certain locator filters to operate on the main thread
Some filters are fast enough to return results that it's overkill
to run them in a background thread - add a flag to these filters
to allow them to run (blocking) in the main thread instead.
2018-02-12 20:28:32 +10:00
Nyall Dawson
d5e649292d Fix error when running gdal algorithms through locator 2018-02-12 20:28:32 +10:00
Nyall Dawson
fabda53671 Add missing docs 2018-02-12 20:28:32 +10:00
Nyall Dawson
981afb3da1 Make QgsLocator more thread safe
- add a clone() method to filters, and always search using the
clone instead of the original filter
- add a prepare() method to filters, which is always run in the
main thread and can be used to prepare the filter for safe
background execution (e.g. creating feature iterators in advance)
- don't use QtConcurrent to perform searches in background threads,
since it is not safe to use with QObjects
- instead manually create threads and ensure that cloned objects
are always moved to the thread that they will run in, to ensure
that they correctly have thread affinity with the thread in which
they are executed
2018-02-12 20:26:26 +10:00
rldhont
a9d61ff508
Merge pull request #6285 from tudorbarascu/dpi
fix server issue for double devicePixelRatio leading to DPI requests with decimals
2018-02-12 11:26:18 +01:00
Martin Dobias
6096e5c25d Fix crash after running GDAL alg from processing (fixes #18004)
This was happening only with GDAL trunk

Processing first tries to load output as a vector, then as a raster
and output from raster algs would crash in OGR provider constructor
due to null pointer
2018-02-12 10:24:13 +01:00
Alessandro Pasotti
2ded9c2ece Merge branch 'settings_17670' of https://github.com/NathanW2/QGIS into NathanW2-settings_17670 2018-02-12 09:57:44 +01:00
Tudor Bărăscu
fbc6e4d11d add Server DPI test 2018-02-12 10:45:03 +02:00
Alexander Bruy
a7870afab1
Merge pull request #6303 from alexbruy/help-logging
log requested help URLs
2018-02-12 09:00:50 +02:00
nirvn
e5d7733bfc [processing] harmonize order of result panel (latest first) and add timestamp 2018-02-12 13:51:31 +07:00
Nathan Woodrow
3207600958 Don't call init in QgsApplication 2018-02-12 16:34:34 +10:00
Nathan Woodrow
9198971c57 FIx 2018-02-12 15:50:10 +10:00
Nathan Woodrow
c988dd2910 Move settings to resource folder 2018-02-12 15:48:21 +10:00
Nathan Woodrow
3b6d37fee0 Lets try fix this 2018-02-12 15:17:17 +10:00
nirvn
f10758e1b6 partial revert of 5dc91b4 to fix regression (fixes #18073)
setMaximumHeight() stays, so hopefully we are still protected
from infinit canvas redraw loop.
2018-02-12 10:13:14 +07:00
Nyall Dawson
5431a2dbae Fix crash when repairing zero length linestring geometry
Fixes #18077
2018-02-12 13:43:14 +11:00
Nyall Dawson
0eda77661f Fix loss of checkbox widget settings when a default expression is set
Fixes #18076
2018-02-12 13:42:50 +11:00
Nyall Dawson
efdaf5fc00
Merge pull request #6312 from nyalldawson/field_exp_null
Don't silently discard requests to set QgsFieldExpressionWidget to an empty expression
2018-02-12 13:29:32 +11:00
Nyall Dawson
ac28714a40 Fix data defined properties in cluster/displacement renderer
do not evaluate for isolated features

Fixes #18074
2018-02-12 12:56:03 +11:00
Nyall Dawson
9dca6da060 Don't silently discard requests to set QgsFieldExpressionWidget
to an empty expression

This causes issues in lots of places - e.g. a field constraint
is always set to the first field in a layer, and cannot be
removed.

I've looked at all calls to setField and without exception
they should accept that setting the field to an empty string
results in an empty expression.

Fixes #14325
2018-02-12 11:18:31 +10:00
Nyall Dawson
46d7a4280c
Merge pull request #6300 from nyalldawson/opts
Misc optimizations for everything
2018-02-12 11:14:46 +11:00
Nyall Dawson
24fb28f7bb Avoid unused expression context updates in more places 2018-02-12 09:04:57 +10:00
Nyall Dawson
e4ab1a6763 Don't generate symbol expression context scope when it's not
being used

Refs #17809
2018-02-12 09:04:57 +10:00