aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)2-51/+2
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-21If "debug scene updates true" then print out to log when a garbage ↵Justin Clark-Casey (justincc)1-0/+62
collection occurs.
2012-03-21Refix the fixed fix!Melanie1-2037/+2037
2012-03-20Fixed borkness with previous merge.Diva Canto1-16/+1
2012-03-20Line endingsDiva Canto1-89/+89
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto1-1954/+1988
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)1-2/+15
analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
2012-03-16minor: reuse threadpool count we just fetched instead of fetching it againJustin Clark-Casey (justincc)1-1/+1
2012-03-16Add total scripts count to "show threads"Justin Clark-Casey (justincc)1-2/+10
However, this returns 0 on Mono (at least on 2.6.7)! So not showing if it is zero.
2012-03-16Improve threadpool reporting to "show threads" console command (also gets ↵Justin Clark-Casey (justincc)2-7/+57
printed out periodically)
2012-03-16Add process working memory to "show stats" memory statistics.Justin Clark-Casey (justincc)2-4/+11
This shows the actual amount of RAM being taken up by OpenSimulator (objects + vm overhead)
2012-03-12Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream().Robert Adams2-2/+7
.NET 4.0 added the method Stream.CopyTo(stream, bufferSize). For .NET 3.5 and before, WebUtil defined an extension method for Stream with the signature Stream.CopyTo(stream, maxBytesToCopy). The meaning of the second parameter is different in the two forms and depending on which compiler and/or runtime you use, you could get one form or the other. Crashes ensue. This change renames the WebUtil stream copy method to something that cannot be confused with the new CopyTo method defined in .NET 4.0.
2012-03-09Serialize all web requests to a particular host:port pair; only applied to ↵Mic Bowman1-0/+41
the PostToService variants.
2012-03-09Factor out common default animations code into SLUtil. LLClientView now ↵Justin Clark-Casey (justincc)1-1/+51
makes use of the SLUtil copy via a method rather than each LLClientView loading a separate copy. As per opensim-users mailing list discussion.
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)3-33/+103
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-01Use a fully stubbed out MockConsole for unit tests rather than inheriting ↵Justin Clark-Casey (justincc)1-22/+37
from CommandConsole. This is so that the static MainConsole.Instance doesn't retain references to methods registered by scene and other modules to service commands. This prevents the scene from being garbage collected at the end of a test. This is not the final thing preventing GC - next up is the timer started by SimStatsReporter that holds a reference to Scene that prevents end of test gc.
2012-02-29Flick master up to 0.7.4Justin Clark-Casey (justincc)1-1/+1
2012-02-27Some clean up in WebUtil, remove unused ServiceRequest function.Mic Bowman1-71/+7
2012-02-24Take watchdog alarm calling back outside the m_threads lock.Justin Clark-Casey (justincc)1-3/+16
This is how it was originally. This stops a very long running alarm callback from causing a problem.
2012-02-24Rename Watchdog.GetThreads() to GetThreadsInfo() to reflect what it actually ↵Justin Clark-Casey (justincc)2-2/+2
returns and for consistency.
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)2-17/+42
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-21Add 64 bit Windows sqlite3.dll and use this if running a 64-bit windows process.Justin Clark-Casey (justincc)1-0/+30
2012-02-18On Windows automatically load the correct native ODE library depending on ↵Justin Clark-Casey (justincc)2-2/+40
whether the process is 32-bit or 64-bit In theory, this means that a 64-bit Windows OS user can now run OpenSim.exe with ODE and use more than 2 (or 3) GB of memory. However, this is completely untested since I don't currently own a 64-bit Windows box. Feedback appreciated. Using OpenSim.32BitLaunch.exe should continue to work. Other platforms are unaffected. This will currently not work with sqlite - I will add that too if this works.
2012-02-13On object deserialization, go back to logging errors at DEBUG level rather ↵Justin Clark-Casey (justincc)1-6/+13
than ERROR. Restore extra log message if shape processing fails. Logging level was DEBUG before 312e145 (Fri Feb 3 2012). 312e145 also accidentally removed the 'general error' log message if any shape deserialization failed. This commit restores it, though this has no functional impact.
2012-02-10Change parser to leave embedded quotes alone if the pattern is recognizedMelanie1-0/+34
as an OptionSet long option
2012-02-10minor: Remove warning from RegionInfo due to repeated config.GetString() ↵Justin Clark-Casey (justincc)1-1/+0
call where the first was unused.
2012-02-10Add line numbers to Util.PrintCallStack()Justin Clark-Casey (justincc)1-2/+3
2012-02-04Set PhysPrimMax default to 0 so ini files won't be overriddenBlueWall1-1/+1
2012-02-04Make NonphysicalPrimMax setting work properlyBlueWall1-1/+1
RegionInfo setting will override only if it is > 0
2012-02-04Add TestRegionSettingsDeserializeJustin Clark-Casey (justincc)2-1/+135
2012-02-03Change SceneObjectSerializer to use common ↵Justin Clark-Casey (justincc)1-9/+28
ExternalRepresentationUtils.ExecuteReadProcessors() methods. Adds ability to submit a customized exception message to match logging.
2012-02-03Fix: Covenant changed time not set ↵PixelTomsen2-2/+10
http://opensimulator.org/mantis/view.php?id=5869 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer1-2/+2
corresponding RemoteAdmin parameter
2012-02-03Refactor common deserialization processor code to generic method ↵Justin Clark-Casey (justincc)3-98/+62
ExternalRepresentationUtils.ExecuteReadProcessors()
2012-02-03Change LandDataSerializer deserialization so that in the future it won't ↵Justin Clark-Casey (justincc)5-75/+209
care about extra elements or element order. This brings it into line with other deserializations such as object and will improve future backward compatibility.
2012-02-02fix line endingsDan Lake1-7/+7
2012-02-03Fix test failureMelanie1-0/+1
2012-02-02Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie5-21/+30
accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
2012-02-02Improve reliability of script state saving by covering various savingMelanie1-0/+11
and loading scenarios which resulted in loss of continuity on item ids
2012-01-31Use Environment.TickCount & Int32.MaxValue; instead of ↵Justin Clark-Casey (justincc)1-1/+1
Util.EnvironmentTickCount(); when producing the threads report to reduce wraparound. This matches the tickcount masking in the thread watchdog. For some reason, Util.EnvironmentTickCount() masks ticks by 0x3fffffff instead of 0xffffffff
2012-01-30Add ParcelImageID to RegionSettings so we can have that overlay.Melanie1-0/+8
Warning: Contains a Migration. Warning: May contain nuts.
2012-01-28Remove IClientAPI from the money module. It was only used to pass in theMelanie1-2/+2
agent id anyway
2012-01-26llManageEstateAccess implementation ↵PixelTomsen1-0/+6
http://wiki.secondlife.com/wiki/LlManageEstateAccess Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-25llGetParcelMusicURL implementation ↵Pixel Tomsen1-0/+6
http://wiki.secondlife.com/wiki/LlGetParcelMusicURL Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-24Comment out asset statistics section from periodic stats as these have not ↵Justin Clark-Casey (justincc)1-108/+109
been recorded for a very long time. Some might make a comeback in the future but others are of dubious usefuless for health check purposes, or the complexity of collection outweighs their usefulness. Some data is available via other means (e.g. "fcache status").
2012-01-24Comment out inventory statistics section from periodic stats, since this ↵Justin Clark-Casey (justincc)1-14/+15
only contained the now uncollected and irrelevant inventory cache number.
2012-01-24Simplify and streamline telehub editing code. Verify rotations and fixMelanie1-1/+1
spwan point positioning on rotated telehubs.
2012-01-24Reverse the spawn point distance vectorMelanie1-3/+3
2012-01-24Correct a coordinate to make the viewer like itMelanie1-2/+2
2012-01-24Change Telehubs to store only the data that is really needed and notMelanie1-71/+45
additional redundant information.