45293 Commits

Author SHA1 Message Date
Nyall Dawson
d8402acee8 Remove composer from more code, port georeferencer reports to layouts 2018-01-18 09:21:45 +10:00
Nyall Dawson
5804745326 Port more tests to layouts, drop more QgsCompositions use 2018-01-18 09:21:45 +10:00
Nyall Dawson
fe48aeca0c Fix crash with undo/redo and layout multiframes, restore test 2018-01-18 09:21:45 +10:00
Alessandro Pasotti
479358ea77
Merge pull request #6089 from elpaso/server-exception-on-image-overflow
Server exception on image overflow
2018-01-17 17:34:29 +01:00
Martin Dobias
ccd98f5d6c Added test 2018-01-17 15:38:27 +01:00
Martin Dobias
6a4b8b4762 Fix retrieval of 4D geometries (XYZM) from postgres (fixes #17814) 2018-01-17 15:38:27 +01:00
Alessandro Pasotti
bdb572781b [server] Use std::numeric_limits instead of INT_MAX 2018-01-17 15:29:29 +01:00
Denis Rouzaud
0304708130 fix .gitignore to add missing sip files 2018-01-17 10:16:37 -04:00
Denis Rouzaud
0644f59cde fix variable used for configuration 2018-01-17 10:16:37 -04:00
Denis Rouzaud
4a0eedde2e version compare is not strict
also fix sipify test
2018-01-17 10:16:37 -04:00
Denis Rouzaud
458cab7b20 run sipify 2018-01-17 10:16:37 -04:00
Denis Rouzaud
fe5a001df1 [sipify] remove space before semi-column 2018-01-17 10:16:37 -04:00
Denis Rouzaud
7722010ca8 rename *.sip to *.sip.in for the auto generated sip files 2018-01-17 10:16:37 -04:00
Denis Rouzaud
1d4e6a820a [sipify] use configuration file for SIP sources (*.sip.in)
to allow preprocessing the files to handle version specific features such as template based classes documentation in 4.19.7+
2018-01-17 10:16:37 -04:00
Denis Rouzaud
5327978ecf SIP 4.19.7+ allows to document template based classes 2018-01-17 10:16:37 -04:00
Alessandro Pasotti
74d76d52a7 [server] Check image size for overflow and throw if null
Because we don't wont a broken image in the output
when a null image is created.

This introduces an additional check for null images
and a check for image size taken verbatim from QImage
internal checks.

This fixes an unreported bug that produced a broken image
instead of a proper exception in case of size overflow
due to QImage internal checks or to out of memory conditions.
2018-01-17 13:10:56 +01:00
Alessandro Pasotti
4fc2b3e808 [server][test] Add protocol and host:port to path in the test server 2018-01-17 13:09:28 +01:00
nirvn
8c74c5b3d1 fix type in map layer's exportNamedStyle() for min scale value 2018-01-17 15:31:38 +07:00
nirvn
f274456fce use native separators for message bar hyperlinks 2018-01-17 12:44:17 +07:00
nirvn
8bb6fde8b2 [ui] add hyperlink to saved vector/raster in the message bar 2018-01-17 12:44:17 +07:00
Nyall Dawson
163c278491 Avoid creating undo commands when converting compositions 2018-01-17 14:00:05 +10:00
Etienne Trimaille
4a2da5006b fix missing QLabel python import 2018-01-17 04:59:06 +10:00
Nyall Dawson
64a8bda8cc Rename QgsApplication::composerTemplatePaths to layoutTemplatePaths 2018-01-17 04:58:41 +10:00
Nyall Dawson
343c070adf Fix layout designer does not respect layout settings 2018-01-17 04:58:41 +10:00
Denis Rouzaud
279785302d fix QAction constr call 2018-01-16 10:22:20 -04:00
Denis Rouzaud
9bf943a777 [QgsFilterLineEdit] use QLineEdit::addAction instead of hacking paintEvent
this gets much more simple
2018-01-16 10:22:20 -04:00
Denis Rouzaud
d1a922b565
let's build python API for server....
is it just me or it was never built?
2018-01-16 08:35:51 -04:00
Nyall Dawson
5bdd6daf0b Add tags to buffer algorithm 2018-01-16 21:21:38 +10:00
Nyall Dawson
17478ea51a [processing][needs-docs] Hide variable distance buffer from toolbox
This algorithm has become a model-only algorithm, since it's
functionality is now present in the native c++ buffer algorithm
(which can now buffer by field or expression).

Ideally we'd remove this algorithm entirely, but data defined
parameters are not yet supported by the modeler gui, so we need
to keep it around for use in models for now.
2018-01-16 21:21:38 +10:00
Nyall Dawson
ecd113de24 Fix modeler dialog doesn't respect hide from modeler flag 2018-01-16 21:21:38 +10:00
Nyall Dawson
95db682acf [processing][needs-docs] Drop Fixed Distance Buffer algorithm
Since it's functionality is a subset of the native c++ "buffer"
algorithm, it's no longer required.
2018-01-16 21:21:38 +10:00
nirvn
9db2d64d52 [processing] fix gdal's ogrinfo algorithm 2018-01-16 18:16:35 +07:00
Mathieu Pellerin
add40c1e22
[processing] use combined vector and raster filters for map layer file picker 2018-01-16 18:01:21 +07:00
Nyall Dawson
4b9c808169 Fix possible infinite recursion in layer tree model 2018-01-16 21:00:08 +10:00
Mathieu Pellerin
6239365844
[ui] use a combobox for bool values in advanced settings tree (#6078) 2018-01-16 17:49:14 +07:00
Nyall Dawson
5da28ed9f0 [needs-docs][processing] Add tooltips to input types in modeler
...to help clarify for users what the different input types mean.

Fixes #17671, which is a result of unclear distinction between
the uses of vector features vs vector layer inputs.

Tagged as needs-docs, as it may help with documentation for 3.0
2018-01-16 20:35:26 +10:00
Nyall Dawson
5a7da09060 [needs-docs] Rename some processing input types in modeler for clarity
Refs #17671
2018-01-16 20:35:26 +10:00
Nyall Dawson
f969b03fd2 Sort input types in processing modeler dialog 2018-01-16 20:35:26 +10:00
Nyall Dawson
de6519024e Sipify 2018-01-16 19:45:40 +10:00
Nyall Dawson
3027370526 Fix build 2018-01-16 19:45:40 +10:00
Nyall Dawson
87c1986c4b Improved memory managment of algorithm dialogs
Ensure that dialogs are always correctly deleted when appropriate.

Also, if an algorithm is running in a background task and hits
an error, we automatically re-show the algorithm dialog and the
associated log for debugging.

Fixes #16858
2018-01-16 19:45:40 +10:00
Nyall Dawson
bc9d739e5f Show display name, not id, for background algorithm tasks 2018-01-16 19:45:40 +10:00
Nyall Dawson
971aec8056 Rename QgsTaskManager::triggered to taskTriggered 2018-01-16 19:45:40 +10:00
Nyall Dawson
b8defc113c When processing tasks are clicked in task manager, reopen the
algorithm dialog
2018-01-16 19:45:40 +10:00
Nyall Dawson
7603487e6a Add method to 'trigger' QgsTasks
Triggering occurs when a task is clicked in the task manager
widget, and this can be used to e.g. open a dialog showing
detailed task progress (or reopen a closed dialog which started
the task)
2018-01-16 19:45:40 +10:00
Nyall Dawson
a3a999e416 Drop fields in correct position in drag and drop designer
Instead of always dropping fields at the end of the container,
insert them at the dropped location. Otherwise the drop indicator
line is misleading.
2018-01-16 17:44:50 +10:00
nirvn
fa120b5309 move the iconsize setting into the qgis group, part 2 2018-01-16 13:22:29 +07:00
Nyall Dawson
fe2292c59a Fix default value 'apply on update' setting not correctly restored
Fixes #17712
2018-01-16 16:09:41 +10:00
Nyall Dawson
749468a971 Hey, this isn't pal or openoffice... comments in English please! 2018-01-16 16:09:41 +10:00
Nyall Dawson
f3f1b8eaa3 Save/restore form "editable" and "label on top" settings
Fixes #17860
2018-01-16 16:09:41 +10:00