Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[BUGFIX / FEATURE] [OGR] Allow concurrent edition of Shapefiles and T…
…abfiles in QGIS & MapInfo - Closes https://hub.qgis.org/issues/14378 - Adds new virtual methods in QgsDataProvider(): enterUpdateMode() and leaveUpdateMode() and implement them in the OGR provider. Limited to shapefiles and tabfiles - Implements QgsOGRProvider:reloadData() - Robustify OGR provider methods so they don't crash if dataset re-opening fails. Cherry picked from dc18b5b
- Loading branch information
Showing
with
631 additions
and 30 deletions.
- +41 −0 python/core/qgsdataprovider.sip
- +41 −0 src/core/qgsdataprovider.h
- +7 −0 src/core/qgsvectorlayer.cpp
- +14 −2 src/providers/ogr/qgsogrfeatureiterator.cpp
- +223 −18 src/providers/ogr/qgsogrprovider.cpp
- +32 −1 src/providers/ogr/qgsogrprovider.h
- +1 −0 tests/src/python/CMakeLists.txt
- +71 −0 tests/src/python/test_provider_ogr.py
- +174 −8 tests/src/python/test_provider_shapefile.py
- +27 −1 tests/src/python/test_provider_tabfile.py
Oops, something went wrong.