Larry Shaffer
203d67f628
Add labeling composer unit tests and control images
...
- Initial support for image output at 72 dpi
- Comparison against canvas output has slight shift (needs fixed)
2014-02-21 14:00:13 -07:00
Larry Shaffer
c4a60de06c
Update labeling canvas and server unit tests and output new control images
2014-02-21 14:00:13 -07:00
Mathieu Pellerin (nirvn)
1c5228cca8
[expression] made wordwrap delimiter string an optional 3rd argument
2014-02-21 18:43:12 +07:00
Mathieu Pellerin (nirvn)
d1c61a02c1
[expression] rework the wordwrap to allow for maximum / minimum line length to wrap, fix test and add two more
2014-02-21 18:43:02 +07:00
Mathieu Pellerin (nirvn)
1fcb4f06bb
[expression] more work on wordwrap function based on wonder-dk comments
2014-02-21 18:42:47 +07:00
Martin Dobias
da1ebc2693
Comments and API improvements of simplification (no functional changes)
...
- moved QgsVectorLayer::SimplifyHint enum to QgsVectorSimplifyMethod
- use QFlags instead of int for hints
- added few notes about simplification being added in 2.2
2014-02-21 12:08:50 +07:00
Larry Shaffer
10f2ac92ac
Fix partial labels unit tests and generate new control images
2014-02-20 21:22:56 -07:00
Larry Shaffer
1d91641769
Add deleting server cache function to local test server
2014-02-20 21:22:56 -07:00
Larry Shaffer
7afede9bc9
Add timeout to GetMap for local test server
2014-02-20 21:22:55 -07:00
Martin Dobias
55cb04c52c
Added unit test to check correct outcome of axisInverted()
2014-02-20 20:24:02 +07:00
Larry Shaffer
7d263be7aa
Add missing .qml to local server test
2014-02-19 18:29:02 -07:00
Juergen E. Fischer
46abadef5a
indentation update
2014-02-20 02:06:45 +01:00
Larry Shaffer
eac28773c8
Clean up local test server module and add more usage info
2014-02-19 17:59:06 -07:00
Larry Shaffer
916706f63e
Update tests to work with new test font functions in QgsFontUtils
...
- Cleanup code style
2014-02-19 13:48:41 -07:00
Larry Shaffer
2d4ecbac00
Move loading of test fonts to QgsFontUtils
...
- Always add testdata.qrc to desktop and server, but only auto-load Roman and Bold if built in debug mode
- Test fonts can now be loaded directly, after startup
- Add sip binding and unit tests
2014-02-19 13:27:59 -07:00
Larry Shaffer
be83e7c8e3
Add test-labeling master project and italic, bold-italic test fonts
2014-02-19 13:27:59 -07:00
Larry Shaffer
34be93b849
Update test font to Vera San and start workaround for Mac 10.9 font-loading bugs
...
- Test font loading should be moved to QgsFontUtils
2014-02-19 13:27:59 -07:00
Larry Shaffer
570e24b07a
Update existing tests to work with new test server
2014-02-19 13:27:58 -07:00
Larry Shaffer
bf5f60817a
Add getLocalServer and unit test for refactored local test server class
2014-02-19 13:27:58 -07:00
Larry Shaffer
2f1a5c92e0
Convert local test server over to controller of web and fcgi servers
...
- Initially using lighttpd/spawn-fcgi
2014-02-19 13:27:58 -07:00
Radim Blazek
1c294a9cb1
fixed composerrotationtest
2014-02-19 17:35:17 +01:00
Radim Blazek
a72cada6c2
fixed blendmodes test and added to report
2014-02-19 16:21:17 +01:00
Radim Blazek
2b3e19d134
disabled composermaptest grid anotations
2014-02-19 16:09:32 +01:00
Radim Blazek
9aeb4ba863
updated single symbol rendererstest
2014-02-19 15:47:23 +01:00
Radim Blazek
56ff646e8e
wcs test made to pass
2014-02-18 21:34:48 +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
Nyall Dawson
f9f5c6d2a9
Fix failing atlas test
2014-02-14 20:28:06 +11:00
Juergen E. Fischer
f3b2649493
expressions: only quote when necessary (fixes tests; followup 915f5c1a)
2014-02-09 11:19:37 +01:00
vmora
eb769f7ff3
demonstrate bug in qgsexpression
2014-02-08 21:10:50 +01:00
Martin Dobias
10c15089d1
Fix #8584 (WFS requests with FILTER fails against Geoserver)
2014-02-08 01:09:31 +07:00
Martin Dobias
caf33b657f
Fix #8174 (overlaps when using 'avoid intersections' functionality) + test
...
I am not entirely confident if it will work perfectly with older versions of GEOS (< 3.3)
because of the lack of unary union (that is emulated by series of unions of two geometries)
2014-02-07 12:03:18 +07:00
Nyall Dawson
ffcbdabe4e
[composer] Refresh control images following frame join stle change
2014-02-06 22:46:43 +11:00
Juergen E. Fischer
70c594984f
fix QgsGeometry::moveVertex on polygon ( fixes #9442 )
2014-01-30 19:17:38 +01:00
Nyall Dawson
415b467dd6
Fix failing PyQgsBlendModes test
2014-01-30 22:24:19 +11:00
Nyall Dawson
058cba2037
[composer] Add some anomoly images for scale bar tests
2014-01-30 22:24:19 +11:00
Juergen E. Fischer
bc757ffe50
* fix QgsGeometry::moveVertex for multipolygons()
...
* add test for QgsGeometry::addPart()
* remove expectedFailure decoration from PyQgsGeometry.testSimplifyIssue4189
* modify move and translate tests by 1,1 to 1,2
2014-01-29 21:36:50 +01:00
Juergen E. Fischer
105ecfa83d
make sure the symbology-ng db can be copied in qgis_stylev2test
2014-01-25 23:32:41 +01:00
Juergen E. Fischer
781e34a5bc
fix QgsGeometry::asMultiPoint() (followup 6bbd17c2; fixes #9423 )
2014-01-25 10:28:17 +01:00
Juergen E. Fischer
6f15e59ff9
fix deleteVertex for POLYGON and MULTILINESTRING
2014-01-24 09:53:18 +01:00
Juergen E. Fischer
6bbd17c217
QgsGeometry refactoring:
...
* rework wkb parsing using Qgs(Const)WkbPtr
* replaces pointer dereferencing with memcpy
* should work on platform that don't allow unaligned accesses
* "fix" adjacentVertices() for invalid inputs
* improved support for MULTIPOINT
* fixes insertion of first vertex into linestrings
* fixes inserting into multipolygons
2014-01-23 21:48:36 +01:00
Juergen E. Fischer
cb5c4e9982
add QgsDistanceArea tests and enhance QgsGeometry tests a bit
...
(in preparation for a QgsGeometry wkb update)
2014-01-23 21:37:03 +01:00
Alvaro Huarte
1e781ff838
#8725-R: fix old API in other test cpp files
2014-01-15 11:00:01 +01:00
Alvaro Huarte
062c1e411a
#8725-R: fix old API in testqgsblendmodes.cpp
2014-01-15 11:00:01 +01:00
Nyall Dawson
6bb9dfec00
[FEATURE][composer] Allow for more than one atlas controlled map in compositions (or none), by moving some atlas properties to map items ( fix #9248 ) ( fix #6484 )
2014-01-14 22:52:01 +11: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
Martin Dobias
151bad59cd
Update to qgis_bench: use renderer job, allow parallel mode, print other time
2013-12-10 17:31:17 +07:00
Martin Dobias
e4a1651c49
Bring back render caching
2013-12-09 22:18:39 +07:00
Martin Dobias
0d2fbbe2cb
Sync works now between QgsMapRenderer and QgsMapCanvas
2013-12-06 19:08:43 +07:00
Martin Dobias
2bece090f5
Update Python bindings to match changes in core/gui libraries.
2013-12-05 18:27:45 +07:00
Martin Dobias
5386324e15
Made QgsSpatialIndex implicitly shared class.
...
As a bonus, spatial index is a bit faster (10%) as we do not use random eviction buffer
anymore (which makes sense only when using disk storage manager).
Added basic tests for spatial index
2013-12-03 17:33:52 +07:00