aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-151-4/+4
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* Fixed handling of inventory a bitHomer Horwitz2009-05-091-2/+2
| | | | | | | | | - AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type. - The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string. - Replaced several magic numbers by their corresponding enum. - Fixed the invType for gestures and animations in the library. This should fix Mantis #3610 and the non-terminating inventory loading
* Thank you, Orion_Shamroy, for a patch to expand notecard readingMelanie Thielker2009-04-271-31/+130
| | | | | | | capabilities in OSSL. Fixes Mantis #3543
* Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine andMelanie Thielker2009-04-271-0/+79
| | | | | | | osGetNumberOfNotecardLines Fixes Mantis #2942
* Terrain changes done via osTerrainSetHeight aren't shown immediately to the ↵Homer Horwitz2009-04-191-32/+40
| | | | | | | | | | clients in that region. I decided against sending the terrain on every call to osTerrainSetHeight (which makes it abysmally slow), and added a osTerrainFlush instead, which should be called after all the terrain-changes have been done. Changed some return types to LSL types, too, and removed some end-of-line spaces.
* * Also use the profile cache for osKey2Name()Justin Clarke Casey2009-04-171-4/+4
|
* * Use cached user profiles in osAvatarName2Key()Justin Clarke Casey2009-04-171-4/+5
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-04-091-0/+41
| | | | | | | | | | | The attached patch implements osKey2Name and osName2Key which converts between a UUID key for an avatar and an avatar name and vice-versa. osKey2Name is similar to llKey2Name except that it will work even if the avatar being looked up is not in the same region as the script.
* Add copyright headers, formatting cleanup.Jeff Ames2009-04-061-19/+19
|
* Thanks BlueWall for a patch that adds Hypergrid dynamic linking to ↵diva2009-04-051-0/+20
| | | | osTeleportAgent. Fixes mantis #3408.
* Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-311-1/+44
| | | | | | | | | | | | With some support from HomerH, this patch adds support for Wind Model plugins via the mono.Addin framework. * Adds console & OSSL access to Wind Parameters * Adds plug-in support for custom wind models * Provides two example Wind Model plug-ins Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] -- will move this documentation to http://opensimulator.org [^] after the patch has been committed.
* - adding osGetAgents() which returns a list of all avatars in the regionDr Scofield2009-03-261-46/+73
| | | | | | | | in which the script is running. - found a bag of space characters under my desk, thought i'd donate them to the JSON OSSL function (aka clean up)
* Thank you, mcortez, for patch to add functionality to the sun module.Melanie Thielker2009-03-201-0/+88
| | | | | | Fixes Mantis #3313
* Fixes Mantis #3294. Thank you kindly, Godfrey, for a patch that:Charles Krinke2009-03-151-2/+40
| | | | | | | | | Attached is a patch which provides osAvatarPlayAnimation() the ability to also trigger animations contained within the same prim as the script, as llStartAnimation() does. (It also modifies osAvatarStopAnimation(), otherwise the script wouldn't be able to stop animations it had started.)
* Thank you, mcortez, for a patch that fixes a number of long standingMelanie Thielker2009-03-131-0/+27
| | | | | | | issues with the sun module. Fixes Mantis #3295
* * refactor: Remove GetLandOwner function from SceneJustin Clarke Casey2009-03-061-12/+12
| | | | | | * Simplify since the land is never null
* * refactor: move media and music url setting from scene into LandObjectJustin Clarke Casey2009-03-051-1/+1
|
* After another heroic and bloody battle, OpenSim Dino Expedition 1, killed ↵MW2009-03-021-14/+0
| | | | off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
* This adds a new osGetAgentIP function with threat level set to High. ItSean Dague2009-02-261-0/+29
| | | | | | | isn't tested, but it doesn't break anything else. The reason for this function is to let in world tools be used to coordiante out of world network services that need access to client ip addresses.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-1/+1
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-181-0/+18
| | | | | | | | | | | | | | The attached patch implements osGetDrawStringSize that looks like: vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize) in LSL. It is meant to be used in conjunction with the osDraw* functions. It returns accurate information on the size that a given string will be rendered given the specified font and font size. This allows for nicely formatted and positioned text on the generated image.
* Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker2009-02-171-1/+1
| | | | | | | | and dropped nonths ago, because it is required to get smooth region crossings with AO running. Without it, in some corner cases, anims will continue to run in an unstoppable state.
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-171-7/+7
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-161-1/+1
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* Thank you, cmickeyb, for a patch to ass two string functionsMelanie Thielker2009-02-161-0/+49
| | | | | | | to OSSL. Fixes Mantis #3173
* Thank you, patnad, for a patch that adds 3 new discovery functionsMelanie Thielker2009-02-161-0/+39
| | | | | | | | to OSSL. Applied with changes. Fixes Mantis #3172
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-62/+62
| | | | | - trim trailing whitespace
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-011-0/+29
| | | | | | Added osTeleportAgent with region coordinates to support hyper grid scripted teleports.
* * minor: just a few formatting changes and log quieteningJustin Clarke Casey2009-01-291-1/+1
|
* * Add direct stream loading and saving methods to the archive module.Justin Clarke Casey2009-01-231-3/+2
| | | | | | * The async stream method does not yet signal completion to interested calling code
* * Move general alert code to DialogModule.Justin Clarke Casey2009-01-071-1/+5
| | | | | | * Should be a clean build - last failure looked like a mantis hiccup
* Some refactoring from about a week ago that I forgot to commit, of ↵MW2008-11-241-1/+1
| | | | AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-4/+4
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* * Improve and correct messages given to the user when permission is denied ↵Justin Clarke Casey2008-11-211-3/+8
| | | | | | | | for a particular OSSL function * I don't believe that the extra information given is anything that couldn't be worked out by trial and error
* Fix previous build breakMelanie Thielker2008-11-171-1/+1
|
* Change the semantics of the Allow_* os function control. Omitting a functionMelanie Thielker2008-11-171-18/+34
| | | | | | | | | causes defautlt behavior. "true" now means usable unconditionally, "false" means disabled, and a list of UUIDs restricts it. This changes SECURITY! If you used "true" here before, you shoudl review your setup!
* * Allow new script creation to be locked down to only gods if specified in ↵Justin Clarke Casey2008-11-141-4/+1
| | | | | | | | | OpenSim.ini * This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment * Default remains to allow all users to create scripts (subject to existing permissions if enabled)
* Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker2008-11-141-1/+1
| | | | | | | inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
* reverting #7295, as it still fails a test case (as pointed out veryDr Scofield2008-11-141-1/+1
| | | | | | | | kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-081-2/+2
|
* Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.Homer Horwitz2008-11-061-0/+1
| | | | | | | As those aren't viewer-initiated TPs, the viewer has to be informed. This should fix Mantis #2351 and #2397.
* Change threat level of osMakeNotecard to High because of it's griefingMelanie Thielker2008-11-061-50/+53
| | | | | | | | | potential (asset bloat, asset server DOS due to no enforced delay) Formatting cleanup. Change default permissions on the notecard to not include "anyone can copy" and "anyone can move", as they are meaningless on non-prim items.
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-061-0/+53
| | | | | | The following patch implements osMakeNotecard as specified on the OpenSim website
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-051-20/+14
|
* From: Rob Smart <SMARTROB@uk.ibm.com>Sean Dague2008-11-041-0/+33
| | | | | | | | | | This patch allows an object to directly message another object given its key using the method osMessageObject(key objectUUID,string message). to communicate with an object it must implement the dataserver listener method. The dataserver method is passed the key of the calling object and a string message.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-051-7/+7
|
* Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker2008-10-031-13/+1
| | | | | | | Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.