aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-26Fix "save iar" hanging permanently if the asset request phase times out.Justin Clark-Casey (justincc)4-14/+33
Unlike "save oar", this was happening on the same thread as the original request. The timeout happens on another so the original thread is never aborted. On "save oar" this leaves the thread hanging (still bad) but on "save iar" it left the console thread hanging. Temporary fix is to make "save iar" do asset request on a separate thread, like "save oar". Longer term fix will be to restructure asset save to use a ManualResetEvent rather than a separate timeout timer.
2012-10-26minor: Make the error thrown logged when a simulator in grid mode is trying ↵Justin Clark-Casey (justincc)1-1/+1
to set estate owner to a user that doesn't exist a little more obvious.
2012-10-26refactoring IWorldCommListenerInfo.GetRegexBitfield() method to be a field ↵SignpostMarv2-14/+9
with a private setter
2012-10-26adding ability for listeners to be filtered by regular expressions and a ↵SignpostMarv6-19/+242
general-purpose function to see if a given string matches a given regex
2012-10-26Formatting and casing correction in WorldCommModule, trailing new line in ↵SignpostMarv3-5/+5
OSSL to get git diff to not complain
2012-10-26minor: Add comment as to why we are pulcking plain old ints out of the ↵Justin Clark-Casey (justincc)1-0/+2
LSL_List when converting values from LSL for modInvoke()
2012-10-26Removing the apparently superfluous explicit namespace reference so that the ↵SignpostMarv1-8/+2
if-else-if-else block in ConvertFromLSL can have a consistent appearance
2012-10-26system ints can end up in LSL lists, which can cause counter-intuitive ↵SignpostMarv1-0/+2
unknown list element type errors in ConvertFromLSL (via modInvoke)
2012-10-26Comment out InventoryTransferModule.NeedSceneCacheClear() and invocations ↵Justin Clark-Casey (justincc)3-103/+106
since the call itself does nothing and the return value is ignored by all callers. This is a very old method (+4 years) so is probably confusing code cruft.
2012-10-26Fixed saving non-square multi-region OARsOren Hurvitz1-1/+1
2012-10-25minor: if a scene is already shutting down on Scene.Close(), warn and exit ↵Justin Clark-Casey (justincc)1-0/+6
instead of attempting to run another shutdown concurrently. Thanks to Oren Hurvitz for this change.
2012-10-25Changed "course" to "coarse" in several placesOren Hurvitz3-18/+18
2012-10-25In Scene.Close(), dispose of the physics scene after base.Close() since ↵Justin Clark-Casey (justincc)2-6/+25
script events can still access Physics scene until the script engine shuts down (triggered off base.Close()) XEngine listeners to EventManager.OnShutdown which is triggered from base.Close(). Possibly it could listen for the earlier OnSceneShuttingDown instead, but the easier solution right now is to relocate disposal of the physics scene. This bug has existed since c150320 (Thu Jul 26 15:27:18 2012) and was in 0.7.4
2012-10-25Fix for Mantis 0006376: Avatar no longer show Walking animation when any AO ↵nebadon1-1/+1
hud is loaded. Thank you tglion
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)6-22/+54
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-10-25Get osNpcCreate() and osNpcLoadAppearance() to generate a script error if ↵Justin Clark-Casey (justincc)2-11/+30
appearance notecard does not exist, rather than returning UUID.Zero or silently failing.
2012-10-25When scripts generate expected exceptions (e.g. due to checked bad ↵Justin Clark-Casey (justincc)5-9/+52
parameter) throw ScriptException instead of just a plain old exception. This is to make it easier to distinguish these exceptions from unexpected OpenSimulator problems internally and in regression tests. No functional changes.
2012-10-25Make osNpcCreate() return UUID.Zero instead of throwing an exception if ↵Justin Clark-Casey (justincc)3-12/+74
notecard name is invalid. Make osNpcLoadAppearance() fail silently in same circumstance rather than throwing exception.
2012-10-25Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)2-4/+45
2012-10-25Move npc creation tests involving appearance from OSSL_ApiAppearanceTest to ↵Justin Clark-Casey (justincc)2-70/+69
OSSL_ApiNpcTests This is a more intuitive location.
2012-10-24Allow "show object", "show part", "dump object" and "delete object" to ↵Justin Clark-Casey (justincc)3-43/+97
accept a local ID as well as a UUID. This means that the sub-commands are now id rather than uuid, e.g. show object id
2012-10-24Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)4-11/+19
filename to save already exists, rather than exception throwing. Also changes ConsoleUtil.CheckFileExists to CheckFileDoesNotExist() since this is more meaningful in the context, even though it does result in double negatives.
2012-10-24Add "dump object uuid" console command. This allows any object in the scene ↵Justin Clark-Casey (justincc)1-0/+53
to be serialized and dumped to XML for debug purposes.
2012-10-24minor: Move co-ordinate related help to object commands to common ↵Justin Clark-Casey (justincc)1-33/+3
ConsoleUtil.CoordHelp
2012-10-23BulletSim: fix problem with avatars sinking into the ground.Robert Adams4-15/+23
Change terrain activation state to DISABLE_SIMULATION for better performance.
2012-10-23BulletSim: minor change to insure avatar body recreation when shape changes.Robert Adams1-3/+3
2012-10-22BulletSim: remove chatty debug message.Robert Adams2-2/+2
2012-10-22BulletSim: fix bug that caused error (and a crash on 32 bit Linux) when mesh ↵Robert Adams8-35/+51
assets weren't already in the cache. Comment cleanups.
2012-10-22BulletSim: fix problem of not rebuilding shape by clearing last rebuild ↵Robert Adams2-2/+8
failed flag in BSPrim.ForceBodyShapeRebuild()
2012-10-22BulletSim: remove trailing spaces to make git happy.Robert Adams8-36/+36
2012-10-22BulletSim: encorporate UBit's suggestion to save a copy of mesh raw data.Robert Adams1-2/+1
2012-10-22BulletSim: Create LinkSet abstract class and sparate constraint based ↵Robert Adams3-319/+434
linksets into own subclass. Will eventually add manual movement linkset subclass.
2012-10-23Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)2-38/+131
running via the "debug lludp pool <on|off>" console command. For debug purposes. This does not currently apply to the higher LLUDP packetpool.
2012-10-23Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)4-8/+69
they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
2012-10-21Refactor: Move Dwell reply to a module that can be disabled. The prior,Melanie3-12/+111
hardcoded approach disabled the use of non-core dwell tracking modules.
2012-10-21SQLite DB: some values of land data will be not saved / loadedPixelTomsen1-0/+1
http://opensimulator.org/mantis/view.php?id=6370 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-10-20Fix: invinite loading for Viewer3 : parcelinfo request of traffic-value ↵PixelTomsen1-0/+12
(implementation of dwell-value in LandData + eventhandler, return always 0); source-formatting of LandData Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-10-20Add CLICK_ACTION_ZOOMBlueWall1-0/+1
Add support for V2/3 CLICK_ACTION_ZOOM to llSetClickAction
2012-10-20minor: remove unnecessary bit of method doc from ↵Justin Clark-Casey (justincc)1-3/+0
OdePrim.BadMeshAssetCollideBits that monodevelop inserted automatically
2012-10-20Fix minor issues from commit 28483150Justin Clark-Casey (justincc)1-12/+17
Fix spelling of collide, change to more self-documenting property BadMeshAssetCollideBits, add method doc, change to private to reduce code analysis complexity
2012-10-20minor: Rename assetCache constructor param in UUIDGatherer to assetService ↵Justin Clark-Casey (justincc)1-2/+2
which is what it is.
2012-10-20Relocate temporary debug message for sending group IMs to online members ↵Justin Clark-Casey (justincc)1-4/+12
only so that we can add ms it takes to send. This is chiefly to assess how long it may still take to send messages to such filtered groups.
2012-10-20Improve efficiency of friends notification by only make one PresenceService ↵Justin Clark-Casey (justincc)1-29/+24
call for all friends rather than one for each friend. However, large groups could still take a very long time since we still need to message each avatar on different simulators.
2012-10-20Add experimental [Groups] MessageOnlineUsersOnly option for Flotsam XmlRpc ↵Justin Clark-Casey (justincc)1-7/+69
groups. This retrieves and caches information from the PresenceService to only send messages to online users. This is reported to much improve performance for large groups where most users are offline. Cache is 20 seconds to balance requests against users not receiving messages until cache updates. This is an alternative to an approach where login/logout notification is sent directly from simulator to groups service. However, I'm not convinced that this PresenceService approach is actually better. Needs more thought.
2012-10-20Fix build break from commit e469879Justin Clark-Casey (justincc)1-1/+1
2012-10-19Add "debug groups verbose <true|false>" region console commandJustin Clark-Casey (justincc)1-0/+29
This allows one to turn on super-verbose groups debug logging on and off whilst the region is in operation.
2012-10-19BulletSim: add asset fetching so BulletSim works with new physics asset ↵Robert Adams4-165/+240
handling. Refactor some names to make them available for the asset tracking and fetching.
2012-10-19BulletSim: reorder avatar collision checking to eliminate double collision_end.Robert Adams6-35/+43
Various tweekings to avatar shape/mass/inertia/etc. Remove change from avatar radius to diameter. But still the avatar sinks. Collision_end now happens immediately rather than at the next subscription time.
2012-10-19BulletSim: change nonimal physics frame rate to 55 to give same numbers as ODE.Robert Adams6-52/+57
Change character scaling to represent size of capsule (diameter rather than radius) Modify create capsule call to pass radius and height. Eliminate errors when calculating shape inertia (should have some type checking).
2012-10-19BulletSim: remove code in ShapeCollection that hinted at shape sharing.Robert Adams5-161/+138
Add new function to ParameterDefn for calling BulletSimAPI to set values. Tweaking to BSCharacter parameter setting to try and have avatars stand.