44025 Commits

Author SHA1 Message Date
David
78eba9ed05 return ids of the new child features on duplication
when duplicating a feature in QgsVectorLayerUtils::duplicateFeature and this feature has over a relation the child features, we return now the ids of the new created child features in the respone object QgsDuplicateFeatureContext.
2017-11-16 11:13:07 +01:00
Salvatore Larosa
7c9cc07e85 truncate only last extension in oper recent project menu 2017-11-16 10:48:34 +01:00
Blottiere Paul
898eb4abf4
Merge pull request #5628 from pblottiere/bugfix-transaction-tuple
executeSql in transaction does not return an error on tuple
2017-11-16 09:36:56 +00:00
Blottiere Paul
15c32c22c5
Merge pull request #5566 from pblottiere/bugfix-ogc-getcapa-abstract
[server][bugfix] Fix OGC test recommendations
2017-11-16 09:24:48 +00:00
Blottiere Paul
9283b26762 Update tests 2017-11-16 08:40:45 +00:00
Blottiere Paul
7b49032521 Update for loop 2017-11-16 08:04:03 +00:00
Blottiere Paul
0a38003ba5 Keep name and add metadata and keywordlist for root layer 2017-11-16 08:04:03 +00:00
Blottiere Paul
f52300d361 Update tests 2017-11-16 08:04:03 +00:00
Blottiere Paul
f9c80f321c Replace Name entry by Abstract in GetCapabilities for root layer 2017-11-16 08:04:03 +00:00
Alessandro Pasotti
dfc0305420
Merge pull request #5631 from boundlessgeo/bd-2437-certs-format-sniffing
[auth] Moved the PEM/DER sniffing to a common private function
2017-11-16 09:04:00 +01:00
Blottiere Paul
c6b054ed4d Add test 2017-11-16 08:01:07 +00:00
Blottiere Paul
51d156d349 Update doc 2017-11-16 08:01:07 +00:00
Blottiere Paul
640f78e5df Do not consider a tuple response as an error in transaction 2017-11-16 08:01:07 +00:00
Alessandro Pasotti
8dd70c1dab
Merge pull request #5526 from boundlessgeo/ogr_authconfig_2
[auth][needs-docs] Authentication configuration support in OGR provider
2017-11-16 09:00:04 +01:00
Blottiere Paul
0bd5107e82
Merge pull request #5647 from pblottiere/contributor
Update contributors
2017-11-16 07:59:35 +00:00
Mathieu Pellerin
05d38b3d1d
[processing] preserve field length and precision for temporary outputs (#5654)
* add test case to cover length and precision through uri
2017-11-16 14:13:52 +07:00
Matthias Kuhn
bb6fda6cd6 Bump minimum spatialite version to 4.2 2017-11-16 07:57:41 +01:00
nirvn
4420eba61c Save non-pinned recent projects below pinned ones 2017-11-16 11:04:40 +07:00
nirvn
3fd32b4287 Update recent project menu upon pin/unpin/remove actions 2017-11-16 11:04:40 +07:00
Kent Porter
cfb78a14f1 Improved mActionDataSourceManager.svg icon (#5618) 2017-11-16 10:46:58 +07:00
Nyall Dawson
d0c2a41c6c Fix error when running postgis algs 2017-11-16 13:38:42 +10:00
Larry Shaffer
72af1a00da
[auth][ogr] Add missing PyQGIS auth manager OGR test 2017-11-15 19:30:34 -07:00
Even Rouault
ca8d82ff4c Add a setting to be able to disable preview jobs in main canvas
Can be used by power users to disable preview jobs, for very slow datasources
(especially when network bandwidth is saturated), where it decreases performance.

More clever approaches have been discussed per https://github.com/qgis/QGIS/pull/5645
and https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050524.html,
but at least offer this setting for now, pending further improvements.
2017-11-16 00:27:39 +01:00
Nyall Dawson
135b5c6c25 Nicer UX when adding a layer to an existing gpkg through the browser 2017-11-16 09:31:37 +11:00
Nyall Dawson
ef7cc49c64 Don't require a connection to a geopackage for data item
'create new layer' to function
2017-11-16 09:31:37 +11:00
Even Rouault
581d0d30ca [Spatialite provider] Properly destroy QgsSpatiaLiteConnPool singleton at provider unloading. Should fix frequent crash in PyQgsServerWMS on Travis (fixes #17447) 2017-11-15 23:23:56 +01:00
Even Rouault
7fa11c826f
Merge pull request #5632 from rouault/gdal_shared_instance
[GDAL provider] Use same underlying GDAL dataset for clone() (fixes #16006)
2017-11-15 22:21:27 +01:00
Even Rouault
31299b0c3b
Merge pull request #5646 from rouault/fix_16966
[QgsAuthManager] Protect all methods that do SQL queries with mutex (fixes #16966)
2017-11-15 22:01:41 +01:00
Blottiere Paul
5e2564cf4c Update contributors 2017-11-15 20:44:03 +00:00
Blottiere Paul
bc90210e4f
Merge pull request #5620 from pblottiere/bugfix_gpkg_bool
[bugfix]  Fixes #17070 by considering bool fields as OGR integer fields with boolean subtype
2017-11-15 20:30:50 +00:00
Even Rouault
4ce1752157 [QgsAuthManager] Protect all methods that do SQL queries with mutex (fixes #16966) 2017-11-15 21:21:33 +01:00
gacarrillor
a00ce9e1cc Rename editCopy/editPaste to copySelectionToClipboard/pasteFromClipboard 2017-11-15 12:51:42 -05:00
Salvatore Larosa
f1c3692f6a [dbmanager] Fixes #16533 and #16506 2017-11-15 18:26:21 +01:00
Even Rouault
670764d14c [GDAL provider] Improve UI responsiveness affected by 3b2b98b012fdfda14761914f01318d079aeaa409
The consequence of sharing the same GDAL object and protecting them under mutex is that
instanciating a new pipeline for job preview background can actually be blocked for
a long time, and thus causing the UI to be totally non-responsive

So change the strategy to use a global cache of GDAL datasets that can be reused by
cloned GDAL providers, while still maintaining the number of opened datasets to
a reasonable amount.
2017-11-15 18:08:32 +01:00
Blottiere Paul
9f0985ff36
Merge pull request #5554 from pblottiere/bugfix_virtuallayer
[bugfix] Fixes #16798 FilterFid feature requests with virtual layers
2017-11-15 16:20:40 +00:00
Blottiere Paul
bd30e12cf9
Merge pull request #5597 from pblottiere/bugfix-clickxy
[bugfix]  Fixes #16852 by adding click_x and click_y variables to resolve actions
2017-11-15 16:18:36 +00:00
Blottiere Paul
76635894bd Update test with Bool type instead of Int type 2017-11-15 16:15:45 +00:00
Blottiere Paul
cb56617891 Add boolean support in OGR provider 2017-11-15 16:15:45 +00:00
Blottiere Paul
6465af3fd9 Call OGR_Fld_SetSubType before OGR_L_CreateField 2017-11-15 16:15:45 +00:00
Blottiere Paul
caf0cf7576 Add test 2017-11-15 16:15:45 +00:00
Blottiere Paul
3bbe71d99e Fixes #17070 by considering bool fields as OGR integer fields with boolean subtype 2017-11-15 16:15:45 +00:00
Matthias Kuhn
db5b1df7a9 Remove direct usage of sqlite3 handles in core 2017-11-15 15:46:07 +01:00
Giovanni Manghi
618ada7fc1 add support for GRASS 7.4 2017-11-15 14:39:58 +00:00
Denis Rouzaud
042f2cd348
Increase git depth to avoid issues in code layout build
On Travis
 When on large pr with many commits
2017-11-15 15:30:37 +01:00
gacarrillor
829915e3fc Make names from QgisApp and QgisInterface match 2017-11-15 09:26:47 -05:00
Nyall Dawson
fbe5a17af7
Merge pull request #2586 from nyalldawson/coordinate_formatter
Initial implementation of QgsCoordinateFormatter
2017-11-15 23:17:43 +11:00
Blottiere Paul
b5317c57e3 Fix test 2017-11-15 12:09:19 +00:00
Blottiere Paul
de9bd1a120 Use QString::number 2017-11-15 12:09:19 +00:00
Blottiere Paul
fba8e84e5e Group conditions 2017-11-15 12:09:19 +00:00
Blottiere Paul
74e3323db6 Never return a feature if the fid is negative 2017-11-15 12:09:19 +00:00