aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
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)5-10/+68
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-14Implement region crossing of sitting avatars. Edit mode and llSetPos workMelanie6-157/+232
but unscripted default sit anim is lost. Still some Gfx glitching. Physical crossing doesn't work yet.
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-14Fix: Lightshare Module(Windlight)-Region settings are not applicable for ↵PixelTomsen2-305/+692
database sqlite mantis: http://opensimulator.org/mantis/view.php?id=5888
2012-02-14Fix: MSSQLDB Grid - unable to register region ↵PixelTomsen1-1/+8
http://opensimulator.org/mantis/view.php?id=5886
2012-02-14Revert "Add GridStore migration for MSSQL."Justin Clark-Casey (justincc)1-8/+0
This reverts commit 0b17a66e683f7ffca3877c1601c4179684b62144.
2012-02-14Add GridStore migration for MSSQL.Justin Clark-Casey (justincc)1-0/+8
This is done blind since I don't use MSSQL. If this doesn't work, then one will have to wait for it to be updated for the 0.7.3 opensim release.
2012-02-14Add some more data to the new user connection logging for debug purposes.Justin Clark-Casey (justincc)1-3/+3
2012-02-14Prevent object loss and positioning outside the region with failed object simMelanie4-9/+22
crossings
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)2-11/+22
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-10Change parser to leave embedded quotes alone if the pattern is recognizedMelanie1-0/+34
as an OptionSet long option
2012-02-10Change parser to leave embedded quotes alone if the pattern is recognizedMelanie1-0/+34
as an OptionSet long option
2012-02-10minor: Remove warning from RegionInfo due to repeated config.GetString() ↵Justin Clark-Casey (justincc)1-1/+0
call where the first was unused.
2012-02-10Add line numbers to Util.PrintCallStack()Justin Clark-Casey (justincc)1-2/+3
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) ↵PixelTomsen2-8/+8
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-09Add NPC torture tests for 100, 1000 and 2000 create and delete NPC calls.Justin Clark-Casey (justincc)1-0/+185
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-08Push more NPC stuff into threadsMelanie2-23/+40
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)4-4/+22
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 url to logging if SynchronousRestFormsRequester.MakRequest() throws an ↵Justin Clark-Casey (justincc)9-103/+120
exception in service connectors
2012-02-07Add TestAddTaskInventoryItem()Justin Clark-Casey (justincc)2-4/+34
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 TestCompileAndStart100Scripts() torture test.Justin Clark-Casey (justincc)2-1/+158
2012-02-07Add a regression test to compile and start a script. Remove ↵Justin Clark-Casey (justincc)7-37/+137
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-06Experimental. Expand Fire & Forget for NPC deleteMelanie1-7/+7
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.
2012-02-05Remove checks on ban list expiry on every move. To be re-added on parcelMelanie1-4/+4
boundary crossing only as soon as I'm properly awake. This should fix recent performance issues
2012-02-04Set PhysPrimMax default to 0 so ini files won't be overriddenBlueWall1-1/+1
2012-02-04change NonPhysicalPrimMax to NonphysicalPrimMax in Scenes.cs to make thenebadon1-1/+1
variable in OpenSim.ini and Regions.ini match
2012-02-04Make NonphysicalPrimMax setting work properlyBlueWall1-1/+1
RegionInfo setting will override only if it is > 0
2012-02-04Quiet the map module loggingBlueWall1-2/+2
2012-02-04Add default value to TelehubObjectBlueWall1-0/+10