aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Skip lone ident statments or for-loop assignmentsMike Mazur2009-06-072-3/+65
| | | | | | | | | | | | | | | | | SL's LSL supports lone idents: integer x; x; as well as lone idents in for-loop assignments: for (x; x < 10; x++) { ... } while those are errors in C# (MONO at least). This patch skips lone idents in such places. Fixes Mantis #3042.
* Allow empty assignment in for-loopMike Mazur2009-06-075-7513/+7733
| | | | | | | | | | | | For loops with no assignment are no longer syntax errors. For example, this is now valid: for ( ; i < 10; i++) { ... } Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs. Fixes Mantis #2501. Fixes Mantis #2884.
* Rename private TestllAngleBetween methodMike Mazur2009-06-071-13/+13
| | | | | | | | It seems overloading the method TestllAngleBetween confused nunit a bit and caused it to try running the private TestllAngleBetween method. The method's access modified prevented that from happening, and nunit complained.
* Correct an error where the config file name was always considered to be aMelanie Thielker2009-06-065-7/+18
| | | | | | | local file. This caused llHttpRequest and llSetInventoryPermsMask to fail on regions that load their config from a web server
* Thank you, thomax, for a patch to provide finer-grained access control toMelanie Thielker2009-06-054-4/+13
| | | | | | | scripting. Fixes Mantis #2862
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-033-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Thanks aduffy70 for Mantis #3762: A patch to fix llGround, llGroundNormal, ↵Dahlia Trimble2009-06-031-42/+80
| | | | and llGroundSlope
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-0154-54/+54
| | | | LICENSE.txt.
* From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield2009-05-271-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.
* * Upped version number to 0.6.5lbsa712009-05-251-2/+2
|
* Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"Dr Scofield2009-05-251-4/+1
| | | | | This reverts r9666. for some reason the mysql update does not work.
* From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield2009-05-251-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.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-223-0/+69
| | | | | | | | | | 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.
* cleaning out warnings.Dr Scofield2009-05-223-11/+13
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* normalize quats before applying llSetRot()Dahlia Trimble2009-05-211-1/+3
|
* From: Alan Webb <alan_webb> & Dr Scofield<drscofield@xyzzyxyzzy.net>Dr Scofield2009-05-182-22/+22
| | | | | Disable use of log4net in script domains to avoid mono 2.4 aborts.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-181-2/+2
| | | | | | | | | Fixes: [1] Sharing exception on remote OAR management [2] Occasional 505 error talking to Tomcat [3] Occasional mono aborts caused by mlog in the script engine's app domain (mono 2.4)
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-152-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
* Make the LSL HTTP server create and give out URLs to scriptsMelanie Thielker2009-05-132-14026/+14346
|
* Add most of the meat to the LSL HTTP serverMelanie Thielker2009-05-131-1/+7
|
* Plumb request and return URL functions.Melanie Thielker2009-05-131-3/+10
| | | | | | Implements llRequestURL, llRequestSecureURL, llReleaseURL
* Implement llAttachToAvatar()Melanie Thielker2009-05-131-1/+27
|
* Implement llDetachFromAvatar()Melanie Thielker2009-05-131-1/+27
|
* Add interface, stub implementation and Charles Krinke2009-05-133-0/+14
| | | | | script stub for llGetHTTPHeader().
* Add interface, implementation stub andCharles Krinke2009-05-133-0/+14
| | | | | script stub for llGetFreeURLs().
* Added interface, implementation stub andCharles Krinke2009-05-131-0/+5
| | | | | script stub for llReleaseURL().
* Remove incorrect semicolonCharles Krinke2009-05-132-1/+8
|
* Add interface, stubbed implementation andCharles Krinke2009-05-133-1/+14
| | | | | script stub for llRequestSecureURL().
* Added interface, stub implementation and scriptCharles Krinke2009-05-133-0/+11
| | | | | stub for llRequestURL().
* Add interface, stub and bare implmentation for llHTTPResponse().Charles Krinke2009-05-133-0/+16
|
* Thank you kindly, Patnad, for a patch that:Charles Krinke2009-05-121-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.
* 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-273-31/+136
| | | | | | | capabilities in OSSL. Fixes Mantis #3543
* Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine andMelanie Thielker2009-04-273-0/+93
| | | | | | | osGetNumberOfNotecardLines Fixes Mantis #2942
* Add copyright headers. Formatting cleanup.Jeff Ames2009-04-271-20/+17
|
* Thank you kindly, Ewe Loon, for a patch that solves:Charles Krinke2009-04-261-0/+39
| | | | | | | PRIM_TEXGEN not in llSetPrimitiveParams. Patch has been included to implement it.
* cleaning up, fixing warningsDr Scofield2009-04-221-6/+4
|
* Fix loading notecards from LSL. The first time a notecard was accessed, theMelanie Thielker2009-04-221-49/+21
| | | | | | | ID returned from the call would differ from the one later sent via dataserver(), causing AOs to fail.
* Prevent a null ref if a notecard is not foundMelanie Thielker2009-04-201-0/+6
|
* Terrain changes done via osTerrainSetHeight aren't shown immediately to the ↵Homer Horwitz2009-04-193-36/+56
| | | | | | | | | | 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.
* Allow reading of notecards by asset ID.Melanie Thielker2009-04-181-52/+108
| | | | | | Fixes Manthis #3420
* Obtain the owner name for the X-SecondLife-Owner-Name header in ↵idb2009-04-181-1/+7
| | | | | | | llHTTPRequest when the owner is offline/not in the region. Fixes Mantis #3454
* Correct detected rotation to return the same value as llGetRot in the object ↵idb2009-04-171-1/+1
| | | | | | | being detected. Fixes Mantis #3467
* * 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
|
* * Moved the DefaultConfig settings into already-existing ConfigSettingslbsa712009-04-171-1/+1
|
* * Some more work on refactoring configs;lbsa712009-04-171-1/+1
| | | | | | | * Moved the constants out into a separate DefaultConfig * Pulled configMember up * Some minor CCC
* Add the XML manifests needed to get the new style modules to load.Melanie Thielker2009-04-152-0/+26
| | | | | | Scripting now works again
* minor: Remove some mono compiler warnings. Uncomment code when it's ↵Justin Clarke Casey2009-04-151-2/+2
| | | | actually being used.
* Convert both script engines to new region module format. Add proper unloadMelanie Thielker2009-04-156-16/+82
| | | | | | handling to XEngine. Add needed stubs to DotNetEngine.