2208 Commits

Author SHA1 Message Date
Matthias Kuhn
da0682d730 Add difference image 2016-04-23 21:09:21 +02:00
Matthias Kuhn
adf42dab54 Python3 compat fix for composerhtml test 2016-04-23 21:09:20 +02:00
Nyall Dawson
fdd68963c7 [postgres] Improved handling of DOMAIN type fields
- show correct domain type as field type name
- correctly determine length and precision of domain types
- expose bpchar field type as 'character' to users, as postgres only
uses 'bpchar' internally and refers to bpchar as character in the
front end
2016-04-22 17:37:51 +10:00
Nyall Dawson
647f322146 Consolidate all qvariant sort methods to use qgsVariantLessThan,
make sure qgsVariantLessThan incorporates all functionality from
other duplicate implementations, and add tests

(fixes #14671)
2016-04-22 17:20:43 +10:00
nirvn
9735c13e33 [FEATURE] add outline settings to font markers 2016-04-22 09:09:00 +07:00
Nyall Dawson
90613ca5d3 One more xenial test mask update 2016-04-22 07:07:08 +10:00
Nyall Dawson
011bde8873 More xenial, Windows test mask updates 2016-04-22 06:39:00 +10:00
Nyall Dawson
eacca44c6f Test mask updates (qt5 and xenial) 2016-04-22 05:46:58 +10:00
Hugo Mercier
8f0f9ccbb2 Add mask images for arrow symbol layer test 2016-04-19 18:21:51 +02:00
Matthias Kuhn
7379223a5a Server test: URLError has no code 2016-04-19 09:41:32 +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
efb84ea2fa [FEATURE][diagrams] Add optional legend entries for diagram sizes
A new "legend" tab has been added to diagram properties, allowing
both the existing attribute legend and a new size legend to be
enabled/disabled. The size legend has a configurable marker
symbol.

Also includes unit tests for both diagram attribute and size
legends.

Sponsored by ADUGA
2016-04-19 08:16:05 +10:00
Hugo Mercier
1ee0bc5704 Add @geometry_point_count and @geometry_point_num 2016-04-18 11:36:18 +02:00
Hugo Mercier
34b7ebc2b5 Add a new "arrow" symbol layer
The "arrow" symbol layer is a symbol layer allowing to draw straight
or curved arrows from a line layer.
2016-04-18 11:36:12 +02:00
Nyall Dawson
81744ecf90 Another missing Qt5 test mask 2016-04-18 17:10:39 +10:00
Nyall Dawson
a44d0c1fac Add a missing qt 5 mask image 2016-04-18 16:20:34 +10:00
Nyall Dawson
c24938e3e4 Update test masks for Qt5, enable more tests on Travis Qt5 builds 2016-04-18 15:23:02 +10:00
Nyall Dawson
66b51d4a81 [FEATURE] Edit attributes of multiple features simultaneously
This change allows the attributes of multiple features to be edited
simultaneously. It is enabled when the attribute table dialog is in
"form mode", via a new "multi edit" button on the toolbar.

In this mode, attribute value changes will apply to all selected
features. New widgets appear next to each editor widget allowing for
display of the current multi-edit state and for rolling back changes
on a field-by-field basis.

Changes are made as a single edit command, so pressing undo will
rollback the attribute changes for all selected features at once.

Multiedit mode is only available for auto generated and drag and
drop forms - it is not supported by custom ui forms.

Sponsored by Kanton Basel Stadt
2016-04-18 15:15:11 +10:00
Matthias Kuhn
8047a569e3 Fix console import menu and add tests 2016-04-15 11:05:29 +02:00
Matthias Kuhn
816c322df5 Workaround for buggy mac osx cleanup 2016-04-15 09:20:41 +02:00
Matthias Kuhn
aa0b9fa895 Test PyQgsRelationEditWidget updates
* QApplication is in QtWidgets, not QtGui
 * Expected failure only affects the travis Qt4 platform
2016-04-15 09:20:40 +02:00
Matthias Kuhn
8269fc5096 Improve spatialite provider test 2016-04-15 09:20:40 +02:00
Matthias Kuhn
1c6b298833 Add unicode_keep_u fixer 2016-04-15 09:20:40 +02:00
Matthias Kuhn
b31e860d9c Compatibility fix for most of PyQgsGeometryTest 2016-04-15 09:20:40 +02:00
Matthias Kuhn
4af3f82bd0 Python 3 migrate SocketServer 2016-04-15 09:20:39 +02:00
Matthias Kuhn
3e300f2966 Manual next fixes 2016-04-15 09:20:39 +02:00
Matthias Kuhn
c268f7e996 Run next_call fixer on tests 2016-04-15 09:20:39 +02:00
Nyall Dawson
83036886b7 Fix test failure on GDAL >= 2.0 2016-04-15 07:52:12 +10:00
Nyall Dawson
0672abbaed [FEATURE] Compilation support for unary - operation 2016-04-15 07:52:08 +10:00
Nyall Dawson
92a18087b3 Add safeguard tests to ensure no regressions in expression compilation
(ie check that expressions are successfully compiled where expected)

Add compilation support for "NOT..." type expressions
2016-04-15 07:52:02 +10:00
Matthias Kuhn
e3e5487f83 Some general test improvements 2016-04-14 12:15:12 +02:00
Matthias Kuhn
7d156e7f2f Fix typo 2016-04-14 12:15:12 +02:00
Matthias Kuhn
07fcf2430b [postgres] Test for deadlocks with transactions 2016-04-14 09:39:51 +02:00
Juergen E. Fischer
f19a35c34e dxf export: support rule based labeling (fixes #13757) 2016-04-13 14:51:55 +02:00
Nyall Dawson
23daead08b Fix PyQgsVectorFileWriter test on Windows 2016-04-13 15:42:24 +10:00
Nyall Dawson
02e0e3f959 Fix other feature's geometries are shown instead of null geometry
in delimited text provider (fix #14666)

Add tests, also fix virtual layer, mssql and db2 providers which
suffered the same bug
2016-04-13 15:42:24 +10:00
Nyall Dawson
4bbe318c20 [symbology] Remove distorted star symbol 2016-04-12 12:12:57 +10:00
Nyall Dawson
ce2891b10e Fix missing map settings expression variables in composer maps
Missing map extent related variables were causing stacking order
issues with the 25d renderer (fix #14604)
2016-04-12 09:14:03 +10:00
Nyall Dawson
16d8da3886 Fix some providers did not respect layer's subset when calculating
min/max/uniqueValues

Providers included delimited text, memory, virtual layer, and WFS

Add unit test to provider test
2016-04-11 22:01:29 +10:00
Nyall Dawson
0c5fa81126 Fix huge legend item size when symbol uses map unit sizes (fix #13979)
Add unit test
2016-04-11 15:34:49 +10:00
Nyall Dawson
e21de0394d Add methods for retrieving and setting size units for QgsMarkerSymbolV2 2016-04-11 15:34:43 +10:00
Even Rouault
a72fcb8fe1 [WFS] Fix support of attribute names in upper-case
Bugfix of issue introduced in commit 9040ec1baf33e55a9ba5abcc4fa2ee18d54a4212

When doing the spatialite cache initialization with OGR, the attribute
names get 'laundered' in lower case, which makes their matching afterwards
fail. Fix this. And also handle the situation where an attribute would
be named 'geometry'
2016-04-10 00:30:35 +02:00
Nyall Dawson
156721b380 Use average mode for align raster downsample tests
GDAL 2.0 changed (fixed) the bilinear downsampling algorithm, so
switch to the average algorithm so that test results are the same
for GDAL versions >= 2.0 and < 2.0.
2016-04-09 09:48:47 +02:00
Matthias Kuhn
c825f46534 Writing shapefiles with Z dimensions is gdal version dependent 2016-04-09 09:48:46 +02:00
Matthias Kuhn
a6a77ee46b Remove remainders of buggy pg test 2016-04-07 22:51:43 +02:00
Matthias Kuhn
5cd2319c3f Also retrieve generated values for pktInt 2016-04-07 21:26:43 +02:00
Matthias Kuhn
eecd77a324 Fix postgres unit test 2016-04-07 21:24:01 +02:00
Matthias Kuhn
e98e16f1b2 Unit test for 4ec97c33 2016-04-07 15:59:22 +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
99980bea0c Fix windows build 2016-04-07 09:14:16 +10:00