aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Remove all use of asset.InvType, as outlined in mailing list discussionJustin Clarke Casey2008-06-231-1/+1
| | | | | | * This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
* Mantis#1573. Thank you kindly, Mikem for a patch to ourCharles Krinke2008-06-201-1/+1
| | | | | | LSL subroutine implementation to solve an infinite loop in llParseString2List() under certain circumstances.
* Minor formatting cleanup.Jeff Ames2008-06-181-2/+1
|
* * minor: Remove LINK_SET debug Console WritelineJustin Clarke Casey2008-06-131-2/+0
| | | | | | | * only appeared in DotNetEngine's LSL_BuildIn_Commands.cs * Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548)
* A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.csCharles Krinke2008-06-131-11/+9
| | | | | and its copy LSL_ScriptCommands.cs
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-101-2/+2
|
* Mantis#1469. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-091-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/.
* * Fixed it so you can do a lot more llDetected* methods in many additional ↵Teravus Ovares2008-06-083-5/+124
| | | | | | | situations and have it work. * script Collision reporting works now in DotNetEngine
* * Added compiler pre-processor, #if SPAM to SensorRepeat... so if you ↵Teravus Ovares2008-06-081-3/+12
| | | | really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
* * Fixes llDetectedKey. Teravus Ovares2008-06-081-53/+2
|
* * llSetPrimitiveParams PRIM_FLEXIBLE is now supported.Teravus Ovares2008-06-061-0/+1
|
* * Added Light control from script in LLSetPrimitiveParams.Teravus Ovares2008-06-061-2/+57
|
* * Added a configuration option for allowing god script lsl methods.. such ↵Teravus Ovares2008-06-061-19/+29
| | | | as llSetObjectPermMask. By default it's off.
* * Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken ↵Teravus Ovares2008-06-061-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.
* Mantis#1459. Thank you kindly, CMickeyb for a patch that:Charles Krinke2008-06-051-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... :-)
* Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-051-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.
* * This sends collision events to the script engine. Teravus Ovares2008-06-054-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....
* Mantis#1447. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-06-041-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.
* applied patch from mantis #1268 , thanks mikemMW2008-06-041-0/+4
|
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-041-1/+1
|
* Mantis#1422. Thank you kindly, Xantor for your llLoopSound()Charles Krinke2008-05-301-0/+6
| | | | | | patch and I apologize for my confusion with the interim patch earlier.
* Mantis#1422. Thank you kindly, Xantor for a patch that :Charles Krinke2008-05-301-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
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-303-21/+21
|
* thanks krtaylor for a Dr Scofield2008-05-301-17/+18
| | | | | | | | Patch to cleanup some incorrect parsing, boundry conditions and error checking in the llGetNotecardLine and llGetNumberOfNotecardLines functions.
* Mantis#1411. Thank you kindly for Dataserver.cs and a patchCharles Krinke2008-05-295-5/+182
| | | | | | that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event
* Mantis#852. Thank you kindly, cmickeyb for a patch that:Charles Krinke2008-05-291-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.
* From: Kurt Taylor <krtaylor@us.ibm.com>Sean Dague2008-05-283-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.
* Mantis#1406. Thank you kindly, Xantor for a patch that:Charles Krinke2008-05-281-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.
* Formatting cleanup.Jeff Ames2008-05-282-2/+2
|
* Thank you, Grumly57 kindly for:Charles Krinke2008-05-284-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.
* disabling m_log again.Dr Scofield2008-05-261-1/+1
|
* This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield2008-05-263-18/+16
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-251-4/+9
|
* * A hacky Top Scripts display. It isn't accurate as far as ms accounting, ↵Teravus Ovares2008-05-253-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.
* Thank you very much, Xantor for a patch that:Charles Krinke2008-05-251-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).
* * Refactor: Collapse some multiple remove object pathsJustin Clarke Casey2008-05-241-1/+1
| | | | | | * Push some delete functionality into InnerScene to match what's already there for adding objects
* Mantis 1357 Patch - Thanks mikem!Adam Johnson2008-05-221-4/+8
|
* * Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.Adam Frisby2008-05-181-0/+1
|
* Formatting cleanup.Jeff Ames2008-05-1615-180/+180
|
* Thank you very much, mjm for :Charles Krinke2008-05-161-14/+9
| | | | | Fixing LSL multiplication and division operators for quaternions
* Committing Xantor's LLEuler3Rot still broken fix patch. Mantis 001235. ↵Teravus Ovares2008-05-151-97/+44
| | | | Thanks Xantor!
* From: Dr Schofield <hud@zurich.ibm.com>Justin Clarke Casey2008-05-141-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.
* From: Kurt Taylor <krtaylor@us.ibm.com>Justin Clarke Casey2008-05-141-40/+2
| | | | | | More scipt engine cleanup - removed not needed or improper use of NotImplemented and Console.WriteLine
* Applied Patch mantis 1220. Implements llGetStartParameter. Thanks!Teravus Ovares2008-05-141-2/+2
|
* More formatting cleanup.Jeff Ames2008-05-141-4/+7
|
* Formatting cleanup.Jeff Ames2008-05-148-80/+84
|
* * Removed 19 warningsTeravus Ovares2008-05-142-2/+2
|
* * Refactor: Stop exposing the inner scene's ScenePresence dictionary ↵Justin Clarke Casey2008-05-131-17/+24
| | | | directly to the world
* *Complete redo of the permissions modulemingchen2008-05-131-1/+1
| | | | | | *Removed hardcoded permissions checks *Added permissions checks where needed
* Formatting cleanup.Jeff Ames2008-05-122-66/+41
|