Commit Graph

7485 Commits (0.6.1-post-fixes)

Author SHA1 Message Date
Sean Dague ba6b3ade3b fix a bug with the Grid REST interface that was returning the classname
in the UUID field instead of the actual UUID because of an implicit use
of ToString()
2008-12-17 21:59:20 +00:00
Sean Dague bb31389b7d remove an unused Match line in prebuild that is causing issues for
windows people: http://opensimulator.org/mantis/view.php?id=2851
2008-12-17 21:05:14 +00:00
Melanie Thielker a9e38bcafc Reapply the packet optimization patch, with changes 2008-12-17 21:00:18 +00:00
Justin Clarke Casey dce11e4685 * minor: Comment out "Informing neighbours" debug message that pops up whenever some aspect of the avatar changes.
* with Diva's blessing ;)
2008-12-17 20:54:34 +00:00
Melanie Thielker 2bcf315ea2 Revert 7754 and 7755 pending a rework 2008-12-17 20:34:37 +00:00
Melanie Thielker 5320f0f33c Stop packets that may be resent from being returned to the packet pool.
FWIW
2008-12-17 20:21:48 +00:00
Justin Clarke Casey 2108d328df * revert r7724 so that PresenceChildStatus() starts throwing NRE's again
* apparantly logout code relies on this happening in certain circumstances.  Really, the root issue needs to be investigated.
2008-12-17 19:12:56 +00:00
Melanie Thielker 7ef5a79fef Change the PacketQueue to use the stored size as well 2008-12-17 19:01:47 +00:00
Melanie Thielker 0d3a9b45ae Marry AckData to LLQueItem, and store packet data and length there for
use everywhere. Each packet gets serialized only once now in PacketHandler
2008-12-17 18:56:47 +00:00
Justin Clarke Casey ff7c8551ba * remove mono compiler warnings
* should work - the last compile failure looks like a random glitch...
2008-12-17 18:42:23 +00:00
Justin Clarke Casey b37c8d6cbd * minor: Comment out high volume 'Getting MapItems' messages
* make worldmap module log tags consistent
2008-12-17 18:20:33 +00:00
diva 7b6471f642 Kicking child agents off on the first login after a client crash. The child agents kickoff was
missing from when this is run in grid mode. But, worse, turns out that this whole feature of kicking
off the user after a crash was entirely missing from standalone mode.
2008-12-17 17:44:00 +00:00
Justin Clarke Casey ab77b22f0f * Only serialize packets once for the length calculation for throttle queues rather than twice 2008-12-17 17:33:57 +00:00
Melanie Thielker 35ec496f98 Revamp packet handler to smooth out the stream of resent packets.
Eliminates the bursting in resends observed in the prior implementation
2008-12-17 17:19:14 +00:00
Justin Clarke Casey 72ff5322f5 * Replace manually zeroing with Array.Clear(). Thanks cmickeyb 2008-12-17 17:18:52 +00:00
Melanie Thielker 8e5fe0257c Mantis #2850
Applying the patch to reduce the load caused by the throttle loop even more
2008-12-17 17:05:12 +00:00
Justin Clarke Casey 2e79fd0f0c * minor: Minor documentation and small minor change on LLPacketThrottle to remove some unnecessary lines 2008-12-17 17:01:02 +00:00
Justin Clarke Casey ac451485d6 * minor: Remove unused AppearanceTableMapper as pointed out by jonc in http://opensimulator.org/mantis/view.php?id=2843 2008-12-17 16:47:38 +00:00
Justin Clarke Casey 890d8d4215 * Simply friends code by only sending notifications to a newly logged on user for other users who are online.
* No need to send offline notifications since the client assumes this (and future clients should be able to do the same).
2008-12-17 16:34:11 +00:00
Justin Clarke Casey b4680f653d * Implement 'Save Object Back to My Inventory'. On the Linden client this is in the Tools menu available when editing an object
* This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed 
object.
2008-12-17 16:11:03 +00:00
Teravus Ovares ca0de93d9a * Adding some locks to XEngine's m_PrimObjects which were prone to 'the collection was modified' 2008-12-17 15:30:26 +00:00
MW 027ae58dc4 Stop users taking a copy of a in world prim that contains inventory items that have no copy permission set. 2008-12-17 13:32:01 +00:00
MW 6c8f9078ef Added a check to CanDuplicateObject(), to stop duplicating prims that contains inventory items that you don't have permission to copy 2008-12-17 12:53:47 +00:00
Melanie Thielker 1c30111c7a Stop owners from duplicating no-copy objects in-world 2008-12-17 12:12:23 +00:00
Melanie Thielker a5343c5404 Add repecting the min and max values back in 2008-12-17 09:55:10 +00:00
Melanie Thielker e394e1c06f Remove a major bottleneck in throttling code. 2008-12-17 09:52:52 +00:00
Melanie Thielker 02a28a6992 Avoid checking the throttle limit for empty queues 2008-12-17 09:30:56 +00:00
diva 4b81ec02d7 Avoid sending DisableSimulator event to the root agent upon logout. 2008-12-16 19:44:32 +00:00
Melanie Thielker 36ee0e8fb9 Fix script controls for weapons 2008-12-16 04:12:40 +00:00
diva 223b6f63af Attempt at fixing the HG home jump by looking up hyperlink regions before grid-local regions. 2008-12-15 22:17:40 +00:00
MW 1110ee877f More work on moving Xfer file transfer handling code to the Client stack from the various region modules that it is currently in.
Still not enabled yet.
2008-12-15 21:46:57 +00:00
diva 8fffdac7fa Attempt at restoring inventory access after TPs/crossings. RemoveClient in Scene was being too
aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide
whether to nix it or not. All other mods in other files are for better debugging messages.
2008-12-15 20:45:40 +00:00
Justin Clarke Casey 41ad030a5a * minor: method documentation and miscellaneous tidy 2008-12-15 20:32:49 +00:00
Justin Clarke Casey 3b0db66b92 * Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaks
* This pushes an identifier for the OpenSim scene to the physics scene.  This allows log messages from the physics scene to identify which OpenSim scene they relate to.
* Thanks Gerhard
2008-12-15 18:39:54 +00:00
Justin Clarke Casey 2e288fade1 * minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all 2008-12-15 18:11:47 +00:00
diva 4b71b88114 Bug fix in new child agents management. Thanks DigiDaz for helping identify this issue.
We need to update all child agents whenever the root agent crosses regions. The update
now includes child agents in common neighbours. This is so that those get updated with the
seeds of the new child agents that are spawned from the receiving region.
This also fixes some timing issues. We need to close child agents from the originating region
before we update child agents in the receiving region.
2008-12-15 16:23:34 +00:00
Jeff Ames 43142afab1 Update svn properties. 2008-12-15 15:25:33 +00:00
MW a933ca842b Removed some instances of "<3 OpenSim Developers" (why were they there?) being in alert messages from the LandManagementModile. 2008-12-15 12:47:16 +00:00
diva d6d4c267e0 Bug fix for Hypergrid. This bug was introduced by the recent TP fixes, and affected the jump back home. 2008-12-15 00:06:52 +00:00
Melanie Thielker 3aa7ad24da Make scripted item and folder gives pop up a "accept, decline" message
and allow deletion of the just received item.
2008-12-14 22:27:40 +00:00
Homer Horwitz 07330b0ea4 Was missed some time ago, it seems... 2008-12-14 19:03:18 +00:00
diva 98af8dfd7b Updated CONTRIBUTORS.txt 2008-12-14 18:51:32 +00:00
Homer Horwitz ef2c0d115a Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.
Removed the second set. Fixes Mantis#2380.
2008-12-14 18:17:35 +00:00
idb 7c6c443503 Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.
It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS.
Fixes Mantis #2783 and #2162
2008-12-14 17:48:27 +00:00
Teravus Ovares 8ad6f575eb * Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ODEPlugin and pipes them to their respective LSL method.
* NBody will need to be updated, this is an API change.   Torque property and AddAngularForce
2008-12-14 14:30:28 +00:00
idb 795cdf624b Added ATTACH_HUD_* constants fixes Mantis #2823 2008-12-14 12:14:23 +00:00
Teravus Ovares b5dec9a37f * Added Avatar minimum size in the ODEPlugin and a stern warning about setting the capsule size too low in OpenSim.ini 2008-12-14 07:29:40 +00:00
Teravus Ovares 6f7a560c04 * A Few physical prim + linkset fixes. Prevent some crashes 2008-12-14 06:34:05 +00:00
Melanie Thielker b32f72a438 Adds the "Send Teleport" module 2008-12-14 05:56:33 +00:00
Melanie Thielker 008e1fe8df Plumb the TP-Sending packets 2008-12-14 05:49:07 +00:00