aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-06-10Update svn properties. Formatting cleanup.Jeff Ames1-2/+2
2008-06-09Mantis#1469. Thank you kindly, Mikem for a patch that addresses:Charles Krinke1-0/+24
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-08* Fixed it so you can do a lot more llDetected* methods in many additional ↵Teravus Ovares3-5/+124
situations and have it work. * script Collision reporting works now in DotNetEngine
2008-06-08* Added compiler pre-processor, #if SPAM to SensorRepeat... so if you ↵Teravus Ovares1-3/+12
really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
2008-06-08* Fixes llDetectedKey. Teravus Ovares1-53/+2
2008-06-06* llSetPrimitiveParams PRIM_FLEXIBLE is now supported.Teravus Ovares1-0/+1
2008-06-06* Added Light control from script in LLSetPrimitiveParams.Teravus Ovares1-2/+57
2008-06-06* Added a configuration option for allowing god script lsl methods.. such ↵Teravus Ovares1-19/+29
as llSetObjectPermMask. By default it's off.
2008-06-06* Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken ↵Teravus Ovares1-5/+46
because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim.
2008-06-05Mantis#1459. Thank you kindly, CMickeyb for a patch that:Charles Krinke1-2/+5
the function that reports errors in event handling is not computing the line numbers correctly for windows paths (and probably linux paths). As a result, the conversion to int throws an exception. note... i'm not sure why we extract the line number, convert it to an int, then convert it back to a string... but hey... :-)
2008-06-05Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke1-9/+64
LSL scripts in which a float type is cast to a string or a string type is cast to a float do not compile. When the script is translated from LSL to C#, the LSL float type is translated into double. There is no string <-> double cast in C#, so compilation fails. There is a LSLFloat type, however it seems unfinished and is not used. I am attaching a patch that implements the LSLFloat type. I have also added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-05* This sends collision events to the script engine. Teravus Ovares4-15/+137
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-06-04Mantis#1447. Thank you kindly, Kinoc for a patch that:Charles Krinke1-3/+4
llKey2Name fix to show avatar name instead of "Basic Entity" One line fix. Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
2008-06-04applied patch from mantis #1268 , thanks mikemMW1-0/+4
2008-06-04Formatting cleanup, minor refactoring, svn properties.Jeff Ames1-1/+1
2008-05-30Mantis#1422. Thank you kindly, Xantor for your llLoopSound()Charles Krinke1-0/+6
patch and I apologize for my confusion with the interim patch earlier.
2008-05-30Mantis#1422. Thank you kindly, Xantor for a patch that :Charles Krinke1-44/+32
- volume doesn't change with a new llLoopSound(same sound, new volume); - SendFullUpdateToClients sends 0's in all sound related fields when there's no sound on the prim, thereby improving the amount of data being sent out on these prims (fixes zeropack) - Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30Update svn properties. Formatting cleanup.Jeff Ames3-21/+21
2008-05-30thanks krtaylor for a Dr Scofield1-17/+18
Patch to cleanup some incorrect parsing, boundry conditions and error checking in the llGetNotecardLine and llGetNumberOfNotecardLines functions.
2008-05-29Mantis#1411. Thank you kindly for Dataserver.cs and a patchCharles Krinke5-5/+182
that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event
2008-05-29Mantis#852. Thank you kindly, cmickeyb for a patch that:Charles Krinke1-17/+46
There appears to be a problem with the mapping of scripts when an llHTTPRequest completes. CheckHttpRequests() looks for a function that maps to the localID associated with the http request. However, the only context in which it looks is that of the first region. That is, m_CmdManager.m_ScriptEngine.m_ScriptManager is the same no matter where the script executed that initiated the llHTTPRequest. Since scripts appear to be loaded into a region specific scriptmanager on startup, the event handler is only found for requests coming from the first region.
2008-05-28From: Kurt Taylor <krtaylor@us.ibm.com>Sean Dague3-7/+86
Attached is an initial implementation of llGetNotecardLine and llGetNumberOfNotecardLines. I decided to go ahead an send these out for comment while I continue to work on the second part of the proper implementation. These functions work and return the values requested, as initially defined in the code, but should be properly implemented to return the requested information via a dataserver event. This event will be added and these functions fixed and included in a second patch shortly.
2008-05-28Mantis#1406. Thank you kindly, Xantor for a patch that:Charles Krinke1-2/+54
llLoopSound sends out one packet to clients in view, so it doesn't work anymore when clients enter later on, or the prim is modified in any way. Solution: Stored sound data on prim, send full update instead. llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object inventory sound names. llStopSound clears prim data and sends full update.
2008-05-28Formatting cleanup.Jeff Ames2-2/+2
2008-05-28Thank you, Grumly57 kindly for:Charles Krinke4-1/+20
This patch proposes a new function : osOpenRemoteDataChannel(key channeID) that allow to open an XMLRPC channel for remote_data event. The difference is that the channelID can be customized instead of being randomly generated.
2008-05-26disabling m_log again.Dr Scofield1-1/+1
2008-05-26This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield3-18/+16
llOwnerSay() via the newly created Scene.SimBroadcast() call.
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-4/+9
2008-05-25* A hacky Top Scripts display. It isn't accurate as far as ms accounting, ↵Teravus Ovares3-4/+6
however you can use it to help find out what scripts are causing your simulator to cry. * Access it from the Estate tools/Debug tab.
2008-05-25Thank you very much, Xantor for a patch that:Charles Krinke1-0/+4
Copying, reseting, dragging scripts cause unnecessary recompilation, slowing down the simulator and filling up the ScriptEngines directory with compiled .dll and misc. files. This patch keeps track of compiled assets since the last simulator restarts, and only recompiles new assets. (editing a script generates a new asset, so no problems there).
2008-05-24* Refactor: Collapse some multiple remove object pathsJustin Clarke Casey1-1/+1
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-22Mantis 1357 Patch - Thanks mikem!Adam Johnson1-4/+8
2008-05-18* Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.Adam Frisby1-0/+1
2008-05-16Formatting cleanup.Jeff Ames15-180/+180
2008-05-16Thank you very much, mjm for :Charles Krinke1-14/+9
Fixing LSL multiplication and division operators for quaternions
2008-05-15Committing Xantor's LLEuler3Rot still broken fix patch. Mantis 001235. ↵Teravus Ovares1-97/+44
Thanks Xantor!
2008-05-14From: Dr Schofield <hud@zurich.ibm.com>Justin Clarke Casey1-1/+1
* small patch that fixes a compiler warning (struct comparison against null again, my favourites) in LSL_BuiltIn_Commands. LSL_Types.key has a Boolean operator that can be used here.
2008-05-14From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey1-40/+2
More scipt engine cleanup - removed not needed or improper use of NotImplemented and Console.WriteLine
2008-05-14Applied Patch mantis 1220. Implements llGetStartParameter. Thanks!Teravus Ovares1-2/+2
2008-05-14More formatting cleanup.Jeff Ames1-4/+7
2008-05-14Formatting cleanup.Jeff Ames8-80/+84
2008-05-14* Removed 19 warningsTeravus Ovares2-2/+2
2008-05-13* Refactor: Stop exposing the inner scene's ScenePresence dictionary ↵Justin Clarke Casey1-17/+24
directly to the world
2008-05-13*Complete redo of the permissions modulemingchen1-1/+1
*Removed hardcoded permissions checks *Added permissions checks where needed
2008-05-12Formatting cleanup.Jeff Ames2-66/+41
2008-05-110001199: [PATCH] Add support for default animations Teravus Ovares1-8/+11
From Melanie... Thanks Melanie! .
2008-05-11* Changed implicit string conversion to LSL_Types.LSLString in money event ↵Teravus Ovares3-3/+6
of the key of the payer to an Explicit one. * Fixes Mantis: #1045
2008-05-09* Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - ↵Justin Clarke Casey3-4/+5
merely corrects the signature so that "not implemented" message is displayed rather than a script compile failure
2008-05-09From: Michael Osias <mosias@us.ibm.com>Justin Clarke Casey1-0/+12
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
2008-05-09Thank you, Melanie for a patch that helps conversionCharles Krinke1-0/+15
from a string to a vector in OSSL.