Justin Clarke Casey
b57497fd41
* Add gnu tar format long file name support to tar reading and writing.
...
* Not actually tested yet though existing code which doesn't require long file names looks fine
2009-03-04 18:33:05 +00:00
Mike Mazur
b2135c2029
IObjectFace needs to be public to compile.
2009-03-04 03:58:11 +00:00
Adam Frisby
915b0f2448
* More work on MiniRegionModule module.
2009-03-04 02:29:51 +00:00
Adam Frisby
3538eeafa2
* Implementing some interfaces for aformentioned script engine. Ignore this.
2009-03-04 01:38:22 +00:00
Jeff Ames
d81bc4b5f2
Avoid NRE if client sends unrecognized packet type.
2009-03-03 17:39:57 +00:00
MW
84d6b02475
Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved it from OpenSim.Client.Linden to OpenSim.Framework.
2009-03-03 16:36:21 +00:00
MW
7a3bb77df9
forgotten files
2009-03-03 15:45:52 +00:00
MW
171015f65f
Moved Linden protocol login handling to modules in OpenSim.Client.Linden. 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-03 15:41:21 +00:00
MW
76133d0763
Refactoring of CreateCommsManagerPlugin.
...
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-03 12:51:54 +00:00
MW
8ebd5b409a
Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStack
2009-03-02 18:04:00 +00:00
MW
c256fbbccd
Added more error info to CreateCommsManagerPlugin.
2009-03-02 17:47:42 +00:00
MW
bf3e1956fb
Added some debug output to CreateCommsManagerPlugin
2009-03-02 17:29:21 +00:00
MW
03b8eddc37
Added OpenSim.Client.Linden which is a (non shared) region module that creates and initialises the LindenClientStack (or actually whatever client stack was set in opensim.ini) for that region. Currently this module is still at a early stage so just for testing, so its hardcoded to be disabled. To enable first turn off auto creation of the client stack in opensimbase (see last revision) and then in OpenSim.Client.Linden.LLClientStackModule change bool m_createClientStack = false; to true.
2009-03-02 17:18:24 +00:00
MW
3c46ee9326
Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do 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-02 16:33:11 +00:00
MW
ff76102644
Changed IClientNetworkServer.AddScene method from void AddScene(Scene x) to void AddScene(IScene x). As there should be no need for the client view to have a reference to Scene. IScene should be all it needs.
2009-03-02 14:42:01 +00:00
MW
1dcbea0144
Removed the commented out InitialiseStandaloneServices and InitialiseGridServices (which are now preformed in CreateCommsManagerPlugin) methods from OpenSimBase and HGOpenSimNode. As if we decided to swap back to the old methods we can always re-add them, rather than leave them commented out.
2009-03-02 11:21:18 +00:00
MW
202f990d2a
After another heroic and bloody battle, OpenSim Dino Expedition 1, killed off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
2009-03-02 11:03:11 +00:00
MW
aae39f9e3e
As part of a dinosaur hunting expedition, IScenePresenceBody.cs was terminated. The expedition leader, MW, believes it never lead a meaningful life, and is sure it hasn't contributed anything in the last 500,000 years (or 2 years).
2009-03-02 10:52:27 +00:00
Charles Krinke
dc314ee50c
Mantis#3249. Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
* Removed compiler warnings
* Updated protobuf-net and MXP license files.
2009-03-01 19:33:12 +00:00
Dahlia Trimble
63992d92fe
Thanks tommil for mantis #3248 - a patch that adds support for avatar movement to MXP module.
2009-03-01 18:31:27 +00:00
Jeff Ames
808e4a847a
Update svn properties, add copyright headers, minor formatting cleanup.
2009-03-01 09:15:31 +00:00
MW
23a7af4538
Added check so Util.ReadSettingsFromIniFile doesn't try to set static fields.
2009-02-28 16:42:13 +00:00
MW
77b70759a6
Copied the Util.ReadSettingsFromIniFile method from the branch to trunk.
2009-02-28 16:13:20 +00:00
MW
7a2985b441
Changed it so only .ini file types are loaded from the (optional) config directory rather all files types in that folder.
2009-02-28 15:16:12 +00:00
MW
d6b8b41a5b
Applied Patch from mantis #3245 . Thanks tlaukkan/Tommil
2009-02-28 14:04:02 +00:00
MW
5626d43259
Changed the CreateCommsManagerPlugin so it requests a IRegionCreator and subscribes to the OnNewRegionCreated event on that interface rather than requesting the LoadRegionsPlugin directly.
...
Removed the reference to OpenSim.ApplicationPlugins.LoadRegions from the CreateCommsManagerPlugin project.
2009-02-27 17:03:27 +00:00
MW
d45fa9c2df
Added GridServerPlugin class (which implements IGridPlugin) to OpenSim.Grid.GridServer.Modules.
...
This class handles all the initialising of the grid server.
And made GridServer into basically a generic server that just loads plugins.
So this is a step towards having a generic server that loads service modules.
2009-02-27 15:57:09 +00:00
MW
95230c244c
Applied patch from Mantis# 3240, thanks tlaukkan/Tommil
2009-02-27 14:50:49 +00:00
MW
b83d5c7cdb
Added support for reading ini files from a (optional) config folder. This allows the spliting up of opensim.ini into multiple ini files.
...
The ini files in this folder are loaded after the masterini file (if that is set) and before opensim.ini.
The default folder it looks for and searches is "bin\config", but that can be set by using the command arg "-inidirectory=<path>" (path is local to bin\) when starting up opensim.exe.
2009-02-27 14:17:57 +00:00
Sean Dague
cddaaf3e13
svn attribute fixes so that we can play nice between windows and linux
2009-02-26 22:54:50 +00:00
MW
756c517069
Added IRegionCreator interface that all ApplicationPlugins that are creators 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-26 22:51:52 +00:00
Sean Dague
7f727bd33e
This adds a new osGetAgentIP function with threat level set to High. It
...
isn't tested, but it doesn't break anything else. The reason for this
function is to let in world tools be used to coordiante out of world
network services that need access to client ip addresses.
2009-02-26 22:37:02 +00:00
MW
faca2a7ddc
Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager.
2009-02-26 22:14:24 +00:00
MW
4f072a0876
Changed CreateCommsManagerPlugin so it handles external subclasses of OpenSimBase. This process of checking if it should be creating HG or normal CommunicationsManager needs to change.
...
So look out for a revert of this whole plugin soon.
2009-02-26 22:03:53 +00:00
MW
e2d30a0244
Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
...
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 21:30:12 +00:00
Sean Dague
c89a4d9eb6
* This patch reduces the excessive number of threads opened by the Timer event. Also simplifies the walking around method.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:25 +00:00
Sean Dague
57ab79e331
* Update ScenePresenceTests to reflect current REST communication workflow.
...
* Fixed an issue with AssetCache where it would break unit tests randomly.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:16 +00:00
Justin Clarke Casey
7b04d1da5e
* Apply http://opensimulator.org/mantis/view.php?id=3191
...
* Make load/save oar and load/save xml2 behave a little better when there is an io problem
* Thanks dslake
2009-02-26 21:00:33 +00:00
MW
5254c1dfa7
opps forgot to commit a changed file.
2009-02-26 20:18:29 +00:00
Melanie Thielker
ed2de7ac82
Plumb in the RetrieveInstantMessages event that is sent by the viewer
...
when it is ready to receive offline IM
2009-02-26 20:11:55 +00:00
MW
18382ebfd9
Changed the type of the ApplicationRegistry member from RegistryCore to IRegistryCore
2009-02-26 20:11:13 +00:00
MW
33e7c09b7b
Added IRegistryCore and RegistryCore to OpenSim.Framework.
...
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-26 20:01:20 +00:00
Sean Dague
c0c1a31f61
Attempt to fix the "region starts but doesn't load anything" issue
2009-02-26 17:06:06 +00:00
MW
de82bf9eb5
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
...
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
2009-02-26 15:21:06 +00:00
MW
04a6c735d6
Add check in SceneManager to stop opensim.exe crashing if no regions/scenes were loaded.
2009-02-26 15:06:27 +00:00
lbsa71
5b5b784599
* Got rid of concrete GridDBService references
2009-02-26 11:50:49 +00:00
lbsa71
82efceb494
* renamed IRegionProfileService to IRegionProfileRouter to better reflect use (naming is a work in progress...)
...
* introduced new IRegionProfileService that is going to be _one_ profileService
* Had GridDBService inherit the IRegionProfileService
(preparing for re-wiring things and de-duplicating eventually)
2009-02-26 11:44:16 +00:00
MW
07ee252cf3
Renamed IMessageUserServerService to IInterServiceUserService.cs
...
Renamed MessageUserServerModule to InterMessageUserServerModule
2009-02-25 21:00:58 +00:00
Justin Clarke Casey
36e648a37a
* minor: Remove most mono compiler warnings
2009-02-25 20:53:02 +00:00
Justin Clarke Casey
a5c9354df3
* Properly load items into correct folders when an iar is loaded
...
* At the moment, any existing folders with the same name are reused - will need an option to always create new folders
* not yet ready for general use
2009-02-25 20:07:25 +00:00
MW
c856da2ee6
Renamed IUGAIMCore to IGridServiceCore, still not really happy with this name as it could be confused with the Grid Server namespace or with the IGridService in the region servers.
2009-02-25 19:39:56 +00:00
MW
0f62b2bacb
Added IGridServiceModule to be the base interface for the Service Modules for the Grid, User and Messaging servers.
2009-02-25 18:47:19 +00:00
MW
4db232763f
More refactoring of the Grid, User and Messaging servers.
2009-02-25 18:33:15 +00:00
Justin Clarke Casey
50dcd66896
* Fix my own unit test
...
* Disable folder iar creation code for now (though this wasn't actually causing the test failure)
2009-02-25 18:32:39 +00:00
Justin Clarke Casey
17a336f21f
* Add InventoryArchiveConstants that I missed from last commit
...
* This commit also does a first pass at creating folders for an inventory archive (previously everything was dumped in the same destiantion folder).
* This code might not work yet and nobody else should be using it yet anyway :)
2009-02-25 18:07:32 +00:00
Justin Clarke Casey
2d8843968f
* Store inventory data in an 'inventory' directory rather than in the root of an iar
2009-02-25 17:30:15 +00:00
lbsa71
309eaf4735
* Applied a patch that: Added prim parameters support to MXP client
...
* Updated MXP to contain extension fragment with prims and updated MXPClientView to fill in the parameters.
* Added google protobuffers dll.
* Update MXP dll.
* Updated MXPClientView to send prim parameters as Perception event extension
* Started OpenSim and connected with IdealistViewer via MXP and ensured from log that parameters are being sent.
* Ensured that nant test target runs succesfully.
This closes mantis #3229 . Thanks, tlaukkan!
2009-02-25 16:29:43 +00:00
Sean Dague
6c8debd3e0
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The mono addin filter for the AssetCache is incorrect, this fixes it.
The problem only shows up when you have more than one AssetCache to
choose from.
2009-02-25 14:19:15 +00:00
lbsa71
8306ec9cae
* Experimental softening of SOG waiting for update on link - changing from abort to forced update.
2009-02-25 12:26:00 +00:00
lbsa71
41c883ea47
* Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them.
...
* So, SOP.FolderID is actually a cruft field that should be removed.
2009-02-25 11:01:38 +00:00
Mike Mazur
64c14d2475
Allow /* C-style comments */ in LSL scripts.
...
This fixes Mantis #3199 . opensim-libs SVN r87 contains the corresponding
changes.
2009-02-25 05:37:57 +00:00
Charles Krinke
6515d8be0e
Fixes Mantis #3220 . Thank you kindly, MPallari, for a patch that:
...
This patch changes InformClientOfNeighbour, CrossRegion and
SendRegionTeleport methods to virtual.
2009-02-25 04:38:06 +00:00
Charles Krinke
ed7256ac0c
Fixes Mantis #3187 . Thank you kindly, DoranZemlja for a patch that:
...
Deals with the multiple warning side affect introduced earlier.
2009-02-25 04:29:02 +00:00
Mike Mazur
72be38f7ae
Distinguish 404 errors in RestClient.Request().
...
Mantis #3225 .
2009-02-25 02:14:19 +00:00
Mike Mazur
bdf95e54a2
A few updates necessary for load balancer.
...
- 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-25 00:32:26 +00:00
Mike Mazur
d81fb565c1
Setting svn:eol-style=native on new files.
2009-02-24 23:40:08 +00:00
diva
e84ac65b58
Close-to-final tweaking with appearance. This time sending *everything*. Addresses mantis #3223 .
2009-02-24 23:06:15 +00:00
MW
bc0bedf75d
More work on modulising the User Server.
2009-02-24 19:00:36 +00:00
MW
8645fa9215
Removed the additions from the last revision for the "ShowHelp" delegate handling, as it seems that system isn't in use anymore.
2009-02-24 18:06:06 +00:00
MW
1e2835a10c
More refactoring of the Grid/user/messaging servers.
2009-02-24 17:57:26 +00:00
MW
98178b4e9f
Same treatment for the MessagingServer... added OpenSim.Grid.MessagingServer.Modules for the modules/components of it.
2009-02-24 16:13:16 +00:00
MW
021225675f
Added OpenSim.Grid.GridServer.Modules, for the GridServer modules/components.
2009-02-24 15:57:25 +00:00
MW
ea26bd4153
First step in separating out the Userserver console command handling to a "module".
...
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
MW
b587478fd4
Deleted the files from Messagingserver that are now in OpenSim.Grid.Framework
2009-02-24 14:14:34 +00:00
MW
bc5018b3c6
Updated MessagingServer to use OpenSim.Grid.Framework
2009-02-24 14:12:25 +00:00
MW
bafbfcf090
Some cleaning up in the MesssagingServer and GridServer.
2009-02-24 14:00:29 +00:00
MW
6954013d82
Added OpenSim.Grid.Framework project.
...
Changed the Gridserver so it uses/references OpenSim.Grid.Framework
2009-02-24 13:53:38 +00:00
MW
2a91f21d08
More refactoring of the UserServer.
2009-02-24 13:33:57 +00:00
Dahlia Trimble
8afad46d10
remove log4net dependency and from PrimMesher.cs
...
sync PrimMesher.cs with PrimMesher.dll version 29 on forge
2009-02-24 06:02:44 +00:00
diva
c31e2d5987
Minor guard protecting against hackers like me who manipulate region UUIDs directly.
2009-02-24 04:00:54 +00:00
Charles Krinke
e9e5c175cd
Thank you kindly, TLaukkan (Tommil) for a patch that solves:
...
If -background=true is specified on the command line, a null pointer exception crashes the server in OpenSim/Region/Application/OpenSimBase.cs in method StartupSpecific. Its trying to dereference m_console which is null, presumably because we're in background mode.
2009-02-23 23:14:04 +00:00
MW
931754a1ab
Renamed IGridMessagingModule to IGridMessagingMapper.
...
Plus some general cleanup of the GridMessagingModule.
2009-02-23 20:01:03 +00:00
MW
03ff84426f
more refactoring of the Grid server, to separate them into modules
2009-02-23 19:38:36 +00:00
Sean Dague
7d0790447e
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This patch fixes a bug where if a script in a child prim has taken
control of an avatar when they sit, although permission for camera
control is revoked when they stand, free camera control is not
restored. Currently it is only restored if the script is in the root
prim (though its not clear to me where this happens!).
2009-02-23 12:52:32 +00:00
Jeff Ames
f175cb7e8c
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-23 10:36:16 +00:00
Adam Frisby
d9cb81e8fe
* Commenting out threaded Scene update for the moment.
...
* It works, but makes certain building tasks slow to update.
2009-02-23 07:57:54 +00:00
Adam Frisby
13b089636d
* Fix for recent thread patch - IsAlive apparently is not as reliable as ThreadState.
2009-02-23 07:31:13 +00:00
Adam Frisby
c2f3ff872d
* Performance Changes:
...
* 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-23 06:55:42 +00:00
Mike Mazur
dba8c90611
Load default assets when AssetInventory starts.
2009-02-23 04:39:08 +00:00
Mike Mazur
05bbfd57f1
Prevent avatar from walking along z-axis
...
Thanks mirceakitsune for a patch that prevents the avatar from trying to
walk along the Z-axis in mouselook mode (or left-click the avatar and
walk) while looking up or down.
Fixes Mantis #946 .
2009-02-23 04:07:46 +00:00
Charles Krinke
08c76989a7
Mantis#3187. Thank you kindly, DoranZemlja for a patch that:
...
Adds a warning for an LSL construct that exploits a
popular list memory saving hack.
2009-02-23 02:43:51 +00:00
diva
20eb8e54ac
A little bit more tweaking with appearance. Now passing both the wearables and the textures referred to in the Texture faces of AvatarAppearance. The textures are still not being acted upon on the other side, but they will.
...
Note: will make avies coming from older sims casper or grey. Upgrade!
Related to mantis #3204 .
2009-02-23 00:51:31 +00:00
Charles Krinke
8f55b9d735
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* 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-22 20:52:55 +00:00
Melanie Thielker
913654f2c9
Allow delivery of object messages gridwide
2009-02-22 20:17:12 +00:00
MW
f3a24e432f
First step in giving the messaging server the modular refactoring treatment. As with the other two servers, this is very much a work in progress.
2009-02-22 19:19:24 +00:00
Adam Frisby
648f55ed11
* MXP Clients are now treated as full root agents - including being given a default avatar.
...
* MXP Clients now are capable of displaying primitives and objects within the Scene.
2009-02-22 12:45:23 +00:00
Adam Frisby
3cd5ffa82a
* Fixes an assumption whereby Scene assumes that each client is capable of producing a circuit. This affects non-Linden derived viewers who do not utilize circuits.
2009-02-22 12:39:46 +00:00
MW
9b0b0b5e28
Part 1 of refactoring the userserver. Changed it so instead of subclassing the User dataBase access class (UserManagerBase) and then adding the http handlers to that. There is now a UserDataBaseService that is passed to the other classes so they can access the db. This should make it easier to have multiple "modules" that can register http handlers and access the db.
2009-02-22 11:01:26 +00:00
Adam Frisby
88d3ce5c64
* And a little more
2009-02-22 10:21:41 +00:00
Adam Frisby
fc66d29ca6
* Removing some C#3.0 that snuck in.
2009-02-22 10:20:53 +00:00