34138 Commits

Author SHA1 Message Date
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
Nyall Dawson
f9281865a3 Fix warning 2016-08-09 16:55:12 +10:00
Nyall Dawson
c3f720f80b [pal] Only apply distance from line midpoint penalty to non closed linestrings
Sponsored by Andreas Neumann
2016-08-09 16:55:12 +10:00
Nyall Dawson
dc0cc32046 Further tweaks to line labeling, add tests
Sponsored by Andreas Neumann
2016-08-09 16:55:11 +10:00
Nyall Dawson
3b940fbbd0 [pal] Also prefer above -> below for parallel line placement 2016-08-09 16:55:11 +10:00
Nyall Dawson
01e6c04980 Labeling tests 2016-08-09 16:55:11 +10:00
Nyall Dawson
37ef6b8007 Add missing sip binding 2016-08-09 16:55:10 +10:00
Nyall Dawson
92ab671979 [pal] Improve line placement algorithm
Avoid placing labels over jagged sections of lines

Sponsored by Andreas Neumann
2016-08-09 16:55:10 +10:00
Nyall Dawson
1b1db22a4d Slightly increase default maximum angles for curved labels
The recent improvements to curve label rendering make this possible
2016-08-09 16:55:09 +10:00
Nyall Dawson
dc9ed2b4b5 Default to follow placement alignment for labels 2016-08-09 16:55:09 +10:00
Nyall Dawson
66d4af3922 Default to cartographic label placement for point layers
It's much nicer than "around point"
2016-08-09 16:55:09 +10:00
Nyall Dawson
ed69bf26b2 Bump default number of label candidates
Results in much nicer label placement and little to no speed
regression in most cases
2016-08-09 16:55:08 +10:00
Nyall Dawson
99521f456a [pal] When labels can be placed both above and below the line, prefer above 2016-08-09 16:55:08 +10:00
Nyall Dawson
655fc93cef Avoid labels being marked as overlapping obstacles when features
neighbour each other
2016-08-09 16:55:07 +10:00
Nyall Dawson
7797e80c66 [pal] Respect user set number of line candidates
The number of positions used for generating line label candidates
was hardcoded and was not using the pal number of line candidate
setting.

This change means the number of line candidates can be bumped up
resulting in more candidates actually being generated and
a better final label placement
2016-08-09 16:55:07 +10:00
Nyall Dawson
c234d80e1e Fix "label only inside polygon" mode when used with perimeter placement
The option was not working with perimeter placements as perimeter placements alter
the label feature geometry to be a boundary linestring - hence no labels where
ever inside this boundary.

Accordingly this refactors how the force label inside polygon option functions.
Now QgsLabelFeatures can have a permissible zone geometry set, such that any
label candidates outside of this permissible zone are discarded.

This approach is more flexible as it could also be used for more labeling options
in future, eg discarding label candidates which are too far from a centroid or
something.

Sponsored by Andreas Neumann
2016-08-09 16:55:03 +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
Juergen E. Fischer
2ea828e1b3 globe: fix build 2016-08-09 00:18:10 +02:00
Juergen E. Fischer
935cbf8605 fix disconnect (followup aceddae) 2016-08-09 00:17:35 +02:00
Juergen E. Fischer
1dd8cc168b fix 772f593 2016-08-09 00:17:28 +02:00
Even Rouault
400a4d70a5 [QgsVectorFileWriter + OGR provider] Create Integer64 fields as Real fields when output driver doesn't support Integer64
Fix #15405
2016-08-08 15:53:19 +02:00
Even Rouault
4bcbc1e4e7 [WFS provider] Succesfully analyze DescribeFeatureType response with <complexType> as inline element of <element> (#15395) 2016-08-08 15:11:50 +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
313a049c15 fix server build, follow up 772f59349e563357a4f38f92e734d31e67c94ec8 again
sorry for the noise
2016-08-08 11:21:35 +02:00
Denis Rouzaud
5baa9a4784 fix build, follow up 772f59349e563357a4f38f92e734d31e67c94ec8 2016-08-08 10:37:59 +02: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