Commit Graph

9061 Commits (26efb55f378476235ca18192d90dbd378c28af5c)

Author SHA1 Message Date
Melanie Thielker 62bcf0e694 Numerous packet improvements.
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker 8c97214741 Also add these packet to the list of packets to be recycled. No enabled
by default
2009-05-02 00:20:35 +00:00
Melanie Thielker ac944def3f Fix the issue that stopped the packet pool from working. Add a mechanism
to recycley data blocs within a packet. Recycle the ObjectUpdate* data
blocks. Speeds up loading even more.
This may mean that the packet pool is now viable.
2009-05-02 00:14:04 +00:00
Melanie Thielker 0f721da5f1 Add a tweakable for the prim queue preload 2009-05-01 19:33:18 +00:00
Melanie Thielker 52d80249d3 Throttle prim sending a bit (again) to ensure the queues don't overrun and
clog
2009-05-01 18:24:56 +00:00
Melanie Thielker 8020af6184 Add methods to block and queue agent updates during region crossing and TP
This is to ensure integrity of animations and script states with regard
to controls pressed or released. No user functionality yet.
2009-05-01 17:10:42 +00:00
Melanie Thielker 13c597baba Send the animations of all already present avatar to an avatar entering a sim
to stop the "folded legs" on simcross
2009-05-01 16:47:53 +00:00
Melanie Thielker 55a69f3f2d Improve prim sending by combining multiple prim updates into a single packet 2009-05-01 16:29:15 +00:00
Jeff Ames 5ede445bdf Update svn properties. 2009-05-01 05:16:05 +00:00
Justin Clarke Casey e7078520db * refactor: move iar name hashing into a method 2009-04-30 19:57:07 +00:00
Melanie Thielker c7fd036b35 Estate owners who are not administrators, even in god mode, should not be
able to edit a real god's objects. Minor tweak.
2009-04-30 15:38:10 +00:00
Melanie Thielker e901c8be17 Thank you, mpallari, for a patch that correct the behavior of the avatar
performance patch.
Fixes Mantis #3562
2009-04-30 15:26:37 +00:00
MW ceb4db5272 Fixed a bug in the permissions module, where if there were multiple admins, the client permissions flags were sent incorrectly, which stopped one admin being able to edit another admin's objects. Even thought the comments in the code said that admins should be able to edit each other's objects. 2009-04-30 14:56:26 +00:00
Melanie Thielker 334738fca9 Thank you, mpallari, for a patch that increses efficiency by combining
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
2009-04-30 11:58:23 +00:00
Charles Krinke 8944ab910c Thank you kindly, MCortez for a patch that:
The attached patch provides the necessary infrastructure to support 
security and authentication features of the xmlrpc server.
* Read/Write keys for accessing a Group's xmlrpc service.
* Requiring user session verification for write operations.
2009-04-29 22:31:00 +00:00
Melanie Thielker e2327384e0 Catch another j2k decode exception that can be caused by a bad asset 2009-04-29 21:01:01 +00:00
Melanie Thielker 98cdc1efdd Fix a crash that will hit when an image asset is truncated in storage 2009-04-29 20:32:40 +00:00
Justin Clarke Casey 10415c579b * Correct log message format
* Fix XmlRpcGroupData.XmlRpcCall() to correctly handle response
2009-04-29 19:38:20 +00:00
Justin Clarke Casey 40c2e2e84f * Add test to check temp profile creation on iar load 2009-04-29 19:31:48 +00:00
Justin Clarke Casey 1bf0bc8bb3 * Apply further groups xmlrpc to stop an exception in the exception handler
* Thanks mcortez
2009-04-29 18:52:10 +00:00
Justin Clarke Casey 517a454086 * Apply http://opensimulator.org/mantis/view.php?id=3557
* Stops XmlRpcGroups crashing client sessions if there is an XMLRPC failure
* Thanks mcortez
2009-04-29 18:22:49 +00:00
Justin Clarke Casey 978f98fe7e * Apply http://opensimulator.org/mantis/view.php?id=3554
* Stop converting serviceURL to all lower case.
* Thanks mcortez
2009-04-29 18:14:34 +00:00
Justin Clarke Casey af73bcd363 * Actually change the default oar file name to region.oar instead of scene.oar, for clarity 2009-04-29 18:12:50 +00:00
Justin Clarke Casey c320dca2db * minor: remove some mono compiler warnings 2009-04-29 18:11:41 +00:00
Justin Clarke Casey 23aa85b75d * Make scene.oar the default oar target rather than scene.oar.tar.gz, in an attempt to reduce confusion 2009-04-29 18:03:31 +00:00
Justin Clarke Casey 7d11434a9c * Add missing System.Reflection reference from last commit 2009-04-29 17:56:25 +00:00
Justin Clarke Casey c56f928c80 * Adjust load iar unit test to check load of items with creator names that exist in the system but which are not the loading user 2009-04-29 17:46:13 +00:00
Melanie Thielker d604cd284e Again, completely revamp the unlink code to finally allow unlinking
arbitrary combinations of root and child prims from one or multiple
link sets. Please test throughly and consider things UNSTABLE until
this is proven out.
2009-04-29 15:54:16 +00:00
Dr Scofield 84701701ef fixes exception thrown when client session is shutdown while
packethandler still active
2009-04-29 12:31:43 +00:00
Dr Scofield d0753ad9ef From: Alan Webb <alan_webb@us.ibm.com>
Added two new (optional) attributes to create_user and update_user
  requests.

  <gender> - can be 'm' or 'f'. 'm' is default if not specified.
  <model>  - specifies another, existing, avatar that should be used
             as an appearance prototype for this user.

  If <model> is specified, then <gender> is ignored. If <model> is not
  specified, then 'm' implies a model avatar of "Default Male", and 'f'
  implies a default of "Default Female".

  At the moment the inventory is not copied. This change means that an
  avatar will only look like ruth if none of the possible models exist
  in the user database.
2009-04-29 09:35:35 +00:00
Dr Scofield a89f60d4c9 From: Alan Webb <alan_webb@us.ibm.com> & Dr Scofield <drscofield@xyzzyxyzzy.net>
- Adds an admin_modify_region call to allow changing of parcel voice
  settings and changing of public/private status
- add boolean "public" and boolean "enable_voice" to
  admin_create_region XmlRpc call to allow specifying of
  public/private status and to allow enabling voice for all parcels;
  also added config variables to allow setting of defaults for those
- fixing cut-and-paste artefacts
2009-04-29 09:05:01 +00:00
diva ff0684a9f3 Flipping check_session xmlrpc's keep-alive to false, because some clients hang. 2009-04-29 03:01:19 +00:00
Melanie Thielker 7e972b304b Let estate owners and managers enter nonpublic estates unconditionally.
Let gods go to nonpublic estates as well.
2009-04-28 22:53:10 +00:00
Justin Clarke Casey cac6971099 * Get rid of some extraneous debug log output from the last commit 2009-04-28 19:54:57 +00:00
Justin Clarke Casey 898326b5e9 * Stop oar loading barfing if the archive contains directory entries 2009-04-28 19:40:02 +00:00
Justin Clarke Casey 52d5628806 * Add preliminary code for resolving iar profile names
* Not yet active
2009-04-28 17:47:09 +00:00
Melanie Thielker 1fdebf361f Correctly handle group owned land in the Datasnapshot module. Will return
owner uuid = grou uuid ans owner name = group anme for group land now.
Group name is now filled in
2009-04-28 00:37:23 +00:00
Melanie Thielker c856f21231 Thank you, Fly-Man, for a patch that fixes propagating the group
id into the data snapshot properly
Fixes Mantis #3545
2009-04-28 00:08:17 +00:00
Melanie Thielker 6b5a110857 Make sure that, on "Anyone can copy" the person copying the object
has transfer perms as well as copy perms.
This may block some cases where the owner would normally be able to take
copy.
Fixes Mantis #3464
2009-04-27 23:12:35 +00:00
diva 4ec9979475 Another attempt at mantis #3527. 2009-04-27 17:19:29 +00:00
diva 81bc38708a Thanks Tommil for a patch that adds a caching option to GetAssetStreamHandler. It is used in the RegionAssetService. 2009-04-27 15:23:18 +00:00
Melanie Thielker 36a02441c5 Thank you, Orion_Shamroy, for a patch to expand notecard reading
capabilities in OSSL.
Fixes Mantis #3543
2009-04-27 14:16:01 +00:00
Dr Scofield c91a79c3d2 From: Alan Webb <alan_webb@us.ibm.com>
If an avatar is sitting when the client disconnects, the avatar
  is not disassociated from the SOG on which (s)he was sat. This
  produces any, and varied, effects.

  I have updated RemoveCLient in Scene, to check, and stand the
  client up immediately prior to disconnect. This seems like the
  most robust way to handle the situation. Though in this case
  it might be worth factoring out the animations from other
  standup processing. It does no harm, but in this case it is
  entirely redundant.
2009-04-27 14:04:01 +00:00
Melanie Thielker d98a916006 Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine and
osGetNumberOfNotecardLines
Fixes Mantis #2942
2009-04-27 12:05:49 +00:00
Dr Scofield 515e62dc2f From: Alan M Webb <alan_webb@us.ibm.com>
Added support for access control lists.
  Scene: Added test to AddNewClient for an entry in the access
         list when connecting to a region with limited access.
  EstateSettings: Added an HasAccess(UUID) property to test for
         an entry in the estate's access list.
  RemoteAdmin: Add RPC calls for admin_acl_list, clear, add,
         and remove.
2009-04-27 11:51:25 +00:00
Jeff Ames 8dbcfc70bf Add copyright headers. Formatting cleanup. 2009-04-27 05:22:44 +00:00
Jeff Ames 6077bbda30 Update svn properties. 2009-04-27 03:22:31 +00:00
diva d8313e314f Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527. 2009-04-27 00:16:59 +00:00
diva 1ce362323e HGWorldMap got a bit out of sync during the introduction of the new module system. Should work now. Fixes mantis #3533. 2009-04-26 23:57:18 +00:00
diva d95bfc8eec Bug fix in initialization of RegionAssetServer/MXP. Sometimes the MXP section in ini doesn't exist. 2009-04-26 23:21:56 +00:00