48347 Commits

Author SHA1 Message Date
Tudor Bărăscu
0b9df82268 remove redundant test 2018-06-19 14:16:01 +03:00
Alessandro Pasotti
97726d6fbc
Merge pull request #7270 from tudorbarascu/enable_tests
enable test for getfeatureinfo value relation widget values
2018-06-19 12:26:20 +02:00
Matthias Kuhn
cab6a4b648
Merge pull request #4990 from imiara/master
Updated instructions on building QGIS master under MSVC 2015
2018-06-19 11:41:42 +02:00
Alessandro Pasotti
5797c49312
Merge pull request #7261 from elpaso/bugfix-19195-wms-drag
[bugfix] Fix double escaping of colon in QgsMimeDataUtils
2018-06-19 11:40:08 +02:00
Nyall Dawson
c58c99829a Expand range of colors available for new layers
Here's the rules if you want to add more here (developed by
@nirvn and myself)

- Keep colors in the "middle" - avoid too light or too dark colors,
too light colors will make line layers invisible on the
default white background, too dark colors are too visually heavy
for polygon areas

- Avoid over saturated/pure colors, which are too visually heavy. E.g.

- No blues! Blues have a single meaning on maps (water) and we're
almost never going to fluke that a randomly assigned blue color
is given to a water feature layer. So we just avoid blues altogether
as users are almost always going to have to change layers away
from blue anyway.

- Avoid yellow. Yellow is used as the default selected feature color
in QGIS, so keep colors well away from this yellow to avoid confusion
between selected/unselected yellow layers

- Keep things "happy", "positive" and "friendly". No baby puke green/browns
2018-06-19 19:22:50 +10:00
Tudor Bărăscu
05fad59b26 enable test for getfeatureinfo value relation widget values 2018-06-19 12:08:02 +03:00
Matthias Kuhn
1a2213d891
Merge branch 'master' into master 2018-06-19 10:57:33 +02:00
Nyall Dawson
7a2302d2c9 Use better approach to set dock visibility shortcuts
Instead of just showing/hiding the dock, use the toggleUserVisible
method instead. This means that open docks, which are however
hidden behind a different tab, aren't closed, but instead are
brought forward to be user visible.
2018-06-19 17:22:12 +10:00
Nyall Dawson
a2ef677912 Add method to toggle user visibility of QgsDockWidgets 2018-06-19 17:22:12 +10:00
Harrissou Sant-anna
c95e1c67f0 Reorder widgets and replace outline label 2018-06-19 17:17:47 +10:00
Harrissou Sant-anna
9b220664b0 Place labels next to their corresponding options in North Arrow decoration
The "placement" and "Margin from edge" labels are currently inverted
Also fix tabstops
2018-06-19 17:17:47 +10:00
Alessandro Pasotti
941d1c0677 Use QRegularExpression and negative look behind 2018-06-19 09:05:03 +02:00
Alessandro Pasotti
db55088f1d
Merge pull request #7265 from ablakey/fix-py-provider-index
Addressed two issues that caused createSpatialIndex() to fail.
2018-06-19 08:22:04 +02:00
Nyall Dawson
4059c9b71d Move some more common geometry methods to headers to allow compiler inlining 2018-06-19 13:16:02 +10:00
Nyall Dawson
3ea8a41834 [layouts] Tweak format of multiple metadata keyword argument exports 2018-06-19 12:08:11 +10:00
Andrew Blakey
d84471b149 Addressed two issues that caused createSpatialIndex() to fail. Fixes #19220 2018-06-18 20:04:43 -04:00
Nyall Dawson
5b47f94f75 Fix silliness in test 2018-06-19 06:23:58 +10:00
Nyall Dawson
063b169bd7 Spelling 2018-06-19 06:23:58 +10:00
Nyall Dawson
077ecedfc5 Unit tests for QgsMessageLog 2018-06-19 06:23:58 +10:00
Nyall Dawson
72f7e5b560 Don't flag the "running from build path" warning in the app
message log
2018-06-19 06:23:58 +10:00
Nyall Dawson
949853a0e0 Add API for temporarily suppressing user notifications for
message log critical/warning messages

These messages are still logged, but the log indicator is not
modified to flag their appearance.

This allows certain error messages to be logged (e.g. on startup)
which cannot be fixed by users/developers (e.g. those caused
by upstream Qt issues, 3rd party Python libraries, etc) but
without flagging them.

Currently, we get so many of these warnings on startup that the
log indicator loses all impact, and newly introduced, VALID
errors go unnoticed/ignored.
2018-06-19 06:23:58 +10:00
Nyall Dawson
00f0583325 Fix doc test 2018-06-18 23:14:45 +10:00
Nyall Dawson
68b38b2daf Add a signal when a project is cleared 2018-06-18 23:14:45 +10:00
Alessandro Pasotti
24ed8d414a Remove wrong comment 2018-06-18 13:35:45 +02:00
Nyall Dawson
93e590250d Use correct icon 2018-06-18 20:49:29 +10:00
Alessandro Pasotti
7c4a204e8c Fix test 2018-06-18 11:45:44 +02:00
Alessandro Pasotti
cb91176edd [bugfix] Fix double escping of colon in QgsMimeDataUtils
Fixes #19195 - WMS layer loaded in incorrect CRS when using drag and drop from Browser panel
2018-06-18 10:35:33 +02:00
Alessandro Pasotti
c20e441872
Merge pull request #7244 from elpaso/bugfix-18518-server-gfi-relations
[bugfix][server] respect relations in getfeatureinfo
2018-06-18 08:06:55 +02:00
Alessandro Pasotti
e39abc5c83
Merge pull request #7240 from elpaso/bugfix-19155-layout-legend-undo-crash
[bugfix] Crash on undo layout legend item on deleted item
2018-06-18 08:05:54 +02:00
Nyall Dawson
a17b77be56 [processing][gdal] Add missing parameters for buildvrt algorithm 2018-06-18 10:28:27 +10:00
Nyall Dawson
76b13ff4c4 [processing][gdal] More descriptive name for separate parameter
in buildvrt algorithm

Fixes #19212
2018-06-18 10:28:27 +10:00
Nyall Dawson
4fb9091e6e QgsRectangle::intersect should use a reference, not a pointer
We never call this method using nullptrs, so there's no need
for this to be a pointer argument in the first place. And
having it a pointer encourages leaky code, such as the
leak this commit fixes in server.
2018-06-18 07:55:17 +10:00
Alessandro Pasotti
c727d449e8 [bugfix] Crash on undo layout legend item on deleted item
Added test
2018-06-17 17:10:27 +02:00
Alessandro Pasotti
583ccece29 Revert "[bugfix] Crash on undo layout legend item on deleted item"
This reverts commit 9def3470f02c06c886ad0fab6092584d99178a10.
2018-06-17 17:10:10 +02:00
Alessandro Pasotti
59fa2ce452 [bugfix] Revert 2f2221a and update the tests
Fixes #19199 - regression: vector layer legend symbol / children (i.e. rules) aren't shown when in group
2018-06-17 16:26:01 +02:00
Alessandro Pasotti
cd782f277b Revert "Do not return invalid layers from findLayers()"
This reverts commit 2f2221aec7a12138dacccd40ac3a34573e3a5da3.
2018-06-17 16:26:01 +02:00
Alessandro Pasotti
9c8545722d Make setInstance private and QgsConfigCache a friend 2018-06-17 15:05:19 +02:00
Nyall Dawson
184b0ef2a9 Remove unnecessary code
QObjects cannot be copied anyway
2018-06-17 15:09:07 +10:00
Nyall Dawson
b643465b12 Fix build, dox++ 2018-06-17 15:09:07 +10:00
Nyall Dawson
6470aacb33 Ban QScopedPointer/QSharedPointer 2018-06-17 15:09:07 +10:00
Nyall Dawson
e1ace09f76 Ban more obselete qt methods 2018-06-17 15:09:07 +10:00
Denis Rouzaud
8503896674
[locator] add clearPreviousResults virtual method (#7256)
* [locator] add clearPreviousResults virtual method

* also clear previous results when triggering result
2018-06-16 19:04:59 -08:00
Nyall Dawson
7a9b2980ea Fix doxygen warning 2018-06-17 11:15:10 +10:00
Nyall Dawson
8bf3d23afa Fix use of banned methods 2018-06-17 11:13:41 +10:00
Marco Hugentobler
e90b58f6a1 Fix warning 2018-06-17 11:11:39 +10:00
Marco Hugentobler
e76ca64eae Consider PR feedback 2018-06-17 11:11:39 +10:00
Marco Hugentobler
49cce29268 \param instead of @param 2018-06-17 11:11:39 +10:00
Marco Hugentobler
1749e5d9c9 Add unit test for geometry generator dxf export 2018-06-17 11:11:39 +10:00
Marco Hugentobler
bc41e0df1c Fix data defined properties in dxf export 2018-06-17 11:11:39 +10:00
Marco Hugentobler
5cc97b5fb7 Fix svg export bug 2018-06-17 11:11:39 +10:00