46714 Commits

Author SHA1 Message Date
Nyall Dawson
77941442c7 When a remote SVG is requested but fails, use the missing SVG icon
as an indicator for users that something went wrong

This was previously only used for replies with incorrect mime
types or authentication errors, but it meant that an incorrect
SVG url would silently result in no symbols rendered.

Also add unit tests for fetching remote svg images
2018-03-29 19:50:44 +11:00
Nyall Dawson
5d4e1bb31f Add intersection/tangent methods to QgsCircle 2018-03-29 17:40:40 +11:00
Mathieu Pellerin
716ba9befe
[needs-docs] Add a "save selected features as" layer item shortcut 2018-03-29 10:34:49 +07:00
Salvatore Larosa
7900570504 folowup a29c6a7d07006ff03ac26bd636dcafb8293fee0d: set noun to entries 2018-03-29 13:34:34 +11:00
Nyall Dawson
44143c1bf9 Restore a disabled test for Qt5 which works OK now 2018-03-29 13:26:51 +11:00
Nyall Dawson
fb5caa7a0f Fix weird line edit styling error on Ubuntu
Ubuntu theme is incorrectly showing hidden actions in
line edits.

Fixes #18537
2018-03-29 07:21:34 +11:00
Nyall Dawson
8b59bdcc94 [layouts] Fix missing layer scope for atlas enabled items
Fixes #18525
2018-03-29 07:21:03 +11:00
Nyall Dawson
054470f032 Never show int/long attributes in scientific notation
Fixes #18508, #18302
2018-03-29 07:20:31 +11:00
Alessandro Pasotti
cc7c9356bc
Merge pull request #6698 from elpaso/auto-select-first-layer-on-load
Make first layer selected on project load
2018-03-28 12:35:29 +02:00
Mathieu Pellerin
93a6115c9e
[needs-docs] Use QgsTextRender to power up copyright decoration styling (#6684)
- we gain all of the styling capabilities of our text renderer engine (i.e. what powers
the rendering of labels)
- HTML support is gone for now, with virtually all of styling possibilities
covered by the above text renderer
2018-03-28 17:12:48 +07:00
Denis Rouzaud
721095e89d add virtual destructor
fix warning: delete called on 'QgsEditorWidgetAutoConfPlugin' that is abstract but has non-virtual destructor
2018-03-28 11:49:41 +02:00
Denis Rouzaud
e252f5cd6f remove unused variables 2018-03-28 11:49:41 +02:00
Mathieu Pellerin
5fe1ea85bf
[needs-docs] Use QgsScaleBarRenderer to power up scale bar decoration (#6689)
Main short-term benefit: scale bar font size and family can be customized.
2018-03-28 15:55:48 +07:00
Alessandro Pasotti
9ec2d1f99b Make first layer selected on project load
just spare a click
2018-03-28 08:46:53 +02:00
nirvn
14c057aeff Follow up a29c6a7d07: add missing ellipsis 2018-03-28 12:09:40 +07:00
Salvatore Larosa
a29c6a7d07 [needs-docs] Reorganisation of contextual menu for group and layer (#6665) 2018-03-28 11:20:22 +07:00
Salvatore Larosa
f75c0a80e6
Merge pull request #6680 from DelazJ/topol
Enable Topology Checker help button
2018-03-27 16:45:09 +02:00
Nyall Dawson
d24f8a3c5b Cleanup 2018-03-27 19:24:10 +11:00
Nyall Dawson
556668e067 Fix 'actions' button in attribute table dialog only shows menu after
extended click and hold
2018-03-27 19:24:10 +11:00
Nyall Dawson
9551471ebf Fix some attribute table columns do not remember their size 2018-03-27 19:24:10 +11:00
Nyall Dawson
4d40202121 Fix signal loop when resizing columns on opening attribute table 2018-03-27 19:24:10 +11:00
Nyall Dawson
3d8dd4913c Fix crash in attribute table when action column is visible and edit is
toggled
2018-03-27 19:24:10 +11:00
Nyall Dawson
1efb3cb9b0 Add missing /Out/ annotations 2018-03-27 17:34:24 +10:00
Nyall Dawson
4bfc808ee6 Add some circle intersection and tangent utilities to QgsGeometryUtils 2018-03-27 17:44:25 +11:00
Harrissou Sant-anna
0c59bc540e fix indentation 2018-03-26 23:16:10 +02:00
Salvatore Larosa
a0430ec63e set correctly the delete button layout (#4) 2018-03-26 23:09:51 +02:00
Nyall Dawson
8e08bda46c [processing][grass] Fix incorrect path calculation for grass binary 2018-03-27 07:10:37 +11:00
Nyall Dawson
bec878f6f9 [processing][grass] Fix error after running grass algorithms 2018-03-27 07:10:37 +11:00
Harrissou Sant-anna
650f526975 Enable Topology Checker help button
refs #18550
2018-03-26 22:03:24 +02:00
Matthias Kuhn
7b8603c306
Merge pull request #6637 from DelazJ/layouteditor
Add toolTip to layout editor option in vector layer attributes form properties
2018-03-26 16:18:58 +02:00
Mathieu Pellerin
3f153e91b8
[copyright decorator] improve default label string
- Instead of using (c) QGIS YYYY, rely on the project metadata
to insert the author name. It's a more useful default string,
and might help avoid a misconception about ownership of maps
produced in QGIS.
2018-03-26 16:33:30 +07:00
Nyall Dawson
2b8519c017 Fix cannot set tolerance unit in simplify tool 2018-03-26 14:27:15 +10:00
Nyall Dawson
4f16e01e97 Fix value map field formatter doesn't work
The configuration format was changed without updating the unit
tests to flag this failure.
2018-03-26 11:02:07 +11:00
Pierre
ce34646cfc talking about "ninja qgis" in install.txt (#6670) 2018-03-26 09:00:08 +10:00
William Kyngesburye
bf8b1e90da Mac packaging updates 2018-03-24 11:17:44 -05:00
Marco Bernasocchi
20c071b515 Add support for imports from qgis.PyQt
this adds support to imports from the qgis.PyQt packages like
from qgis.PyQt.QtGui import (QCheckBox, QIcon)

this kind of imports are already used by some plugins
without having the PyQt5 structure of packages (i.e. they use
from qgis.PyQt.QtGui import (QCheckBox, QIcon) instead of
from qgis.PyQt.QtGui import (QIcon)
from qgis.PyQt.QtWidgets import (QCheckBox)
2018-03-24 15:31:36 +01:00
Marco Bernasocchi
ac09795900 add a warning when unsupported imports are detected
Works for example with imports like import PyQt4.QtGui
2018-03-24 15:31:36 +01:00
Daniele Viganò
9f73854d4e Improve package upgrade path from QGIS 2 to QGIS 3 with RPM 2018-03-24 15:25:16 +01:00
Alessandro Pasotti
5eb9ab4813
Merge pull request #6644 from elpaso/gml-inverted-axis
Add axisOrder to QgsAbstractGeometry GML generators
2018-03-24 12:50:13 +01:00
Salvatore Larosa
2220a6eadd
Merge pull request #6667 from slarosa/fix_18530
Fixes #18530: Removing project item from Welcome screen crashes QGIS
2018-03-24 12:30:07 +01:00
Salvatore Larosa
af6ad23048 Fixes #18530: Removing project item from Welcome screen crashes QGIS 2018-03-24 11:34:53 +01:00
Salvatore Larosa
5d34584b01 Revert "[TEMPORARY]"
This should not have happened :-(

This reverts commit bc45258b510b8e17d9a2006f4906a255559a9297.
2018-03-23 22:43:41 +01:00
Salvatore Larosa
3a5fb9d7bd Fixes #18526: Pasting data from clipboard inside Python console causes the text cursor to be moved to the end of the row 2018-03-23 22:41:00 +01:00
Salvatore Larosa
bc45258b51 [TEMPORARY] 2018-03-22 12:20:52 +01:00
Hugo Mercier
4c4e8ac18a
Merge pull request #6085 from lbartoletti/ccache
Use ccache if available
2018-03-22 08:32:29 +00:00
Nyall Dawson
c8f597983b Fix crash in attribute form after adding field
Fixes #18507
2018-03-22 16:23:51 +10:00
Nyall Dawson
6b1255b4d9 Remove autogenerated metadata when loading an older project 2018-03-22 16:13:30 +11:00
Nyall Dawson
37c5dd9301 Add settings key to anonymize new projects
Defaults to false, but if set will not automatically set
metadata for newly created projects such as author
and creation date.
2018-03-22 16:13:30 +11:00
Nyall Dawson
2eacc4c4b4 [FEATURE][layouts] Export project metadata in PDF/image exports
Includes project metadata in PDF exports, and supported image
based formats.

Image based metadata support depends on the format and the
Qt library's handling of each particular format (e.g. PNG
outputs are well supported).

Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
1d4ff69553 Fix unit test 2018-03-22 16:13:30 +11:00