30 Commits

Author SHA1 Message Date
David Adler
5fe19c5f15 merged DB2 updates
[FEATURE] New vector data provider for DB2 sources
2016-04-04 07:55:50 +10:00
Juergen E. Fischer
dec28b4109 add missed sslmode to sip binding (followup 31e43a9) 2016-02-26 20:40:57 +01:00
Juergen E. Fischer
31e43a9869 postgres provider: add support for verify-ca and verify-full ssl modes 2016-02-25 20:58:02 +01:00
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Hugo Mercier
fa78ccf74d Deprecate old WkbType in QgsDataSourceUri 2016-02-09 10:44:41 +01:00
Nyall Dawson
881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00
Juergen E. Fischer
b5794b2f2d sip coverage fixes:
* make sip coverage test aware that there are less classes where QSci sip
  headers are not available
* exclude properties from members
* fix QgsFeatureIds typedef (fixes missing signal
  QgsVectorLayer.featuresDeleted and others)
* add missing notes for PyNames
* include some missing new methods in bindings
2015-11-08 19:30:39 +00:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Larry Shaffer
95214e9125 [auth system] Core data source URI integration 2015-09-21 08:51:18 -06:00
Juergen E. Fischer
9ceb5ceab6 sip sync 2014-11-21 01:17:21 +01:00
Juergen E. Fischer
d4e369414b update sip bindings 2014-01-26 18:36:29 +01:00
Alexander Bruy
b1ac9469cf expose encodedUri() method in bindings 2012-10-10 11:57:00 +03:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Tim Sutton
d9c9052b27 Added comment about introduction of srid to version 1.9 for data source id 2012-09-03 17:17:45 +02:00
Juergen E. Fischer
dc8ac451da [FEATURE] allow adding of sql queries with SelectAtId=false
- sync sip bindings of QGis, QgsApplication, QgsDataSourceURI and QgsPoint with
  C++
2012-08-03 00:02:19 +02:00
jef
cdc9ae7c5d implement #3522
git-svn-id: http://svn.osgeo.org/qgis/trunk@15258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-24 17:53:50 +00:00
jef
4852ceb147 apply #2460 (slightly modified). Thanks Jeremy Palmer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 23:58:48 +00:00
jef
ed34b139f4 - fix load of layers saved with relative paths on *x
- also save relative paths to spatialite databases
- show path mode as combobox
- add QgsDataSourceURI::setDatabase()


git-svn-id: http://svn.osgeo.org/qgis/trunk@11729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-28 21:38:25 +00:00
jef
dfb5aa118d fix line endings
git-svn-id: http://svn.osgeo.org/qgis/trunk@11640 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-12 20:37:31 +00:00
jef
468550c6d2 speed up loading of projects with (complex) views:
save key column of postgresql layers to projects file and try it first on
reload.



git-svn-id: http://svn.osgeo.org/qgis/trunk@10657 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-26 22:49:37 +00:00
jef
02bf44eb2c complete QgsDataSourceURI() methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@10581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-16 22:09:45 +00:00
jef
93b2f42c8e add QgsDataSourceURI::database()
git-svn-id: http://svn.osgeo.org/qgis/trunk@10579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-16 20:15:45 +00:00
jef
a415b87860 added notes about new optional sslmode parameter in 1.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@10493 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-07 08:24:55 +00:00
jef
326f4727d7 make sslmode optional
git-svn-id: http://svn.osgeo.org/qgis/trunk@10482 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-06 09:41:30 +00:00
gcontreras
6100301b6f Changes to remove password from ogr database uris in legend and setting port 5151 as default for sde connections.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-03 04:01:19 +00:00
jef
1e64ed34c6 make SSL mode of PostgreSQL connections configuable
git-svn-id: http://svn.osgeo.org/qgis/trunk@10456 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-02 21:32:13 +00:00
timlinux
9884ef0758 Remove abbreviation of connectionInfo
git-svn-id: http://svn.osgeo.org/qgis/trunk@9502 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-20 20:24:36 +00:00
jef
4652d5acf5 Improve parsing in QgsDataSourceURI (adapted from PQconnectdb) and gather
connection info parsing and creation there.   Fixes #817.

Please test!



git-svn-id: http://svn.osgeo.org/qgis/trunk@7672 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-27 21:35:10 +00:00
wonder
0dc4a3b23a Added setConnection() and setDataSource() utility functions to QgsDataSourceURI
git-svn-id: http://svn.osgeo.org/qgis/trunk@6891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 11:12:15 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00