aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-19Use localy defined name, TPFlags, for Constants.TeleportFlagsBlueWall1-6/+6
2012-02-19Fix:Fly setting for Parcel dosen't work ↵PixelTomsen1-1/+2
http://opensimulator.org/mantis/view.php?id=5887 Signed-off-by: nebadon <michael@osgrid.org>
2012-02-19Fix:OmegaX, OmegaY and OmegaZ not saved for child prims ↵PixelTomsen1-3/+3
http://opensimulator.org/mantis/view.php?id=5893 Signed-off-by: nebadon <michael@osgrid.org>
2012-02-18This should smooth movement in heteregeneous networks by a lot: cache the ↵Diva Canto2-2/+40
region by position instead of looking it up all the time -- this was being done during the main update loop!
2012-02-18Route logins according to Estate, Telehub and TeleportFlagsBlueWall1-2/+4
2012-02-18Propagate our teleport flags on loginsBlueWall1-1/+4
2012-02-18Report an error if the required native Windows ODE library can't be found.Justin Clark-Casey (justincc)1-1/+4
2012-02-18Fix a bug where changing shape parameters of a child prim in a linkset would ↵Justin Clark-Casey (justincc)1-2/+2
not persist. Resolves http://opensimulator.org/mantis/view.php?id=5819
2012-02-18On Windows automatically load the correct native ODE library depending on ↵Justin Clark-Casey (justincc)2-3/+24
whether the process is 32-bit or 64-bit In theory, this means that a 64-bit Windows OS user can now run OpenSim.exe with ODE and use more than 2 (or 3) GB of memory. However, this is completely untested since I don't currently own a 64-bit Windows box. Feedback appreciated. Using OpenSim.32BitLaunch.exe should continue to work. Other platforms are unaffected. This will currently not work with sqlite - I will add that too if this works.
2012-02-17Added the TriggerAvatarAppearanceChanged to EventManager. It's triggered by ↵Dan Lake2-0/+28
AvatarFactoryModule after an avatar's appearance has been succesfully changed and persisted (if the persist option is set).
2012-02-17Add new and updated script eventsRobert Adams2-3/+67
2012-02-17Fix missing telehub handling on loginBlueWall1-0/+21
2012-02-17Make osNpcStopAnimation() call AvatarStopAnimation() rather than ↵Justin Clark-Casey (justincc)1-1/+1
AvatarPlayAnimation()
2012-02-16Remove some debugging output form the loggerBlueWall1-2/+4
2012-02-16minor formatting changes from last commit (4486n7d)Justin Clark-Casey (justincc)1-4/+3
2012-02-16Fix: Object owned by the group does not return to the last owner ↵PixelTomsen3-2/+8
http://opensimulator.org/mantis/view.php?id=5404
2012-02-16Turn off logging on test in last commit (2b84295).Justin Clark-Casey (justincc)1-1/+1
2012-02-16If shape properties fail SOP parsing (e.g. due to commas instead of decimal ↵Justin Clark-Casey (justincc)2-12/+155
points) print out one short message listing the failing node names rather than lots of exceptions. Adds skeleton bad float values deserialization test
2012-02-16Correct a bug introduced in 1f402fdf (Feb 7 2012) where the delete friends ↵Justin Clark-Casey (justincc)1-3/+3
grid call would try and contact the wrong uri. Also fixes the build from df960d5
2012-02-16Add known identity informatio nto log message if an exception is thrown ↵Justin Clark-Casey (justincc)1-36/+53
during LLUDPServer.HandleUseCircuitCode()
2012-02-16Comment out "experimental" log message printed out whenever a physics mesh ↵Justin Clark-Casey (justincc)1-2/+2
was generated for a mesh Also adds prim name to the "no asset data" error log message
2012-02-16Fix some logic mistakes where firstly osNpcCreate() without options was ↵Justin Clark-Casey (justincc)3-5/+20
creating npcs sensed as agents and secondly the OS_NPC_SENSE_AS_AGENT option was having the opposite effect. Hopefully makes progress on addressing http://opensimulator.org/mantis/view.php?id=5872
2012-02-15In ObjectTortureTests, run garbage collector on Teardown and run scene loop ↵Justin Clark-Casey (justincc)3-7/+47
update when scene objects have been deleted. At least on mono 2.6.4, running GC.Collect() is not guaranteed to force gc of all objects when run in the same method where those objects had references. Therefore, GC.Collect() is now being done in the per-script teardown of ObjectTortureTests. In addition, scene loop update is being run after garbage collection in order to clean out the viewer update list of scene objects in the SceneGraph. These measures mean that scene objects/parts are now garbage collected after a test run if deleted from the scene, resulting in a much better memory usage report (though probably still not very accurate). However, deletion takes a very long time - what's really needed is to find out now why the entire scene isn't being GC'd by this measure. This change hasn't yet been applied to the other stress tests.
2012-02-14Refactor appearance saving for NPC to use AvatarFactoryModule interface.Dan Lake3-15/+38
2012-02-13Fix a race condition in the simian groups connector. When requests wereMic Bowman1-8/+63
too slow they would circumvent the cache (piling up on the network service and making the problem even worse). This condition happens frequently during permission checks.
2012-02-14Fix: get embedded objects from Notecard fails with activated ↵PixelTomsen1-3/+3
FreeSwitchVoiceModul http://opensimulator.org/mantis/view.php?id=2607
2012-02-14Add some more data to the new user connection logging for debug purposes.Justin Clark-Casey (justincc)1-3/+3
2012-02-13short circuit the expensive parts of the permission checking codeMic Bowman1-1/+6
if the current user is the owner of an object. none of the later checks can reverse the outcome.
2012-02-13On object deserialization, go back to logging errors at DEBUG level rather ↵Justin Clark-Casey (justincc)1-5/+9
than ERROR. Restore extra log message if shape processing fails. Logging level was DEBUG before 312e145 (Fri Feb 3 2012). 312e145 also accidentally removed the 'general error' log message if any shape deserialization failed. This commit restores it, though this has no functional impact.
2012-02-11correct the default avatar_terminal_velocity value that I accidentally left ↵Justin Clark-Casey (justincc)1-1/+1
in whilst testing
2012-02-11Clamp ODE character velocity. Make ODE falling character 54m/s by default.Justin Clark-Casey (justincc)2-1/+53
If velocity reaches 256 in any vector then bad things happen with ODE, so we now clamp this value. In addition, a falling avatar is clamped by default at 54 m/s, which is the same as a falling skydiver. This also appears to be the value used on the linden lab grid. This should resolve http://opensimulator.org/mantis/view.php?id=5882
2012-02-11Make ScenePresence.MovementFlag a private only settable value to reduce ↵Justin Clark-Casey (justincc)1-7/+4
complexity of code analysis
2012-02-10Fix an npc delete race condition with LSL sensors where an initial presence ↵Justin Clark-Casey (justincc)1-9/+20
check could succeed but then the npc removed before the subequent npc check. The resulting null would cause an exception. We now check for null before looking at SenseAsAgent. Hopefully fixes http://opensimulator.org/mantis/view.php?id=5872
2012-02-10Fix: Covenant view fails after updates or cache-clean see mantis ↵PixelTomsen1-0/+12
http://opensimulator.org/mantis/view.php?id=2879 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-10Fix bug where somebody taking a copy of an object they didn't own that was ↵Justin Clark-Casey (justincc)2-3/+12
rezzed before the region was restarted would wrongly place the copy in the object owner's inventory. Addresses http://opensimulator.org/mantis/view.php?id=5825
2012-02-10Fix: Unable to remove AV from friend list (sqldb-bug) ↵PixelTomsen1-7/+7
http://opensimulator.org/mantis/view.php?id=3731
2012-02-10When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵Justin Clark-Casey (justincc)6-11/+40
permissions, not PermissionMask.All Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set. This is not correct behaviour for a freshly uploaded mesh. Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is). Should resolve http://opensimulator.org/mantis/view.php?id=5651
2012-02-09If NPCModule.CreateNPC() fails to create the required ScenePresence (which ↵Justin Clark-Casey (justincc)2-9/+8
should in theory never happen), don't add the NPC to the npc list but return UUID.Zero instead.
2012-02-09minor: put in commented out logging statements for future reuseJustin Clark-Casey (justincc)2-1/+10
2012-02-08Stop a scene object from attempting to link with itself (which results in an ↵Justin Clark-Casey (justincc)4-10/+54
exception and constant complaints in v3 viewers). Aims to address http://opensimulator.org/mantis/view.php?id=5878
2012-02-07Make WebStats logging report consistently as WEB STATS MODULE instead of VC, ↵Justin Clark-Casey (justincc)1-6/+5
VS and WEBSTATS
2012-02-07Add start GC memory and end GC memory to object stress test printouts.Justin Clark-Casey (justincc)1-1/+2
This illustrates that references to Scene, SOG, etc. are not currently being released when a stress test ends (or at regression test end in general). This means even the current stress tests take much more memory than they need, a problem that will have to be addressed.
2012-02-07Add TestAddTaskInventoryItem()Justin Clark-Casey (justincc)1-1/+25
2012-02-07Remove debug logging if physics actor is null in SOP.ApplyPhysics()Justin Clark-Casey (justincc)1-5/+1
This is not valid in the case of BasicPhysics which can return a null PhysicsActor (though I think it should really return a do-nothing PhysicsActor).
2012-02-07Add a regression test to compile and start a script. Remove ↵Justin Clark-Casey (justincc)6-34/+117
Path.GetDirectoryName when getting assembly loading path in Compiler.CompileFromDotNetText(). The Path.GetDirectoryName call in Compiler.CompileFromDotNetText is unnecessary since AppDomain.CurrentDomain.BaseDirectory is always a directory. Later path concatenation is already done by Path.Combine() which handles any trailing slash. Removing Path.GetDirectoryName() will not affect the runtime but allows NUnit to work since it doesn't add a trailing slash to AppDomain.CurrentDomain.BaseDirectory.
2012-02-05Revert my two quick fixes for the lag issue and put in the real fix, whichMelanie1-1/+2
is to only write to the database if data was changed. I was writing to the db on every step of every avatar. Sure to give us lag, that.
2012-02-05Revert "Remove checks on ban list expiry on every move. To be re-added on ↵Melanie1-4/+4
parcel" This reverts commit 35f14a262dfa3d9199f554154a63f5f532460f56.
2012-02-05Revert "Check ban list for a particular parcel only when an avatar moves ↵Melanie2-17/+4
into it." This reverts commit 8923ad755d97d5ddb4a29cb6f543b53195f0b461.
2012-02-05Make configuration uniformBlueWall1-3/+3
Pickup the max physical prim size in Scene to make it uniform since adding code to get default size from the OpenSim*.ini.
2012-02-05Check ban list for a particular parcel only when an avatar moves into it.Melanie2-4/+17
This restores functionality remove in the last commit without reintroducing the performance penalty.