Alessandro Pasotti
57dda33571
Server be nice and accept geojson mime type variants
...
Fixes #32065
2019-10-03 10:38:15 +02:00
Denis Rouzaud
8c198a9f46
run lambda if macros are allowed
...
not only when asking
also show a warning when message bar exists
2019-10-03 10:20:10 +02:00
Denis Rouzaud
812308fc93
download immediately
2019-10-03 07:32:46 +02:00
Nyall Dawson
e7e41e1cb9
Add stable api for setting/retrieving project custom scales
...
Previously this was all done through raw project key manipulation,
but there's a use case for exposing this nicely for use by plugins.
2019-10-03 14:15:19 +10:00
lbartoletti
775ef66c41
fix build
2019-10-03 13:33:46 +10:00
lbartoletti
bb523ebfb3
one wmore deprecated method
2019-10-03 13:33:46 +10:00
lbartoletti
76654511f7
fix build
2019-10-03 13:33:46 +10:00
lbartoletti
aa99f89caf
deprecate methods in qgsvectorlayereditutils. Better deprecated dox.
2019-10-03 13:33:46 +10:00
lbartoletti
b75518fa15
update dox
2019-10-03 13:33:46 +10:00
lbartoletti
31e416c4a9
rename QgsPointSequence QgsMapToolCapture::points() const; to QgsPointSequence QgsMapToolCapture::pointsZM() const;
2019-10-03 13:33:46 +10:00
lbartoletti
c1421455b8
fix dox and tests
2019-10-03 13:33:46 +10:00
lbartoletti
738e052b87
fix qgsgeometry
2019-10-03 13:33:46 +10:00
lbartoletti
2e529e1bd9
deprecate addTopologicalPoints methods with QgsPointXY
...
deprecate other methods
2019-10-03 13:33:46 +10:00
Harrissou Sant-anna
575ecffe30
Add "concatenate_unique" as aggregate parameter
...
to relation_aggregate function
2019-10-03 13:28:36 +10:00
Harrissou Sant-anna
ef11da6359
Add "concatenate_unique" and "array_agg" as aggregate parameter
...
of aggregate function
2019-10-03 13:28:36 +10:00
Etienne Trimaille
3159d6f199
update docstrings in qgsdatetimeedit.h
2019-10-03 13:17:04 +10:00
Etienne Trimaille
d61fab7783
implement date() and time() in QgsDateTimeEdit to handle NULL values
2019-10-03 13:17:04 +10:00
Peter Petrik
c64c088465
fix #29188 changing of color ramp for mesh layer now works without clicking on load button first
2019-10-03 13:16:02 +10:00
David Signer
1cd73a7387
set the line edits null value over setSpecialValueText if existing
...
fixes #22883
2019-10-03 13:15:33 +10:00
David Signer
ff26ad1cfb
testing focus and null representations for QgsSpinbox as well (not only QgsDoubleSpinBox)
2019-10-03 13:15:33 +10:00
David Signer
2633dc239a
remove setNullValues on lineEdit because this should be set over the setSpecialValue
2019-10-03 13:15:33 +10:00
David Signer
fcdc8c704c
check widget if it's null instead of redundant text if contained text is the null representer
2019-10-03 13:15:33 +10:00
Denis Rouzaud
f03e1c88bd
add missing import
2019-10-02 21:17:37 +02:00
Denis Rouzaud
6bb82d1dc6
fix API docs
2019-10-02 16:10:13 +02:00
Denis Rouzaud
e03b8abc1a
fix test
2019-10-02 15:53:15 +02:00
Denis Rouzaud
5f36954778
test if python macros can be run in form
2019-10-02 15:53:15 +02:00
Denis Rouzaud
dceb8223f8
switch back to non scoped enum
...
there is an issue in SIP when mixing non-scoped and scoped enums in the same class
see https://www.riverbankcomputing.com/hg/sip/rev/ccc4eda868de
and if switching all to scoped enum, there is a conversion issue in slot
for MessageLevel (whhen connection QgsMessageLog::messageReceived)
2019-10-02 15:53:15 +02:00
Denis Rouzaud
86550e9837
create a method in QgsGui to determine if running Python macros is allowed
2019-10-02 15:53:15 +02:00
Denis Rouzaud
96e8abde39
use an enum for enable macros possibilities
2019-10-02 15:53:14 +02:00
Denis Rouzaud
c03e309948
add test for Python init form function
2019-10-02 15:53:14 +02:00
Denis Rouzaud
493d9c68a2
allow to use remote content for init code file path in attribute form
2019-10-02 15:52:55 +02:00
Nyall Dawson
e47d55f6e3
Grammar
2019-10-02 21:37:52 +10:00
Nyall Dawson
741c051321
Spelling
2019-10-02 21:37:52 +10:00
Nyall Dawson
9b07075fae
Add a switch to QgsTessellator to avoid z handling and fallback to a
...
purely 2d tesselation
Optimises tessellation when only a 2d tessellation is required by
skipping unnecessary/unwanted calculations
2019-10-02 21:37:52 +10:00
Nyall Dawson
8adc498421
Heavily optimised QgsTessellator::_minimum_distance_between_coordinates check
2019-10-02 21:37:52 +10:00
Nyall Dawson
70ee5a7c00
Optimise QgsTriangle constructors
2019-10-02 21:37:52 +10:00
Nyall Dawson
1c1a1a2d90
Reserve data size
2019-10-02 21:37:52 +10:00
Nyall Dawson
b7062b54f6
More optimisations to tesselation conversion to tri polys
...
Use an unordered set for previously encountered points, avoids expensive
loop through existing points to determine point uniqueness
2019-10-02 21:37:52 +10:00
Nyall Dawson
a735bdc554
Fix warnings
2019-10-02 21:37:52 +10:00
Nyall Dawson
a9228f576d
Spelling and build warning
2019-10-02 21:37:52 +10:00
Nyall Dawson
2d6f4d2a20
Optimise QgsLineString::transform
2019-10-02 21:37:52 +10:00
Nyall Dawson
577e1e962d
Huge speed up to QgsTessellator
...
Don't construct Points just for comparison to an existing x/y value
2019-10-02 21:37:52 +10:00
Nyall Dawson
efcc9c5240
Some optimisations for QgsTessellator::_check_intersecting_rings to avoid unecessary cloning and repeated geos conversions
2019-10-02 21:37:52 +10:00
Nyall Dawson
04ca01a795
Because QgsTessellator ONLY works with QgsPolygon geometry inputs,
...
we can safely assume all rings are QgsLineStrings (not the abstract
QgsCurve type) and accordingly can use optimised methods for retrieving
points from the rings
2019-10-02 21:37:52 +10:00
Nyall Dawson
8ee1c20bb2
[tesselator] Allow internal scaling of coordinates by input coordinate
...
bounds to avoid numerical instability with close coordinates (e.g. calculating
tesselation of geometries in geographic CRS)
2019-10-02 21:37:52 +10:00
Alessandro Pasotti
70d23e3137
Merge pull request #32018 from elpaso/bugfix-gh31961-snapping-units-from-crs
...
Update snapping GUI units when canvas CRS changes
2019-10-02 13:36:34 +02:00
Giovanni Manghi
cd71ea1f3c
change confusing parameter name in DB Manager
2019-10-02 09:12:52 +01:00
Harrissou Sant-anna
697b65075d
Add help button to the "Adjust scaling range" dialog
2019-10-02 08:15:54 +10:00
Giovanni Manghi
c7e4130140
make the A_SRS parameter optional
2019-10-02 08:11:15 +10:00
nirvn
e37efdf89e
[symbology] Fix clipped rotated marker when rendering using cache
...
(fixes #32059 )
2019-10-01 16:41:23 +07:00