31589 Commits

Author SHA1 Message Date
Bas Couwenberg
e4ecbb2667 Enable QSpatiaLite for travis qt5 builds. 2016-03-12 20:00:08 +01:00
Bas Couwenberg
12853b37fb Add support for Qt5 to qspatialite provider.
The detachFromResultSet() changes in qsql_spatialite.{cpp,h} are taken
from https://code.qt.io/cgit/qt/qtbase.git/commit/?id=fc15a1d5e2cb064d
by Mark Brand <mabrand@mabrand.nl>.

Additionally the sqlite3 & sqlite3_stmt types need to be declared as
opaque pointers per http://doc.qt.io/qt-5/qmetatype.html#Q_DECLARE_METATYPE

For Qt5 Q_PLUGIN_METADATA() should be used instead of Q_EXPORT_PLUGIN2()
per http://doc.qt.io/qt-5/qtquick-porting-qt5.html#qml-plugins
2016-03-12 17:33:23 +01:00
Nyall Dawson
3b40e2baa5 Fix broken $x_at, $y_at functions (fix #14462), add tests 2016-03-12 20:21:05 +11:00
Matthias Kuhn
51d6f5f513 Merge pull request #2894 from rouault/fix_spatialite_insert
Fix spatialite insert
2016-03-12 08:38:48 +01:00
Matthias Kuhn
9167e1b679 Merge pull request #2902 from sebastic/qt5-globe-plugin
Add Qt5OpenGL variables to include_directories() & target_link_libraries()
2016-03-12 07:38:01 +01:00
Bas Couwenberg
2c5d56484a Add Qt5OpenGL variables to include_directories() & target_link_libraries(). 2016-03-12 02:08:21 +01:00
Matthias Kuhn
3fd3dae35a Hide subform in N:M relations 2016-03-11 17:26:04 +01:00
Matthias Kuhn
29d2d28330 Run more tests in Qt5 setup 2016-03-11 13:21:07 +01:00
Sandro Santilli
73caf352cc Merge pull request #2892 from SebDieBln/Test_CanvasPanByKeyboard
added a test for panning the canvas by keyboard
2016-03-11 11:04:52 +01:00
Hugo Mercier
145f24676f Merge pull request #2895 from rouault/missing_include_path_in_virtual_provider
[virtual provider] Add SQLITE3_INCLUDE_DIR to CMakeLists.txt
2016-03-11 09:54:17 +01:00
Matthias Kuhn
6805ba955b Merge pull request #2896 from m-kuhn/container-qt5
Add Qt5/Python3 builds to travis
2016-03-11 08:26:04 +01:00
Matthias Kuhn
cd96169579 Add Qt5 builds to travis 2016-03-10 20:23:04 +01:00
Matthias Kuhn
8d72e9f44c Convert some asserts to self.asserXXX methods in py tests 2016-03-10 19:52:39 +01:00
Matthias Kuhn
e6198c6929 Fix some warnings on Qt5 builds 2016-03-10 19:52:39 +01:00
Matthias Kuhn
4cc5c2cb4c Add some debug output when GDALRasterIO operations fail
Or the compiler will complain about unhandled returns
2016-03-10 19:52:39 +01:00
Matthias Kuhn
3dc40d72c5 Conditionalize tests which depend on QtWebkit 2016-03-10 18:44:23 +01:00
Matthias Kuhn
264527a495 [PyQt5] make pyuic4-wrapper PyQt5 aware 2016-03-10 18:44:22 +01:00
Matthias Kuhn
aa293704f3 More debug output when dependencies are not found 2016-03-10 18:44:22 +01:00
Matthias Kuhn
ae6fad3dc4 Decapitalize FindSpatiaLite cmake file 2016-03-10 18:44:22 +01:00
Even Rouault
455a473a28 [virtual provider] Add SQLITE3_INCLUDE_DIR to CMakeLists.txt
The virtual provider depends directly on sqlite3.h, but fails to add
explictly its paths, relying on it to be present in the other used
included paths, which may be not always the case in some setups.
2016-03-10 14:47:27 +01:00
Even Rouault
b253a29aa4 Add debug message in case of failure in QgsSLConnect::sqlite3_close()
and in QgsSLConnect::sqlite3_close_v2() too. This can make spotting
issues like the one fixed in b0f2b970ac8918e5cb0ec566ecb491a57054a093
easier.
2016-03-10 12:50:27 +01:00
Even Rouault
b0f2b970ac [BUGFIX] [Spatialite] Finalize statement in addFeatures()
The sqlite3_prepare_v2() call in QgsSpatiaLiteProvider::addFeatures() is
not associated with a matching sqlite3_finalize(). Consequently at
time of sqlite3_close(), the later returns a SQLITE_BUSY error and
fails to close the file descriptor (can be checked by runing 'lsof' on
qgis process).
2016-03-10 12:47:23 +01:00
Matthias Kuhn
e6785ba513 Be more verbose on exceptions in geoalgorithms 2016-03-10 12:14:29 +01:00
Matthias Kuhn
61366583b1 [processing] Fix default argument is SilentProgress for GeoAlgorithm.execute() 2016-03-10 12:14:28 +01:00
Matthias Kuhn
a98fefd2f3 Merge pull request #2889 from m-kuhn/py3improvements
Simplify some python3 handling, refs #13686 (redmine)
2016-03-10 10:39:28 +01:00
Alexander Bruy
9b35a9885a Merge pull request #2890 from NaturalGIS/processing_better_grass7_r_cost
[processing] better GRASS 7 r.cost algorithms
2016-03-10 08:05:29 +02:00
Nyall Dawson
52621b9a55 Followup a112dfe, fix #14451 2016-03-10 14:10:17 +11:00
Nyall Dawson
8b34437192 Partially revert 3ec161 2016-03-10 12:59:58 +11:00
Nyall Dawson
3ec16131bc Indentation 2016-03-10 10:45:19 +11:00
Nyall Dawson
80afbeda93 Use doubles instead of float for min/max layer scales 2016-03-10 10:45:19 +11:00
Nyall Dawson
1563193707 Port more field iterating to Q_FOREACH, avoid some detachments 2016-03-10 10:45:19 +11:00
Nyall Dawson
0e5214cdec Don't crash when iterating empty QgsFields 2016-03-10 10:45:18 +11:00
Nyall Dawson
db69451a7d Add noexcept to astyle rules 2016-03-10 10:45:18 +11:00
Nyall Dawson
8389b7f703 Allow editing newly added diagram expression attributes (fix #14063) 2016-03-10 10:42:33 +11:00
Juergen E. Fischer
e62d8fe790 debian packaging update 2016-03-09 23:42:20 +01:00
Nyall Dawson
bb0ecf427f Fix reshape involving first/last vertex (fix #14443) 2016-03-10 07:53:23 +11:00
Nyall Dawson
3b4638ab83 Followup 01f615d 2016-03-10 07:43:25 +11:00
Nyall Dawson
01f615d0d0 Merge pull request #2888 from pvalsecc/scaleDenom
Scale based layer visibility cosmetics
2016-03-10 07:42:25 +11:00
rldhont
c55ef386de [BUGFIX][QGIS Server] To avoid infinite loop in layer creation
Insert layer in registry and cache before addValueRelationLayersForLayer
2016-03-09 17:44:49 +01:00
Sebastian Dietrich
4c88fc0372 added a test for panning the canvas by keyboard 2016-03-09 15:55:55 +01:00
Alexander Bruy
605e0c43fe [processing] don't show tip when user uses search and tip was disabled (fix #14379) 2016-03-09 14:21:54 +02:00
Giovanni Manghi
c4c67b0b59 Processing, better GRASS7 r.cost descriptions files names and parameters 2016-03-09 11:57:37 +00:00
Giovanni Manghi
2bcac17e7c Processing, better GRASS7 r.cost descriptions files names and parameters 2016-03-09 11:57:28 +00:00
Matthias Kuhn
a8590135b5 Deduplicate fieldNameIndex code 2016-03-09 12:41:14 +01:00
Matthias Kuhn
72764b2937 Simplfiy some python3 handling 2016-03-09 12:35:18 +01:00
Matthias Kuhn
f4c5106454 Switch some for-based loops over fields to Q_FOREACH 2016-03-09 12:19:26 +01:00
Nyall Dawson
f27d36cf66 Lower doxygen test threshold 2016-03-09 22:12:28 +11:00
Matthias Kuhn
8e4d5a8b69 Add const_iterator and iterator methods to QgsFields
Because using Q_FOREACH is so much easier to write than an index-based loop.
2016-03-09 12:07:33 +01:00
Matthias Kuhn
632601ba12 Python compatibility patch for 3.0-3.2 2016-03-09 12:07:32 +01:00
volaya
2ce4b8a7d0 Merge pull request #2883 from radosuav/zonal_statistics_fix
[Processing] Fix TypeError in Zonal Statistics algorithm
2016-03-09 11:40:46 +01:00