29786 Commits

Author SHA1 Message Date
Matthias Kuhn
114b04ece1 Add build instructions for Fedora/Qt5 2015-11-26 15:11:08 +01:00
rldhont
da4fe7e018 [QGIS-Server] Enhance store project keyword list 2015-11-26 11:18:00 +01:00
Matthias Kuhn
001f4bc581 Disable grass7 tests
Packages are unavailable (at the moment?)
2015-11-26 09:03:32 +01:00
Matthias Kuhn
799b402fdc Remove unrequired var 2015-11-26 09:00:44 +01:00
Nyall Dawson
74ca290bd3 QgsLineStringV2 fixes
- fix incorrect centroid calculation (was always returning 0,0)
- fix closestSegment when numPoints < 2
- fix broken leftOf calculation for closestSegment
- area calculation when numPoints < 2

Plus add more unit tests
2015-11-26 16:56:30 +11:00
Nyall Dawson
da436f926b [FEATURE] New 'reverse' expression for reversing linestrings 2015-11-26 16:53:55 +11:00
Nyall Dawson
4624fb88ae Update test mask images 2015-11-26 12:53:52 +11:00
Daan Goedkoop
0e866f02e9 Check for short-circuit in QgsCoordinateTransform::transformCoords 2015-11-26 12:34:35 +11:00
Nyall Dawson
de602e7b2d 'fix' build with Ubuntu 15.10
Avoid totally bizarre fontutils test moc error by renaming to
'typographicstylingutils'.

(Pretty sure Ubuntu 15.10 is haunted by ghosts)
2015-11-26 07:12:53 +11:00
Juergen E. Fischer
77526bd1a3 remove references to coding (followup 7b0837f) 2015-11-25 15:05:23 +01:00
Nyall Dawson
f3507747a7 QgsLineStringV2: better handling of LineString25D, more tests 2015-11-25 17:00:55 +11:00
Nyall Dawson
f45f688f61 [labeling] Avoid placing labels over ANY part of point symbols 2015-11-25 17:00:20 +11:00
Nyall Dawson
3e618916eb [pal] Don't treat joined features as obstacles for each other
Eg, if the "merge connected features" option for a layer is checked
then label candidates generated for the merged line should not
be marked as in conflict with any part of the merged line.
Previously they would be marked in conflict with all but one part
of the merged line, resulting in false penalties being applied
to these candidates and non-ideal final label placements.
2015-11-25 08:11:43 +11:00
Nyall Dawson
e03f5549ca Update test mask images 2015-11-25 07:48:47 +11:00
Nyall Dawson
c7c71d939e Followup b10e708, fix failing PyQgsServerAccessControl test on Travis 2015-11-25 07:43:57 +11:00
Nyall Dawson
cac9c9ee12 Avoid some deprecated warnings 2015-11-25 07:13:01 +11:00
Matthias Kuhn
3624d7b4d8 Use window system provided cursors rather than bitmaps 2015-11-24 18:12:00 +01:00
Matthias Kuhn
afd436da9f Yet another fix to 594fafe 2015-11-24 16:57:43 +01:00
Matthias Kuhn
a630205f70 Fixup 7b0837f 2015-11-24 16:47:38 +01:00
Matthias Kuhn
7b0837f490 Remove CODING from source tree
It has all been moved to
http://qgis.org/en/site/getinvolved/development/qgisdevelopersguide.html
Where it is managed as .rst and translatable.
2015-11-24 16:35:19 +01:00
Matthias Kuhn
2e7c33281c Followup 594fafe73b8, Also fix processing 2015-11-24 16:29:35 +01:00
Marco Hugentobler
594fafe73b Fix ftools geometry collection handling 2015-11-24 15:42:33 +01:00
Matthias Kuhn
2543af5089 Get rid of warning on exit 2015-11-24 10:33:41 +01:00
Nyall Dawson
ff36573a74 Fix crash in QgsLineStringV2::append if non z/m line appended
to a LineString with z/m

Add a bunch of unit tests for QgsLineStringV2 and fix some other
minor issues which they identified.
2015-11-24 16:38:40 +11:00
Nyall Dawson
7443431ee4 Fix incorrect GML from QgsPointV2::asGML3
Also finish unit tests for QgsPointV2 and mark as a critical class
2015-11-24 16:22:55 +11:00
Juergen E. Fischer
b10e708b39 some fixes to the server access control tests on windows 2015-11-23 23:51:38 +01:00
Matthias Kuhn
7bcc935f4d Fix layout problems with relation reference widget 2015-11-23 22:24:52 +01:00
Nyall Dawson
675da0ce40 Fix PyQgsServerAccessControl on Ubuntu
Add size tolerance to legend images, add masks for legend images
2015-11-24 07:54:29 +11:00
Nyall Dawson
f1458434fb Followup 7d600bd, proper fix for failing labeling engine test
When labelFeatures is called outside of the renderering loop,
we need to make sure the renderer is prepared by calling
startRender.
2015-11-24 07:26:37 +11:00
Nyall Dawson
ffebfd9bb7 [FEATURE] Allow overide of geometry type in vector save as dialog
Also allows forcing output file to be multi type, or include z
dimension.

This makes it possible to do things like save a geometryless
table WITH a geometry type, so that geometries can then be
manually added to rows. Previously this was only possible to do in
QGIS by resorting to dummy joins or other hacks.
2015-11-24 06:30:15 +11:00
Juergen E. Fischer
09e7102fda fix local simplification for ZM geometries 2015-11-23 14:25:55 +01:00
Nyall Dawson
169989a02f Update test mask images 2015-11-23 21:03:04 +11:00
Nyall Dawson
1f0d24a0c7 [FEATURE] Show z/m values in derived info for identify tool
For lines/polygons, identify tool will show vertex number and
x/y/z/m for nearest vertex to identify point.

Also add number of parts and part number to results for collections.
2015-11-23 17:31:54 +11:00
Juergen E. Fischer
57c22e5020 'fix' weird automoc test problem on wily 2015-11-22 23:27:16 +01:00
Matthias Kuhn
7840dbe392 Do not wrap labels in composer legend properties widget
Fix #10498
2015-11-22 21:41:43 +01:00
Nyall Dawson
88beaaea0f Minor coverity fixes 2015-11-23 06:59:02 +11:00
Nyall Dawson
73ac9f9acd Update test mask images 2015-11-23 06:03:44 +11:00
Juergen E. Fischer
eb3e8ed358 server access control test: replace hardcoded temporary directory 2015-11-22 16:20:37 +01:00
Juergen E. Fischer
00715a66c9 fix PyQgsServerAccessControl in nightlies 2015-11-22 15:45:24 +01:00
Matthias Kuhn
8653bb4812 Merge pull request #2493 from SebDieBln/AttrTableHideSortIndicator
Hide the sort indicator in the attribute table until first sort (fixes #6705)
2015-11-22 15:35:15 +01:00
Sebastian Dietrich
caab4c12f5 hide the sort indicator in the attribute table until first sort 2015-11-22 13:23:24 +01:00
Nyall Dawson
7d600bdaed [FEATURE] Use rendered symbol size as obstacle for point feature labels
Previously, only the point feature itself was treated as an obstacle
for label candidates. If a large or offset symbol was used for the
point, then labels were allowed to overlap this symbol without
incurring the obstacle cost.

Sponsored by City of Uster
2015-11-22 21:30:42 +11:00
Nyall Dawson
6b0e7de9e2 Allow registering feature to label/diagram provider with obstacle geom
Sponsored by City of Uster
2015-11-22 20:21:38 +11:00
Nyall Dawson
2e0019df39 Test mask updates 2015-11-22 18:08:34 +11:00
Matthias Kuhn
504c252c05 Merge pull request #2327 from DelazJ/ConsistentTerms2
Add consistency to attribute's dialogs
2015-11-21 14:41:59 +01:00
Nyall Dawson
531fec039c Fix copy constructor for pal::FeaturePart 2015-11-21 23:02:44 +11:00
Nyall Dawson
55ead85382 Allow setting label obstacle geom in QgsPalLabeling::registerFeature
Sponsored by City of Uster
2015-11-21 22:52:22 +11:00
Nyall Dawson
9cc10e2a21 [labeling] Allow different obstacle geometry to feature geometry
This change makes it possible to have a different geometry used
for labeling obstacle detection to the geometry used for generating
label position candidates.

Also fixes parts of multipolygon features were not treated as
obstacles when "label only largest part" of polygon was checked.
Some inefficiencies in pal were also fixed (eg avoiding adding
features/obstacles to pal rtree indexes when they will never
be used).

Sponsored by City of Uster
2015-11-21 22:23:16 +11:00
Nyall Dawson
47e6d3031b Update test masks 2015-11-21 22:03:19 +11:00
Nyall Dawson
0a2773ff4b Followup c6460a3, avoid rendering issues 2015-11-21 21:00:10 +11:00