31633 Commits

Author SHA1 Message Date
Matthias Kuhn
a1243d58cb Merge pull request #2924 from nyalldawson/qt5_fix
Fix compilation on Qt5 versions < 5.5
2016-03-18 07:59:51 +01:00
Nyall Dawson
68f0e832ec Add qt5 test masks for compositions tests 2016-03-18 16:32:44 +11:00
Nyall Dawson
6b4f60970d Add masks for qt5 and enable atlas test 2016-03-18 16:32:44 +11:00
Nyall Dawson
da635d4069 Fix parsing of #rrggbbaa colors under Qt5 2016-03-18 16:32:44 +11:00
Nyall Dawson
6ea736805d Fix compilation on Qt5 < 5.5 2016-03-18 12:13:04 +11:00
Nyall Dawson
81d4d086d6 Merge pull request #2862 from nyalldawson/server_test_gdal
Fix PyQgsServer test on GDAL >= 2.0 and fix handling of longlong types
2016-03-18 09:12:51 +11:00
Matthias Kuhn
cc650f9370 Disable watchDog when plugin was loaded successfully 2016-03-17 15:10:26 +01:00
Matthias Kuhn
adc811ca98 Fix subform for relations are not shown
Followup 3fd3dae
Fix #14515
2016-03-17 14:24:20 +01:00
Matthias Kuhn
9e6866edb2 Merge pull request #2920 from bstroebl/testEliminate
[processing] Tests for eliminate
2016-03-17 13:16:08 +01:00
Juergen E. Fischer
09f6b918a5 * fix pyuic wrapper on windows
* fix PyQt wrapper installation on precise
2016-03-17 02:23:16 +01:00
Nyall Dawson
5c3c99cb3c Fix failing mssql provider test 2016-03-17 09:44:43 +11:00
Nyall Dawson
a0aba9865a Cleanup editor widget config dialogs
- Standardise capitalization
- Add external resource config to a scroll area, otherwise options may
be hidden
- Add clarification to classification widget description that it only
is available if categorized renderer set
- Improve appearence of layouts so all widgets are left aligned
2016-03-17 09:42:28 +11:00
Bernhard Ströbl
cd267b066c [processing] change field access 2016-03-16 16:34:56 +01:00
Matthias Kuhn
87e6ec0bce UI consistency "Rendering order..." to "Symbol levels..." 2016-03-16 15:25:07 +01:00
Bernhard Ströbl
bd64b4fd4c [processing] renew test results depending on polys.gml 2016-03-16 14:29:45 +01:00
Bernhard Ströbl
155e7128e0 [processing] change polygon test input 2016-03-16 14:17:08 +01:00
Bernhard Ströbl
02df48cf43 [processing] reflect changed test input in yaml file 2016-03-16 14:10:56 +01:00
Bernhard Ströbl
f73b572704 [processing] renew test output for eliminate 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
51bf08c1d3 [processing] change test input to have adjacent polygons 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
62a4db8c40 [BUG] run eliminate with non-editable input layer 2016-03-16 14:07:12 +01:00
Bernhard Ströbl
082b5757dc [processing] add test for eliminate algorithm 2016-03-16 14:05:39 +01:00
Bas Couwenberg
81c5f25a7f Don't require Python 3 for Qt5.
Use separate ENABLE_PYTHON3 option for Python 3.
2016-03-16 10:55:49 +01:00
Matthias Kuhn
f8175d33ef [processing] Move custom source data to separate folder 2016-03-16 08:56:27 +01:00
Bernhard Ströbl
b432bde1bf [processing] remove double quotes in test.yaml 2016-03-16 08:51:39 +01:00
Bernhard Ströbl
d7562eef95 [processing] add test for eliminate algorithm 2016-03-16 08:36:02 +01:00
Bernhard Ströbl
1dd7da4b3a [processing] eliminate: prepare input layer for test 2016-03-16 08:35:33 +01:00
Bernhard Ströbl
8a84152427 [processing] use proper way to access geometry 2016-03-16 08:35:33 +01:00
Nyall Dawson
5ae0445607 Drop doc test threshold 2016-03-16 12:39:42 +11:00
Nyall Dawson
5e08626051 Add QgsMapLayer::isSpatial() method
The current approach of testing !vl || vl->geometryType() != NoGeometry
is not intuitive and has been the source of 2 recent bugs.

Replacing these tests with the new isSpatial() function makes it
immediately obvious what is being tested. It also allows for
non-spatial plugin layers to be correctly handled by overriding
this method.
2016-03-16 12:38:16 +11:00
Matthias Kuhn
7de0757f56 GDAL 2.0 allows writing 64bit longlong integers
Fix #14411
2016-03-16 00:52:14 +01:00
Juergen E. Fischer
4089ed8f01 fix pyuic wrapper 2016-03-16 00:34:24 +01:00
Nyall Dawson
96c60fdaec Workaround failing color ramp test on OSX, add some docs
Failure is odd.
c = r.stops()[0].color
self.assertEqual(c, QColor(100, 100, 40))

fails, but

s = r.stops()
self.assertEqual(s[0].color, QColor(100, 100, 40))

passes!
2016-03-16 10:10:07 +11:00
Juergen E. Fischer
8bda5c00a5 db_manager: migrate to new style signals 2016-03-15 23:46:54 +01:00
Juergen E. Fischer
4151a3b693 2to3: remove empty imports 2016-03-15 23:46:54 +01:00
Nyall Dawson
6b99394b38 Merge pull request #2918 from DelazJ/patch-6
typo fix
2016-03-16 07:52:15 +11:00
Juergen E. Fischer
a9cb9906a2 Add internal qwtpolar 1.1.1 for Qwt 6.1 2016-03-15 20:53:49 +01:00
Juergen E. Fischer
7694b9a1e5 fix shadowed color ramp test 2016-03-15 20:09:38 +01:00
Harrissou Sant-anna
fffc4a0276 typo fix 2016-03-15 18:55:11 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Matthias Kuhn
cc5219b814 Merge pull request #2916 from mach0/p3_clean
improve import handling
2016-03-15 16:27:27 +01:00
Matthias Kuhn
74b5e12e37 [processing] Remove non-functional test code 2016-03-15 12:00:29 +01:00
Matthias Kuhn
c3e49d6a9e [processing] Don't use undefined tr function 2016-03-15 11:58:20 +01:00
Matthias Kuhn
99e21a7e5b [processing] Silence warning 2016-03-15 11:55:16 +01:00
Matthias Kuhn
eb8167d920 [processing] Remove various unused imports and variables 2016-03-15 11:55:05 +01:00
Matthias Kuhn
e9b30a0a36 [processing] Fix dissolve 2016-03-15 11:46:05 +01:00
Matthias Kuhn
e888d6d684 [processing] Add autoincremental field test 2016-03-15 11:45:34 +01:00
Matthias Kuhn
5607ae3f78 [processing] Fix autoincremental field 2016-03-15 11:37:51 +01:00
Werner Macho
6acdfc6e84 improve import handling 2016-03-15 11:14:16 +01:00
Matthias Kuhn
01cc455d2d [processing tests] Improve test debug messages 2016-03-15 11:08:46 +01:00
Matthias Kuhn
0e690fc701 [processing tests] Fix test generation parameter types 2016-03-15 11:08:46 +01:00