aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* refactoring as the list funcs either skip invalid values or recall ToDoubleListSignpostMarv2012-08-301-12/+11
|
* Renaming existing 'torture' tests to 'performance' tests instead, since this ↵Justin Clark-Casey (justincc)2012-08-295-14/+14
| | | | | | | better matches what they really do. nant target name changes to test-perf instead of torture, to match test-stress still not run by default
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-295-2/+49
|\
| * This partially implements the LSL function to set the responseMic Bowman2012-08-295-2/+49
| | | | | | | | | | | | | | | | type for an HTTP request. Since the "official" LSL function limits the use of the response type, it is implemented as osSetContentType with a string for the content mime type and a threat level of high. With this function you should be able to implement rather functional media-on-a-prim application with much less difficulty.
* | Add VectorRenderModuleStressTests that contains a long running test that ↵Justin Clark-Casey (justincc)2012-08-293-1/+184
|/ | | | | | | | generates thousands of vector textures concurrently. Intended for use if there are future issues with mono crashes whilst generate dynamic textures. This test is triggered via a new test-stress nant target. Not run by default.
* implementing rule trackingSignpostMarv2012-08-291-6/+9
|
* track originating IScriptApi method for SL-like error messages. Will add ↵SignpostMarv2012-08-293-13/+17
| | | | rule number tracking in next commit.
* Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)2012-08-2910-52/+231
| | | | | | | | | | | folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
* Add experimental DynamicTextureModule.ReuseTextures flag, currently only ↵Justin Clark-Casey (justincc)2012-08-285-56/+310
| | | | | | | | | | | configurable on compile. Disabled (status quo) by default. This flag makes the dynamic texture module reuse cache previously dynamically generated textures given the same input commands and extra params for 24 hours. This occurs as long as those commands would always generate the same texture (e.g. they do not contain commands to fetch data from the web). This makes texture changing faster as a viewer-cached texture uuid is sent and may reduce simulator load in regions with generation of lots of dynamic textures. A downside is that this stops expiry of old temporary dynamic textures from the cache, Another downside is that a jpeg2000 generation that partially failed is currently not regenerated until restart or after 24 hours.
* Add IDynamicTextureManager.ConvertData() to match AsyncConvertData(). ↵Justin Clark-Casey (justincc)2012-08-283-7/+8
| | | | Remove mismatching ConvertStream() where there is no AsyncConvertStream and neither IDynamicTextureManager implementer implements this method.
* copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv2012-08-281-0/+59
|
* adding some files to .gitignore that get generated when debugging in c# ↵SignpostMarv2012-08-271-0/+4
| | | | express with OpenSim.32BitLaunch as the startup project
* formattingSignpostMarv2012-08-271-22/+22
|
* refactoring to load from self (fixes ChanneDigger being absent)SignpostMarv2012-08-271-5/+11
|
* refactoring to assign the first argument to a variableSignpostMarv2012-08-271-4/+5
|
* minor: Simplify return of vector render module name and some very minor ↵Justin Clark-Casey (justincc)2012-08-271-4/+3
| | | | removal of unncessary syntax clutter
* Add VectorRenderModule.TestRepeatSameDrawDifferentExtraParams()Justin Clark-Casey (justincc)2012-08-271-2/+32
|
* Add VectorRenderModuleTests.TestRepeatDrawContainingImage()Justin Clark-Casey (justincc)2012-08-271-0/+31
|
* Add VectorRenderModuleTests.TestRepeatDraw()Justin Clark-Casey (justincc)2012-08-271-11/+48
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-2510-49/+143
|\
| * implementing PRIM_LINK_TARGET on GetPrimParams ala SetPrimParamsSignpostMarv2012-08-252-11/+60
| |
| * minor formattingSignpostMarv2012-08-251-2/+2
| |
| * refactoring to local variable for cleaner codeSignpostMarv2012-08-251-2/+5
| |
| * since we will be making the Get return type the remaining ruleset as with ↵SignpostMarv2012-08-252-18/+22
| | | | | | | | the Set return type, we need to move the original return type to a ref param
| * use SceneObjectPart instead of varSignpostMarv2012-08-251-3/+3
| |
| * renaming to be similar to equivalent Set commandSignpostMarv2012-08-253-8/+8
| |
| * Following on from f8a89a79, do not allow more than one 'type' folder (e.g. ↵Justin Clark-Casey (justincc)2012-08-251-16/+49
| | | | | | | | | | | | | | | | calling cards) to be created in the base "My Inventory" user folder. This is to accomodate situations where viewers will create more than one 'type' subfolder (e.g. calling cards) But at the same time to prevent multiple such 'system' folders (those in the base "My Inventory" user folder). This also makes GetFolderForType() only return a folder in the base "My Inventory" folder, if such a type folder exists
| * Allow multiple calling card type inventory folders to be created.Justin Clark-Casey (justincc)2012-08-251-0/+1
| | | | | | | | Modern viewers want to create Friends and All folders of this type inside the root Calling Cards folder.
| * minor: Fix bad log message for failure to create an inventory folderJustin Clark-Casey (justincc)2012-08-251-1/+1
| |
| * Log initial script startup info notice when xengine actually starts to do ↵Justin Clark-Casey (justincc)2012-08-252-3/+5
| | | | | | | | this for debugging purposes, rather than before it actually starts to do this.
| * Extend "Restarting scripts in attachments" debug log message to show actual ↵Justin Clark-Casey (justincc)2012-08-241-1/+3
| | | | | | | | name of user and the region they are in
| * If a connecting scene presence is replacing an existing scene presence then ↵Justin Clark-Casey (justincc)2012-08-241-1/+1
| | | | | | | | bypass close checks.
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-241-15/+5
| |\
| * | Pass the "attachToBackup" bool given to SceneGraph.AddNewSceneObject() down ↵Justin Clark-Casey (justincc)2012-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | into the 3-parameter AddNewSceneObject() method instead of always hardcoding true. This doesn't affect any core OpenSimulator code since all callers were passing true anyway But it allows region modules to create objects that are never persisted.
* | | Fix and refactor region registration. Reorder checks to short-curcuit ↵Melanie2012-08-251-25/+28
| |/ |/| | | | | | | | | | | expensive and destructive ones. Properly fix region reservation and authentication. Make region moves and flags preservation work again as intended. Prevent failes reservation take-over from damging reservation data.
* | stripping superfluous whitespaceSignpostMarv2012-08-241-3/+0
| | | | | | | | Signed-off-by: Melanie <melanie@t-data.com>
* | immediately returning the string.Join operation instead of checking if the ↵SignpostMarv2012-08-241-11/+5
| | | | | | | | list has members
* | refactoring using List.ConvertAll<string>SignpostMarv2012-08-241-6/+5
|/
* adding sqlite journal files to .gitignoreSignpostMarv2012-08-241-0/+1
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-243-3/+39
|\
| * Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-243-1/+80
| |\
| * | Fix bad child prim permissions that can make objects change perms after rezzingMelanie2012-08-243-3/+39
| | | | | | | | | | | | Port from Avination
* | | Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-243-62/+0
| |/ |/| | | | | | | | | | | | | owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
* | implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv2012-08-243-0/+62
| | | | | | | | duplicated them, using the same script delay as llRezObject()
* | Removed land checking as suggested by SignpostMarv.TBG Renfold2012-08-241-12/+2
| | | | | | | | | | | | | | Now whatever remaining health the avatar has is displayed (float). This will be 100% (100.000000) if no damage has occurred (as what the viewer should really be seeing anyway). Returns -1.000000 if the avatar is not found.
* | Adds osGetHealth.TBG Renfold2012-08-243-1/+28
|/ | | | | | | | | | | | | | | | | Returns the amount of health (in an integer) that an avatar has left in the scene. If an avatar is not found or safe is enabled on a region, -1 is returned. Example usage: default { touch_end(integer _t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }
* If a script state save fails for some reason on shutdown/region removal, get ↵Justin Clark-Casey (justincc)2012-08-231-2/+25
| | | | xengine to spit out some useful information and continue to save other script states
* Add an [HGAssetService] section to SQLiteStandalone.ini with the same ↵Justin Clark-Casey (justincc)2012-08-231-0/+10
| | | | | | | | | | | | | connection string as [AssetService]. This is necessary because commit 8131a24 (Tue Mar 27 10:08:13 2012) started passing the config section name rather than hardcoding "AssetService" This meant that the HG external-facing asset service tried to read ConnectionString from [HGAssetService] rather than [AssetService]. On SQLite, not finding this meant that it fell back to [DatabaseService], which is set for OpenSim.db rather than Asset.db. Therefore, all external asset requests returned null. Solution taken here is to create an [HGAssetService] section with the same ConnectionString as [AssetService]. This bug does not affect normal MySQL/MSSQL config since they use the [DatabaseService] connection string anyway. Addresses http://opensimulator.org/mantis/view.php?id=6200, many thanks to DanBanner for identifying the exact problem commit which was very helpful. This was a regression from OpenSimulator 0.7.3.1 which did not contain this bug.
* this should be an if-else block in case the non-phys min/max are smaller ↵SignpostMarv2012-08-221-5/+7
| | | | than the physical min/max
* Lock disposal of separate gdi+ objects under different threads since this ↵Justin Clark-Casey (justincc)2012-08-221-26/+42
| | | | | | | | | | prevents malloc heap corruption seen under Ubuntu 10.04.1 and 11.04 - probably a libcairo issue In testing, it appears that if multiple threads dispose of separate GDI+ objects simultaneously, the native malloc heap can become corrupted, possibly due to a double free(). This may be due to bugs in the underlying libcairo used by mono's libgdiplus.dll on Linux/OSX. These problems were seen with both libcario 1.10.2-6.1ubuntu3 and 1.8.10-2ubuntu1. They go away if disposal is perfomed under lock.