Nyall Dawson
5c7f4c7664
Merge pull request #3072 from rouault/qt5_fix_testqgsfield
...
Make qgis_fieldtest all Qt 5.X compatible
2016-05-16 07:04:43 +10:00
Even Rouault
c4819adea4
Merge remote-tracking branch 'rouault/fix_qt5_wfs_ogcutils_tests'
2016-05-15 21:30:56 +02:00
Even Rouault
202420c70a
Make qgis_fieldtest all Qt 5.X compatible
...
In https://codereview.qt-project.org/#/c/99815/ implemented in QT 5.5,
doubles are converted to strings using '%.17g', so short decimal values
might be expanded to long strings depending on their values.
https://wiki.qt.io/New_Features_in_Qt_5.7 has a logic to avoid this, but
if we select carefully the double to have both an exact binary and decimal
representation, that can work will all versions.
$ python -c "print('%.17g' % 9.7)"
9.6999999999999993
$ python -c "print('%.17g' % 1.25)"
1.25
2016-05-15 19:44:13 +02:00
Even Rouault
9a49c6aace
Make ogcutils and WFS tests Qt 5 compatible
2016-05-15 19:17:58 +02:00
Even Rouault
bf91a8b61b
WFS provider, connections dialog: change way that we select current index in the tree view of layers to be QT 5 compatible and not require showing the widget in tests
2016-05-15 19:17:57 +02:00
Nyall Dawson
63cab56839
Avoid iterating over temporary container
2016-05-15 20:50:45 +10:00
Nyall Dawson
a3d6227e2e
Avoid detaching temporary containers
2016-05-15 20:50:44 +10:00
Nyall Dawson
e25ffc4781
Avoid unnecessary temporary container and double iteration over
...
containers by directly iterating over container itself, rather
then iterating over .keys()/.values()
2016-05-15 20:50:44 +10:00
Nyall Dawson
77c4ed5054
Use more efficient QString multiple arg variant rather then
...
chaining .arg calls
2016-05-15 20:50:44 +10:00
Nyall Dawson
239865b708
Add missing references to Q_FOREACH loops
2016-05-15 20:50:43 +10:00
Nyall Dawson
0b940caccc
Use QString::at(0) instead of left(1), since it's more efficient
...
and doesn't allocate a QString
2016-05-15 20:50:43 +10:00
Nyall Dawson
1c1b8aac25
Switch private QList to more efficient QVector container
2016-05-15 20:50:43 +10:00
Nyall Dawson
d255bfb256
Remove unused variables, also avoid some unnecessary string creation
...
when not using debug builds
2016-05-15 20:50:42 +10:00
Nyall Dawson
bf76049d33
Fix some Coverity uninitialized variable warnings
2016-05-15 20:38:38 +10:00
Nyall Dawson
c732c68749
[travis] Run tests even with build failures on osx
2016-05-15 20:38:38 +10:00
Nyall Dawson
c1d84dee96
Include travis build name in dash results (ie qt5/qt4)
2016-05-15 20:38:38 +10:00
Nyall Dawson
57d114e2e2
Update test masks for Qt5, enable labeling tests
2016-05-15 20:38:38 +10:00
Even Rouault
e5e78af8a1
Fixes in qgswebframe.h and qgswebpage.h to fix building without QtWebKit
2016-05-14 20:45:01 +02:00
Jürgen Fischer
ae7666fad3
Merge pull request #3070 from sebastic/qtermwidget-hurd
...
Add support for GNU/Hurd to GRASS plugin qtermwidget/kpty.cpp.
2016-05-14 19:09:51 +02:00
Bas Couwenberg
666050c57c
Add support for GNU/Hurd to GRASS plugin qtermwidget/kpty.cpp.
...
The GNU/Hurd porting guidelines document the following:
"
Missing termio.h
Change it to use termios.h (check for it properly with autoconf
HAVE_TERMIOS_H or the __GLIBC__ macro)
Also, change calls to ioctl(fd, TCGETS, ...) and ioctl(fd, TCSETS, ...)
with tcgetattr(fd, ...) and tcsetattr(fd, ...).
"
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#Missing_termio_h_tt_
2016-05-14 18:45:32 +02:00
Even Rouault
45e7da15e1
OGR provider: fix Coverity warning about mFetchGeometry member being not always initialized
2016-05-14 17:57:00 +02:00
Even Rouault
349a618a9e
qgsgml & WFS provider: fix Coverity warnings introduced in recent WFS works
2016-05-14 14:42:34 +02:00
Even Rouault
abd182c50c
Merge pull request #3061 from rouault/saveas_human_readable_values
...
[FEATURE] Export vector layer with "human-readable" values from edit widgets
2016-05-14 14:23:10 +02:00
Even Rouault
90cc0ed495
QgsVectorLayerSaveAsDialog: add checkboxes to decide which fields should be exported with their displayed values, and bind it in QgisApp with QgsVectorFileWriter
2016-05-14 12:33:10 +02:00
Even Rouault
038b3b7950
QgsVectorFileWriter: add capability to export displayed values of fields (typically coming from edit widgets) instead of their raw values
2016-05-14 12:33:10 +02:00
aharfoot
cfb6100389
Disable FEATURE_DATASET layer option if its value is not set
2016-05-14 08:55:23 +02:00
Matthias Kuhn
894d520018
Merge pull request #2621 from simonsonc/georef-crosshairs
...
Make the georeferencer tool use a snapping cursor
2016-05-14 00:47:51 +02:00
Sebastian Dietrich
c5308754eb
[DbManager] allow to refresh materialized views
...
(fixes #13697 )
2016-05-14 00:41:20 +02:00
Matthias Kuhn
10134587ed
Add note for failing Qt5 test
2016-05-14 00:38:19 +02:00
Matthias Kuhn
a349e702cc
Fix from PyQt.xy
> from qgis.PyQt.xy
import leftovers
2016-05-14 00:38:19 +02:00
Matthias Kuhn
c315113ed0
Fix memory leak
2016-05-14 00:38:19 +02:00
Matthias Kuhn
27aca5c341
Fix typo
2016-05-14 00:21:50 +02:00
Matthias Kuhn
94e062728f
Unblacklist fixed Qt5 tests
2016-05-14 00:02:28 +02:00
Matthias Kuhn
af1de6e3e0
Migrate more tests to Python3
2016-05-14 00:02:20 +02:00
Matthias Kuhn
7dfc69657f
Migrate provider test to python 3
2016-05-13 22:23:03 +02:00
Matthias Kuhn
25f2e637c0
Remove references to QPyNullVariant
2016-05-13 22:23:03 +02:00
Matthias Kuhn
89b7a4aaa2
Introduce NULL QVariant to PyQt5
2016-05-13 22:23:03 +02:00
Matthias Kuhn
f48d0431a8
Merge pull request #3069 from sbrunner/connect
...
Directly use function connect, remove no more existing signals
2016-05-13 17:17:32 +02:00
Stéphane Brunner
d03821866e
Directly use function connect, remove no more existing signals
2016-05-13 17:15:12 +02:00
Matthias Kuhn
b1f59f3ed6
Merge pull request #3068 from sebastic/qtermwidget-kfreebsd
...
Add support for kFreeBSD to GRASS plugin.
2016-05-13 15:35:47 +02:00
Matthias Kuhn
8360936e89
Merge pull request #3059 from arnaud-morvan/canvas_saveasimage_with_annotations
...
Save as image with annotations
2016-05-13 14:18:26 +02:00
Alexander Bruy
ab3fef97aa
fix import (take 2)
2016-05-13 13:17:48 +03:00
arnaud.morvan@camptocamp.com
95b5548def
Save as image with annotations
2016-05-13 11:33:01 +02:00
Alexander Bruy
7c122a3a93
[processing] fix import
2016-05-13 11:11:33 +03:00
Even Rouault
d4d13a4a0a
Merge pull request #3018 from rouault/wfs_sql
...
[FEATURE] [WFS provider] Add support for WFS 2.0 joins and other improvements
2016-05-13 09:55:38 +02:00
Bas Couwenberg
9a48886412
Add support for kFreeBSD to grass plugin.
2016-05-13 09:03:43 +02:00
volaya
19f80601bf
[processing] remove toolbox dock widget when unloading plugin
2016-05-13 08:58:47 +02:00
Alexander Bruy
555fe3d911
[processing] simplify variables handling in scripts
2016-05-13 09:34:25 +03:00
Alexander Bruy
0c8f6f7fbb
fix indentation and typo
2016-05-13 09:32:13 +03:00
Alexander Bruy
730c5806aa
Merge branch 'processing_exps' of https://github.com/volaya/QGIS into processing_exps
...
Conflicts:
python/plugins/processing/gui/NumberInputPanel.py
python/plugins/processing/gui/OutputSelectionPanel.py
2016-05-13 09:26:55 +03:00