aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * minor: reduce some code duplication in BaseHttpServerJustin Clarke Casey2009-03-101-24/+17
|
* fixing out-of-sync error in BaseHttpServerDr Scofield2009-03-101-16/+19
|
* *** POTENTIAL BREAKAGE ***lbsa712009-03-101-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!
* * Re-aligned CustomiseResponse function for imminent up-pullinglbsa712009-03-101-0/+3
|
* * Refactored out Create() methods to ensure proper transformation between ↵lbsa712009-03-101-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.
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-03-092-7/+7
|
* * Add basic asset cache get testJustin Clarke Casey2009-03-093-7/+93
|
* * Move method documentation from AssetCache up to IAssetCacheJustin Clarke Casey2009-03-092-85/+76
| | | | | | * No functional changes
* * Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey2009-03-091-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.
* * Added TXXX in front of unit tests to make sure they are running in the ↵Sean Dague2009-03-091-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>
* Refactor login test class.Mike Mazur2009-03-091-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.
* Fix tests broken in r8732.Mike Mazur2009-03-091-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.
* Making the web_login_key code work, even if the LL Viewer doesn't support ↵diva2009-03-081-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
* * Adding application/x-oar to the list of content types to which the HTTP ↵Teravus Ovares2009-03-071-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.
* * Protects RestClient from crashing with dictionary exception, which leads ↵Sean Dague2009-03-061-2/+24
| | | | to the client thread crashing if uncaught.
* Prevent ICommander-generated subcommand trees from generating an exceptionMelanie Thielker2009-03-051-1/+6
| | | | | | | when the tree root command is executes without another verb following it. Fixes Mantis #3258
* * remove now unused serialization codeJustin Clarke Casey2009-03-052-74/+27
|
* Avoid NRE if client sends unrecognized packet type.Jeff Ames2009-03-031-1/+8
|
* Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved ↵MW2009-03-032-1/+43
| | | | it from OpenSim.Client.Linden to OpenSim.Framework.
* Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW2009-03-032-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.
* Refactoring of CreateCommsManagerPlugin.MW2009-03-031-2/+1
| | | | | Plus some general cleanup of a few other files (deleting excess blank lines etc)
* Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do ↵MW2009-03-021-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.
* Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames2009-03-013-5/+84
|
* Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.MW2009-02-281-18/+21
|
* Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.MW2009-02-281-0/+61
|
* svn attribute fixes so that we can play nice between windows and linuxSean Dague2009-02-263-82/+82
|
* Added IRegionCreator interface that all ApplicationPlugins that are creators ↵MW2009-02-263-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.
* Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin. MW2009-02-261-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.
* * Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague2009-02-261-1/+1
| | | | | | | * Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* opps forgot to commit a changed file.MW2009-02-261-1/+1
|
* Plumb in the RetrieveInstantMessages event that is sent by the viewerMelanie Thielker2009-02-261-0/+3
| | | | | | when it is ready to receive offline IM
* Added IRegistryCore and RegistryCore to OpenSim.Framework.MW2009-02-262-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).
* More refactoring of the Grid, User and Messaging servers. MW2009-02-251-12/+0
|
* Distinguish 404 errors in RestClient.Request().Mike Mazur2009-02-251-2/+10
| | | | | Mantis #3225.
* A few updates necessary for load balancer.Mike Mazur2009-02-251-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
* * Performance Changes:Adam Frisby2009-02-231-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.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-2210-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.
* Addresses some issues with appearance after TPs. Appearance.Owner was not ↵diva2009-02-221-2/+18
| | | | being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204.
* * Upping to interface version 3 - let's see how this goes.lbsa712009-02-211-1/+1
|
* Allow entry of '?' in http URIs. If the field being typed begins withMelanie Thielker2009-02-211-4/+13
| | | | | | "http", the ? is just an ordinary character in that field.
* * Applied a patch that: Added estate ban table to migration scripts and ↵lbsa712009-02-212-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!
* Add copyright headers. Minor formatting cleanup.Jeff Ames2009-02-213-1/+55
|
* Update svn properties.Jeff Ames2009-02-212-138/+138
|
* * Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa712009-02-204-12/+12
| | | | 0.6.3.* to better track down dll ref and overwrite problems.
* * Consistently lock part.TaskInventory as pointed out in ↵Justin Clarke Casey2009-02-201-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
* THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva2009-02-202-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.
* * Another stab at removing AssetServer.exe dependencieslbsa712009-02-202-0/+140
|
* This moves the 2 friends-related interregion messages out of OGS1 and into ↵diva2009-02-202-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.
* * Reverted the AssetServer fix, apparently something was dependent on ↵lbsa712009-02-195-179/+2
| | | | IAssetDataPlugin being in OpenSim.Data
* * Moved the AssetStreamHandlers to OpenSim.Framework.Serverslbsa712009-02-192-0/+138
| | | | | | | | * And there, all refs to OpenSim.Grid.AssetServer.exe gone. /me takes a bow.