Larry Shaffer
3f50e8356e
[processing] Ensure reading of shortHelp yaml files as UTF-8
...
On macOS 10.11 with Py 3.5.2, .yaml files defaulted to ASCII and failed.
2016-11-24 09:44:33 -07:00
Larry Shaffer
33120528d0
Add GRASS plugin CMake macro to find extra includes of GRASS compilation
...
Such includes may need found again when including some GRASS headers.
2016-11-24 09:42:32 -07:00
Larry Shaffer
c8eca29d1d
Add default sip directory to search for Qsci sip files
...
Handles instance where Qsci directory is outside of PyQt5 sip directory.
The default sip directory is logical additional place to search.
2016-11-24 09:42:32 -07:00
Larry Shaffer
d187dd35cf
Flip CMake finds for Qt-based frameworks, to ensure Headers are searched
...
Search for libraries first, before includes, so any frameworks found can
have their Headers subdirectory added to search paths for includes.
- Reintroduce qwt and qscintilla2 base library names for searching.
2016-11-24 09:42:32 -07:00
Alexander Bruy
95072e9bfd
Merge pull request #3802 from alexbruy/processing-scripts
...
[processing] script editor UI improvements
2016-11-24 14:36:57 +02:00
Alexander Bruy
f83351be25
[processing] remove statusbar from script editor
2016-11-24 12:41:04 +02:00
Alexander Bruy
c3ed39061d
[processing] improve script editor dialog
...
Use QMainWindow instead of QDialog, add normal toolbar instead of
QToolButtons. Also fix some issues caused by Qt5 switch.
2016-11-24 12:34:59 +02:00
Alexander Bruy
fdc0a3f874
Merge pull request #3800 from nirvn/processing_modeler_panels
...
[processing] upgrade modeler to make use of qgsdockwidgets
2016-11-24 10:49:36 +02:00
nirvn
ac721d3344
[processing] python3/pyqt5 fixes for get scripts and models dialog
2016-11-24 09:45:47 +01:00
nirvn
a6ebe830b0
[processing] upgrade modeler to make use of qgsdockwidgets
2016-11-24 11:59:19 +07:00
Nyall Dawson
7e0cd9af3d
Fix QgsFields::lookupField returns bad result for empty field name
...
QString::isNull vs ::isEmpty strikes again!
2016-11-24 11:17:03 +10:00
Germán Carrillo
dccd00dcb1
Adding test to Line Intersection algorithm
...
Since both input and intersect layers have only one field (fid), the result is the same for both (existing and new) tests. The result now comes with the intersect field, renamed to fid_1 (previously not kept).
2016-11-24 10:42:24 +10:00
Germán Carrillo
193d400d29
Make QGIS Line Intersections algorithm able to keep all attributes.
2016-11-24 10:41:11 +10:00
Nyall Dawson
d44bc112e0
[processing] Fix file format combo showing formats in random orders
2016-11-24 09:51:09 +10:00
Nyall Dawson
1e661e37b9
[FEATURE][processing] New 'drop geometries' algorithm
...
Simply removes any geometries from an input layer and returns
the features with attributes only
2016-11-24 09:41:11 +10:00
Nyall Dawson
38a0ea0844
Small tweaks to processing split algorithm, add tests
2016-11-24 08:48:37 +10:00
Bernhard Ströbl
0e2ef065d7
[processing] [FEATURE] SplitWithLines
...
Rename algorithm SplitLinesWithLines to SplitWithLines
Accept polygon as input, too
Use only selected lines to split with (if processing is set to use selection only)
Issue log message if trying to split multi geometries
Update help
2016-11-24 08:05:16 +10:00
Nyall Dawson
986acab9cc
[processing] Tweak test precision
2016-11-24 07:54:40 +10:00
Nyall Dawson
98392bda07
Add another .aux.xml to .gitignore
2016-11-24 07:53:32 +10:00
Nyall Dawson
d742478ac9
[processing] Add tests for create points from table alg
2016-11-24 07:52:53 +10:00
Nyall Dawson
69e8e4a3c2
[processing] Allow alg tests to use ParameterTable inputs
2016-11-24 07:52:17 +10:00
Matthias Kuhn
7726205dc3
Followup f3482d2: mapThemeStyleOverrides is plural
2016-11-23 15:51:10 +01:00
Matthias Kuhn
73d9c4a295
Some more adjustments for the attribute type dialog
2016-11-23 15:28:50 +01:00
Harrissou Sant-anna
f450725108
Rework the Edit widget properties dialog
2016-11-23 15:28:50 +01:00
volaya
dd04ecd30d
Merge pull request #3768 from DelazJ/patch-19
...
Typo fix in Processing help file
2016-11-23 12:25:06 +01:00
volaya
0a0de8012e
Merge pull request #3796 from nirvn/processing_modeler_msgbar
...
[processing] switch a couple of modeler pop up dialogs to message bars
2016-11-23 12:24:34 +01:00
nirvn
6e2288dccb
[processing] switch a couple of modeler pop up dialogs to message bars
2016-11-23 17:28:34 +07:00
Matthias Kuhn
d559d7ff25
Partially revert 9bb3235
...
The -DCMAKE_POSITION_INDEPENDENT_CODE=ON resolves to -fPIE instead
of -fPIC (on some platforms?) rendering cmake broken.
2016-11-23 09:26:44 +01:00
Alexander Bruy
eeafe67467
Merge pull request #3795 from nirvn/modeler_toolbar
...
[processing] improve the modeler dialog UI and icons
2016-11-23 09:41:43 +02:00
nirvn
2652aa50c9
[processing] improve the modeler dialog UI and icons
...
- use a proper toolbar to match other parts of QGIS
- show keyboard shortcuts in toolbar action tooltips
- create vector icons to replace PNG ones
2016-11-23 13:45:17 +07:00
Nyall Dawson
489e00df8d
[processing] Enhance create points layer alg
...
Clean up code, allow setting z/m columns
2016-11-23 16:43:25 +10:00
Nyall Dawson
3c51a93f6a
[processing] Fix very broken delete columns algorithm
2016-11-23 15:21:17 +10:00
Larry Shaffer
d712b49a74
Merge pull request #3790 from dakcarto/qt5py3-mac-fixes
...
Qt5py3 Mac fixes
2016-11-22 21:29:38 -07:00
Nathan
311f482725
Move profiler instance to QgsApplication
2016-11-23 14:03:25 +10:00
Nyall Dawson
ee80be4317
Fix misleading indentation warnings caused by messy qtermwidget code formatting
2016-11-23 08:23:23 +10:00
Alexander Bruy
dc82ad4c78
fix typo
2016-11-22 19:57:43 +02:00
Hugo Mercier
b7fa5400b6
[db manager] Fix virtual layer uid handling
2016-11-22 16:09:53 +01:00
Hugo Mercier
289423617f
[virtual] disable FilterRect when no unique id is present. Should fix #15134
2016-11-22 11:56:36 +01:00
Matthias Kuhn
8dbe6ead2b
Merge pull request #3793 from nirvn/default_styles_imp
...
[style manager] new default symbols shipped with QGIS & add a set of pre-defined tags
2016-11-22 08:47:36 +01:00
nirvn
e2265290b0
[style manager] refresh symbols shipped by default & add tags
2016-11-22 14:46:36 +07:00
nirvn
0a0b3a70cc
[style] speed up importXML() by using SQL transaction
...
Gains are significant, importing 100 symbols would take 2.86s,
but takes only 0.18s when using transaction.
2016-11-22 14:46:36 +07:00
nirvn
bc130be6cb
[style] improve creation of default style db
...
Instead of copyign a pre-existing .db shipped with QGIS, create
a new .db and import an .xml file containing our default symbols.
On the UX front, the main benefit is being able to ship with
pre-defined tags and favorite flags for the default symbols.
On the developer side, it means we get rid of the requirement
to maintain both an .xml and a binary .db in the source tree.
We also say aurevoir to the symbol_xml2db.py script and the
need to update the (obsolete) script every time we add a new
feature to QgsStyle.
2016-11-22 14:46:35 +07:00
nirvn
efd299220e
package symbology-ng-style.xml instead of the .db file
2016-11-22 14:36:47 +07:00
Martin Dobias
d716640403
Remove usage of legendInterface() from plugins (followup e5f62e49)
2016-11-22 12:23:37 +08:00
Mathieu Pellerin
0c58555c43
[symbology] respect mixed unit when applying symbol from list widget ( #3792 )
2016-11-22 12:23:04 +08:00
Nyall Dawson
33caf66e1d
Merge pull request #3766 from nyalldawson/processing_context2
...
[processing] Fix hangs when running algorithms
2016-11-22 12:56:51 +10:00
Nyall Dawson
20dc7fb266
[FEATURE] raster_statistic expression function for retrieving
...
raster band stats from a loaded layer
Allows raster band stats (eg min, max, avg) to be used in
expressions
2016-11-22 12:07:25 +10:00
Nyall Dawson
86ab3022b5
Remove layer extent and statistic variables from processing contexts
...
These variables take a lot of time to calculate and cause lots of
lengthy hangs in processing. (Eg add some moderately large rasters
to a project, then try to run any processing algorithm and QGIS
will freeze).
The layer extent can already be used in expressions via the
layer_property function, which only evalutes the extent if required
and only for layers it is used for.
The band stats for raster layers should be moved to a
band_statistic function in core which behaves the same way.
2016-11-22 11:17:38 +10:00
Nyall Dawson
377cba0b74
[processing] Use real map settings scope instead of custom canvasextent variables
2016-11-22 11:17:38 +10:00
Martin Dobias
e5f62e49ce
Remove legacy QgsLegendInterface, move still valid methods to QgisInterface
2016-11-22 08:25:01 +08:00