Commit Graph

228 Commits

Author SHA1 Message Date
diva
da170cde46 Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection. 2009-05-22 04:23:59 +00:00
MW
e4d68964dd Added ITeleportModule interface, and added a hook into scene so if a module has registered this interface then that handles teleport requests rather the SceneCommunicationService.
As by default there is no ITeleportModule registered, Teleports by default will still be handled by SceneCommunicationService.
2009-05-21 10:41:16 +00:00
Melanie Thielker
a3fed17956 Fix a slight oversight in SceneInventory that would not enable copy to
inventory when permissions are bypassed
2009-05-20 10:54:35 +00:00
diva
75b8b60aa1 Removing the last reference to CommsManager.AssetCache. 2009-05-18 22:22:09 +00:00
diva
13da5a9fba Finished HG Service Store. Not fully functional because of problems with asset.ID insisting on being a UUID string. 2009-05-18 20:04:59 +00:00
diva
aac8ca0411 HG asset transfers starting to work -- GETs only for now. 2009-05-17 01:38:43 +00:00
diva
d8931def06 Another minor bug fix for making notecard/script savings work with old asset servers. 2009-05-16 00:23:32 +00:00
diva
5e4fc6e91e Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems: 
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Justin Clarke Casey
02bac7fea4 * refactor: move SceneXmlLoader into subpackage 2009-05-14 18:46:17 +00:00
Justin Clarke Casey
303aa4b65e * refactor: move bottom part of 'xml2' serializaton to separate class 2009-05-14 18:08:54 +00:00
Justin Clarke Casey
d10b5e29bc * refactor: break some of xml2 serialization out of sog 2009-05-14 16:33:04 +00:00
Melanie Thielker
e206a9ce88 Remove some no longer needed debug.
Fixes Mantis #9520
2009-05-13 00:58:10 +00:00
Melanie Thielker
88371e4f98 Fix interface registration/deregistration mechanics 2009-05-12 23:49:42 +00:00
diva
7bf1d111e2 Bug fix in SceneBase.RequestModuleInterface. Check that the list's count is greater than 0. 2009-05-12 23:06:43 +00:00
diva
12a470e6a7 Making SimStatsReporter a little more restrained in requesting the IEstateModule interface. 2009-05-12 22:48:54 +00:00
Adam Frisby
3a28f748d5 * Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves velocity. 2009-05-12 21:21:33 +00:00
Adam Frisby
9f5679e60f * EventManager's OnNewPresence event now fires correctly again. 2009-05-12 20:59:38 +00:00
Melanie Thielker
32ac388363 Add permission mechanisms for group deeding land 2009-05-12 13:29:38 +00:00
Melanie Thielker
f948fab4da Add AssetService of type IAssetService to Scene 2009-05-11 21:04:27 +00:00
Dr Scofield
ecc876bc18 Squashed commit of the following:
further ACL stuff:
- adding StrictAccessControl variable: DON'T set this to false if you
  want to enforce ACL, it will disable ACLs right now. Default is
  true.

  once we've got code added to allow child agents but prevent them
  from becoming root agents when the ACL denies access to the avatar,
  setting this to false will then allow avatars to see into a
  neighboring region but not enter it (currently ACL prevent both,
  seeing and entering).

- enhancing log statements
2009-05-11 07:46:12 +00:00
Melanie Thielker
d8e1842d25 Add some asset cache plumbing. Change the generic cache from UUID to string
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Homer Horwitz
1d234ca83f Fixed handling of inventory a bit
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Justin Clarke Casey
567e0d032c * break out 'xml2' deserialization from sog 2009-05-08 19:18:37 +00:00
Justin Clarke Casey
9f39a490b5 * refactor: break out sog original xml serialization to a separate class 2009-05-08 18:05:54 +00:00
Justin Clarke Casey
fcfc97a4bf * minor: rename xml sog serialization method for readability 2009-05-08 16:44:00 +00:00
Justin Clarke Casey
032e3b49eb * refactor: Break out original xml object serialization into a separate class
* No functional change
2009-05-08 15:47:59 +00:00
Sean Dague
ce0a84cbc0 instrument most of the tests with a new InMethod function that may help us figure
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Dr Scofield
1352a19838 refactoring Scene.NewUserConnection() to be simpler and clearer. 2009-05-06 20:02:49 +00:00
Homer Horwitz
7e731b024a Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets)
This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405
2009-05-05 19:44:19 +00:00
Dr Scofield
e0a06f6416 - moving banned check and public/private check to
Scene.NewUserConnection()
- adding reason reporting

this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
2009-05-05 16:17:52 +00:00
Jeff Ames
8ea12ad6c0 Add copyright header. Formatting cleanup. Ignore some generated files. 2009-05-05 09:59:15 +00:00
Jeff Ames
6ae88d129a Update svn properties. 2009-05-05 09:32:30 +00:00
Melanie Thielker
acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Justin Clarke Casey
257fc5515a * minor: remove some mono compiler warnings, minor cleanup 2009-05-04 15:38:36 +00:00
Melanie Thielker
36dd346a91 Add a method to flush the prim update buffers once a frame, since the timer
appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
2009-05-04 14:25:19 +00:00
Melanie Thielker
8ac4ec738b Create a working configuration hook to allow LLClient parameters from
Opensim.ini to take force
2009-05-04 01:57:18 +00:00
Melanie Thielker
0ecd965b8c Some reorganization around service connectors. No functional change 2009-05-03 23:13:33 +00:00
Melanie Thielker
66e25abbfe Plumb conifg into the client views. Add config option to configure packet
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke
280d2cbf4a Thank you kindly, BlueWall, for a patch that:
Move json stats to non-published resource name
Remove well-known resource name for json stats, 
creating dynamic uris with private keys and add 
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
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
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
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
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
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
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
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