Juergen E. Fischer
b9162dccdf
scripts/astyle-all.sh run
2017-03-03 15:37:12 +01:00
Nyall Dawson
d19e70700f
Ensure all pointer variables are initialized to nullptr
2017-02-18 20:23:18 +10:00
Nyall Dawson
a188d14f48
Remove map settings parameter from QgsComposition
...
Breaks the hard link between canvas and compositions!
Fix #11077
2017-01-24 14:32:08 +10:00
Martin Dobias
8c340f7144
Make composition associated with QgsProject ( #3957 )
...
... rather than using project singleton within compositions
2017-01-06 17:22:34 +08:00
Matthias Kuhn
dfd9833467
Let all tests work with a proper QgsApplication instance
2016-12-20 01:20:08 +01:00
Martin Dobias
483c7f4b86
Test fixes and further QgsProject::instance() removals
2016-12-11 00:31:27 +08:00
Martin Dobias
c143be7a73
QgsMapSettings and QgsComposerMap store layers for rendering as weak pointers
...
... instead of using layer IDs which need to be resolved using QgsProject
2016-12-10 18:50:52 +08:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Nyall Dawson
4166a3ea62
Fix most clazy qstring-unneeded-heap-allocations warnings
...
By flipping string literals to QStringLiteral/QLatin1String
see
https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Nyall Dawson
25125b089e
Remove deprecated composer methods
2016-09-14 07:20:17 +10:00
Martin Dobias
ab4a83b49b
Goodbye to QgsMapRenderer ( #3333 )
...
For the time being the class is kept in the server code while it is still being used there.
2016-07-24 22:40:52 +02:00
Nyall Dawson
c628c0f434
Rework includes to forward declare as much as possible
...
Should speed up recompilation when headers change
2016-07-18 19:10:19 +10:00
Nyall Dawson
eb31e01a2f
Move QgsCompositionChecker to core, speeds up compilation with
...
tests enabled
2016-03-07 09:38:36 +11:00
Nyall Dawson
0c5475545f
Cleanup control_images folder by grouping some tests in subfolders
2015-08-30 20:15:25 +10:00
Nyall Dawson
385a608a0b
Fix a bunch of leaks in unit tests
2015-08-25 21:40:41 +10:00
Juergen E. Fischer
83bb33cad5
cleanup composer test map settings
2015-07-05 11:20:13 +02:00
Juergen E. Fischer
9b976cfe26
test cleanups and some fixes
2015-07-02 04:22:52 +02:00
Nyall Dawson
d747a481d5
Fix warning
2015-07-02 06:35:19 +10:00
Juergen E. Fischer
7b58462de5
make sub tests following the label in composer rotation pass
2015-07-01 19:26:17 +02:00
Juergen E. Fischer
d429f195b6
Some fixes to the tests on windows:
...
* defer initialization of map settings until after QgsApplication is initialized
* disable local server test
* set ogr encoding in qgsserver testproject.qgs
2015-07-01 18:09:30 +02:00
Denis Rouzaud
9e3183c63f
Revert "sort includes"
...
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73
sort includes
2015-06-10 13:59:08 +02:00
Juergen E. Fischer
0f9397028e
fix more cppcheck issues
2015-02-07 18:40:42 +01:00
Sandro Santilli
a40eca4a34
Use core support for map rotation in composer
...
Includes patch by Martin Dobias
See http://lists.osgeo.org/pipermail/qgis-developer/2015-January/036309.html
Fix #11912
2015-02-07 15:34:30 +01:00
Sandro Santilli
fb344ff1b6
Use a simpler image for testing composer map rotation and overview
...
Update expected results and configuration of new image
Add rendering anomalies, as determined by travis ubuntu 12.02
2015-02-05 19:08:11 +01:00
Juergen E. Fischer
bff64fdef9
indentation update
2014-12-30 22:47:09 +01:00
Nyall Dawson
d815ac0061
Try to fix some more intermittent composer tests
2014-12-01 20:30:39 +11:00
Nyall Dawson
118a9f63dc
Add some missing exitQgis() calls to unit tests
...
Also ensure that compositions are deleted before exiting
Qgis during tests.
2014-12-01 19:52:04 +11:00
Matthias Kuhn
cae6baea90
Formatting of tests
2014-11-21 11:45:33 +01:00
Matthias Kuhn
95f6483855
Fix some race condition segfaults of tests on exit
2014-11-21 11:45:32 +01:00
Matthias Kuhn
78c519546a
Add Qt5 support
2014-11-21 11:45:32 +01:00
Matthias Kuhn
256b2652c3
Fix some warnings
2014-11-19 09:28:57 +01:00
Matthias Kuhn
1c2bdf1ea3
Switch tests to automoc
...
Required for Qt5 compatibility
Raises minimum CMake version to 2.8.6
2014-11-04 09:18:26 +01:00
Nyall Dawson
3af68f4888
Rebuild composer test images at 96 dpi to speed up unit tests
2014-09-21 19:47:39 +10:00
Nyall Dawson
03efcac527
[composer] Default to no backgrounds for new labels, pictures, scalebars, and arrows. Fix some items not drawing using antialiasing if background disabled.
2014-06-30 21:52:40 +10:00
Nyall Dawson
53cda0a9c7
[composer] Move composer picture related tests into their own seperate test suite (sponsored by City of Uster, Switzerland)
2014-04-28 20:19:00 +10:00
Nyall Dawson
0b32f2ac38
[tests] Fix composer tests. Rebuild images following MTR rendering changes. Switch tests to use standard test font.
2014-04-03 22:56:34 +11:00
Juergen E. Fischer
0693fe93ee
fix some tests crashes, fix some tests and some mtr updates
2014-03-29 17:55:29 +01:00
Radim Blazek
1c294a9cb1
fixed composerrotationtest
2014-02-19 17:35:17 +01:00
nyalldawson
f1aead4ca9
[composer] Fix failing rotation tests
2013-12-30 20:00:56 +11:00
nyalldawson
adbeab29c4
[composer] Add tests for item rotation
2013-12-30 20:00:56 +11:00
nyalldawson
ddcfd06f97
[composer] Fix picture rotation, optimise scaling of rotated pictures to fit in item bounding box
2013-12-30 20:00:56 +11:00
Nyall Dawson
86b972c154
[composer] Begin tests for composer item rotation
2013-12-30 20:00:55 +11:00