aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-06Thank you, BaseHttpServer, for telling me where things go wrong.Diva Canto1-2/+2
2012-03-30Add Extended flavour option to opensim version information.Justin Clark-Casey (justincc)1-1/+2
This flavour is for changes in addition to the 0.7.3-post-fixes branch that are too large to be considered fixes but should be reasonably stable. This flavour will almost certainly never see a formal release.
2012-03-29refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)1-3/+3
listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)1-1/+1
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Change namespace on CallingCardModule and correct interface file placemant. ↵Melanie1-13/+0
Also ass OpenSource header
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)1-1/+1
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-29Adding the Avination calling card interfaceMelanie1-0/+13
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)1-1/+1
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-28Enable voice by default on parcels to weaken effects of viewer 2/3 ↵Justin Clark-Casey (justincc)1-1/+1
ParcelVoiceInfoRequest bug Viewer 2/3 contains a bug where the viewer will constantly retry ParcelVoiceInfoRequest requests on voice-disabled parcels where voice is otherwise available. Attempts to fix this server-side have not been successful - sending a non-OK http code (e.g. a 404) just makes the viewer request again immediately. Dropping the request entirely is a bit better but the viewer still retries after a minute. Estate settings already enabled voice by default so doing the same for parcels. This only has an effect if you have any voice system active at all. Ultimately, the re-request bug needs to be fixed viewer-side (LL suffers from the same issue!) but it might be worth implementing the drop request hack.
2012-03-28Start on Bulk inventory update via CAPS. Not functional yet. HG v2Melanie1-0/+2
2012-03-28Add a corresponding method for items. HG v2Melanie1-0/+1
2012-03-28Add SendRemoveInventoryFolders which allows to remove one or moreMelanie1-0/+37
folders from the viewer's inventory view. For HG v2.0. More to come
2012-03-28Add SendRemoveInventoryFolders which allows to remove one or moreMelanie1-0/+37
folders from the viewer's inventory view. For HG v2.0. More to come
2012-03-24Allow the user to enter help topics in upper or lowercase.Justin Clark-Casey (justincc)1-10/+12
Forcing uppercase (e.g. help Assets) is too annoying. Thanks to WhiteStar for pointing this out.
2012-03-24Give feedback when "terrain save-tile" is not successfully invoked.Justin Clark-Casey (justincc)1-0/+6
2012-03-22Rework Diva's patch to simplify itMelanie1-0/+1
2012-03-22Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY ↵Melanie1-2/+0
DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch." This reverts commit 6146e7ef258b10888ad7464b72b75cca701e02c9.
2012-03-22Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. ↵Diva Canto1-0/+2
Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.
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-21 reverted priorityQueue changesUbitUmarov1-8/+3
2012-03-21Revert "Stop messing order of updates, destroing the defined order of the ↵Melanie1-8/+3
selected priority (by distance being the one that makes sense(?). So called fairness serves no usefull purpose. If a region is lagged or user has bad comms, and far objects updates don't arrive, at least nearby thinks do have a chance to keep ticking. Just test on a big region and observe rez order on arrival. lower viewer bandwith helps seeing the diference. No use to put in core since cmic loves the priority scrambling code i comented out." This reverts commit 68981d01f024f8a46949127e1cc23c81282f5220.
2012-03-21Stop messing order of updates, destroing the defined order of the selected ↵UbitUmarov1-3/+8
priority (by distance being the one that makes sense(?). So called fairness serves no usefull purpose. If a region is lagged or user has bad comms, and far objects updates don't arrive, at least nearby thinks do have a chance to keep ticking. Just test on a big region and observe rez order on arrival. lower viewer bandwith helps seeing the diference. No use to put in core since cmic loves the priority scrambling code i comented out.
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-21add convex state to mesh key, so a change is detected.UbitUmarov1-0/+8
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-15 added ObjectPhysicsProperties http event message to send viewer that data. ↵UbitUmarov1-0/+2
For now on caps/EventQueue, and still only used on a material change...
2012-03-13initial suport for ExtraPhysical parts parameters. Reading from llclientView ↵UbitUmarov2-1/+51
to SOP including SOPserialization (not to databases). No action on physics still. No send to viewer, etc
2012-03-13Refactor, move OjectChangeData into it's own file and renameMelanie1-0/+80
ObjectChnageWhat what into ObjectChangeType change. What is no name for a variable or type!
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-10BIG MESS. changed Iclient interface so only one event is used to inform ↵UbitUmarov1-0/+3
scene about position scale or rotation change by client (others can be added). Its served at SceneGraph that does permition checks, undostore and sends down to SOG. changed values are stored in a class (ObjectChangeData) and what is changed as a enum (ObjectChangeWhat) with bit fields and 'macros' of this for better readability (at top of scenegraph.cs lasy to find better place for now) this can be extended for other things clients changes and need undo/redo. SOG process acording to what is changed. Changed UNDO/redo to use this also (warning is only storing what is changed, previus stored all, this must be checked for side efects. to save all PRS change commented line in scenegraph). Still have excessive calls to ScheduleGroupForTerseUpdate. **** UNTESTED ****
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-14Implement region crossing of sitting avatars. Edit mode and llSetPos workMelanie1-0/+11
but unscripted default sit anim is lost. Still some Gfx glitching. Physical crossing doesn't work yet.