timlinux
4f7a822005
Added directory and beginnings of test framework for gui lib
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 22:43:36 +00:00
timlinux
c464391d6e
Added stubs for all classes in core
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 22:09:55 +00:00
mhugent
551bd4021f
added a method for vertex moving which also works for muliring polygons. Add/delete vertex will follow soon (as well as similar methods for multiline and multipolygon)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 17:07:34 +00:00
rblazek
a776fa5781
fix for scripts on Windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 15:24:42 +00:00
g_j_m
69c0c360e2
Save and read the wms proxy password and user from the config
...
file. Should resolve ticket #8
git-svn-id: http://svn.osgeo.org/qgis/trunk@5243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 08:55:44 +00:00
timlinux
52fd227812
A script to build a test suite for a director of qgs source files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 13:48:59 +00:00
timlinux
1110aaf576
Improvements to unit builder script - you can pass it the class nema to build the test for from the cli and it will not prompts you and just create everything - to be used in source dir parsing script that Ill add soon...
...
dded new test unit for qgsgeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@5241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 13:33:37 +00:00
timlinux
971e2d342f
Remove backticks when running test
...
Grep results to show only test totals
git-svn-id: http://svn.osgeo.org/qgis/trunk@5240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 11:43:29 +00:00
timlinux
094b93cedc
A bash scrip to run all tests in the dir
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 11:38:25 +00:00
g_j_m
07a9b64d1b
Return QByteArrays instead of 0's.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 10:18:17 +00:00
timlinux
72ec5c0cbf
Added unit test for testqgsfeature.cpp (stubs only thus far)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 01:13:15 +00:00
timlinux
686fdd4eb9
Eliminate duplicate test cases when overloaded methods are encountered
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 01:09:05 +00:00
timlinux
c62d4180b0
Clean up stub listing shown to user before unit test is generated
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 00:27:35 +00:00
timlinux
bd8b3020d8
Add stubs for methods from class being tested automatically
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 00:24:40 +00:00
g_j_m
965c86fe86
Trim leading and trailing spaces from WMS settings when storing them.
...
I have often found that cutting/pasting WMS url's from webpages that I
get extraneous spaces which then prevent wms from working.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 23:46:52 +00:00
mhugent
b1bc18490b
layers are now editable by default such that people do not have to search for the layer file in the legend
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 16:41:28 +00:00
mhugent
ea91bfbdc2
Added a missing return statement to make WMS getCapabilities working
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 15:22:06 +00:00
g_j_m
1232fb8c90
Change #includes to Qt4 naming scheme
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 11:39:30 +00:00
g_j_m
273b0a1b95
Fix for ticket #3
...
Also change #includes to Qt4 naming scheme
git-svn-id: http://svn.osgeo.org/qgis/trunk@5229 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 11:38:43 +00:00
g_j_m
6a7570f49c
Resolve the 'return a temp variable' example given in ticket #17
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5228 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 09:37:46 +00:00
mhugent
4e06c289d7
prevent crash in QgsRasterLayer::drawMultiBandColor
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5227 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 08:36:30 +00:00
mhugent
2a8a3d6400
fix for bug #55 'moving group freezes QGIS'
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5226 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 08:07:30 +00:00
telwertowski
816f2e9039
Fix Mac references to QtDesigner and QtTest; these are libraries and not frameworks. (Note: the line beginning "dependency_libs=" in $QTDIR/lib/libQtTest.la must also be disabled to avoid a Mac glibtool bug.)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5225 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 06:36:02 +00:00
g_j_m
1b7780278a
No need to create a copy of the vector - a ref will do
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5224 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 05:22:12 +00:00
g_j_m
f65d06830d
Apply patch in ticket #34
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5223 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 03:41:34 +00:00
timlinux
63df8997f9
test builder now makes additions to makefile properly
...
Added testqgsfield which has no tests in it yet
git-svn-id: http://svn.osgeo.org/qgis/trunk@5222 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 01:30:31 +00:00
timlinux
e29975710c
More clean ups to test builder - warnning it will damge the local makefile if used at teh moment.
...
Added a test class for qgssymbol - which fails when run
Add rules to makefile to build symbol test
git-svn-id: http://svn.osgeo.org/qgis/trunk@5221 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 01:11:46 +00:00
timlinux
208b4dea5e
First draft at a little perl script to generate a test class with method stubs automatically
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5220 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:56:03 +00:00
timlinux
735cb36f36
A template for creating new tests
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5219 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:27:53 +00:00
timlinux
dfca9e6f5c
More simplicfications - implement test directly where it is declared
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5218 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:23:49 +00:00
timlinux
531dacbf81
Consolidate test class into a single file to make writing tests easier and quicker
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5217 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:21:49 +00:00
timlinux
855b3a95d2
Dont bother with ctor and dtor in unit test to keep it simple
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:18:04 +00:00
timlinux
eb24cea6c8
Makefile cleanups in prepration for implementing more that one test unit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:11:51 +00:00
gsherman
10a5bea93b
Removed -lQtTest from Makefile.am (configure adds it to QT_LDADD).
...
Changed include of QtTest in testqgsapplication.cpp to proper form.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 23:51:07 +00:00
timlinux
acf4803bac
Enable build of tests
...
If you have problems compiling touch all the files in core and try again
git-svn-id: http://svn.osgeo.org/qgis/trunk@5213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 23:43:33 +00:00
timlinux
b7dfdb4d35
Make a basic check that you are in the plugins directory before the script is allowed to run
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5212 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 23:21:38 +00:00
gsherman
9950e4d987
Removed 5 character limit on proxy user and password. Fixes bug #46 .
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5211 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 18:08:20 +00:00
timlinux
5896566ac6
French translation updates from Pascal Obstétar
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 13:51:00 +00:00
mhugent
d1549cac4d
more removed std::couts
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 10:16:59 +00:00
g_j_m
0fa3f4ed7f
Remove and tidy up code that used to do stuff to the overview
...
canvas. This is handled by the map canvas now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5208 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 09:33:03 +00:00
rblazek
370f7bb79e
fix for crash in mapsetChanged()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 09:15:54 +00:00
timlinux
d5508f15d6
Add proper link to QgisPlugin in dxygen docs
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5206 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 00:08:07 +00:00
timlinux
66465476f9
Added a text file version of the detailed docs provided in the template gui and told plugin builder to install the doc into the generated plugin dir.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 23:51:55 +00:00
timlinux
ef81bf5f68
Implemented close and cancale sig/slot in default generated gui
...
Added detailed instructions for getting started with the new gnerataed plugin once it is build.
Added some better comments to plugin.cpp
git-svn-id: http://svn.osgeo.org/qgis/trunk@5204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 23:46:06 +00:00
rblazek
d85bfb6f6d
mouse recievers commented
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5203 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 16:22:44 +00:00
rblazek
354edca033
changed attributes window style and recycling existing window
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5202 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 16:10:45 +00:00
rblazek
41fbc9d938
fixed restore position, must not use Qt::WType_Dialog
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5201 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 15:41:52 +00:00
rblazek
ddea8a14ee
conditional waitpid() for WIN
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5200 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 15:19:17 +00:00
rblazek
ec144418c8
reload browser if mapset changed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@5199 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 14:42:56 +00:00
timlinux
3271d3c3be
Plugin builder should now successfully generate a compileable plugin framework - ready to be extended by the developer.
...
I have made a number of improvements over the old 0.7x plugin builder - most importantly the plugins tat are generated now each have their own unique user defined classname and all the filenames are renamed from a generic plugin* to [users plugin name]*
git-svn-id: http://svn.osgeo.org/qgis/trunk@5198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-06 14:35:09 +00:00