28096 Commits

Author SHA1 Message Date
Nyall Dawson
b7187ed057 Followup 9508f8b, fix other potential crashes 2015-08-06 15:35:37 +10:00
Nyall Dawson
ff28e6a9d9 [pal] Shade all parts of label candidate as conflicting when
appropriate
2015-08-06 11:03:15 +10:00
Nyall Dawson
39c728bbc5 [pal] Fix test for polygon boundary obstacles (followup 3a44e294)
Test was incorrectly checking for intersection of the candidate
and polygon obstacle, when it should have been checking for
overlapping or touching obstacles.
2015-08-06 10:53:12 +10:00
Matthias Kuhn
9508f8bc98 Fix crash 2015-08-05 17:22:36 +02:00
Matthias Kuhn
504863bc4a Fix const, followup 6a2df33 2015-08-05 10:39:13 +02:00
Nyall Dawson
df4c1311ad Fix crash when opening attribute table on non-spatial layer 2015-08-05 15:00:40 +10:00
Nyall Dawson
2b8b942740 Fix crash when map contains diagrams on joined layers (refs #13177) 2015-08-05 15:00:33 +10:00
Nyall Dawson
be411e110b Add some unit tests for color ramps 2015-08-05 14:46:53 +10:00
Nyall Dawson
56a48ed0d2 Add missing color ramp methods and conversions to sip 2015-08-05 14:46:46 +10:00
Nyall Dawson
3c45b2352a Fix invalid color could be returned by QgsRandomColorsV2 2015-08-05 14:46:38 +10:00
Matthias Kuhn
cf2f6b17fa Alias without pending prefix for QgsVectorLayer methods
* pendingAllAttributesList -> attributeList
 * pendingPkAttributesList -> pkAttributeList
 * pendingFeatureCount -> featureCount

featureCount will now always return the features on the layer and NOT the
committed features count as before.
This changes its behavior but this way it is coherent with the other methods
which work on the layer.
2015-08-04 15:13:31 +02:00
Matthias Kuhn
e832b2a28a Add QgsVectorLayer::fields() as alias to pendingFields()
pendingFields() is not very intuitive and leads to confusion for new developers.
2015-08-04 15:13:31 +02:00
Juergen E. Fischer
c27f357be0 database provider: fix andWhereClauses 2015-08-04 14:22:14 +02:00
Alessandro Pasotti
0c2b51050e Merge pull request #2233 from elpaso/carolinux-python-init-less-verbose
Carolinux python init less verbose
2015-08-04 12:29:00 +02:00
elpaso
9aae680d47 Fixed server python startup: do not load qgis.user 2015-08-04 11:54:34 +02:00
carolinux
573f28a8ec Made methods protected and added descriptions 2015-08-04 11:08:45 +02:00
carolinux
a7515ad6fd Made python initialization less verbose 2015-08-04 11:08:33 +02:00
Nyall Dawson
745f91d249 Add 'edit' buttons to remaining gradient combo boxes
Also consolidate code for easier maintenance.
2015-08-04 16:23:06 +10:00
Nyall Dawson
688ac1610e Fix bad alloc when styling raster with random color ramp (fix #13112) 2015-08-04 16:22:56 +10:00
Nyall Dawson
1d2b4cb41a Fix random color ramps returning invalid QColors for value of 1.0 2015-08-04 16:22:49 +10:00
Nyall Dawson
5690402116 Fix saturation range ignored for random color ramps 2015-08-04 16:22:40 +10:00
Nyall Dawson
27ee8eea45 Fix incorrect values returned by certain color ramps 2015-08-04 16:22:28 +10:00
Juergen E. Fischer
c31810af8b typo fixes 2015-08-03 20:36:17 +02:00
Nyall Dawson
f00c52d5a6 Fix geometry simplification for rendering altering feature geometry
I noticed this when using memory layers - zooming out and then in
would result in the features getting more and more generalised.
Possibly it would affect other areas of the codebase too.

The geometry simplifier was unhelpfully casting away the const
from the pointer to the geometry's wkb, and was happily overwriting
the wkb for its own purposes. With QgsGeometry now implicitly
sharing this wkb pointer the non-const cast meant that the geometry
was not getting correctly detached and the original geometry was
being modified.
2015-08-03 23:26:23 +10:00
Nyall Dawson
7934a92519 [composer] Add an apply button for atlas settings, prevents
numerous refetching/redrawing when tweaking atlas configuration
2015-08-03 16:46:59 +10:00
Nyall Dawson
8088e35415 [composer] Use feature requests to filter atlas features, rather
than fetching all features and then filtering while iterating.
2015-08-03 16:46:59 +10:00
Nyall Dawson
69ac6771e8 [FEATURE][composer] Add page name option for atlas
Page name can be set to either a field or expression derived from
the coverage layer, and is shown in the new atlas page combobox.
2015-08-03 16:46:59 +10:00
Nyall Dawson
5537e23f35 [composer] Keep atlas page combo in sync when atlas feature changes 2015-08-03 16:46:59 +10:00
Nyall Dawson
dfff1257bf [pal] When set to draw all label candidates, shade candidates which
conflict with obstacles in red
2015-08-03 16:46:58 +10:00
Nyall Dawson
47e3e20e28 Boost QgsFeature test coverage to 100% 2015-08-03 16:02:40 +10:00
Nyall Dawson
f7b4315f9c Add missing overrides 2015-08-03 16:02:33 +10:00
Matthias Kuhn
6a2df335ae Some doxymentation and const'ing 2015-08-02 09:41:37 +02:00
Nyall Dawson
d107603f35 Expand QgsField/QgsFields tests 2015-08-02 06:29:38 +10:00
Nyall Dawson
2fb6c10631 Minor Coverity fixes 2015-08-01 17:57:15 +10:00
Nyall Dawson
4774c87d03 Switch doxygen coverage test to check count of undocumented members
The previous check (% of documented members) set the bar too low
(~60%). Now no members/classes can be introduced without full
documentation.
2015-08-01 17:07:39 +10:00
Martin Dobias
febadfe21b Fix crashes when rendering with SVG symbols that are missing
The crashes would happen after some time when browsing the map,
especially when size of SVGs is in map units. This was due to wrong
removal of deleted cache entries where cache entry key would be
different from SVG file's path, thus not removing the entry that
got deleted. Now explicitly keeping the lookup key in the entry
to make sure this does not happen.

Related issues: #9959, #8883
2015-07-31 20:35:15 +02:00
Giovanni Manghi
1dfec33e5a fix Processing QGIS vector grid as lines 2015-07-31 18:50:11 +02:00
Juergen E. Fischer
15170dd216 osgeo4w: switch to grass 7.0.1 from RC2 2015-07-31 10:36:59 +02:00
Larry Shaffer
d722f5bd4b Fix sys/select.h header include on Mac for grass data file 2015-07-30 17:51:17 -06:00
Radim Blazek
67151617aa [GRASS] modules debug bar 2015-07-30 18:46:27 +02:00
George Shegunov
37657dd96b Detach usage of qreal from QT_ARCH_ARM
Added float types additionally to double, qreal can be now float or double.
Removed QT_ARCH_ARM. qreal can be float not only on ARM.
There are overload functions for both types.
2015-07-30 15:40:00 +02:00
Hugo Mercier
95ff0922e4 Handle QgsDataItem class hierarchy in SIP bindings 2015-07-30 15:04:56 +02:00
George Shegunov
1c6a40cb6f WEBKIT includes changed
(cherry picked from commit 9f6c72fa33af4c60c2e3266282277f10eedd2749)
2015-07-30 11:15:01 +02:00
Juergen E. Fischer
fe50327b28 fix oracle provider (followup 5be0ee7) 2015-07-30 09:31:28 +02:00
Matthias Kuhn
2887a4ae57 Doxymentation 2015-07-30 00:02:01 +02:00
Juergen E. Fischer
384c0a703b processing: fix saga translation (followup 66a3d02) 2015-07-29 18:55:11 +02:00
Marco Hugentobler
335644e580 Skip m-coordinates in geos import 2015-07-29 15:57:53 +02:00
Marco Hugentobler
c42b8c17d6 Fix segmentation of full circles 2015-07-29 15:57:53 +02:00
Salvatore Larosa
e980e760b4 [composer ui] fix tooltip for add shape action in composer 2015-07-29 14:43:51 +02:00
Marco Hugentobler
d6d5be9448 Set wkb typ if adding the first line in QgsLineStringV2::append 2015-07-29 14:08:33 +02:00