176 Commits

Author SHA1 Message Date
ersts
d72935fe62 -some adjustments to the raster API as suggested by Timlinux
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-06 15:16:08 +00:00
ersts
a54ee34ace -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/qgis@9564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-05 22:44:50 +00:00
ersts
f33aeb69b2 -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/qgis@9561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-01 22:27:37 +00:00
timlinux
67fb20042f API cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 11:00:31 +00:00
timlinux
a85c1a53a3 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/qgis@9521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-23 06:54:12 +00:00
jef
94b31cb822 automatic indentation update (r9447-r9517)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-22 08:56:03 +00:00
timlinux
b352b85ef7 remove get prefix for crs accessor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-20 20:08:43 +00:00
timlinux
efba2d850d More api cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-19 19:20:42 +00:00
timlinux
874a7c20f9 Further api updates in core
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-16 06:31:25 +00:00
jef
c152dfa8b0 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/qgis@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00
jef
7c0aa7cf89 automatic indentation update (r9365-r9447)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9448 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 21:16:31 +00:00
jef
66ae77dcb1 apply patch for #1162 for timlinux
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9437 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 13:00:45 +00:00
ersts
7a30afd587 -Patch for building pyramids
-Closes ticket #1264

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9306 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-12 18:40:41 +00:00
jef
46c840f88c automatic indentation update (r9220-r9281)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-08 08:18:14 +00:00
ersts
e74c2bad4b -Simple multipoint data layer per timlinux request
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-01 20:57:37 +00:00
ersts
0c64e3264c -Updated Contrast Enhancement test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-01 17:47:46 +00:00
timlinux
df6ba8ca4a Unit tests for raster contrast enhancements
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 15:50:23 +00:00
timlinux
b00b4a95d6 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/qgis@9222 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-30 23:51:32 +00:00
jef
01ebd3002a minor update (indentation, debug output, plenks)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-27 12:57:47 +00:00
jef
5661eef995 astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 21:37:31 +00:00
timlinux
619dd2e493 Follow Qt naming style: fileName instead of filename, layerName instead of layerName
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:55:27 +00:00
timlinux
9576836581 Use fileName() instead of setFilename() for filename accessor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:38:17 +00:00
timlinux
841699b1b6 Further api consistency cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:15:03 +00:00
jef
2e5506a267 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/qgis@9133 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 14:06:01 +00:00
jef
9930215a57 Merged rest of composer branch (9087-9115)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
timlinux
f494fd0fec 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/qgis@9108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-21 21:11:56 +00:00
timlinux
fd41d31316 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/qgis@8997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 21:11:58 +00:00
timlinux
f63c1dd17d Added missing control image for regression992 test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 20:06:30 +00:00
timlinux
ca3dd86ed4 Added regression test for ticket #992
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8980 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-02 11:10:33 +00:00
timlinux
998b61599b Added unit test for raster external overlay building
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8974 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-02 05:34:30 +00:00
timlinux
a5b9209174 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/qgis@8954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-31 20:07:07 +00:00
jef
d4aa8a6dc5 fix gui imports for test on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 20:25:48 +00:00
timlinux
8f12ff2ecc Added more useful doxygen description of the test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8950 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 20:06:08 +00:00
timlinux
004d47eca9 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/qgis@8947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 16:17:47 +00:00
timlinux
3a4648f92c 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/qgis@8937 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-28 01:24:27 +00:00
timlinux
506ba98c93 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/qgis@8768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 23:18:10 +00:00
timlinux
a02ec68da1 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/qgis@8767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 23:07:11 +00:00
timlinux
e0d68767aa Use rects for geometry tests rather than triangles
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 21:37:40 +00:00
timlinux
7241968524 updated raster unit test control images
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8765 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 17:20:03 +00:00
timlinux
9be215b620 use correct geom type for Regression test 1141
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8763 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-12 21:01:43 +00:00
timlinux
3b86e82265 Regression test for ticket #1141
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8762 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-12 20:27:14 +00:00
timlinux
e6d6bbdb93 No need to debug out qgsappication vars - just call showSettings()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8761 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-12 20:24:49 +00:00
timlinux
cceb43b479 fix divide by zero bug in quickprint. Fix issue preventing quickprint test from running
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8733 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-08 10:15:38 +00:00
timlinux
7f8cf50209 Updated control images for small differences in rendering with renderer context merge
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8732 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-08 09:54:15 +00:00
timlinux
4daf0252e5 Use qgisapp path properly for quickprint test too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8718 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 22:39:11 +00:00
timlinux
3019d8c068 Last tweak for app test to compile & work
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8717 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 22:21:56 +00:00
timlinux
1ac4307bc1 Fixed incorrectly name method in app test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8716 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 22:15:02 +00:00
timlinux
4eff113005 Updates so that paths are correctly set based on changes in
qgisapplication



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8715 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 22:04:28 +00:00
timlinux
6acb003e3e Use new mechanism to find path. Test still fails due to small differences in rendered output
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8714 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 11:46:51 +00:00
timlinux
1e80162b17 Use new prefix path mechanism to locate resources
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8713 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 11:41:07 +00:00