106 Commits

Author SHA1 Message Date
Matthias Kuhn
0e96ef3797 [travis] Fix ccache for Qt4 builds 2016-05-22 21:52:55 +02:00
Matthias Kuhn
bbe9664dba [travis] Run Qt5 tests with osgeo4travis in $PATH
This allows running the gdal processing tests and other subprocesses which have
been manually built like server applications.
2016-05-22 21:52:55 +02:00
Matthias Kuhn
7e113840cb [qt5 tests] Unblacklist tests 2016-05-22 21:52:55 +02:00
Even Rouault
aa66bc6a20 Merge pull request #3076 from rouault/delimitedtext_qt5_fix
Delimited text provider: fix parsing of subset URL parameter with QT 5 and fix tests
2016-05-17 17:00:36 +02:00
Even Rouault
902953ca9a Delimited text provider: fix parsing of subset URL parameter with QT 5 and fix tests
In Qt 4, QUrl::queryItemValue() decodes a value that contains %25 as %, whereas
it doesn't with Qt5.
2016-05-16 23:41:00 +02:00
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
Nyall Dawson
c732c68749 [travis] Run tests even with build failures on osx 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
Matthias Kuhn
94e062728f Unblacklist fixed Qt5 tests 2016-05-14 00:02:28 +02:00
Nyall Dawson
729c70379e Blacklist PyQgsJSONUtils test from qt5 (uses null) 2016-05-09 21:19:28 +10:00
Matthias Kuhn
3de068894d [travis] Fix warnings about invalid ccache options
https://travis-ci.org/qgis/QGIS/jobs/127438282#L731
2016-05-04 09:50:25 +02:00
Matthias Kuhn
aa9010e8ed Limit ccache size to 150M 2016-05-02 18:25:57 +02:00
Matthias Kuhn
d9ee8758b3 Blacklist broken tests 2016-04-23 21:29:55 +02:00
Matthias Kuhn
8e9641b8b6 Update blacklist 2016-04-23 21:09:21 +02:00
Matthias Kuhn
c0a2be775e Enable QtWebKit with Qt5 tests 2016-04-23 21:09:20 +02:00
Matthias Kuhn
99ab6e3a9d Disable internal yaml 2016-04-23 21:09:20 +02:00
Nyall Dawson
eacca44c6f Test mask updates (qt5 and xenial) 2016-04-22 05:46:58 +10:00
Matthias Kuhn
36e5dc8416 Revert "[travis] OSX: Force sip version 4.17 due to build problems"
This reverts commit 842159036a9cfdc518a54ee1ab35de4b14206318.
2016-04-21 13:05:09 +02:00
Matthias Kuhn
340f0f2754 Add a new CMake flag to disable deprecated functionality
Anything which is going to disappear can be #ifdef'd with this definition. This
is an additional hint if your 3rd party code is prepared for the next level of
QGIS.

For a start it's used to disable old labelling which causes deadlocks when used
with PyQt5-Python3.
2016-04-19 17:55:08 +02:00
Hugo Mercier
e849cad11d Merge pull request #2955 from mhugo/arrows
[Feature] Arrow symbol layer
2016-04-19 09:23:33 +02:00
Nyall Dawson
b7a43f2cc8 Disable processing GDAL test on OSX (keeps randomly failing) 2016-04-19 13:46:36 +10:00
Hugo Mercier
81a6ccf05b Temporarily blacklist the arrow symbology test (qt5 only) 2016-04-18 15:55:25 +02:00
Nyall Dawson
c24938e3e4 Update test masks for Qt5, enable more tests on Travis Qt5 builds 2016-04-18 15:23:02 +10:00
Matthias Kuhn
a669d3c884 Merge pull request #3005 from m-kuhn/osx-sip-417
[travis] OSX: Force sip version 4.17 due to build problems
2016-04-16 14:04:58 +02:00
Matthias Kuhn
842159036a [travis] OSX: Force sip version 4.17 due to build problems 2016-04-15 20:22:11 +02:00
Matthias Kuhn
449fad3582 Enable console tests on Qt5 2016-04-15 19:17:41 +02:00
Matthias Kuhn
b09a74328e Blacklist console test on Qt5
We are missing QScintilla bindings at the moment
2016-04-15 11:58:41 +02:00
Matthias Kuhn
129ff7cbd6 Unmask more Python 3 tests 2016-04-15 09:20:40 +02:00
Matthias Kuhn
0f048b55eb Unblacklist Qt5 tests 2016-04-14 12:15:12 +02:00
Matthias Kuhn
30df95aba6 Add new target port-plugins to run 2to3 on plugins as build step 2016-04-12 14:48:20 +02:00
Matthias Kuhn
f227174949 Mask flaky openstreetmap test 2016-04-12 14:35:59 +02:00
Matthias Kuhn
4dba5eb630 Unblacklist global static QIcon related Qt5 tests 2016-04-12 12:01:55 +02:00
Matthias Kuhn
82c7bbe0e2 [travis] Qt4: Don't run tests in parallel 2016-04-12 06:57:03 +02:00
Matthias Kuhn
e7c7f85b30 [travis] Clang 3.8 for Qt5 buildss 2016-04-09 15:14:56 +02:00
Matthias Kuhn
79e3e0e9f1 [travis] Clang 3.8 for Qt4 builds 2016-04-09 15:14:04 +02:00
Matthias Kuhn
21702baeab Container based Qt4 builds 2016-04-09 09:48:46 +02:00
Jürgen Fischer
19b91032bd Merge pull request #2977 from rouault/wfs
First part of QEP 35: WFS provider enhancements
2016-04-07 10:18:22 +02:00
Nyall Dawson
d464f86290 [FEATURE] Null ("No symbol") renderer
Using this renderer no symbol will be drawn for features, but labeling,
diagrams and other non-symbol parts will still be shown.

Selections can still be made on the layer in the canvas and selected
features will be rendered with a default symbol. Features being edited
will also be shown.

This is intended as a handy shortcut for layers which you only want
to show labels or diagrams for, and avoids the need to render
symbols with totally transparent fill/border to achieve this.

(fix #12131)
2016-04-06 20:55:26 +10:00
Even Rouault
9040ec1baf [FEATURE] [WFS provider] Major overhaul to add WFS 1.1 and 2.0 support
First part of https://github.com/qgis/QGIS-Enhancement-Proposals/issues/53
(QEP 35: WFS provider enhancements)

Improvements:
- Version autodetection
- On-disk caching of downloaded features
- Background download and progressive rendering
- WFS 1.1 and 2.0 support
- WFS 2.0 GetFeature paging
- Add provider tests

Fixes:
- #10106: Panning a non-cached WFS layer causes selection to change
- #9444: WFS client not requesting new features when not-cached
 #14156: WFS non cached: infinite flashing
- #9450 : New WFS connection option - Max number of features returned
- #14122: Implement WFS 2.0 client provider (partial. no joins or stored queries)

Not in scope: WFS-T 1.1 and 2.0. But WFS-T 1.0 kept (and tested)
2016-04-05 21:49:53 +02:00
Blottiere Paul
7a8a5411e0 [FEATURE][composer] Add tools for drawing polygon and polylines 2016-04-01 11:05:03 +11:00
Matthias Kuhn
18cdad9956 Convert print function to py3 style in tests 2016-03-31 17:20:53 +02:00
Matthias Kuhn
3c01f513b8 Remove some python tests from Qt5 blacklist 2016-03-31 17:20:52 +02:00
Nyall Dawson
9104704f59 [composer] Set base stylesheet of composer labels to match the
label font and margins when rendering as HTML.

This allows interactive choice of font, margins and colors and
avoids the need to manually set these with CSS within the
label HTML code.
2016-03-30 19:35:34 +11:00
Matthias Kuhn
944db6d2be Fix llvm apt repository 2016-03-29 15:41:20 +02:00
Matthias Kuhn
0cc7ae0ff4 Inlcude PyQgsAppStartup test on Qt5 2016-03-29 08:20:43 +02:00
Juergen E. Fischer
40611d7885 Reenable fcgi and server on osx (followup 53d40e8) 2016-03-23 21:36:41 +01:00
Matthias Kuhn
e6c5301cf8 Don't run qt5 tests in parallel 2016-03-23 09:43:32 +01:00