15 Commits

Author SHA1 Message Date
Juergen E. Fischer
9d7ef65a2d vector layer: fix attributeAdded signal
don't assume new attributes are added at end, because in case of joins
they are added after the provider fields and before the joined fields.

field calculator: prepare expression again after attribute was added
(fixes #9320)
2014-02-12 00:54:44 +01:00
Juergen E. Fischer
52616b6549 vector layer: save old attribute values where available to speedup undo (and rollback) (fixes #9509)
field calculator & app: use wait cursor while calculating and committing or rolling back
2014-02-08 23:28:52 +01:00
Juergen E. Fischer
bd245ee42d undo: only merge geometry changes on the feature (fixes #8265) 2013-07-11 17:43:38 +02:00
Juergen E. Fischer
58266c145c vector layer undo command: remove merging noise 2013-05-30 09:29:28 +02:00
Juergen E. Fischer
59788cb8fc - sync sip binding of QgsVectorLayer
- [API] introduce signal QgsVectorLayer::beforeRollBack()
- merge consecutive geometry changes (fixes #7929)
- avoid validation in nodetool on rollback
2013-05-29 22:57:05 +02:00
Juergen E. Fischer
1a2c387d63 fix warnings 2013-03-30 11:38:55 +01:00
Matthias Kuhn
7534b796ee Add indexable vector layer cache 2013-03-27 10:54:36 +01:00
Juergen E. Fischer
dc728f6c39 update calls to new api 2013-01-29 01:58:32 +01:00
Martin Dobias
31f6ce07c3 Changed data structure for added features from list to map to allow efficient lookups 2012-12-19 00:28:04 +01:00
Martin Dobias
81b0930498 QgsVectorLayer: large internal refactoring
Most important changes:
- introduced feature iterator for QgsVectorLayer
- vector editing moved to QgsVectorEditBuffer
- complete rework of undo/redo commands for vector layers
- geometry cache separated from editing (QgsVectorLayerCache)
- non-essential editing functionality moved to QgsVectorLayerEditUtils
2012-12-17 21:22:42 +01:00
Juergen E. Fischer
048a07a572 another copyright update 2012-10-08 00:29:13 +02:00
Juergen E. Fischer
1e7b9ed0d4 add missing copyright headers to c++ files 2012-05-18 19:36:07 +02:00
Juergen E. Fischer
5a3a87fde2 [FEATURE] support 64bit feature ids 2011-06-16 20:30:07 +02:00
jef
a5d5cf85d3 automatic indentation update (r10918-r10980)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-26 15:29:46 +00:00
wonder
7fd5ba816a Added infrastructure for vector editing undo/redo functionality.
Note - when implementing edit tools for vector layer:
All editation should be done between beginEditCommand() and endEditCommand()
calls so that the operation are stored. 

Note - when doing changes inside QgsVectorLayer code:
When doing any changes inside QgsVectorLayer they should be done using edit*() functions
and _not_ directly e.g. mChangedGeometries[fid] = (...) otherwise the change won't be
stored in the undo stack and it would lead to invalid behaviour of undo.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 14:17:18 +00:00