aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-10Add port numbers to poll service thread names so that we can tell which ↵Justin Clark-Casey (justincc)1-2/+2
belong to which HttpServer
2013-06-10Reinstate explicit starting and stopping of PollServiceRequestManager added ↵Justin Clark-Casey (justincc)2-4/+7
in 3eee991 but removed in 7c0bfca Do not rely on destructors to stop things. These fire at unpredictable times and cause problems such as http://opensimulator.org/mantis/view.php?id=6503 and most probably http://opensimulator.org/mantis/view.php?id=6668
2013-06-07Supply proper type information for the various types of requestsMelanie1-3/+1
2013-06-07Adding Avination's PollService to round out the HTTP inventory changesMelanie5-228/+211
2013-06-05Port Avination's inventory send throttlingMelanie1-0/+108
2013-05-31Adding standard OpenSim header to source filesBlueWall1-0/+27
2013-05-30Add methods to Animation and AnimationSet for easier manipulation andRobert Adams1-0/+20
display of groups of animations (Equal(), ToString(), FromOSDArray(), ...). No functional change to animations.
2013-05-30UserProfilesBlueWall1-0/+90
UserProfiles for Robust and Standalone. Includes service and connectors for Robust and standalone opensim plus matching region module.
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie2-4/+4
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-24This is an experimental patch that adds support for comparing textureMic Bowman2-33/+67
hashes for the purpose of accurately responding to AgentTextureCached packets. There is a change to IClientAPI to report the wearbles hashes that come in through the SetAppearance packet. Added storage of the texture hashes in the appearance. While these are added to the Pack/Unpack (with support for missing values) routines (which means Simian will store them properly), they are not currently persisted in Robust.
2013-05-21To further help with tracking down the apperance of too much "Unknown User" ↵Justin Clark-Casey (justincc)1-1/+1
in chatlogs, etc. temporarily change each instance of this in OpenSimulator so we can identify where it's coming from For instance, the "Unknown User" in Util.ParseUniversalUserIdenitifer becaomes "Unknown UserUPUUI (class initials + method initials) This is to help with http://opensimulator.org/mantis/view.php?id=6625
2013-05-11Send up the part missing from the Avination Estate commit.Melanie1-1/+33
Warning - contains a small migration.
2013-05-09Implement delete key for local consoleJustin Clark-Casey (justincc)1-0/+15
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)1-2/+1
2013-05-08Adds an event and a method so that handling of the CachedTextureMic Bowman2-0/+51
packet can be pulled out of LLClientView and moved to AvatarFactory. The first pass at reusing textures (turned off by default) is included. When reusing textures, if the baked textures from a previous login are still in the asset service (which generally means that they are in the simulator's cache) then the avatar will not need to rebake. This is both a performance improvement (specifically that an avatars baked textures do not need to be sent to other users who have the old textures cached) and a resource improvement (don't have to deal with duplicate bakes in the asset service cache).
2013-05-07Added AvatarPickerSearch capability handler.Diva Canto1-0/+47
2013-05-03On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)1-1/+6
starting scenes before others have been created. This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created. http://opensimulator.org/mantis/view.php?id=6618
2013-05-01Update SmartThreadPool to latest version 2.2.3 with a major and minor change.Justin Clark-Casey (justincc)1-10/+10
SmartThreadPool code comes from http://www.codeproject.com/Articles/7933/Smart-Thread-Pool This version implements thread abort (via WorkItem.Cancel(true)), threadpool naming, max thread stack, etc. so we no longer need to manually patch those. However, two changes have been made to stock 2.2.3. Major change: WorkItem.Cancel(bool abortExecution) in our version does not succeed if the work item was in progress and thread abort was not specified. This is to match previous behaviour where we handle co-operative termination via another mechanism rather than checking WorkItem.IsCanceled. Minor change: Did not add STP's StopWatch implementation as this is only used WinCE and Silverlight and causes a build clash with System.Diagnostics.StopWatch The reason for updating is to see if this improves http://opensimulator.org/mantis/view.php?id=6557 and http://opensimulator.org/mantis/view.php?id=6586
2013-04-25Change EconomyDataRequest signature to use an IClientAPI rather than UUID. ↵Melanie1-1/+1
This is needed because recent LL viewer codebases call this earlier in login when the client is not yet established in the sim and can't be found by UUID. Sending the reply requires having the IClientAPI.
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-04-09If OpenSimulator is writing a PID file and finds the file already present on ↵Justin Clark-Casey (justincc)1-0/+5
startup, logging an error since this is commonly due to an unclean shutdown. Unclean shutdown can cause constantly moving objects to disappear if an OAR has just been loaded and they have not reached persistence time threshold, among other problems.
2013-04-04* In between the fog, a moment of clarity. This fixes mantis 6570teravus1-1/+1
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-0/+15
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-19Prevent multiple instances of the same item ID being appended to an ↵Justin Clark-Casey (justincc)1-30/+48
AvatarAppearance It looks like this was happening when AttachmentsModule.RezAttachments was doing a secondary set of each attachment to update with the asset ID (initially they only have the inventory ID). However, with multi-attach this was appending a second copy of the same attachment rather than updating the data that was already there. This commit requires both simulator and service to be updated.
2013-03-19For the moment, disable the output of the 'scene' statistics in ↵Robert Adams1-1/+3
SimExtraStatsCollector and thus for the command 'show stats' because it is ugly and most of the information is already output in the formatted printout that appears before.
2013-03-16*Yet another HTTPServer update code changes in OpenSim Libs. * This fixes a ↵teravus1-3/+14
connection close issue by getting rid of the socket references * This adds a connection timeout checker to shutdown poor or evil connections and combats DOS attempts that just connect and make no complete requests and just wait. It also actually implements KeepAlive... instead of just understanding the connection header in the request... you can test by connecting and requesting a keepalive header and sending another request on the same connection. The new timeout checker closes expired keepalive sessions, just make sure you send the request within 70 seconds of connecting or the timeout checker will timeout the connection.
2013-03-14Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)2-11/+21
simulator logs, for debug purposes
2013-03-14Add ILandChannel.GetLandObject(Vector3 position) as this is a very common ↵Justin Clark-Casey (justincc)1-0/+7
input to GetLandObject() This conforms to the existing ILandChannel.ParcelsNearPoint() method
2013-03-13minor: Remove some mono compiler warnings in OpenSim.Framework.dllJustin Clark-Casey (justincc)2-3/+3
2013-03-13Add prototype dynamic objects map for scene object partsJustin Clark-Casey (justincc)2-1/+99
This allows region modules to add dynamic objects to SOPs rather than having to continually push and pull OSD dynamic attributes. This is to explore the original MOAP use case for dynamic attributes where it could be very awkward and possibly time-consuming to keep reconstructing MediaEntrys from stored DynamicAttributes. This commit adds a DOExampleModule to demonstrate/evolve this code. Dynamic objects involve no storage or persistence changes - the 'backing store' for any data that does need to be saved will remain the DAMap. DOExampleModule in this commit only attaches a fresh dynamic object. Actually constructing this from stored dynamic attributes and handling persistence is left for later. These changes should affect no existing functionality, though it may or may not reveal necessary changes in DAMap down the road.
2013-03-05* Add a Max Payload size property to the Websocket Server Handler. If you ↵teravus1-1/+16
would like to restrict the maximum packet size, (and therefore protect against Memory DOSing) then you should set this. I defaulted it to 40MB. This means that in theory, a malicious user could connect and send a packet that claims that the payload is up to 40 mb (even if it doesn't actually turn out to be 40mb. More testing needs to be done on it where the packets are maliciously malformed.
2013-03-03Add method to remove JsonRpc Handlers from the serverBlueWall2-0/+8
2013-02-27Show http poll handlers in separate http (poll) section of "show ↵Justin Clark-Casey (justincc)1-2/+5
http-handlers" console command instead of never showing them (due to a previous bug). The code was assuming that poll handlers were also included in general http handlers but this was not the case.
2013-02-27Make sure we dispose of WebResponse, StreamReader and Stream in various ↵Justin Clark-Casey (justincc)4-68/+81
places where we were not already.
2013-02-25Move map related settings from [Startup] to a new [Map] section in OpenSim.iniJustin Clark-Casey (justincc)1-6/+21
Existing map settings in [Startup] will continue to work, and if present will override anything in [Map] However, the proper place for such settings would now be [Map] This is to reduce the use of [Startup] as a bag for non-generic settings which should really go in sections, in common with other settings. This commit also extends Diva's previous work to allow a default setting to be given when looking at multiple sections for settings.
2013-02-24Make StatsManager default output a little more readableRobert Adams1-1/+1
2013-02-24Add EventHistogram.GetHistogramAsOSDMap that returns that parametersRobert Adams1-211/+228
about the histogram as well as the values.
2013-02-24Modify StatsManager so console command "show stats category container"Robert Adams1-5/+24
only outputs the statistics in the specified container in the category.
2013-02-22Added new Util function for reading config vars that's more generic than the ↵Diva Canto1-0/+38
one I added yesterday -- this is for helping move config vars out of [Startup]
2013-02-21Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto1-1/+21
default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
2013-02-21Add a virtual ToOSDMap() function to Monitoring.Stat for futureRobert Adams1-0/+16
overloading by aggregation statistics and browser based stat viewers.
2013-02-21Add CounterStat which is a wrapper for a counter stat but, becauseRobert Adams2-1/+218
the 'count' event is internal, historical data can be built it. Also includes EventHistogram class for building time based, bucketed history of event occurances. Make Stat implement IDisposable for subclasses that might need it.
2013-02-20Add a method to IStatsCollector for returning stats as an OSDMap.Robert Adams5-4/+77
Extend implementors of IStatsCollector to return an OSDMap of stats. Update UserStatsCollector and AssetStatsCollector to return both string and OSDMap data (as well as console format).
2013-02-20Correct mistake in parsing 'show object pos' and similar pos commands where ↵Justin Clark-Casey (justincc)1-4/+4
the 'to' text would be treat as the end vector rather than discarded. Before this, the commands still work but the help text is wrong - one has to leave out the 'to' in stating the vectors
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto10-10/+9
2013-02-14Use SortedDictionary in StatsManager instead of regular Dictionary so stats ↵Dan Lake2-22/+22
will interate and print in a defined order
2013-02-14* gracefully handle a Situation where a double close is called on the ↵teravus1-0/+2
WebSocket handler
2013-02-09Fixed ReadSculptData(): the check whether there are enough bytes to read was ↵Oren Hurvitz1-5/+6
incorrect
2013-02-07Plumb the path from the client to the extra physics params and backMelanie1-1/+3
2013-02-07This is the final commit that enables the Websocket handlerteravus2-2/+1095