aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2009-07-01Restore the functionality that was removed in r9928. This lets the loadMelanie Thielker1-1/+1
balancer plugin work again. Create a new method, GetClientEP, to retrieve only the EndPoint for script usage. Marked the purpose of the method in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo functionality.
2009-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-0/+1
Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-28Thank you kindly, Grumly57 for a patch that solves:Charles Krinke1-0/+1
When a sit position is modified by llSitTarget and the sim is restarted, the object sit position is lost until llSitTarget is applied again.
2009-06-21Do llEscapeURL with Uri.EscapeDataString instead of Uri.EscapeUriString.Homer Horwitz1-1/+1
Not exactly right, according to the LSL docs, but similar enough, I hope. Fixes Mantis #3825.
2009-06-10Formatting cleanup.Jeff Ames2-6/+6
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-06Correct an error where the config file name was always considered to be aMelanie Thielker1-5/+2
local file. This caused llHttpRequest and llSetInventoryPermsMask to fail on regions that load their config from a web server
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+25
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.
2009-06-03Thanks aduffy70 for Mantis #3762: A patch to fix llGround, llGroundNormal, ↵Dahlia Trimble1-42/+80
and llGroundSlope
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames10-10/+10
LICENSE.txt.
2009-05-27From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-1/+4
The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
2009-05-25Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"Dr Scofield1-4/+1
This reverts r9666. for some reason the mysql update does not work.
2009-05-25From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-1/+4
The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
2009-05-22From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-0/+51
Changes to support client-side image pre-caching in the region. This commit adds an additional calling sequence to the DynamicTexture data and URL calls. The new interface allows a dynamic image to be loaded into a specific object face (rather than the mandatory ALL_SIDES supported today. This is in part fulfilment of ticket #458.
2009-05-22cleaning out warnings.Dr Scofield1-1/+1
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
2009-05-21normalize quats before applying llSetRot()Dahlia Trimble1-1/+3
2009-05-18From: Alan Webb <alan_webb> & Dr Scofield<drscofield@xyzzyxyzzy.net>Dr Scofield1-2/+2
Disable use of log4net in script domains to avoid mono 2.4 aborts.
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2-8/+14
-- 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
2009-05-13Add most of the meat to the LSL HTTP serverMelanie Thielker1-1/+7
2009-05-13Plumb request and return URL functions.Melanie Thielker1-3/+10
Implements llRequestURL, llRequestSecureURL, llReleaseURL
2009-05-13Implement llAttachToAvatar()Melanie Thielker1-1/+27
2009-05-13Implement llDetachFromAvatar()Melanie Thielker1-1/+27
2009-05-13Add interface, stub implementation and Charles Krinke1-0/+8
script stub for llGetHTTPHeader().
2009-05-13Add interface, implementation stub andCharles Krinke1-0/+8
script stub for llGetFreeURLs().
2009-05-13Remove incorrect semicolonCharles Krinke1-1/+7
2009-05-13Add interface, stubbed implementation andCharles Krinke1-1/+8
script stub for llRequestSecureURL().
2009-05-13Added interface, stub implementation and scriptCharles Krinke1-0/+6
stub for llRequestURL().
2009-05-13Add interface, stub and bare implmentation for llHTTPResponse().Charles Krinke1-0/+10
2009-05-12Thank you kindly, Patnad, for a patch that:Charles Krinke1-0/+2
This is to handle the changes in the v1.23 viewer of LL regarding the adult rating. With this patch a region can be changed to the adult rating from LL viewer v1.23 and above.
2009-05-09Fixed handling of inventory a bitHomer Horwitz1-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
2009-04-27Thank you, Orion_Shamroy, for a patch to expand notecard readingMelanie Thielker1-31/+130
capabilities in OSSL. Fixes Mantis #3543
2009-04-27Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine andMelanie Thielker1-0/+79
osGetNumberOfNotecardLines Fixes Mantis #2942
2009-04-27Add copyright headers. Formatting cleanup.Jeff Ames1-20/+17
2009-04-26Thank you kindly, Ewe Loon, for a patch that solves:Charles Krinke1-0/+39
PRIM_TEXGEN not in llSetPrimitiveParams. Patch has been included to implement it.
2009-04-22cleaning up, fixing warningsDr Scofield1-6/+4
2009-04-22Fix loading notecards from LSL. The first time a notecard was accessed, theMelanie Thielker1-49/+21
ID returned from the call would differ from the one later sent via dataserver(), causing AOs to fail.
2009-04-20Prevent a null ref if a notecard is not foundMelanie Thielker1-0/+6
2009-04-19Terrain changes done via osTerrainSetHeight aren't shown immediately to the ↵Homer Horwitz1-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.
2009-04-18Allow reading of notecards by asset ID.Melanie Thielker1-52/+108
Fixes Manthis #3420
2009-04-18Obtain the owner name for the X-SecondLife-Owner-Name header in ↵idb1-1/+7
llHTTPRequest when the owner is offline/not in the region. Fixes Mantis #3454
2009-04-17* Also use the profile cache for osKey2Name()Justin Clarke Casey1-4/+4