43896 Commits

Author SHA1 Message Date
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
Blottiere Paul
f25ea5b6ba Add some tests with cross join 2017-11-15 12:09:19 +00:00
Blottiere Paul
d0d88e440a Fixes #16798 FilterFid feature requests with virtual layers 2017-11-15 12:09:19 +00:00
David
b02133f89c Use id in gui if name is empty and crop layerid-part in the generated id
The name can be empty, so use the id instead in the combo box. To avoid so long ids, the part taken from the layerid in the relation id is cropped to 10 signs. They are unique anyway because there is used a suffix counting up.
2017-11-15 12:26:35 +01:00
David
a49ed09769 Autogenerated relation names in dialog instead of ids
The autogenerated ids are quite long and this leads that they where very unconfortable to use in the configuration of relation reference in the attribute type widget of layer properties - attribute form. So now the names are used in the combo instead of the ids. This effects only the GUI.

Fix: #17441
2017-11-15 12:26:35 +01:00
Nyall Dawson
ac574e231a Fix build 2017-11-15 21:19:41 +10:00
Nyall Dawson
3734a0d677 Fix tests 2017-11-15 20:51:05 +10:00
Nyall Dawson
75885d70d5 Rename various WKT/WKB/GeoJSON/GML methods for consistency
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Nyall Dawson
95765a191a Remove coordinate formatting methods from QgsPointXY
Use QgsCoordinateFormatter instead
2017-11-15 20:49:45 +10:00
Nyall Dawson
0d7b828bda Update code, formatting 2017-11-15 20:49:45 +10:00
Nyall Dawson
8fd8b6ebf1 Update sip bindings 2017-11-15 20:49:45 +10:00
Nyall Dawson
916c56b937 Initial implementation of QgsCoordinateFormatter 2017-11-15 20:49:45 +10:00
Sandro Mani
80ad1632a1
[Geometry checker] Remove unused include 2017-11-15 11:13:17 +01:00
Alessandro Pasotti
2a8ea5dc30 [auth] Simplify code and add a *.* filter for certs and keys selection 2017-11-15 11:00:44 +01:00
Alessandro Pasotti
0c2e226efe
Merge pull request #5633 from slarosa/fix_17466
Fixes #17466: DB Manager does not refresh correctly map in layer preview
2017-11-15 10:57:02 +01:00
Tim Sutton
364ddc1de4
Fix #17444 : GeoNode data provider completely ignores authentication (#5634)
* Fix #17444 : GeoNode data provider completely ignores authentication - hide the authentication group until GeoNode API supports authentication.
2017-11-15 11:55:25 +02:00
Borys Jurgiel
6d01543527 Fix missing toolbar tooltips 2017-11-15 10:26:47 +01:00
Matthias Kuhn
ecd4ee1731 Destroy spatialite context after closing database
According to instructions in https://groups.google.com/forum/#!msg/spatialite-users/83SOajOJ2JU/sgi5fuYAVVkJ
2017-11-15 08:51:17 +01:00
Matthias Kuhn
35808f199b delete spatialite_database_unique_ptr::reset( sqlite3 * ) 2017-11-15 08:51:17 +01:00
Matthias Kuhn
48e8656f17 Code improvement 2017-11-15 08:51:17 +01:00
Matthias Kuhn
4d20a395f4 Avoid recreating spatialite handles 2017-11-15 08:51:17 +01:00
Matthias Kuhn
124f3df10d Use member functions over sqlite3 api 2017-11-15 08:51:17 +01:00
Matthias Kuhn
716ed6b7d9 Prevent memory leaks 2017-11-15 08:51:17 +01:00
Matthias Kuhn
447cd18a27 Improve chances for copy elision 2017-11-15 08:51:17 +01:00
Matthias Kuhn
2b6d1f8882 Move spatialite context management to deleter 2017-11-15 08:51:17 +01:00
Matthias Kuhn
43329f50d6 Const correctness for sqlite_database_unique_ptr 2017-11-15 08:51:17 +01:00
Matthias Kuhn
c5667db9f4 Switch geopackage dataitem to RAII sqlite3 2017-11-15 08:51:17 +01:00
Matthias Kuhn
a58ff72387 Switch QgsStyle to RAII sqlite3 2017-11-15 08:51:17 +01:00
Matthias Kuhn
cf1ace897b Switch map layer to RAII sqlite3 2017-11-15 08:51:17 +01:00
Matthias Kuhn
c713878a4e Switch new spatialite layer dialog to RAII spatialite 2017-11-15 08:51:17 +01:00