Alessandro Pasotti
f743a4c242
Merge pull request #32106 from elpaso/bugfix-gh32065-server-json-content-type
...
Server fix #32065 geojson content type accept
2019-10-04 16:17:12 +02:00
Juergen E. Fischer
9a55675848
fix 85d2cb042
2019-10-04 03:18:00 +02:00
Nyall Dawson
9f1ce08418
Don't load print layouts when opening project browser items
...
This can cause crashes, e.g. if the layouts use HTML based items
(since QWebPage cannot be used on background threads)
2019-10-04 05:10:45 +10:00
Nyall Dawson
d0ed374662
Add QgsProject flag to avoid loading print layouts when reading a project file
...
Speeds up project read time when these aren't needed, and also potentially
avoids issues caused by non-thread-safety in layouts (since some items rely
on classes which can only be used in the main thread e.g. QWebPage)
2019-10-04 05:10:45 +10:00
Nyall Dawson
532524961c
[layouts] Don't try to load HTML content when a layout is created
...
in a background thread
The underlying QWebPage class used to render these can ONLY be
used from the main thread. So we raise an error and render nothing
to avoid crashes.
2019-10-04 05:10:18 +10:00
Juergen E. Fischer
4cbcfbbd44
debian packaging: add eoan
2019-10-03 20:35:34 +02:00
Denis Rouzaud
97435d38ee
Merge pull request #32095 from 3nids/from_init_python_url_v2
...
allow to use remote content for init code file path in attribute form
2019-10-03 17:48:12 +02:00
Denis Rouzaud
411d9957b1
disable test
...
it is segfaulting on Travis no idea why
2019-10-03 13:40:15 +02:00
Alessandro Pasotti
0c5f67787c
Merge pull request #32088 from NaturalGIS/change_confusing_dbmanager_option_name
...
change confusing parameter name in DB Manager
2019-10-03 12:23:30 +02:00
Nyall Dawson
387272d441
QgsProject documentation improvements
2019-10-03 20:12:28 +10:00
Harrissou Sant-anna
a176107c77
Visual cleanup for qgsProject in pyqgis doc
2019-10-03 20:12:28 +10:00
Alessandro Pasotti
4a94a9054c
Added test reference file
2019-10-03 11:47:07 +02:00
Alessandro Pasotti
8a7ba51b3b
Server WFS3 be nice too with geojson content types
...
Fixes #32065 for WFS3
2019-10-03 10:40:43 +02:00
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