aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman2009-10-221-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
* * Allow SmartThreadPool to be initialized without setting max stack size ↵John Hurliman2009-10-221-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."
* Merge branch 'melanie_test' into prioritizationMelanie2009-10-221-0/+2
|\ | | | | | | | | 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
| |
| * Add MaxPoolThreads in startup to limit the size of the thread pool usedMelanie2009-10-221-0/+2
| | | | | | | | for FireAndForget. This lets us limit concurrency to make OpenSim play nice
* | * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman2009-10-211-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
* Change "config save" to "config save <filename>", which is mandatory.Melanie2009-10-201-2/+14
| | | | File name is enforced to NOT be OpenSim.ini
* * Switched to a plain lock for the ClientManager collections and protected ↵John Hurliman2009-10-141-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"
* * Added the "show connections" command to print out all of the currently ↵John Hurliman2009-10-141-1/+23
| | | | tracked IClientAPIs
* Merge branch 'master' into htb-throttleMelanie2009-10-091-7/+13
|\
| * * Apply http://opensimulator.org/mantis/view.php?id=3933Justin Clark-Casey (justincc)2009-10-091-7/+13
| | | | | | | | | | * Remove client servers when regions are closed or removed * Thanks randomhuman!
* | Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman2009-10-091-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
* Checks the number of ThreadPool and IOCP threads on startup and bumps up the ↵John Hurliman2009-10-061-0/+12
| | | | numbers to .NET defaults of 500/1000 if need be
* Beginning work on the new LLUDP implementationJohn Hurliman2009-10-051-1/+1
|
* * MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman2009-10-041-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)
* Merge branch 'diva-textures-osgrid'Melanie2009-10-041-3/+3
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-021-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?
* | Merge branch 'master' into diva-texturesMelanie2009-10-024-235/+22
|\ \ | |/ |/|
| * Formatting cleanup.Jeff Ames2009-10-013-13/+13
| |
| * Change command help text to show .ini in place of .xml when creating regionsMelanie2009-09-301-2/+2
| |
| * Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto2009-09-261-2/+1
| | | | | | | | | | | | HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
| * First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto2009-09-263-218/+1
| | | | | | | | minimally. A few bugs to catch now.
| * Moved the property RegionLoginsEnabled from GridComms to the Scene -- not ↵Diva Canto2009-09-252-5/+5
| | | | | | | | the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff.
* | Remove predecode-j2k and it's assoaciated logicMelanie2009-09-301-20/+0
|/
* switch default physics engine to ODE and default meshmerizer to Meshmerizer ↵Justin Clark-Casey (justincc)2009-09-161-2/+2
| | | | in code and in OpenSim.ini.example
* Add a using() block around the timer scriptMelanie2009-09-111-6/+8
|
* De-hardcode default home locations on create user (standalone).Diva Canto2009-09-091-0/+8
|
* no-op to poke pandaJustin Clark-Casey (justincc)2009-08-171-4/+4
|
* Add the ability to use -console=rest to the region server. UserMelanie2009-08-172-3/+26
| | | | and pass are specified the same way as for the ROBUST server
* * minor: CommentsTeravus Ovares (Dan Olivares)2009-08-124-4/+181
|
* First pass at cleaning up old OGS1 and Local Inventory: removed ↵Diva Canto2009-08-101-1/+1
| | | | everything-inventory in CommsManager, which wasn't actively used anymore.
* Removed IAssetCache.Diva Canto2009-08-101-16/+2
| | | | WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
* Remove debugging output frm ini file loading. Make it collect matchingMelanie2009-08-071-1/+0
| | | | files only from last path component.
* Silly error, simple fixMelanie2009-08-071-2/+2
|
* Try another way to canonicalize the path that may work in WindozeMelanie2009-08-071-1/+2
|
* Remove GetFullPath call from config includes, because it barfs in WindozeMelanie2009-08-071-2/+1
|
* Temporailiy add some info output in config loadMelanie2009-08-071-0/+1
|
* Make the opensim.ini logfile option really work (port of a fix from ROBUST)Melanie2009-08-071-0/+3
|
* Allow arbitrary wildcards in config includes. Things likeMelanie2009-08-061-3/+4
| | | | | Include-Modules = "addin-modules/*/config/*.ini" will now work. Adds Util.Glob, which will resolve a globbed path into a string list.
* Patch from Kai Ludwig: Fix prim drawing on maptile.Melanie Thielker2009-07-291-3/+3
|
* * minor ccclbsa712009-07-241-0/+3
|
* Now we are past revision 10000, I think its time to start to fix that ↵MW2009-07-103-7/+7
| | | | massive bug that was introduced in revision 1. So here is the first part of that fix.
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-1/+1
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* Thank you kindly, RandomHuman for a patch that:Charles Krinke2009-07-081-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.
* Make delete-region delete the section from an ini file. Will delete the wholeMelanie Thielker2009-06-261-2/+28
| | | | | | file if it has no sections left.
* Make create region save the new region to ini file format if the nameMelanie Thielker2009-06-251-10/+28
| | | | | | | specifies an ini file. If the ini file exists, the region will be added.
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* * Add oar saving timeoutJustin Clarke Casey2009-06-051-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
* Thank you kindly, MattSetzer, for a patch that solves a Mantis:Charles Krinke2009-06-021-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.
* Only save crashes to disk if save_crashes in OpenSim.ini is true (false by ↵Jeff Ames2009-06-011-17/+20
| | | | default).