37986 Commits

Author SHA1 Message Date
Mathieu Pellerin
8c20d993f8 sipify qgscolorbutton and qgscolorrampbutton (#4365)
* get rid of params to get rid of warnings
2017-04-17 16:10:11 +07:00
Martin Dobias
316d9c3359 R.I.P. QgsSnapper and QgsMapCanvasSnapper
These classes have been replaced by more efficient and flexible classes
(see QgsPointLocator, QgsSnappingUtils, QgsMapCanvasSnappingUtils)
2017-04-17 17:08:48 +08:00
Mark Johnson
8b08285e90 added measureLineProjected and computeSpheroidProject to QgsDistanceArea 2017-04-17 19:06:30 +10:00
Martin Dobias
8a46a1d0dc R.I.P. old node tool 2017-04-17 16:18:30 +08:00
Martin Dobias
e73a52bb35 [FEATURE] New node tool implementation 2017-04-17 14:23:36 +08:00
Nyall Dawson
eff5a823c9 [sipify] Convert "\a arg" to "`arg`" when processing Docstrings
Allows argument names to be highlighted in Python docs
2017-04-17 13:49:59 +10:00
Nyall Dawson
e4d6bbfe76 Fix Coverity divide by 0 error 2017-04-17 12:44:54 +10:00
Nyall Dawson
952bc02144 Fix some Coverity null pointer dereference warnings 2017-04-17 12:43:05 +10:00
Nyall Dawson
6a72c945af [sipify] Don't autocreate Docstrings for overridden members
Skip the autocreated Docstrings with rtype annotations if the
member is overridden - better to use the base class
Docstring in this case.
2017-04-17 11:03:02 +10:00
Nyall Dawson
96d5b9dae6 Implement a QGIS 3.0 TODO for QgsMessageLogViewer, cleanup docs 2017-04-17 10:55:53 +10:00
Nyall Dawson
798c318288 [sipify] Fix loss of class docstring if newline present between
class doxygen and class definition
2017-04-17 10:49:29 +10:00
Nyall Dawson
d6e3da6b82 Add spelling mistake observed in recent PR 2017-04-17 09:28:58 +10:00
Harrissou Sant-anna
2264661eb3 Add tooltips to Vector layer properties dialog 2017-04-15 08:54:19 +10:00
rldhont
cc55ae1932 Merge pull request #4344 from rldhont/server-wfs-configparser
[Server] WFS refactoring and QgsWfsProjectParser removal
2017-04-14 17:32:16 +02:00
Martin Dobias
47a81f0504 Fix map canvas destruction fix (got broken after rebase) 2017-04-13 16:00:14 +08:00
Martin Dobias
92e3e75f3d Move from "or", "and" to proper C-style ||, && 2017-04-13 15:58:07 +08:00
Martin Dobias
2e21d46913 Fixes for moving between nodes with keyboard
- supports < and > in addition to comma and dot
- wraps around polygon rings (jumps from last node to the first)
- moves view to node when it is outside of canvas view
2017-04-13 14:28:31 +08:00
Nyall Dawson
1eaa486291 Followup 271e6f1, fix sidebar styling in style dock 2017-04-13 11:13:16 +10:00
Nyall Dawson
271e6f14ac Make search box in options pages blend in better 2017-04-13 10:30:11 +10:00
Nyall Dawson
7f065c786e Standardise margins on vector layer properties dialog 2017-04-13 10:21:35 +10:00
Nyall Dawson
f23d3814ae Fix raster context menu "change transparency" actually changes opacity 2017-04-13 09:40:48 +10:00
Matthias Kuhn
48e876bbe4 Add centimeters and millimeters to measure dialog 2017-04-12 23:11:37 +02:00
Mathieu Pellerin
40dac8f00d [plugin manager] fix QGIS startup crash (fixes #16439) (#4360) 2017-04-12 23:10:41 +02:00
Etienne Trimaille
c4ad9505fb [needs-docs] update metadata viewer and review UI for vector layer dialog (#4316)
Funded by WorldBank/GFDRR
2017-04-12 23:04:53 +02:00
Matthias Kuhn
0e09fdacde Use monospace fonts for console on all platforms 2017-04-12 22:21:59 +02:00
matteo
16c8dac2ac travis fix 2017-04-12 21:07:30 +02:00
matteo
bca0ca25ee 2 new plots added 2017-04-12 21:07:30 +02:00
matteo
0c5b667986 fix category error and remove np dependency 2017-04-12 21:07:30 +02:00
Alessandro Pasotti
9c2f88c911 QgsSettings: add writeArray and more group and array tests 2017-04-12 18:02:17 +02:00
Nathan Woodrow
29d228dd6e Opps :) 2017-04-12 13:21:28 +01:00
Nathan Woodrow
7694dd2d81 [FEATURE][needs-docs] Add better crash dialog 2017-04-12 22:18:56 +10:00
Juergen E. Fischer
0e1a7d9650 debian packaging: add dependency qt5keychain-dev (followup 090d530) 2017-04-12 14:17:00 +02:00
Alessandro Pasotti
c9f0509841 Merge pull request #4355 from boundlessgeo/password-helper-authmanager3
[feature][needs-docs] Master Password integration with OS password manager
2017-04-12 13:04:43 +02:00
Nyall Dawson
da5c0ed2cd Fix composer legends are not restored from XML
Also add unit test to protect this and switch to unique_ptrs
instead of raw pointers
2017-04-12 16:59:54 +10:00
Nyall Dawson
3bb3f590ac Merge pull request #4349 from nyalldawson/box3d
Initial framework for 3D box class
2017-04-12 16:26:07 +10:00
Nyall Dawson
b64c7b74b8 Remove unused variable 2017-04-12 16:07:41 +10:00
Nathan Woodrow
6726214fd8 [MSSQL] Fix update/insert with timestamp columns 2017-04-12 16:04:13 +10:00
Nyall Dawson
226bd9bb60 Move QgsRectangle and QgsBox3d to geometry folder
Since these are both geometry related classes, it's nicer to
keep these all together
2017-04-12 15:27:34 +10:00
Nyall Dawson
49e1ae40af [composer] Only update map rotation when editing finishes
Avoids multiple map updates when entering values like "90".
Previously the map would be updated at every keystroke,
so  "9" and "90" degree rotations.
2017-04-12 15:15:17 +10:00
Nyall Dawson
36ca6d2380 Add methods to convert between QgsRectangle and QgsBox3d
Also add volume calculation to QgsBox3d
2017-04-12 14:45:47 +10:00
Nyall Dawson
6632fd6849 Cleanup QgsRectangle header and sipify
Also add methods for returning area and perimeter of rectangle
2017-04-12 14:39:02 +10:00
Nyall Dawson
e3dfe17861 Add unit tests for QgsBox3d 2017-04-12 14:08:47 +10:00
Nyall Dawson
0d843ff4e6 Initial framework for 3D box class 2017-04-12 14:08:47 +10:00
Juergen E. Fischer
8637b22149 debian packaging: add zesty 2017-04-12 00:34:30 +02:00
Alessandro Pasotti
090d5305e5 [feature][needs-docs] Master Password integration with OS password manager
This PR adds (optional) synchronization of the master password
with the OS password manager (AKA wallet/keychain).

A set of new menu items has been added in the options ->
authentication -> utilities to manage the new behavior.

Notifications are handled by the message bar unless the
password r/w operation is triggered from a modal dialog,
in this case the notifications will be routed through
the recently exposed QgisApp::showSystemNotification
that uses the OS tray notifications.

This new feature requires libqt5keychain, and was tested
with v. 0.5+
2017-04-11 15:00:29 +02:00
Nyall Dawson
669fa87eb4 [sipify] Fix stripping function body with virtual const reference returns 2017-04-11 16:24:01 +10:00
Nyall Dawson
5fb63c066f Make QgsRectangle protected members private
This class is not designed to be subclassed
2017-04-11 14:55:57 +10:00
Nyall Dawson
a45e5700da Use weak pointers for registered QgsOptionsWidgetFactorys
Avoids QGIS crashing if a plugin crashes without deregistering
its QgsOptionsWidgetFactory.
2017-04-11 14:25:50 +10:00
Nyall Dawson
7a6efa2c7f Merge pull request #4346 from nyalldawson/metadata_api
Rename QgsMapLayer::metadata() -> htmlMetadata()
2017-04-11 12:31:47 +10:00
Matthias Kuhn
e7e73bafcf Add test for postgres boolean 2017-04-10 22:47:41 +02:00