Commit Graph

239 Commits

Author SHA1 Message Date
Justin Clark-Casey (justincc)
96be5e5a88 minor: A further minor tweak to reduce iar load logging verbosity 2009-11-13 20:24:45 +00:00
Justin Clark-Casey (justincc)
ed1089d892 refactor some test asset creation into a helper class
remove mono compiler warning
2009-11-12 19:08:00 +00:00
Justin Clark-Casey (justincc)
d21fc1cefb minor: for now stop iar tests spewing log messages when running testsuite 2009-11-12 18:33:40 +00:00
Justin Clark-Casey (justincc)
7f5d0a6735 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-11-09 17:36:28 +00:00
Justin Clark-Casey (justincc)
716f70cd31 refactor out iar escaping 2009-11-09 17:34:07 +00:00
Justin Clark-Casey (justincc)
1ded7edde2 minor: correct slightly over-enthusiastic load iar logging message 2009-11-09 17:24:06 +00:00
Justin Clark-Casey (justincc)
7c5dc94cc8 fix load iar regression accidentally introduced in last commit 2009-11-09 17:22:18 +00:00
Justin Clark-Casey (justincc)
3c1f50127c minor: tweak load iar messages to be slightly less verbose 2009-11-09 17:20:30 +00:00
Justin Clark-Casey (justincc)
fbcf6ffc18 minor: provide updates on number of assets loaded while executing "load iar" 2009-11-09 17:17:25 +00:00
Justin Clark-Casey (justincc)
ae92bbcb95 refactor: break actual item load in iar into separate method 2009-11-09 17:04:05 +00:00
Justin Clark-Casey (justincc)
a0c1836fde minor: remove some old commented out load iar code 2009-11-09 16:43:35 +00:00
Justin Clark-Casey (justincc)
678a74e4f7 Tell the user when a 'save iar' has failed because the inventory path could not be found 2009-11-09 16:42:17 +00:00
Justin Clark-Casey (justincc)
a3105a34ca Implement human / escaping for inventory folders as well as items 2009-11-09 16:12:13 +00:00
Justin Clark-Casey (justincc)
6820cc93ec refactor path delimiter in iar utils 2009-11-09 16:08:17 +00:00
Justin Clark-Casey (justincc)
a7af92d5d0 minor: remove some mono compiler warnings 2009-11-09 16:03:15 +00:00
Justin Clark-Casey (justincc)
9b2592a960 refactor: make human iar escape char a constant rather than a magic char 2009-11-09 15:54:43 +00:00
Justin Clark-Casey (justincc)
668850b974 * for iars, allow item names/folders including "/" to be escaped using "\/"
* also, "\" has to be escaped as "\\"
* add item name unit test for escaped characters
2009-11-09 15:49:09 +00:00
John Hurliman
1cddc85078 Fixing the build break 2009-11-06 00:06:49 -08:00
John Hurliman
dfe4dc735a Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-11-05 23:50:42 -08:00
John Hurliman
afef1ac191 Changing the AssetBase constructors to avoid initializing assets with an unknown asset type, and log an error if it ever does happen 2009-11-05 13:10:58 -08:00
Justin Clark-Casey (justincc)
f8f1e94cf8 add unit test for iar & escaping 2009-11-05 19:32:24 +00:00
Justin Clark-Casey (justincc)
6f4a588397 minor test var name tweak 2009-11-05 19:09:32 +00:00
Justin Clark-Casey (justincc)
bae03dfcbd Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-11-05 18:53:57 +00:00
Justin Clark-Casey (justincc)
345ddcd0d8 * Escape / character when saving items and folders in an iar so that the loader doesn't barf 2009-11-05 18:53:25 +00:00
Melanie
ec0d5b408a Change the permissions module to use the friend list cache already in the
friends module instead of requesting the entire friends list over the
network each time a prim is touched.
2009-11-05 17:29:52 +00:00
Melanie
83b4b4440b Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.
Applied with major changes. Core functionality commented pending review
for possible rights escalation. No user functionality yet.
2009-11-05 02:09:07 +00:00
John Hurliman
4847e62e9f * Switched all operations on the list of clients that could be either sync or async to use Scene.ForEachClient() instead of referencing ClientManager directly
* Added a new [Startup] config option called use_async_when_possible to signal how to run operations that could be either sync or async
* Changed Scene.ForEachClient to respect use_async_when_possible
* Fixing a potential deadlock in Parallel.ForEach by locking on a temporary object instead of the enumerator (which may be shared across multiple invocations on ForEach). Thank you diva
2009-10-26 16:33:04 -07:00
John Hurliman
588361e2a2 Experimental change to use an immutable array for iterating ScenePresences, avoiding locking and copying the list each time it is accessed 2009-10-23 01:02:36 -07:00
John Hurliman
5d07e18980 A synchronous call to the messaging server was blocking the process of promoting an agent to a root agent (logins and teleports). Changed to an async method 2009-10-22 02:27:06 -07:00
John Hurliman
d44b50ee46 * Removed some of the redundant broadcast functions in Scene and SceneGraph so it is clear who/what the broadcast is going to each time
* Removed two redundant parameters from SceneObjectPart
* Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs)
* Committing a preview of a new method for sending object updates efficiently (all commented out for now)
2009-10-15 15:25:02 -07:00
John Hurliman
23a334b9f5 * Rewrote ClientManager to remove Lindenisms from OpenSim core, improve performance by removing locks, and replace LLUDPClientCollection
* Removed the confusing (and LL-specific) shutdowncircuit parameter from IClientAPI.Close()
* Updated the LLUDP code to only use ClientManager instead of trying to synchronize ClientManager and m_clients
* Remove clients asynchronously since it is a very slow operation (including a 2000ms sleep)
2009-10-13 14:50:03 -07:00
Melanie
89d23a1fa2 Revert "Rewrote parts of the code that were double-locking different objects. This is about half of the code base reviewed."
This reverts commit e992ca0255.
2009-10-07 01:45:49 +01:00
Diva Canto
e992ca0255 Rewrote parts of the code that were double-locking different objects. This is about half of the code base reviewed. 2009-10-06 15:39:53 -07:00
dr scofield (aka dirk husemann)
2107b67f1b - cleaning up LandData/ILandObject capitalization issues
- adding LandDataSerializer to OAR mechanics
2009-10-02 11:31:30 +02:00
Jeff Ames
606e831ff5 Formatting cleanup. 2009-10-01 09:38:36 +09:00
Jeff Ames
ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Diva Canto
e15a9b8484 Fixed an issue with the PresenceModule in "gridmode", introduced by my fixing the notifications of the messaging service in standalone. 2009-09-27 17:01:30 -07:00
Diva Canto
632bb71262 Fixed MapBlocks bug, wrong order of arguments. First version that seems completely functional.
Also fixed the notification of the message server in standalone -- that server doesn't usually exist.
2009-09-26 08:49:48 -07:00
Diva Canto
7253a9453e Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-26 07:49:04 -07:00
Diva Canto
5757afe766 First pass at the heart surgery for grid services. Compiles and runs minimally. A few bugs to catch now. 2009-09-26 07:48:21 -07:00
Justin Clark-Casey (justincc)
9249c026f2 Don't preserve full user profile details within iars for now
This information was not being used in the load process
2009-09-25 16:22:43 +01:00
Justin Clark-Casey (justincc)
613cb417c0 add control files containing version info to iars 2009-09-25 14:52:53 +01:00
Justin Clark-Casey (justincc)
f62b5e6cec Produce a different error message if the user service does not have the authenticate method available 2009-09-24 15:19:47 +01:00
Justin Clark-Casey (justincc)
7870152d23 Allow load/save iar password checks to be done in grid mode
This should allow load/save iar to work for grid mode as long as the grid user service is later than this revision
Grid services of earlier revisions will always erroneously report incorrect password.  This will be addressed shortly.
2009-09-24 14:54:12 +01:00
Justin Clark-Casey (justincc)
967cbde055 correct off-by-one error in save iar command handling 2009-09-18 22:25:32 +01:00
Justin Clark-Casey (justincc)
33ea86374a provide intelligble warning of why load/save iar doesn't work on grid mode, pending a fix 2009-09-18 22:22:00 +01:00
Justin Clark-Casey (justincc)
35260faead on iar save/load, let the user know if they put in the wrong password
refactor GetUserInfo() to eliminate copypasta
2009-09-16 18:20:55 +01:00
Melanie
c5455d4fe7 And another go 2009-09-15 08:24:51 +01:00
Melanie
cec296543c Attempt to fix the tests 2009-09-15 08:12:53 +01:00
Melanie
7c925744f6 Some OSGrid specific changes, please use this or later for OSGrid use 2009-09-15 07:55:29 +01:00