45843 Commits

Author SHA1 Message Date
Nyall Dawson
ea40f1e82a More capitalization homogenization 2018-02-13 19:49:15 +11:00
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
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
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
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
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
Nyall Dawson
180d878d80 Much more efficient QgsRectangle->QgsGeometry conversion 2018-02-12 09:04:56 +10:00
Nyall Dawson
b60489db49 More efficiency improvements for map to pixel simplification
Refs #17809
2018-02-12 09:04:56 +10:00
Nyall Dawson
db12f006d9 Avoid cloning in QgsGeometry::convertToMultiType where possible
Refs #17809
2018-02-12 09:04:56 +10:00
Nyall Dawson
c7e257efbb More efficient simplification of linestring geometries during rendering
Refs #17809
2018-02-12 09:04:56 +10:00
Nyall Dawson
ff7bb9aa53 Remove inefficient method for creating empty geometry of same
WKB type, and use optimized method instead

Refs #17809
2018-02-12 08:56:12 +10:00
Nyall Dawson
65827adc7d Provide an optimised constructor for a null QgsRectangle
This is used a lot, yet the current constructor calls the
normalize() method which does a bunch of operations for no
result.

So instead provide a simple optimised null QgsRectangle
constructor and save a lot of cycles.

Refs #17809
2018-02-12 08:56:12 +10:00
Denis Rouzaud
2cbcf74ef2
Merge pull request #6304 from 3nids/pg_domain
[postgres] fix domain not in public schema
2018-02-11 12:34:51 -09:00
Denis Rouzaud
bfe35c26ea [postgres] use pg_type rather than information_schema.domain_constraints to retrieve domain
otherwise there is no warranty to retrieve the correct constraint as its name is not unique
2018-02-11 17:29:18 -04:00
Alexander Bruy
c3a4b1170a
Merge pull request #6309 from alexbruy/processing-enums
[processing] add enums support for fields and feature source parameters
2018-02-11 14:40:33 +02:00
Alexander Bruy
178509347a [processing] add enums support for fields and feature source parameters
(follow up 068d74d5)
2018-02-11 14:05:09 +02:00
Alexander Bruy
52f83b3409 write to log when help location is not configured 2018-02-11 11:42:16 +02:00
Nyall Dawson
367aba1766
Merge pull request #6308 from nyalldawson/multi_out
[processing] Add explicit output type for multiple layers
2018-02-11 18:52:22 +11:00
Alexander Bruy
e20410a63c also log help "key" used to construct URI 2018-02-11 09:38:34 +02:00
Alexander Bruy
edcd2a186e fix typos 2018-02-11 09:38:34 +02:00