Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
DelazJ
828e447991
More spelling fixes
...
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
2016-12-29 01:53:55 +01:00
DelazJ
a56f928f71
Replace unicode by Unicode
2016-12-29 01:46:18 +01:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Hugo Mercier
b7fa5400b6
[db manager] Fix virtual layer uid handling
2016-11-22 16:09:53 +01:00
Martin Dobias
d716640403
Remove usage of legendInterface() from plugins (followup e5f62e49)
2016-11-22 12:23:37 +08:00
Even Rouault
8b1adc5dcd
Merge pull request #3635 from arnaud-morvan/processing_postgis_connect
...
[processing][db_manager] Fix connection to postgis
2016-11-13 18:15:57 +01:00
Nyall Dawson
fd15090521
Update identation
2016-11-08 08:51:22 +10:00
arnaud.morvan@camptocamp.com
9cd39e79dd
[db_manager] Fix connection to postgis
2016-11-06 13:29:59 +01:00
Even Rouault
984ec65fcd
[DBManager GPKG] Set appropriate icon for line layers
2016-10-27 15:59:57 +02:00
Even Rouault
d0da880b8c
[DB Manager] Fix refresh issue when renaming GPKG table, and disable add geometry column button if already one existing
2016-10-25 15:39:27 +02:00
Even Rouault
794c8f3c85
[DB_Manager GPKG] Fix creating and changing default values of columns
2016-10-24 17:41:49 +02:00
Even Rouault
f84826d58d
[DB_Manager GPKG] Fix logic inversion in GDAL 1.X vs GDAL 2.X cases
2016-10-24 17:01:58 +02:00
Even Rouault
af236c4ef8
Merge pull request #3628 from rouault/dbmanager_gpkg
...
[DBManager] Add dedicated GeoPackage plugin
2016-10-24 10:33:03 +02:00
Nyall Dawson
3cc9b5d962
Indentation
2016-10-22 09:03:24 +10:00
rldhont
a9795ad8ea
[DB Manager] Allow lowercase field names for homogenize PostGIS Import
...
PostGIS provider has an option to lowercase field names. This options is available for user in QGIS algorithm ImportIntoPostGIS and not in DB Mananger.
This commit fix it.
2016-10-19 13:03:32 +02:00
Even Rouault
2c1356cd1d
[DBManager] Remove geopackage support from spatialite plugin
2016-10-18 20:08:27 +02:00
Even Rouault
3f2866c47a
[FEATURE] [DBManager] Add a GeoPackage dedicated plugin
2016-10-18 20:08:27 +02:00
nirvn
20d006e101
[db manager] fix spatialite error reporting
2016-10-07 12:07:55 +07:00
Sandro Santilli
0348dd5ce7
Force use of estimated metadata upon loading topologies
2016-10-05 12:17:57 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Mathieu Pellerin
cd1d44be9d
[db manager] python3 support ( #3512 )
2016-09-20 09:34:36 +02:00
Sandro Santilli
91052d5496
Use nullSymbol for label-only layers in topology viewer
2016-09-16 13:41:23 +02:00
Hugo Mercier
5c3a43e286
Fix spatialite access with python3
2016-09-05 13:43:00 +02:00
Nyall Dawson
eba6101357
Fix broken python save/open dialogs under PyQt5
...
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Even Rouault
8c3537bff2
[DBManager] Fix exception raised when adding a new Spatialite connection
...
This was accidentaly broken since 1f0fce7852e9f6a27af967d7ac7ee3989dce7b45
Fixes #15274
2016-09-01 20:51:26 +02:00
Matthias Kuhn
3aff45cc13
Fix db_manager
2016-08-10 20:36:18 +02:00
Matthias Kuhn
bb79d13e82
Remove deprecated Qgis::WKBType and API cleanup ( #3325 )
...
* Remove deprecated Qgis::WKBType and API cleanup
Renames QgsWKBTypes to QgsWkbTypes
Replaces usage of the enums:
* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType
Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)
Renames some SSLxxx to SslXxx and URIxxx to UriXxx
* Fix build warnings and simplify type handling
* Add a fixer to rewrite imports
* The forgotten rebase conflictThe forgotten rebase conflicts
* QgsDataSourcURI > QgsDataSourceUri
* QgsWKBTypes > QgsWkbTypes
* Qgis.WKBGeom > QgsWkbTypes.Geom
* Further python fixes
* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions
* Fix tests
* Python 3 updates
* [travis] pull request caching cannot be disabled
so at least use it in r/w mode
* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Nyall Dawson
bd7d913379
Refine QgsFeature geometry getters/setters
...
All pointer based methods have been removed.
Now we have only:
void setGeometry( const QgsGeometry& geom )
and
QgsGeometry geometry() const
Benefits include avoiding a whole lot of tricky pointer lifetime
issues, potential memory leaks, and finally closing #777 , which
has survived for over 9 years!...
Impacts on PyQGIS code:
- no more need for the messy
g = QgsGeometry( feature.geometry() )
workaround, just use g = feature.geometry() instead
- IMPORTANT: you can no longer test whether a feature has geometry
using `if f.geometry():`, since QgsFeature::geometry() will
*always* return an object. Instead, use
`if not f.geometry().isEmpty():`, or preferably the new method
`if not f.hasGeometry():`
Fix #777
2016-08-01 16:25:46 +10:00
Nyall Dawson
1a2231f10c
Rename QGis class to Qgis, for capitalisation consistency
2016-07-21 22:01:38 +10:00
Juergen E. Fischer
4b00182482
oracle provider: by default skip additional geometry columns (on 64bit
...
Windows/Linux OCI crashes when there are more than three geometry
columns)
2016-06-23 22:22:46 +02:00
Juergen E. Fischer
1f0fce7852
db manager: fix drag and drop import ( fixes #13712 )
2016-06-22 12:35:17 +02:00
Juergen E. Fischer
ecf3b3719d
db manager: show database name in postgis connection details ( fixes #3489 )
2016-06-21 00:17:41 +02:00
Salvatore Larosa
f1ec12133e
[dbmanager] followup 8727799: again some emit signal fix
2016-06-11 18:29:29 +02:00
Salvatore Larosa
87277999a4
[dbmanager] Fix emit signal when refresh fields in table
2016-06-11 16:58:11 +02:00
Salvatore Larosa
65aa860121
[dbmanager] Fixes #14722 - Adding new GeoPackage connection to DB Manager is throwing error
2016-06-07 14:06:07 +02:00
arnaud.morvan@camptocamp.com
8e5b28f3bb
[db_manager] Fix #14796 - Quote values depending on data type in query builder
2016-05-29 23:59:03 +02:00
Sebastian Dietrich
c5308754eb
[DbManager] allow to refresh materialized views
...
(fixes #13697 )
2016-05-14 00:41:20 +02:00
Matthias Kuhn
25f2e637c0
Remove references to QPyNullVariant
2016-05-13 22:23:03 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
elpaso
1e6dceb7d2
[dbmanager] Fixes various signal bugs after 8bda5c
...
Fixes some unreported glitches after new signals migration.
Also fixes #14649
2016-04-14 09:02:04 +02:00
Alessandro Pasotti
1eb63768d9
[dbmanager] Use user name as DB name if provided
...
Followup for 212b125
2016-04-12 14:40:23 +02:00
Alessandro Pasotti
212b125a2c
[dbmanager] PG ignore env if service file is used
...
Fixes #14436
Funded by Boundless
2016-04-12 14:05:19 +02:00
Hugo Mercier
7dbc0bf819
[db manager] Fix virtual layers plugin ( fixes #14404 )
2016-03-23 17:39:41 +01:00
Juergen E. Fischer
c55f8b73f0
db_manager: cleanups
2016-03-21 17:00:24 +01:00
Juergen E. Fischer
8bda5c00a5
db_manager: migrate to new style signals
2016-03-15 23:46:54 +01:00
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Werner Macho
6acdfc6e84
improve import handling
2016-03-15 11:14:16 +01:00