Teravus Ovares
7bf1452a61
* Fix some tests
2008-11-27 06:07:17 +00:00
Charles Krinke
921692a15f
Thank you kindly, Nlin for a patch that:
...
Adds a new method to IClientAPI to allow adding message handlers
for GenericMessages (of which "autopilot" is one). Part 2 adds a
specific autopilot handler in ScenePresence.cs.
2) Removing unused variables and functions.
3) Simplifying the navigation logic in ScenePresence.cs. The
original patch was somewhat complex because it included orientation
logic for a future enhancement of orienting the avatar to point
towards the direction being walked. Currently this isn't working,
though, so I removed the orientation code, which leaves just the
smaller and hopefully simpler-to-understand movement code.
2008-11-27 05:16:47 +00:00
Melanie Thielker
714ca971d6
Unconditionally set the slam bit oon all object to agent inventory transfers.
...
Closes a possible exploit with prims containing other prims
2008-11-27 03:56:21 +00:00
Melanie Thielker
d9c05a6def
Cause the slam bit to be set in transferred inv items
2008-11-27 03:54:43 +00:00
Melanie Thielker
6b7ba29986
Fix permission propagation that was broken some revision back, causing
...
sold/given prim to become full perm.
2008-11-27 03:17:00 +00:00
Homer Horwitz
557559abd3
Added local lookup before we ask the messaging server.
...
Still not tested. May contain bugs.
2008-11-26 19:50:03 +00:00
Justin Clarke Casey
c85e2a0fb0
* restore deleted method documentation, some to IRegionDataStore and some to MySQLRegionData
...
* I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
2008-11-26 17:42:35 +00:00
Justin Clarke Casey
3e3cf67b00
* minor: Remove unused SetAnimation method that was identical to TrySetAnimation
2008-11-26 17:40:08 +00:00
Justin Clarke Casey
759850cbc1
* Eliminate forceAvatarMovement() in favour of existing AddNewMovement()
2008-11-26 17:30:47 +00:00
Justin Clarke Casey
7c2f8e2ee9
* Get rid of the phenomena where the avatar sometimes reverts to the stand animation when flying across borders
...
* Applies to both standalone and grid mode
* The slight retardation on border cross remains - this is a separate issue
2008-11-26 16:56:57 +00:00
Tedd Hansen
1767100316
ScriptSponsor and LSL_Api are now MarshalByRefObject
2008-11-26 14:23:46 +00:00
Tedd Hansen
e2b6ad4d5f
Made ScriptSponsor serializable
2008-11-26 13:25:56 +00:00
Melanie Thielker
f1f4b16bc8
Change the max value of the bytes in tests to 127. MySQL bytes are signed
...
by default
2008-11-26 12:34:32 +00:00
Melanie Thielker
fdf5f55a5b
Yay for unit tests. Increased the type width of the prims and primshapes
...
tables, and changed the database modules to actually push these doubles
down into the database layer.
2008-11-26 12:23:56 +00:00
Melanie Thielker
4fdda32cd3
A migration to make the floats in prims table be doubles
2008-11-26 11:38:58 +00:00
Melanie Thielker
bd6f58184a
Reduce the numerical range of text values to match what MySQL offers
2008-11-26 11:27:02 +00:00
Tedd Hansen
efceda464c
And fix to prebuild.xml
2008-11-26 11:24:50 +00:00
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