aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-11Remove the cm* function namespaceMelanie Thielker2-16/+1
2010-06-11Rename CM files to LSMelanie Thielker3-26/+26
2010-06-11Rename cm* function set to ls* (for LightShare)Melanie Thielker3-15/+30
2010-06-11Clone cmGetAvatarList into osGetAvatarList for more generic use.Melanie Thielker3-0/+33
2010-06-09If a script is deleted before it gets compiled, don't even bother to tryMelanie1-0/+19
compiling it
2010-06-02Add a forgotten security check. Make the new functions only work on primsMelanie Thielker1-0/+6
owned by the host prim owner.
2010-06-02Add two new osFunctions:Melanie Thielker5-0/+50
list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
2010-06-01Comment and remove JScript support. Mono 2.7Dev and 2.8 no longer include theMelanie1-19/+19
needed libraries
2010-05-31Fix create selection getting overwritten by multiple updates for the same prim.Melanie Thielker1-1/+1
2010-05-30Changes osFunction permissions again. Allow_ with a list of UUIDs now againMelanie Thielker1-16/+51
refers to prim OWNERS. A new option set, Creators_, is added to allow selection by script creator. For existing installs, this means no functional change. The warning from my prior commit doesn't apply anymore.
2010-05-30Changes OSSL Api permissions for the case of UUID list. In 0.6.9, the UUIDsMelanie Thielker1-3/+18
would be the IDs of the prim owners in whose prims these functions would run. This changes it so the UUID is the SCRIPT CREATOR instead. Further, osfunctions limited by uuid will not run if the creator and owner differ and the owner has mod rights on the script. There is still a danger in passing moodifiable scripts to others, as they can insert a harmful function, then remove the mod rights to make it runnable. As before, care needs to be taken, but where it was modable prims that were the risk before, modable scripts are the weak spot now. In cases where prim owner == script creator == script owner, nothing will change.
2010-05-13Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master3-0/+101
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-10Return agents when angle is PIMelanie1-0/+4
Fixes Mantis #4703
2010-05-10Fix a null ref on region crossingMelanie1-1/+4
2010-05-08More cleaning on presence. Friends online/offline works again.Diva Canto1-1/+3
2010-05-05Removed a test for a "can't happen" case. ParentGroup is never null anymore.Melanie Thielker1-9/+1
2010-05-03Add URL_REQUEST_* script constantsMelanie1-0/+2
2010-04-28Compiler.cs contained method GetCompilerOutput which, apparently,unknown1-4/+7
was not used, but exactly the same path was calculated inline. This patch does some minor refactoring by replacing inline path calculation with GetCompilerOutput. This doesn't actually affect anything, just minor prettifying of the code
2010-04-21Make the detection cone in attachments face in the direction of the avatar,Melanie1-0/+9
not the relative rotation of the attachment towards the avatar.
2010-04-19Stopgap measure. Disable the recent script startup changes until I can cure theMelanie1-1/+1
race condition.
2010-04-19All scripts are now created suspended and are only unsuspended when the objectMelanie3-0/+35
is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
2010-03-31First attempt at fixing mantis #4641. It's better but there are now some ↵Diva Canto3-7/+7
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-31Add missing licenses. Change relicensed LightShare module to proper BSDMelanie2-2/+56
licensing.
2010-03-31Adding the LightShare module and scripting API. This code was written byMelanie4-0/+651
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-19Renamed TryGetAvatar to TryGetScenePresence on SceneManager, SceneBase, ↵Dan Lake1-1/+1
Scene and SceneGraph. This was the only change in this patch to keep it isolated from other recent changes to the same set of files.
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake3-83/+68
GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
2010-03-10Formatting cleanup. Add copyright notices.Jeff Ames1-1/+1
2010-03-07Small consistency changeMelanie1-2/+2
2010-03-06- supporting llTextBoxunknown1-2/+27
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-06- implementing server 1.38 functionsunknown4-10/+114
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-06refactor: Move DetachSingleAttachmentToInv to region moduleJustin Clark-Casey (justincc)1-2/+3
need to rationalize method names later
2010-03-05refactor: begin to move attachments code into a region moduleJustin Clark-Casey (justincc)1-3/+5
2010-03-05Fix LocalPresenceServiceConnector test now that the hardcoded test data has ↵Justin Clark-Casey (justincc)1-1/+0
been removed from Data.Null.NullPresenceData Unfortunately, this meant publicly exposing the underlying service for the connector. The other solution would be to create alternative initializers for services and connectors where objects could be given directly rather than loaded indirectly through config. Unfortunately, this would require a lot of work in this case but might be the better way forward.
2010-03-04move linden notecard parsing from LSL_Api.cs to SLUtil so that region ↵Justin Clark-Casey (justincc)1-81/+2
modules can use it
2010-03-04Remove a superfluous array creationMelanie1-1/+0
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-15Formatting cleanup.Jeff Ames2-33/+33
2010-02-14Revolution is on the roll again! :)Revolution2-55/+210
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-02-12Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)2-17/+17
These patch should allow people using systems that do not have their locale set to En_US or similar to use OpenSim without suffering effects such as being a million miles up in the air on login. The problem was caused by parsing strings without forcing that parse to be En_US (hence different decimal and digit group symbols were causing problems). Thanks very much to VikingErik for doing the legwork on this fix and phacelia for spotting it in the first place.
2010-02-01minor: rename GetScriptPrimType() to GetPrimType()Justin Clark-Casey (justincc)1-2/+2
2010-02-01move hollow sphere faces bug back up to LSL_Api.csJustin Clark-Casey (justincc)1-36/+51
2010-02-01remove now duplicated shape code from LSL_Api.csJustin Clark-Casey (justincc)1-190/+45
2010-02-01Copy prim face color setting code from LSL_Api down into SOP so that non-LSL ↵Justin Clark-Casey (justincc)1-1/+0
callers can use it
2010-01-30* HGScene is no more.Diva Canto1-1/+0
* Moved a few key inventory access methods from Scene.Inventory to an IInventoryAccessModule module
2010-01-29Apply http://opensimulator.org/mantis/view.php?id=3334Justin Clark-Casey (justincc)1-1/+6
Send continuous touch() events if the left mouse button is held down while moving over an object This conforms with Linden Lab practice Thanks Revolution
2010-01-25Fix a problem where llDie() calls were sometimes leaving dead objects behind.Justin Clark-Casey (justincc)1-6/+3
When an object was deleted, the remove script instance call was aggregating the scripting events as normal. This would queue a full update of the prim before the viewer was notifed of the deletion of that prim (QuitPacket) On some occasions, the QuitPacket would be sent before the full update was dequeued and sent. In principle, you would think that a viewer would ignore updates for deleted prims. But it appears that in the Linden viewer (1.23.5), a prim update that arrives after the prim was deleted instead makes the deleted prim persist in the viewer. Such prims have no properties and cannot be removed from the viewer except by a relog. This change stops the prim event aggregation call if it's being deleted anyway, hence removing the spurious viewer-confusing update.
2010-01-24Removed obsolete interface IHyperlink.Diva Canto1-13/+4
2010-01-12Bug in llGetNumberOfPrims always returns to script when no clients are ↵Dan Lake1-14/+3
connected to the simulator.