aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-26Removing the ClientManager reference from IScene and hiding it entirely ↵John Hurliman1-2/+2
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
2009-10-23* Unregister Mono.Addins event handlers in PluginLoader.Dispose() and always ↵John Hurliman1-5/+5
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
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman1-0/+11
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
2009-10-22* Allow SmartThreadPool to be initialized without setting max stack size ↵John Hurliman1-1/+6
(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."
2009-10-21* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman1-1/+8
Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
2009-10-22Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2Melanie1-1/+1
2009-10-22Add MaxPoolThreads in startup to limit the size of the thread pool usedMelanie1-0/+2
for FireAndForget. This lets us limit concurrency to make OpenSim play nice
2009-10-20Change "config save" to "config save <filename>", which is mandatory.Melanie1-2/+14
File name is enforced to NOT be OpenSim.ini
2009-10-14* Switched to a plain lock for the ClientManager collections and protected ↵John Hurliman1-1/+1
the TryGetValues with try/catch instead of a lock * Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
2009-10-14* Added the "show connections" command to print out all of the currently ↵John Hurliman1-1/+23
tracked IClientAPIs
2009-10-09* Apply http://opensimulator.org/mantis/view.php?id=3933Justin Clark-Casey (justincc)1-7/+13
* Remove client servers when regions are closed or removed * Thanks randomhuman!
2009-10-09Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman1-0/+1
contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
2009-10-06Checks the number of ThreadPool and IOCP threads on startup and bumps up the ↵John Hurliman1-0/+12
numbers to .NET defaults of 500/1000 if need be
2009-10-05Beginning work on the new LLUDP implementationJohn Hurliman1-1/+1
2009-10-04* MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman1-7/+4
Local member in MySQLAssetData * First pass at applying the using(){} pattern to IDisposable objects. Always use the using pattern on IDisposable objects whenever possible, do not manually call .Close() or .Dispose() unless there is no other way to write the code. This pass mostly covers OpenSim.Data.MySQL, and should have no functional change (tests still pass)
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman1-3/+3
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-09-30Remove predecode-j2k and it's assoaciated logicMelanie1-20/+0
2009-10-01Formatting cleanup.Jeff Ames3-13/+13
2009-09-30Change command help text to show .ini in place of .xml when creating regionsMelanie1-2/+2
2009-09-26Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto1-2/+1
HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto3-218/+1
minimally. A few bugs to catch now.
2009-09-25Moved the property RegionLoginsEnabled from GridComms to the Scene -- not ↵Diva Canto2-5/+5
the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff.
2009-09-16switch default physics engine to ODE and default meshmerizer to Meshmerizer ↵Justin Clark-Casey (justincc)1-2/+2
in code and in OpenSim.ini.example
2009-09-11Add a using() block around the timer scriptMelanie1-6/+8
2009-09-09De-hardcode default home locations on create user (standalone).Diva Canto1-0/+8
2009-08-17no-op to poke pandaJustin Clark-Casey (justincc)1-4/+4
2009-08-17Add the ability to use -console=rest to the region server. UserMelanie2-3/+26
and pass are specified the same way as for the ROBUST server
2009-08-12* minor: CommentsTeravus Ovares (Dan Olivares)4-4/+181
2009-08-10First pass at cleaning up old OGS1 and Local Inventory: removed ↵Diva Canto1-1/+1
everything-inventory in CommsManager, which wasn't actively used anymore.
2009-08-10Removed IAssetCache.Diva Canto1-16/+2
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-07Remove debugging output frm ini file loading. Make it collect matchingMelanie1-1/+0
files only from last path component.
2009-08-07Silly error, simple fixMelanie1-2/+2
2009-08-07Try another way to canonicalize the path that may work in WindozeMelanie1-1/+2
2009-08-07Remove GetFullPath call from config includes, because it barfs in WindozeMelanie1-2/+1
2009-08-07Temporailiy add some info output in config loadMelanie1-0/+1
2009-08-07Make the opensim.ini logfile option really work (port of a fix from ROBUST)Melanie1-0/+3
2009-08-06Allow arbitrary wildcards in config includes. Things likeMelanie1-3/+4
Include-Modules = "addin-modules/*/config/*.ini" will now work. Adds Util.Glob, which will resolve a globbed path into a string list.
2009-07-29Patch from Kai Ludwig: Fix prim drawing on maptile.Melanie Thielker1-3/+3
2009-07-24* minor ccclbsa711-0/+3
2009-07-10Now we are past revision 10000, I think its time to start to fix that ↵MW3-7/+7
massive bug that was introduced in revision 1. So here is the first part of that fix.
2009-07-10Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker1-1/+1
Change all uses of the HttpServer properties to use the new singleton
2009-07-08Thank you kindly, RandomHuman for a patch that:Charles Krinke1-0/+31
The admin_close_region method removes a region from the simulator without deleting it. The region can then be recreated by calling admin_create_region with the same UUID. There is also a change to admin_create_region to facilitate this.The reason I want to have this functionality is to make it possible to detach regions when they are idle and recreate them on demand through a web interface. It's probably doable using the existing methods by saving and loading oars, but it also doesn't seem like that should be necessary.
2009-06-26Make delete-region delete the section from an ini file. Will delete the wholeMelanie Thielker1-2/+28
file if it has no sections left.
2009-06-25Make create region save the new region to ini file format if the nameMelanie Thielker1-10/+28
specifies an ini file. If the ini file exists, the region will be added.
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
2009-06-05* Add oar saving timeoutJustin Clarke Casey1-1/+0
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds * Timeout executes abort, since missing assets in an OAR seems bad * This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service * This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-02Thank you kindly, MattSetzer, for a patch that solves a Mantis:Charles Krinke1-2/+16
This appears to be due to the fact that no asset cache has been configured, possibly as a result of the configuration changes that have been made recently. I've attached a patch to display a message to that effect rather than throwing an error.
2009-06-01Only save crashes to disk if save_crashes in OpenSim.ini is true (false by ↵Jeff Ames1-17/+20
default).
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames5-5/+5
LICENSE.txt.
2009-05-26Changed the order of things in Scene creation. This piece of code is very ↵diva1-6/+7
jibbery, widely different results with slightly different orders. This particular order produces the best results in the UC Irvine sim in osgrid. But clearly there's something messed up here. Addresses mantis #3707, mantis #3713, mantis #3686.