5124 Commits

Author SHA1 Message Date
Nyall Dawson
d8402acee8 Remove composer from more code, port georeferencer reports to layouts 2018-01-18 09:21:45 +10:00
Nyall Dawson
5804745326 Port more tests to layouts, drop more QgsCompositions use 2018-01-18 09:21:45 +10:00
Nyall Dawson
fe48aeca0c Fix crash with undo/redo and layout multiframes, restore test 2018-01-18 09:21:45 +10:00
Alessandro Pasotti
479358ea77
Merge pull request #6089 from elpaso/server-exception-on-image-overflow
Server exception on image overflow
2018-01-17 17:34:29 +01:00
Martin Dobias
ccd98f5d6c Added test 2018-01-17 15:38:27 +01:00
Denis Rouzaud
4a0eedde2e version compare is not strict
also fix sipify test
2018-01-17 10:16:37 -04:00
Alessandro Pasotti
4fc2b3e808 [server][test] Add protocol and host:port to path in the test server 2018-01-17 13:09:28 +01:00
Nyall Dawson
fe2292c59a Fix default value 'apply on update' setting not correctly restored
Fixes #17712
2018-01-16 16:09:41 +10:00
Nyall Dawson
f3f1b8eaa3 Save/restore form "editable" and "label on top" settings
Fixes #17860
2018-01-16 16:09:41 +10:00
Etienne Trimaille
2c511d25dc return empty CRS instead of 4326 if the XML is empty 2018-01-16 14:17:42 +10:00
Nyall Dawson
6c57654d2c Indentation 2018-01-16 13:57:14 +10:00
Nyall Dawson
38062ec649 Add test for indexed memory provider thread safety
Refs #17705
2018-01-16 13:57:14 +10:00
Nyall Dawson
741afdca55 Add provider suite test for thread safety of provider getFeatures()
Hammers providers by iterating through features from multiple threads
2018-01-16 13:57:14 +10:00
Denis Rouzaud
f952fe62da rmove entry from acceptable missing doc 2018-01-15 11:55:23 -04:00
Matthias Kuhn
168c469b32 Rename QgsGPS prefixed classes to QgsGps 2018-01-15 11:55:23 -04:00
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