aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-23Formatting cleanup.Jeff Ames2-15/+15
2009-11-20Fix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for ↵Justin Clark-Casey (justincc)1-1/+19
statements cause script compile failures This fixes a problem in OpenSim where statements of the form for ((i = 0); (i < 10); (++i)) { ... } do not compile even though they are valid lsl.
2009-11-17refactor: move AnimationSetJustin Clark-Casey (justincc)1-1/+2
2009-11-17refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)2-14/+18
ScenePresenceAnimator class
2009-11-12Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)3-32/+81
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-10Add IScriptModuleComms interface and region module to handle dispatch ofMelanie1-3/+16
script messages to region modules and sending back replies. Hook IScriptModuleComms.OnScriptCommand to see commands and use DispatchReply to reply to the script. It is recommended to pass the "id" parameter from the event as the "k" parameter of the reply. The script will receive the reply as a link message from link -1.
2009-11-10Add modSendCommand function (note, this is a new API module, using the APIMelanie4-0/+234
extension mechanism, it's not a osFunction!
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-5/+2
unknown asset type, and log an error if it ever does happen
2009-11-04Removing EntityBase.RotationJohn Hurliman1-1/+8
2009-11-02Removing duplicate SceneObjectPart.RotationalVelocity propertyJohn Hurliman1-2/+1
2009-10-31Patch + minor formatting fixes.Diva Canto1-1/+1
2009-10-31http://opensimulator.org/mantis/view.php?id=4337Douglas R. Miles1-1/+1
2009-10-29More performance improvements to XEngine script loadingJohn Hurliman1-12/+12
2009-10-29* Misc. formatting cleanup for the previous patchJohn Hurliman2-28/+31
* Added the new AppDomainLoading variable to the [XEngine] section in the example config
2009-10-29OptimizationsDan Lake3-95/+91
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-4/+4
2009-10-23Inconsistent locking of SenseRepeaters in Script Engine.unknown1-8/+11
When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration. The attached patch locks SenseRepeatListLock in GetSerializationData()
2009-10-23Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman2-9/+12
avoiding locking and copying the list each time it is accessed
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman1-5/+3
use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
2009-10-22Fixing the patch to the patchSnowcrash1-3/+6
2009-10-22Fix rounding error in PRIM_SIZE portion of llSetPrimitiveParamsSnowcrash1-3/+4
2009-10-22Make the LSL scripting delays take full effect. To tune, tweat theMelanie1-56/+49
ScriptDelayFactor in config
2009-10-21Fix llParticleSystem to accept LSL variables and LSL constants in placeMelanie1-1/+1
of the named constants for the rule selector. Information provided by Snowcrash
2009-10-20* Removing ODEPrim and ODECharacter GetHashCode() overrides since they were ↵John Hurliman1-1/+1
based on something that could change * Tweaked a few other GetHashCode() overrides to bring them in line with MSDN recommendations
2009-10-20Fix for index error in llList2StringSnowcrash1-6/+6
2009-10-17Add support for display of the script compilation errors in the script editor'sMelanie1-7/+6
debug pane. This will still use DEBUG_CHANNEL currently, since it is not fully implemented. This also removes the "Compiled successfully" message that pops up in the viewer.
2009-10-15Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman2-11/+11
implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
2009-10-14Enable LSL dialogs to display group names properlyMelanie1-0/+10
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman1-1/+0
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2-2/+2
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)2-26/+29
- adding LandDataSerializer to OAR mechanics
2009-10-02Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization ↵Melanie2-9/+11
of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity" This reverts commit 39842eb4af3b5a8c52d56c0f7f05ad54f0651bb0.
2009-10-02Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization ↵Melanie2-9/+11
of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity" This reverts commit 39842eb4af3b5a8c52d56c0f7f05ad54f0651bb0.
2009-09-30Commit initial version of KittoFlora's vehicle changesopensim1-14/+17
2009-10-01Formatting cleanup.Jeff Ames2-6/+6
2009-09-29 Given the perverse way that strided works, ifAlan M Webb1-4/+7
there is only one element in the range, it must also coincide with the specified stride. The existing code assumes that the stride starts at start ( which is the expected and most useful behavior). Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29Add copyright header. Formatting cleanup.Jeff Ames1-28/+22
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto2-14/+22
minimally. A few bugs to catch now.
2009-09-23* fix endlines in LSL_api.csTeravus Ovares (Dan Olivares)1-6/+6
2009-09-23Added delay loop to give a newly created assembly time to appear. OnAlan M Webb1-32/+71
Linux (as an example), it is possible for the existence check to fail because the file is not yet recognized by the file system. Although the loop has a 250mS delay, in practise, the existence test in the for loop is successful and no delay is introduced. Next, this takes care of the two, unpredictable, situations where a script fails to compile. The first is caused by an occasional SEGV in the underlying mono VM while mcs is running, the second is caused by file system latency. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-22Moved RegionName from RegionInfo to SimpleRegionInfo.Diva Canto1-5/+5
2009-09-22Thank you, Intari, for a patch that implements the missing pieces ofMelanie3-8/+12
Http-in and makes the host name for URL generation configurable. Applied with changes: llGetSimulatorHostname was not changed, because the change breaks existing behavior and carries a data exposure risk. That value needs to be configurable, the proposed fixed change is not acceptable.
2009-09-19Updatate llOpenRemoteDataChannel to provide the external hostname configured ↵BlueWall (James Hughes)1-1/+5
in the Regions.ini (or xml) to the XmlRpcGridRouterModule
2009-09-18addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart3-0/+35
now including iVoiceModule This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16* Adding Scale to EntityBase * Fixing the incorrect initialization of ↵John Hurliman2-11/+9
EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity
2009-09-16 This fix allows you to configure a script-to-console-log channelAlan M Webb1-49/+70
association. Then, whenever there is an llSay to that channel, the message is directed to the OpenSim console log (and NOT forwarded to the client). This is a great way to capture scripting events to the log. To enable, add ScriptConsoleChannel = -xxx to the ScriptEngine parameters in the .ini file. Note that the message is written using Console.WriteLine rather than the rather more fragile log4net service. The console channel is also not subjected to the 1024 character limit imposed on regular say traffic. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 This fixes a boundary case error in the strided listAlan M Webb1-0/+4
implementation. If the range included only a single item an empty list was always returned (has no-one been using this function?) Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-14fix to preserve UTF8 encoding in saved script state.dr scofield (aka dirk husemann)1-4/+4
2009-09-09reformatting.dr scofield (aka dirk husemann)1-18/+17
2009-09-09fix: unicode notecards not surviving script treatment (fixes #4119 ---dr scofield (aka dirk husemann)2-8/+8
perhaps).