aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* if an xml rpc method throws an exception, log as an error to the console as ↵Justin Clark-Casey (justincc)2009-12-031-3/+11
| | | | well as returning the exception to the caller
* handle a condition where the http headers apparently have multiple remote ↵dahlia2009-12-021-1/+9
| | | | ports designated
* * Fix Inconsistent line ending style in UtilTeravus Ovares (Dan Olivares)2009-12-011-24/+24
|
* * Patch from Misterblue to fix Environment.TickCount for statistics ↵Teravus Ovares (Dan Olivares)2009-11-291-1/+25
| | | | | | purposes. Resolves the wrap-around of the 32 bit uint. * Teravus moved the Environment methods to the Util class
* Apply patch to reduce git revision text length if running sim directly from ↵Justin Clark-Casey (justincc)2009-11-271-1/+1
| | | | | | | a git tree See http://opensimulator.org/mantis/view.php?id=4030 Thanks ChrisDown (and Bruce for reporting)
* Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2009-11-263-28/+1
|\
| * Remove the old (Remoting) region crossing code. Fix the new code toMelanie2009-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | pass script state and assembly again properly. Reintroduce respecting tht TrustBinaries flag. Changes the interregion protocol! No version bump because it was broken anyway, so with a version mismatch it will simply stay broken, but not crash. Region corssing still doesn't work because there is still monkey business with both rezzed prims being pushed across a border and attached prims when walking across a border. Teleport is untested by may work.
| * Remove the old remoting-type interregion code for prim/script crossingMelanie2009-11-262-27/+0
| |
* | Bump trunk version number to 0.6.9.Justin Clark-Casey (justincc)2009-11-261-1/+1
|/ | | | This is a place holder name and not necessarily the version number that will be used
* minor: remove some mono compiler warnings, add --merge load oar switch to ↵Justin Clark-Casey (justincc)2009-11-251-3/+5
| | | | help information
* Formatting cleanup.Jeff Ames2009-11-233-4/+58
|
* Merge branch 'master' of ssh://dahlia@myConnection01/var/git/opensimdahlia2009-11-201-31/+2
|\
| * minor: correct error messages when queryfolder failsJustin Clark-Casey (justincc)2009-11-181-3/+1
| |
| * minor: remove duplicate copyright notice in PollServiceWorkerThreadJustin Clark-Casey (justincc)2009-11-181-28/+1
| |
* | remove early return from PrimitiveBaseShape.ToOmvPrimitive() when prim is a ↵dahlia2009-11-201-2/+0
|/ | | | sculpty
* Correct formatting of Primitive.Textures in ↵dahlia2009-11-171-1/+1
| | | | PrimitiveBaseShape.ToOmvPrimitive method
* make logging less verbose when loading iarsJustin Clark-Casey (justincc)2009-11-131-1/+1
|
* Some corrections to PrimitiveBaseShape.ToOmvPrimitive()dahlia2009-11-131-6/+26
|
* move fake user service to a separate mock user service classJustin Clark-Casey (justincc)2009-11-121-159/+0
| | | | delete asset cache tests shell
* Rename test services to mock services, since this is a more accurate descriptionJustin Clark-Casey (justincc)2009-11-121-147/+4
| | | | remove duplicate mock inventory service
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-11-112-6/+6
|
* add a ToOmvPrimitive() method to PrimitiveBaseShapedahlia2009-11-111-0/+81
|
* * Removing the redundant SendPrimitiveTerseData.State field, it duplicates ↵John Hurliman2009-11-091-3/+1
| | | | | | AttachPoint * LLClientView.CreateImprovedTerseBlock() now uses AttachPoint and does the proper high-low swap (this should fix disappearing attachment pieces)
* Reintroduce AssetBase's old behavior. A Parameterless constructor is requiredMelanie2009-11-061-0/+10
| | | | | for .NET serialization and removing it breaks the OpenSim asset server protocol.
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-055-25/+50
| | | | unknown asset type, and log an error if it ever does happen
* Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.Melanie2009-11-051-0/+2
| | | | | Applied with major changes. Core functionality commented pending review for possible rights escalation. No user functionality yet.
* Backport the fixes to WebFetchInventoryDescendents to the UDPMelanie2009-11-043-4/+4
| | | | | | | InventoryDescendents packet. Testing has shown that UDP inventory now works flawlessly and, unlike CAPS inventory, doesn't download the entire agent inventory on start. Neither does it incessantly re-request folder NULL_KEY. Therefore, I have disabled CAPS inventory.
* minor: remove a few mono compiler warningsJustin Clark-Casey (justincc)2009-11-032-4/+4
|
* * Remove the locklessqueue tests since I guess I didn't understand what it ↵Teravus Ovares (Dan Olivares)2009-10-301-147/+0
| | | | was when I wrote the test.
* * Add LocklessQueueTests. One Test is commented out because it fails. ↵Teravus Ovares (Dan Olivares)2009-10-302-31/+148
| | | | It should probably work.. but I'm awaiting clarification.
* * Adding Tests for OpenSim.Framework.Cache. Some test cases disabled until ↵Teravus Ovares (Dan Olivares)2009-10-301-0/+75
| | | | mantis resolutions.
* * Another ACL TestTeravus Ovares (Dan Olivares)2009-10-301-1/+58
|
* * Moving A test from the OpenSim.Framework.ACL object to the ↵Teravus Ovares (Dan Olivares)2009-10-301-0/+41
| | | | OpenSim.Framework.Tests assembly. Fixing the test.
* * Standalone logins will now go through the sequence of "requested region, ↵John Hurliman2009-10-281-15/+11
| | | | | | | default region, any region" before giving up * Hip offset should have been added not subtracted (it's a negative offset). This puts avatar feet closer to the ground * Improved duplicate checking for terse updates. This should reduce bandwidth and walking through walls
* Experimental test to rate limit the incoming packet handler and try to ↵John Hurliman2009-10-271-0/+21
| | | | always leave a worker thread available for other tasks
* * Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) ↵John Hurliman2009-10-271-1/+4
| | | | | | to use a non-blocking parallel method when operating in async mode * Minor code readability cleanup
* Removing the ClientManager reference from IScene and hiding it entirely ↵John Hurliman2009-10-261-1/+0
| | | | inside Scene as an implementation detail. This will reduce programming error and make it easier to refactor the avatar vs client vs presence mess later on
* * Switched all operations on the list of clients that could be either sync ↵John Hurliman2009-10-261-1/+2
| | | | | | | | 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
* * Changed the watchdog timer to improve the speed of UpdateThread(), only ↵John Hurliman2009-10-261-30/+30
| | | | | | track threads once the first call to UpdateThread() has been made, and allow re-tracking of threads that timed out but revived later * Added a commented out call to Watchdog.UpdateThread() in OdeScene. If it turns out that loading a large OAR file or some other operation is timing out the heartbeat thread, we'll need to uncomment it
* Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman2009-10-251-41/+25
| | | | | | | | | | Parallel. This is quite possibly the source of some deadlocking, and at the very least the synchronous version gives better stack traces * Lock the LLUDPClient RTO math * Add a helper function for backing off the RTO, and follow the optional advice in RFC 2988 to clear existing SRTT and RTTVAR values during a backoff * Removing the unused PrimitiveBaseShape.SculptImage parameter * Improved performance of SceneObjectPart instantiation * ZeroMesher now drops SculptData bytes like Meshmerizer, to allow the texture data to be GCed * Improved typecasting speed in MySQLLegacyRegionData.BuildShape() * Improved the instantiation of PrimitiveBaseShape
* * Change the way Util.FireAndForget() calls SmartThreadPool to avoid using a ↵John Hurliman2009-10-231-1/+11
| | | | delegate (which STP appears to hold on to). This removes the slow leak I was seeing when using async_call_method=SmartThreadPool and stabilizes allocated memory for an idle OpenSim instance
* * Unregister Mono.Addins event handlers in PluginLoader.Dispose() and always ↵John Hurliman2009-10-231-2/+7
| | | | | | | handle PluginLoader with the using pattern. This freed up 121,634,796 bytes on my system * Avoid allocating an Action<IClientAPI> object every round of the OutgoingPacketHandler * Removed unnecessary semi-colon endings from OpenSim.ini.example [InterestManagement] section
* Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman2009-10-223-12/+185
| | | | use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
* Terrible typo in the previous commit!John Hurliman2009-10-221-1/+1
|
* * Added a check if Util.m_ThreadPool is null before trying to use it, and if ↵John Hurliman2009-10-221-13/+7
| | | | | | so initialize it to sane defaults * Simplified the InitThreadPool() function
* Add copyright header. Formatting cleanup.Jeff Ames2009-10-221-0/+27
|
* * Allow SmartThreadPool to be initialized without setting max stack size ↵John Hurliman2009-10-221-5/+7
| | | | | | | (like the original implementation) * Only initialize Util's SmartThreadPool if it is actually being used * No longer initializing Util's SmartThreadPool with a custom max stack size. From MSDN: "Avoid using this constructor overload. The default stack size used by the Thread(ThreadStart) constructor overload is the recommended stack size for threads."
* Remove the "mel_t" from version stringMelanie2009-10-221-1/+1
|
* Merge branch 'melanie_test' into prioritizationMelanie2009-10-222-4/+24
|\ | | | | | | | | This makes SmartThreadPool configurable and also makes it the default, since the regular thread pool simply stinks.
| * Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2Melanie2009-10-221-1/+1
| |