Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-07-17 | Make the scrpt running flag work properly | Melanie | 2 | -6/+24 | |
2012-07-16 | Revert "Fix script "Running" behavior" | Melanie | 4 | -37/+0 | |
A better solution using the already present flags must be found. This reverts commit 6d3ee8bb39d47ed7b32e8905fa0b2fc31c5a9f80. | |||||
2012-07-16 | sending more user-friendly messages to the script error window rather than ↵ | SignpostMarv | 1 | -1/+14 | |
the thrown exceptions. Signed-off-by: Melanie <melanie@t-data.com> | |||||
2012-07-14 | acting on feedback from justincc | SignpostMarv | 1 | -6/+7 | |
2012-07-14 | acting on feedback from justincc | SignpostMarv | 1 | -39/+42 | |
2012-07-14 | added in some extra variables, it sometimes thinks it is on the same parcel :( | SignpostMarv | 1 | -5/+7 | |
Signed-off-by: SignpostMarv <github@signpostmarv.name> | |||||
2012-07-14 | adding workaround for silent failure if position is outside the bounds of a ↵ | SignpostMarv | 1 | -13/+41 | |
region, implementing parcel prim count check. Signed-off-by: SignpostMarv <github@signpostmarv.name> | |||||
2012-07-14 | Implementation of llSetRegionPos(). Does not implement failure on object ↵ | SignpostMarv | 3 | -4/+45 | |
entry/prim limit/access restrictions. Signed-off-by: SignpostMarv <github@signpostmarv.name> | |||||
2012-07-13 | Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵ | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output). | |||||
2012-07-12 | Remove IClientAPI.GetClientEP() in favour of existing identical ↵ | Justin Clark-Casey (justincc) | 1 | -6/+2 | |
IClientAPI.RemoteEndpoint. | |||||
2012-07-11 | Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵ | Justin Clark-Casey (justincc) | 5 | -25/+15 | |
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM. | |||||
2012-07-11 | Allow XEngine StartDelay to be configured in the [XEngine] config section. | Justin Clark-Casey (justincc) | 2 | -2/+10 | |
This is only currently meant for use by regression tests that don't have any issues if XEngine is started up quickly, since no other operations will be occuring simultaneously. Therefore, this is not yet documented externally. | |||||
2012-07-11 | Remove WorldComm module from the regression TestCompileAndStartScript() ↵ | Justin Clark-Casey (justincc) | 1 | -4/+1 | |
since the infrastructure no longer fails if this module isn't present, at least on the tested codepaths | |||||
2012-07-11 | Add regression TestDetachScriptedAttachmentToInventory() | Justin Clark-Casey (justincc) | 3 | -10/+17 | |
This currently only does a relatively crude check for a ScriptState node in the serialized xml | |||||
2012-07-10 | Disable logging in regression test in OSSL_ApiAttachmentTests | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
2012-07-10 | If a script is being stopped manually, then give the scriptpool thread 1 ↵ | Justin Clark-Casey (justincc) | 1 | -1/+5 | |
second to finish normally before forcibly aborting. This is to avoid the worst of the problems in mono 2.6, 2.10 where an aborted thread does not always release all its locks. This very short grace period is identical to the existing behaviour when a script is removed from the scene. | |||||
2012-07-09 | This script allows an object to be attached directly from prim inventory to ↵ | Justin Clark-Casey (justincc) | 4 | -5/+96 | |
another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe | |||||
2012-07-07 | minor: remove some recent mono compiler warnings | Justin Clark-Casey (justincc) | 1 | -1/+1 | |
2012-07-07 | Remove redundant SetScene() function in Scene.AddSceneObject() | Justin Clark-Casey (justincc) | 2 | -10/+10 | |
This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions. | |||||
2012-07-06 | Mantis 6063 osNpcTouch. | Talun | 3 | -0/+41 | |
Allow NPCS to touch obects. | |||||
2012-07-05 | regrade osFormatString, osMatchString and osReplaceString to VeryLow. | Justin Clark-Casey (justincc) | 1 | -3/+3 | |
I can't see that these present any real hazard to sim functioning. | |||||
2012-07-05 | Add OSSL function osForceAttachToAvatarFromInventory() | Justin Clark-Casey (justincc) | 7 | -6/+253 | |
This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high. | |||||
2012-07-04 | Use GetInventoryItem() in llRezAtRoot rather than iterating through a cloned ↵ | Justin Clark-Casey (justincc) | 1 | -40/+36 | |
dictionary | |||||
2012-07-04 | refactor: In llGetNotecardLine() use existing GetInventoryItem() rather than ↵ | Justin Clark-Casey (justincc) | 1 | -10/+4 | |
inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe | |||||
2012-07-04 | refactor: In llGetNumberOfNotecardLines() use existing GetInventoryItem() ↵ | Justin Clark-Casey (justincc) | 1 | -10/+4 | |
rather than inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe | |||||
2012-07-04 | refactor: use existing GetInventoryItem() in GetScriptByName(), itself ↵ | Justin Clark-Casey (justincc) | 1 | -13/+9 | |
renamed from ScriptByName() | |||||
2012-07-04 | refactor: In llGetInventoryType() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 1 | -11/+5 | |
2012-07-04 | refactor: In llGetInventoryCreator() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 1 | -12/+8 | |
2012-07-04 | refactor: In llGetInventoryPermMask() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 1 | -24/+21 | |
2012-07-04 | refactor: in llGetInventoryPermMask use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 1 | -23/+19 | |
2012-07-04 | refactor: In llRemoteLoadScriptPin() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 1 | -20/+5 | |
2012-07-04 | refactor: replace use of LSL_Api.GetTaskInventoryItem() with existing ↵ | Justin Clark-Casey (justincc) | 1 | -22/+11 | |
GetInventoryItem() | |||||
2012-07-04 | refactor: In llGetInventoryKey() use existing GetInventoryItem() | Justin Clark-Casey (justincc) | 1 | -15/+9 | |
2012-07-04 | In llMessageLinked() use GetInventoryItems() rather than cloning ↵ | Justin Clark-Casey (justincc) | 1 | -4/+2 | |
TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe | |||||
2012-07-04 | In llRequestInventoryData() use GetInventoryItems() rather than cloning ↵ | Justin Clark-Casey (justincc) | 1 | -3/+2 | |
TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe | |||||
2012-07-04 | refactor: In llCollisionSound() use existing GetInventoryItem() method ↵ | Justin Clark-Casey (justincc) | 1 | -11/+5 | |
rather than have it iterate through TaskInventory itself. | |||||
2012-07-04 | refactor: In llRemoveInventory() use existing GetInventoryItem() method ↵ | Justin Clark-Casey (justincc) | 1 | -14/+9 | |
rather than have it iterate through TaskInventory itself. | |||||
2012-07-04 | refactor: make llGiveInventory() use existing GetInventoryItem() method ↵ | Justin Clark-Casey (justincc) | 1 | -24/+11 | |
rather than iterate through TaskInventory itself. | |||||
2012-07-01 | Add preservation of running state of scripts when drag-copying. | Melanie | 1 | -0/+12 | |
2012-06-28 | Change AttachmentsModule.DetachSingleAttachmentToInv() to accept a SOG ↵ | Justin Clark-Casey (justincc) | 1 | -9/+6 | |
directly instead of an item ID to then shuffle through attachments, saving CPU busywork. Almost all callers already had the sog to hand. Still checking that it's really an attachment, but now by inspecting SOG.AttachedAvatar | |||||
2012-06-28 | If rest of first line after colon is blank then still warn about running in ↵ | Justin Clark-Casey (justincc) | 1 | -11/+18 | |
XEngine if engine specified does not exist. This is to take account of situations where the user was intending to specify a script engine using colon using its default language. This probably generates few false positive as scripts are less likely to end a first line colon with a comment for other purposes. | |||||
2012-06-28 | Avoid reporting false positives when a colon is in a comment in the first ↵ | Justin Clark-Casey (justincc) | 1 | -17/+41 | |
line of a script where the user was not trying to select a different script engine. This works by only posting the "Selected engine unavailable" message if we're falling back on XEngine and the language is one handled by XEngine. In cases where the language is not handled or not allowed, the user will still be notified by the later compiler error. This avoids the overwhelming majority of false positives where the first line contains a : for other reasons (e.g. source control systems, vim settings, etc.) Ultimately, I think it would be better to detect script language/engine with a mechanism that didn't just rely on : detection (e.g like #! in unix scripts). | |||||
2012-06-28 | minor: reuse colon index calculation in XEngine.OnRezScript. The index if a ↵ | Justin Clark-Casey (justincc) | 1 | -2/+2 | |
colon is found on the first line will always be the same as for the whole script. | |||||
2012-06-26 | Add stub for llCastRay | BlueWall | 1 | -0/+5 | |
2012-06-23 | Fix script "Running" behavior | BlueWall | 4 | -0/+37 | |
Unchecking "Running" box in script editor now persists. This fixes http://opensimulator.org/mantis/view.php?id=6057 | |||||
2012-06-22 | Avoid race condition between m_PrimObjects iteration in ↵ | Justin Clark-Casey (justincc) | 1 | -14/+14 | |
XEngine.PostObjectEvent and places where the list is modified by extending the m_PrimObjects lock. | |||||
2012-06-22 | If starting scripts on initial sim start, provide INFO level log feedback ↵ | Justin Clark-Casey (justincc) | 1 | -6/+10 | |
each time 50 scripts have been started. This is to provide an indication of what's happening now that the default isn't to report every single script start. Changes XEngine logging level in OpenSim.exe.config from WARN to INFO. | |||||
2012-06-22 | Eliminate unnecessary extra call to TriggerEmptyScriptCompileQueue in ↵ | Justin Clark-Casey (justincc) | 1 | -9/+2 | |
XEngine.DoOnRezScriptQueue() The later invocation of this function will happen on an empty compile queue. | |||||
2012-06-21 | Add item id, name, prim name and id to log message when state exists but ↵ | Justin Clark-Casey (justincc) | 1 | -5/+5 | |
loading fails. Drop logging about memory limit exceeded to warn from error | |||||
2012-06-21 | Retrigger build - last jenkins run was glitched | Justin Clark-Casey (justincc) | 1 | -1/+2 | |