Nyall Dawson
8cbfe00343
Bump acceptable doc coverage
2015-08-21 10:39:13 +10:00
Nyall Dawson
ee139b929c
Tweak documentation coverage test
...
Ignore some obvious members which don't require docs:
- constructors with no arguments
- = and == operators
Also show list of undocumented members for each class
2015-08-21 10:05:51 +10:00
Nathan Woodrow
faa32f36cf
[FEATURE] Conditional formatting for attribute table cells
2015-08-20 23:06:31 +10:00
Nyall Dawson
b87e5f7573
[FEATURE][composer] Data defined style preset for composer maps
...
Sponsored by City of Uster
2015-08-19 20:43:19 +10:00
Nyall Dawson
612df6ae14
[FEATURE][composer] Auto wrapping for text in fixed width columns
...
in attribute tables
Sponsored by City of Uster
2015-08-19 06:08:22 +10:00
Nyall Dawson
b78564899a
[FEATURE][composer] Option for 'wrap text on' for attribute tables
...
Fix #8006
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
759f842bc3
[FEATURE][composer] Vertical alignment control for attribute tables
...
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
372534eb89
[composer] Add proper handling of multiline text in attribute tables
...
Previously multi-line text would overflow onto neighbouring cells.
Now rows will be expanded to fit required height of text.
Fix #10273 .
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
29cc0642a4
[composer] Add method for calculating height of text
...
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
7527638d43
[FEATURE][composer] Data defined control over map layers
...
Adds new data defined control for the map layers to show in a
composer map. Expression result should be a | delimited list of
layer names which will be shown in the map.
Sponsored by City of Uster
2015-08-17 23:46:13 +10:00
Matthias Kuhn
9fc1b48bf3
Replace str() with unicode() and some PEP 8
2015-08-16 20:58:43 +02:00
Nyall Dawson
42d5b9b2aa
Python exceptions for invalid keys in QgsFields methods ( fix #13221 )
2015-08-16 16:08:04 +10:00
Nyall Dawson
e9ff061f05
Cleanup composer label atlas handling
2015-08-13 08:35:47 +10:00
Nyall Dawson
19a833c23d
Clean atlas interface - avoid storage of pointer to atlas feature
2015-08-13 08:35:43 +10:00
Nyall Dawson
a89550ac48
Update label server test mask images for OSX
2015-08-12 23:38:42 +10:00
Matthias Kuhn
d8d9ba1f3f
Fix indentation, followup 8ab69e9
2015-08-12 15:12:53 +02:00
Matthias Kuhn
8ab69e9386
with edit(layer)
raises an error if the commit fails
2015-08-12 14:55:36 +02:00
Matthias Kuhn
35fc2902f3
[FEATURE] Add with edit(layer):
to python
...
Example:
with edit(layer):
f=layer.getFeatures().next()
f[0]=5
layer.updateFeature(f)
This will automatically call commitChanges() in the end.
If any exception occurs, it will rollBack() all the changes.
2015-08-12 13:41:23 +02:00
Nyall Dawson
3898d840bd
Custom properties for QgsComposition and QgsComposerObject
2015-08-11 20:32:14 +10:00
Nyall Dawson
d8da4b8037
Followup 71e7aab, add unit tests
2015-08-08 15:54:19 +10:00
Nyall Dawson
ce0eb2b69e
Cleanup QgsVectorLayer tests
2015-08-08 15:54:15 +10:00
Nyall Dawson
013e1da783
Tests and doxygen for QgsDataDefined
2015-08-07 09:05:47 +10:00
Chris Crook
dc2de774c2
Removing unnecessary restriction on field names
2015-08-07 09:06:31 +12:00
Alessandro Pasotti
c4ea8de5ed
Merge pull request #2236 from elpaso/sip-server-filters-bindings
...
[server] Sip server filters new bindings
2015-08-06 21:05:31 +02:00
elpaso
e930d696fa
[server] setFilters implementation, bindings and test
...
* moved type conversion to conversions.sip (template)
* added setFilters() to QgsServerInterface
* added tests
2015-08-06 17:51:26 +02:00
Nyall Dawson
be411e110b
Add some unit tests for color ramps
2015-08-05 14:46:53 +10:00
elpaso
230196071a
Added TypeHeaderCode for QgsServerFiltersMap
2015-08-04 20:55:42 +02: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
Nyall Dawson
47e3e20e28
Boost QgsFeature test coverage to 100%
2015-08-03 16:02:40 +10:00
Nyall Dawson
d107603f35
Expand QgsField/QgsFields tests
2015-08-02 06:29:38 +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
Matthias Kuhn
7573078e2e
Add boolean node literal to expressions
2015-07-29 12:09:44 +02:00
Matthias Kuhn
5be0ee734f
Remove QgsFeatureRequest::FilterRect from providers/iterators
2015-07-29 12:09:44 +02:00
Juergen E. Fischer
9752c468c1
indentation update
2015-07-29 11:52:14 +02:00
mhugent
76a6b4f1fc
Merge pull request #2223 from mhugent/measurement_from_geometry
...
Measurement from geometry
2015-07-29 11:43:00 +02:00
Marco Hugentobler
86329f0170
Change expected behaviour in test_qgsdistancearea.py to also consider inner rings for perimeter calculation
2015-07-29 11:02:10 +02:00
Matthias Kuhn
e2319fd1f5
Fix alloc-dealloc-mismatch
2015-07-27 15:58:10 +02:00
Matthias Kuhn
d01424ae4b
Add QgsRelation::getReferencedFeature to access parent feature
2015-07-24 18:57:24 +02:00
Juergen E. Fischer
460a60556f
fix windows build
2015-07-24 02:22:58 +02:00
Radim Blazek
9dcb2a1260
[GRASS] GRASS 7 plugin enabled
2015-07-23 20:58:26 +02:00
Nyall Dawson
a1a8d1b7a3
Fix 'nan'='nan' evaluates to false in expressions
...
Also fix 'nan' and 'inf' being treated as doubles rather than
strings.
2015-07-22 16:15:48 +10:00
Matthias Kuhn
a37b3e27d5
Remove executable flag on a bunch of files
2015-07-20 15:45:44 +02:00
Nyall Dawson
323fa2ce50
Fix doxygen warnings, bump acceptable doc coverage
2015-07-20 06:24:58 +10:00
Juergen E. Fischer
0f396f3bd4
fix grass test on windows
2015-07-18 20:05:44 +02:00
Juergen E. Fischer
3acabad3a1
fix PyQgsServer test in nightlies
2015-07-18 16:56:26 +02:00
Juergen E. Fischer
789da22478
don't buffer python and grass tests output in variables
2015-07-18 15:32:37 +02:00
Juergen E. Fischer
4d681f03c6
Fix test failures on windows
2015-07-17 12:22:02 +02:00
Nyall Dawson
cc1a34fcea
Guard against some crashes in geometry
2015-07-16 16:00:46 +10:00
Nyall Dawson
daa4d6a8fc
Add test for handling invalid WKT with z values (refs #13055 )
2015-07-16 13:47:26 +10:00