Nyall Dawson
6d82cd63b6
Fix leak caused by missing virtual destructor
2016-08-15 09:02:30 +10:00
Nyall Dawson
f9e10888cb
[processing] Fix some potential errors in clip algorithm
2016-08-14 14:50:34 +10:00
Denis Rouzaud
e2cacade1d
Merge pull request #3375 from 3nids/movetoolcad
...
[FEATURE] Move feature now benefits from Advanced Digitizing
2016-08-12 11:36:30 +02:00
Denis Rouzaud
99ed790820
rename enum to avoid confusion
2016-08-12 11:04:29 +02:00
Alexander Bruy
915afcf8fa
Merge pull request #3372 from anitagraser/patch-1
...
[processing] fixed failure to insert only one point in Densify geometries alg
2016-08-12 11:04:47 +03:00
Nyall Dawson
e9423dc4dd
[processing] Rework centroid algorithm to handle non-polygon layers
...
The existing polygoncentroids algorithm has been deprecated
(and hidden from the toolbox), and a new, generic centroids
algorithm added which works with lines and multipoints
2016-08-12 07:50:47 +10:00
Nyall Dawson
9bc61e77c7
[processing] Create vector files using default dataset/layer options
...
Fixes missing CRS when saving to GML (fix #14544 )
2016-08-12 07:01:04 +10:00
Martin Dobias
b6d03209b9
Fix closest segment for points ( #3383 )
...
* Make closestSegment() behave as expected by QgsGeometry::closestSegmentWithContext
This fixes a bug that QgsPointLocator::nearestEdge() would return valid match even for point layers.
* Shortcut if using QgsPointLocator with a wrong layer type
2016-08-11 17:23:01 +02:00
Nyall Dawson
5025c828e5
[processing] Expose buffer settings (cap/join style/mitre limit)
...
Also make fixed distance buffer correctly handle null geometries
(copy the row as a geometryless row)
2016-08-11 18:35:30 +10:00
Nyall Dawson
0a2b661ecb
Make QgsGeometry::offsetCurve handle multi* geometries
2016-08-11 17:59:01 +10:00
Denis Rouzaud
af1fee525a
Move feature now benefits from Advanced Digitizing
...
QgsMapToolMoveFeature now inherits QgsMapToolAdvancedDigitizing
this allows to specify distance, angles, complex and multiple moves at once
it is now a click and click operation (similarly to the rotate feature map tool): so it can be cancelled once enabled with the right click
2016-08-11 08:06:43 +02:00
Nyall Dawson
82f4a82c66
[FEATURE][processing] New algorithm for offsetting lines
2016-08-11 08:38:43 +10:00
Matthias Kuhn
7ee55a78f1
[pyqt5] Aliases for indistinguishable method overloads ( #3099 )
...
See
https://www.riverbankcomputing.com/pipermail/pyqt/2016-May/037500.html
2016-08-10 20:58:39 +02:00
Matthias Kuhn
3aff45cc13
Fix db_manager
2016-08-10 20:36:18 +02:00
Matthias Kuhn
58ea21124e
Streamline expression context generation ( #3350 )
...
* Save more data to QML
* Virtual fields
* Map tips
* Display expression
* Read only flag
* Streamline expression context generation
Whenever an object is able to generate an expression context it
implements the method createExpressionContext() declared in
QgsExpressionContextGenerator.
This makes a cleaner API and allows using QgsFieldExpressionWidget and
QgsDataDefinedButton from python because standard OO programming
approaches are used instead of callbacks and void pointers.
* Colorize output of doc and sip tests
* Fix build
* Fix sip complaints
* Fix rebase problems
* Workaround failing bindings test
2016-08-10 19:44:30 +02:00
Juergen E. Fischer
3f22a7a77f
another scripts/replacev2.sh with minor manual fixes
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
eeebf4be08
rename QgsComposerSymbolItem::symbolV2() to symbol()
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
4e8635b517
rename QgsVectorLayerEditUtils::deleteVertexV2
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
39c4409c6a
remove deprecated stuff from QgsVectorLayer and editor widgets
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
0688621046
scripts/replacev2.sh run
2016-08-10 12:08:52 +02:00
Juergen E. Fischer
8a4574436f
replacev2.sh: replace V2 classes and methods
2016-08-10 12:08:52 +02:00
Nyall Dawson
d5516fa7e3
Merge pull request #3371 from nyalldawson/processing
...
[processing] New algs + a fix
2016-08-10 19:22:12 +10:00
Nyall Dawson
b160f101c2
QgsExpression::setGeomCalculator now takes a pointer
...
This allows the calculator to be cleared
2016-08-10 17:56:01 +10:00
Nyall Dawson
cd5f813112
Standardise capitalisation in some QgsExpression methods
2016-08-10 17:56:01 +10:00
Nyall Dawson
a0360a6400
Remove substitution map from QgsExpression::replaceExpressionText
...
Since expression context variables should now be used instead. Also
remove all the deprecated methods which relied on this API.
2016-08-10 17:56:01 +10:00
Nyall Dawson
c39088bace
Remove deprecated QgsAttributeAction from sip bindings
2016-08-10 17:55:06 +10:00
Nyall Dawson
7da8110536
Remove deprecated methods from QgsExpression
...
Now all evaluate/prepare/etc methods must be called using QgsExpressionContexts
Also remove most remaining traces of special variables. This brings some
user facing changes, such that existing expressions may need to be
updated if they used these old special variables (eg $scale,
$feature). These changes are noted in doc/qgis3_user_changes.dox
so that we can include them in the release notes.
2016-08-10 17:55:06 +10:00
Anita Graser
754ccefabc
fixed failure to insert only one point
...
Previously, if pointsNumber was 1, it wouldn't insert a new point in the middle.
2016-08-10 09:22:50 +02:00
Nyall Dawson
142de7cb08
[FEATURE][processing] Point on surface algorithm
2016-08-10 16:57:38 +10:00
Nyall Dawson
ab022451a5
[FEATURE][processing] New algorithm for geometry boundary
2016-08-10 16:32:31 +10:00
Nyall Dawson
9e66e1593b
[processing] Fix broken output of multipoint since WKB type merge
2016-08-10 16:19:29 +10:00
Nyall Dawson
bd8db5d156
[FEATURE][processing] New algorithm for calculating feature bounding boxes
2016-08-10 15:41:44 +10:00
Nyall Dawson
37ef6b8007
Add missing sip binding
2016-08-09 16:55:10 +10:00
Martin Dobias
b4fe9002d8
[FEATURE] API to allow drag'n'drop of custom browser items
...
QgsDataItem implementations may provide hasDragEnabled(), mimeUri()
and QgsCustomDropHandler implementation to deal with drop of custom items.
2016-08-09 08:49:42 +02:00
Alexander Bruy
23c83b1e93
[processing] fix available inputs selection for multiple input
2016-08-08 13:53:55 +03:00
Alexander Bruy
3461c7e1a7
[processing] add missed multiple input parameter to modeler
2016-08-08 13:40:07 +03:00
Denis Rouzaud
772f59349e
rename QgsComposerLegend::modelV2() to model()
2016-08-08 09:50:33 +02:00
Denis Rouzaud
820cc560b2
remove deprecated private helpers QgsMapToolIdentify::convertMeasurement and displayUnits
2016-08-08 09:10:57 +02:00
Denis Rouzaud
6f51a13cd6
remove QgisInterface::actionLayerSelectionSaveAs
...
this has been deprecated since 2.4 and returns null pointer since then.
did not write this in api_break to not overload the document
2016-08-08 09:10:57 +02:00
Denis Rouzaud
aa82141df7
remove deprecated QgisInterface::fileMenu
2016-08-08 08:34:53 +02:00
Nyall Dawson
26c1e09a58
Remove QgsColorDialog, rename QgsColorDialogV2 to QgsColorDialog
...
The last bits of missing functionality (handling native dialogs
and live updates) were ported across.
2016-08-06 13:24:36 +10:00
Denis Rouzaud
1db19ce8c0
Merge pull request #3356 from 3nids/remove_legendmodel
...
remove QgsLegendModel
2016-08-05 20:54:52 +02:00
Denis Rouzaud
bbb9b5322d
remove QgsLegendModel
2016-08-05 20:53:58 +02:00
Alexander Bruy
885cc82c3c
[processing] more clean in QGIS algs
2016-08-05 16:48:59 +03:00
Alexander Bruy
acdde31b3d
[processing] more cleanups (follow up 06c4b07222)
2016-08-05 15:05:36 +03:00
Alexander Bruy
45c8a09439
Merge pull request #3353 from nyalldawson/processing
...
[Processing] QGIS alg cleanups
2016-08-05 14:51:00 +03:00
Alexander Bruy
4c39bd12e8
[processing] introduce OutputCrs output and add algorithms to get layer CRS in modeler
2016-08-05 12:55:26 +03:00
Alexander Bruy
40de15cc56
[processing] add missed CRS parameter to modeler (refs #11781 )
2016-08-05 12:55:25 +03:00
Denis Rouzaud
acbf5cddb4
renamed QgsSymbologyV2Conversion to QgsSymbologyConversion
2016-08-05 08:32:13 +02:00
Denis Rouzaud
f2c3fb003e
renamed QgsSymbolLevelsV2Dialog to QgsSymbolLevelsDialog
2016-08-05 08:22:43 +02:00