Commit Graph

7160 Commits (e6ddb5de7de4ed61fa19b3805cd77104328eb20a)

Author SHA1 Message Date
Tedd Hansen e6ddb5de7d Attempt to give script objects a proper lease time (DNE and xengine). Relies on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :) 2008-11-26 11:12:57 +00:00
Melanie Thielker c7d39fb4e3 Comment one more field that can't be tested that way anymore 2008-11-26 10:55:06 +00:00
Adam Frisby 5f912a6787 * Adding ScenePresence.ClientView property to return IClientCore interface to a client. 2008-11-26 09:53:45 +00:00
Melanie Thielker 841c53003f A migration to convert the floats int the database to doubles.
Maybe we don't have to say "Shift happens" as often anymore....
2008-11-26 09:05:11 +00:00
Melanie Thielker 3388584aa8 Fix 2 of the failed tests. Cause terrain queries to return null when no
terrain is found, rather than a default "0" terrain.
Remove the "remove object wrong region" test. UUIDs either are unique
or they're not. This test tested a bad behavior I have chosen not to 
duplicate.
2008-11-26 08:06:14 +00:00
Melanie Thielker 3efdccbb12 Committing the LCO database layer. Native MySQL, no ADO. New reconnect
mechanism to prevent prim loss. Preserve link order on sim restart
and drag copy. Fix drag-copied prims' inventories. Fix persistence
of child prim inventories.
2008-11-26 07:34:38 +00:00
Homer Horwitz 3e42cca2c0 Next step of the PresenceModule. Still not complete; local optimizations and the
messaging server changes are still missing.
Completely untested. May contain bugs.
2008-11-25 22:04:33 +00:00
Homer Horwitz 4acddb6797 Mantis#2692: Thanks Diva, for a patch that fixes a bug in HyperGrid. 2008-11-25 19:08:52 +00:00
Homer Horwitz b0e55577ff Revert the rest of r7468 2008-11-25 18:59:10 +00:00
Homer Horwitz 143342e169 Revert last patch. I'll try to be on the right branch, next time, before a
dcommit.
2008-11-25 18:51:21 +00:00
Homer Horwitz 72c28c5120 Local changes 2008-11-25 18:39:36 +00:00
Justin Clarke Casey 759a667247 * Make a step on removing direct access to TaskInventoryDictionary from other packages 2008-11-25 17:15:21 +00:00
Justin Clarke Casey 11f7471d9c * Remove direct access to Inventory.Serial 2008-11-25 17:01:18 +00:00
Justin Clarke Casey 6caebb6c93 * refactor: Establish an IEntityInventory interface for SceneObjectPartInventory.cs and expose that from SceneObjectPart rather than the original object 2008-11-25 16:47:50 +00:00
Jeff Ames de052c48d1 Add copyright headers. Minor formatting cleanup. 2008-11-25 16:10:08 +00:00
Jeff Ames 518a8b9f2a Update svn properties. 2008-11-25 16:00:55 +00:00
Justin Clarke Casey fbf90b1ece * minor: eliminate mono compiler warnings 2008-11-25 15:41:42 +00:00
MW 3223a4d16d made the messaging server OpenMessage_Main constructor public (from private) so it can be subclassed. 2008-11-25 15:19:46 +00:00
Justin Clarke Casey e187972377 * Apply http://opensimulator.org/mantis/view.php?id=2640
* This is Diva's hypergrid patch, as perviously discussed on the opensim-dev mailing list
* Applied some minor prebuild.xml jiggling to resolve a dependency issue
* Thanks Diva!
2008-11-25 15:19:00 +00:00
lbsa71 dbe64197ae * Adding some virtual hooks and making some privaets protected for great justice. 2008-11-25 11:46:15 +00:00
lbsa71 0f5112ffff * Adding the incoming url as Param[2] in the XmlRpcRequest 2008-11-25 11:45:34 +00:00
lbsa71 4cfa8b0a10 * First step in refactoring the login code - extracting the authentication 2008-11-25 11:44:31 +00:00
Homer Horwitz 62c263d32b WIP: Adding a few things to PresenceModule. Not quite finished yet. 2008-11-24 22:07:45 +00:00
Homer Horwitz c13bf719e1 - Evaluate config only once
- Fixed some locking issues
2008-11-24 20:43:16 +00:00
Adam Frisby 6fb254965d * Added some debug information when console commands fail. 2008-11-24 16:23:45 +00:00
Adam Frisby 2a8ff937d5 * Removed more locks on Entities
* Entities should now in theory be lock-free externally.
* Other properties may cause blocking however[?].
* ScenePresence maintains separate locks so isn't fixed by this commit.
2008-11-24 15:14:33 +00:00
Adam Frisby 2305ef61a5 * Refactored a number of locks into EntityManager to limit the scope of the locks. 2008-11-24 15:09:25 +00:00
Adam Frisby 47829849d9 * Swaps Scene.Entities Dictionary for EntityManager.
* Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values').
* Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
2008-11-24 14:45:05 +00:00
Adam Frisby 202406c522 * Makes EntityManager IEnumerable - meaning we should be good to go to enable this. 2008-11-24 13:14:52 +00:00
Adam Frisby eb8650fc14 * Adding EntityManager.cs
* Not referenced anywhere yet.
* Designed to replace Dictionary<UUID,EntityBase> within SceneGraph.Entities
* Allows indexed access and better handling of locks.
* Someone needs to implement IEnumerable on this before we can switch it over.
2008-11-24 12:58:41 +00:00
MW 0be9ff1949 Some refactoring from about a week ago that I forgot to commit, of AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler 2008-11-24 10:03:18 +00:00
Dahlia Trimble d8bb20fc1c Thanks SachaMagne for a patch which adds the following console commands:
login-enable : Allow login at sim level (opensim.exe)
login-disable: Stop any login BUT keep the logged avt 
login-status : Return the actual status
2008-11-24 09:53:49 +00:00
Melanie Thielker 95fec14201 Remove code from an experimantal patch that wasn't supposed to be committed 2008-11-23 21:03:54 +00:00
Melanie Thielker fba9e3f513 Don't serve texture preview from other people's objects if you
havenever seen that texture before.
2008-11-23 20:39:51 +00:00
Melanie Thielker bb982ab57f Try to keep autoreturn from IM spamming users if the prims take a bit
longer to be deleted
2008-11-23 06:57:38 +00:00
Melanie Thielker ed300f21f0 05:24:49 - [PRESENCE]: Logging off 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb because the region they were in has gone
Or, in other words, a region crash/restart no longer messes up presence.
2008-11-23 06:44:43 +00:00
Melanie Thielker cbd0221870 Plumb in the presence notifications and region shutdown/restart messages
from the presence module to the message server, through the user server
and on into the database. This should fix the "Already logged in" issue
that grids see after a sim crashes, or a user crashes out of a sim.
Not yet a 100% solution for friends, but getting there.
2008-11-23 05:16:07 +00:00
Charles Krinke 02fd7751d9 Mantis#2660. Thank you kindly, Ruud Lathrop for a patch that:
This patch adds the option of adding the email when you create 
a new user. This works in Gridmode as none Gridmode. This 
option is also added to RemoteAdminPlugin. With a new handler 
you can create a user with a email.
2008-11-23 03:38:40 +00:00
Melanie Thielker 0460c19bcd Add error handling to catch the WebExceptions thrown if you have
no messaging server
2008-11-23 00:36:39 +00:00
Melanie Thielker e082f10884 Adding root agent position messages to the message server 2008-11-22 23:54:53 +00:00
Melanie Thielker 7aa32ac6e0 Add root agent tracking to presence module 2008-11-22 23:38:25 +00:00
Melanie Thielker 2fa072b579 Next step in the presence module - some core plumbing included at
no extra cost
2008-11-22 22:56:00 +00:00
Dahlia Trimble 336fc239bb Increase IRC login timeout to 25 - it was 10 which was causing reconnect loops on slow responding servers. 2008-11-22 21:12:10 +00:00
Melanie Thielker bf885b2035 Adding region up/down notifications to the PresenceModule. Messaging
Server portion remains to be implemented
2008-11-22 20:29:00 +00:00
Melanie Thielker 84db1e1290 Change the presence event signatures 2008-11-22 19:40:15 +00:00
Melanie Thielker 29803efda4 Check in the presence module skeleton 2008-11-22 19:25:12 +00:00
Melanie Thielker 26cbe5649d Move user server -> message server notifications into a separate thread
to make the user server more responsive
2008-11-22 18:54:58 +00:00
Homer Horwitz a7b01140db Enclose the inter-region IM sending in a try-catch for now to find possibly missed exceptions. 2008-11-22 18:33:02 +00:00
Homer Horwitz 6566da2962 - Add a warning if the agent data of the destination of an IM isn't found
- Add a warning if the region info of the region the user is in isn't found
- Remove one possibility for a silently dropped IM.
2008-11-22 18:10:59 +00:00
Homer Horwitz 1148d9a11c Removing some direct console output for outputting ImprovedInstantMessage packets. 2008-11-22 17:42:23 +00:00