[Git][debian-gis-team/qgis][master] 4 commits: New upstream version 2.18.23+dfsg

Bas Couwenberg gitlab at salsa.debian.org
Fri Aug 17 17:37:40 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / qgis


Commits:
9b0f2d43 by Bas Couwenberg at 2018-08-17T13:12:04Z
New upstream version 2.18.23+dfsg
- - - - -
e63631fc by Bas Couwenberg at 2018-08-17T13:19:18Z
Merge tag 'upstream/2.18.23+dfsg'

Upstream version 2.18.23+dfsg

- - - - -
05c16dbd by Bas Couwenberg at 2018-08-17T15:10:08Z
New upstream release.

- - - - -
3cf2ee42 by Bas Couwenberg at 2018-08-17T15:10:08Z
Set distribution to experimental.

- - - - -


28 changed files:

- CMakeLists.txt
- ChangeLog
- debian/changelog
- debian/control
- debian/libqgis-analysis2.18.22.install → debian/libqgis-analysis2.18.23.install
- debian/libqgis-analysis2.18.22.symbols → debian/libqgis-analysis2.18.23.symbols
- debian/libqgis-app2.18.22.install → debian/libqgis-app2.18.23.install
- debian/libqgis-app2.18.22.symbols → debian/libqgis-app2.18.23.symbols
- debian/libqgis-core2.18.22.install → debian/libqgis-core2.18.23.install
- debian/libqgis-core2.18.22.symbols → debian/libqgis-core2.18.23.symbols
- debian/libqgis-gui2.18.22.install → debian/libqgis-gui2.18.23.install
- debian/libqgis-gui2.18.22.symbols → debian/libqgis-gui2.18.23.symbols
- debian/libqgis-networkanalysis2.18.22.install → debian/libqgis-networkanalysis2.18.23.install
- debian/libqgis-networkanalysis2.18.22.symbols → debian/libqgis-networkanalysis2.18.23.symbols
- debian/libqgis-server2.18.22.install → debian/libqgis-server2.18.23.install
- debian/libqgis-server2.18.22.symbols → debian/libqgis-server2.18.23.symbols
- debian/libqgisgrass7-2.18.22.install → debian/libqgisgrass7-2.18.23.install
- debian/libqgisgrass7-2.18.22.lintian-overrides → debian/libqgisgrass7-2.18.23.lintian-overrides
- debian/libqgisgrass7-2.18.22.symbols → debian/libqgisgrass7-2.18.23.symbols
- debian/libqgispython2.18.22.install → debian/libqgispython2.18.23.install
- debian/libqgispython2.18.22.symbols → debian/libqgispython2.18.23.symbols
- python/plugins/db_manager/ui/DlgSqlLayerWindow.ui
- python/plugins/db_manager/ui/DlgSqlWindow.ui
- python/plugins/processing/gui/Postprocessing.py
- src/app/dwg/qgsdwgimporter.cpp
- src/app/qgsclipboard.cpp
- tests/src/app/testqgisappclipboard.cpp
- tests/src/python/test_qgsfiledownloader.py


Changes:

=====================================
CMakeLists.txt
=====================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 SET(CPACK_PACKAGE_VERSION_MAJOR "2")
 SET(CPACK_PACKAGE_VERSION_MINOR "18")
-SET(CPACK_PACKAGE_VERSION_PATCH "22")
+SET(CPACK_PACKAGE_VERSION_PATCH "23")
 SET(COMPLETE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
 SET(RELEASE_NAME "Las Palmas")
 IF (POLICY CMP0048) # in CMake 3.0.0+


=====================================
ChangeLog
=====================================
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,38 @@
+Radoslaw Guzinski <radosuav at op.pl>	2018-08-09
+
+    [Processing] Fix exception when producing a csv output.
+
+    Previously "name" was not defined.
+
+Nyall Dawson <nyall.dawson at gmail.com>	2018-08-14
+
+    Expand unit test coverage
+
+    (cherry-picked from 079c9fa6b6)
+
+Marco Hugentobler <marco.hugentobler at sourcepole.ch>	2018-08-09
+
+    Fix copy/paste using text format between projects
+
+Faneva <fanevanjanahary at gmail.com>	2018-02-19
+
+    [dbmanager] fix shortcut execute query
+
+Nyall Dawson <nyall.dawson at gmail.com>	2018-08-10
+
+    Fix failing test
+
+    The returned ssl errors have changed due to the external
+    site.
+
+Juergen E. Fischer <jef at norbit.de>	2018-08-02
+
+    dwg import: handle filenames with utf8 characters
+
+Juergen E. Fischer <jef at norbit.de>	2018-07-20
+
+    Release of 2.18.22
+
 Blottiere Paul <blottiere.paul at gmail.com>	2018-07-20
 
     Increases number of pages


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+qgis (2.18.23+dfsg-1~exp1) experimental; urgency=medium
+
+  [ Jürgen E. Fischer ]
+  * Release of 2.18.23
+
+  [ Bas Couwenberg ]
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 17 Aug 2018 15:30:51 +0200
+
 qgis (2.18.22+dfsg-2) UNRELEASED; urgency=medium
 
   * Bump Standards-Version to 4.2.0, no changes.


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -111,7 +111,7 @@ Description: QGIS - architecture-independent data
  This package contains architecture-independent supporting data files for use
  with QGIS.
 
-Package: libqgis-app2.18.22
+Package: libqgis-app2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -122,7 +122,7 @@ Description: QGIS - shared app library
  .
  This package contains the shared app library.
 
-Package: libqgis-core2.18.22
+Package: libqgis-core2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -133,7 +133,7 @@ Description: QGIS - shared core library
  .
  This package contains the shared core library.
 
-Package: libqgis-gui2.18.22
+Package: libqgis-gui2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -144,7 +144,7 @@ Description: QGIS - shared gui library
  .
  This package contains the shared gui library.
 
-Package: libqgis-analysis2.18.22
+Package: libqgis-analysis2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -155,7 +155,7 @@ Description: QGIS - shared analysis library
  .
  This package contains the shared analysis library.
 
-Package: libqgis-networkanalysis2.18.22
+Package: libqgis-networkanalysis2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -166,7 +166,7 @@ Description: QGIS - shared network analysis library
  .
  This package contains the shared network analysis library.
 
-Package: libqgisgrass7-2.18.22
+Package: libqgisgrass7-2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -177,7 +177,7 @@ Description: QGIS - shared grass library
  .
  This package contains the shared grass library.
 
-Package: libqgispython2.18.22
+Package: libqgispython2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -208,7 +208,7 @@ Description: QGIS custom widgets for Qt Designer
  .
  This package contains a library to use specific QGIS widgets in Qt Designer.
 
-Package: libqgis-server2.18.22
+Package: libqgis-server2.18.23
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -229,14 +229,14 @@ Depends: grass-dev (>= 7.4.0),
          libgsl-dev,
          libpq-dev,
          libproj-dev,
-         libqgis-app2.18.22 (= ${binary:Version}),
-         libqgis-core2.18.22 (= ${binary:Version}),
-         libqgis-gui2.18.22 (= ${binary:Version}),
-         libqgis-analysis2.18.22 (= ${binary:Version}),
-         libqgis-networkanalysis2.18.22 (= ${binary:Version}),
-         libqgis-server2.18.22 (= ${binary:Version}),
-         libqgisgrass7-2.18.22 (= ${binary:Version}),
-         libqgispython2.18.22 (= ${binary:Version}),
+         libqgis-app2.18.23 (= ${binary:Version}),
+         libqgis-core2.18.23 (= ${binary:Version}),
+         libqgis-gui2.18.23 (= ${binary:Version}),
+         libqgis-analysis2.18.23 (= ${binary:Version}),
+         libqgis-networkanalysis2.18.23 (= ${binary:Version}),
+         libqgis-server2.18.23 (= ${binary:Version}),
+         libqgisgrass7-2.18.23 (= ${binary:Version}),
+         libqgispython2.18.23 (= ${binary:Version}),
          libqt4-dev (>= 4.7.0),
          libsqlite3-dev,
          python-qt4 (>= 4.1.0),
@@ -343,7 +343,7 @@ Depends: python-qgis-common (= ${source:Version}),
          python-six,
          python-tz,
          python-yaml,
-         libqgispython2.18.22,
+         libqgispython2.18.23,
          ${shlibs:Depends},
          ${python:Depends},
          ${misc:Depends},


=====================================
debian/libqgis-analysis2.18.22.install → debian/libqgis-analysis2.18.23.install
=====================================


=====================================
debian/libqgis-analysis2.18.22.symbols → debian/libqgis-analysis2.18.23.symbols
=====================================
--- a/debian/libqgis-analysis2.18.22.symbols
+++ b/debian/libqgis-analysis2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.22 i386
-libqgis_analysis.so.2.18.22 #PACKAGE# #MINVER#
+libqgis_analysis.so.2.18.23 #PACKAGE# #MINVER#
  _ZN12TriDecorator10calcNormalEddP8Vector3D at Base 2.0.1
  _ZN12TriDecorator11getTriangleEddP7Point3DPiS1_S2_S1_S2_ at Base 2.0.1
  _ZN12TriDecorator11getTriangleEddP7Point3DS1_S1_ at Base 2.0.1


=====================================
debian/libqgis-app2.18.22.install → debian/libqgis-app2.18.23.install
=====================================


=====================================
debian/libqgis-app2.18.22.symbols → debian/libqgis-app2.18.23.symbols
=====================================
--- a/debian/libqgis-app2.18.22.symbols
+++ b/debian/libqgis-app2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.22 amd64 arm64 armel armhf mips powerpc ppc64 ppc64el s390x
-libqgis_app.so.2.18.22 #PACKAGE# #MINVER#
+libqgis_app.so.2.18.23 #PACKAGE# #MINVER#
  (optional=templinst|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386)_Z10qDeleteAllI5QListIPN13QFormInternal11DomPropertyEEEvRKT_ at Base 2.14.18
  (optional=templinst)_Z13qvariant_castI26QUiTranslatableStringValueET_RK8QVariant at Base 2.14.0
  (optional=templinst|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386)_Z13qvariant_castI5QIconET_RK8QVariant at Base 2.14.18


=====================================
debian/libqgis-core2.18.22.install → debian/libqgis-core2.18.23.install
=====================================


=====================================
debian/libqgis-core2.18.22.symbols → debian/libqgis-core2.18.23.symbols
=====================================
--- a/debian/libqgis-core2.18.22.symbols
+++ b/debian/libqgis-core2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.22 amd64 arm64 armel armhf i386 mips powerpc ppc64 ppc64el s390x
-libqgis_core.so.2.18.22 #PACKAGE# #MINVER#
+libqgis_core.so.2.18.23 #PACKAGE# #MINVER#
  GEOPROJ4 at Base 2.0.1
  GEOWKT at Base 2.0.1
  GEO_EPSG_CRS_AUTHID at Base 2.0.1
@@ -1157,36 +1157,36 @@ libqgis_core.so.2.18.22 #PACKAGE# #MINVER#
  _ZN14QgsApplication15activeThemePathEv at Base 2.0.1
  _ZN14QgsApplication15authorsFilePathEv at Base 2.0.1
  _ZN14QgsApplication15licenceFilePathEv at Base 2.0.1
- _ZN14QgsApplication15mThemeName21822E at Base 2.18.22
+ _ZN14QgsApplication15mThemeName21823E at Base 2.18.23
  _ZN14QgsApplication15settingsChangedEv at Base 2.14.5
  _ZN14QgsApplication15shortNameRegExpEv at Base 2.14.0
  _ZN14QgsApplication15userStyleV2PathEv at Base 2.0.1
  _ZN14QgsApplication16defaultThemePathEv at Base 2.0.1
- _ZN14QgsApplication16mConfigPath21822E at Base 2.18.22
- _ZN14QgsApplication16mMaxThreads21822E at Base 2.18.22
- _ZN14QgsApplication16mPluginPath21822E at Base 2.18.22
- _ZN14QgsApplication16mPrefixPath21822E at Base 2.18.22
+ _ZN14QgsApplication16mConfigPath21823E at Base 2.18.23
+ _ZN14QgsApplication16mMaxThreads21823E at Base 2.18.23
+ _ZN14QgsApplication16mPluginPath21823E at Base 2.18.23
+ _ZN14QgsApplication16mPrefixPath21823E at Base 2.18.23
  _ZN14QgsApplication16reportStyleSheetEv at Base 2.0.1
  _ZN14QgsApplication16setAuthDbDirPathERK7QString at Base 2.14.0
  _ZN14QgsApplication16sponsorsFilePathEv at Base 2.0.1
  _ZN14QgsApplication16staticMetaObjectE at Base 2.0.1
  _ZN14QgsApplication16userThemesFolderEv at Base 2.14.0
  _ZN14QgsApplication17createThemeFolderEv at Base 2.14.0
- _ZN14QgsApplication17mLibexecPath21822E at Base 2.18.22
- _ZN14QgsApplication17mLibraryPath21822E at Base 2.18.22
- _ZN14QgsApplication17mPkgDataPath21822E at Base 2.18.22
- _ZN14QgsApplication17mUIThemeName21822E at Base 2.18.22
+ _ZN14QgsApplication17mLibexecPath21823E at Base 2.18.23
+ _ZN14QgsApplication17mLibraryPath21823E at Base 2.18.23
+ _ZN14QgsApplication17mPkgDataPath21823E at Base 2.18.23
+ _ZN14QgsApplication17mUIThemeName21823E at Base 2.18.23
  _ZN14QgsApplication17restoreGdalDriverERK7QString at Base 2.14.0
  _ZN14QgsApplication18defaultStyleV2PathEv at Base 2.0.1
- _ZN14QgsApplication18mGdalSkipList21822E at Base 2.18.22
+ _ZN14QgsApplication18mGdalSkipList21823E at Base 2.18.23
  _ZN14QgsApplication18qgisAuthDbFilePathEv at Base 2.14.0
  _ZN14QgsApplication18qgisUserDbFilePathEv at Base 2.0.1
  _ZN14QgsApplication18registerOgrDriversEv at Base 2.0.1
  _ZN14QgsApplication18setDefaultSvgPathsERK11QStringList at Base 2.0.1
  _ZN14QgsApplication19defaultThemesFolderEv at Base 2.14.0
  _ZN14QgsApplication19emitSettingsChangedEv at Base 2.14.5
- _ZN14QgsApplication19mAuthDbDirPath21822E at Base 2.18.22
- _ZN14QgsApplication19mSystemEnvVars21822E at Base 2.18.22
+ _ZN14QgsApplication19mAuthDbDirPath21823E at Base 2.18.23
+ _ZN14QgsApplication19mSystemEnvVars21823E at Base 2.18.23
  _ZN14QgsApplication19qgisSettingsDirPathEv at Base 2.0.1
  _ZN14QgsApplication19translatorsFilePathEv at Base 2.0.1
  _ZN14QgsApplication20contributorsFilePathEv at Base 2.0.1
@@ -1194,18 +1194,18 @@ libqgis_core.so.2.18.22 #PACKAGE# #MINVER#
  _ZN14QgsApplication21QGIS_APPLICATION_NAMEE at Base 2.4.0
  _ZN14QgsApplication21composerTemplatePathsEv at Base 2.14.0
  _ZN14QgsApplication21developersMapFilePathEv at Base 2.8.0
- _ZN14QgsApplication21mBuildOutputPath21822E at Base 2.18.22
- _ZN14QgsApplication21mBuildSourcePath21822E at Base 2.18.22
- _ZN14QgsApplication21mDefaultSvgPaths21822E at Base 2.18.22
+ _ZN14QgsApplication21mBuildOutputPath21823E at Base 2.18.23
+ _ZN14QgsApplication21mBuildSourcePath21823E at Base 2.18.23
+ _ZN14QgsApplication21mDefaultSvgPaths21823E at Base 2.18.23
  _ZN14QgsApplication22QGIS_ORGANIZATION_NAMEE at Base 2.4.0
  _ZN14QgsApplication23applyGdalSkippedDriversEv at Base 2.0.1
- _ZN14QgsApplication23mFileOpenEventList21822E at Base 2.18.22
+ _ZN14QgsApplication23mFileOpenEventList21823E at Base 2.18.23
  _ZN14QgsApplication24QGIS_ORGANIZATION_DOMAINE at Base 2.4.0
  _ZN14QgsApplication24setFileOpenEventReceiverEP7QObject at Base 2.0.1
- _ZN14QgsApplication25mRunningFromBuildDir21822E at Base 2.18.22
+ _ZN14QgsApplication25mRunningFromBuildDir21823E at Base 2.18.23
  _ZN14QgsApplication26absolutePathToRelativePathERK7QStringS2_ at Base 2.14.0
  _ZN14QgsApplication26relativePathToAbsolutePathERK7QStringS2_ at Base 2.14.0
- _ZN14QgsApplication27mFileOpenEventReceiver21822E at Base 2.18.22
+ _ZN14QgsApplication27mFileOpenEventReceiver21823E at Base 2.18.23
  _ZN14QgsApplication4initE7QString at Base 2.0.1
  _ZN14QgsApplication5eventEP6QEvent at Base 2.0.1
  _ZN14QgsApplication6endianEv at Base 2.0.1


=====================================
debian/libqgis-gui2.18.22.install → debian/libqgis-gui2.18.23.install
=====================================


=====================================
debian/libqgis-gui2.18.22.symbols → debian/libqgis-gui2.18.23.symbols
=====================================
--- a/debian/libqgis-gui2.18.22.symbols
+++ b/debian/libqgis-gui2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.22 amd64 arm64 armel armhf i386 mips s390x
-libqgis_gui.so.2.18.22 #PACKAGE# #MINVER#
+libqgis_gui.so.2.18.23 #PACKAGE# #MINVER#
  (optional=templinst|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386 !x32)_Z10qDeleteAllI5QListIPN13QFormInternal11DomPropertyEEEvRKT_ at Base 2.14.16
  (optional=templinst)_Z13qvariant_castI26QUiTranslatableStringValueET_RK8QVariant at Base 2.0.1
  (optional=templinst|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386 !x32)_Z13qvariant_castI5QIconET_RK8QVariant at Base 2.14.16


=====================================
debian/libqgis-networkanalysis2.18.22.install → debian/libqgis-networkanalysis2.18.23.install
=====================================


=====================================
debian/libqgis-networkanalysis2.18.22.symbols → debian/libqgis-networkanalysis2.18.23.symbols
=====================================
--- a/debian/libqgis-networkanalysis2.18.22.symbols
+++ b/debian/libqgis-networkanalysis2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.19 i386
-libqgis_networkanalysis.so.2.18.22 #PACKAGE# #MINVER#
+libqgis_networkanalysis.so.2.18.23 #PACKAGE# #MINVER#
  _ZN11QgsGraphArcC1Ev at Base 2.0.1
  _ZN11QgsGraphArcC2Ev at Base 2.0.1
  _ZN14QgsGraphVertexC1ERK8QgsPoint at Base 2.0.1


=====================================
debian/libqgis-server2.18.22.install → debian/libqgis-server2.18.23.install
=====================================


=====================================
debian/libqgis-server2.18.22.symbols → debian/libqgis-server2.18.23.symbols
=====================================
--- a/debian/libqgis-server2.18.22.symbols
+++ b/debian/libqgis-server2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.22 amd64 arm64 armel mips
-libqgis_server.so.2.18.22 #PACKAGE# #MINVER#
+libqgis_server.so.2.18.23 #PACKAGE# #MINVER#
  _ZN14QgsConfigCache11qt_metacallEN11QMetaObject4CallEiPPv at Base 2.8.0
  _ZN14QgsConfigCache11qt_metacastEPKc at Base 2.8.0
  _ZN14QgsConfigCache11removeEntryERK7QString at Base 2.18.17


=====================================
debian/libqgisgrass7-2.18.22.install → debian/libqgisgrass7-2.18.23.install
=====================================


=====================================
debian/libqgisgrass7-2.18.22.lintian-overrides → debian/libqgisgrass7-2.18.23.lintian-overrides
=====================================


=====================================
debian/libqgisgrass7-2.18.22.symbols → debian/libqgisgrass7-2.18.23.symbols
=====================================
--- a/debian/libqgisgrass7-2.18.22.symbols
+++ b/debian/libqgisgrass7-2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.18.17 alpha amd64 arm64 armel armhf i386 mips mips64el mipsel powerpc ppc64 ppc64el s390x
-libqgisgrass7.so.2.18.22 #PACKAGE# #MINVER#
+libqgisgrass7.so.2.18.23 #PACKAGE# #MINVER#
  _ZN11QgsGrassWin10hideWindowEi at Base 2.14.0
  _ZN12QgsGrassCopy11qt_metacallEN11QMetaObject4CallEiPPv at Base 2.14.0
  _ZN12QgsGrassCopy11qt_metacastEPKc at Base 2.14.0


=====================================
debian/libqgispython2.18.22.install → debian/libqgispython2.18.23.install
=====================================


=====================================
debian/libqgispython2.18.22.symbols → debian/libqgispython2.18.23.symbols
=====================================
--- a/debian/libqgispython2.18.22.symbols
+++ b/debian/libqgispython2.18.23.symbols
@@ -1,5 +1,5 @@
 # SymbolsHelper-Confirmed: 2.14.0 amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64el s390x
-libqgispython.so.2.18.22 #PACKAGE# #MINVER#
+libqgispython.so.2.18.23 #PACKAGE# #MINVER#
  _ZTI14QgsPythonUtils at Base 2.0.1
  _ZTS14QgsPythonUtils at Base 2.0.1
  instance at Base 2.0.1


=====================================
python/plugins/db_manager/ui/DlgSqlLayerWindow.ui
=====================================
--- a/python/plugins/db_manager/ui/DlgSqlLayerWindow.ui
+++ b/python/plugins/db_manager/ui/DlgSqlLayerWindow.ui
@@ -151,11 +151,14 @@ columns</string>
         <layout class="QHBoxLayout">
          <item>
           <widget class="QPushButton" name="btnExecute">
+           <property name="toolTip">
+            <string>Execute query (Ctrl+R)</string>
+           </property>
            <property name="text">
-            <string>&Execute (F5)</string>
+            <string>Execute</string>
            </property>
            <property name="shortcut">
-            <string>F5</string>
+            <string>Ctrl+R</string>
            </property>
           </widget>
          </item>


=====================================
python/plugins/db_manager/ui/DlgSqlWindow.ui
=====================================
--- a/python/plugins/db_manager/ui/DlgSqlWindow.ui
+++ b/python/plugins/db_manager/ui/DlgSqlWindow.ui
@@ -322,11 +322,14 @@ unique values</string>
         <layout class="QHBoxLayout">
          <item>
           <widget class="QPushButton" name="btnExecute">
+           <property name="toolTip">
+            <string>Execute query (Ctrl+R)</string>
+           </property>
            <property name="text">
-            <string>&Execute (F5)</string>
+            <string>Execute</string>
            </property>
            <property name="shortcut">
-            <string>F5</string>
+            <string>Ctrl+R</string>
            </property>
           </widget>
          </item>


=====================================
python/plugins/processing/gui/Postprocessing.py
=====================================
--- a/python/plugins/processing/gui/Postprocessing.py
+++ b/python/plugins/processing/gui/Postprocessing.py
@@ -60,7 +60,8 @@ def handleAlgorithmResults(alg, progress=None, showResults=True):
         progress.setPercentage(100 * i / float(len(alg.outputs)))
         if out.hidden or not out.open:
             continue
-        if isinstance(out, (OutputRaster, OutputVector, OutputTable)):
+        if isinstance(out, (OutputRaster, OutputVector, OutputTable)) or \
+           (isinstance(out, OutputFile) and out.ext == 'csv'):
             try:
                 if hasattr(out, "layer") and out.layer is not None:
                     out.layer.setLayerName(out.description)
@@ -80,15 +81,6 @@ def handleAlgorithmResults(alg, progress=None, showResults=True):
                 ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
                                        "Error loading result layer:\n" + traceback.format_exc())
                 wrongLayers.append(out.description)
-        elif isinstance(out, OutputFile) and out.ext == 'csv':
-            try:
-                dataobjects.load(out.value, name, alg.crs,
-                                 RenderingStyles.getStyle(alg.commandLineName(),
-                                                          out.name))
-            except Exception:
-                ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
-                                       "Error loading result layer:\n" + traceback.format_exc())
-                wrongLayers.append(out.description)
         elif isinstance(out, OutputHTML):
             ProcessingResults.addResult(out.description, out.value)
             htmlResults = True


=====================================
src/app/dwg/qgsdwgimporter.cpp
=====================================
--- a/src/app/dwg/qgsdwgimporter.cpp
+++ b/src/app/dwg/qgsdwgimporter.cpp
@@ -623,7 +623,7 @@ bool QgsDwgImporter::import( const QString &drawing, QString &error, bool doExpa
   if ( fi.suffix().toLower() == "dxf" )
   {
     //loads dxf
-    QScopedPointer<dxfRW> dxf( new dxfRW( drawing.toUtf8() ) );
+    QScopedPointer<dxfRW> dxf( new dxfRW( drawing.toLocal8Bit() ) );
     if ( !dxf->read( this, false ) )
     {
       result = DRW::BAD_UNKNOWN;
@@ -632,7 +632,7 @@ bool QgsDwgImporter::import( const QString &drawing, QString &error, bool doExpa
   else if ( fi.suffix().toLower() == "dwg" )
   {
     //loads dwg
-    QScopedPointer<dwgR> dwg( new dwgR( drawing.toUtf8() ) );
+    QScopedPointer<dwgR> dwg( new dwgR( drawing.toLocal8Bit() ) );
     if ( !dwg->read( this, false ) )
     {
       result = dwg->getError();


=====================================
src/app/qgsclipboard.cpp
=====================================
--- a/src/app/qgsclipboard.cpp
+++ b/src/app/qgsclipboard.cpp
@@ -185,27 +185,39 @@ QgsFeatureList QgsClipboard::stringToFeatureList( const QString& string, const Q
   if ( values.isEmpty() || string.isEmpty() )
     return features;
 
+  QgsFields sourceFields = retrieveFields();
+
   Q_FOREACH ( const QString& row, values )
   {
     // Assume that it's just WKT for now. because GeoJSON is managed by
     // previous QgsOgrUtils::stringToFeatureList call
     // Get the first value of a \t separated list. WKT clipboard pasted
     // feature has first element the WKT geom.
-    // This split is to fix te following issue: https://issues.qgis.org/issues/16870
+    // This split is to fix the following issue: https://issues.qgis.org/issues/16870
     // Value separators are set in generateClipboardText
     QStringList fieldValues = row.split( '\t' );
     if ( fieldValues.isEmpty() )
       continue;
 
-    QgsGeometry *geometry = QgsGeometry::fromWkt( fieldValues[0] );
-    if ( !geometry )
-      continue;
-
     QgsFeature feature;
-    if ( !fields.isEmpty() )
-      feature.setFields( fields, true );
+    feature.setFields( sourceFields );
+    feature.initAttributes( fieldValues.size() - 1 );
+
+    //skip header line
+    if ( fieldValues.at( 0 ) == QLatin1String( "wkt_geom" ) )
+    {
+      continue;
+    }
 
-    feature.setGeometry( geometry );
+    for ( int i = 1; i < fieldValues.size(); ++i )
+    {
+      feature.setAttribute( i - 1, fieldValues.at( i ) );
+    }
+    QgsGeometry* geometry = QgsGeometry::fromWkt( fieldValues[0] );
+    if ( geometry )
+    {
+      feature.setGeometry( geometry );
+    }
     features.append( feature );
   }
 
@@ -222,7 +234,35 @@ QgsFields QgsClipboard::retrieveFields() const
   QString string = cb->text( QClipboard::Clipboard );
 #endif
 
-  return QgsOgrUtils::stringToFields( string, QTextCodec::codecForName( "System" ) );
+  QgsFields f = QgsOgrUtils::stringToFields( string, QTextCodec::codecForName( "System" ) );
+  if ( f.size() < 1 )
+  {
+    if ( string.isEmpty() )
+    {
+      return f;
+    }
+    //wkt?
+    QStringList lines = string.split( '\n' );
+    if ( !lines.empty() )
+    {
+      QStringList fieldNames = lines.at( 0 ).split( '\t' );
+      //wkt / text always has wkt_geom as first attribute (however values can be NULL)
+      if ( fieldNames.at( 0 ) != QLatin1String( "wkt_geom" ) )
+      {
+        return f;
+      }
+      for ( int i = 0; i < fieldNames.size(); ++i )
+      {
+        QString fieldName = fieldNames.at( i );
+        if ( fieldName == QLatin1String( "wkt_geom" ) )
+        {
+          continue;
+        }
+        f.append( QgsField( fieldName, QVariant::String ) );
+      }
+    }
+  }
+  return f;
 }
 
 QgsFeatureList QgsClipboard::copyOf( const QgsFields &fields ) const


=====================================
tests/src/app/testqgisappclipboard.cpp
=====================================
--- a/tests/src/app/testqgisappclipboard.cpp
+++ b/tests/src/app/testqgisappclipboard.cpp
@@ -236,10 +236,71 @@ void TestQgisAppClipboard::pasteWkt()
   QCOMPARE( point->x(), 125.0 );
   QCOMPARE( point->y(), 10.0 );
 
-  // only fields => no geom so no feature list is returned
-  mQgisApp->clipboard()->setText( "MNL\t11\t282\tkm\t\nMNL\t11\t347.80000000000001\tkm\t" );
+  //clipboard should support features without geometry
+  mQgisApp->clipboard()->setText( "\tMNL\t11\t282\tkm\t\t\t\n\tMNL\t11\t347.80000000000001\tkm\t\t\t" );
   features = mQgisApp->clipboard()->copyOf();
-  QCOMPARE( features.length(), 0 );
+  QCOMPARE( features.length(), 2 );
+  QCOMPARE( features.at( 0 ).attributes().count(), 7 );
+  QCOMPARE( features.at( 0 ).attributes().at( 0 ).toString(), QString( "MNL" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 1 ).toString(), QString( "11" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 2 ).toString(), QString( "282" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 3 ).toString(), QString( "km" ) );
+  QVERIFY( features.at( 0 ).attributes().at( 4 ).toString().isEmpty() );
+  QVERIFY( features.at( 0 ).attributes().at( 5 ).toString().isEmpty() );
+  QVERIFY( features.at( 0 ).attributes().at( 6 ).toString().isEmpty() );
+  QCOMPARE( features.at( 1 ).attributes().count(), 7 );
+  QCOMPARE( features.at( 1 ).attributes().at( 0 ).toString(), QString( "MNL" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 1 ).toString(), QString( "11" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 2 ).toString(), QString( "347.80000000000001" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 3 ).toString(), QString( "km" ) );
+  QVERIFY( features.at( 1 ).attributes().at( 4 ).toString().isEmpty() );
+  QVERIFY( features.at( 1 ).attributes().at( 5 ).toString().isEmpty() );
+  QVERIFY( features.at( 1 ).attributes().at( 6 ).toString().isEmpty() );
+
+  mQgisApp->clipboard()->setText( QString( "wkt_geom\ta\tb\tc\n\tMNL\t11\t282\tkm\t\t\t\n\tMNL\t11\t347.80000000000001\tkm\t\t\t" ) );
+  features = mQgisApp->clipboard()->copyOf();
+  QCOMPARE( features.length(), 2 );
+  QCOMPARE( features.at( 0 ).fields()->count(), 3 );
+  QCOMPARE( features.at( 0 ).fields()->at( 0 ).name(), QString( "a" ) );
+  QCOMPARE( features.at( 0 ).fields()->at( 1 ).name(), QString( "b" ) );
+  QCOMPARE( features.at( 0 ).fields()->at( 2 ).name(), QString( "c" ) );
+  QCOMPARE( features.at( 0 ).attributes().count(), 7 );
+  QCOMPARE( features.at( 0 ).attributes().at( 0 ).toString(), QString( "MNL" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 1 ).toString(), QString( "11" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 2 ).toString(), QString( "282" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 3 ).toString(), QString( "km" ) );
+  QVERIFY( features.at( 0 ).attributes().at( 4 ).toString().isEmpty() );
+  QVERIFY( features.at( 0 ).attributes().at( 5 ).toString().isEmpty() );
+  QVERIFY( features.at( 0 ).attributes().at( 6 ).toString().isEmpty() );
+  QCOMPARE( features.at( 1 ).attributes().count(), 7 );
+  QCOMPARE( features.at( 1 ).attributes().at( 0 ).toString(), QString( "MNL" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 1 ).toString(), QString( "11" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 2 ).toString(), QString( "347.80000000000001" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 3 ).toString(), QString( "km" ) );
+  QVERIFY( features.at( 1 ).attributes().at( 4 ).toString().isEmpty() );
+  QVERIFY( features.at( 1 ).attributes().at( 5 ).toString().isEmpty() );
+  QVERIFY( features.at( 1 ).attributes().at( 6 ).toString().isEmpty() );
+
+  mQgisApp->clipboard()->setText( QString( "wkt_geom\ta\tb\tc\nNULL\t1\tb\t2\nNULL\t3\tc3\t4\nPoint (5 4)\t2\tb2\t3" ) );
+  features = mQgisApp->clipboard()->copyOf();
+  QCOMPARE( features.length(), 3 );
+  QCOMPARE( features.at( 0 ).fields()->count(), 3 );
+  QCOMPARE( features.at( 0 ).fields()->at( 0 ).name(), QString( "a" ) );
+  QCOMPARE( features.at( 0 ).fields()->at( 1 ).name(), QString( "b" ) );
+  QCOMPARE( features.at( 0 ).fields()->at( 2 ).name(), QString( "c" ) );
+  QCOMPARE( features.at( 0 ).attributes().count(), 3 );
+  QCOMPARE( features.at( 0 ).attributes().at( 0 ).toString(), QString( "1" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 1 ).toString(), QString( "b" ) );
+  QCOMPARE( features.at( 0 ).attributes().at( 2 ).toString(), QString( "2" ) );
+  QCOMPARE( features.at( 1 ).attributes().count(), 3 );
+  QCOMPARE( features.at( 1 ).attributes().at( 0 ).toString(), QString( "3" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 1 ).toString(), QString( "c3" ) );
+  QCOMPARE( features.at( 1 ).attributes().at( 2 ).toString(), QString( "4" ) );
+  QCOMPARE( features.at( 2 ).constGeometry()->exportToWkt(), QStringLiteral( "Point (5 4)" ) );
+  QCOMPARE( features.at( 2 ).attributes().count(), 3 );
+  QCOMPARE( features.at( 2 ).attributes().at( 0 ).toString(), QString( "2" ) );
+  QCOMPARE( features.at( 2 ).attributes().at( 1 ).toString(), QString( "b2" ) );
+  QCOMPARE( features.at( 2 ).attributes().at( 2 ).toString(), QString( "3" ) );
 }
 
 void TestQgisAppClipboard::pasteGeoJson()


=====================================
tests/src/python/test_qgsfiledownloader.py
=====================================
--- a/tests/src/python/test_qgsfiledownloader.py
+++ b/tests/src/python/test_qgsfiledownloader.py
@@ -134,7 +134,7 @@ class TestQgsFileDownloader(unittest.TestCase):
 
     def test_sslExpired(self):
         self.ssl_compare("expired", "https://expired.badssl.com/", "SSL Errors: ;The certificate has expired")
-        self.ssl_compare("self-signed", "https://self-signed.badssl.com/", "SSL Errors: ;The certificate is self-signed, and untrusted")
+        self.ssl_compare("self-signed", "https://self-signed.badssl.com/", "SSL Errors: ;The certificate has expired;The certificate is self-signed, and untrusted")
         self.ssl_compare("untrusted-root", "https://untrusted-root.badssl.com/", "No certificates could be verified;SSL Errors: ;The issuer certificate of a locally looked up certificate could not be found;The root CA certificate is not trusted for this purpose")
 
     def _set_slot(self, *args, **kwargs):



View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/compare/dadff0dc9951c99153cda28ada7b0c4831d59a1e...3cf2ee423d05a383e24fc7b44ba3e113927e5070

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/compare/dadff0dc9951c99153cda28ada7b0c4831d59a1e...3cf2ee423d05a383e24fc7b44ba3e113927e5070
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180817/f5fc8517/attachment-0001.html>


More information about the Pkg-grass-devel mailing list