aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * fix endlines in LSL_api.csTeravus Ovares (Dan Olivares)2009-09-231-6/+6
|
* Added delay loop to give a newly created assembly time to appear. OnAlan M Webb2009-09-231-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>
* Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-223-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.
* Updatate llOpenRemoteDataChannel to provide the external hostname configured ↵BlueWall (James Hughes)2009-09-191-1/+5
| | | | in the Regions.ini (or xml) to the XmlRpcGridRouterModule
* addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart2009-09-183-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>
* This fix allows you to configure a script-to-console-log channelAlan M Webb2009-09-161-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>
* This fixes a boundary case error in the strided listAlan M Webb2009-09-161-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>
* fix to preserve UTF8 encoding in saved script state.dr scofield (aka dirk husemann)2009-09-141-4/+4
|
* reformatting.dr scofield (aka dirk husemann)2009-09-091-18/+17
|
* fix: unicode notecards not surviving script treatment (fixes #4119 ---dr scofield (aka dirk husemann)2009-09-092-8/+8
| | | | perhaps).
* llRot2Euler() now returns angles -PI < angle < PIdahlia2009-09-071-3/+8
|
* random drive-by maths optimization in llRot2Euler() and llEuler2Rot()dahlia2009-09-071-8/+8
|
* remove warningJustin Clark-Casey (justincc)2009-09-061-1/+2
|
* remove warningJustin Clark-Casey (justincc)2009-09-061-1/+2
|
* Experimental. Set attachment flag early on rezzing from inventory.Melanie2009-09-011-1/+0
|
* Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensimMelanie2009-08-313-0/+15
|\
| * - making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)2009-08-313-0/+15
| | | | | | | | | | | | | | | | | | | | | | via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
* | Change the return value if the compiler to "object" to allow compilersMelanie2009-08-314-7/+7
|/ | | | to return dynamic method objects
* Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares2009-08-283-0/+25
|
* Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares2009-08-253-0/+15
| | | | | | using arrow, diamond, round and flat caps. * Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
* Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares2009-08-214-7/+61
| | | | | | functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far. * Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
* Add copyright header. Formatting cleanup.Jeff Ames2009-08-211-15/+17
|
* * Moves NPC Creation across AppDomains to prevent a major perfomance issue.Adam Frisby2009-08-211-0/+2
|
* * Protip: Declare publically accessible functions, as public functions.Adam Frisby2009-08-211-4/+6
|
* * Addendum to previousAdam Frisby2009-08-211-0/+17
|
* * Fleshes more of NPCModule out.Adam Frisby2009-08-212-0/+58
| | | | | | | | | * Implements some OSSL commands: key osNpcCreate(string user, string name, vector position, key cloneFrom); void osNpcMoveTo(key npc, vector position); void osNpcSay(key npc, string message); void osNpcRemove(key npc); * Untested. Requires ThreatLevel.High.
* * Implements a bunch of stuff in NPCModuleAdam Frisby2009-08-211-24/+24
|
* osGetLinkPrimitiveParams fixJeff Lee2009-08-181-1/+25
|
* Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensimDiva Canto2009-08-172-1/+18
|\
| * * ShortVersion, another attempt at fixing the test thread death that ↵Teravus Ovares (Dan Olivares)2009-08-161-1/+2
| | | | | | | | | | | | randomly occurs. * LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
| * * minor: commentsTeravus Ovares (Dan Olivares)2009-08-161-0/+16
| |
* | Changed FromAssetID to FromItemIDDiva Canto2009-08-151-1/+1
|/
* * whoops, missing a /Teravus Ovares (Dan Olivares)2009-08-151-1/+1
|
* * Comment out XEngineTest that doesn't appear to test anything. It just ↵Teravus Ovares (Dan Olivares)2009-08-151-0/+3
| | | | creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom.
* Remove one more sponsor referenceMelanie2009-08-141-1/+1
|
* Remove the script sponsor logic because scripts are timing out again.Melanie2009-08-144-19/+15
| | | | | | This needs to be looked into. This commit, unfortunately, reinstates a memory leak in regions that see significant script fluctuation, e.g. lots of scripted attachments, or script development.
* Add some extra info to script load messagesMelanie2009-08-141-2/+2
|
* Replace the Replaceable modules nameMelanie2009-08-102-2/+2
|
* Formatting cleanup.Jeff Ames2009-08-094-12/+12
|
* Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensimMelanie2009-08-082-6/+7
|\
| * This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-072-6/+7
| | | | | | | | lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
* | Update threat level descriptionMelanie2009-08-081-0/+1
|/
* Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParamsMelanie2009-08-074-21/+53
| | | | | | | Fixes Mantis #3979 Applied with changes. Changed ThreatLevel to High since all discovery functions are a high threat. Overriding that is the responsibility of the grid owner.
* Experimental! Implement ISponsor in ScriptInstanceMelanie2009-08-071-12/+7
|
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-079-55/+55
| | | | | Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
* Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL ApiMelanie2009-08-071-1/+9
|
* Revert the XEngine memleak patch, it causes premature GC.Melanie2009-08-079-59/+55
| | | | | This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
* |From: James J Greensky <jame.j.greensky@intel.com>Melanie2009-08-069-55/+59
| | | | | | | | | | | | | | | | | | | |Date: Wed, 5 Aug 2009 09:51:52 -0700 |Subject: [PATCH] Closed two major memory leaks for scripted objects | |Two major memory leaks for the scripted objects were fixed |- One leak had to do with remoting acrossing app domains. When a script and | its controlling agent communicate across an application boundary, it calls | functions on a stub proxy object that then invokes the remote method on | the object in the other app domain. These stub objects (two for each script) | were setup to have infinate lifetimes and were never being garbage collected. |- The second leak was the result of adding a scene object part instance method | to a scene event and never removing it. This cause the event's delegate list | to maintain a link to that object which is then never freed as the scene event | object is never destroyed. Patch applied, please direct feedback to me. Possible issue: Longtime idle scripts like vendors may fail.
* remove some more mono compiler warningsJustin Clark-Casey2009-08-051-1/+1
|
* * Remove some mono compiler warningsJustin Clark-Casey2009-08-051-1/+1
|