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
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
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
b2cbef8b53
Merge pull request #3361 from nyalldawson/color_dialog
...
Remove QgsColorDialog, rename QgsColorDialogV2 to QgsColorDialog
2016-08-08 09:08:30 +10:00
Nyall Dawson
e72389601d
Remove unused QgsRendererV2DataDefinedMenus
...
Was not exposed to python api, so not a PyQGIS api break
2016-08-07 11:19:32 +10: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
Nyall Dawson
2893456189
More comment updates
2016-08-06 09:06:31 +10:00
Nyall Dawson
70eec9fcae
Fix some comments
2016-08-06 09:03:52 +10:00
Nyall Dawson
87733851cf
Followup 19ab72c, add unit test
...
Adds a unit test to ensure that all providers ignore invalid
ids when passed a FilterFids request.
Spoiler: they do
2016-08-06 08:16:09 +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
Matthias Kuhn
e82ce54a8e
Don't rely on a particular order in filterFids tests ( #3357 )
2016-08-05 16:14:17 +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
Matthias Kuhn
624142f4c0
QgsExpression "round" don't convert to QVariant twice
2016-08-05 11:09:44 +02:00