Matthias Kuhn
9c7cf40c07
Merge pull request #6537 from slarosa/menu-indicator
...
fix size for menu indicator in data defined button
2018-05-31 08:34:41 +02:00
Nyall Dawson
1d62d106fb
[processing] Don't hold on to algorithm instances for menu items
...
Instead, only store references to the algorithm id string, and
use this to retrieve algorithms when the actions are triggered.
This avoids errors caused by the algorithm instances being
removed, e.g. due to plugin removal or reload of providers
(e.g. by opening options dialog).
Fixes #19070
2018-05-31 15:28:12 +10:00
Nyall Dawson
59d425c5b0
[processing] Fix some incorrect formatting of algorithm titles
2018-05-31 15:27:51 +10:00
Matthias Kuhn
4752b99ed9
Merge pull request #7106 from m-kuhn/encodedUrl3
...
Assume URL already encoded in web view widget
2018-05-31 07:27:43 +02:00
Nyall Dawson
612d61dc09
[processing] Tweak algorithHelp formatting
2018-05-31 15:27:34 +10:00
Nyall Dawson
297cfd547d
[processing] Add metadata for feature sink parameters
2018-05-31 15:27:34 +10:00
Nyall Dawson
db916bc238
[processing] Show accepted data types for parameters in processing.algorithmHelp
2018-05-31 15:27:34 +10:00
Nyall Dawson
0bbaa3b01e
[processing] Add method to retrieve list of accepted Python data types for a parameter type
2018-05-31 15:27:34 +10:00
Nyall Dawson
e8515d86ee
Fix crash in QgsNetworkContentFetcherRegistry
2018-05-31 10:50:24 +10:00
Nyall Dawson
37b06bcf29
[processing] Fix Rectangles/Ovals/...(variable) chokes on angle values of 0
...
Change the test to a NULL test instead, as angle values of 0 are valid
2018-05-31 08:55:26 +10:00
nirvn
377f393c67
Use subsetStringChange signal for layer tree view filter indicator
2018-05-30 18:37:12 +07:00
nirvn
0a3bef1bc9
Remember last used directory when saving map as PDF
2018-05-30 15:34:16 +07:00
Nyall Dawson
ab04e0fa98
Tweak wording of metadata contacts header
...
Because contacts have an explicity 'role' setting, they may not
necessarily be the 'owner' of the resource
2018-05-30 16:51:09 +10:00
Nyall Dawson
d4a5df2f2c
More unit checks for project dirtying
2018-05-30 14:15:00 +10:00
Nyall Dawson
69b590b0ef
Fix corrupted text in Open From menu item
2018-05-30 13:30:27 +10:00
Alexandre Neto
e7da103096
Changes tooltip of Open Layer Styling button
2018-05-30 08:52:53 +10:00
Nyall Dawson
6bf5274b11
[processing] Fix some missing references warnings
2018-05-30 08:51:30 +10:00
Nyall Dawson
aabbb307fa
[processing] Fix clearing destination doesn't actually reset to temporary output
...
Even though the UI makes it look like it did
2018-05-30 07:45:34 +10:00
Nyall Dawson
ce2f7739e7
[processing] Correct text for temporary folder output
2018-05-30 07:45:34 +10:00
Salvatore Larosa
68b7f5a807
Merge pull request #7087 from slarosa/fix_19001
...
Fixes #19001 : update url for _pyqgis and _api commands
2018-05-29 22:38:32 +02:00
Nyall Dawson
d157b6e661
[processing] Fix destination folder param is not updated after
...
picking from the file dialog alone
2018-05-30 06:12:09 +10:00
Nyall Dawson
6c0a1da076
Filter invalid rings during label geometry preparation
2018-05-30 05:01:40 +10:00
Nyall Dawson
2a70c4bcca
Remove invalid ring handling from filterVertices, move to removeInvalidRings()
2018-05-30 05:01:40 +10:00
Nyall Dawson
53d4d0b40a
Fix filterVertices for multipoint geometries
2018-05-30 05:01:40 +10:00
Nyall Dawson
f7618d00dc
Fix doxygen
2018-05-30 05:01:40 +10:00
Nyall Dawson
e33c1942a9
Optimise some coordinate transforms
2018-05-30 05:01:40 +10:00
Nyall Dawson
0c7df170e1
Optimise QgsCurve::asQPolygonF for linestring geometries
2018-05-30 05:01:40 +10:00
Nyall Dawson
3ba7c0b322
Unit tests for filterVertices
2018-05-30 05:01:40 +10:00
Nyall Dawson
16091eca73
Better memory management, handle nan coordinate results when
...
calculating point feature label obstacle geometry
2018-05-30 05:01:40 +10:00
Nyall Dawson
484102769e
[labeling] Geometry transformations may result in nan points,
...
so filter these out when registering labeled features
2018-05-30 05:01:40 +10:00
Nyall Dawson
f092c7edb7
Add method to filter vertices for geometries in place, by providing a custom filter function
2018-05-30 05:01:40 +10:00
Nyall Dawson
8341b9b19c
Safer memory management for shapeburst fills
...
Fail gracefully if temporary image could not be allocated
TODO: use a maximum size for the image, and downsample to match
2018-05-30 05:01:40 +10:00
Nyall Dawson
c013c23ecc
Catch some uncaught transform exceptions
2018-05-30 05:01:40 +10:00
Nyall Dawson
ff7c70fc87
[processing][gdal] Fix gdal command does not automatically update
...
when destination value is changed
2018-05-29 22:21:31 +10:00
Matthias Kuhn
744a42ffc2
Assume URL already encoded in web view widget
2018-05-29 12:32:10 +02:00
Nyall Dawson
ad1fef9f7c
Workaround crash in msvc when raising a GEOS exception
...
In some circumstances MSVC tries to raise it's own internal
exception when we try to raise a GEOSException. This results
in a hard crash of QGIS.
To workaround this, we cautiously try to raise a GEOSException
on msvc builds, catching all other raised exceptions if
throwing the GEOSException triggers them. This at least allows
us to gracefully handle the geos error without crashing QGIS
(although the detailed GEOS error message is not available
when this situation occurs... but that's still better than
a crash!).
If you want to try to find a better fix for this, the
testqgsexpression.cpp test suite will demonstrate the issue.
Without this fix the test will crash on the "line_interpolate_point point"
test.
Refs #14752
2018-05-29 20:26:44 +10:00
nirvn
5ab3fe4ba0
Add subsetStringChanged signal
2018-05-29 17:10:17 +07:00
nirvn
f5c0a2c472
Project dirtying improvements
...
- Mark as dirty when renaming a layer/group
- Better approach to mark as dirty when changing CRS
- Better approach to mark as dirty when changing subset string
2018-05-29 17:10:17 +07:00
Salvatore Larosa
3edc07b4c2
also versioning cookbook url
2018-05-29 11:59:54 +02:00
Salvatore Larosa
8f5bde40cf
use https for cookbook url
2018-05-29 11:52:43 +02:00
Matthias Kuhn
b202d60672
const correctness QgsVectorLayer::deleteAttributes
2018-05-29 19:43:04 +10:00
Blottiere Paul
04e779a040
qgz set as the default format
2018-05-29 19:40:10 +10:00
Nyall Dawson
6002ce0bf3
Speed up rendering by avoiding data defined layer enabled check in most circumstances
2018-05-29 06:18:38 +10:00
Peter Petrik
03f825396a
add missing qgis_quick.h header to install
2018-05-29 06:18:24 +10:00
Denis Rouzaud
637f59ded1
fix server/app files and sipify test
2018-05-28 10:39:34 -08:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Denis Rouzaud
0fa85bba1c
put \since and \deprecated at the end of comment blocks
2018-05-28 10:39:34 -08:00
Denis Rouzaud
6772f0d74e
fix test
2018-05-28 10:39:34 -08:00
Denis Rouzaud
83be4fae6b
[sipify] fix deprecated annotation without additional comment
2018-05-28 10:39:34 -08:00
Denis Rouzaud
70f8266495
add test to check that \since and \deprecated are at the end of command blocks
2018-05-28 10:39:34 -08:00