45844 Commits

Author SHA1 Message Date
Alexander Bruy
54167bcaa6 fix indentation 2018-02-05 08:50:44 +02:00
Alexander Bruy
4f2a4644db [processing] remove obsolete code and disable exporting models as script
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
fa5ab81a2a [processing] scripts also can be feature-based algorithms 2018-02-05 08:50:37 +02:00
Alexander Bruy
cd7bb16ad5 [processing] class name is not needed anymore to load scripts 2018-02-05 08:50:37 +02:00
Alexander Bruy
5ad3af592f [processing] remove tests for old scripts 2018-02-05 08:50:37 +02:00
Alexander Bruy
f5f0399171 [processing] use custom editor class, as QgsCodeEditor is not available
on some platforms
2018-02-05 08:50:37 +02:00
Alexander Bruy
e1a64f6a8f [processing] remove unused files 2018-02-05 08:50:37 +02:00
Alexander Bruy
724390c7df [processing] completely restore support for script execution from editor 2018-02-05 08:50:37 +02:00
Alexander Bruy
263702e1f0 [processing] ressurect script execution from editor (work in progress) 2018-02-05 08:50:37 +02:00
Alexander Bruy
53ff800ff8 [processing] temporarily disable fetch actions for scripts and models 2018-02-05 08:50:37 +02:00
Alexander Bruy
472b8bf6bf [processing] ressurect 'new script' action 2018-02-05 08:49:59 +02:00
Alexander Bruy
7115e044e3 [processing] ressurect 'add from file' action 2018-02-05 08:49:59 +02:00
Alexander Bruy
b747a6b50c [processing] ressurect delete and edit actions for scripts 2018-02-05 08:49:59 +02:00
Alexander Bruy
422d804db1 [processing] update script provider to use QgsProcessingAlgorithm
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00
Alexander Bruy
aee3b44909 [processing] remove not needed trAction method 2018-02-05 08:49:41 +02:00
Alexander Bruy
862b1139fa [processing] move script provider stuff into provider directory 2018-02-05 08:49:29 +02:00
Alexander Bruy
6841c52210
Merge pull request #6257 from alexbruy/processing-sharing
[processing][needs-docs] remove Get scripts and models functionality
2018-02-05 08:48:00 +02:00
Nyall Dawson
e44c3606e5 [layouts] Fix map grids not correctly respecting grid annotation
settings

Fixes #18036
2018-02-05 14:06:45 +11:00
Nyall Dawson
4287ce489d [layouts] Fix rotated items move when refreshing layout
Fixes #18037
2018-02-05 13:45:14 +11:00
Nyall Dawson
345dd0c376 [layouts] Fix items disappear in designer with 90 or 270 degree
rotation

Caused by Qt bug 66185

Fixes #18027
2018-02-05 12:36:18 +11:00
Juergen E. Fischer
df76bfc1a3 update INSTALL on release 2018-02-05 02:31:04 +01:00
Nyall Dawson
0607f79f47 Ensure member QObjects for QgsMapLayer (and subclasses) are correctly
parented to their owner QgsMapLayer.

This ensures that if the layer is moved to a different thread with
QObject::moveToThread(), then those children are also considered
by QObject::moveToThread() and correctly also moved to the new
target thread. This fixes broken connections (and likely other
issues) caused when moving layers between threads (such as is
done when a background processing algorithm completes).

Fixes #18005
2018-02-05 12:19:13 +11:00
Nyall Dawson
dbe45b8d5e Modernize paste to memory layer code 2018-02-05 12:19:13 +11:00
Nyall Dawson
5ba69ea945 [processing] Fix invalid parameter definitions for spatialite algs 2018-02-05 10:11:03 +10:00
Alexander Bruy
87e55ba3c7 [processing] remove Get scripts and models functionality
Users should use Resource Sharing plugin instead
2018-02-04 11:11:47 +02:00
Denis Rouzaud
1a117cf080 fix doxygen 2018-02-03 15:52:33 -09:00
Denis Rouzaud
a09b9e7af9 [sipify] fix QMap/Qlist with init in header 2018-02-03 15:52:33 -09:00
Denis Rouzaud
70f9c228d7 [options search] API refactoring
* avoid using lambdas and use dedicate class and subclasses for each widget type (lable, groupbox, tree, etc)
* this makes the code much more clearer
* allow creating custom highlight widgets with API
2018-02-03 15:52:33 -09:00
Nyall Dawson
213d4b7cbc Disable edit section buttons in reports if the section is disabled 2018-02-04 09:05:55 +10:00
Nyall Dawson
be6674b819 [reports] Fix crash in designer when no layout selected
Fixes #18019
2018-02-04 08:49:28 +10:00
Nyall Dawson
872871f828 Make sure we use get uniquely seeded random numbers to generate
random symbol colors

Since qsrand is thread-specific, we can't rely on qrand() to return
uniquely seeded random numbers when not in the main thread.

Instead, just use the c++11 random number generators to get better
quality random colors for new layers.

Fixes processing outputs always have the same (yuck) brown color.
2018-02-04 09:28:16 +11:00
Nyall Dawson
46469320a2 Avoid spell checker errors 2018-02-04 08:27:33 +10:00
Martin Dobias
4b365a8f47 pyqgis: add conversion to subclasses for QgsAbstractVectorLayerLabeling 2018-02-03 22:30:00 +01:00
Juergen E. Fischer
57d38cd0d5 * revive update-news.pl
* osgeo4w: drop globe plugin
2018-02-03 19:24:03 +01:00
Luigi Pirelli
6f09f1745a
Merge pull request #6255 from slarosa/fix_16476
[dbmanager] porting of dae921c to 3: fixes #16476
2018-02-03 13:18:15 +01:00
Salvatore Larosa
68b7bf6aa8 [dbmanager] porting of dae921c to 3: fixes #16476 2018-02-03 10:53:55 +01:00
Mathieu Pellerin
639d310da8
use sane number of decimals for the extent groupbox widget 2018-02-03 10:54:42 +07:00
Mathieu Pellerin
a66a4dbd83
use a QMimeData clipboard object to paste features as HTML table (#6243) 2018-02-03 10:54:07 +07:00
Denis Rouzaud
0a93674329 make sipify_all.sh much faster by using background processes 2018-02-02 16:30:29 -09:00
Salvatore Larosa
6e8363097d fix resizing columns in the identify results dialog 2018-02-03 00:04:41 +01:00
Juergen E. Fischer
98a8bc1670 INSTALL: use meta package to install osgeo4w build dependencies 2018-02-02 21:35:00 +01:00
Jürgen Fischer
ad21d371b8
Merge pull request #6213 from nyalldawson/interrupt_console
[console] Allow breaking execution of scripts via Ctrl-C
2018-02-02 17:02:53 +01:00
Alessandro Pasotti
5c5ef3b6de
Merge pull request #6246 from elpaso/rangeformatter
[bugfix] Range formatter for doubles and ints
2018-02-02 14:25:28 +01:00
Alessandro Pasotti
31de32420d Tests for range field formatter 2018-02-02 12:51:49 +01:00
Alessandro Pasotti
37f31dd809 Get config from arguments instead of querying fields 2018-02-02 12:51:22 +01:00
Alessandro Pasotti
e3b054bf9d Use insert 0 instead of a reverse iterator
Because it was introduced in Qt 5.6 ...
2018-02-02 11:28:10 +01:00
Alessandro Pasotti
50d378fa81 Update tests for WMS grouped layers order 2018-02-02 11:07:51 +01:00
Alessandro Pasotti
d7ef689c00 [bugfix][server] WMS respect order of SLD grouped layers 2018-02-02 11:07:30 +01:00
Alessandro Pasotti
de33351ff8 [bugfix][server] WMS respect order of grouped layers
Fixes #17975 - QGIS server 2.99 reverses the layer order for layer groups
2018-02-02 10:35:56 +01:00
Nyall Dawson
b7e19d8243 Style updates 2018-02-02 19:52:01 +11:00