Nyall Dawson
d1c6941ae4
Minor speed boost to identify highlight
...
Unfortunately this whole identify highlight class is very inefficient,
resulting in multiple large image redraws at every paint event
and slow iteration over every pixel in these images.
TODO This needs to be completely reworked in future.
2018-02-06 10:51:09 +11:00
Nyall Dawson
535de3b1b2
Set the correct expression context for QgsHighlight
...
Fixes #17896
2018-02-06 10:50:55 +11:00
Denis Rouzaud
3b17d5a784
processing search: also search in group items and fix return value
2018-02-05 09:31:57 -04:00
Denis Rouzaud
058d59b748
do not search for less than 3 letters
2018-02-05 09:31:38 -04:00
Juergen E. Fischer
325af48680
fix #18050 (followup f6269c41d)
2018-02-05 14:04:07 +01:00
Denis Rouzaud
c6840bd0e6
remove ownesrhip transfer
2018-02-05 08:51:47 -04:00
Nyall Dawson
c8d1d2d588
Fix hang in options search widget
2018-02-05 08:51:47 -04:00
Denis Rouzaud
8d55cadeb7
Allow adding custom highlight widget to custom pages in option
2018-02-05 08:51:47 -04:00
Nyall Dawson
fe31c28257
[options] Hide non-matching items in tree widgets when searching children
...
Makes the search more useful for the advanced panel
2018-02-05 03:40:45 -09:00
Nyall Dawson
8e9bb6d2f9
Put search icon on left of QgsFilterLineEdit
2018-02-05 03:39:11 -09:00
lbartoletti
124e26815d
Standardize shebangs (was Usr bin env) ( #6229 )
...
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}
* fix perl;add bash
* Fix indentation using modified scripts
* Revert "fix perl;add bash"
This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.
* python3 everywhere
* more bash
* rebase
change perl
* Linux perl; missing from last PR
* fix doxygen_space
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}
* fix perl;add bash
* Fix indentation using modified scripts
* Revert "fix perl;add bash"
This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.
* python3 everywhere
* more bash
* rebase
change perl
* fix doxygen_space
2018-02-05 03:38:02 -09:00
nirvn
3883547da4
Do not refresh stats when opening the stat summary field combo box
...
Without this change, stats are calculated when users simply
open the combo box to select a new field. With large datasets,
it freezes QGIS for a long time, and the combo box end up
never opening.
2018-02-05 15:33:46 +07:00
Alessandro Pasotti
7bf0a7f714
Merge pull request #6251 from elpaso/bugfix-17975-server-layer-groups-order
...
[bugfix][server] WMS respect order of grouped layers
2018-02-05 09:24:37 +01:00
Alexander Bruy
b6c2de48fa
Merge pull request #6225 from alexbruy/processing-algs
...
[processing][needs-docs] use native syntax for Processing scripts
2018-02-05 09:43:15 +02:00
Alexander Bruy
567ebb9dd0
[processing] fixes after rebasing
2018-02-05 08:53:52 +02:00
Alexander Bruy
15a185dab0
[processing] turn keep n biggest parts script into normal algorithm
2018-02-05 08:50:44 +02:00
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