Commit Graph

6133 Commits (aef2afd3bed2f74e3163f011be7700c016ee854c)

Author SHA1 Message Date
Sean Dague a812331089 add a new quickstart to testing document 2008-09-08 21:22:40 +00:00
Sean Dague 5913fcc8e8 rejigger tests out of OpenSim.Region.Environment and into OpenSim.Region.Environment.Tests.dll 2008-09-08 21:08:01 +00:00
Sean Dague ce0a8d7bef changes to Test directory structure per opensim-dev conversation 2008-09-08 20:34:45 +00:00
Melanie Thielker 41a68ca5db Fix component order on a quaternion for the sit target. This caused
sit positions to be upside down until the script was reset.
2008-09-08 19:57:28 +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
Melanie Thielker e7abde70a2 Mantis #2147
Thank you, ralphos, for a patch the adapts llSetColor and friends to
a change in the underlying types.
Also, thank you for a much cleaner way of casting types out of
lists, which I will adopt throughout.
2008-09-08 18:15:36 +00:00
lbsa71 8388fe0669 * some if inversions and added {}'s for readability 2008-09-08 14:30:35 +00:00
Melanie Thielker f2de15bffc Mantis #2144
Adjust XEngine llSetAlpha to a change in the underlying type
2008-09-08 12:30:48 +00:00
Melanie Thielker 1732baca0e Mantis #2145
Fix a number of casting issues in XEngine's API
2008-09-08 11:49:17 +00:00
Dr Scofield 3f9cc28103 fix: warnings from libomv 2008-09-08 10:28:59 +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
Melanie Thielker 490ac0be00 Implement proper persistence of the following prim properties:
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Charles Krinke 4822e79759 Implement llEjectFromLand. 2008-09-08 02:24:30 +00:00
Mike Mazur 6540b56041 Fix dll filenames in test targets. 2008-09-08 02:21:18 +00:00
Charles Krinke 13f7d5a4b2 I inadvertently edited out llGroundSlope, llGroundNormal
and llGroundContour in the last checkin and this replaces
them again in LSL_BuiltIn_Commands.cs.
2008-09-08 02:05:56 +00:00
Charles Krinke d0920a2247 Add implementation for llSetSoundRadius(). 2008-09-08 02:01:36 +00:00
Mike Mazur 993384d348 Remove trailing whitespace. 2008-09-08 01:42:47 +00:00
Charles Krinke 9ef43d3e22 Add Adam's llGroundSlope, llGroundNormal and
llGroundContour into our Common/LS:L_BuiltIn_Commands
file.
2008-09-08 01:27:16 +00:00
Adam Frisby f3d4f62d0a * Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs - these functions are orthogonal to each other and the core implementation is in GroundSlope.
* Please note that this implementation has not been mathematically verified to be correct-as-described, it is probable that this implementation may produce differing results to Linden Lab. Testing (and test data) would be appreciated.
2008-09-07 22:56:43 +00:00
Charles Krinke 68e8f3a160 Revert the removal of the commented out
scriptsleep calls.
2008-09-07 22:08:40 +00:00
Melanie Thielker 669f553400 Xengine patch to force a persistence save on script creation. This prevents
duplicate delivery of state_entry if a region is restarted just after
saving the script. Changes script state saves to no longer abort long-
running event handlers. Queues the save instead. Adds shutdown handler
to save script state on irderly shutdown
2008-09-07 22:01:25 +00:00
Melanie Thielker e3338bac20 Mantis #2138
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
2008-09-07 20:15:15 +00:00
Melanie Thielker 58d79b33ff Mantis #2142
Thank you, HomerHorwitz, for a patch that fixes landmark teleport
and about landmarks with the new OMV types.
2008-09-07 20:09:11 +00:00
Charles Krinke 0c7e87ee5e Return 0 for no wind and 0 for no clouds from
both llWind and llCloud and remove the 
"NotImplemented" status leaving us with about
74 "NotImplemented" LSL-C# wrapper functions.
2008-09-07 17:32:38 +00:00
Teravus Ovares 3f55b03bbf * Fixes linking using the new types.
quaternions are not communicative!
2008-09-07 13:24:23 +00:00
Mike Mazur ec13642e1a Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected string. 2008-09-07 08:00:41 +00:00
Mike Mazur 1428d7f3db (Hopefully) fix making .zip and .tar.gz files with each build. 2008-09-07 07:17:46 +00:00
Jeff Ames 0ecd7faf6e Update svn properties. 2008-09-07 07:13:12 +00:00
Justin Clarke Casey 108f3b89f5 * On a failing login, don't bother trying the default region if it's the same as the original login region 2008-09-07 05:29:12 +00:00
Justin Clarke Casey 42661a8a97 * Increase expect_user XMLRPC timeout from 6 to 30 seconds
* This may possibly (est. 20% change) help the situation that we see on OSGrid meetings when a region stops accepting logins, which appears to be because it never receives the expect_user request
2008-09-07 05:21:03 +00:00
Justin Clarke Casey 815278531a * Improve login failure handling.
* Now it should properly inform the user and stop a login if a region server could not be contacted in order to expect a user (the last commit didn't actually quite work correctly)
2008-09-07 05:07:57 +00:00
Justin Clarke Casey 260b141306 * refactor: Remove duplication in UserLoginService where most of the emergency region login code is a cut and paste job of the preceding normal region login code
* also, properly tell the user if no region can be contacted, rather than letting the login proceed only to fail later when authentication fails on the region side
* copying and pasting code... it makes me cry inside... so sad...
2008-09-07 04:20:47 +00:00
Charles Krinke 94195c4927 Clean up some of the nonsensical use of ScriptSleep
inside our LSL-C# wrapper subroutines.
2008-09-07 04:00:44 +00:00
Justin Clarke Casey b9acf3ac5e * minor: for now, print out the exception if logging into the initially selected region fails, rather than swallowing it 2008-09-07 03:34:44 +00:00
Justin Clarke Casey 78f831ef52 * minor: Clean up of logging messages to make following the client login process easier
* documentation
2008-09-07 03:22:33 +00:00
Justin Clarke Casey ea8c18f63d * minor: just minor doc and tidy up 2008-09-07 00:47:08 +00:00
Charles Krinke aaf7f80dd1 Remove a few of the commented out "NotImplemented"
calls from our LSL-C# wrappers.
2008-09-07 00:42:46 +00:00
Charles Krinke b85a29d1b8 Mantis#2136. Thank you kindly, HomerHorwitz for a patch that:
libomv corrected the endianess of some Helper methods, which 
broke the fake parcelID computation for "About Landmark". 
The attached patch fixes this.
2008-09-06 23:08:08 +00:00
Teravus Ovares 3378b502c5 * This changes gridcomms types back to our home grown wholy controlled types.
* These are different types then the OMV types because changing them causes just about all grid comms to break.   If these were the libOMV types, then libOMV couldn't change them ever again after that..  or we'd have a breakage whenever they changed them.
* This might introduce a map issue.   Still checking it out.
2008-09-06 22:28:51 +00:00
Charles Krinke c37004291a Mantis#1234. Thank you HomerHorwitz for a patch that:
The big libomv patch introduced a small regression: 
OpenSim doesn't build on monodevelop anymore. The 
attached patch fixes this in prebuild.xml.
2008-09-06 22:11:27 +00:00
Teravus Ovares a97155b106 * Addresses the same issue as last commit on SceneObjectGroup border crossings 2008-09-06 19:40:04 +00:00
Teravus Ovares 6fc23adbc2 * Fixes a few type changes that caused the XML Format to break.
* Testers, please try rezzing your inventory on this revision and sending me feedback in mantis.
* Users, it's not time to update yet.  The dust still hasn't settled.
2008-09-06 19:21:41 +00:00
Tedd Hansen e0264f67d6 Brushing rust of ye old commit 2008-09-06 18:49:36 +00:00
Melanie Thielker 9e545c9984 Mantis #2133
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00
Teravus Ovares f342bd1e96 * Replace a Try/catch I commented out while testing/fixing issues. 2008-09-06 08:10:40 +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
Justin Clarke Casey cbec2bf22b * minor: speculatively try a change to bamboo.build to see if this generates nightly binaries again 2008-09-06 05:56:03 +00:00
Dahlia Trimble 7d7f57a94d more unit test cross-platform compatibility tweaks 2008-09-06 04:55:05 +00:00
Melanie Thielker a7e2d14454 Rolling back #6139 because there is no consensus on it's application.
Reverted pending further discussion.
2008-09-06 04:35:33 +00:00
Melanie Thielker b6b1e9e214 Mantis #624
Thank you, openlifegrid, for a patch to move new user connections to
thread pool threads.
Reworked by me to fit current trunk.
I believe that that patch may be beneficial in reducing the cases
in which regions become unresponsive and will no longer accept
new logins.
2008-09-06 04:21:36 +00:00