Juergen E. Fischer
b9162dccdf
scripts/astyle-all.sh run
2017-03-03 15:37:12 +01:00
Nyall Dawson
47683fca4f
[needs-docs] Rename Outline and Border -> Stroke
...
This change is being driven by:
- need for consistent terminology in the api. Currently there's
a confusing mix of border/outline used
- need for consistent terminology in the gui - we have a mix
of "border"/"outline"/"pen"
- bringing QGIS into line with the standard terminology used
in other graphic editing programs
2017-02-22 19:22:45 +10: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
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
Juergen E. Fischer
3f22a7a77f
another scripts/replacev2.sh with minor manual fixes
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
eeebf4be08
rename QgsComposerSymbolItem::symbolV2() to symbol()
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
0688621046
scripts/replacev2.sh run
2016-08-10 12:08:52 +02:00
Denis Rouzaud
275736de92
removed V2 from QgsSymbolV2*
2016-08-05 08:22:21 +02:00
Nyall Dawson
eb31e01a2f
Move QgsCompositionChecker to core, speeds up compilation with
...
tests enabled
2016-03-07 09:38:36 +11:00
Nyall Dawson
166e5bf9eb
[composer] Make some set symbol methods clone symbol, nicer API
...
for PyQGIS (fix #13304 )
2015-09-03 22:46:21 +10:00
Nyall Dawson
0c5475545f
Cleanup control_images folder by grouping some tests in subfolders
2015-08-30 20:15:25 +10:00
Juergen E. Fischer
92af85b7a2
coverity fixes
2015-07-07 20:16:26 +02: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
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
Juergen E. Fischer
bff64fdef9
indentation update
2014-12-30 22:47:09 +01: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
78c519546a
Add Qt5 support
2014-11-21 11:45:32 +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
Martin Dobias
a3af93394e
Merge branch 'master' into threading-revival
...
Some features are still disabled - will be fixed later
Conflicts:
python/core/composer/qgscomposition.sip
python/core/diagram/qgsdiagram.sip
python/core/diagram/qgshistogramdiagram.sip
python/core/diagram/qgspiediagram.sip
python/core/diagram/qgstextdiagram.sip
python/core/qgsdiagramrendererv2.sip
python/core/qgsfield.sip
python/core/qgslabelsearchtree.sip
python/core/qgsmaprenderer.sip
python/core/qgsrenderchecker.sip
python/core/symbology-ng/qgssymbollayerv2.sip
python/gui/qgsmapcanvas.sip
src/app/composer/qgscomposerlegendwidget.cpp
src/app/qgisapp.cpp
src/core/composer/qgsatlascomposition.cpp
src/core/composer/qgscomposerattributetable.cpp
src/core/composer/qgscomposermap.cpp
src/core/composer/qgscomposition.cpp
src/core/composer/qgscomposition.h
src/core/diagram/qgsdiagram.h
src/core/diagram/qgshistogramdiagram.cpp
src/core/diagram/qgshistogramdiagram.h
src/core/diagram/qgspiediagram.cpp
src/core/diagram/qgspiediagram.h
src/core/diagram/qgstextdiagram.cpp
src/core/diagram/qgstextdiagram.h
src/core/qgsdiagramrendererv2.cpp
src/core/qgsdiagramrendererv2.h
src/core/qgsmaprenderer.cpp
src/core/qgsmaprenderer.h
src/core/qgsnetworkaccessmanager.h
src/core/qgspallabeling.cpp
src/core/qgsrenderchecker.h
src/core/qgsvectorlayer.cpp
src/core/qgsvectorlayer.h
src/core/qgsvectorlayerfeatureiterator.cpp
src/core/qgsvectorlayerfeatureiterator.h
src/core/raster/qgsrasterlayer.cpp
src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
src/core/symbology-ng/qgssymbollayerv2.cpp
src/core/symbology-ng/qgssymbollayerv2.h
src/core/symbology-ng/qgssymbolv2.cpp
src/gui/qgshighlight.cpp
src/gui/qgsmapcanvas.cpp
src/gui/qgsmapcanvas.h
src/gui/qgsmapcanvasitem.cpp
src/gui/qgsmaptoolidentify.cpp
src/plugins/georeferencer/qgsgeorefplugingui.cpp
src/providers/memory/qgsmemoryfeatureiterator.cpp
src/providers/ogr/qgsogrfeatureiterator.cpp
src/providers/ogr/qgsogrfeatureiterator.h
src/providers/ogr/qgsogrprovider.cpp
src/providers/oracle/qgsoraclefeatureiterator.cpp
src/providers/oracle/qgsoracleprovider.cpp
src/providers/postgres/qgspostgresconn.cpp
src/providers/postgres/qgspostgresfeatureiterator.cpp
src/providers/postgres/qgspostgresfeatureiterator.h
src/providers/wfs/qgswfsfeatureiterator.cpp
src/providers/wms/qgswmsprovider.cpp
src/providers/wms/qgswmsprovider.h
src/ui/qgsoptionsbase.ui
tests/src/core/CMakeLists.txt
tests/src/core/testqgscomposereffects.cpp
tests/src/core/testqgscomposerhtml.cpp
tests/src/core/testqgscomposerscalebar.cpp
tests/src/core/testqgscomposershapes.cpp
2014-02-18 11:28:46 +07:00
Martin Dobias
90b10f79cf
Fix unit tests
...
- QgsFeature owns QgsFields (otherwise the assigned QgsFields may get deleted)
- updated QgsRenderChecker to use map settings + map renderer job
- fixed DPI issue in map renderer to map settings conversion
- fixed vector layer cache (failing file operations)
There are still few tests that keep failing compared to master branch,
but the reason for failure are tiny pixel diffs and we should probably just
update the expected images.
2013-12-11 16:21:35 +07:00
Juergen E. Fischer
51297d5990
indentation update (note to self: always run scripts/prepare-commit.sh before committing)
2013-09-17 12:41:43 +02:00
nyalldawson
58d0483c46
[FEATURE] Setting for corner radius for composer rectangle shapes, allows creation of rounded rectangles in composers
...
Add tests for composer shapes
2013-09-17 08:17:51 +02:00
Nyall Dawson
860e23afc7
[FEATURE][composer] Add styling support for composer shapes
2013-01-12 16:21:00 +11:00
Tim Sutton
a152312769
Code foramtting cleanups only
2013-12-30 15:42:40 +02:00
nyalldawson
ab42edce49
[tests] Update composer shape tests
2013-12-29 09:52:14 +11:00