aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-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 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-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).
2009-09-07llRot2Euler() now returns angles -PI < angle < PIdahlia1-3/+8
2009-09-07random drive-by maths optimization in llRot2Euler() and llEuler2Rot()dahlia1-8/+8
2009-09-06remove warningJustin Clark-Casey (justincc)1-1/+2
2009-08-31- making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)3-0/+15
via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
2009-08-28Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares3-0/+25
2009-08-25Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares3-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.
2009-08-21Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares3-0/+25
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)
2009-08-21Add copyright header. Formatting cleanup.Jeff Ames1-15/+17
2009-08-21* Moves NPC Creation across AppDomains to prevent a major perfomance issue.Adam Frisby1-0/+2
2009-08-21* Protip: Declare publically accessible functions, as public functions.Adam Frisby1-4/+6
2009-08-21* Addendum to previousAdam Frisby1-0/+17
2009-08-21* Fleshes more of NPCModule out.Adam Frisby2-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.
2009-08-20* Deal with git thinking that file was changed even though it wasn't and ↵Teravus Ovares (Dan Olivares)1-24/+24
it's blocking a pull
2009-08-21* Implements a bunch of stuff in NPCModuleAdam Frisby1-24/+24
2009-08-18osGetLinkPrimitiveParams fixJeff Lee1-1/+25
2009-08-15Changed FromAssetID to FromItemIDDiva Canto1-1/+1
2009-08-14Remove the script sponsor logic because scripts are timing out again.Melanie3-13/+14
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.
2009-08-09Formatting cleanup.Jeff Ames4-12/+12
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2-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.
2009-08-08Update threat level descriptionMelanie1-0/+1
2009-08-07Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParamsMelanie4-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.
2009-08-07Another stab at cmickeyb's patch for script GC.Melanie6-41/+32
Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
2009-08-07Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL ApiMelanie1-1/+9
2009-08-07Revert the XEngine memleak patch, it causes premature GC.Melanie6-32/+41
This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
2009-08-06|From: James J Greensky <jame.j.greensky@intel.com>Melanie6-41/+32
|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.
2009-08-05remove some more mono compiler warningsJustin Clark-Casey1-1/+1
2009-08-05* Remove some mono compiler warningsJustin Clark-Casey1-1/+1
2009-07-28Formatting cleanup.Jeff Ames1-205/+198
2009-07-27Than you, otakup0pe, for a patch to correct llSetPos & friends' behaviorMelanie Thielker1-14/+24
for child prims. Fixes Mantis #3931
2009-07-25* Updates libOMV to version 0.7.0Teravus Ovares1-2/+4
* Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-23Formatting cleanup.Jeff Ames1-14/+14
2009-07-18Thank you, otakup0pe, for a patch that enables basic auth with LSLMelanie Thielker1-1/+17
2009-07-15A stab at implementing llSetDamage. Not persistent.Melanie Thielker1-1/+1
2009-07-14Remove redundant distance limitaion in llRezAtRootMelanie Thielker1-5/+0
Fixes Mantis #3887
2009-07-11Formatting cleanup.Jeff Ames1-4/+4
2009-07-09Thank you kindly, Godfrey, for a patch that:Charles Krinke1-2/+4
The vector parameter to llSetPos() specifies an absolute position for an unlinked prim or the root prim of a linkset; however, when the function is used by a child prim, the vector specifies a relative offset from the root prim. The changed introduced in llSetPos() treats this value as an absolute position in all cases, which has the unintended effect of mangling the position of child prims.
2009-07-08Add DisableUndergroundMovement to scrpting API to allow underground movementMelanie Thielker1-1/+3
if needed. Defaults to true, so those who want to continue using underground scripted prims need to add that option and set it.
2009-07-08Prevent scripts from moving prims undergroundMelanie Thielker1-1/+4
2009-07-06Change fields and methods in LSL API from private to protected, make someMelanie Thielker1-99/+104
methods virtual