aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adding osFunctions for light projectionBlueWall2010-10-171-0/+10
| | | | | | | | | | | | | | | | | | | | | Set the projection parameters in the host prim ... osSetProjectionParam(bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Set the projection parameters in a target prim ... osSetProjectionParam(ikey target uuid, bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Threat Level very high Signed-off-by: Melanie <melanie@t-data.com>
* Merge branch 'moap'Justin Clark-Casey (justincc)2010-08-062-0/+51
|\
| * properly expose prim media LSL functions to scriptsJustin Clark-Casey (justincc)2010-07-261-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
| * Fire CHANGED_MEDIA event if a media texture is set or clearedJustin Clark-Casey (justincc)2010-07-261-0/+1
| |
| * implement llSetPrimMediaParams()Justin Clark-Casey (justincc)2010-07-261-1/+11
| | | | | | | | Untested
| * Implement llGetPrimMediaParams()Justin Clark-Casey (justincc)2010-07-261-0/+25
| | | | | | | | | | Exposes method to get media entry via IMoapModule As yet untested.
* | Correct some script constants.Melanie2010-08-061-3/+4
|/
* Remove the cm* function namespaceMelanie Thielker2010-06-112-16/+1
|
* Rename CM files to LSMelanie Thielker2010-06-111-10/+10
|
* Rename cm* function set to ls* (for LightShare)Melanie Thielker2010-06-111-3/+18
|
* Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker2010-06-111-0/+5
|
* Add two new osFunctions:Melanie Thielker2010-06-021-0/+9
| | | | | list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
* Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-131-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.
* Add URL_REQUEST_* script constantsMelanie2010-05-031-0/+2
|
* First attempt at fixing mantis #4641. It's better but there are now some ↵Diva Canto2010-03-312-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)
* Adding the LightShare module and scripting API. This code was written byMelanie2010-03-312-0/+153
| | | | TomMeta and was contributed by Meta7.
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-0/+2
| | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
* - implementing server 1.38 functionsunknown2010-03-062-0/+21
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Revolution is on the roll again! :)Revolution2010-02-141-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>
* Whitespace cleanupMelanie2010-01-111-2/+2
|
* Adds llRotTarget and the events at_rot_target and not_at_rot_target.Revolution2010-01-111-3/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-042-29/+29
|
* Add virtual method StateChange to ScriptBaseClassMelanie2010-01-021-0/+4
|
* Adds osKickUser and osSetSpeedunknown2009-12-311-0/+16
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* * Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby2009-12-131-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
* Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee2009-11-262-0/+28
|
* Change osTeleportAgent parameters from long to int. That numerical range isMelanie2009-11-251-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.
* Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)2009-11-121-9/+19
| | | | Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
* Add modSendCommand function (note, this is a new API module, using the APIMelanie2009-11-102-0/+67
| | | | extension mechanism, it's not a osFunction!
* OptimizationsDan Lake2009-10-291-1/+1
|
* Formatting cleanup.Jeff Ames2009-10-011-2/+2
|
* Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-221-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.
* addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart2009-09-181-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>
* remove warningJustin Clark-Casey (justincc)2009-09-061-1/+2
|
* - making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)2009-08-311-0/+5
| | | | | | | | | | | via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
* Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares2009-08-281-0/+5
|
* Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares2009-08-251-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.
* Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares2009-08-211-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)
* * Protip: Declare publically accessible functions, as public functions.Adam Frisby2009-08-211-4/+6
|
* * Addendum to previousAdam Frisby2009-08-211-0/+17
|
* Remove the script sponsor logic because scripts are timing out again.Melanie2009-08-141-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.
* Formatting cleanup.Jeff Ames2009-08-091-3/+3
|
* This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-071-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.
* Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParamsMelanie2009-08-071-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.
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-074-35/+26
| | | | | Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
* Revert the XEngine memleak patch, it causes premature GC.Melanie2009-08-074-26/+35
| | | | | 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-064-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.
* Formatting cleanup.Jeff Ames2009-06-102-3/+3
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-091-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.
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-031-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.