aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-10* minor: reduce some code duplication in BaseHttpServerJustin Clarke Casey1-24/+17
2009-03-10fixing out-of-sync error in BaseHttpServerDr Scofield1-16/+19
2009-03-10*** POTENTIAL BREAKAGE ***lbsa711-9/+141
* Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication. * Introduced FromRegionInfo on RegionProfileData * This revision needs both grid and standalone testing galore. Work in progress!
2009-03-10* Re-aligned CustomiseResponse function for imminent up-pullinglbsa711-0/+3
2009-03-10* Refactored out Create() methods to ensure proper transformation between ↵lbsa711-0/+13
RegionProfileData and RegionInfo * Created ToRegionInfo method, still not using it pending peer review. * This is a preparatory commit for a subsequent login service refactoring.
2009-03-09* minor: remove some mono compiler warningsJustin Clarke Casey2-7/+7
2009-03-09* Add basic asset cache get testJustin Clarke Casey3-7/+93
2009-03-09* Move method documentation from AssetCache up to IAssetCacheJustin Clarke Casey2-85/+76
* No functional changes
2009-03-09* Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey1-4/+1
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache. * This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more restructuring. * I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09* Added TXXX in front of unit tests to make sure they are running in the ↵Sean Dague1-7/+7
correct order. Although it might not make a difference here, this pattern should be followed to avoid further issues. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-03-09Refactor login test class.Mike Mazur1-115/+126
There were multiple tests in one test method (T011_Auth_Login). This test has been refactored into multiple tests. Common setup code was placed into a SetUp method executed before each test.
2009-03-09Fix tests broken in r8732.Mike Mazur1-0/+14
Recent changes in the code handling login_to_simulator XMLRPC method calls caused two tests to fail because not enough parameters were being supplied with the method call. The parameters added in this patch work, but I'm not sure whether they are actually correct or even relevant. Diva, please look over this.
2009-03-08Making the web_login_key code work, even if the LL Viewer doesn't support ↵diva1-4/+19
it. Other clients can launch the LL Viewer with something like this, for example: Process.Start("C:\\Program Files\\SecondLife\\SecondLife.exe", "-loginuri " + loginuri + "?web_login_key=" + web_login_key + " -login " + firstName + " " + lastName + " -multiple"); This requires a prior step for actually getting the key, which can be done like this: http://localhost:9000/?method=login&firstname=barak&lastname=obama&password=123&show_login_form=FALSE
2009-03-07* Adding application/x-oar to the list of content types to which the HTTP ↵Teravus Ovares1-1/+5
Server will return the response as if it was a binary file pending discussion on the [opensim-dev] mailing list to be initiated by dmiles.
2009-03-06* Protects RestClient from crashing with dictionary exception, which leads ↵Sean Dague1-2/+24
to the client thread crashing if uncaught.
2009-03-05Prevent ICommander-generated subcommand trees from generating an exceptionMelanie Thielker1-1/+6
when the tree root command is executes without another verb following it. Fixes Mantis #3258
2009-03-05* remove now unused serialization codeJustin Clarke Casey2-74/+27
2009-03-03Avoid NRE if client sends unrecognized packet type.Jeff Ames1-1/+8
2009-03-03Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved ↵MW2-1/+43
it from OpenSim.Client.Linden to OpenSim.Framework.
2009-03-03Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW2-18/+115
There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server) Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03Refactoring of CreateCommsManagerPlugin.MW1-2/+1
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-02Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do ↵MW1-0/+1
we really still need RegionApplicationBase?] Added a flag (bool m_autoCreateLindenStack = true) which says if the ClientStack will be autocreated and initialised when creating regions. This helps with moving ClientStacks to Region modules. Currently this flag is hardcoded to true, as it is only for testing at the moment, so you need to change the value in the code if you want to turn off auto creating.
2009-03-01Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames3-5/+84
2009-02-28Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.MW1-18/+21
2009-02-28Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.MW1-0/+61
2009-02-26svn attribute fixes so that we can play nice between windows and linuxSean Dague3-82/+82
2009-02-26Added IRegionCreator interface that all ApplicationPlugins that are creators ↵MW3-1/+26
of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event. Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
2009-02-26Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin. MW1-0/+3
Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call. Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
2009-02-26* Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague1-1/+1
* Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26opps forgot to commit a changed file.MW1-1/+1
2009-02-26Plumb in the RetrieveInstantMessages event that is sent by the viewerMelanie Thielker1-0/+3
when it is ready to receive offline IM
2009-02-26Added IRegistryCore and RegistryCore to OpenSim.Framework.MW2-0/+57
Added a ApplicationRegistry to OpenSimBase. Changed LoadRegionsPlugin so it registers itself to that application registry. Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
2009-02-25More refactoring of the Grid, User and Messaging servers. MW1-12/+0
2009-02-25Distinguish 404 errors in RestClient.Request().Mike Mazur1-2/+10
Mantis #3225.
2009-02-25A few updates necessary for load balancer.Mike Mazur1-1/+10
- handle GetUser request for nonexistent user gracefully - include throttle levels in ClientInfo - code to save/restore throttles in client stack - only update/send updates to active clients - make animation classes serializable
2009-02-23* Performance Changes:Adam Frisby1-0/+15
* Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity. * Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled. * MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke10-24/+22
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-22Addresses some issues with appearance after TPs. Appearance.Owner was not ↵diva1-2/+18
being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204.
2009-02-21* Upping to interface version 3 - let's see how this goes.lbsa711-1/+1
2009-02-21Allow entry of '?' in http URIs. If the field being typed begins withMelanie Thielker1-4/+13
"http", the ? is just an ordinary character in that field.
2009-02-21* Applied a patch that: Added estate ban table to migration scripts and ↵lbsa712-8/+83
nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate. * Added estate ban table to migration scripts of all supported databases. * Added nhibernate mapping for EstateBans property of EstateSettings * Refactored property accessors for EstateBan object. * Added comments for EstateBan properties. * Ensured that NHibernate tests pass with NUnitGUI. * Ensured that nant test target passes. This fixes mantis #3210. Thank you, tlaukkan!
2009-02-21Add copyright headers. Minor formatting cleanup.Jeff Ames3-1/+55
2009-02-21Update svn properties.Jeff Ames2-138/+138
2009-02-20* Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa714-12/+12
0.6.3.* to better track down dll ref and overwrite problems.
2009-02-20* Consistently lock part.TaskInventory as pointed out in ↵Justin Clarke Casey1-2/+2
http://opensimulator.org/mantis/view.php?id=3159 * Not locking causes enumeration exceptions as described in this matis * part.TaskInventory needs to be locked for every access as it's a dictionary * Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is cloned instead
2009-02-20THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva2-58/+0
versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all. There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-20* Another stab at removing AssetServer.exe dependencieslbsa712-0/+140
2009-02-20This moves the 2 friends-related interregion messages out of OGS1 and into ↵diva2-46/+0
the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead.
2009-02-19* Reverted the AssetServer fix, apparently something was dependent on ↵lbsa715-179/+2
IAssetDataPlugin being in OpenSim.Data
2009-02-19* Moved the AssetStreamHandlers to OpenSim.Framework.Serverslbsa712-0/+138
* And there, all refs to OpenSim.Grid.AssetServer.exe gone. /me takes a bow.