59766 Commits

Author SHA1 Message Date
Denis Rouzaud
87ae927914 [github] auto milestone, leave comment 2020-01-10 10:51:47 +01:00
nirvn
e99cef48ca [needs-docs][ui] Better placement for the method combobox and auto open action
(this is a follow up to PR #33643) better combobox / checkbox placement
2020-01-10 15:24:12 +07:00
Denis Rouzaud
cf4443a415 [github] fix GH expression on milestone 2020-01-10 09:07:57 +01:00
Denis Rouzaud
04d714cc05 [github] fix GH expression on milestone 2020-01-10 08:59:56 +01:00
Denis Rouzaud
c92874b81a [github] fix GH expression on milestone 2020-01-10 08:58:35 +01:00
Denis Rouzaud
776d082365 [github] fix GH expression on milestone 2020-01-10 08:57:30 +01:00
Denis Rouzaud
a704341b4a [github] add comment if rights are insufficient to set milestone 2020-01-10 08:54:51 +01:00
Denis Rouzaud
ef750839e3 [github] fix json on milestone 2020-01-10 08:44:13 +01:00
Denis Rouzaud
667ac59093 [github] milestones on PR are edited through issues API 2020-01-10 08:33:32 +01:00
Denis Rouzaud
f8620e849f [github] fix auto milestone bot 2020-01-10 08:29:10 +01:00
Denis Rouzaud
1c5bd1ad8f [github] fix auto milestone bot 2020-01-10 08:24:38 +01:00
Denis Rouzaud
0d3d28e700 [github] auto define milestone on PRs 2020-01-10 07:50:00 +01:00
root676
34e37cf175 optimize qhash, feature request and rasterDataLine 2020-01-10 13:32:42 +13:00
root676
aa2b38f9ca remove hash based python test entry 2020-01-10 13:32:42 +13:00
root676
8c19188713 add linedensity test to testqgsprocessingalgs.cpp 2020-01-10 13:32:42 +13:00
root676
4b8177fda9 add linedensity testdata 2020-01-10 13:32:42 +13:00
root676
ce73da6cdf fix wrong intersection condition 2020-01-10 13:32:42 +13:00
root676
41b5fd80a9 enhance speed by adding QHash 2020-01-10 13:32:42 +13:00
root676
9a262e1c96 optimize fid handling 2020-01-10 13:32:42 +13:00
root676
bfe4e1ab96 throw exception in case of search radius being smaller than sqrt(pixelSize)/2. 2020-01-10 13:32:42 +13:00
root676
670f3671ac use QgsCircle and implement optional field param 2020-01-10 13:32:42 +13:00
root676
13f8cd6f8d add missing override in prepareAlgorithm() declaration 2020-01-10 13:32:42 +13:00
root676
11a523196d format algorithm source 2020-01-10 13:32:42 +13:00
root676
ce342f7ac4 [feature][processing] Add Line denisty algorithm 2020-01-10 13:32:42 +13:00
i-s-o
5765cabb95 Speed up reading the field list from clipboard 2020-01-10 12:49:58 +13:00
i-s-o
7a3d22dd1f Add unit tests 2020-01-10 12:49:58 +13:00
i-s-o
07d6a1ff48 Accept newline terminated string as valid input to paste as temporary scratch layer
Fixes #33617
2020-01-10 12:49:58 +13:00
Nyall Dawson
64f2c42b0b When changing layer data paths through the layer tree menu, ensure
that existing subset strings are correctly applied after the layer
path is changed

Previously this only worked when repairing a broken layer path, but
we should also maintain the filter when a valid layer's path is changed.
2020-01-10 08:06:46 +13:00
Nyall Dawson
00ce537e41 Fix loss of vector layer subset strings IF a layer path was invalid
at the time the subset string was originally applied
2020-01-10 08:06:46 +13:00
Alexander Bruy
986930d28f [processing] use system temporary directory as default for Processing
temporary outputs (refs #33641)
2020-01-10 08:05:12 +13:00
Matthias Kuhn
3a3b430825
Merge pull request #33259 from signedav/reload_provider
reloadData / forceReload on data providers
2020-01-09 10:57:14 +01:00
Alexander Bruy
72400524f7
Merge pull request #33643 from alexbruy/identify-word-wrap
[GUI] fix identify panel size when long localized strings used (fix #29546)
2020-01-09 09:48:30 +02:00
Nyall Dawson
88dd1dc9bb Fix build 2020-01-09 19:51:50 +13:00
Nyall Dawson
96bbab67ee Address review comments 2020-01-09 19:51:50 +13:00
Nyall Dawson
4391fe7369 Move numeric format button for scalebars to Units group 2020-01-09 19:51:50 +13:00
Nyall Dawson
1cd2e16fb1 Also expose setting for optionally overridding the decimal character 2020-01-09 19:51:50 +13:00
Nyall Dawson
1e82bbc417 Fix seealso link 2020-01-09 19:51:50 +13:00
Nyall Dawson
d3afd6d936 Allow users to override the default locale thousand separator within
specific numeric format objects

E.g. this allows users to set a specific thousand grouping character
to use for a particular scalebar number labels. Useful in the case of
creating maps for users outside of the current locale. Default is
always to use the QGIS locale character (this is an advanced setting!)
2020-01-09 19:51:50 +13:00
Nyall Dawson
16c2254141 [FEATURE][layouts] Add user control over scalebar numeric formats
Gives users control over all the formatting properties for the numbers
in scalebars, including whether they want thousand separators, decimal
places, scientific notation, etc

Fixes #21341
2020-01-09 19:51:50 +13:00
Nyall Dawson
ad6684bdb4 Add numeric formatting option to round to number of significant figures 2020-01-09 19:51:50 +13:00
Nyall Dawson
f4f8a53894 Ensure unique ids are generated whenever tests are run multiple times
Avoids layout corruption in the generated html reports if the same test
is run more than once
2020-01-09 19:51:50 +13:00
Nyall Dawson
b9b4f884c4 Wide characters should be supported for commas and decimal point symbols 2020-01-09 19:51:50 +13:00
Denis Rouzaud
fd970b917c [docbot] also list commits with [FEATURE] 2020-01-09 06:30:41 +01:00
Nyall Dawson
c6f5b39fab If default new project CRS is set to no CRS, ensure that the status bar
button correctly shows this when QGIS is first loaded
2020-01-09 17:10:49 +13:00
Nyall Dawson
fc555ca69a Ensure pan distance display in status bar uses project distance units 2020-01-09 17:10:30 +13:00
Nyall Dawson
9fd3681bdf Respect project bearing setting when showing pan direction in status bar 2020-01-09 17:10:30 +13:00
Nyall Dawson
c0ad4303d2 [FEATURE] Add setting for format to show angular bearings to projects
and profile options

The Settings - Options - Map Tools tab contains a new setting for
controlling the default format to use for displaying angular bearings for
newly created projects. Whenever a new project is created, it will
inherit this default settings.

The Project Properties dialog also has a new setting for the project-specific
bearing format.

The intention is that whenever angular bearings are shown in QGIS,
they will be formatted using the current project's bearing format
settings.
2020-01-09 17:10:30 +13:00
Nyall Dawson
338dcae6a3 QgsProjectDisplaySettings should inherit bearing format from local default settings
when reset

This ensures that newly created projects will correctly use the profile's default
bearing format
2020-01-09 17:10:30 +13:00
Nyall Dawson
1f7140bfc5 New class QgsLocalDefaultSettings
This class contains a variety of default setting values. These values are local, profile
specific settings which may have been configured or tweaked by the user (as opposed to
global, fixed default settings).

The values encapsulated here should be inherited when creating new objects such as new
QGIS projects.

Typically, the QgsSettings backend is used to store and retrieve these local settings.

The intention here is to provide stable, structured and easily discoverable
methods for setting and retrieve these settings, rather than forcing raw QSetting
handling.
2020-01-09 17:10:30 +13:00
Nyall Dawson
410da5e358 New class QgsProjectDisplaySettings
This class (attached to a QgsProject object) provides a place to
store and retrieve settings related to project display behavior,
e.g. the numeric formats used for bearings and coordinates
2020-01-09 17:10:30 +13:00