45284 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
7998745306 Remove unused variable 2018-01-16 16:09:41 +10:00
Nyall Dawson
063c1a4941 Fix invalid connection in offline editing plugin 2018-01-16 14:29:51 +10:00
Etienne Trimaille
2c511d25dc return empty CRS instead of 4326 if the XML is empty 2018-01-16 14:17:42 +10:00
Nyall Dawson
d426a8db84 Fix layers cannot be individually deselected in offline editing plugin
Fixes #16163
2018-01-16 14:08:59 +10:00
Nyall Dawson
30fe9917ce Sipify 2018-01-16 13:57:14 +10:00
Nyall Dawson
6c57654d2c Indentation 2018-01-16 13:57:14 +10:00
Nyall Dawson
38062ec649 Add test for indexed memory provider thread safety
Refs #17705
2018-01-16 13:57:14 +10:00
Nyall Dawson
741afdca55 Add provider suite test for thread safety of provider getFeatures()
Hammers providers by iterating through features from multiple threads
2018-01-16 13:57:14 +10:00
nirvn
c2e0775287 place the iconsize setting inside the qgis group 2018-01-16 10:43:18 +07:00