185 Commits

Author SHA1 Message Date
jef
60b6bd6cb7 automatic indentation update (r10065-r10429)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10430 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-27 19:12:40 +00:00
timlinux
9c05e7d9ed Dont delete layer after it is removed from registry
git-svn-id: http://svn.osgeo.org/qgis/trunk@10207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-20 00:13:50 +00:00
timlinux
e8fcdfda37 Added unit test to replicate crash when a raster is removed from the registry
git-svn-id: http://svn.osgeo.org/qgis/trunk@10206 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-19 23:52:59 +00:00
jef
bd9a6ca544 fix #1523
git-svn-id: http://svn.osgeo.org/qgis/trunk@10084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-01 16:59:03 +00:00
jef
ddd7c8b0b8 automatic indentation update (r10009-r10065)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-31 16:26:56 +00:00
wonder
c15e6c0352 Fixed renderer tests to actually show some output, they still fail due different units.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10027 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-27 01:15:05 +00:00
timlinux
06feba0126 Updated test images
git-svn-id: http://svn.osgeo.org/qgis/trunk@9814 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-16 07:22:15 +00:00
timlinux
c31aacf3dd Fixes for geometry check tests
git-svn-id: http://svn.osgeo.org/qgis/trunk@9800 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-14 17:27:08 +00:00
timlinux
a5f41f3ca8 Fix map render unit test
git-svn-id: http://svn.osgeo.org/qgis/trunk@9799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-14 17:09:23 +00:00
ersts
8d970bf88c -some adjustments to the raster API as suggested by Timlinux
git-svn-id: http://svn.osgeo.org/qgis/trunk@9566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-06 15:16:08 +00:00
ersts
f46b458a78 -Major API changes applied to be consistent with the core
-Should only be minor updates if any to the raster classes from here on out

git-svn-id: http://svn.osgeo.org/qgis/trunk@9564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-05 22:44:50 +00:00
ersts
785dd83626 -Fix missed api updates in the unit tests
-Patched minor debug error in WMS provider
-Added ability to set transparency for WMS layer, closes ticket #1348. This patch needs to be reviewed on other platforms however as there seems to be a slight bug with QImage::setAlphaChannel

git-svn-id: http://svn.osgeo.org/qgis/trunk@9561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-01 22:27:37 +00:00
timlinux
7c318ead1a API cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 11:00:31 +00:00
timlinux
6c7bd3b1a2 Use 'combine' instead of 'Union' in order to preserve coding style rules (methods should be lower case). Union cant be used in lower case since it is a reserved c++ word
git-svn-id: http://svn.osgeo.org/qgis/trunk@9521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-23 06:54:12 +00:00
jef
5a68ac12b0 automatic indentation update (r9447-r9517)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-22 08:56:03 +00:00
timlinux
dcfedaad21 remove get prefix for crs accessor
git-svn-id: http://svn.osgeo.org/qgis/trunk@9501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-20 20:08:43 +00:00
timlinux
1ca4f2365b More api cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-19 19:20:42 +00:00
timlinux
b6ec0534fb Further api updates in core
git-svn-id: http://svn.osgeo.org/qgis/trunk@9478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-16 06:31:25 +00:00
jef
8094f1d4c6 hackfest commit from timlinux:
- more API cleanups
- single click (instead of drag) to select a feature (fixes #1154)
- fixes for topological editing


git-svn-id: http://svn.osgeo.org/qgis/trunk@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00
jef
9038cdeaed automatic indentation update (r9365-r9447)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9448 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 21:16:31 +00:00
jef
81132173ff apply patch for #1162 for timlinux
git-svn-id: http://svn.osgeo.org/qgis/trunk@9437 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 13:00:45 +00:00
ersts
b356365661 -Patch for building pyramids
-Closes ticket #1264

git-svn-id: http://svn.osgeo.org/qgis/trunk@9306 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-12 18:40:41 +00:00
jef
17d69a13df automatic indentation update (r9220-r9281)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-08 08:18:14 +00:00
ersts
1e6e3db61a -Simple multipoint data layer per timlinux request
git-svn-id: http://svn.osgeo.org/qgis/trunk@9242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-01 20:57:37 +00:00
ersts
1b40a224d4 -Updated Contrast Enhancement test
git-svn-id: http://svn.osgeo.org/qgis/trunk@9238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-01 17:47:46 +00:00
timlinux
66ed0b9071 Unit tests for raster contrast enhancements
git-svn-id: http://svn.osgeo.org/qgis/trunk@9230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 15:50:23 +00:00
timlinux
3219fcf4b5 Disable quickprint plugin for release - will redeploy if time allows to convert to new composer code
git-svn-id: http://svn.osgeo.org/qgis/trunk@9222 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-30 23:51:32 +00:00
jef
874b29b71f minor update (indentation, debug output, plenks)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-27 12:57:47 +00:00
jef
4b46398bc4 astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk@9138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 21:37:31 +00:00
timlinux
ab85a37ff6 Follow Qt naming style: fileName instead of filename, layerName instead of layerName
git-svn-id: http://svn.osgeo.org/qgis/trunk@9136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:55:27 +00:00
timlinux
0636f412b2 Use fileName() instead of setFilename() for filename accessor
git-svn-id: http://svn.osgeo.org/qgis/trunk@9135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:38:17 +00:00
timlinux
c6fb52f15d Further api consistency cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:15:03 +00:00
jef
120a61cabe various code cleanups by mloskot for GCC 4.1 (fixes #1239, #1240).
Inspired by it I also enabled pedantic mode for MSVC and cleaned
up some more warnings found by GCC 4.3 and MSVC.




git-svn-id: http://svn.osgeo.org/qgis/trunk@9133 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 14:06:01 +00:00
jef
31327f51fd Merged rest of composer branch (9087-9115)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
timlinux
a4bd78c9f8 Refactor spatial reference system to coordinate reference system (finalise fix of ticket #15). Also updated some more core api docs / module assignments.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-21 21:11:56 +00:00
timlinux
fb674886b7 renamed misnamed QgsMapRender (verb) to QgsMapRenderer (noun) as part of cleanups for 1.0.0 release. Updated all related dependencies. Also removed some spurious debug messages
git-svn-id: http://svn.osgeo.org/qgis/trunk@8997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 21:11:58 +00:00
timlinux
bbdea946c7 Added missing control image for regression992 test
git-svn-id: http://svn.osgeo.org/qgis/trunk@8995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 20:06:30 +00:00
timlinux
2422454f8a Added regression test for ticket #992
git-svn-id: http://svn.osgeo.org/qgis/trunk@8980 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-02 11:10:33 +00:00
timlinux
342b4ce7ea Added unit test for raster external overlay building
git-svn-id: http://svn.osgeo.org/qgis/trunk@8974 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-02 05:34:30 +00:00
timlinux
e1368a77a9 Fix for ticket #15 (Use term CRS instead of Projection throughout. Note this is a cosmetic fix only - internally class and var names still use the incorrect 'projection' nomenclature
git-svn-id: http://svn.osgeo.org/qgis/trunk@8954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-31 20:07:07 +00:00
jef
a7bbe620af fix gui imports for test on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@8951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 20:25:48 +00:00
timlinux
f3f8141b68 Added more useful doxygen description of the test
git-svn-id: http://svn.osgeo.org/qgis/trunk@8950 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 20:06:08 +00:00
timlinux
4e6636a6de In renderchecker split runtest into two functions so that image based compares can be done in situations where a maprenderer is not needed. Added more tests for geometry functions (buffer, difference) and provide a visual report of geometry test results.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 16:17:47 +00:00
timlinux
ddd934fe0a Theme related fixes:
- implemented 'fall back' support so that if a theme is missing icons, the default theme icons will be used instead.
 - use a static function in qgisapp to get theme icons and pixmaps
 - updated all icon fetching code to use the new methods above
 - updated qgsapplication so that it differentiates between active and default themes
 - fixed a bug in qgsoptions that prevented themes being changed in some cases.
This is a part fix for #1054 - still need to do some work to make GRASS theming work properly


git-svn-id: http://svn.osgeo.org/qgis/trunk@8937 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-28 01:24:27 +00:00
timlinux
133b5dcbe7 Rolled back r8764 - as per Peter Ersts request we will leave raster unit test failing for the release until we have explained the small differences in raster rendering between 0.10.0 and 0.11.0
git-svn-id: http://svn.osgeo.org/qgis/trunk@8768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 23:18:10 +00:00
timlinux
1990dab05a Fixed qgsgeometry test so that it passes:
- clear member vars between each test
 - added some geometry dump helpers
 - generally neatened up unit test implementation



git-svn-id: http://svn.osgeo.org/qgis/trunk@8767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 23:07:11 +00:00
timlinux
8f263b9f7d Use rects for geometry tests rather than triangles
git-svn-id: http://svn.osgeo.org/qgis/trunk@8766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 21:37:40 +00:00
timlinux
ea2f7eafe4 updated raster unit test control images
git-svn-id: http://svn.osgeo.org/qgis/trunk@8765 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 17:20:03 +00:00
timlinux
eab25fb445 use correct geom type for Regression test 1141
git-svn-id: http://svn.osgeo.org/qgis/trunk@8763 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-12 21:01:43 +00:00
timlinux
72c5978db1 Regression test for ticket #1141
git-svn-id: http://svn.osgeo.org/qgis/trunk@8762 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-12 20:27:14 +00:00