[FEATURE][API] postgres provider refactoring:
- use m prefix for member variables and s prefix for class variables - refactor QgsPostgresProvider::Conn and QgsPostgresConnection to QgsPostgresConn - put QgsColumnTypeThread into separate file - use QgsPostgresConn in QgsPgSourceSelect - cleaner abort of column type thread (e.g. remove unfinished columns from selection list) - [API] move QgsDbTableModel as QgsPgTableModel to provider - [FEATURE] support for arbitrary key (including non-numeric and multi column) - [FEATURE][API] support for requesting a certain geometry type and/or srid in QgsDataSourceURI * no more explicit filter strings * support for empty tables without gemetry_columns entry or GEOMETRY type.
- add a column containing the feature id, if no columns are there (otherwise there are no valid model indices) - vector layer: emit featureDeleted and featureAdded signals, when added features change their temporary to a permanent id (e.g. makes the now defunct rows in the attribute table disappear, instead of showing ERROR) - memory provider: update the feature id in added features
more nodetool speedups & refactoring (fixes #4523)
[API] introduce signal QgsVectorLayer::geometryChanged() signal and use that to reduce the need to reload the modified geometry.
- push commit errors in PostgreSQL, OGR and SpatiaLite provider - add provider errors to commit error - postgres provider: improve handling of geography columns
- disable "Add" in selection dialog while column type thread is running - fix detection of integer keys - when adding feature update attributes and feature id in passed features
- make geometryless table selectable - only make srid column editable when necessary - leave primary key column editable - require primary key selection for views
Richard Duivenvoorde (from pull request #78) - crs taking into account, bookmarklist is now editable qtreeview - set better column names the column names from the table Juergen Fischer added refactoring: - move adding bookmarks into QgsBookmarks - make QgsBookmarks a singleton - delete multiple entries at once
- pre-select first integer column as primary key for views - also consider oid type as integer column
- fix primary key detection, if column is behind geometry column - add support for varchar length limits
In case of offset curve on background layers: try to merge together t…
…he source layers