44906 Commits

Author SHA1 Message Date
Matthias Kuhn
aa3bfff7a8 Do not cache expression nodes with eval errors
When there is an evaluation error in an expression, there is no need to cache results.
With the previous approach, sometimes eval errors were not reported because the error was set to false (Null), evaluation triggered again but it didn't report any more eval errors because it was relying on cached values.
2017-12-27 19:53:10 +01:00
Matthias Kuhn
e552b9b2de Replace Q_ASSERT with QVERIFY in tests
Q_ASSERT's are only evaluated in debug mode. However, tests should trigger in debug or release mode.
2017-12-27 18:28:49 +01:00
Nyall Dawson
e7e37efed7
Merge pull request #5926 from nyalldawson/proc_dialog
[processing] Add api to show algorithm dialog, use dialog for history
2017-12-27 22:34:13 +11:00
Alexander Bruy
d58053d486 [processing] restore script collection creator (fix #17649) 2017-12-27 11:41:08 +02:00
Borys Jurgiel
63e5558297 [Plugin installer] Move the status bar label to the right and make it less verbose 2017-12-27 08:05:23 +01:00
Mathieu Pellerin
3b8905209e
[processing] harmonize and improve UI spacing 2017-12-27 10:50:52 +07:00
Borys Jurgiel
3a52412c20 [Plugin installer][needs-docs] Display an icon rather than a text in the status bar when new a plugin or plugin upgrade is available 2017-12-26 21:22:37 +01:00
Alexander Bruy
9fb386ac60
Merge pull request #5945 from medspx/ProcessingGrassFixDescV
[Processing] Fix description files for GRASS provider
2017-12-25 09:40:36 +02:00
Matthias Kuhn
156869379f Instructions for QgsCoordinateTransform::initialize API break 2017-12-24 11:17:28 +01:00
Alessandro Pasotti
7871071394
Merge pull request #5941 from elpaso/bugfix-17673-bookmarks--crash-when-docked
[bugfix] Bookmarks fix crash on exit when docked
2017-12-23 13:02:30 +01:00
Alessandro Pasotti
63cf7ae603 [bugfix] Bookmrks fix crash on exit when docked
Order of destruction does matter

Fixes #17673
2017-12-23 11:43:15 +01:00
Médéric RIBREUX
a540a93e24 Fix i.modis.qc description file 2017-12-23 10:24:52 +01:00
Nyall Dawson
2872f69e20 Reluctantly participate in the Americanization of the world 2017-12-23 18:48:03 +11:00
Nyall Dawson
c7e37e89eb [sipify] Correctly convert doxygen warning blocks to sphinx warnings 2017-12-23 18:48:03 +11:00
Nyall Dawson
87b8a370e9 Expand QgsCoordinateTransform docs 2017-12-23 18:48:03 +11:00
Alexander Bruy
1e06abb143
Merge pull request #5943 from borysiasty/zip-reloading
[Plugin Manager] Reload manager contents after installing a plugin from zip.
2017-12-23 09:22:32 +02:00
Nyall Dawson
6ac6939bf8 Sipify 2017-12-23 14:21:32 +10:00
Tom Kralidis
676bba29c3
Merge pull request #5942 from tomkralidis/metasearch-explicit-crs
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries (fixes #17739)
2017-12-22 20:16:27 -05:00
Mathieu Pellerin
f149730e43
Merge pull request #5940 from nirvn/messagebar_link_color 2017-12-23 07:40:04 +07:00
Borys Jurgiel
c0b56a3a65 [Plugin Manager] Reload manager contents after installing a plugin from zip. Fixes #17626 2017-12-22 23:47:53 +01:00
Tom Kralidis
04b18f4d43 [bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
(fixes #17739)
2017-12-22 16:21:25 -05:00
Tom Kralidis
e16dfe4ff0
MetaSearch: remove duplicate field 2017-12-22 09:21:39 -05:00
Webmaster
aace710ebb fix success icon for message bar items 2017-12-22 20:35:53 +07:00
Webmaster
d1dd732a9e [layouts] use a success message bar item when exporting 2017-12-22 20:33:17 +07:00
Webmaster
1a4071780e [ui] style message bar hyperlinks based on type 2017-12-22 20:25:29 +07:00
Nyall Dawson
4ff72de62e
Merge pull request #5858 from lbartoletti/segment_intersection
Segment intersection
2017-12-22 21:43:13 +11:00
Mathieu Pellerin
36c4ac4668
[ui] add hyperlink to saved image/PDF in the message bar 2017-12-22 14:51:38 +07:00
Mathieu Pellerin
1e3526ea4f
[layouts] fix overview map combobox filter 2017-12-22 14:41:57 +07:00
Alessandro Pasotti
22098a4905
Merge pull request #5935 from elpaso/bugfix-17728-source-select-buttons
Use standard buttons for unified add layer dialog
2017-12-22 08:12:27 +01:00
Alessandro Pasotti
02152ac8f3
Merge pull request #5936 from elpaso/bugfix-17724-virtuallayer-crash
[bugfix] Fix crash in virtual layers dlg when adding
2017-12-22 08:12:04 +01:00
Mathieu Pellerin
224dcd0f0b
[layouts] improve lock item(s) / unlock all toolbar icons (#5929) 2017-12-22 07:59:38 +07:00
Nyall Dawson
e02ff050ad Fix some issues with to_interval expression function
- incorrect regex for handling values with decimal point
- fix overflow with large intervals
2017-12-22 04:41:04 +11:00
Alessandro Pasotti
385d0ef94b [bugfix] Fix crash in virtual layers dlg when adding
Fixes #17724 Crash on clicking ADD in Virtual Layer
dialogue without defining a layer

A proper implementation should handle the Add button
state when a virtual layer definition is available.
2017-12-21 18:19:07 +01:00
Trashmonk
d908518c49 Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
82df4de88a Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
4fbea38439 Added transparency to areas with no vector data.
Originally the background colour defaulted to white with no transparency for areas without vector data. I have added an alpha channel to the geotiff and set it zero (full transparency) for areas with no vector data. This could be optional, in case the user wants a solid background.
2017-12-21 17:55:02 +01:00
Alessandro Pasotti
9fe87297e7
Merge pull request #5934 from elpaso/bookmarks-tiny-fixes
[bookmarks] Case insensitive sorting
2017-12-21 17:23:49 +01:00
Alessandro Pasotti
8fb147f802 Use standard buttons for unified add layer dialog
Fixes #17728 by setting the standard buttons in the
button box instead of manually adding them by code.

This way the buttons should honor the platform-specific
position and look&feel.
2017-12-21 17:21:50 +01:00
Alessandro Pasotti
15ffcb4345 [bookmarks] Case insensitive sorting
Fixes #17005
2017-12-21 16:45:29 +01:00
Matthias Kuhn
5daf33a578
Merge pull request #5931 from signedav/fieldtypeprop
Make QgsField::type a Q_PROPERTY
2017-12-21 12:19:47 +01:00
Martin Dobias
2f19d62997 [3d] Respect no-data values from DEMs in terrain generator (fixes #17558) 2017-12-21 11:22:56 +01:00
David
dc51dbf88e Q_PROPERTY of QVariant::Type to use exernally 2017-12-21 10:27:40 +01:00
Mathieu Pellerin
1ddcac501c
[3d] missing piece of the jigsaw: save 3d canvas as image (#5927) 2017-12-21 16:16:20 +07:00
Mathieu Pellerin
909a0fc21c
Merge pull request #5921 from nirvn/layout_item_icon 2017-12-21 11:08:50 +07:00
nirvn
3dc5211715 [layouts] use gray icons for the items panel 2017-12-21 10:33:24 +07:00
nirvn
0a40a81151 [layouts] add icons for items and use those in the items panel 2017-12-21 10:33:24 +07:00
Nyall Dawson
b25681cc43 [needs-docs][processing] Double clicking a history entry shows
the algorithm dialog instead of immediately executing same alg

This allows users to edit the parameters before re-running,
which is a more common user-operation (e.g. changing the
input layer, changing a parameter value "oops, that buffer
was a bit too big....").

If someone wants to exactly re-run the algorithm without changes
it's only one extra click anyway...
2017-12-21 11:01:56 +10:00
Nyall Dawson
5f7aa45aab [needs-docs][processing] Add methods to show algorithm dialog
Adds processing.createAlgorithmDialog and
processing.execAlgorithmDialog. These methods can be used
to create and execute algorithm dialogs for a specified algorithm,
optionally pre-populated with a given set of (non-default) parameter
values.
2017-12-21 11:01:49 +10:00
Nyall Dawson
54910fc3ce Fix algorithm dialog window geometry save/restore 2017-12-21 10:43:49 +10:00
Nyall Dawson
ce28cf5087 Save algorithm results to dialog 2017-12-21 10:38:38 +10:00