aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Changed UseCircuitCode handling to be synchronous or asynchronous depending ↵John Hurliman2009-10-261-10/+21
| | | | | | | | on the async_packet_handling config option, and added a debug log message when a UseCircuitCode packet is handled
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2009-10-261-2/+43
| |\
| | * Thank you, RemedyTomm, for an update to your previous patch. Garbage-collectMelanie2009-10-261-2/+21
| | | | | | | | | | | | the transfers that never happen.
| | * Thank you, RemedyTomm, for a patch to handle Xfer requests being droppedMelanie2009-10-261-2/+24
| | | | | | | | | | | | before the file data to be transfered is ready.
| * | Removed an unnecessary lock in LLUDPClient.UpdateRTO() and ↵John Hurliman2009-10-261-30/+21
| |/ | | | | | | LLUDPClient.BackoffRTO()
| * Minor tweaks to get OpenSim compiling against both the current libomv and ↵John Hurliman2009-10-252-1/+3
| | | | | | | | the upcoming 0.8.0
| * Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman2009-10-257-74/+102
| | | | | | | | | | | | | | | | | | | | 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
| * * Changed various modules to not initialize timers unless the module is ↵John Hurliman2009-10-235-28/+38
| | | | | | | | | | | | initialized. Ideally, the timers would not initialize unless the module was actually enabled, but Melanie's work on configuring module loading from a config file should make that unnecessary * Wrapped the Bitmap class used to generate the world map tile in a using statement to dispose of it after the JPEG2000 data is created
| * * Unregister Mono.Addins event handlers in PluginLoader.Dispose() and always ↵John Hurliman2009-10-233-10/+19
| | | | | | | | | | | | | | 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
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2009-10-231-2/+3
| |\
| | * Patch from dslake http://opensimulator.org/mantis/view.php?id=4291 0004291: ↵dslake2009-10-231-2/+3
| | | | | | | | | | | | Inconsistent locking of ODE tainted prims
| * | Cleaning up OpenSim.ini.example for LLUDP. The [LLClient] section has been ↵John Hurliman2009-10-232-13/+28
| |/ | | | | | | removed and several new parameters have been added to [ClientStack.LindenUDP]
| * Inconsistent locking of SenseRepeaters in Script Engine.unknown2009-10-231-8/+11
| | | | | | | | | | | | When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration. The attached patch locks SenseRepeatListLock in GetSerializationData()
| * Implemented a "FrontBack" prioritizer, using distance plus the plane ↵John Hurliman2009-10-233-3/+78
| | | | | | | | equation to give double weight to prims/avatars in front of you
| * Uncommented the resend log line so the previous commit can be seen in actionJohn Hurliman2009-10-231-1/+1
| |
| * * Changed the max RTO value to 60 seconds to comply with RFC 2988John Hurliman2009-10-232-1/+4
| | | | | | | | * Implemented section 5.5, exponential backoff of the RTO after a resend
| * Commented out noisy debugging about resent packets (normal) and agents ↵John Hurliman2009-10-232-3/+3
| | | | | | | | setting throttles (normal)
| * Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman2009-10-2313-284/+308
| | | | | | | | avoiding locking and copying the list each time it is accessed
| * * Moved Copyrights above the comments in ODEPrim and ODEDynamics so they're ↵Teravus Ovares (Dan Olivares)2009-10-222-26/+28
| | | | | | | | consistent with the rest (and so chi11ken's auto copyright adding script doesn't duplicate the copyright.
| * * Send out m_bodyRot everywhere instead of m_rotation. Still have no clue ↵John Hurliman2009-10-222-23/+23
| | | | | | | | | | | | which is right * Fix WorldMapModule.process() to not trip the watchdog timer
| * Forgot to hit save in the last commitJohn Hurliman2009-10-221-1/+1
| |
| * * Sending (position - hipoffset) instead of positionJohn Hurliman2009-10-221-5/+2
| | | | | | | | * Sending m_rotation instead of m_bodyRot in full updates to match terse updates (no idea which one is right!)
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2009-10-221-0/+8
| |\
| | * Commented out instrumentation in ODEPrim.csKittoFlora2009-10-221-0/+8
| | |
| * | Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman2009-10-2212-100/+116
| |/ | | | | | | 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
| * Merge branch 'vehicles'Melanie2009-10-2212-739/+1454
| |\
| * | Fixing the patch to the patchSnowcrash2009-10-221-3/+6
| | |
| * | Fix rounding error in PRIM_SIZE portion of llSetPrimitiveParamsSnowcrash2009-10-221-3/+4
| | |
| * | Add copyright header. Formatting cleanup.Jeff Ames2009-10-221-1/+1
| | |
| * | A synchronous call to the messaging server was blocking the process of ↵John Hurliman2009-10-221-1/+7
| | | | | | | | | | | | promoting an agent to a root agent (logins and teleports). Changed to an async method
| * | * 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."
* | | llRotLookAt Pt 2KittoFlora2009-10-272-37/+52
| | |
* | | Add llRotLookat pt1.KittoFlora2009-10-2614-31/+296
| | |
* | | Commented out instrumentation in ODEPrim.csKittoFlora2009-10-221-0/+8
| |/ |/|
* | Merge branch 'master' into vehiclesMelanie2009-10-2245-2052/+2271
|\ \ | |/
| * Merge branch 'melanie_test' into prioritizationMelanie2009-10-222-56/+51
| |\ | | | | | | | | | | | | This makes SmartThreadPool configurable and also makes it the default, since the regular thread pool simply stinks.
| | * Make the LSL scripting delays take full effect. To tune, tweat theMelanie2009-10-221-56/+49
| | | | | | | | | | | | ScriptDelayFactor in config
| | * 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-214-11/+14
| |/ | | | | | | | | | | 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 the OnQueueEmpty signature to send the flags of the queues that are ↵John Hurliman2009-10-214-61/+108
| | | | | | | | | | | | | | empty instead of firing once per empty queue * Change the OnQueueEmpty firing to use a minimum time until next fire instead of a sleep * Set OutgoingPacket.TickCount = 0 earlier to avoid extra resends when things are running slowly (inside a profiler, for example)
| * * Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS constant and ↵John Hurliman2009-10-214-18/+8
| | | | | | | | | | | | | | upped it to 30ms * Removed the unused PacketSent() function * Switched UnackedPacketCollection from a SortedDictionary to a Dictionary now that the sorting is no longer needed. Big performance improvement for ResendUnacked()
| * Merged master into prioritizationJohn Hurliman2009-10-213-18/+28
| |\
| | * Fix llParticleSystem to accept LSL variables and LSL constants in placeMelanie2009-10-211-1/+1
| | | | | | | | | | | | | | | of the named constants for the rule selector. Information provided by Snowcrash
| | * Patch by mcortez: Remove lock from scene presence updating in groups moduleMelanie2009-10-211-9/+7
| | |
| | * Change "config save" to "config save <filename>", which is mandatory.Melanie2009-10-201-2/+14
| | | | | | | | | | | | File name is enforced to NOT be OpenSim.ini
| | * Fix for index error in llList2StringSnowcrash2009-10-201-6/+6
| | |
| * | * FireQueueEmpty now checks if a measurable amount of time has passed, and ↵John Hurliman2009-10-213-38/+16
| | | | | | | | | | | | | | | | | | if not it sleeps for a small amount of time. This throttles OnQueueEmpty calls where there is no callback or the callback is doing very little work * Changed HandleQueueEmpty()'s Monitor.TryEnter() calls to locks. We want to take our time in this function and do all the work necessary, since returning too fast will induce a sleep anyways
| * | * Changed the timing calculations for sending resends/acks/pings from ↵John Hurliman2009-10-213-41/+63
| | | | | | | | | | | | | | | | | | per-client back to per-scene * Testing a fix from Jim to make the cpu usage fix cleaner
| * | Testing out a hack to identify the source of the high cpu usageJohn Hurliman2009-10-211-0/+3
| | |