Melanie Thielker
3130784934
Re-add the objectID field to the anim pack, that was deemed unneccessary
...
and dropped nonths ago, because it is required to get smooth region
crossings with AO running. Without it, in some corner cases, anims will
continue to run in an unstoppable state.
2009-02-17 04:16:42 +00:00
Justin Clarke Casey
93837807ff
* refactor: remove AssetCache field hanging off Scene
...
* This is always available at Scene.CommsManager.AssetCache
2009-02-16 19:15:16 +00:00
Justin Clarke Casey
ec07e1aad6
* Iniital inventory archive test code. Doesn't actually do any testing yet
2009-02-16 18:33:05 +00:00
Justin Clarke Casey
8645c7482d
* Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode
2009-02-11 19:57:45 +00:00
Sean Dague
8088802c21
From Alan Webb <awebb@linux.vnet.ibm.com>
...
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.
This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
2009-02-09 21:47:55 +00:00
Dr Scofield
a89d097355
starting phase 2 of the OpenSim.Region.Environment commit: relocating
...
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-09 09:16:15 +00:00
Dr Scofield
9b66108081
This changeset is the step 1 of 2 in refactoring
...
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
Mike Mazur
d3eae4073e
- move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.cs
...
- trim trailing whitespace
2009-02-03 05:20:35 +00:00
Mike Mazur
9377c6f2b2
- move OpenSim/Framework/IInventoryData.cs to
...
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Mike Mazur
e12b0a2496
- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
...
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur
f8e45e8e98
Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins.
2009-02-03 05:20:03 +00:00
Justin Clarke Casey
f351ab62ec
* furhter simplify test setups for objects
2009-01-30 18:38:32 +00:00
Justin Clarke Casey
7a751f6940
* minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this
2009-01-30 18:28:05 +00:00
Justin Clarke Casey
664f983943
* Extend archive test to check for the presence of a control file in a saved archive
2009-01-23 19:24:36 +00:00
Justin Clarke Casey
f8aea3724d
refactor: move test modules set up code to common function
2009-01-23 17:55:29 +00:00
Justin Clarke Casey
ee3c61247e
* refactor: move scene setup code into common test code assembly
2009-01-23 17:32:38 +00:00
Justin Clarke Casey
884009ed33
* Add some caps seed capability path checking to the simple non neighbours standalone region teleport test
2009-01-22 19:46:31 +00:00
Justin Clarke Casey
37fa677548
* refactor: Extract caps related code from scene and put into a region module
...
* No functional changes in this revision
2009-01-21 21:14:17 +00:00
Justin Clarke Casey
eca6442bae
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
...
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Justin Clarke Casey
093adb2113
* Add new unit test for simple teleport in a standalone.
...
* Does not yet check results.
2009-01-15 21:27:55 +00:00
Sean Dague
9dff38ca14
* Extended TextureSenderTests and modified TestClient.cs with new methods
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-13 19:55:07 +00:00
Justin Clarke Casey
ade107f04f
* Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods)
2009-01-12 19:37:56 +00:00
Justin Clarke Casey
d4d2c19594
* Extend PacketHandlerTest to fire in a packet.
...
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12 18:45:03 +00:00
Sean Dague
d770bea291
Enhanced LoginServiceTests to test for authentication and response
...
Expanded TestUserDataPlugin to cover new methods
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:33:56 +00:00
Melanie Thielker
7c7ea57c5c
Finish dwell sending, adding the forgotten method body.
...
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00
Justin Clarke Casey
b6ee2f15ba
* refactor: Remove the need to separately pass in the http listener to the scene - this is always available via CommsManager
2009-01-06 15:09:52 +00:00
Justin Clarke Casey
0b07c9762b
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
...
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
04ffcce7ea
* Extend stub to test the successful login of a user on the local login service
...
* Test does not do authentication
2009-01-05 17:38:39 +00:00
Justin Clarke Casey
0b8d22ab54
* Check in login service tests beachhead
2009-01-05 16:30:35 +00:00
Melanie Thielker
7beb8a5abb
Plumb the remaining dwell packets
2009-01-03 20:45:33 +00:00
Melanie Thielker
23844a9073
Plumb the profile reply packets for picks, classifieds and notes
2008-12-25 20:28:13 +00:00
Melanie Thielker
318de200bd
Plumb in EventNotification* and EventGodDelete
2008-12-23 23:41:46 +00:00
Melanie Thielker
fc053a6af8
Plumb in the 4 missing classified events and the 3 packet methods
2008-12-23 18:16:30 +00:00
Teravus Ovares
119104e35b
* Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
2008-12-21 00:11:54 +00:00
Melanie Thielker
008e1fe8df
Plumb the TP-Sending packets
2008-12-14 05:49:07 +00:00
Justin Clarke Casey
b1f018aa26
* Create update folder test
...
* Correct small logic elidation
2008-12-12 20:43:42 +00:00
Justin Clarke Casey
1531035b14
* Actually properly enable the purge folders test and correct some problems
2008-12-12 20:04:58 +00:00
Justin Clarke Casey
7bbab12158
* Add user info move inventory folder test
2008-12-12 19:24:45 +00:00
Justin Clarke Casey
0e870400ca
* Delete currently unrun TestInventory.cs superseded by BasicInventoryTests
2008-12-11 18:30:57 +00:00
Justin Clarke Casey
bec3993849
* Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one
2008-12-11 18:07:23 +00:00
Justin Clarke Casey
e02aaaf9db
* minor: Move mock test classes into mock namespace
2008-12-11 16:40:22 +00:00
Justin Clarke Casey
c9ae8fce5e
* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
...
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-12-10 20:57:15 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00
Melanie Thielker
6447d7132f
Adapt the unit tests to the new list rules, change some casts to
...
new method for testing
2008-09-08 19:29:16 +00:00
Mike Mazur
3cf92cb511
Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.
2008-09-08 08:20:19 +00:00
Mike Mazur
993384d348
Remove trailing whitespace.
2008-09-08 01:42:47 +00:00
Mike Mazur
ec13642e1a
Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected string.
2008-09-07 08:00:41 +00:00
Teravus Ovares
7d89e12293
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
...
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Dahlia Trimble
7d7f57a94d
more unit test cross-platform compatibility tweaks
2008-09-06 04:55:05 +00:00
Dahlia Trimble
01c34d5e04
more unit test tweaks in the name of cross-platform compatibility
2008-09-06 04:01:39 +00:00
Dahlia Trimble
5446bdff09
Revert changes to TestStringsWithEscapedQuotesAndComments() so it will work in Bamboo instead of windows
2008-09-06 01:22:39 +00:00
Dahlia Trimble
88cdd266ef
reformatted some of unit test standards to allow them to work when OpenSim is built in Visual Studio
2008-09-06 00:58:56 +00:00
Charles Krinke
947242f476
Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
...
Types extracted from a LSL_Types.list have to be down-cast initially
to the exact type of value type object that the Object actually is.
This would make for very cumbersome, ugly code when extracting list
parameter items in ll functions where a few implicit conversions
should be applied such as key -> LSLString and LSLInteger -> LSLFloat
(but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem
member functions to the LLS_Type.list class, where XXX is the name
of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take
a single, int parameter that is the item number to be extracted.
2008-09-05 23:26:35 +00:00
Sean Dague
d363661a7e
complete rationalization of unit tests that we currently run
2008-09-04 22:11:13 +00:00
Sean Dague
fb9bd7dec6
normalize naming for OpenSim.Tests.Framework.dll
2008-09-04 22:06:18 +00:00
Melanie Thielker
ef27c8817f
Mantis #2112
...
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
2008-09-03 18:57:06 +00:00
Melanie Thielker
2e4a5aa98a
Fix and reactivate the unit tests on the XEngine
2008-09-02 13:38:14 +00:00
Melanie Thielker
14a218dbc9
Temporarily disable the unit tests for Shared/ until they can be updated.
2008-09-02 06:19:55 +00:00
Melanie Thielker
2fbebbb644
First batch of the unit test changes for the new constants semantics
...
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Mike Mazur
2b83169c4b
Adding unit test for issue 2006, though it's commented out as those compiler
...
tests tend to tank on our continuous build server.
2008-08-20 06:09:11 +00:00
Jeff Ames
6ef9d4da90
Formatting cleanup.
2008-08-18 00:39:10 +00:00
Justin Clarke Casey
79efe37a99
* minor: rip out userserver stress project which never got filled out
2008-08-16 20:31:07 +00:00
Jeff Ames
0718aa0b7f
Minor formatting cleanup.
2008-08-07 12:55:46 +00:00
Mike Mazur
ddf126321c
Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator
...
for Vector3 type. Fix issue 1872.
2008-07-31 09:34:13 +00:00
Mike Mazur
2270b25265
Thanks, sempuki, for a patch that moves all Grid Server's plugins to
...
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Mike Mazur
16cf5aa2b8
Allow the list hack from issue 1863 to compile, however its behavior is
...
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur
57ec7a26cd
-make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
...
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur
56c4cc39ff
Allow assignments in if/while/do-while control statements. Fix issue 1862.
2008-07-31 04:13:46 +00:00
Mike Mazur
eef3864278
Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
...
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur
1c8f490573
More LSL_Types implicit/explicit cast changes. Fix issue 1854.
2008-07-31 00:29:19 +00:00
Mike Mazur
f6fa4ada4e
When casting strings to int, use double.Parse() as strings may be floats. With
...
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur
d959c65b91
-implement LSLString -> Quaternion explicit cast
...
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur
a61e1ea7dc
Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822.
2008-07-28 02:36:22 +00:00
Mike Mazur
82fa53a486
-copy LSL_Types tests from Common/ to Shared/
...
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Mike Mazur
6267db0c4c
Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
...
1832.
2008-07-27 05:42:47 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +00:00
Mike Mazur
e60cf0e67d
-add test for newly introduced cast operators (issue 1818)
...
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Jeff Ames
a4ad6a67b7
Update svn properties. Minor formatting cleanup.
2008-07-24 15:20:47 +00:00
Mike Mazur
d58346e798
Refactor some tests.
2008-07-24 07:23:36 +00:00
Mike Mazur
117cc09edc
Replace implicit casts from LSLFloat to int and uint which were removed in
...
r5487.
Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Mike Mazur
ba17b0df27
First version of position mapping between LSL <-> C# implemented.
2008-07-23 02:51:45 +00:00
Jeff Ames
19fd2230bf
Update svn properties. Fix some inconsistent newlines.
2008-07-19 09:35:48 +00:00
Charles Krinke
0106f96716
Mantis#1755. Thank you kindly, Matth for a patch that solves:
...
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
2008-07-16 14:30:22 +00:00
Charles Krinke
4350613f1d
Mantis#1746. Thank you kindly, nlin for pointing out that
...
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-16 03:07:54 +00:00
Charles Krinke
476e08286e
Mantis#1728. Thank you kindly, Mikem for a patch that solves:
...
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Melanie Thielker
d85774c101
Patch #9142 (No mantis)
...
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00
Johan Berntsson
130d8047a2
Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-11 08:33:53 +00:00
Johan Berntsson
d41c1f40a8
Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world
2008-07-10 05:40:45 +00:00
Johan Berntsson
27d9aeab0c
Patch from Mike: added unit tests for the LSL compiler
2008-07-08 08:42:17 +00:00
Jeff Ames
dfb63b5623
Update svn properties. Formatting cleanup.
2008-06-09 08:46:33 +00:00
Charles Krinke
0d07cf9ddd
Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
...
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-09 01:06:59 +00:00
Johan Berntsson
9002329a7d
Fixed a build problem with r5019 (Mikems patch)
2008-06-06 05:28:26 +00:00
Jeff Ames
fbd37c420f
Minor formatting cleanup.
2008-06-06 01:19:15 +00:00
Jeff Ames
2818dd800e
Update svn properties.
2008-06-06 00:25:43 +00:00
Charles Krinke
16707b741e
Mantis#1451. Thank you kindly, mikem for additional
...
tests for LSL types and strings.
2008-06-05 23:36:59 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Jeff Ames
c995d60d37
Formatting cleanup.
2008-05-14 05:11:23 +00:00
Adam Frisby
fef3b36894
* Optimised using statements and namespace references across entire project (this took a while to run).
2008-04-21 07:09:17 +00:00
Sean Dague
86cf07f1c4
changing more references to OpenSim.Data
2008-04-02 15:38:44 +00:00
Jeff Ames
47180080f0
Formatting cleanup.
2008-03-18 05:16:43 +00:00
Jeff Ames
cd6f4a57e7
Added copyright heaaders. Minor cleanup.
2008-03-04 04:11:37 +00:00
Adam Frisby
415fc22e5e
* Removed a bunch of compiler warnings.
2008-03-03 09:54:39 +00:00
Jeff Ames
a8cfbbe963
Minor cleanup.
2008-02-20 18:38:20 +00:00
Jeff Ames
3b9d332f84
Added copyright notices.
2008-02-17 01:16:40 +00:00
Justin Clarke Casey
24ac86931a
update eol-style
2008-02-08 18:18:56 +00:00
Adam Frisby
a1625a5410
* Applying mantis 339 patches round 2 -- Thanks daedius
2008-02-08 17:54:30 +00:00
Jeff Ames
6ed5283bc0
Converted logging to use log4net.
...
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Justin Clarke Casey
f5340b6470
* Stubbed out beginnings of a user server stress test
...
* Does absolutely nothing at the moment
2008-01-25 17:37:18 +00:00
Sean Dague
32869aec47
apply http://bug.opensecondlife.org/view.php?id=512 from chillken
...
which cleans up the verbose logic
2007-10-25 15:34:43 +00:00
Sean Dague
d4bb430f78
get rid of all the ^M line endings
2007-10-19 20:28:18 +00:00
lbsa71
b48390213b
* Applied Chillken patch #418 : copyright-r2094.patch updating copyright messages. Thanks Chillken!
2007-10-15 07:25:32 +00:00
Tleiades Hax
87d99ee2a2
Added unit tests, based on nunit for the IInventoryData
2007-10-10 17:00:29 +00:00