aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-26Fire CHANGED_MEDIA event if a media texture is set or clearedJustin Clark-Casey (justincc)1-0/+1
2010-07-26implement llSetPrimMediaParams()Justin Clark-Casey (justincc)1-1/+11
Untested
2010-07-26Implement llGetPrimMediaParams()Justin Clark-Casey (justincc)1-0/+25
Exposes method to get media entry via IMoapModule As yet untested.
2010-07-15properly expose prim media LSL functions to scriptsJustin Clark-Casey (justincc)1-0/+15
scripts using these functions should now compile but I don't know how well the methods themselves work yet llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture
2010-07-12Fire CHANGED_MEDIA event if a media texture is set or clearedJustin Clark-Casey (justincc)1-0/+1
2010-07-12implement llSetPrimMediaParams()Justin Clark-Casey (justincc)1-1/+11
Untested
2010-07-12Implement llGetPrimMediaParams()Justin Clark-Casey (justincc)1-0/+25
Exposes method to get media entry via IMoapModule As yet untested.
2010-06-11Remove the cm* function namespaceMelanie Thielker2-16/+1
2010-06-11Rename CM files to LSMelanie Thielker1-10/+10
2010-06-11Rename cm* function set to ls* (for LightShare)Melanie Thielker1-3/+18
2010-06-11Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker1-0/+5
2010-06-02Add two new osFunctions:Melanie Thielker1-0/+9
list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master1-0/+15
joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
2010-05-03Add URL_REQUEST_* script constantsMelanie1-0/+2
2010-03-31First attempt at fixing mantis #4641. It's better but there are now some ↵Diva Canto2-6/+6
issues with permissions. (looks like my commit is going to touch CM files, I'm going to let it do it - eof only)
2010-03-31Adding the LightShare module and scripting API. This code was written byMelanie2-0/+153
TomMeta and was contributed by Meta7.
2010-03-31Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie1-0/+2
This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
2010-03-06- implementing server 1.38 functionsunknown2-0/+21
Signed-off-by: Melanie <melanie@t-data.com>
2010-02-14Revolution is on the roll again! :)Revolution1-0/+8
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-01-11Whitespace cleanupMelanie1-2/+2
2010-01-11Adds llRotTarget and the events at_rot_target and not_at_rot_target.Revolution1-3/+4
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames2-29/+29
2010-01-02Add virtual method StateChange to ScriptBaseClassMelanie1-0/+4
2009-12-31Adds osKickUser and osSetSpeedunknown1-0/+16
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-13* Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby1-0/+10
amount of memory allocated to the simulator process (Moderate Threat Level). * Cleans redundant information out of the Simulator Version. Versions now look like: "OpenSimulator 0.6.9(dev) Unix/Mono" * [Minor] additional log info for MySQLInventoryData
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee2-0/+28
2009-11-25Change osTeleportAgent parameters from long to int. That numerical range isMelanie1-2/+2
not even supported by the underlying type, so there is no need to ask for a type the script can not even supply.
2009-11-12Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)1-9/+19
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-10Add modSendCommand function (note, this is a new API module, using the APIMelanie2-0/+67
extension mechanism, it's not a osFunction!
2009-10-29OptimizationsDan Lake1-1/+1
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-09-22Thank you, Intari, for a patch that implements the missing pieces ofMelanie1-2/+2
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-18addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart1-0/+5
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-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)1-0/+5
via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
2009-08-28Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares1-0/+5
2009-08-25Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares1-0/+5
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 Valadares1-0/+5
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-21* Protip: Declare publically accessible functions, as public functions.Adam Frisby1-4/+6
2009-08-21* Addendum to previousAdam Frisby1-0/+17
2009-08-14Remove the script sponsor logic because scripts are timing out again.Melanie1-7/+8
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 Ames1-3/+3
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)1-4/+5
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-07Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParamsMelanie1-0/+5
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.Melanie4-35/+26
Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
2009-08-07Revert the XEngine memleak patch, it causes premature GC.Melanie4-26/+35
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>Melanie4-35/+26
|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-06-10Formatting cleanup.Jeff Ames2-3/+3
2009-06-09From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-4/+4
This change addresses two issues: [1] It adds a flag field to the blendface call which allows the caller to indicate whether or not the generated asset is temporary, and whether or not the asset being replaced should be explicitly retired fromt the memory cache. The decimal values correspond to: 0 - Permanent asset, do not expire old asset 1 - Permanent asset, expire old asset 2 - Temporary asset, do not expire old asset 3 - Temporary asset, expire old asset '3' corresponds to the default behavior seen today, and is the continued behavior of the non-blendface calls. [2] The dynamic texture routines are highly-asynchronous and can be scheduled simultaneously on a multi-core machine. The nature of the texture management interfaece is such that updates may be lost, and the nature of asynchornous operation means that they may be processed out of order. A lock has been added to ensure that updates are at least atomic. No attempt has been made to enforce ordering. The lock applies to the SceneObjectPart being updated and is held for the lifetime of the TextureEntry used to carry texture updates (the one instance carries all faces supported by the prim). Users of these services should remember that the dynamic texture call is asynchronous and control will be returned *before* the texture update has actually occurred. As a result, a isubsequent GetTexture call may not return the expected asset id. A script must wait for the corresponding TEXTURE_CHANGED event before retrieving any texture information.
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+17
This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.