34165 Commits

Author SHA1 Message Date
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
Denis Rouzaud
7233d263a2 remove extra includes 2016-08-11 15:19:31 +02:00
Denis Rouzaud
0af7cd3206 remove old code in comment (old QgsFeatureId class and 32bit IDs) 2016-08-11 14:41:08 +02:00
Denis Rouzaud
6e86a9a0f7 debug output for QgsRelation::isValid() 2016-08-11 14:41:08 +02:00
Alexander Bruy
a72485cf47 Merge pull request #3380 from nyalldawson/processing
[processing] Offset curve follow ups
2016-08-11 13:21:54 +03: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
Alexander Bruy
8a31576d3a Merge pull request #3379 from nyalldawson/processing
[FEATURE][processing] New algorithm for offsetting lines
2016-08-11 11:30:19 +03:00
Nyall Dawson
0a2b661ecb Make QgsGeometry::offsetCurve handle multi* geometries 2016-08-11 17:59:01 +10: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
Nyall Dawson
44d6d21a34 Merge pull request #3374 from nirvn/label_repeat_improvement
[pal] fix repeated labels on curved lines when label width > repeat distance
2016-08-11 04:13:43 +10: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
Larry Shaffer
f3e90f1d5a [auth] Add missing auth system ui headers for external C++ apps 2016-08-10 07:25:31 -06:00
Juergen E. Fischer
38229d3ef0 creatensis.pl: exclude point release component from path 2016-08-10 15:05:49 +02:00
Harrissou Sant-anna
e3867832bb Remove duplicate example (#3360) 2016-08-10 14:45:34 +02:00
Jürgen Fischer
f38856e738 Merge pull request #3359 from jef-n/api-updates-v2
Replace V2 in API
2016-08-10 13:29:53 +02:00
Matthias Kuhn
4267a19658 Fix crash when clicking in empty relation editor 2016-08-10 13:19:27 +02:00
nirvn
fb346ecf4f fix repeated labels on curved lines when label width > repeat distance 2016-08-10 17:33:35 +07:00
Juergen E. Fischer
c24692cd5c update after slot renames (followup 4cfacf1) 2016-08-10 12:12:28 +02:00
Juergen E. Fischer
b08a9e7951 rename test images 2016-08-10 12:12:28 +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
f2d6209e9e rename QgsAttributeTypeDialog::setWidgetV2Config & QgsAttributeTypeDialog::setWidgetV2Type 2016-08-10 12:12:28 +02:00
Juergen E. Fischer
6306fb8a9f replacev2.sh: add file renames 2016-08-10 12:12:28 +02:00
Juergen E. Fischer
d4bd17615b fix PyQgsSymbolLayer test 2016-08-10 12:12:28 +02:00
Juergen E. Fischer
2374f7978b TestQgsGeometry renames:
lineStringV2() to lineString()
pointV2() to point()
polygonV2() to polygon()
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
20c803b5bd document api breaks by scripts/replacev2.sh 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
0a2dd93813 Merge pull request #3364 from nyalldawson/expression_dep
Clean QgsExpression for 3.0
2016-08-10 19:21:36 +10:00
Nyall Dawson
b2cfb19720 Fix doxygen warnings 2016-08-10 17:56:01 +10:00
Nyall Dawson
90fd4d4e64 Update TestQgsComposerLabel 2016-08-10 17:56:01 +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
2349a85ae4 Add missing variable help for @layout_page 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
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
Alessandro Pasotti
56400b147b [WFS] Fixes #15360 and other issues
- fixes authcfg params not passed to requests
- fixes backward URI compatibility
- fixes version parameter ignored in old style URI
- check for "user" in addition to "username" in WFS URI

  (cherry-picked from f49bd5ca449e332aa547f9dac31b391e438d2b31)
2016-08-09 10:45:30 +02:00
Nyall Dawson
863c73db8f Label test mask updates 2016-08-09 16:55:13 +10:00
Nyall Dawson
95ecdaf438 Reset layers for each pal placement test, avoids all tests failing
because of one
2016-08-09 16:55:12 +10:00