5109 Commits

Author SHA1 Message Date
Blottiere Paul
4e3abbc4b7 Add test 2018-01-15 07:57:16 +00:00
Nyall Dawson
ded9b0978d Rename QgsVectorLayer::pkAttributeList to primaryKeyAttributes() for consistency 2018-01-15 11:27:22 +10:00
Nyall Dawson
21c8956b18 Drop QgsVectorLayer::pendingFeatureCount()
Use QgsVectorLayer::featureCount() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
1da17904b8 Drop QgsVectorLayer::pendingAllAttributesList()
Use QgsVectorLayer::allAttributes() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
068d51c3be Drop QgsVectorLayer::pendingFields()
Use QgsVectorLayer::fields() instead.
2018-01-15 11:27:22 +10:00
Alessandro Pasotti
545ac27e33 [layout] Import guides from 2.x composition 2018-01-12 07:45:18 +10:00
rldhont
0bc3d68162 [BUGFIX][Server] imageQuality has to be used for JPEG images not PNG
During the server refactoring, the imageQuality has been applied to all format even if this option has been defined only for JPEG.

This bugfix respects the initial proposition https://github.com/qgis/QGIS/pull/1403
QGIS Server - new project option imageQuality used for JPEG images #1403
2018-01-11 15:10:43 +01:00
Alessandro Pasotti
d63f4c7658 [server][test] GetPrint test with two maps template
This is to test that map0 and map1 actually refer to the
correct maps
2018-01-11 11:20:08 +01:00
Harrissou Sant-anna
e137ea8a9d Add lpad truncate test (#5947) 2018-01-11 12:29:25 +07:00
Nyall Dawson
322f2e8c38 Drop composer class from gui library 2018-01-11 08:00:00 +10:00
Alessandro Pasotti
ba5b88c2cc [layout][server] Const correctnes and typos 2018-01-10 22:00:25 +01:00
Alessandro Pasotti
a117b6b9ea [layout][server] Update tests and mask images 2018-01-10 21:25:24 +01:00
Alessandro Pasotti
902dfb859c Disable diff image encoded output 2018-01-10 20:11:56 +01:00
Alessandro Pasotti
eedb7c795f [layout][server] composer -> layout in getprint 2018-01-10 18:03:08 +01:00
Alessandro Pasotti
34c80f9f55 [layout] Address PR comments and add test for layoutObjects template 2018-01-09 13:34:25 +01:00
Alessandro Pasotti
353b88a857 [layout] Update reference images 2018-01-09 13:34:18 +01:00
Alessandro Pasotti
8f3692aa85 Fix test after composition bindings removal 2018-01-09 09:25:39 +01:00
Alessandro Pasotti
f297e86201 [layout] Import attribute table from composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2b2dae828f [layout] Import HTML and atlas from 2.x composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
b40a5986f6 [layout] Fix title from name when converting a composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
858a71f863 [layout] Add map rendering to tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
7062f90b9f [layout] Check for pointer as bool instead of compare
Travis does not like the second.
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
57a40050ad [layout] Added tests for uuid linked maps
Also updated the control images
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0229df55c3 [layout] Fixed relative paths for test resources 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0cb12edbbf [layouts] test masks for rendering tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
e93f776dbe [test] Do not check the unique_ptr but get
Because std::unique_ptr is not implicitly convertible to bool
(why it works locally remains a mistery to me)
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
a5fc57078c [layouts] Removed diff images and adapted tests
to use QGIS font

Also addressed comments in the PR
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
943025c204 Typos 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
e0c56e7de3 Added diff images for tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
710309b352 Updated test for imported compositions 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
c232b4fe9c [layout] connect converted to loader code 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
51a460775f [layout] Disable ref images generation and added docs 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
680b9f8ea0 [layout] Convert scalebar and legent from 2.x 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
cd6e8204ed [layout] Import some more items: map, poly* and arrow 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2ad56efb79 Added test composer templates for import test 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
4302910f94 [layout] Converter: fix frame fill in shapes 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
af8a2296dc [layout] Converter: shapes 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
da3636e566 [layout] Converter: initial implementation 2018-01-09 08:08:26 +01:00
Nyall Dawson
2b8143a206 Fix a TODO, restore correct variable handling for layouts 2018-01-08 17:55:37 +10:00
Nyall Dawson
e2ce85f992 Update test masks 2018-01-08 12:09:32 +10:00
Nyall Dawson
b88f9b5b48 Port pal composer test to labels 2018-01-08 12:09:32 +10:00
Nyall Dawson
d372799b87 Remove some more redundant tests, add sip subclassing 2018-01-08 12:09:32 +10:00
Nyall Dawson
aef9df8d5e Remove a redundant test 2018-01-08 05:51:29 +10:00
Nyall Dawson
f3124f0d82 Fix storing/reading multiframe items (TODO fix undo/redo support) 2018-01-08 05:51:29 +10:00
Nyall Dawson
1b969267fc Fix crash when deleting multiframe item child frames 2018-01-08 05:51:29 +10:00
Nyall Dawson
53b67069cc Standardise some layout api method naming/behavior 2018-01-07 16:07:05 +10:00
Nyall Dawson
71a33e9956 Remove another redundant composer test 2018-01-07 16:07:05 +10:00
Nyall Dawson
9a13cfd4e5 Remove composer tests relating to template substitution maps
This API feature was not used anywhere in master, and is no
longer available in the layouts engine.

Better to use expression variables to meet the same use case.
2018-01-07 16:07:05 +10:00
Etienne Trimaille
3432bf8f3b load and save metadata to a QMD file 2018-01-07 12:13:41 +10:00
Alessandro Pasotti
a343570eab
Merge pull request #6000 from elpaso/bugfix-17795-ogr-filtered-readonly
[bugfix][ogr] Recompute capabilities when subsetfilter is set
2018-01-06 11:56:43 +01:00