Commit Graph

5943 Commits (1b333a0f58d345d37222eb1af821e6ebd457378c)

Author SHA1 Message Date
Melanie Thielker 4f85a9aa72 Fix llResetScript() and the reset button to actually restore global
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
2008-09-09 04:16:52 +00:00
Melanie Thielker 3ee91cb3c6 Preserve link numbers when items are taken into inventory and re-rezzed. 2008-09-09 03:48:09 +00:00
Jeff Ames fae34bb10c Update svn properties, formatting cleanup. 2008-09-09 01:26:48 +00:00
Melanie Thielker 3e1441afe1 Fix state xxx within state xxx itself triggering a state "change" to
same state
2008-09-09 01:24:58 +00:00
Melanie Thielker 084ea99be6 Fix string -> int cast to variable 2008-09-09 01:01:45 +00:00
Melanie Thielker 75380bc1aa Fix delimiter access from list for llParseStringKeepNulls 2008-09-09 00:43:14 +00:00
Melanie Thielker 19c9ea8ca0 Fix an inventory naming regression 2008-09-08 23:54:52 +00:00
Melanie Thielker 6ca7afabca Remove casting nastiness in LSL_Api 2008-09-08 23:13:59 +00:00
Melanie Thielker 1034c1cdc1 Correct state handling and state event masks. Prims will now show
touch, pay, etc script states correctly.
2008-09-08 22:19:06 +00:00
Sean Dague 737fcf322b fix an issue where we got coliding namespaces that prevented a sim start 2008-09-08 21:49:52 +00:00
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