45559 Commits

Author SHA1 Message Date
Alexander Bruy
c09c301803 [processing] throw error if no layers selected in raster calculator
algorithm (refs #17920)
2018-01-23 10:38:59 +02:00
Alexander Bruy
d7e1813180 [processing] make items hidden after adding them to the view (fix #17881) 2018-01-23 10:00:28 +02:00
Mathieu Pellerin
aaf97933c2
[needs-docs][processing] merge grid algorithms and add point grid type 2018-01-23 13:54:53 +07:00
Nyall Dawson
c91fd5a067 [reports] Tweak sub-section logic for multi-layer reports
Instead of requiring a single layer for use with nested field group
sections, allow use of different layers. In this case the child
layers are filtered so that any fields with names matching their
parent groups are filtered to match the parent section's value.

Also only include headers and footers for child field group sections
if the child has matching features found.
2018-01-23 17:51:50 +11:00
Nyall Dawson
88808615a8 Drop composer
It's been a great journey, but your time has come...
2018-01-23 15:30:01 +11:00
Nyall Dawson
4096896d3b Tweak some report designer strings 2018-01-23 14:21:00 +10:00
Nyall Dawson
a5ca16e8d4 Remove header for report organizer tree 2018-01-23 14:21:00 +10:00
Nyall Dawson
37c8706548 Initially select report section when opening a report designer 2018-01-23 14:21:00 +10:00
Harrissou Sant-anna
3f801b5d16 Switch SpatiaLite and PostgreSQL place in Datasource
Manager dialog
Moves up SpatiaLite tab near GeoPackage's as they are both simple file databases and their dialog look alike.
2018-01-23 12:35:44 +11:00
Nyall Dawson
d415ad84c9 [processing] Fix extent and CRS parameters do not evaluate in
models when linked to a layer parameter/output value

References discussion on dev mailing list
2018-01-23 12:35:29 +11:00
Nyall Dawson
c87f5aad1b [processing] Fix misleading errors in grid algorithms 2018-01-23 12:35:29 +11:00
Nyall Dawson
7d60329047 Fix build 2018-01-23 11:19:50 +10:00
Nyall Dawson
e24496cd38 Silence warning 2018-01-23 11:19:50 +10:00
Nyall Dawson
b8e1f7707c [processing] Port 'Add unique value index field' to c++
And implement some fixes/improvements (refs discussion on the dev mailing list):
- allow user to specify created field name
- allow optional creation of a summary table showing new class value vs original
value
2018-01-23 12:18:55 +11:00
Nyall Dawson
40f09fab85 [processing] Fix creating tests when alg has optional outputs 2018-01-23 12:18:55 +11:00
Nyall Dawson
a530b213e9 [processing] Fix error when dragging alg group in modeler 2018-01-23 11:07:48 +10:00
Nyall Dawson
502d9d7f62 Fix incorrect tooltips 2018-01-23 10:54:54 +10:00
Nyall Dawson
c50cbfc98f Fix crash on exit
Since the snapping widget is destroyed *after* the project instance,
we need to avoid referring to the project after it's deleted.
2018-01-23 11:51:37 +11:00
Mathieu Pellerin
7ef9355111
[ui] fix status bar's message item resizing window on long string
(Fixes #17913)
2018-01-23 07:42:17 +07:00
Denis Rouzaud
8f1abf8d7f move poly2tri to external libs directory 2018-01-22 14:49:12 -09:00
Borys Jurgiel
2b2b65305f
Merge pull request #6129 from alexbruy/plugins-rating
[plugin manager] fix sending plugin votes
2018-01-22 22:07:50 +01:00
Nyall Dawson
7a2ab1cc7c [layouts] Fix multiframe items (tables, html) cannot be pasted
Fixes #10456, #17882
2018-01-23 07:14:44 +11:00
Nyall Dawson
cbe6416278 Fix invalid read when closing layout designers
Child widget was referring to its parent in the destructor - at
this stage the parent may no longer be in a usable state (if the
child's destruction was caused by the parent's destruction)
2018-01-23 07:14:44 +11:00
Nyall Dawson
35a77013ca Fix handling of multiframe objects in layout templates 2018-01-23 07:14:44 +11:00
Nyall Dawson
d9b6c8b5d1 Add missing sip casting for layout multiframe objects 2018-01-23 07:14:44 +11:00
Nyall Dawson
77b570dab7 Add a debug assert relating to multiframe item crashes 2018-01-23 07:14:44 +11:00
Nyall Dawson
20f50fbac9 [layouts] Fix some linked map items not correctly restored when
loading projects.

Also remove some outdated TODOs

Fixes #17892, #17891
2018-01-23 07:14:44 +11:00
Alessandro Pasotti
f69c1cfc49
Merge pull request #6130 from elpaso/bugfix-17915-geopackage-delete-wrong-layer
[bugfix] Fixes 17915 geopackage delete wrong layer
2018-01-22 18:16:56 +01:00
Alexander Bruy
08255f7ba0 fix indentation 2018-01-22 18:50:43 +02:00
Borys Jurgiel
50161421a8
Merge pull request #6117 from borysiasty/manager_stars
[Plugin manager] SVG voting stars
2018-01-22 17:25:52 +01:00
Alessandro Pasotti
f235e93570 [bugfix] Fixes deleting geopackage layer from browser delete a wrong layer
Fixes 17915
2018-01-22 17:24:51 +01:00
Alessandro Pasotti
46dfe578a4 Cosmetic: comment formatting 2018-01-22 17:24:38 +01:00
Denis Rouzaud
282f240d72 add missing INCLUDE_DIRECTORY 2018-01-22 06:58:26 -09:00
Denis Rouzaud
45794a80af update debian/copyright 2018-01-22 06:58:26 -09:00
Denis Rouzaud
0eb52d7171 move nmea 2018-01-22 06:58:26 -09:00
Denis Rouzaud
e447f11ace move qspatialite 2018-01-22 06:58:26 -09:00
Denis Rouzaud
1042754669 move qwtpolar 2018-01-22 06:58:26 -09:00
Denis Rouzaud
204eaf88ea move QExtSerialPort to external libs directory 2018-01-22 06:58:26 -09:00
Nyall Dawson
912bbe3e5e Fix rotation widget disappears after ctrl-clicking to set anchor point
Fixes #17232
2018-01-22 06:57:32 -09:00
Nyall Dawson
8a6fcc8eac Escape should cancel rotation map tool 2018-01-22 06:57:32 -09:00
Nyall Dawson
5a80ec5c79 Fix user input widget sometimes hidden below canvas 2018-01-22 06:57:32 -09:00
Nyall Dawson
cc18918ba2 Fix incorrect cursor used for rotate map tool 2018-01-22 06:57:32 -09:00
Denis Rouzaud
a0d0648da5 fix Chained filters crash QGIS when switching between ui tabs
fix #17736
2018-01-22 06:54:51 -09:00
Denis Rouzaud
123470b26f use QgsMapLayer::isSpatial() 2018-01-22 05:27:17 -09:00
Denis Rouzaud
86024efcb2 do not list non spatial in custom layer order widget
fix #17887
2018-01-22 05:27:17 -09:00
Alexander Bruy
c6870777e7 fix sending plugin votes 2018-01-22 16:20:54 +02:00
David
efe378d646 fixed indentation in python
fixed indentation in python unittest
2018-01-22 04:59:23 -09:00
David
2dba9fc807 take list instead of map for test
in unittest it needs to take a list instaed of the map as a test of valuemap
2018-01-22 04:59:23 -09:00
David
481b624737 store valuemap as QList instead of QMap
because with QMap it loses the order. the two values (key and value) are in an one dimensional QMap stored.
this because QPair is not a QVariant. we desided not to stor it as DataStream, because then less powerfull platforms couldn't use it from the configuration.
2018-01-22 04:59:23 -09:00
David
bbac229c0e store valuemap as QList
instead of QMap because with QMap it loses the order
actually it's currently stored in config['map'] as QDataStream
2018-01-22 04:59:23 -09:00