47714 Commits

Author SHA1 Message Date
Nyall Dawson
6d87a4cf3f [console] Fix unclosed strings don't respect the preset font size 2018-05-22 15:43:14 +10:00
Nyall Dawson
33669ab723 [processing] Don't crash when hitting transform exceptions
inside transform algorithm
2018-05-22 11:57:41 +10:00
Nyall Dawson
681074bf25 Setting crs for extent group box shouldn't auto check the box
Causes e.g. changing the destination CRS in the save vector
file dialog to accidentally enable the "extent" filter option.

Refs #18977
2018-05-22 11:57:41 +10:00
Nyall Dawson
959d1e930b Avoid some unnecessary geometry clones during map to pixel
simplification
2018-05-22 10:05:58 +10:00
Nyall Dawson
c1661dee24 Fix invalid polygon rings created by map to pixel simplification
when a larger polygon contains a very small ring
2018-05-22 10:05:58 +10:00
Nyall Dawson
981178399a Add failing test for rendering simplification of very small
ring inside larger polygon
2018-05-22 10:05:58 +10:00
Even Rouault
b886e224cf
Fix typo 2018-05-21 22:54:13 +02:00
Even Rouault
c3c5c9760a
Dummy commit to indicate that 0addae5b783e541953522eabe178426e820bf852 was about refs #18740 2018-05-21 22:44:29 +02:00
Even Rouault
0addae5b78
[WFS provider] Fix excessive memory consumption on big layers (refs #1870)
There was a pseudo memory leak in qgsgml.cpp
And the WFS downloader could also have to process big replies, causing a
lot of features to be instanciated at once.

Was seen on the 'portugal_addresses' layer of http://www.naturalgis.pt/cgi-bin/opendata/mapserv?
2018-05-21 22:40:49 +02:00
Nyall Dawson
19b3325be6 Use the standard snap indicator with move features tool
Fixes #18957
2018-05-22 06:03:51 +10:00
Nyall Dawson
c5ff6b9c99 [processing] Ensure parameters linked to layer parameters
(e.g. field choices) are correctly updated when a layer
is selected which doesn't belong to the project
2018-05-22 06:03:18 +10:00
Nyall Dawson
4ec9e00a73 Fix SVG parsing error on startup 2018-05-22 06:02:55 +10:00
Nyall Dawson
c0d9528090 Silence python warnings from 3rd party libraries on startup 2018-05-22 06:02:55 +10:00
Nyall Dawson
343872b719 Flip some code to use format 2018-05-22 06:02:55 +10:00
Nyall Dawson
3de7b383b0 Fix bad regex escaping 2018-05-22 06:02:55 +10:00
Mathieu Pellerin
a7397b1726
[python console] improve settings UI (#7041)
- improve UI spacing
- harmonize reset icon
2018-05-21 16:48:43 +07:00
Blottiere Paul
42199d1ad0 [processing] Declare NOT_SELECTED 2018-05-21 19:06:27 +10:00
Blottiere Paul
dcc79fcfbf [processing] Fix invalid attribute's name 2018-05-21 19:06:27 +10:00
Nyall Dawson
b21632602f [processing] Fix exception when editing enum input with no default value 2018-05-21 16:07:14 +10:00
Nyall Dawson
6b5e5b6ed5 [processing] Fix models cannot correctly set enum parameters
to a static choice
2018-05-21 16:07:14 +10:00
Nyall Dawson
84163841df [processing] Improved script editor dialog title
- show filename in title, or 'Untitled Script' for new
scripts
- show unsaved ('*') indicator when unsaved changes present
2018-05-21 14:28:37 +10:00
Nyall Dawson
28b23d0b24 [processing] Fix script editor dialog title 2018-05-21 14:28:37 +10:00
nirvn
fb882494d5 [needs-docs][processing] reword add model/script to toolbox actions 2018-05-21 10:58:40 +07:00
nirvn
05beaa73b3 [needs-docs][processing] open existing script toolbar action 2018-05-21 10:58:40 +07:00
Nyall Dawson
35b3e9bb63 Add unit test for geoccs descriptions imported from GDAL 2018-05-21 10:03:15 +10:00
nirvn
310bfb1e3e [processing] show indentation guides in script editor 2018-05-20 15:50:31 +07:00
nirvn
60bef387ed reduce darkness of the inc./dec. font icons 2018-05-20 15:50:31 +07:00
nirvn
6b3ebfc019 harmonize open script icons 2018-05-20 15:50:31 +07:00
nirvn
1b3a47a66a remove unused python console icons 2018-05-20 15:50:31 +07:00
nirvn
af45b84c1f [processing] do no wrap line in script editor
(harmonize behavior with python console)
2018-05-20 15:50:31 +07:00
nirvn
b0e93a175c [python console] update toolbar icon and action position
(harmonize position with the processing script editor)
2018-05-20 15:50:31 +07:00
nirvn
2ad74b9d97 [processing] better unsaved change dialog upon closing script editor 2018-05-20 15:50:31 +07:00
nirvn
5a4d33f351 [processing] use python console color/font settings for the script editor 2018-05-20 15:50:31 +07:00
Alexander Bruy
cce49567ca [processing] add test for temporary output without extension 2018-05-20 18:17:15 +10:00
Alexander Bruy
303a79a143 [processing] fix temporary directories handling 2018-05-20 18:17:15 +10:00
Juergen E. Fischer
e15f7cc069 crssync: also update 'deprecated' flag (fixes #18905) 2018-05-19 22:57:48 +02:00
Juergen E. Fischer
7576ae104d crssync:
* also update coordinate system descriptions
* retrieve descriptions of geocentric CRSes (fixes #18968)
2018-05-19 21:51:14 +02:00
nirvn
a4d016fdfd [processing] use a better icon for the find/replace action
(the new icon harmonizes itself with the console script editor)
2018-05-19 18:22:27 +07:00
nirvn
6d067ba9e0 [processing] tiny improvements to the script editor
- add a keyboard shortcut to toggle the find panel
- focus on the find text box when opening panel
- find text when hitting return
2018-05-19 18:22:27 +07:00
nirvn
7464ca686c Fix export map as image/PDF does not respect labeling engine settings 2018-05-19 08:29:15 +07:00
matteo
ace955c08c resurrect also the test for r.thin 2018-05-19 08:12:40 +10:00
matteo
b44ce1e883 [processing] fix wrong parameter GRASS 2018-05-19 08:12:40 +10:00
Blottiere Paul
e182280102
Merge pull request #6997 from pblottiere/executesql_bugfix
[executesql] Use parameter's name instead of description to save sql query
2018-05-18 18:50:27 +01:00
Denis Rouzaud
b4ec9a3190
[pyqgis] add QgsSettings.enumValue and flagValue to the bindings (#7024)
* [pyqgis] add QgsSettings.enumValue and flagValue to the bindings

these are done in pure Python since no implementation is possible in SIP

there is a dirty hack for flags since QgsMapLayerProxyModel.Filters.__qualname__
returns 'Filters' and not 'QgsMapLayerProxyModel.Filters'

* fix typo
2018-05-18 09:25:12 -08:00
Denis Rouzaud
deccf205cf
[pyqgis] add method to retrieve metaEnum from an enum value or type (#7023) 2018-05-18 06:47:18 -08:00
Matthias Kuhn
ae89b4f9e6
Merge pull request #7015 from m-kuhn/ensureEditSelectionOnFeatureSelectionChange
Update currently edited feature in attribute table when selection changes
2018-05-18 12:41:12 +02:00
Matthias Kuhn
bc25781208
Merge pull request #7013 from m-kuhn/sortList
Sort list on the attribute table/form view based on shown value
2018-05-18 12:40:53 +02:00
Denis Rouzaud
3e9a37cc1a
Merge pull request #7018 from 3nids/sipify_metaenum_helper
[sipify] write helpers in core.__init__.py for Q_ENUM
2018-05-18 02:40:00 -08:00
Blottiere Paul
599799d264 Remove unused import 2018-05-18 08:29:33 +01:00
Blottiere Paul
e74e836017 Use parameter's name instead of description to save sql query 2018-05-18 07:05:56 +01:00