45017 Commits

Author SHA1 Message Date
Matthias Kuhn
46a74a090a Add test for enabled state of relation value widget 2017-12-27 22:04:40 +01:00
Matthias Kuhn
167fbf6d53 Value relation widget respects read only mode
Fix #17592
2017-12-27 22:04:40 +01:00
Matthias Kuhn
0c292a0207 Add some more min/max tests 2017-12-27 21:46:11 +01:00
Matthias Kuhn
2e1b9ae0e4 Improve test output 2017-12-27 21:43:20 +01:00
Matthias Kuhn
272a02dfdb Min/max exp functions have custom Null handler 2017-12-27 21:43:20 +01:00
Harrissou Sant-anna
c063710352 Add more tests 2017-12-27 21:43:20 +01:00
Harrissou Sant-anna
49a3af0034 Adding tests to min and max functions 2017-12-27 21:43:20 +01:00
Harrissou Sant-anna
97caa005d9 [needs-docs] Update min and max functions
In case of a null value, these functions will not always return null
2017-12-27 21:43:20 +01:00
Matthias Kuhn
060a36bf8f
Merge pull request #5955 from m-kuhn/noCacheEvalErrors
Expressions: do not cache results when there is an eval error
2017-12-27 21:19:41 +01:00
Matthias Kuhn
d01f94f7ef Avoid crash with represent_value exp function
represent_value would crash when it was called via evaluate without any context specified.
2017-12-27 20:40:41 +01:00
Matthias Kuhn
a4141c7f03 Expression tests: change Q_ASSERT to QVERIFY 2017-12-27 19:53:10 +01:00
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