Justin Clarke Casey
ee73d72f1d
* Apply http://opensimulator.org/mantis/view.php?id=3280
...
* Some small syntax and refactoring tweaks for asset and inventory MSSQL
* This means the MSSQL db plugin now requires SQL Server 2005
2009-03-09 18:04:23 +00:00
Justin Clarke Casey
5a6bc26600
* Address http://opensimulator.org/mantis/view.php?id=3207
...
* 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 17:55:08 +00:00
Sean Dague
a2ff2e9000
* Added TXXX in front of unit tests to make sure they are running in the 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-09 15:20:36 +00:00
Mike Mazur
5bee29e036
Refactor login test class.
...
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-09 08:07:12 +00:00
Mike Mazur
66120f5a40
Fix tests broken in r8732.
...
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-09 07:29:53 +00:00
Mike Mazur
a2f07ecd2e
Implemented FetchAssetMetadataSet in DB backends.
...
This method fetches metadata for a subset of the entries in the assets
database. This functionality is used in the ForEach calls in the asset
storage providers in AssetInventoryServer. With this implemented,
frontends such as the BrowseFrontend should now work.
- MySQL: implemented, sanity tested
- SQLite: implemented, sanity tested
- MSSQL: implemented, not tested
- NHibernate: not implemented
2009-03-09 07:29:34 +00:00
Teravus Ovares
f9ebdee1d2
* Tweak llMoveToTarget per mantis 3265
...
* Add some comments to the Wind Module
* Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically).
* Add m_sitState for upcoming code to improve sit results.
2009-03-09 04:33:53 +00:00
diva
6f4051c932
Making the web_login_key code work, even if the LL Viewer doesn't support 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-08 23:17:49 +00:00
lbsa71
4f23718102
Thank you tlaukkan for a patch that: Upgraded to MXP 0.4 version and cleaned up field naming.
...
* Updated code to compile against MXP 0.4 version.
* Cleaned up field naming conventions.
* Added support for logging in with region name.
* Filled in new fields of JoinResponseMEssage.
* Added support for SynchronizationBeginEvent and SynchronizationEndEvent.
* Commented out periodic debug log.
* Added networking startup log messages.
This closes mantis #3277
2009-03-08 19:33:19 +00:00
Adam Johnson
2fa57a2970
Moving Windows Installer to forge.
2009-03-07 16:27:07 +00:00
Jeff Ames
385d3a467c
Minor formatting cleanup.
2009-03-07 16:16:00 +00:00
idb
93a697b24d
Correct a typo, purely cosmetic.
...
FixesMantis #3263
2009-03-07 14:39:42 +00:00
idb
aab1601642
Limit the message length from llInstantMessage to 1024 characters http://wiki.secondlife.com/wiki/LlInstantMessage
...
Also truncate messages that may exceed the limit set by the packet size. The limit in OpenMetaverse is 1100 bytes including a zero byte terminator.
Fixes Mantis #3244
2009-03-07 14:16:26 +00:00
idb
23b247c519
Added the ability to set User-Agent in llHTTPRequest. No new default value has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest
...
Fixes Mantis #3143
2009-03-07 12:58:00 +00:00
idb
1fd57b39df
Correct casts so that the target id in the at_target event matches the original target id.
...
Fixes Mantis #2861
2009-03-07 10:37:15 +00:00
Teravus Ovares
5a49c772ca
* Making the minimum ground offset for flying a configurable offset in the OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator.
...
* minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora See OpenSim.ini.example for an example.
2009-03-07 07:17:43 +00:00
Teravus Ovares
6c7151109b
* fixes mantis 3259
...
* I'm concerned however that the 'minimum fly height' should really be implemented in ScenePresence and not in the specific physics plugin so that all of the physics plugins can take advantage of it and if desired, a person could swap out the 'minimum fly height' functionality with other functionality.
2009-03-07 06:51:27 +00:00
Teravus Ovares
5b8c925641
* Adding application/x-oar to the list of content types to which the HTTP 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-07 06:14:31 +00:00
Jeff Ames
03076b0d33
Update svn properties, minor formatting cleanup.
2009-03-07 02:39:27 +00:00
Jeff Ames
3fe42386e4
Add copyright headers.
2009-03-07 02:11:50 +00:00
Jeff Ames
e1f68145be
Update svn properties.
2009-03-07 02:00:18 +00:00
Teravus Ovares
ebe84907ae
* Fixes mantis: #3241
...
* Uses 'mouselook' or left mouse button down, to determine when to use the camera's UP axis to determine the direction of movement.
* We crouch-slide no more.
2009-03-07 01:18:59 +00:00
Teravus Ovares
3a93bb992f
* Added some limits to the maximum force applied per second by llMoveToTarget. Currently, it's 350 times the mass in newtons applied per second, maximum.
2009-03-07 00:27:56 +00:00
Charles Krinke
b637a11b58
Fixes Mantis #3260 . Thank you kindly, MCortez for a patch that:
...
llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does,
and it should recalculate the absolute height to hover at as an object moves to reflect
the current ground/water height under it.
Correctly implementing required adjusting the Physics interfaces and implementing at
the physics plug-in level. The attached is a patch that correctly implements
llSetHoverHeight() including updates to the ODE physics plug-in.
2009-03-06 23:01:35 +00:00
Justin Clarke Casey
fc2c73d5c6
* minor: remove some mono compiler warnings
2009-03-06 21:00:15 +00:00
Justin Clarke Casey
f12619b786
* refactor: Remove GetLandOwner function from Scene
...
* Simplify since the land is never null
2009-03-06 20:44:31 +00:00
Justin Clarke Casey
85774de231
* Improve memory usage when writing OARs
...
* This should make saving large OARs a somewhat better experience
* However, the problem where saving an archive pulls large numbers of assets into the asset cache isn't yet resolved
* This patch also removes lots of archive writing spam that crept in
2009-03-06 20:12:08 +00:00
Sean Dague
08509d5cf2
* Protects RestClient from crashing with dictionary exception, which leads to the client thread crashing if uncaught.
2009-03-06 19:25:33 +00:00
MW
498dda1901
Added a output message to CreateCommsManagerPlugin for when a user tries to run with both -hypergrid=true and -background=true command line arguments. As these two don't work together as they initialise different root OpenSim classes. I was going to change it back to the old behaviour where in that usecase it would just startup in the background but without hyerpgrid enabled. But think its better to give a error about this and then exit, so the user knows to change their settings. Rather than later wondering why hypergrid isn't working.
2009-03-06 09:57:31 +00:00
Mike Mazur
16b6a00005
Add missing parameter to m_log.DebugFormat().
2009-03-06 00:54:39 +00:00
Teravus Ovares
ac84d3d26b
* Fixing a few mass calculation errors suggested by jhurliman
2009-03-05 21:59:27 +00:00
Justin Clarke Casey
ff7b20bef1
* Add more status information when an oar is being saved
...
* Among other messages, a log entry is posted for every 50 assets added to the archive
2009-03-05 21:36:48 +00:00
Melanie Thielker
3ad2fef2d3
Prevent ICommander-generated subcommand trees from generating an exception
...
when the tree root command is executes without another verb following it.
Fixes Mantis #3258
2009-03-05 21:20:57 +00:00
Justin Clarke Casey
11e1948b57
* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap (which is used in other contexts)
2009-03-05 21:10:39 +00:00
Justin Clarke Casey
3d70dbd01d
* refactor: move media and music url setting from scene into LandObject
2009-03-05 20:53:23 +00:00
Justin Clarke Casey
c213a12b57
* simplify media and music url setting since we never get back a null land object
2009-03-05 20:32:35 +00:00
Justin Clarke Casey
6c735e0828
* Replace some string to byte conversions for object/item name/description fields with the LLUtil function that prevents the max string size from being breached
2009-03-05 19:32:27 +00:00
Justin Clarke Casey
0de34e9a18
* remove now unused serialization code
2009-03-05 18:36:37 +00:00
Mike Mazur
7768f3aa8b
Make DeserializeUUID explicitly private.
2009-03-05 12:57:27 +00:00
MW
732a4fd5fb
Made the OpenSimInventoryFrontendPlugin.DeserializeUUID(Stream stream) method static to get past the build errors. Mikem really needs to check this change over to see its the right approach for what he wanted.
2009-03-05 11:23:31 +00:00
Mike Mazur
1894d69c8a
Fix moving folders.
...
Casting from base class to inherited class is a no-no, and we must
preserve the folder type when moving folders, otherwise it gets set to a
Texture folder (type 0).
2009-03-05 08:30:23 +00:00
Mike Mazur
6994d9239d
Fix creating inventory items and folders.
...
The order of deserialization needed to be changed. Also corrected a bug
that caused no inventory items to be returned on login.
2009-03-05 08:30:15 +00:00
Mike Mazur
56158443b3
Implemented all Inventory frontend handlers.
...
This doesn't mean they all work as expected, though. More changes to
come as testing unveils bugs.
2009-03-05 08:30:08 +00:00
Mike Mazur
293e70a666
Implementing more inventory storage methods.
2009-03-05 08:30:00 +00:00
Mike Mazur
3676062277
Use Inventory{Item,Folder}Base in AssetInventoryServer.
...
Also the first inventory storage methods are implemented.
2009-03-05 08:29:52 +00:00
Mike Mazur
d38bddfb76
A couple cosmetic changes in inventory storage plugin.
2009-03-05 08:29:42 +00:00
Charles Krinke
62eaddbe14
Fixes Mantis #3255 . Thank you kindly, MCortez, for a patch that:
...
Changes to IWindModule interface: Change from assuming a single array of
256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3
* Changed llWind() to use new lookup method of IWindModule
* Moved logic for determining the wind at a given point in the data array from
llWind() to the Wind Module itself.
2009-03-05 04:24:22 +00:00
Charles Krinke
365b5951ff
Fixes Mantis #3194 . Thank you kindly, Godfrey for a patch that:
...
fixes llSetLinkPrimitiveParams() - PRIM_ROTATION rotates the prim
containing the script, rather than the specified child prim
2009-03-05 03:20:28 +00:00
Charles Krinke
f7b914228b
Fixes Mantis #3253 . Thank you kindly, Godfrey, for a patch that:
...
Corrects the incomplete implementation of llXorBase64StringsCorrect()
so that it returns the proper reversible result.
2009-03-05 03:15:30 +00:00
Adam Frisby
65990de390
MRM Scripting Changes
...
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene.
* Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
2009-03-05 00:52:59 +00:00
Adam Frisby
0e7e2eba14
* Implements a number of members on SOGObject for use with the MRM Script Engine API.
...
* It's lag-tacular! :D
2009-03-05 00:16:06 +00:00
Adam Frisby
f3aac0fa4a
* Fleshed out the MRM Module a little.
...
* Please don't use this yet, it represents a very heavy security risk if you enable it.
2009-03-04 22:14:40 +00:00
Justin Clarke Casey
f18400fcfb
* For now, restore file extension for default oar name I accidentally removed on the last commit
2009-03-04 20:36:09 +00:00
Justin Clarke Casey
b52ac542ad
* Add the abilty to load and save iar item nodes where folders have identical names
2009-03-04 20:31:03 +00:00
Adam Frisby
e57ac6e0bf
* Whoops. Left MiniModule enabled to anyone. (potential security risk). Disabled - edit code to load.
2009-03-04 20:29:50 +00:00
Adam Frisby
ea9bb2f741
* More work on MiniRegionModule module.
2009-03-04 20:28:11 +00:00
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
Adam Frisby
462daccf18
* Restoring
2009-02-22 10:18:42 +00:00
Adam Frisby
6a29660cdc
* Fixing bad SVN commit.
2009-02-22 10:18:21 +00:00
Adam Frisby
a7f5e09c7f
* Updates MXP.dll to latest version.
...
* MXP: Corrects an issue whereby session requests were never correctly acknowledged.
2009-02-22 09:31:24 +00:00
Jeff Ames
dd828956e6
Update svn properties.
2009-02-22 09:02:27 +00:00
Adam Frisby
b7f80ec0b7
* There's always something. Fixes MXP Server so that when it starts up, it actually starts up.
2009-02-22 08:53:56 +00:00
Adam Frisby
937a2e6dca
* Adds initial support for the MXP Virtual Worlds protocol ( http://www.bubblecloud.org )
...
* Handled via the MXPModule.cs located in OpenSim.Client.MXP namespace.
* Also implements MXPClientView and MXPPacketServer for IClientAPI compatibility.
* No changes were required to Core to implement this - the thing is self contained in OpenSim.Client.MXP.dll.
* Includes reference implementation of MXP as MXP.dll - this is under the Apache 2.0 license.
* Requires OpenSim.ini setting to enable. "[MXP] \n Enabled=true \n Port=1253"
* May break. Highly untested.
2009-02-22 08:48:55 +00:00
Jeff Ames
818af9d482
Refactor log4net logger handling in script engine. ( #3148 )
2009-02-22 01:26:18 +00:00
diva
99b051ccbe
Addresses some issues with appearance after TPs. Appearance.Owner was not being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204 .
2009-02-22 01:26:11 +00:00
Jeff Ames
551bebdc84
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-22 01:18:49 +00:00
MW
52b2d8732a
Applied patch from mantis #3217 , which allows Dynamic Images of type RGB (so with no alpha value). Thanks BlueWall.
2009-02-21 21:03:20 +00:00
MW
e77b5d990d
More Grid server refactoring
2009-02-21 18:41:28 +00:00
Charles Krinke
cdbd52e55b
Thank you kindly, DoranZemlja for a patch that:
...
Solves the Object-Key problem when using llHTTPRequest()
2009-02-21 17:50:46 +00:00
diva
23e78e4476
A small improvement in the UserLoginService, hence the User Server: users are now being given a default appearance if there is none in the user database. This issue affected newly created accounts, which aren't given an appearance at time of creation. May address some of the issues reported in mantis #3204 (but the incompatibility with pre-8447 is unaffected and continues to exist).
2009-02-21 17:44:33 +00:00
MW
913887a8e5
Some more refactoring of GridServer.
2009-02-21 15:15:54 +00:00
MW
a2546d58a8
Applied patch from mantis #3213 . Which adds a check to create region command, to make sure the .xml is passed in the command arguments. Thanks BlueWall
2009-02-21 14:45:10 +00:00
MW
adad703c9c
Added missing header to a file (before chi11ken does it)
2009-02-21 14:36:29 +00:00
MW
89006da793
Added a check to LLClientView.RegisterInterface<T>(T iface), so that it can't try to add duplicate interfaces and cause a exception.
2009-02-21 14:30:17 +00:00
MW
869c64f955
Added a check to GridServerBase.RegisterInterface<T>(T iface), so that it can't try to add duplicate interfaces and cause a exception.
2009-02-21 14:24:25 +00:00
MW
65d413e5ee
A bit more refactoring of the GridServer. To make the "modules" share a common Initialise method.
2009-02-21 14:19:40 +00:00
lbsa71
fcb737c7f9
* Upping to interface version 3 - let's see how this goes.
2009-02-21 14:12:06 +00:00
MW
25661b611d
Refactored the GridServer into a GridDBService and a set of "modules".
...
Currently they aren't plugin modules as the support for dynamically loading them isn't complete.
2009-02-21 13:44:03 +00:00
Melanie Thielker
aaf8b07ecf
Allow entry of '?' in http URIs. If the field being typed begins with
...
"http", the ? is just an ordinary character in that field.
2009-02-21 11:48:50 +00:00
lbsa71
1cadad9ec6
* Applied a patch that: Added estate ban table to migration scripts and 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-21 09:39:33 +00:00
Jeff Ames
7a649a758d
Add copyright headers. Minor formatting cleanup.
2009-02-21 03:32:25 +00:00
Jeff Ames
b515645151
Update svn properties.
2009-02-21 03:00:17 +00:00
Melanie Thielker
d76178f302
Thank you, robsmart, for a patch that allows the shard to be set.
...
The built-in default is OpenSim, unless a user server url is given, then
that is used, unless "shard" is also goven, then shard takes precedence.
The defult in OpenSim.ini is "OpenSim" for compatibility.
2009-02-21 00:14:47 +00:00
idb
6119b02860
* Apply http://opensimulator.org/mantis/view.php?id=3185
...
* Fixes NHibernate problem where prim contents show as textures
* Thanks Tommil!
2009-02-20 22:56:40 +00:00
Dr Scofield
42e67783b4
From: Arthur Rodrigo S Valadares <arthursv@br.ibm.com>
...
Re-fixing remote admin XmlRpc handler registration.
2009-02-20 19:15:39 +00:00
lbsa71
602dafae55
* Renamed and encapsulated m_sceneGraph as SceneGraph for ccc
2009-02-20 17:18:07 +00:00
lbsa71
2e095f5727
* Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to 0.6.3.* to better track down dll ref and overwrite problems.
2009-02-20 16:47:31 +00:00
Justin Clarke Casey
acf112ac40
* Apply http://opensimulator.org/mantis/view.php?id=3195
...
* Access NHibernate Manager as read-only property rather than public field
* Thanks Tommil
2009-02-20 14:36:53 +00:00
Justin Clarke Casey
01f70de2ea
* Consistently lock part.TaskInventory as pointed out in 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-20 14:04:29 +00:00
Melanie Thielker
c28b2f799a
Revert previous commit
2009-02-20 12:48:46 +00:00
Melanie Thielker
7b1c42836d
Committing interface and stubs for IM interception
2009-02-20 12:15:40 +00:00
Mike Mazur
a42499c947
Thanks DoranZemlja for a patch implementing non-shortcircuiting in
...
logical and and logical or in LSL. Fixes Mantis #3174 .
2009-02-20 07:40:36 +00:00
diva
33330297d6
THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older 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 03:39:50 +00:00
Jeff Ames
7d4846462b
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-20 02:33:54 +00:00
lbsa71
5e39e515f9
* Another stab at removing AssetServer.exe dependencies
2009-02-20 02:26:27 +00:00
diva
e725e485fa
This moves the 2 friends-related interregion messages out of OGS1 and into 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-20 00:18:18 +00:00
lbsa71
b99d9bdeb1
* Reverted the AssetServer fix, apparently something was dependent on IAssetDataPlugin being in OpenSim.Data
2009-02-19 19:32:53 +00:00
lbsa71
1bcc489f5b
* Moved the AssetStreamHandlers to OpenSim.Framework.Servers
...
* And there, all refs to OpenSim.Grid.AssetServer.exe gone.
/me takes a bow.
2009-02-19 19:04:51 +00:00
lbsa71
cacf971e3b
* moved the Get/PostAssetStreamHandler to the Servers namespace... slowly getting there...
2009-02-19 18:57:59 +00:00
lbsa71
00a5fb9484
* Split RestService.cs into GetAssetStreamHandler.cs and PostAssetStreamHandler.cs - then killed off original (misnomed) file.
...
* Really, who wrote this jurassic shit code all with totally wrong file names? Ah yeah, that'd be me. Sorry.
2009-02-19 18:53:43 +00:00
lbsa71
b5502ef3c3
* Extracted IAssetData and moved it to OpenSim.Framework to prepare to get rid of ugly CoreModules dependency on AssetServer.exe
...
* And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
2009-02-19 18:40:32 +00:00
Justin Clarke Casey
631e10f269
* Apply http://opensimulator.org/mantis/view.php?id=3151
...
* Fixes NHibernate overflow exception when saving some objects (under at least PostgreSQL 8.3)
* Thanks Tommil!
2009-02-19 18:31:45 +00:00
Justin Clarke Casey
0760956561
* Apply http://opensimulator.org/mantis/view.php?id=3142
...
* Changes varchar(36) columns to UUID type in MSSQL - this will be much more efficient
* ===As always, please, please backup your database before applying this patch===
* Thanks Ruud Lathrop (for the patch) and StrawberryFride (for the review)
2009-02-19 18:09:10 +00:00
Justin Clarke Casey
4550093353
* Fix http://opensimulator.org/mantis/view.php?id=3193
...
* Make it possible once again to set a console log level threshold in OpenSim.exe.config
2009-02-19 17:57:40 +00:00
Justin Clarke Casey
4203cf1503
* refactor: Rename new class AssetGatherer to UuidGatherer to reflect what it actually does
2009-02-19 17:19:08 +00:00
Justin Clarke Casey
d2caf4f418
* Do deep inspection when saving inventory items in order to capture all the necessary assets (textures, objects within objects, textures referenced in scripts contained in
...
objects contained in another object, etc.)
* Not yet ready for general use
2009-02-19 17:08:00 +00:00
lbsa71
5af465a364
* Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later.
2009-02-19 14:51:33 +00:00
Melanie Thielker
c98a9d1ccd
Make the implementation of the message transfer module protected virtual
...
throughout
2009-02-19 13:02:11 +00:00
MW
74e3a85492
reverted last revision, until we decide how to handle capturing IM's
2009-02-19 12:38:17 +00:00
MW
1b65020b41
Added a event to IMessageTransferModule (and MessageTransferModule) so that other modules can capture IM messages and do custom handling of them. As just attaching to Client IM events doesn't really support this, as they would still get routed through the normal process and could give back errors.
2009-02-19 11:54:53 +00:00
Melanie Thielker
eb143d556d
Force plugin state update when region crossing
2009-02-19 05:31:17 +00:00
Melanie Thielker
e7c05744c0
Try this, then :) remove just one line from script serialization,
...
hunting the bug
2009-02-19 05:24:19 +00:00
Melanie Thielker
4e2dc730fd
Refix the fix, adding a forgotten line
2009-02-19 05:18:23 +00:00
Melanie Thielker
2478d38b85
Attempt to fix a Windows only race in thread termination
2009-02-19 05:16:25 +00:00
Melanie Thielker
863556f2cc
Thank you, Snowdrop, for a patch that makes the callback ID parameter
...
usable. Applied with formatting changes, please don't introduce
K&R style indentations into OpenSim
Fixes Mantis #3190
2009-02-19 03:09:56 +00:00
Charles Krinke
7e0e9ef179
Mantis#3188. Thank you kindly, BlueWall, for a patch that:
...
Adding the ability to set the background color for osSetDynamicTextureData in the extra data: bgcolour:value (see http://msdn.microsoft.com/en-us/library/aa358802.aspx [^] for color names)
2009-02-19 02:51:32 +00:00
Melanie Thielker
b51a0e9960
Fix region crossing for unscripted prims, avoid costly SEH
2009-02-19 01:14:26 +00:00
Melanie Thielker
53fc65c907
Make in-code provisions for the tests. Tests would fail because the
...
required file system objects are not present in the test harness.
This makes the main code ignore the failure, therefore the test succeeds.
Not elegant and maybe a unit test guru has a better way. Marked as a TODO
2009-02-18 23:28:04 +00:00
Melanie Thielker
0b25107c94
Fix standalone / simulator local script crossings.
2009-02-18 22:57:36 +00:00
Melanie Thielker
0086f9bd92
Fix the windows sharing violations on script crossings
2009-02-18 22:32:25 +00:00
diva
f1795fd9b0
Stops animations on Teleports, to conform with what the viewer does.
2009-02-18 21:28:54 +00:00
Justin Clarke Casey
89f2589f6c
* Change AssetGatherer method access so that only methods which are worth calling from the outside are public
2009-02-18 21:02:43 +00:00
diva
2a13e046db
Fixes height on Basic Physics in local teleports. Plus some small refactoring.
2009-02-18 20:10:40 +00:00
Justin Clarke Casey
d971b9f06b
* minor: comment out a few more [de]serialization sog timing messages
2009-02-18 20:04:14 +00:00
Justin Clarke Casey
a7dea4ee12
* Move asset gathering code from oar module to OpenSim.Region.Framework since this is useful in a variety of situations
...
* Comment out one oar test since I think somehow the two save tests are causing the occasional test failures
2009-02-18 20:00:21 +00:00
Justin Clarke Casey
5e4cad07eb
* Make save iar behave properly if the nominated inventory path does not exist
...
* load iar probably still fails for this
2009-02-18 19:26:10 +00:00
Melanie Thielker
2d7c15c560
Fix estate ban list persistence in MySQL and reenable tests
2009-02-18 18:48:59 +00:00
diva
1fa8a7ce29
Restoring method 2 of linking regions in HG, which was commented out for some bizarre reason. Fixes mantis #3141 . Thanks Vinc for providing an alternative patch, which wasn't used but served to expose the mix-up.
2009-02-18 16:11:34 +00:00
Sean Dague
8ed631307b
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
I've changed the extension point name, and the internal references that
used the same string. I also fixed up the messaging around the asset
loader so that it is more explicit.
2009-02-18 13:15:07 +00:00
Sean Dague
383f8b3ac6
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch implements osGetDrawStringSize that looks like:
vector osGetDrawStringSize(string contentType, string text, string
fontName, int fontSize)
in LSL. It is meant to be used in conjunction with the osDraw*
functions. It returns accurate information on the size that a given
string will be rendered given the specified font and font size.
This allows for nicely formatted and positioned text on the generated
image.
2009-02-18 12:56:36 +00:00
Sean Dague
8d23d97084
remove legacy pre-migration code for mysql grid adapter, who knew this
...
was still in there.
2009-02-18 12:56:28 +00:00
diva
d784205527
Improved log message.
2009-02-18 03:50:09 +00:00
diva
3f25128e77
Adds support for preserving animations on region crossings and TPs.
...
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine).
Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-18 01:49:18 +00:00
diva
c381bee515
Makes SP.CopyFrom a bit more robust with respect to sims in older versions which still don't have the new appearance management code.
2009-02-17 23:46:19 +00:00
Melanie Thielker
33331167b5
Fix a typo. i + i is not 2 times me
2009-02-17 20:08:35 +00:00
Melanie Thielker
7c1305a327
Re-fixing the fix :/
2009-02-17 19:33:25 +00:00
Melanie Thielker
d94c67e953
One-liner to fix an omission
2009-02-17 19:30:35 +00:00
Sean Dague
c417a5b619
remove all the very old create and upgrade sql files, these were
...
outdated by migrations 6 months ago.
2009-02-17 19:06:23 +00:00
Justin Clarke Casey
d03c32aa69
* Allow inventory archives to be saved from the 'root' inventory directory
...
* Reload doesn't currently obey structure information
* Not yet ready for use
2009-02-17 18:46:42 +00:00
Dr Scofield
6fbc1f2b23
- additional code to get ConciergeModule to do truly async broker updates
...
- adding watchdog timer async web request
- making broker update timeout configurable
2009-02-17 18:27:01 +00:00
Justin Clarke Casey
e28738c13b
* Assign incoming items with a random UUID so that archives can be loaded more than once
...
* Also remove a duplicate write archive call in the unit test which might be causing test failures for people using mono 2.2 (though not 1.9.1, it would seem)
2009-02-17 18:19:24 +00:00
Justin Clarke Casey
d205cb5260
* extend inventory archive save test to check for the presence of the item file in the saved archive
2009-02-17 17:40:48 +00:00
diva
d347b59ca4
Addresses mantis #3181 . Waiting for confirmation from the reporter.
2009-02-17 17:38:11 +00:00
Justin Clarke Casey
af57937760
* Apply http://opensimulator.org/mantis/view.php?id=3068
...
* This enables parsing of xml files and files obtained via http for the -inimaster option as well as -inifile
* Thanks StrawberryFride!
2009-02-17 17:12:10 +00:00
Justin Clarke Casey
4e779bbd81
* switch to pulsing monitors to perform test sync instead of events, since this doesn't allow one to accidentally forget to reset the event
2009-02-17 16:51:09 +00:00
Justin Clarke Casey
014e9e2c6d
* Get rid of a unit test race condition based on my misreading of the AutoResetEvent docs
...
* Hopefully this will reduce the spike in build failures seen in the past few days (since I introduced an addition oar test)
2009-02-17 16:25:59 +00:00
Justin Clarke Casey
46fd31346d
* Apply http://opensimulator.org/mantis/view.php?id=3178
...
* Moves llEmail() delay to after e-mail send rather than before, in line with SL
* Thanks DoranZemlja
* Last build failure looks like a glitch, but one that has already happened twice recently which I need to look at
2009-02-17 16:04:43 +00:00
Justin Clarke Casey
6bcf7cbb2c
* Apply http://opensimulator.org/mantis/view.php?id=3179
...
* This slightly extends a lock in WorldCommModule so that it covers the GetNewHandle method which states in it's doc that it assumes locking has happened before the method is
called
* Thanks DoranZemlja
2009-02-17 15:55:56 +00:00
Justin Clarke Casey
829c84e69f
* Apply http://opensimulator.org/mantis/view.php?id=3167
...
* Clamps textured map rgb values to 0-255
* Thanks DoranZemlja
2009-02-17 15:47:53 +00:00
Justin Clarke Casey
229b69e044
* Establish InventoryArchiveSaved event for unit tests
...
* This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
2009-02-17 15:39:18 +00:00
lbsa71
93465df5e3
* Moved the nifty MySQLEstateData connectionstring password-stripper out into the Util project
2009-02-17 14:12:57 +00:00
Melanie Thielker
3130784934
Re-add the objectID field to the anim pack, that was deemed unneccessary
...
and dropped nonths ago, because it is required to get smooth region
crossings with AO running. Without it, in some corner cases, anims will
continue to run in an unstoppable state.
2009-02-17 04:16:42 +00:00
diva
2c272762f8
Small change on dealing with ODE physics, so that this warning doesn't happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical.
2009-02-17 03:14:08 +00:00
Mike Mazur
76c0935ec7
- remove the Metadata property from AssetBase and return all previous
...
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122 , as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
2009-02-17 01:36:44 +00:00
diva
7cc9062137
Major change to how appearance is managed, including changes in login and user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
2009-02-17 00:35:52 +00:00
Dr Scofield
d97dd2bdb4
cleanup
2009-02-16 20:13:59 +00:00
Dr Scofield
4e1f060dd1
From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>
...
This changeset fixes a rather nasty script compile bug that manifests
itself under heavy load.
2009-02-16 20:01:54 +00:00
Justin Clarke Casey
80759f708b
* Apply http://opensimulator.org/mantis/view.php?id=3166
...
* Adds estate access list supports to NHibernate data module
* Thanks Tommil
2009-02-16 19:33:11 +00:00
Sean Dague
c7a08752c0
line ending fixes and set native eol property
2009-02-16 19:23:53 +00:00
Justin Clarke Casey
93837807ff
* refactor: remove AssetCache field hanging off Scene
...
* This is always available at Scene.CommsManager.AssetCache
2009-02-16 19:15:16 +00:00
Justin Clarke Casey
ec07e1aad6
* Iniital inventory archive test code. Doesn't actually do any testing yet
2009-02-16 18:33:05 +00:00
Justin Clarke Casey
9dadf7adfd
* Apply http://opensimulator.org/mantis/view.php?id=3165
...
* Corrects behaviour of llListSort()
* Thanks DoranZemlja!
2009-02-16 16:31:07 +00:00
Justin Clarke Casey
8b513beefa
* minor: print out status messages at start and end of inventory archive loading and saving
2009-02-16 16:22:52 +00:00
Sean Dague
f4bec00057
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The change makes two principal implementation changes:
[1] It removes the hard coded set of possible asset server client
implementations, allowing any arbitrary implementation that has been
identified to the PluginLoader as an appropriate extension. The
extension point for asset server client extension
is /OpenSim/AssetServerClient. All of the old configuration rules have
been preserved, and any of the legacy configuration values will still
work as they did before, except the implementation is now loaded as a
plug-in, rather than as a hard-coded instantiation of a specific class.
The re-hashing of IAssetServer as an extension of IPlugin made upgrading
of the implementation classes a necessity.
Caveat: I have not been able to meaningfully test the crypto-grid
clients. I believe they should work correctly, but the refactoring
necessary to handle plug-in based initialization (vs constructor-based
initialisation) admits the possibility of a problem.
[2] The asset cache implementation, previously introduce as a hard-code
class instantiation is now implemented as an IPlugin. Once again the
previous (configurationless) behavior has been preserved. But now it is
possible for those interested in experimenting with cache technologies
to do so simply by introducing a new extension for the asset cache
extension point (/OpenSim/AssetCache).
I've tested all of the configuration settings, after applying the patch
to a newly extracted tree, and they seem to work OK.
2009-02-16 12:20:31 +00:00
Dr Scofield
81bb87168f
cosmetic: adding region name to logging statement
2009-02-16 09:17:55 +00:00
Mike Mazur
68ed72ee22
- replace existing license header in each source file in
...
AssetInventoryServer with the standard OpenSim license header
- add note about Cable Beach to CONTRIBUTORS.txt
- clean up AssetInventoryServer.ini.example
2009-02-16 02:29:00 +00:00
Mike Mazur
e41f761e0d
- add restrictions and error handling to plugin loading in
...
AssetInventoryServer
- assign shorter names to each AssetInventory plugin
- modify AssetInventoryServer.ini.example file so it works out of the
box
2009-02-16 02:28:51 +00:00
Mike Mazur
efbb44b98a
Standardize logging messages.
2009-02-16 02:28:43 +00:00
Mike Mazur
ab5e332832
- removed OpenSim.Grid.AssetInventoryServer.Metadata class in favor of
...
OpenSim.Framework.AssetMetadata and related updates in AssetInventory
server
- removed dependency on MySql.Data.MySqlClient
- commented out the bulk of OpenSimInventoryStorage due to missing
MySql.Data dependency
- refactor asset creation in OpenSimAssetFrontend
- commented out ForEach implementation, which also depended on
MySql.Data, until it's supported by OpenSim backends
- commented out some handlers in BrowseFrontend and ReferenceFrontend as
they relied on either ForEach or the removed Metadata class
2009-02-16 02:28:34 +00:00
Mike Mazur
4c6b7234de
We need to return a zero-length byte array from the Handle() routine.
2009-02-16 02:28:24 +00:00
Mike Mazur
f8d51e6949
- clean up using references as well as References in prebuild.xml
...
- comment out a bunch of stuff in OpenSimInventoryFrontendPlugin.cs to
get rid of warnings
2009-02-16 02:28:16 +00:00
Mike Mazur
a928a14c7a
Name extension points a little clearer.
2009-02-16 02:28:08 +00:00
Mike Mazur
ef19d32a39
- remove dependency on OpenSim.Grid.AssetServer.Plugins.Opensim in
...
OpenSim.Data.*.addin.xml, this is cruft left over from previous
testing
- fix example SQLite connection string in
AssetInventoryServer.ini.example
2009-02-16 02:28:00 +00:00
Mike Mazur
7d9882c04d
Fix dependency on non-OpenSim version of OpenMetaverse.StructuredData.dll.
2009-02-16 02:27:51 +00:00
Mike Mazur
5277fc64c0
- change AssetInventoryServer config from XML to INI
...
- convert AssetInventoryServer logging to OpenSim's log4net
- updated AssetInventoryServer.ini.example file
2009-02-16 02:27:43 +00:00
Mike Mazur
529dd66ed0
- remove dependency on ExtensionLoader.dll (DBConnString.cs can go)
...
- bring config system in line with other servers
- add new plugin filter class which filters on ID
- update AssetInventoryServer.ini file
2009-02-16 02:27:34 +00:00
Mike Mazur
f8ea274090
- asset server functionality works with OpenSim's HttpServer
...
- start of removal of AssetInventoryServer.Metadata class
2009-02-16 02:27:25 +00:00
Mike Mazur
07b8d51da8
AssetInventoryServer now compiles while using the standard OpenSim
...
console and HttpServer. It doesn't work though.
2009-02-16 02:27:17 +00:00
Mike Mazur
1778f799ba
Update to new generic DataPluginFactory calls.
2009-02-16 02:27:09 +00:00
Mike Mazur
f1e71ca5e1
- add list for backend plugins and Dispose() all plugins on shutdown
...
- fix some plugin names
- remove most references to ExtensionLoader
- remove commented out AssetInventoryServer blobs from prebuild.xml
2009-02-16 02:27:01 +00:00
Mike Mazur
932e591e05
Move NullAuthentication and AuthorizeAll extensions to plugins.
2009-02-16 02:26:52 +00:00
Mike Mazur
02cf9f7e9f
Move BrowseFrontend and ReferenceFrontend to
...
OpenSim/Grid/AssetInventoryServer/Plugins.
2009-02-16 02:26:44 +00:00
Mike Mazur
af64c1ee9e
Migrate OpenSim inventory frontend to load with Mono.Addins. Everything
...
should compile and it seems even creating users works somehow.
2009-02-16 02:26:36 +00:00
Mike Mazur
74a2bd237a
Add OpenSim & Simple inventory storage plugins and Null metrics plugin.
2009-02-16 02:26:27 +00:00
Mike Mazur
3f3dfd7ac1
- added Simple AssetInventoryServer plugin (asset storage only)
...
- removed OpenSim storage and frontend classes in Extensions dir
- put OpenSim plugins in
OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim namespace
2009-02-16 02:26:18 +00:00
Mike Mazur
dbee7fcb21
- implement and load NullMetrics module in AssetInventoryServer
...
- update AssetBase de/serialization in AssetInventoryServer
2009-02-16 02:26:09 +00:00
Mike Mazur
98b5e5062e
- IAssetProviderPlugin was changed to IAssetDataPlugin
...
- Use OpenSim.Data.DataPluginFactory to load data plugins
2009-02-16 02:26:01 +00:00
Mike Mazur
9e88cef033
AssetInventoryServer plugins can't be a dependency for the OpenSim.Data.MySQL addin.
2009-02-16 02:25:53 +00:00
Mike Mazur
16fa7f516a
Converted to Linux newlines.
2009-02-16 02:25:44 +00:00
Mike Mazur
617016fa68
Added OpenSim asset frontend plugin.
2009-02-16 02:25:36 +00:00
Mike Mazur
8d30472551
Rename NewAssetServer AssetInventoryServer and fully qualify with
...
OpenSim.Grid.AssetInventoryServer.
2009-02-16 02:25:25 +00:00
Mike Mazur
b3c0cea024
- add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for OpenSim.Data.*.addin.xml
...
- remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml
- add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
2009-02-16 02:25:15 +00:00
Mike Mazur
0e09b4a08b
Adding
...
- NewAssetServer code
- NewAssetServer addin manifest
- example AssetServer.ini file
2009-02-16 02:24:57 +00:00
Melanie Thielker
37a00427bc
Thank you, cmickeyb, for a patch to ass two string functions
...
to OSSL.
Fixes Mantis #3173
2009-02-16 01:58:26 +00:00
Melanie Thielker
7d77e0e703
Thank you, patnad, for a patch that adds 3 new discovery functions
...
to OSSL.
Applied with changes.
Fixes Mantis #3172
2009-02-16 01:22:37 +00:00
diva
312b0f91c4
More guards around SetHeight.
2009-02-15 20:02:13 +00:00
idb
98e7ea015c
Fix exception when standing up.
...
Fixes Mantis #3170
2009-02-15 16:12:58 +00:00
Melanie Thielker
272a319a3e
Thank you, Vytek, for a patch that streamlines the delay in the email
...
module and changes SMTP authentication (applied with changes)
Fixes Mantis #3168
2009-02-15 13:54:34 +00:00
diva
9b19c65450
Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain when it's 0.
2009-02-15 06:12:11 +00:00
diva
52c5b75174
Moving SendInitialData sort of back to where it was before, so that it doesn't interfere with the unit tests.
2009-02-15 05:50:07 +00:00
diva
3d5a9e6748
This started as way to correct Mantis #3158 , which I believe should be fixed now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
2009-02-15 05:00:58 +00:00
Dahlia Trimble
7731c055e4
Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150
2009-02-15 04:00:00 +00:00
Melanie Thielker
7ea2812a9e
Thank you, DoranZemlja, for a patch that addresses some moe llGetNextEmail
...
issues.
Fixes Mantis #3145 .
2009-02-15 01:06:03 +00:00
Charles Krinke
38b1f2dbfc
Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Added tests for manager, user and group lists.
* Added test for ban list. The test had to be left as ignored as
native MySQL throws exception when ban is saved.
* Added utility class to support parametrized unit tests for range checking.
2009-02-14 22:31:39 +00:00
diva
a2d17dfff1
Restores the HGWorldMap functionality that has been reduced since a recent refactoring of the WorldMapModule.
2009-02-14 21:26:20 +00:00
Melanie Thielker
4bc52888be
Thank you, DoranZemlja, for a patch that implements local inter-object email
...
delivery.
Leaving Mantis #3145 open so that more code can be added.
2009-02-14 21:25:22 +00:00
Charles Krinke
3542630478
Remove the "?" that I inadvertently got into the first line
...
of EstateRegionLink.cs
2009-02-14 20:03:16 +00:00
Charles Krinke
a583d8ad70
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Created value object for EstateRegionLink for storing the estate region relationship.
* Refactored slightly NHibernateManager and NHibernateXXXXData implementations for accesing nhibernate generated ID on insert.
** Changed NHibernateManager.Save method name to Insert as it does Insert.
** Changed NHibernateManager.Save return value object as ID can be both UUID and uint currently.
** Changed NHibernateManager.Load method Id parameter to object as it can be both UUID and uint.
* Created NHibernateEstateData implementation. This is the actual estate storage.
* Created NHibernate mapping files for both EstateSettings and EstateRegionLink
* Created MigrationSyntaxDifferences.txt files to write notes about differences in migration scripts between different databases.
* Created estate storage migration scripts for all four databases.
* Created estate unit test classes for all four databases.
* Updated one missing field to BasicEstateTest.cs
* Tested NHibernate unit tests with NUnit GUI. Asset databases fail but that is not related to this patch.
* Tested build with both Visual Studio and nant.
* Executed build tests with nant succesfully.
2009-02-14 19:47:02 +00:00
idb
67b0ba71da
Add an override for the % operator.
...
Fixes Mantis #3157
2009-02-14 18:09:08 +00:00
diva
622e7b4c7d
This hopefully fixes a long-standing annoying behavior related to neighbour regions going up & down while avies are logged in (mantis #2701 , perhaps? maybe not). This is the bug mentioned 2 commits ago. If this proves to work well in OSGrid, there's a lot of old code cleaning to do.
2009-02-14 17:17:48 +00:00
diva
5655233ad0
Making initialized an instance variable again. My last commit wrote over justin's r8383, for some strange reason.
2009-02-14 16:56:37 +00:00
diva
217ffee8cb
Moved RegionUp to REST/LocalComms. The original functionality has been entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-14 16:37:55 +00:00
Melanie Thielker
d31bf02eaf
Thank you, patnad, for a patch that removes the "Subdivision of" text
...
when dividing land.
Fixes Mantis #3154
2009-02-14 12:24:26 +00:00
idb
63a1cab7fe
Correct llGetNumberOfPrims to include sitting avatars in the count.
2009-02-13 21:56:50 +00:00
Justin Clarke Casey
bc9a013f52
* minor: remove mono compiler warnings
2009-02-13 20:51:22 +00:00
Melanie Thielker
a8f3d625cb
Guard the values used to set the cursor position in the real time console
2009-02-13 20:49:23 +00:00
Justin Clarke Casey
b71d68c9bc
* Change static field "initialized" in RestInterregionComms to an instance field
...
* This was the cause of teleport tests interfering with each other
2009-02-13 20:12:11 +00:00
Justin Clarke Casey
d307109e1a
* refactor: move alert commands from Scene to DialogModule
2009-02-13 19:03:18 +00:00
Justin Clarke Casey
a46c9b0eea
* Quieten down log messages from the Friends module
2009-02-13 18:02:24 +00:00
Justin Clarke Casey
d31810d548
* add file missing from last commit
2009-02-13 17:41:48 +00:00
Justin Clarke Casey
92232663e4
* refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModule
2009-02-13 17:40:52 +00:00
Justin Clarke Casey
3b147f814f
* Remove old Scene.CreateTerrainTexture code that is now handled by the world map module
2009-02-13 17:15:49 +00:00
Justin Clarke Casey
42bd38960c
* Apply http://opensimulator.org/mantis/view.php?id=3149
...
* If the texture does not contain any discard levels the last image packet was not sent
* Thanks Snowdrop
2009-02-13 17:02:26 +00:00
Justin Clarke Casey
88b273bc71
* refactor: Move export map function to world map module from scene
2009-02-13 16:43:20 +00:00
Dr Scofield
6600a7a9bc
fixing crash due to make-child and make-root stepping on each other's toes
2009-02-13 16:11:52 +00:00
diva
1b4a615690
Commented the tests for region crossings for now -- they need to be substantially changed because of the callback from region B triggered by the client.
2009-02-13 04:08:28 +00:00
diva
96113e5660
And finally... region crossings entirely over RESTComms/LocalComms. No more remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
2009-02-13 03:45:08 +00:00
Jeff Ames
163c1026d1
Fix some compiler warnings. Minor formatting cleanup.
2009-02-13 02:52:08 +00:00
Jeff Ames
95d53d48d4
Add copyright headers. Minor formatting cleanup. Fix some compiler warnings. Fix some m_log declarations.
2009-02-13 02:06:28 +00:00
diva
a54758eef3
Bug fix in prim crossing: making it clear when the local object needs to be cloned (regions on the same instance) and when it doesn't (regions on different instances).
2009-02-13 00:49:58 +00:00
Mike Mazur
ebf268a593
Remove extra ID field from asset DB mapping. Mantis #3122 , fixes Mantis #3080 .
2009-02-13 00:02:26 +00:00
diva
ad1e2e0b8b
Fixes a bug in the ScenePresence test itself.
2009-02-12 23:38:41 +00:00
diva
7a274a7e1d
Makes region crossings asynchronous. Moved the bulk of the original code out of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop.
...
Note: weirdnesses may occur!
2009-02-12 23:23:44 +00:00
Justin Clarke Casey
9177f28710
* Make it possible to load and save inventory archives while a user is not logged in on standalone mode but not on grid mode
...
* No user functionality yet
2009-02-12 19:54:19 +00:00
Sean Dague
5959e42683
large scale fix for svn props after "the great refactor"
2009-02-12 18:59:45 +00:00
Justin Clarke Casey
6db1f3c6a6
* Lock remaining m_rpcHandlers use since these accesses are not guaranteed to be thread safe
2009-02-12 18:54:48 +00:00
diva
8ed9c3b8cd
Commented a couple of not very useful log messages that are cluttering the log in sims that have objects belonging to foreign users.
2009-02-12 18:43:49 +00:00
Justin Clarke Casey
e2b2ac8715
* Remove a change which shouldn't have made it into the last commit
...
* Rogue change affected grid only
2009-02-12 18:37:27 +00:00
Justin Clarke Casey
34ef01615c
* Add missing OpenSIm.Framework.Communications ref for Wdinwos builds
2009-02-12 18:31:56 +00:00
Justin Clarke Casey
d29e0498ff
* Apply http://opensimulator.org/mantis/view.php?id=3138
...
* Adds a GetXmlRPCHandler() to the BaseHttpServer
* Thanks mpallari
2009-02-12 18:01:29 +00:00
Justin Clarke Casey
f74326c1b0
* move userinfo for inventory archiving up to module class so that it only has to be done once
2009-02-12 17:41:09 +00:00
Justin Clarke Casey
e7427f21bd
* Remove some pointless CachedUserInfo != null tests since these are already made in earlier code
2009-02-12 17:17:04 +00:00
Justin Clarke Casey
31ca3a8d4d
* refactor: Move RequestInventoryForUser() from service to CachedUserInfo
...
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
Sean Dague
058ec414b4
* Added XEngine tests and gathered other ScriptEngine
...
Tests together
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
lbsa71
84d56bc515
* Some more CCC
2009-02-12 10:30:53 +00:00
lbsa71
6187888456
* Renamed RegionProfileService to RegionProfileServiceProxy to better reflect actual use.
...
* Added IRegionProfileService
2009-02-12 10:21:21 +00:00
lbsa71
c3a4810e91
* Turned RegionProfileService non-static
2009-02-12 10:16:11 +00:00
lbsa71
792b7cba2f
* Applied some CCC (Code Convention Conformance)
2009-02-12 10:08:47 +00:00
lbsa71
fa796308c3
* Added RegionProfileService and moved RequestSimData to it.
2009-02-12 10:05:15 +00:00
lbsa71
801da4346a
* optimized usings.
2009-02-12 09:53:12 +00:00
Dahlia Trimble
d21601d497
Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Mantis #3134
2009-02-12 07:58:10 +00:00
diva
4ee99e2aab
Sending this to Justin, so that he can see what's wrong with the StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests.
2009-02-12 04:26:13 +00:00
diva
98bfeabf94
Makes ban of HG users exactly the same as ban of local users, that is upon AddClient and not before.
2009-02-12 02:03:36 +00:00
diva
5dae1ddb5a
Fixes mantis #3121 .
2009-02-12 01:09:51 +00:00
diva
b6e7e5ed42
Enforce estate bans on Teleports.
2009-02-11 21:07:41 +00:00
Justin Clarke Casey
83105211bc
* minor: remove some mono compiler warnings
2009-02-11 20:36:17 +00:00
Justin Clarke Casey
9b6035c2a6
* When an inventory archive is loaded, immediately update the client's inventory if that client is online at that region server
...
* Not useable yet
2009-02-11 20:24:41 +00:00
Justin Clarke Casey
8645c7482d
* Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode
2009-02-11 19:57:45 +00:00
Justin Clarke Casey
e12981ef1b
* Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase
2009-02-11 19:29:59 +00:00
Justin Clarke Casey
162a59ba17
* Refactor inventory archive code to allow direct invocation in order to support future unit tests
...
* Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-11 18:46:51 +00:00
Justin Clarke Casey
04d6a810b6
* More inventory archive invocation to a proper region module
...
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Charles Krinke
6b187ae196
Thank you kindly, FrankNichols for a patch that:
...
The following patch fixes http://opensimulator.org/mantis/view.php?id=3107
[^] by changing call from setRot to llSetRot, the later handles
child prim being rotated relative to root prim in linked set.
2009-02-11 16:01:56 +00:00
Dr Scofield
f70e580f86
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:
[RegionReady]
enabled = true
channel_notify = -800
The module also knows if there was an error with startup.
2009-02-11 14:35:07 +00:00
Melanie Thielker
c754160dee
If an instance contains only one region, select it in the console by default
2009-02-10 23:40:22 +00:00
Sean Dague
83347360c3
fix a typo where the High Southwest height was getting set to the Low
...
Southwest height
2009-02-10 23:31:49 +00:00
Melanie Thielker
9bfbfa381a
Add proper handling for shared vs. unshared modules to the command
...
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
diva
b4be9baa4a
Fixes the problem of attachment offset after crossings/TPs. Hopefully it fixes mantis #3126 , as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject.
2009-02-10 22:54:05 +00:00
Justin Clarke Casey
8c157a7aae
* Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
...
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Justin Clarke Casey
bd4955468e
* minor: Remove SOG XML2 serialization log messages for now
2009-02-10 19:00:10 +00:00
Justin Clarke Casey
0cd5a353cf
* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack
2009-02-10 18:50:25 +00:00
Justin Clarke Casey
25bc7a44cd
* Implement merging of oars in code
...
* Not fully tested yet and not yet available as an option from the user console
2009-02-10 18:43:36 +00:00
Justin Clarke Casey
879338499f
* extend load oar test to check that an object was actually loaded
2009-02-10 16:56:35 +00:00
Justin Clarke Casey
566bc33824
* Fix build break, parentheses in the wrong place
2009-02-10 15:46:38 +00:00
Justin Clarke Casey
5b7a5696e5
* Overwrite the old saved OpenSim.ini file saved in response to a crash if one already exists
2009-02-10 15:35:41 +00:00
Melanie Thielker
87f328bd30
Change the command parser and resolver to be able to disambiguate commands
...
that are a prefix of another command. Fixes "terrain load"
Fixes Mantis #3123
2009-02-10 14:39:04 +00:00
Dr Scofield
a99285ecc6
fixing ConciergeModule to follow coding conventions
2009-02-10 14:32:23 +00:00
Sean Dague
ac6657d0f1
From Rob Smart <SMARTROB@uk.ibm.com>
...
In SL if llAbs() is called with the minimum integer value of -2147483648
it will return that value untouched without error.
this patch replicates the SL functionality.
OpenSim currently throws an overflow exception: number too small under
mono or a "System.OverflowException: Negating the minimum value of a
twos complement number is invalid. " under .NET
2009-02-10 13:36:42 +00:00
Dr Scofield
180be7de07
this is step 2 of 2 of the OpenSim.Region.Environment refactor.
...
NOTHING has been deleted or moved off to forge at this point. what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:
- OpenSim.Region.CoreModules: all those modules that are either
directly or indirectly referenced from other OpenSim packages, or
that provide functionality that the OpenSim developer community
considers core functionality:
CoreModules/Agent/AssetTransaction
CoreModules/Agent/Capabilities
CoreModules/Agent/TextureDownload
CoreModules/Agent/TextureSender
CoreModules/Agent/TextureSender/Tests
CoreModules/Agent/Xfer
CoreModules/Avatar/AvatarFactory
CoreModules/Avatar/Chat/ChatModule
CoreModules/Avatar/Combat
CoreModules/Avatar/Currency/SampleMoney
CoreModules/Avatar/Dialog
CoreModules/Avatar/Friends
CoreModules/Avatar/Gestures
CoreModules/Avatar/Groups
CoreModules/Avatar/InstantMessage
CoreModules/Avatar/Inventory
CoreModules/Avatar/Inventory/Archiver
CoreModules/Avatar/Inventory/Transfer
CoreModules/Avatar/Lure
CoreModules/Avatar/ObjectCaps
CoreModules/Avatar/Profiles
CoreModules/Communications/Local
CoreModules/Communications/REST
CoreModules/Framework/EventQueue
CoreModules/Framework/InterfaceCommander
CoreModules/Hypergrid
CoreModules/InterGrid
CoreModules/Scripting/DynamicTexture
CoreModules/Scripting/EMailModules
CoreModules/Scripting/HttpRequest
CoreModules/Scripting/LoadImageURL
CoreModules/Scripting/VectorRender
CoreModules/Scripting/WorldComm
CoreModules/Scripting/XMLRPC
CoreModules/World/Archiver
CoreModules/World/Archiver/Tests
CoreModules/World/Estate
CoreModules/World/Land
CoreModules/World/Permissions
CoreModules/World/Serialiser
CoreModules/World/Sound
CoreModules/World/Sun
CoreModules/World/Terrain
CoreModules/World/Terrain/DefaultEffects
CoreModules/World/Terrain/DefaultEffects/bin
CoreModules/World/Terrain/DefaultEffects/bin/Debug
CoreModules/World/Terrain/Effects
CoreModules/World/Terrain/FileLoaders
CoreModules/World/Terrain/FloodBrushes
CoreModules/World/Terrain/PaintBrushes
CoreModules/World/Terrain/Tests
CoreModules/World/Vegetation
CoreModules/World/Wind
CoreModules/World/WorldMap
- OpenSim.Region.OptionalModules: all those modules that are not core
modules:
OptionalModules/Avatar/Chat/IRC-stuff
OptionalModules/Avatar/Concierge
OptionalModules/Avatar/Voice/AsterixVoice
OptionalModules/Avatar/Voice/SIPVoice
OptionalModules/ContentManagementSystem
OptionalModules/Grid/Interregion
OptionalModules/Python
OptionalModules/SvnSerialiser
OptionalModules/World/NPC
OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Melanie Thielker
a1393db7f0
Stopgap measure: To use gridlaunch, or GUI, start opensim with
...
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
diva
08ef0ddd22
Commented out a problematic test that needs more careful revision.
2009-02-10 00:15:30 +00:00
diva
d9d5a56f1d
Fixes a failed unit test on ScenePresences tests. That test unit needs some fixing too.
2009-02-09 23:12:49 +00:00
Jeff Ames
a3d14832af
Update svn properties, minor formatting cleanup.
2009-02-09 22:49:05 +00:00
diva
2c685bff14
Moved prim crossing out of OGS1 and into RESTComms and LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011 , mantis #1698 . Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP.
...
The two most notable changes in the crossing process were:
* Object gets passed in only one message, not two as done before.
* Local object crossings do not get serialized, as done before.
2009-02-09 22:27:27 +00:00
Charles Krinke
29f54db90a
Thank you kindly, TLaukkan (Timmil) for a patch that:
...
* Fixed and added athursv's BasicEstateTest
* Added MySQLEstateTest
* Added SQLiteEstateTest
2009-02-09 22:07:27 +00:00
Sean Dague
b7cc4d73b7
oops, missing file from last patch set
2009-02-09 22:04:43 +00:00
Sean Dague
8088802c21
From Alan Webb <awebb@linux.vnet.ibm.com>
...
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.
This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
2009-02-09 21:47:55 +00:00
Charles Krinke
70051278c4
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Updated migration scripts and hbm.xml so that nhibernate tests work.
2009-02-09 21:44:39 +00:00
Justin Clarke Casey
a034b640da
* Add the ability to type help <command> for more detailed help about a specific command if any is available
2009-02-09 20:52:04 +00:00
Sean Dague
66dc421be7
a last set of files that seem to have embedded ^M in them
2009-02-09 20:06:06 +00:00
Justin Clarke Casey
d1d93fae6c
* Restore show information for the OpenSim region server (version, info, threads, etc.)
2009-02-09 18:11:09 +00:00
Justin Clarke Casey
eddcf620d8
* Apply http://opensimulator.org/mantis/view.php?id=3080
...
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate
* mikem has seen this patch :)
2009-02-09 17:31:03 +00:00
Justin Clarke Casey
828049ac8f
* Apply http://opensimulator.org/mantis/view.php?id=3094
...
* Add NHibernate PostgreSQL database tests.
* Tests not yet being run as the PostgreSQL module is not yet fully functional
2009-02-09 17:02:10 +00:00
Melanie Thielker
2fe9915951
Reinstate the KickUserCommand handler, which was commented out by
...
another dev whiel I was putting the reference to it back in
2009-02-09 16:34:21 +00:00
Melanie Thielker
8a9128ccce
Correct a delegate in OpenSim.cs
...
Fixes Mantis #3117
2009-02-09 16:21:13 +00:00
Justin Clarke Casey
f95b8b3863
* Reinstate tests that are now in CoreModules
2009-02-09 15:57:53 +00:00
Sean Dague
56318f97bf
* Fixing refactoring +1 (Fixes Mantis #3113 )
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-09 15:40:31 +00:00
Dr Scofield
b1739cbbfd
fixing warnings.
2009-02-09 10:40:12 +00:00
Dr Scofield
07804f6937
This patch implements llLookAt to the extent that an object will correctly
...
rotate and point to the target, however it doesnt yet use the damping or
strength parameters.
From: Robert Smart <smartrob@uk.ibm.com>
2009-02-09 10:04:54 +00:00
Dr Scofield
11f0ac88ee
fixing refactoring artefact. (fixes mantis #3113 )
2009-02-09 09:45:09 +00:00
Dr Scofield
a89d097355
starting phase 2 of the OpenSim.Region.Environment commit: relocating
...
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-09 09:16:15 +00:00
Mike Mazur
9a33a4733e
Thanks Tommi Laukkanen for a patch that allows the
...
CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to
pass on Windows. Fixes Mantis #3104 .
2009-02-09 00:59:02 +00:00
Mike Mazur
d01fffb8b5
Remove unused OpenSim/Data/{DataStore,InventoryData}Base.cs.
2009-02-09 00:34:01 +00:00
Mike Mazur
369eef5fcd
The DataPluginFactory is now a set of generic methods instead of
...
multiple duplicates of the same code.
2009-02-09 00:33:44 +00:00
Teravus Ovares
d85fce99f4
* Once again, fixing linked prim collisions by putting AbsolutePosition = AbsolutePosition; back in the linking routine. Why was it removed? It's critical to the physics scene.
...
* Fixes mantis #3108
2009-02-08 18:05:12 +00:00
Teravus Ovares
c0c330988f
* Some minor cleanup
...
* sealed OdeScene
2009-02-08 17:41:15 +00:00
Teravus Ovares
26ca3e26bf
Reverts patch from tuco/mikkopa/sempuki mantis #3072
2009-02-08 17:25:02 +00:00
Dahlia Trimble
8cc327cfa3
send group name in binary bucket in chatterbox invitation eventqueue message
2009-02-08 10:50:22 +00:00
Teravus Ovares
b60931b686
* Limit the total number of joints created per frame to the maximum possible without causing a stack collision.
...
* This fixes crashing on large sets of physical prims because of stack collisions (assuming you follow the directions on linux for starting ode with ulimit). After the maximum joints are created, objects will start to fall through the ground and be disabled. Not the best solution, but it's better then a crash caused by a stack collision with the process exceeding the maximum available memory/recursions per thread.
* Make a clean region, make a stack of 5000 prim, 20 layers high. Make them physical, *SLOW*, but no crash.
2009-02-08 03:02:43 +00:00
Teravus Ovares
08a9a85376
* Fixes colliding with the terrain lower then 0 and higher then 256m
...
* The actual AABB of the heightfield on the Z is now determined by the minimum and maximum heightfield value in the terrain array (assuming it's a reasonable number). This might optimize collisions in simulators that have a small difference between minimum and maximum heightfield values.
2009-02-08 01:05:09 +00:00
diva
665269a277
* Removed the duplicate AddCapsHandler that existed in ScenePresence.MakeRootAgent; CAPs are already in place when this runs.
...
* Moved MoveAgentIntoRegion further down in the CompleteMovement method.
* changed a couple of methods from protected to public in SceneCommunicationService
2009-02-08 00:54:56 +00:00
diva
0031489072
Bug fix related to the filling out the remoting port in RegionInfo. It still must be there because of attachments.
2009-02-07 23:51:30 +00:00
lbsa71
262acf61c4
* Refactored UserLoginService.CustomiseResponse to be (almost) text-wide identical to LocalLoginService.CustomiseResponse in order to be able to pull them up.
2009-02-07 20:16:58 +00:00
Charles Krinke
63fd4c0fb2
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
Created nunit test for LSL API and example test for
llAngleBetween which was marked untested in wiki.
Run new test succesfully with NUnitGUI and nant build.
2009-02-07 18:11:04 +00:00
diva
ff0fa12903
Adds support for HG linking to specific regions within an instance. The format is Host:Port:Region. Refactored the linking code from MapSearchModule to HGHyperlink, so that it can be used both by the MapSearchModule and the Console command.
2009-02-07 16:10:23 +00:00
Melanie Thielker
e4ab15ccb1
Fix a .NET issue where changing a locked reference would cause a crash
2009-02-07 15:51:00 +00:00
Sean Dague
6bd2979486
the parameters for llAtan2 were inverted before passing to Math.
...
Thanks to Rob Smart for pointing this out.
2009-02-07 13:16:27 +00:00
Melanie Thielker
54c6a920ba
Replace the console for all OpenSim apps with a new console featuring command
...
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
lbsa71
4d4402158e
Thank you dslake for a patch that:
...
* fixes mantis #3092 : User Server sets agent starting position to passed x/y/x instead of x/y/z
2009-02-07 09:45:56 +00:00
Justin Clarke Casey
a6b21a3b83
* minor: Apply second patch from http://opensimulator.org/mantis/view.php?id=3089
...
* This adds more explanation for the new proxy settings in OpenSim.ini.example
* Also does some formatting correction
* I did some additional reformatting on top of that
2009-02-06 21:56:50 +00:00
Justin Clarke Casey
fae20712a9
* reinstate OpenSim/Region/Framework/Scenes/Tests
...
* should bring us back up to 240 tests
2009-02-06 21:37:10 +00:00
Justin Clarke Casey
84659396b8
* Make the module loader display which module failed if there was a loading problem
...
* Such failures are now fatal to grab the user's attention.
* However, they could be made non-fatal (just with a loud error warning) if this proves too inconvenient
2009-02-06 19:12:04 +00:00
Justin Clarke Casey
00a3cbd6fa
* Implement help <command> from the region console
...
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield
9b66108081
This changeset is the step 1 of 2 in refactoring
...
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
lbsa71
3bc6eb1ff0
* removed superfluous constants class
2009-02-06 15:01:20 +00:00
Dahlia Trimble
3465447e17
more eventqueue endian madness
2009-02-06 09:58:23 +00:00
Dahlia Trimble
5cef64f564
move RegionDenyAgeUnverified parameter to AgeVerificationBlock in parcel properties event queue message. Addresses Mantis#3090
2009-02-06 08:53:30 +00:00
Dahlia Trimble
28820e6185
Thanks cmickyb for a patch (Mantis#3089) that adds support for proxy in http requests
2009-02-06 01:25:59 +00:00
Justin Clarke Casey
f8c372721b
* minor: remove mono compiler warning
2009-02-05 22:03:23 +00:00
Justin Clarke Casey
fae5d25e82
* Apply http://opensimulator.org/mantis/view.php?id=3056
...
* Clamps negative values to zero when a terrain is exported in LLRAW format, since LLRAW doesn't support negative values.
* Thanks jonc!
2009-02-05 21:54:22 +00:00
Justin Clarke Casey
10aa027ec8
* Remove CommanderTestModule as there are several normal modules which effectively fulfil this function
2009-02-05 21:46:57 +00:00
Justin Clarke Casey
3027b6ad27
* cheap hack to make module help information more accurately reflect what command text needs to be typed
...
* Should disappear soon
2009-02-05 21:46:04 +00:00
Justin Clarke Casey
732cd838b1
* Make existing module commanders register as help topics
...
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey
9a666bda02
* Use the commander name to register module commanders instead of providing the information twice
2009-02-05 19:54:22 +00:00
Justin Clarke Casey
65448cd02d
* refactor: Split out module Command class into a separate file
2009-02-05 19:34:23 +00:00
Justin Clarke Casey
18100eee50
* Remove unused region info list from OpenSimBase.
...
* The same information is available via SceneManager
2009-02-05 18:47:39 +00:00
Justin Clarke Casey
d04025ff3d
* refactor: Move module handling code up into SceneBase from Scene, reducing the large number of different things that Scene does
2009-02-05 18:36:53 +00:00
Sean Dague
efcf00ee60
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This patch fixes the problem where if an object containing a script is
deleted at the same time as an object containing the same script is
rezzed, it can result in the assembly file being deleted after the
second object script initialisation has found it but not started using
it yet, resulting in the script not starting up.
2009-02-05 16:12:51 +00:00
Teravus Ovares
2a998d6cd7
* Add the second version of the experimental ObjectAdd Cap. It will handle both versions currently.
2009-02-05 13:43:36 +00:00
Teravus Ovares
8f31210432
* Committing an experimental ObjectAdd module. Intended to work with http://jira.secondlife.com/browse/VWR-8049 .
...
* Catherine contacted us and gave us a LLSD dump to study for implementation.
* Still needs to be tested. May not produce expected results.
2009-02-05 06:44:46 +00:00
Justin Clarke Casey
577064fb9d
* minor: remove deprecated and unused terrain method from SceneManager
...
* other minor tidy up
2009-02-04 20:37:20 +00:00
Justin Clarke Casey
a1da605706
* Introduce a new "default" option for asset_database in the [STORAGE] section
...
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
diva
be3e676d33
Addresses a race condition that happened between the viewer and the departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
2009-02-04 16:31:48 +00:00
MW
8d6bd1b650
Added a ForceSceneObjectBackup method to Scene, which as it says forces a database backup/update on the SceneObjectGroup.
...
This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object.
Fix Mantis #1004
Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set.
It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04 16:00:39 +00:00
diva
cf1fd7de4a
Closing the requestStream and setting a 10 sec timeout for getting it.
2009-02-04 13:13:47 +00:00
Mike Mazur
0c03a48fb2
- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of it
...
- trim trailing whitespace
2009-02-04 00:01:36 +00:00
Justin Clarke Casey
1adb8c33b2
* Add another object to the existing save oar test
2009-02-03 20:45:18 +00:00
Justin Clarke Casey
1c0df5e40f
* Address http://opensimulator.org/mantis/view.php?id=3076 by actually eliminating the redundant enable = true commented example
...
* Comment out some startup verbosity from the module if we haven't enabled it
2009-02-03 20:16:15 +00:00
Justin Clarke Casey
2009d1aa01
* Fission SceneObjectTests into basic and linking sets
2009-02-03 20:13:34 +00:00
Justin Clarke Casey
984cf94375
* Lock the parts for the old group while we're clearing it as well - not much point doing one without the other
...
* Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
2009-02-03 19:36:57 +00:00
Justin Clarke Casey
cff7664a37
* Mark the old group after linking as deleted
...
* Add unit test assertions to check this
2009-02-03 19:13:17 +00:00
diva
4ea2749b37
OK, commenting the return again :-/
2009-02-03 19:03:01 +00:00
Justin Clarke Casey
b2de0a3ae6
* Now clearing parts list in the old group after a link has occurred
...
* Adjusted existing link tests to reflect this and added some new assertions
2009-02-03 18:48:04 +00:00
Justin Clarke Casey
35f9f2545d
* Lock parts while they're being duplicated to prevent possible race conditions with other parts changers
...
* This shouldn't provoke any deadlocks since the callers aren't taking any other locks beforehand
2009-02-03 18:06:24 +00:00
Justin Clarke Casey
a9e76ce847
* minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone()
2009-02-03 17:50:25 +00:00
Teravus Ovares
c80733cc98
* Fixes mantis #3070
2009-02-03 14:11:52 +00:00
Mike Mazur
949ae6136e
Change access levels from private to protected to facilitate
...
subclassing; also add new method signatures. Thanks tuco and mikkopa.
Fix Mantis #3072 .
2009-02-03 08:31:08 +00:00
Mike Mazur
52deb50884
Embed OpenSim.Data.addin.xml as a resource into OpenSim.Data.dll.
2009-02-03 05:20:52 +00:00
Mike Mazur
d259238c74
- moved data plugin loading code from various places to
...
OpenSim/Data/DataPluginFactory.cs
- removed dependencies on a few executable assemblies in
bin/OpenSim.Data.addin.xml
- trim trailing whitespace
2009-02-03 05:20:44 +00:00
Mike Mazur
d3eae4073e
- move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.cs
...
- trim trailing whitespace
2009-02-03 05:20:35 +00:00
Mike Mazur
9377c6f2b2
- move OpenSim/Framework/IInventoryData.cs to
...
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Mike Mazur
e12b0a2496
- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
...
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur
f8e45e8e98
Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins.
2009-02-03 05:20:03 +00:00
Justin Clarke Casey
2c2f10e156
* Establish OnOarFileSaved EventManager event and subscribe to that instead of passing in a waithandle to the archiver
...
* This matches the existing OnOarFileLoaded event
* This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-02-02 20:59:12 +00:00
Justin Clarke Casey
13a5243d76
* As per http://opensimulator.org/mantis/view.php?id=3065
...
* Copy OpenSim.ini to _OpenSim.ini on crash instead of opensim.ini
* This makes it work on Linux/Mac(?) as well as Windows
2009-02-02 20:01:50 +00:00
idb
49946cb7aa
Restore llGetSunPosition to its former self.
...
Fixes Mantis #2195
2009-02-02 19:20:12 +00:00
Justin Clarke Casey
176920f8d3
* Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
...
* Add default information for other chat settings
2009-02-02 17:27:23 +00:00
Justin Clarke Casey
6f9c1e3bcc
* Stop the instant message module from trying to register for the message transfer module in PostInitialise() if it hasn't actually been enabled
2009-02-02 17:22:20 +00:00
Justin Clarke Casey
e0cef010f3
* Small tweak to move name replacement in friendship offer since server side requests don't want the lookup
2009-02-02 17:19:57 +00:00
Dr Scofield
3682212fbf
[previous VectorRender patch was from: Robert Smart
...
<SMARTROB@uk.ibm.com>]
clean up.
2009-02-02 14:57:20 +00:00
lbsa71
8a098bf12c
* Minor refactoring and comments updates
...
* Ignored some gens
2009-02-02 14:57:01 +00:00
Dr Scofield
7ec667d279
[patching previous patch and also taking the chance of fixing the
...
previous commit message]
This patch reimplements the Draw method in the VectorRenderModule which is
used to create dynamic textures.
The previous version was limited to creating square dynamic textures, it
also didnt allow for dynamically loading an image containing transparency
except at 256x256.
The extraParams string in such functions as osSetDynamicTextureData can
now be passed a comma seperated string of name value pairs which set the
width,height and alpha value of dynamic textures. e.g.
"height:512,width:2048,alpha:255"
Backward compatibility is still preserved so passing the old params of
either a string integer "256" "512" will still work in the same fashion as
will passing "setAlpha" on its own
2009-02-02 13:58:01 +00:00
Dr Scofield
b9db1b1345
Merge branch 'vector' into OpenSimulator.org
2009-02-02 11:40:34 +00:00
lbsa71
4e5e70491b
* Removed erroneous reference to the Data.Base Framework
2009-02-02 11:27:58 +00:00
lbsa71
d91bc08737
* Removed the unused Data.Base Framework
2009-02-02 11:16:41 +00:00
Jeff Ames
496ed4488d
Minor formatting cleanup.
2009-02-02 09:01:00 +00:00
Teravus Ovares
aabaa35af7
* Adding the Tree module configuration options to OpenSim.ini.example
...
* Adding an option to use the tree module to manage the trees in the simulator (grow/reproduce/die)
* Setting it to off by default in an effort to reduce the number of threads in use by default
* You can also turn it on in a 'one off' way with 'tree active true' on the console. To 'one off' turn it off, it's 'tree active false'. The permanent way to do that, however is in the opensim.ini.
2009-02-02 06:04:03 +00:00
diva
dee6ad7154
Putting the return back in AddCapsHandler upon attempt at adding CAPs twice. The return seems to have been commented in 8038, as an attempt at fixing multiple TP problems later identified to be deadlocks. CAPs should never be overwritten, or the viewer can get confused. Right now this method is erroneously being called twice because of legacy code. I'll fix that later, after further testing.
2009-02-01 20:36:10 +00:00
Charles Krinke
50536c66a0
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
Added osTeleportAgent with region coordinates to
support hyper grid scripted teleports.
2009-02-01 17:41:33 +00:00
Teravus Ovares
469b35d2bb
* Adding a few fields to the Land data responder that the client is complaining about (and older clients are crashing on)
2009-02-01 17:16:36 +00:00
idb
aad843fc2c
Correct the method signature on llMakeFountain.
2009-02-01 15:12:32 +00:00
diva
3bd0df18b7
More on dynamic hyperlinks. Making the 4096 check (deregistration of region) work in grid mode.
2009-02-01 02:20:57 +00:00
diva
ff149ae197
Check for the 4096 limitation in dynamic region hyperlinks.
2009-02-01 00:59:42 +00:00
idb
1a14066aa6
Speed improvement mostly when sensing objects especially noticeable in a sim with many objects.
2009-01-31 19:02:09 +00:00
Charles Krinke
4a120e9dd5
Flesh out llGetAgentLanguage to return "en-us" until
...
we have an I18N committee for internationalization.
2009-01-31 18:27:44 +00:00
diva
9e29baa565
Initial support for dynamic HG hyperlinks. With this commit, remote sims can be linked (and TPed to) simply by searching on the map for things like this ucigrid03.nacs.uci.edu:9003 or by clicking on things like this in the chat history secondlife://ucigrid03.nacs.uci.edu:9003/ or by clicking on links like that on the embedded browser.
2009-01-31 18:13:22 +00:00
Teravus Ovares
85c0c0557e
* Tweaks some locks when modifying an ODECharacter. This actually allows a user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit.
...
* If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain. Once the sim finishes starting up, it'll all resume as normal.
2009-01-31 16:49:32 +00:00
diva
4db9373b29
Oops. Forgot a try-catch on the last commit.
2009-01-31 01:59:05 +00:00
diva
26f99de45d
Fixes mantis #3061 . Thanks Hallow Palmer for diagnosing the issue so well. I bet this inconsistency happens a lot out there.
2009-01-31 00:28:51 +00:00
diva
360eb239b3
Hopefully fixes mantis #3063 .
2009-01-31 00:15:13 +00:00
diva
e7a9ece410
Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it.
2009-01-30 23:53:41 +00:00
diva
36221a2c19
Added a new method SendGroupRootUpdate to start addressing mantis #3019 . ll functions have not been changed.
2009-01-30 23:23:02 +00:00
Justin Clarke Casey
e233aad098
* Put a wait timeout on the archive test, just in case the archiver never returns
2009-01-30 21:39:54 +00:00
Justin Clarke Casey
fa88dac539
* minor: remove some mono compiler warnings
2009-01-30 21:26:38 +00:00
Justin Clarke Casey
951c08933a
* In OpenSim.ini.example, list defaults for AllowOSFunctions and OSFunctionThreatLevel and change existing OpenSim.ini.example settings
2009-01-30 21:04:23 +00:00
Justin Clarke Casey
c307e0e4a7
* Extend archive save test to check for the presence of the file for the object that was in the scene
...
* Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-30 20:54:38 +00:00
Justin Clarke Casey
f351ab62ec
* furhter simplify test setups for objects
2009-01-30 18:38:32 +00:00
Justin Clarke Casey
7a751f6940
* minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this
2009-01-30 18:28:05 +00:00
Dr Scofield
1b0a398763
reporting original request URI if HttpWebRequest failed, adding
...
try-catch around GetRequestStream (this time for sure)
2009-01-30 14:45:39 +00:00
Jeff Ames
6126c687c1
Update svn properties, minor formatting cleanup.
2009-01-30 09:03:23 +00:00
Dahlia Trimble
7e17cec182
remove dummy parcel media settings from event queue message
2009-01-30 08:52:45 +00:00
Dr Scofield
587b079878
2009-01-30 08:49:00 +00:00
Dr Scofield
27df816184
fixing: client gets logged out when concierge's broker returns 500
...
response.
adding: more verbose error logging
2009-01-30 08:48:41 +00:00
Justin Clarke Casey
13f069b945
* If an orphaned group is found in the mysql or mssql databases (i.e. there is no prim where UUID = SceneGroupID), then force one prim to have UUID = SceneGroupID.
...
* A warning is posted about this on startup giving the location of the object
* This should allow one class of persistently undeletable prims to be removed
* This change should not cause any issues, but I still suggest that you backup your database beforehand
* If this doesn't work for previously linked objects, then you could also try the workaround in http://opensimulator.org/mantis/view.php?id=3059
* This change has been made to mysql and mssql, but sqlite appears to work in a different way
2009-01-29 20:08:04 +00:00
idb
ea6e4a95ce
Complete the implementation of llSHA1String.
2009-01-29 19:47:55 +00:00
Justin Clarke Casey
6e63e93ec7
* minor: just a few formatting changes and log quietening
2009-01-29 18:39:33 +00:00
Sean Dague
25e241837b
* Enhanced ScenePresenceTests. Now tests for region and prim crossing.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-28 19:23:20 +00:00
Dr Scofield
4cfa36ee8b
fix: client gets logged out when concierge's broker returns 500
...
response.
2009-01-28 18:58:49 +00:00
Dr Scofield
ce1e1854b1
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This changeset fixes a race condition where a script (XEngine run) can
startup before a reference is added to it in all of the required
places in the XEngine class. The effect of this is that a script can
sometimes on startup miss script events. For example a script which
starts up and initialises itself from a notecard may never receive the
dataserver event containing the notecard information.
The patch isn't as clean as I'd like - I've split the constructor of
ScriptInstance up so it does everything it did before except
call Startup and post events like state_entry and on_rez. An Init
function has been added which is called after the ScriptInstance
object has been added to the necessary data structures in XEngine.
Happy to rework it if someone suggests a better way of doing it.
2009-01-28 09:52:09 +00:00
Dr Scofield
a3ac702941
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Adding Oarfileloaded and EmptyScriptCompileQueue event support which
allows (with a module) for programmatic notification of when a region
objects and scripts are up and running after a server start or
load-oar.
2009-01-28 09:22:12 +00:00
Charles Krinke
fe18adbc11
Add in a stub for llSHA1String. I believe it is the only one new
...
function we were missing.
2009-01-28 04:50:25 +00:00
Mike Mazur
7aa216d574
Slight cleanup of docs, removing trailing whitespace.
2009-01-28 01:55:45 +00:00
Dahlia Trimble
0c712e9704
delete some commented out junk code notes
2009-01-27 06:20:03 +00:00
Dahlia Trimble
c747990187
Send groups list via event queue
2009-01-27 06:14:11 +00:00
Dahlia Trimble
54a1b9dbff
correct formatting if parcel description field in event queue message
2009-01-27 01:31:06 +00:00
Dahlia Trimble
fd76bc39fa
Correct a typo in the parcel properties event queue message which was preventing the display of authorized buyer
2009-01-27 00:51:14 +00:00
Dr Scofield
b1520fbfd2
2009-01-26 21:35:54 +00:00
Dr Scofield
92b6d1efbb
2009-01-26 21:35:38 +00:00
Dr Scofield
6cebb6e760
~ fixing bugs in ConciergeServer.py test code
...
~ fix bug in ConciergeModule: wrong closing tag for avatars list
2009-01-26 21:35:16 +00:00
Dr Scofield
0aafeb5da3
adding XML parsing to make sure POST content is welformed
2009-01-26 21:34:59 +00:00
Dr Scofield
10f7e534c9
+ adding URI substitution for concierges broker URI
2009-01-26 21:34:44 +00:00
Dr Scofield
0c14ebec87
~ moving test server script on level up
2009-01-26 21:34:27 +00:00
Dr Scofield
db46c75d72
~ moving test server script on level up
2009-01-26 21:33:53 +00:00
Dr Scofield
494cfdfe37
~ turning synchronous broker update into asynchronous one
2009-01-26 21:33:36 +00:00
Dr Scofield
8c4ac64d80
~ fix: Concierge reports avatar leaving region twice
...
~ cleaning up log statements
2009-01-26 21:33:20 +00:00
Dr Scofield
3b866df078
+ completed python test server
2009-01-26 21:32:59 +00:00
Dr Scofield
78db120b3d
+ adding test server for debugging purposes
2009-01-26 21:32:43 +00:00
Dr Scofield
0abc179a4e
~ extending attendee list to include agent name
...
+ code to generate full XML avatar list
+ code to POST XML snipplet
2009-01-26 21:32:24 +00:00
Dr Scofield
4464e59f75
adding timestamp as ISO 8601
2009-01-26 21:31:41 +00:00
Dr Scofield
d10d8af295
adding XML sniplet generation (start of)
2009-01-26 21:31:21 +00:00
Dr Scofield
464ecc15a0
starting draft attendee list notification support.
2009-01-26 21:31:02 +00:00
Dahlia Trimble
b112109d2c
swap endianness of parcel flags in event queue message
2009-01-26 20:06:31 +00:00
Teravus Ovares
fc75a2031e
* Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface.
2009-01-26 20:05:13 +00:00
Dahlia Trimble
4dace03696
add a definition for a parcel properties CAP
...
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
2009-01-26 10:42:24 +00:00
Dahlia Trimble
fa99f01378
more eventqueue IM nonsense
2009-01-26 08:04:12 +00:00
idb
b0cb272d12
Remove the addition of the region coordinates to obtain the absolute position of a prim/person on the grid. I believe it is superfluous and removes needed decimal places for short range sensors.
...
Fixes Manitis #3046
2009-01-25 21:13:42 +00:00
Homer Horwitz
b405d92260
* Fixed a small logical error in error handling of console commands.
...
* Console command help should be output to the console, not to the log (as "help" does it already). That allows getting help/answers even if you only log into a file.
Fixes Mantis#2916.
2009-01-25 16:12:55 +00:00
idb
aa2521623c
Add an override of the ! operator to lsl integer.
...
Fixes Mantis #3041
2009-01-25 10:17:26 +00:00
Adam Johnson
444320e4a6
Applied patch from #3012 Fixing a minor bug where nhibernate mappings from outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari!
2009-01-25 08:31:08 +00:00
Teravus Ovares
76206543e8
* Adds console command, 'predecode-j2k <number of threads>' to load all of the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1.
...
* Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2). The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-25 04:34:00 +00:00
Jeff Ames
676b7c1073
Update svn properties.
2009-01-24 08:18:41 +00:00
Justin Clarke Casey
c277440e73
* minor: remove mono compiler warning
2009-01-23 20:44:35 +00:00
Justin Clarke Casey
dbd2b45233
* Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up
2009-01-23 20:38:44 +00:00
Charles Krinke
bd2c345e56
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls.
* Added missing field to schema creation scripts: PathTaperY.
* Added schema creation scripts for PostgreSQL.
* Added unit test classes for PostgreSQL.
* Added schema creation script folder to NHibernate project in prebuild.xml
* Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml
* Ensured that build works with both nant and Visual Studio.
* Executed build unit tests with nant and NHibernate unit tests with NUnitGUI
- Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
2009-01-23 20:21:43 +00:00
Justin Clarke Casey
664f983943
* Extend archive test to check for the presence of a control file in a saved archive
2009-01-23 19:24:36 +00:00
idb
04a565e6b1
Fix for llGetRot when the script is in a child prim. Also fixed llGetPrimitiveParams for PRIM_ROTATION.
...
Fixes Mantis #3023
2009-01-23 18:10:31 +00:00
Justin Clarke Casey
f8aea3724d
refactor: move test modules set up code to common function
2009-01-23 17:55:29 +00:00
Justin Clarke Casey
ee3c61247e
* refactor: move scene setup code into common test code assembly
2009-01-23 17:32:38 +00:00
Justin Clarke Casey
227e88a6f4
* minor: remove serialization and deserializationg sog log messages for now
2009-01-23 17:17:46 +00:00
Justin Clarke Casey
15cd1102e1
* minor: small tweak to archive save completion log message
2009-01-23 17:12:15 +00:00
Justin Clarke Casey
ddff7ab20e
* Add direct stream loading and saving methods to the archive module.
...
* The async stream method does not yet signal completion to interested calling code
2009-01-23 17:07:37 +00:00
Teravus Ovares
74df9f9c81
* Adds a synchronous jpeg decode for pre-caching purposes
...
* When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
2009-01-23 11:00:36 +00:00
Dahlia Trimble
68978e6e2a
add event queue code for sending group IM for future group support
2009-01-23 01:49:32 +00:00
Teravus Ovares
178fd97bd0
* Fixing a group title
2009-01-23 00:08:35 +00:00
idb
757762a630
Implement missing LSL TEXTURE_xxx constants including two new textures.
...
Fixes Mantis #3030
2009-01-22 23:58:46 +00:00
Justin Clarke Casey
884009ed33
* Add some caps seed capability path checking to the simple non neighbours standalone region teleport test
2009-01-22 19:46:31 +00:00
Teravus Ovares
28ddc38deb
* Remove a few unnecessary locks to try and prevent lock contention in LLImageManager
2009-01-22 18:28:32 +00:00
Justin Clarke Casey
8a24f61acd
* Change the currently misleading log message when capabilities are added twice, and provide some more information
...
* No functional change
* It strikes me that there may be caps problems if double registration is presented if cleanup failed for a previous agent (so a caps handler will remain in memory for that
agent but with a different seed). This needs investigation
2009-01-22 17:51:47 +00:00
Dr Scofield
20359e8591
white space & formatting cleanup
2009-01-22 16:43:28 +00:00
Dr Scofield
7e08d7da15
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
this patch makes load-oar a bit more tolerant to irrelevant
differences in the oar file format. Directory entries are now ignored
rather than trying to interpret them as files they hold which results
in the load-oar failing. This change makes it easier to manually
modify oar files.
2009-01-22 16:43:09 +00:00
Jeff Ames
c1e9990d82
Update svn properties, minor formatting cleanup.
2009-01-22 16:16:34 +00:00
Sean Dague
54801bb142
* minox fix related to last commit
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22 16:06:26 +00:00
Charles Krinke
bcc7a8f09c
Fixes Mantis #3032 . The VersionInfo.cs file was not updated from 0.6.1 to 0.6.2 with the last minor release and shows incorrectly on the console. This will resolve itself on the next svn update.
2009-01-22 15:57:47 +00:00
Sean Dague
9704196bbf
* Caught 2 dictionary exceptions that were unhandled
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22 13:59:54 +00:00
Teravus Ovares
9ebba37a7c
* discovered! darn! Removing I <3 OpenSimulator from firstname
2009-01-22 10:04:15 +00:00
Teravus Ovares
a7ccbb3de0
* Added some more comments
...
* Fixed up an outgoing packet
* I <3 OpenSimulator
2009-01-22 09:31:01 +00:00
Teravus Ovares
6167019a05
* Adds a Scene Getter property called SceneContents for the Scene's m_sceneGraph. This will allow it to be exposed to modules without resorting to referring to m_sceneGraph
2009-01-22 01:50:00 +00:00
Teravus Ovares
c6154c8987
* Add File cache for j2k layer decodes. This will make it so that the server will decode the j2k stream once and cache it to disk so that the cache is saved across sim restarts.
2009-01-22 01:33:46 +00:00
Justin Clarke Casey
37fa677548
* refactor: Extract caps related code from scene and put into a region module
...
* No functional changes in this revision
2009-01-21 21:14:17 +00:00
Justin Clarke Casey
2921729bf2
* Restore commented out isdone assertions in TextureSendTests.T010_SendPkg()
...
* These still appear to suceed with the current code!
2009-01-21 18:57:05 +00:00
Justin Clarke Casey
d2d273aebe
* minor: move connection success log message so that it doesn't get printed again if a duplicate use circuit code packet comes in
2009-01-21 18:46:44 +00:00
Justin Clarke Casey
22aeda3ba1
minor: find in existing senderUUID field for chat messages originating from a client
2009-01-21 17:56:25 +00:00
Teravus Ovares
1a55dd11f1
* More friendly OpenJpeg error handling.
...
* Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that.
* In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
2009-01-21 11:16:33 +00:00
Mike Mazur
0e7aac0f65
- remove extra "; in http_loginform.html.example; fix issue 3025
...
- sync up default HTML generated in LoginService.cs with that in
http_loginform.html.example
2009-01-21 10:20:32 +00:00
Dahlia Trimble
032b30ffdb
Fix an error in sculpt LOD calculation
2009-01-21 02:40:09 +00:00
Mike Mazur
792ebca5f3
Set request method for REST requests with no input.
2009-01-21 02:29:56 +00:00
Melanie Thielker
cbbb3a0c6d
And another method added
2009-01-20 21:59:11 +00:00
Melanie Thielker
5ae3364152
Small interface addition
2009-01-20 21:45:44 +00:00
Justin Clarke Casey
6495ff9624
* Apply http://opensimulator.org/mantis/view.php?id=3021
...
* Adds MSSQL 2005 unit tests
* Thanks Tommil!
2009-01-20 18:49:16 +00:00
Justin Clarke Casey
37f7c5a0ea
* Apply http://opensimulator.org/mantis/view.php?id=3020
...
* Adds a grid db implementation and unit tests to the NHibernate module
2009-01-20 18:38:51 +00:00
Justin Clarke Casey
84a4a9ecf7
* Apply http://opensimulator.org/mantis/view.php?id=3012
...
* Allows different assemblies to be used in NHibernateManager, which makes it possible to use mapping and migration files in different assemblies.
* Thanks mpallari!
2009-01-20 18:27:30 +00:00
Dahlia Trimble
e94d862db2
Removed some of the darker colors from console messages as they were not visible in some terminal emulators (like putty)
2009-01-20 10:09:16 +00:00
Teravus Ovares
e1f5e2df3f
* minor: A few comments. A bit of cleanup.
2009-01-20 06:07:36 +00:00
diva
e4c1e20d27
Very minor: added a missing {0} in a couple of Error messages.
2009-01-20 01:50:20 +00:00
idb
afc48ce39c
Added overrides for == and != for list.
...
Fixes Mantis #3002
2009-01-20 00:10:39 +00:00
Sean Dague
280ba00c68
oops hash codes can be negative, account for that
...
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:31 +00:00
Sean Dague
c81395593d
added display of exception
...
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:25 +00:00
Sean Dague
0f289ca405
change the appender to have a few more colors, none of which are red
...
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:16 +00:00
Teravus Ovares
68baf9096a
* Another image packet edge case. Thanks nebadon for printing a log of it
2009-01-19 21:29:44 +00:00
idb
a47d851295
Correct energy calculation to include the mass of the object.
...
Fixes Mantis #3006
2009-01-19 19:15:55 +00:00
Teravus Ovares
4823f2ae8e
* Set SVN Properties
2009-01-19 18:33:25 +00:00
Justin Clarke Casey
96e15058d5
* minor: Just some minor log elaboration to reveal in the logs where a teleport is being directed rather than just its position
2009-01-19 17:15:27 +00:00
Teravus Ovares
8e01f75784
* Progressive texture patch + PriorityQueue put into the LLClient namespace.
...
* Updates LibOMV to r2362
2009-01-19 17:11:57 +00:00
Justin Clarke Casey
0828c28501
* Remove unused prims.ParentID field from SQLite and MySQL
...
* Since this is a db change, as always I strongly recommend that you backup your database before updating to this revision
* Haven't touched MSSQL in case I get it wrong - looking for some kind soul to take care of this.
2009-01-19 15:16:17 +00:00
Mike Mazur
92e6bbcd63
No longer append a "texture" parameter on texture asset requests. The
...
asset server doesn't check for the existence of this parameter since
r2744.
2009-01-19 02:30:51 +00:00
Melanie Thielker
c5395feadd
Avoid an invalid cast on legacy data
2009-01-18 23:31:13 +00:00
idb
63d2885008
Moved applying an impulse to a newly rezzed object to minimise the delay getting the object moving.
2009-01-18 14:46:43 +00:00
idb
ed0661e25a
Subscribe to collision events if needed when turning an object to non-phantom from phantom.
...
Fixes Mantis #1883
2009-01-18 11:25:12 +00:00
Dahlia Trimble
37b63636ee
Added an optional password for the IRC module
2009-01-18 10:50:53 +00:00
diva
1d8821ccb2
Getting rid of the CheckRegion call during TPs. This seems to be not just useless, but sometimes problematic (mantis #2999 ). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild.
2009-01-18 01:45:22 +00:00
Melanie Thielker
96d6c6b1f3
Change list type to compare length instead of references.
...
Fixes Mantis #3002
2009-01-17 18:35:40 +00:00
Justin Clarke Casey
eca6442bae
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
...
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Justin Clarke Casey
bee9efa30e
* minor: Future archiver test stub
2009-01-16 18:31:07 +00:00
MW
e21b3bf390
Added support so that during the loading of a xml link list, it checks if a linked hypergrid region's real location is within 4096,4096 map spaces of its "local" location. If it is outside of that range ( so it wouldn't be possible to teleport to it) then it ignores it and doesn't create a link.
...
See the hypergrid wiki page for more details.
2009-01-16 17:56:44 +00:00
MW
eb5a022981
Added some basic relocation mapping support for when loading hypergrid links from a xml file.
...
Console Command: link-mapping <StartXloc> <StartYloc>.
This results in only the last two digits of any of the locations defined in the xml file being used, and those 0-99 values being added to the StartXloc and StartYloc figures.
For more infomation, see the email on the mailing list and the soon to be added instructions on the wiki's hypergrid page.
Also made the Secion Names in xml file case insensitive.
2009-01-16 12:52:05 +00:00
Jeff Ames
23bd915ecd
Minor formatting cleanup, add copyright header.
2009-01-16 04:42:24 +00:00
Jeff Ames
5c310efb79
Update svn properties.
2009-01-16 04:23:10 +00:00
diva
e80dcfa9f6
Eased the locking times of ScenePresences. No locks were removed, just the locking periods changed.
...
* Added an additional lock in GetScenePresences()
* Changed ForEachClient to use GetScenePresences() instead of the main ScenePresences dictionary, so that there is no need to lock.
2009-01-15 23:37:49 +00:00
Justin Clarke Casey
d1456554f2
* Delete OpenSim/Framework/OpenJpeg for now, with Teravus' permission ;)
2009-01-15 21:37:22 +00:00
Justin Clarke Casey
adc61008cc
* add file I just missed out, nggggff
2009-01-15 21:29:24 +00:00
Justin Clarke Casey
093adb2113
* Add new unit test for simple teleport in a standalone.
...
* Does not yet check results.
2009-01-15 21:27:55 +00:00
MW
0ec96d294a
Small bit of refactoring related to the hypergrid link loading from xml files.
2009-01-15 17:09:51 +00:00
MW
d40e07a2c7
Added support for a "excludeList" as part of the hypergrid xml link file loading. So that certain links in the file will be ignored. See the wiki's hypergrid page for details (in about a hour).
2009-01-15 15:31:40 +00:00
MW
940728dad7
Added initial support for reading hypergrid links from a xml config file. Although its currently still activated by using console command: link-region <URI of xml file> , the uri should be able to be a local file path or a http uri. I'm adding details of the format of the xml file to the wiki's hypergrid page.
...
TODO: Add a initial startup option for setting the uri and making it autoload it.
Add support for scanning the xml file to check that its own region(s) aren't in the list, and if they are, ignoring them. This would allow setting up "virtual link/grid lists" on webservers, that people can add their own regions to and also point those regions to those same lists, so they load the other region's data.
Add support for automapping of those region/link lists.
2009-01-15 14:37:04 +00:00
Dahlia Trimble
9822f8fc8f
Added a taint to the sculpt texture callback in an attempt to mitigate Mantis #2908 . Thanks Teravus for the suggestions :)
2009-01-15 02:17:30 +00:00
Justin Clarke Casey
46cac455c1
* Move the timed_out change to earlier on in the async handler
...
* There appears to be a bug on mono 1.9.1 (and maybe later), where sometimes the async wait will be signalled even though that async callback has not executed
* This change may make it slightly better but it's difficult to tell (it definitely still occurs)
* Also this patch closes the wait handle explicitly, as recommended in the MSDN docs. This doesn't have any impact on the bug though
2009-01-14 20:40:14 +00:00
Justin Clarke Casey
8a08e4980d
* Adjust log messages so that we don't get a CONNECTION BEGIN for notifications that won't actually lead to a client connection (because they are from a neighbouring teleport
...
target that needs to trigger a child seeds adjustment on a child agent that has been kept around)
2009-01-14 19:53:15 +00:00
Sean Dague
7934094cf3
* Added MySQL Grid unit tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-14 19:34:14 +00:00
Justin Clarke Casey
3ff8dd34b0
* Remove absolute position and authentication handler addition for incoming 'new user notifications' that have existing scene presences
...
* The position will be reset if the connection turns out to be a root one, and since the client is already authenticated another authentication will not occur anyway
2009-01-14 18:48:57 +00:00
Justin Clarke Casey
75ea84f3d2
* minor: Change around more debugging messages
2009-01-14 18:46:33 +00:00
Justin Clarke Casey
6ae1b80d20
* Do some log tweaking to better see incoming connection success (and failure)
2009-01-14 17:34:04 +00:00
Justin Clarke Casey
2a5f060ed8
* Fix typo which meant that RestComms was never enabled if you explicitly enabled it
...
* In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they
specifically added it in
* This fix means that enabling inter-region rest comms is now the default
2009-01-14 16:52:12 +00:00
Justin Clarke Casey
e10de20772
* Apply http://opensimulator.org/mantis/view.php?id=2995
...
* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
2009-01-14 14:53:42 +00:00
Johan Berntsson
a885d2a6ff
Added a primitive shape function for spheres
2009-01-14 07:16:03 +00:00
nlin
bfdf2479fb
Improve parsing of joint parameters for NINJA physics (Mantis #2966 ).
...
Multiple spaces or leading/trailing spaces when specifying the prims
to connect should no longer cause problems.
2009-01-14 04:59:57 +00:00
diva
866c85be0d
Easy on locking m_scenePresences in RequestTeleportLocation. With the extra locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here.
2009-01-14 04:18:28 +00:00
Melanie Thielker
1c3542303c
Change fake parcel ids to allow a Z coordinate. Change TP by lure
...
to also transmit and use a Z coordinate.
2009-01-13 23:29:54 +00:00
Teravus Ovares
412dd1260b
* Add a second logoffuser message with the region secret.
...
* This ensures that the user will be logged off successfully by a properly permissioned user server
2009-01-13 23:27:48 +00:00
Teravus Ovares
c80b2bb98e
* Fix a few caps limiter that were causing problems
...
* Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
2009-01-13 23:25:47 +00:00
Teravus Ovares
f013b26241
* Fix an invalid seed cap that could be causing issues.
...
* CapsUtil.GetRandomCapsObjectPath(); contains a / and the regionInfo.httpServerURI contains a / so that makes
* response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath); contain two "//" leading to a seed caps path definition like //CAPS/f7ba4238-ec86-4a2b-b3f6-4d9b56070000/, which is wrong
2009-01-13 22:27:26 +00:00
Sean Dague
9dff38ca14
* Extended TextureSenderTests and modified TestClient.cs with new methods
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-13 19:55:07 +00:00
Justin Clarke Casey
1baa921463
* minor: remove some mono compiler warnings
2009-01-13 18:35:20 +00:00
Justin Clarke Casey
363054bb2c
* minor; Very minor non-functional tidy ups
2009-01-13 18:23:37 +00:00
Justin Clarke Casey
2676927466
* Add copyright notice to NHibernate.UserFriend
2009-01-13 17:16:56 +00:00
Justin Clarke Casey
bfef9a7b0d
* Apply http://opensimulator.org/mantis/view.php?id=2991
...
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005
* Thanks mpallari
2009-01-13 17:13:49 +00:00
Justin Clarke Casey
c8ea09f325
* Apply http://opensimulator.org/mantis/view.php?id=2992
...
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch
* Thanks tlaukkan!
2009-01-13 17:04:52 +00:00
Justin Clarke Casey
feba3cc3ff
* Removing set-time command since it doesn't actually do anything at all
...
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Justin Clarke Casey
66637ad6e7
* minor: Add a couple of code comments about enabling httpserver logging
2009-01-13 16:56:10 +00:00
Justin Clarke Casey
1e365df495
* minor: Stop friendship termination crashing the client thread if the friend to be terminated could not be found
2009-01-13 16:49:01 +00:00
Dr Scofield
9bcaf98e37
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA
on request to a script when an avatar is sitting on the object that the script
resides in.
It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA
from the scripts when an avatar stands up. It doesn't remove the other automatically
granted permissions but this follows LL server behavior. Removing these two
permissions avoids some potential race conditions (accidentally taking
control after the avatar has stood up) which may be why LL put
them in the first place.
2009-01-13 08:15:43 +00:00
Justin Clarke Casey
efcf6ff095
* Extend current stub packet handler test into a really basic one that checks that a sent in packet ends up on the client queue ready for processing
2009-01-12 20:42:44 +00:00
Charles Krinke
c00c855cc5
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
Cleaned up schema creation scripts of MySQL to compliant form and created
SQLite scripts from them. In future it would be optimal if scripts from
different databases could be generated from MySQL scripts to ensure optimal
consistency between schemas of different databases. Did not yet review
column names. ID columns seem to have variety in naming which can be confusing.
2009-01-12 20:14:39 +00:00
Justin Clarke Casey
ade107f04f
* Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods)
2009-01-12 19:37:56 +00:00
Homer Horwitz
2cfd18b6a2
Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.
...
Fixes Mantis #2989 .
2009-01-12 19:28:40 +00:00
Homer Horwitz
7caf1a4abf
Fixed some svn properties
2009-01-12 19:24:20 +00:00
Justin Clarke Casey
d4d2c19594
* Extend PacketHandlerTest to fire in a packet.
...
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12 18:45:03 +00:00
Justin Clarke Casey
af0fcb96a4
* Apply http://opensimulator.org/mantis/view.php?id=2965
...
* Adds first version of MsSql2005Dialect support for NHibernate
* Thanks mpallari
2009-01-12 17:51:43 +00:00
Justin Clarke Casey
41377008e1
* Apply http://opensimulator.org/mantis/view.php?id=2980
...
* Add single conversion to MSSQLManager.DbTypeFromType
* May resolve storage of prim information under MSSQL
* Thanks SirKimba
2009-01-12 17:44:39 +00:00
Justin Clarke Casey
6e9d5e4ea7
* refactor: move packet handler interface into a separate class
2009-01-12 17:31:30 +00:00
MW
3c9d57c11b
Added WearableItem class to the framework. This class can be used to: load from disk, create from code, or modify a existing Wearable item. Its not currently used by anything in trunk but is a handy utility class.
...
I'll be writing some instructions on its use as part of a more general article on various methods of creating better initial avatars for new users. Which will include some code samples, but as each grid has its own requirements, there will be no out of the box solution included.
2009-01-12 15:37:30 +00:00
Sean Dague
77f0df6394
Caught exceptions in some console commands
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +00:00
Sean Dague
d770bea291
Enhanced LoginServiceTests to test for authentication and response
...
Expanded TestUserDataPlugin to cover new methods
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:33:56 +00:00
Melanie Thielker
2ba9dd7eeb
Cause permissions on root prims to not override folded permissions anymore
...
Fix propagation of folded permissions from object inventory to agent
inventory.
2009-01-12 13:19:33 +00:00
MW
e1eb1b2cfa
a little bit more work on LLFileTransfer.cs, from over the christmas/new year period. Still not working/in use but hopefully I can finish it soon.
2009-01-12 10:16:33 +00:00
Mike Mazur
a7bc56073c
Make ZERO_ROTATION.y a float. Fixes Mantis #2985 .
2009-01-12 09:04:31 +00:00
Charles Krinke
d7f1660761
Commenting out the succesful REST message as under heavy use there
...
are multiple messages in a second and that is usually (in my experience) meaning
the logging itself is slowing down the program. Leaving the unsuccesful message
as we need to know about that path.
2009-01-12 03:49:48 +00:00
Charles Krinke
40f34aeffd
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
Fixed all NHibernate unit tests by implementing missing persistency
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest
as this was required by the NHibernate persistency. In the process added
also mock constructor to Scene which only populates RegionInfo in the scene
which is used by ScenePart.RegionUUID. NHibernate module is still in
experimental state and has not been tested at opensim region or ugaim runtime
configuration. Adding unit tests to build is not yet advisable nor using
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00
Charles Krinke
16561bd528
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
NHibernate MySQL migration was not working as mysql dialect is
MySQL5Dialect now instead of MySQLDialect which is the migration
sub folder name. Fixed this by adding simple dialect to migration
sub type mapping to manager initialization to avoid need of renaming
migration script folder each time MySQL version changes. Removed
shared session and changed session to be constructed per call as
NHibernate session is not thread safe. Refactored manager member
names to be according to the naming convention (full words in camel case).
2009-01-10 16:31:00 +00:00
Dahlia Trimble
630ce5b264
Revert progressive texture patch from r8001 until issues can be addressed
2009-01-10 09:15:23 +00:00
Charles Krinke
5e87e49570
Thank you kindly, StrawberryFride for a patch that:
...
Enable users to enable only selected methods out of the
available set of remote methods to restrict remote
functionality to less harmful methods, such as
admin_broadcast, or admin_region_query.
2009-01-10 04:16:06 +00:00
Dahlia Trimble
3bdd4db3fd
Thanks jhurliman for a patch that implements progressive texture downloading - Mantis #2655
2009-01-10 01:46:47 +00:00
Justin Clarke Casey
1149bde7cb
minor: remove mono compiler warning
2009-01-09 21:15:34 +00:00
Justin Clarke Casey
7cd8748096
* minor: Put in stub LLPacketHandler testing code
2009-01-09 21:05:53 +00:00
Melanie Thielker
993b965f0a
Prevent error message from scripted IM
...
Fixes Mantis #2970
2009-01-09 15:15:41 +00:00
Melanie Thielker
7c7ea57c5c
Finish dwell sending, adding the forgotten method body.
...
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00
Teravus Ovares
fcc3325f3b
* Adds the variables passed to the hashtable BaseHttpServer passes in.
...
* Null check on Sessions_report.
2009-01-08 22:01:57 +00:00
Justin Clarke Casey
5169b1f19e
* Establish placeholder for future TextureSender tests
2009-01-08 21:05:24 +00:00
Justin Clarke Casey
af49acd6cc
* refactor: move url sending from scene to DialogModule
2009-01-08 19:28:10 +00:00
Justin Clarke Casey
be41132c72
* minor: Remove now unused SendEstateMessage... method in Scene I forgot from last commit
2009-01-08 19:18:45 +00:00
Justin Clarke Casey
e7bb27b5bd
* refactor: move code to send a dialog to a user from scene to DialogModule
2009-01-08 19:14:52 +00:00
Justin Clarke Casey
9a97a6866f
* refactor: move estate dialog to DialogModule
...
* This appeared only to be implemented for the region, and doesn't currently seem to work anyway
2009-01-08 19:05:22 +00:00
Justin Clarke Casey
17f783457b
* refactor: move code for sending a message to all users in a region to the DialogModule
2009-01-08 18:50:46 +00:00
Jeff Ames
b0a59c3bf3
Update svn properties, minor formatting cleanup.
2009-01-08 01:13:08 +00:00
Teravus Ovares
437d2f8703
* Add session length to session.report.
2009-01-07 23:35:11 +00:00
Teravus Ovares
95984e0587
* Added session report.
...
** Full or two criteria. UserID, or VersionString
* Added link to session report from client report.
2009-01-07 23:20:23 +00:00
Justin Clarke Casey
b97a51d7d0
* refactor: Make some direct IClientAPI calls go through the dialog module instead
2009-01-07 20:46:28 +00:00
Justin Clarke Casey
1aa9e63428
* Move general alert code to DialogModule.
...
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-07 20:29:09 +00:00
Justin Clarke Casey
c084b07116
* minor: Remove mono compiler warnings from WindModule
2009-01-07 20:13:40 +00:00
Justin Clarke Casey
9b96fc9029
* refactor: Establish DialogModule, move some alert code from Scene to here
2009-01-07 20:09:37 +00:00
Justin Clarke Casey
9e297cd722
* Slightly increase ScenePresences locking where it's technically required in SceneGraph
2009-01-07 19:33:20 +00:00
Justin Clarke Casey
8d035b196d
* Apply http://opensimulator.org/mantis/view.php?id=2948
...
* This fixes adding and updating user profiles in MySQL on platforms that have a commas as a decimal separator
* Thanks Tommil!
2009-01-07 18:46:27 +00:00
Justin Clarke Casey
a9df572c25
* refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a direct call
2009-01-07 18:36:27 +00:00
Charles Krinke
0f9918f1d3
Thank you kindly, StrawberryFride for a patch that:
...
Solves the problem of unable to load prim items on region start in MSSQL.
The error was in the MSSQLRegionData code that loads objects from the database,
due to reliance on the ParentID field that is not used.
2009-01-07 15:03:41 +00:00
Teravus Ovares
9bd827a642
* Added a client version report.
...
* Added a report-> link generator.
2009-01-07 03:40:13 +00:00
Justin Clarke Casey
a31792ee5c
* prune and regrade log messages relating to client login and logout
2009-01-06 21:39:55 +00:00
Justin Clarke Casey
31b0f07085
* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with terminology used elsewhere
...
* Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06 18:26:27 +00:00
Justin Clarke Casey
498cd4f987
* Fix build break - forgot that I had renamed an argument
2009-01-06 18:12:22 +00:00
Justin Clarke Casey
715a776f7d
* Move common string aggregation for caps seed path to a method in CapsUtil
2009-01-06 18:06:53 +00:00
Justin Clarke Casey
e8dba51247
* Yeah, might just want to add the new class as well - sigh
2009-01-06 17:30:37 +00:00
Justin Clarke Casey
b1c2cb3d82
* minor: Move GetRandomCapsPath() to a CapsUtil class
2009-01-06 17:27:04 +00:00
Justin Clarke Casey
251387a391
* Remove unused CAPSService
2009-01-06 16:39:08 +00:00
Justin Clarke Casey
47a693ff1a
* remove mono compiler warnings
2009-01-06 15:26:30 +00:00
Adam Frisby
79bf2c8096
* Added three new events to SceneGraph:
...
- OnObjectCreate
- OnObjectDuplicate
- OnObjectRemove
2009-01-06 15:14:15 +00:00
Justin Clarke Casey
b6ee2f15ba
* refactor: Remove the need to separately pass in the http listener to the scene - this is always available via CommsManager
2009-01-06 15:09:52 +00:00
Justin Clarke Casey
fde6a1665c
* refactor: call AddHttpHandler() directly via CommsManager
2009-01-06 14:44:45 +00:00
Justin Clarke Casey
b07c188b7e
* refactor: call AddStreamHandler() directly via CommsManager
2009-01-06 14:37:39 +00:00
Justin Clarke Casey
579f11b3b8
* refactor: call AddLLSDHandler directly via CommsManager
2009-01-06 14:30:50 +00:00
Justin Clarke Casey
2a4c4ceebb
* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsManager
2009-01-06 14:20:54 +00:00
Teravus Ovares
df82eaf8a8
* Mjnor: Clarified comment to ensure that people are aware of how to end the recursive calls
2009-01-06 01:10:26 +00:00
Teravus Ovares
4f0bbf5d61
* Kill an endless loop in the Instant Message delivery system
...
* Must compare user region with previous calling of the same method to determine if we should look the user up.
* The first time, the previous region handle will be 0, so therefore it'll use the cached version.
* The second time, previousRegionHandle will be what we looked up on the first round
* The third time, it'll say.. we tried to deliver it once with or without lookup, we tried to deliver it a second time with lookup, and failed both times so end!
2009-01-06 00:57:33 +00:00
Teravus Ovares
0d1b867500
* Added a way for the sim stats reporter to say to the scene that the stats are illogical.
2009-01-06 00:07:24 +00:00
Homer Horwitz
0c3426935e
Use correct name for friendship offer. Fixes Mantis #2959 .
2009-01-05 21:45:20 +00:00
Justin Clarke Casey
b077723a20
* minor: remove some mono compiler warnings
2009-01-05 20:58:57 +00:00
Justin Clarke Casey
e98385dd74
* Stop bothering to populate and retrieve the parent local ids for MSSQL, as was done for SQLite and MySQL in r7586
...
* This may resolve http://opensimulator.org/mantis/view.php?id=2939
2009-01-05 20:43:03 +00:00
Justin Clarke Casey
e7ac639f3a
* Centralize references to the well known blank texture 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
2009-01-05 19:36:48 +00:00
Justin Clarke Casey
9d62dee531
* Add prereqs and usings required by the Windows compiler
2009-01-05 18:52:43 +00:00
Teravus Ovares
0cd0a9bdb1
* Resolve a few bugs in the Stats Collector
...
** Update limiter logic reversed
* Resolve a few bugs in the Viewer Stats collector
** Catch the logoff ViewerStats post (darn those caps deregistrations)
** Check the type of the correct map when checking
* Resolve a leak in Prototype_distributor
** .Close, .Dispose()!
2009-01-05 18:35:50 +00:00
Justin Clarke Casey
c6294efdbb
* Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950
...
* Apologies for missing these out yet again
* Thanks to Tommil for this code
2009-01-05 18:33:12 +00:00
Justin Clarke Casey
fcab408cc4
* Add seed cap check to login test
2009-01-05 18:30:56 +00:00
Justin Clarke Casey
0d3a99f6bc
fixes mantis #2950
2009-01-05 18:04:47 +00:00
Justin Clarke Casey
0b07c9762b
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
...
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
04ffcce7ea
* Extend stub to test the successful login of a user on the local login service
...
* Test does not do authentication
2009-01-05 17:38:39 +00:00
Justin Clarke Casey
0b8d22ab54
* Check in login service tests beachhead
2009-01-05 16:30:35 +00:00
Sean Dague
d8a2ad5cb5
change the drop order to see if this affects unit test fails
...
From: Sean Dague <sdague@gmail.com>
2009-01-05 15:59:08 +00:00
Sean Dague
9d2e0535f1
* Fixes a small bug where load-oar fails due to whitespace in region name.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-05 15:43:30 +00:00
Jeff Ames
694e37f529
Update svn properties, minor formatting cleanup.
2009-01-05 04:34:17 +00:00
Teravus Ovares
e4a8cc192d
* Adds an active log to the WebStats console. for an example of it in use as it is right now see http://wmcv.com:9000/SStats/
...
* It still isn't quite ready to be used mainstream.
* A couple of things to note, it doesn't keep track of the logs if nobody is looking at the stats.
* It doesn't read the whole log file. Just the last 10 lines of the stream. Tested to 1GB+ logfiles with no noticeable performance issues.
2009-01-05 04:09:04 +00:00
Adam Frisby
3b0eb958a8
* Another minor GenericMessage fix - If we assume the method names are case-insensitive, we should process them as such.
2009-01-04 19:41:55 +00:00
Adam Frisby
00a0f4a286
* Added some information to HandleGenericMessage to indicate that it's not the packet that isnt being processed, but instead the method-type.
2009-01-04 19:39:17 +00:00
Dahlia Trimble
20670ff0c8
sync with primmesher r26 on forge
2009-01-04 19:09:31 +00:00
Adam Frisby
f0864b5154
* Minor tweak to crash logger to copy ini with log if save-to-dir is on.
...
* Added BinaryGenericMessage handler for cases where GenericMessage isnt transmitting pure-utf8 characters.
2009-01-04 19:09:22 +00:00
Dahlia Trimble
f836e36c49
Improve LOD scaling for anisotropic sculpted prim meshes
2009-01-04 18:36:13 +00:00
Melanie Thielker
aa11fbfe34
Connect dewww request packets to the land module to makle dwell work
2009-01-03 20:57:59 +00:00
Melanie Thielker
7beb8a5abb
Plumb the remaining dwell packets
2009-01-03 20:45:33 +00:00
diva
f1b9ff6b4b
Fixed logic for sending foreign user information (HG).
2009-01-03 16:18:20 +00:00
diva
711cd752ad
This may fix the home jump problem.
2009-01-03 09:01:58 +00:00
diva
dd2a82f81c
Extra check to avoid client crashes on HG home teleports.
2009-01-03 08:51:54 +00:00
diva
19cb2cb395
Undoing the bump up of MajorInterfaceVersion number back to 2. This just doesn't work in practice!
2009-01-03 07:31:48 +00:00
diva
158de95bde
Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
...
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03 07:05:33 +00:00
diva
1b7ce1c874
Plumbing for moving InformRegionOfChildAgent over to RESTComms: pack and unpack methods for AgentCircuitData. This code is not used yet.
2009-01-03 03:41:41 +00:00
Teravus Ovares
e9cef70f89
* Updates the sim stats module. Cleans out some of the rot.
...
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
diva
4144fd0eb2
Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-03 02:29:49 +00:00
Melanie Thielker
a7708413ee
Plumb in dwell in a couple of places
2009-01-03 00:03:41 +00:00
diva
82700448f5
Some plumbing for additional agent update messages. Not used yet. Removed the compilation warnings on this file, and completed the packing/unpacking of AgentData (VisualParams, Anims and Groups).
2009-01-03 00:00:37 +00:00
Justin Clarke Casey
0dd53c419e
* Move EventQueueGetModule to the EventQueue namespace
...
* Not going to move EventQueueHelper as of now since the subsequent direct references to the module namespace would seem to somewhat defeat the point
2009-01-02 20:22:35 +00:00
Justin Clarke Casey
a3af0e61eb
* Add Nini.Config and System.Xml references to MockScene for Windows compilers
2009-01-02 20:11:20 +00:00
Justin Clarke Casey
2a7e3b9cff
* refactor: move event queue module code to its own folder
2009-01-02 20:07:29 +00:00
Justin Clarke Casey
720191ef2d
* reference is to Nini.Config, not Nini
2009-01-02 19:46:12 +00:00
Justin Clarke Casey
401a0d0a0a
* Add Nini reference to Communications.OGS1
2009-01-02 19:43:30 +00:00
Melanie Thielker
0138fdc5fd
Allow some values that are set in OpenSim.ini to be set from region config
...
XML as well.
2009-01-02 17:41:12 +00:00
Homer Horwitz
09378da127
Use only one (static) (de-)serializer for (de-)serializing SOPs.
...
That improves performance drastically, at least for Mono, as the
(de-)serializers can then be optimized (and won't use reflection anymore).
On my system, before this change de-/serialization took ~9s/9s, whereas
after the change it takes ~.5/.2s.
2009-01-02 17:22:24 +00:00
Melanie Thielker
24f0d97075
Small fix to prevent client thread crash in multi-region instances when
...
a scripted object is paid
2009-01-02 16:24:44 +00:00
Teravus Ovares
b1a677630f
* Adding some recognizable and search-able test to some WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
2009-01-02 14:24:49 +00:00
Melanie Thielker
b175e8f6cd
Fixes Mantis #2945
...
Committing the above patch with changes. Thank you, Gerhard. Removed
unneccessary verbosity in case of no error, added more output for errors.
Added support for HTTP Uri fetching which I had added in my last commit.
Converted the Console.WriteLines to log4net.
2009-01-02 12:57:21 +00:00
Melanie Thielker
18ba10b51c
Add the ability to read the ini file from a URI. If the -inifile option
...
is a http:// URI, it will be fetched and parsed as an XML config.
2009-01-02 05:52:01 +00:00
diva
d8ebf2fc9d
Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
...
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00
diva
ba9d9a9019
Minor fix for HG request neighbors. Should not return hyperlink neighbors, only neighbors on the same grid. I'm still not sure if this is a bug or a feature, so this may change again.
...
My first commit of 2009 -- Happy New Year!
2009-01-01 19:29:30 +00:00
diva
59cddd0844
Beginning of true REST style for interregion comms, SendChildAgentUpdate only. Agents are now resources accessed at http://<host>:<port>/agent/<uuid>/[action/]. PUT is SendChildAgentUpdate.
2008-12-31 21:14:31 +00:00
diva
06803f182b
Minor bug fix in HG home regions management, removing the use of m_knownRegions.Count for creating the local handler. Local handlers are now created using a random number generator.
2008-12-31 20:49:04 +00:00
Homer Horwitz
a72d3522ff
Slight optimisation: Don't check for duplication if we won't use the result anyway.
2008-12-31 20:09:17 +00:00
Homer Horwitz
4b760bba79
- Added the fixed Ode.NET.dll
...
- Adapted code to match the corrected signatures
- Fixes Mantis #2934 . Hopefully.
Note: Physics on linked objects still don't work correctly:
It doesn't crash the region anymore, but the example object in
the mentioned mantis now falls through the ground.
2008-12-31 19:35:46 +00:00
Homer Horwitz
067a9f3d5f
Added a missing setMass for initializing the mass of prims
2008-12-31 19:35:33 +00:00
diva
fe20ff8072
Added http-method to the hashtable that gets passed to GenericHTTPMethods.
2008-12-31 18:26:31 +00:00
diva
12946b5d78
Folded HG regionhandle lookup into the normal RESTInterregionComms, to avoid proliferation of "modes".
2008-12-31 00:49:34 +00:00
diva
5de40aaf46
Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the destination will have all the necessary information.
2008-12-31 00:18:24 +00:00
diva
f08f11fe60
Removing unnecessary null checks on structs in AgentsData pack/unpack.
2008-12-30 23:53:51 +00:00
Justin Clarke Casey
e4c7bdc730
* Remove mono compiler warnings
...
* Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
2008-12-30 20:48:31 +00:00
Justin Clarke Casey
f0ea8eb534
* Implement saving of region settings in OAR files
...
* This means that you can now save terrain textures, water height, etc.
* Estate settings are not supported
* Older OAR files without these settings can still be loaded
2008-12-30 19:00:19 +00:00
Homer Horwitz
c22edf01f7
OpenUser_Main is now public. Fixes Mantis #2940 . Thanks SirKimba
2008-12-30 16:16:47 +00:00
diva
eaf8066700
Making the default choice for InterregionComms work, and removing an unnecessary console debug message.
2008-12-30 01:21:13 +00:00
Jeff Ames
2be0f7a6f0
Update svn properties, minor formatting cleanup.
2008-12-30 01:08:07 +00:00
diva
3a6b27befb
Changing the default Comms module to be RESTComms, in case none is specified in OpenSim.ini. RESTComms is a super-set of LocalComms. Calls to local regions do no use REST, they use internal function calls.
2008-12-29 22:44:04 +00:00
diva
a3e2e03f7b
Final part for implementing SendChildAgentDataUpdate with modules. This is the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim.
2008-12-29 22:22:05 +00:00
diva
e12d2ec9dc
This is a beefy commit containing the communication modules that implement SendChildAgentUpdate. This commit has only the modules, but not their usage. It should be harmless.
2008-12-29 21:40:20 +00:00
diva
606163a9d8
Minor change in HGSceneCommunicationService, making one field public readonly. Totally harmless.
2008-12-29 21:26:44 +00:00
diva
57518c3624
Merged the InterregionData that Melanie had placed there onto the existing ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok...
2008-12-29 21:10:35 +00:00
diva
e3007a6f13
First commit in a series of commits for Interregion REST comms. This one simply deletes the skeleton module that Melanie kindly placed for me to start working on this.
2008-12-29 20:43:33 +00:00
Justin Clarke Casey
266d0fbaae
* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
...
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml
* This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone)
and via the user and asset config xml files for grid mode
* Thanks to SirKimba for the patch
2008-12-29 16:56:48 +00:00
Melanie Thielker
817a10d0aa
Revamp the return logic to close a privilege escalation loophole.
...
Estate owner / Master avatar returns would place the item in the
returner's inventory rather than the owner's if the owner was not
in sim.
2008-12-28 23:55:34 +00:00
Charles Krinke
0125a98a1f
Thank you kindly, StrawberryFride for a patch that:
...
Persists appearance with MSSQL more properly.
2008-12-28 22:31:21 +00:00
Melanie Thielker
bafa5a3693
Demonstration code for modular comms. No user functionality
2008-12-28 19:15:20 +00:00
Melanie Thielker
81a4fe9db7
Insert a 15 seconds delay before the script engine starts loading scripts
2008-12-28 17:22:31 +00:00
Teravus Ovares
6eed7fcd1e
* More NINJA Joint physics fixes from nlin.
...
fixes mantis #2874
2008-12-28 16:30:00 +00:00
Teravus Ovares
e9411a4c59
* Eliminate a possible null reference from the LLSDLogin method.
2008-12-27 21:50:19 +00:00
Teravus Ovares
b378bd33ad
* Fixes mantis #2922
...
* Converts some C# 3.0 syntax into it's 2.0 equivalent so that Visual Studio 2005 can compile it successfully.
2008-12-27 00:17:08 +00:00
Teravus Ovares
013b87fad1
* Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax
2008-12-26 22:04:25 +00:00
Teravus Ovares
ec2dc354b4
* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874
...
* Thanks nlin!
* To try it out, set ninja joints active in the ODEPhysicsSettings
and use the example at:
* http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz .
* Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-26 12:58:02 +00:00
idb
8a58d998d9
Prevent exception in terrain module if just the word terrain is entered at the console. Fixes Mantis #2915
2008-12-26 11:59:37 +00:00
Dahlia Trimble
a23e9a36a1
Substitutes the value of an environment variable if the value of a region configuration variable begins with a "$" character. Should be useful when moving region configs between hosts
2008-12-26 09:14:49 +00:00
Melanie Thielker
cce648244d
Add a few forgotten fields to interregion data
2008-12-25 23:33:49 +00:00
Melanie Thielker
23844a9073
Plumb the profile reply packets for picks, classifieds and notes
2008-12-25 20:28:13 +00:00
Melanie Thielker
3b6ffd9e41
Plumb yet another groups packet
2008-12-25 18:22:50 +00:00
diva
a647a19894
Better test on EQ shutdown.
2008-12-24 05:05:22 +00:00
diva
90126f6ca8
Backing off from the accidental removal one of the most valued 'features' of the HG: the ability to TP to regions on the grid that don't run HG. *smiles*
2008-12-24 00:53:06 +00:00
diva
857535550c
Better error handling for expect_hg_user on the HG.
2008-12-24 00:03:33 +00:00
Melanie Thielker
318de200bd
Plumb in EventNotification* and EventGodDelete
2008-12-23 23:41:46 +00:00
Melanie Thielker
8e8abde7d4
Addinf InterregionData.cs IInterregionComms.cs and InterregionComms.cs
...
Creates a nonshared region module publishing IInterregionComms, to
send data of type InterregionData to another region directly.
2008-12-23 21:36:13 +00:00
Justin Clarke Casey
e64d9b66a9
* Fix http://opensimulator.org/mantis/view.php?id=2889
...
* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
2008-12-23 20:41:52 +00:00
Justin Clarke Casey
94d267303f
* Correct build break, no idea how that one managed to slip by me
2008-12-23 19:07:29 +00:00
Justin Clarke Casey
f49daf9708
* Modify SQLite implementation of UpdateUserProfile() to allow modifications where the name has not been changed
2008-12-23 18:56:56 +00:00
Justin Clarke Casey
690d190783
* minor: small documentation comment
2008-12-23 18:21:23 +00:00
Melanie Thielker
fc053a6af8
Plumb in the 4 missing classified events and the 3 packet methods
2008-12-23 18:16:30 +00:00
Justin Clarke Casey
151d3afe16
* Remove mono compiler warning
2008-12-23 18:07:45 +00:00
Justin Clarke Casey
2afdfc4d29
* Remove IGesturesModules since it won't be very helpful without a client message anyway
2008-12-23 18:01:05 +00:00
Justin Clarke Casey
cce1b096db
* refactor: Replace part of SceneObjectPart with the identical sound playing code in the SoundModule
2008-12-23 17:54:13 +00:00
Justin Clarke Casey
c1320112a9
* Add a method to allow friendship offers to a logged in client from an offline user directly from the server
2008-12-23 17:16:47 +00:00
Homer Horwitz
fb49e010b7
Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the hint, jhurliman.
2008-12-22 19:49:17 +00:00
Justin Clarke Casey
eda69e81ef
* refactor: Make gestures module register its own events too
2008-12-22 19:09:09 +00:00
Justin Clarke Casey
85557fb0ef
* Like most other modules, make the sound module register for its event directly, rather than needing Scene to know about it
2008-12-22 18:47:20 +00:00
Justin Clarke Casey
e0b7ad7677
* Refactor: Move some code into separate methods in FriendsModule
2008-12-22 18:39:06 +00:00
diva
06f74e4295
Fix for attachment crossing on TPs. Now that we're letting the viewer have control over MakeRoot at the destination, we need to pass the attachments after that. Attachment crossing requires a root agent at the destination.
2008-12-22 17:43:51 +00:00
Melanie Thielker
e7e8e6a7c3
Plumb in the birthdate from the user server reply to the cache
2008-12-22 16:20:16 +00:00
Melanie Thielker
5929d2a47c
Fix date format of the birthdates to conform to what the client expects
2008-12-22 15:31:39 +00:00
Melanie Thielker
a7a0b5e1ae
Fix the error i got sidetracked from :/
2008-12-22 14:41:18 +00:00
Melanie Thielker
a3b67ec8c7
Fix "from" link number in single prims to 0. Previously, this was 1,
...
causing sime scripts that expected the first param of the link_message
to match llGetLinkNumber() to fail in single prims
2008-12-22 13:03:30 +00:00
MW
69b72ac83c
Deleted the AssetDownload module (and directory), as this module/code hasn't been used for a few thousand revisions now. And the code for sending assets has long since been moved to the LLClientView where it belongs.
2008-12-22 11:24:25 +00:00
Dahlia Trimble
6e68a11082
Thanks Gerhard for a patch that implements part 3 of VolumeDetection / persistance
2008-12-22 09:29:59 +00:00
Dahlia Trimble
1fbbdb6714
test commit - no functional change
2008-12-22 07:48:43 +00:00
Dahlia Trimble
8a86439985
Removed some debugging code that was inadvertently left in in my last commit :/
2008-12-22 07:25:41 +00:00
diva
339fd602db
This commit is a major change on the TP process. Several things were wrong and/or broken. (a) ExpectAvatarCrossing is redundant (and bad) because the client triggers the same method on the receiving region after it receives TeleportFinish. (b) At least two of the *Async methods in SceneCommunicationService weren't asynchronous at all; I made them be asynchronous. Crossing fingers...
2008-12-22 07:06:01 +00:00
diva
69fe246fcc
Removing the region where the agent is in from the list of regions to close child agents.
2008-12-22 06:56:47 +00:00
diva
9056ad63d5
One more small mod in EQ: there is no need to subscribe to the OnLogout event, because things in the EQ get shutdown OnClientClosed.
2008-12-22 06:47:53 +00:00
diva
fc9ffa5f97
One more check on closing EQs.
2008-12-22 06:10:36 +00:00
Dahlia Trimble
c66cfb51f7
Fix a floating point comparison that was causing some misshaped triangles on some prim faces
2008-12-22 06:07:51 +00:00
diva
ae30d74b79
On closing EQs, make sure to wait for the viewer to fetch the last events.
2008-12-22 05:59:29 +00:00
Dahlia Trimble
d83d665186
Thanks to M. Igarashi and nlin for a patch that improves conformance of the funcion llAxes2Rot()
2008-12-22 03:08:39 +00:00
Teravus Ovares
a973825db6
* Fixes edit linked parts rotating the root prim in a linkset. One more bug to go.. and that's editing multiple prim in a linkset at the same time. Don't try that now, as it'll bust the linkset.
2008-12-22 00:03:18 +00:00
Teravus Ovares
53a479904e
Minor: fix a comment... scratch that,reverse it.
2008-12-21 21:19:55 +00:00
Teravus Ovares
2ee8f81e15
* Commit linkset Group (multiprim) linked/delinked to another linkset group (multiprim) test.
2008-12-21 20:09:47 +00:00
idb
3fe966d6b3
An initial implementation of llMinEventDelay in XEngine.
...
Not implemented yet in DotNetEngine.
Fixes Mantis #2830
2008-12-21 19:04:06 +00:00
diva
7d837a9bea
Slowing TPs down a bit further.
2008-12-21 19:00:30 +00:00
Melanie Thielker
d56a62253b
Change XEngine money() event routing to always raise the money()
...
event int he root prim of a linkset
2008-12-21 17:07:45 +00:00
Teravus Ovares
8444528bdc
* Adding a two prim linking/delinking test. This test is likely to get on people's nerves since linking/delinking is easily broken. But.. that's why we have tests!
2008-12-21 16:16:47 +00:00
Teravus Ovares
bf9e8cb987
* Fixes linking multiple linksets together. They no longer explode
...
* Not out of the weeds yet. Rotating the root part with 'edit linked parts' still borks all child part rotations and rotating a selection of child parts with 'edit linked parts' still borks the position/rotation of the child parts selected
2008-12-21 14:50:58 +00:00
idb
d7a19adcac
Persist script permission mask and granter
2008-12-21 13:28:51 +00:00
diva
9af9f648ef
Small null check in DeregisterHandlers.
2008-12-21 02:25:14 +00:00
Charles Krinke
f8f93f4c48
Mantis#2860. Thank you kindly, Thomax for a patch that:
...
Improves map image representation.
2008-12-21 00:27:32 +00:00
Teravus Ovares
119104e35b
* Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
2008-12-21 00:11:54 +00:00
diva
3dae92b850
Slowing things down even more on TPs, to see if that helps the European folks connected to osgrid.
2008-12-20 22:44:26 +00:00
Charles Krinke
62dd67b8b8
Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:
...
On a call of llVolumeDetect(1) (or any other number !=0) volume
detection is enabled. Together with VD, the phantom flag is set to the GUI.
On a call of llVolumeDetect(0), vd detection is switched of again,
also the phantom state is removed. On a call to llSetState(STATE_PHANTOM,
false) while VD is active, also VD is switched off. The same is true for
unchecking the phantom flag via GUI. This allows to take back VD without
the need to script just by removing the phantom flag.
Things missing in this patch: persistance of the volume-detection flag.
This needs more discussion and will be included in another patch soon.
2008-12-20 21:36:42 +00:00
Charles Krinke
ad05d613a6
Mantis#2881. Thank you kindly, SirKimba for a patch that:
...
Solves inserting Wolrdparameters in SQL Database with
OpenSim.Data.MSSQL.dll always crash cause there were
missing some fields in the Insert-String
2008-12-20 21:26:00 +00:00
Charles Krinke
b1d235a60c
Change VersionInfo.cs from 0.6.0 to 0.6.1 in preparation
...
for the 0.6.1 minor release.
2008-12-20 19:13:02 +00:00
diva
fcf61c4d0d
This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes some of the crashes experienced by ppl in Europe connected to OSGrid. If DNS lookup does not resolve, they may experience a substantial increase in "Region not available", but they shouldn't crash.
2008-12-20 18:15:02 +00:00
Teravus Ovares
1e723f185a
* Add two more missing defaults that use GetBoolean without a default in standalone. (not sure if this will fix your issue daTwitch.. it's probably not even a bug)
2008-12-20 17:34:38 +00:00
Homer Horwitz
84b43c8c23
Fix Mantis#2878 for now by not resetting physical values on rez (only on switch).
...
We still might have to split the rotational velocities into a physical and a non-physical part...
2008-12-20 16:42:17 +00:00
Teravus Ovares
8f07f2e8b0
* A few more fixes to HttpServer.
...
* http://www.codeplex.com/webserver/WorkItem/View.aspx?WorkItemId=3110 fix erronious call to beginread that caused an exception which was caught and ignored (increase performance)
* Pass socket into httpclientcontectImp and call the disconnect + reuse method so the socket can be reused quicker (increase performance)
* Ensured that in every error scenario beginAccept is called (stability)
* Fixed header casing (standards compliance)
* Fixed Connection: close handling (standards compliance)
2008-12-20 15:09:01 +00:00
diva
7a619ad84a
Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
2008-12-20 02:45:12 +00:00
Teravus Ovares
7af84d7e10
* Adds defaults for some GetBoolean config values that previously did not have them.
2008-12-20 01:58:01 +00:00
Teravus Ovares
4d26da545d
* ReCommit the OpenID patch with a few less dependencies.
...
* Removes all references to ASP.NET (System.Web.UI,*)
* Removes all references to System.Web.Mobile
2008-12-20 01:20:40 +00:00
Charles Krinke
098b5d953d
Revert OpenId until we can come to grips with the mono 2 requirement
...
for System.Web.Mobile
2008-12-20 00:52:17 +00:00
diva
b3dc462ee3
The previous fix for the EQ might have been too radical, and some early events now may be getting dropped because the EQ is not there yet. So, let's add an EQ immediately upon registering caps.
2008-12-19 23:58:13 +00:00
Charles Krinke
e86f4d9723
Mantis#2816. Thank you kindly, JHurliman for the beginnings of
...
OpenID support in OpenSim for the UserServer.
2008-12-19 23:55:28 +00:00
Sean Dague
db4f4c255b
let you specify a hex number as the color in the vector rendering
...
module. This expands the colors you can use.
2008-12-19 22:27:45 +00:00
Homer Horwitz
11d0456246
- Set acceleration and rotational velocity to 0, too
...
- Pull it up a bit, so the physics is notified of it, too,
before being switched off.
2008-12-19 21:06:07 +00:00
Justin Clarke Casey
db0c65ea56
* refactor: move sound trigger from scene into sepearate SoundModule
2008-12-19 21:03:56 +00:00
Homer Horwitz
0cbdfcea87
Stop prims that get non-physical. Fixes Mantis#2859.
2008-12-19 20:33:51 +00:00
Homer Horwitz
a0f8e04142
Remove forgotten debug message from my last commit.
2008-12-19 20:33:36 +00:00
diva
7691be377a
Fix for more child agent mismanagement (like #2846 ). On enqueueing events, we should not be creating new queues; if the queue doesn't exist -- too bad, event is dropped. That tends to happen just after the client is closed, and the EQ also closed. If someone places an event in that queue after that, that event should be dropped instead of creating a new, erroneous queue.
2008-12-19 20:31:32 +00:00
Justin Clarke Casey
ed97f290c9
* minor: Just some method commentary before turning to another subject
2008-12-19 20:07:26 +00:00
Justin Clarke Casey
899f2a80d7
minor: remove mono compiler warning
2008-12-19 19:50:46 +00:00
Justin Clarke Casey
aa497a1867
* refactor: move saved named prims to xml2 method out into the serialization module
2008-12-19 19:47:11 +00:00
Justin Clarke Casey
e62016d2c7
minor: Remove some serialization module scene wrappers
2008-12-19 19:35:14 +00:00
Justin Clarke Casey
667a935fff
* refactor: remove xml serialization wrappers from Scene
2008-12-19 19:14:52 +00:00
Justin Clarke Casey
eb6cca4750
* refactor: Rename IRegionSerialiser and move into interfaces namespace
2008-12-19 19:07:11 +00:00
Homer Horwitz
fbd44e628c
Reset Expire date for tempOnRez objects on rez. Fixes Mantis#2848
2008-12-19 18:38:45 +00:00
Justin Clarke Casey
5313330e4d
* minor: move IGesturesModule into the correct namespace
2008-12-19 18:37:15 +00:00
Justin Clarke Casey
583fa73126
* refactor: Remove archiver module scene wrappers
2008-12-19 18:33:03 +00:00
Justin Clarke Casey
7271edd684
* Add missing file from last commit
2008-12-19 18:02:59 +00:00
Justin Clarke Casey
7ce8ccb043
* refactor: Move tree code out into a separate module
2008-12-19 17:57:03 +00:00
Teravus Ovares
7bbda6651e
* Commit patch from cmickeyb. #2871 . Optimized float array for the terrain heightfield to reduce cpu usage on new client significantly.
...
Thanks cmickeyb!
2008-12-19 00:06:19 +00:00
Melanie Thielker
c6b2ffb734
Make llSetAlpha and llSetTexture properly queue full updates, so changes
...
are visible right away
2008-12-18 19:59:51 +00:00
diva
d04247d418
Removing a check in Teleports. This check should be there, I think, but it may be causing problems right now.
2008-12-18 19:45:55 +00:00
Melanie Thielker
8231f9476c
Fix and streamline the RegionHandshake stuff for estate managers
2008-12-18 19:20:11 +00:00
Justin Clarke Casey
4f88f25913
* refactor: move gestures code out from Scene into its own module
2008-12-18 18:49:05 +00:00
diva
3a56d91974
This may fix mantis #2855 . There was a race condition on the TextureDownloadModule upon clients (ScenePresences) being closed. If there were still textures to send, the UserTextureServices was created again, but pointing to the old IClient that had just been closed, which made things not work upon that user returning to that region.
2008-12-18 18:11:29 +00:00
Dahlia Trimble
2537a4098a
Enabled complex meshing for simple box prims with non-zero shear
2008-12-18 17:53:38 +00:00
Justin Clarke Casey
3a1b3ce32d
* Apply http://opensimulator.org/mantis/view.php?id=2810
...
* Fix set up of master avatar on a fresh OpenSim install
* Turns out we had started hashing the password too many times. Thanks jonc!
2008-12-18 15:59:48 +00:00
Melanie Thielker
98d0d728c2
Stop hacked godmode from being able to actually move other people's
...
attachments
2008-12-18 13:33:48 +00:00
Teravus Ovares
a66657f155
* Tweak my previously mentioned nasty hack so it's a little less nasty
2008-12-18 13:17:54 +00:00
lbsa71
56f1b03cd0
* Added "show queues" command that shows throttling queues for all clients.
...
*** This only works for LLCLientView at the moment ***
2008-12-18 13:16:41 +00:00
Teravus Ovares
0f25e8298b
* Add a nasty hack to try and give the HttpServer a few extra lives until we dig more into what's causing it to stop listening.
2008-12-18 11:44:53 +00:00
lbsa71
68c53c6da0
* Caught unhandled IOException, and outputted it to log.
2008-12-18 11:39:24 +00:00
Teravus Ovares
eb777b7373
* Catch a WebException in the LoadImageURLModule
2008-12-18 08:50:25 +00:00
Teravus Ovares
f4acaafd3a
* Added more articulate logging of HttpServer so we can diagnose issues.
2008-12-18 02:42:26 +00:00
diva
3b0a6efde7
This innocuous change in the TextureDownloadModule suddenly made the texture problems ( #2855 ) go away for me. I'm committing it, so that others can test and refute, to make sure I'm not hallucinating.
2008-12-18 02:31:40 +00:00
Teravus Ovares
6358c21208
* Committing an opensim level error message on httpserver. This might help with the eventqueue http server death.
2008-12-18 01:52:49 +00:00
Melanie Thielker
6ef64593fd
Fix attachment persistence which got broken with some inventory
...
changes a few revs back.
2008-12-17 22:09:14 +00:00
Sean Dague
ba6b3ade3b
fix a bug with the Grid REST interface that was returning the classname
...
in the UUID field instead of the actual UUID because of an implicit use
of ToString()
2008-12-17 21:59:20 +00:00
Melanie Thielker
a9e38bcafc
Reapply the packet optimization patch, with changes
2008-12-17 21:00:18 +00:00
Justin Clarke Casey
dce11e4685
* minor: Comment out "Informing neighbours" debug message that pops up whenever some aspect of the avatar changes.
...
* with Diva's blessing ;)
2008-12-17 20:54:34 +00:00
Melanie Thielker
2bcf315ea2
Revert 7754 and 7755 pending a rework
2008-12-17 20:34:37 +00:00
Melanie Thielker
5320f0f33c
Stop packets that may be resent from being returned to the packet pool.
...
FWIW
2008-12-17 20:21:48 +00:00
Justin Clarke Casey
2108d328df
* revert r7724 so that PresenceChildStatus() starts throwing NRE's again
...
* apparantly logout code relies on this happening in certain circumstances. Really, the root issue needs to be investigated.
2008-12-17 19:12:56 +00:00
Melanie Thielker
7ef5a79fef
Change the PacketQueue to use the stored size as well
2008-12-17 19:01:47 +00:00
Melanie Thielker
0d3a9b45ae
Marry AckData to LLQueItem, and store packet data and length there for
...
use everywhere. Each packet gets serialized only once now in PacketHandler
2008-12-17 18:56:47 +00:00
Justin Clarke Casey
ff7c8551ba
* remove mono compiler warnings
...
* should work - the last compile failure looks like a random glitch...
2008-12-17 18:42:23 +00:00
Justin Clarke Casey
b37c8d6cbd
* minor: Comment out high volume 'Getting MapItems' messages
...
* make worldmap module log tags consistent
2008-12-17 18:20:33 +00:00
diva
7b6471f642
Kicking child agents off on the first login after a client crash. The child agents kickoff was
...
missing from when this is run in grid mode. But, worse, turns out that this whole feature of kicking
off the user after a crash was entirely missing from standalone mode.
2008-12-17 17:44:00 +00:00
Justin Clarke Casey
ab77b22f0f
* Only serialize packets once for the length calculation for throttle queues rather than twice
2008-12-17 17:33:57 +00:00
Melanie Thielker
35ec496f98
Revamp packet handler to smooth out the stream of resent packets.
...
Eliminates the bursting in resends observed in the prior implementation
2008-12-17 17:19:14 +00:00
Justin Clarke Casey
72ff5322f5
* Replace manually zeroing with Array.Clear(). Thanks cmickeyb
2008-12-17 17:18:52 +00:00
Melanie Thielker
8e5fe0257c
Mantis #2850
...
Applying the patch to reduce the load caused by the throttle loop even more
2008-12-17 17:05:12 +00:00
Justin Clarke Casey
2e79fd0f0c
* minor: Minor documentation and small minor change on LLPacketThrottle to remove some unnecessary lines
2008-12-17 17:01:02 +00:00
Justin Clarke Casey
ac451485d6
* minor: Remove unused AppearanceTableMapper as pointed out by jonc in http://opensimulator.org/mantis/view.php?id=2843
2008-12-17 16:47:38 +00:00
Justin Clarke Casey
890d8d4215
* Simply friends code by only sending notifications to a newly logged on user for other users who are online.
...
* No need to send offline notifications since the client assumes this (and future clients should be able to do the same).
2008-12-17 16:34:11 +00:00
Justin Clarke Casey
b4680f653d
* Implement 'Save Object Back to My Inventory'. On the Linden client this is in the Tools menu available when editing an object
...
* This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed
object.
2008-12-17 16:11:03 +00:00
Teravus Ovares
ca0de93d9a
* Adding some locks to XEngine's m_PrimObjects which were prone to 'the collection was modified'
2008-12-17 15:30:26 +00:00
MW
027ae58dc4
Stop users taking a copy of a in world prim that contains inventory items that have no copy permission set.
2008-12-17 13:32:01 +00:00
MW
6c8f9078ef
Added a check to CanDuplicateObject(), to stop duplicating prims that contains inventory items that you don't have permission to copy
2008-12-17 12:53:47 +00:00
Melanie Thielker
1c30111c7a
Stop owners from duplicating no-copy objects in-world
2008-12-17 12:12:23 +00:00
Melanie Thielker
a5343c5404
Add repecting the min and max values back in
2008-12-17 09:55:10 +00:00
Melanie Thielker
e394e1c06f
Remove a major bottleneck in throttling code.
2008-12-17 09:52:52 +00:00
Melanie Thielker
02a28a6992
Avoid checking the throttle limit for empty queues
2008-12-17 09:30:56 +00:00
diva
4b81ec02d7
Avoid sending DisableSimulator event to the root agent upon logout.
2008-12-16 19:44:32 +00:00
Melanie Thielker
36ee0e8fb9
Fix script controls for weapons
2008-12-16 04:12:40 +00:00
diva
223b6f63af
Attempt at fixing the HG home jump by looking up hyperlink regions before grid-local regions.
2008-12-15 22:17:40 +00:00
MW
1110ee877f
More work on moving Xfer file transfer handling code to the Client stack from the various region modules that it is currently in.
...
Still not enabled yet.
2008-12-15 21:46:57 +00:00
diva
8fffdac7fa
Attempt at restoring inventory access after TPs/crossings. RemoveClient in Scene was being too
...
aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide
whether to nix it or not. All other mods in other files are for better debugging messages.
2008-12-15 20:45:40 +00:00
Justin Clarke Casey
41ad030a5a
* minor: method documentation and miscellaneous tidy
2008-12-15 20:32:49 +00:00
Justin Clarke Casey
3b0db66b92
* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaks
...
* This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to.
* Thanks Gerhard
2008-12-15 18:39:54 +00:00
Justin Clarke Casey
2e288fade1
* minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all
2008-12-15 18:11:47 +00:00
diva
4b71b88114
Bug fix in new child agents management. Thanks DigiDaz for helping identify this issue.
...
We need to update all child agents whenever the root agent crosses regions. The update
now includes child agents in common neighbours. This is so that those get updated with the
seeds of the new child agents that are spawned from the receiving region.
This also fixes some timing issues. We need to close child agents from the originating region
before we update child agents in the receiving region.
2008-12-15 16:23:34 +00:00
MW
a933ca842b
Removed some instances of "<3 OpenSim Developers" (why were they there?) being in alert messages from the LandManagementModile.
2008-12-15 12:47:16 +00:00
diva
d6d4c267e0
Bug fix for Hypergrid. This bug was introduced by the recent TP fixes, and affected the jump back home.
2008-12-15 00:06:52 +00:00
Melanie Thielker
3aa7ad24da
Make scripted item and folder gives pop up a "accept, decline" message
...
and allow deletion of the just received item.
2008-12-14 22:27:40 +00:00
Homer Horwitz
ef2c0d115a
Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.
...
Removed the second set. Fixes Mantis#2380.
2008-12-14 18:17:35 +00:00
idb
7c6c443503
Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.
...
It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS.
Fixes Mantis #2783 and #2162
2008-12-14 17:48:27 +00:00
Teravus Ovares
8ad6f575eb
* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ODEPlugin and pipes them to their respective LSL method.
...
* NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-12-14 14:30:28 +00:00
idb
795cdf624b
Added ATTACH_HUD_* constants fixes Mantis #2823
2008-12-14 12:14:23 +00:00
Teravus Ovares
b5dec9a37f
* Added Avatar minimum size in the ODEPlugin and a stern warning about setting the capsule size too low in OpenSim.ini
2008-12-14 07:29:40 +00:00
Teravus Ovares
6f7a560c04
* A Few physical prim + linkset fixes. Prevent some crashes
2008-12-14 06:34:05 +00:00
Melanie Thielker
b32f72a438
Adds the "Send Teleport" module
2008-12-14 05:56:33 +00:00
Melanie Thielker
008e1fe8df
Plumb the TP-Sending packets
2008-12-14 05:49:07 +00:00
Charles Krinke
e6eb571c1d
Mantis#2725. Thank you kindly, Diva, for a patch that:
...
Adds missing protocol pieces for EstablishAgentCommunication
event which allows the client to activate CAPS and the EQ for
child agents.
2008-12-14 02:17:12 +00:00
Charles Krinke
6cf0b81864
Mantis#2811. Thank you kindly, Diva for a patch that resolves
...
some of our DNS/dotted decimal issues that plague teleporting.
We are increasing the MajorInterfaceVersion from 1 to 2 in the
gridserver, so sims will need to be updated on various grids.
2008-12-13 16:25:20 +00:00
MW
40bbf886f2
more work on moving FileTransfer code to the clientstack.
...
Still not enabled.
2008-12-13 15:04:24 +00:00
Jeff Ames
8929bfc369
Add copyright headers.
2008-12-13 12:30:46 +00:00
Jeff Ames
4f9d5d955b
Update svn properties.
2008-12-13 12:22:52 +00:00
MW
e0765fa6c8
more work on moving FileTransfer code to the clientstack.
...
Although its still not enabled.
2008-12-12 22:20:13 +00:00
Justin Clarke Casey
3aaf303a75
* minor: Downgrade friends module 'client logging out' notice from error to debug
2008-12-12 21:24:39 +00:00
Justin Clarke Casey
80f285a2aa
* minor: Be a little more informative when a region fails to connect because it fails to implement the required OGS interface version
2008-12-12 21:21:35 +00:00
MW
6e07ef9cb9
Add OpenSim.Framework.IClientFileTransfer.
2008-12-12 21:17:49 +00:00
Justin Clarke Casey
96ea54409f
* minor: remove mono compiler warning
2008-12-12 21:14:27 +00:00
MW
e9d905f48c
Started to move xfer file transfer code to the LLClientStack, rather than having it in a region module (like it was).
...
Note:None of this is enabled yet.
2008-12-12 21:08:23 +00:00
Justin Clarke Casey
71960f17bc
* Extend update test to test situation where it also moves the folder
...
* Correct logic so that update folder behaves as expected
2008-12-12 21:06:07 +00:00
Justin Clarke Casey
b1f018aa26
* Create update folder test
...
* Correct small logic elidation
2008-12-12 20:43:42 +00:00
Justin Clarke Casey
42ec7f4935
* minor: make AddRequest() protected since in principle it shouldn't be used outside the class and its descendents
2008-12-12 20:10:39 +00:00
Justin Clarke Casey
1531035b14
* Actually properly enable the purge folders test and correct some problems
2008-12-12 20:04:58 +00:00
Homer Horwitz
185ad8edcb
Add missing scene reference. Fixes a NRE. SimpleModule now works again (sort of).
2008-12-12 20:01:04 +00:00
Homer Horwitz
66791c90e4
Replace the throwing of a NonImplementedException in MyNpcCharacter, so that
...
the SimpleModule doesn't prevent the start of the region server, if used.
Note: This module doesn't do anything sensible; it only serves as an example.
2008-12-12 19:39:48 +00:00
Justin Clarke Casey
9f6e567cb1
* add purge folder test
2008-12-12 19:37:51 +00:00
Justin Clarke Casey
7bbab12158
* Add user info move inventory folder test
2008-12-12 19:24:45 +00:00
Justin Clarke Casey
f8ce498755
* extend user profile create folder test to check that one can't create a folder with a non-existant parent folder id
2008-12-12 19:04:10 +00:00
Justin Clarke Casey
b60d980f7c
* Add file missing from last commit
2008-12-12 18:59:06 +00:00
Justin Clarke Casey
a7e145bdfd
* refactor: pull out common user profile test code into utility functions
2008-12-12 18:48:29 +00:00
Sean Dague
7a4f11b94d
* Deleted old EntiyList tests, added new EntityManager tests
...
* Edited EntityManager to treat Exceptions
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-12 18:33:16 +00:00
idb
1ba76f57ba
Made the casting of stings to floats more robust and work more like SL.
...
Added some more tests that casts previously failed on.
Fixes Mantis #2789
2008-12-12 11:50:12 +00:00
Sean Dague
624423deb1
apparently opensim only works if secure_inventory_server = true, who
...
knew? Reverting that.
2008-12-12 00:57:48 +00:00
Homer Horwitz
7672bdb0a3
Add hostnames in addition to IP address to some more places. This continues r7676.
...
NOTE: Changes UGAIM.
2008-12-11 21:49:11 +00:00
Justin Clarke Casey
80e267dcfe
* refactor: Stop exposing InventoryFolderImpl.SubFolders publicly
2008-12-11 20:58:11 +00:00
Sean Dague
616cf74e73
make a couple of other config default to make the example ini to give us
...
a better chance of working out of the box
2008-12-11 20:43:21 +00:00
Justin Clarke Casey
f23856a575
* Add get child folder test
2008-12-11 20:36:46 +00:00
Sean Dague
a02efe6dcc
after much discussion, and overwhelming +1 on the -dev list, switch the
...
default script engine to XEngine. This won't change anything if you
already specified the default in your OpenSim.ini.
2008-12-11 20:32:57 +00:00
idb
31bccdffd9
Add a null check. Mantis #2798
2008-12-11 20:20:21 +00:00
Homer Horwitz
51427bae9f
Correct the last checkin.
2008-12-11 19:57:45 +00:00
Justin Clarke Casey
30213e141b
* Add create folder userinfo test
2008-12-11 19:57:12 +00:00
Homer Horwitz
d943abea57
Move from IP to hostname for seed caps on login, for gridmode and standalone.
...
All the other caps (except the initial one) are already sent with hostname
instead of IP.
NOTE: This changes gridserver and userserver
2008-12-11 19:52:29 +00:00
Justin Clarke Casey
c9aabe2b90
* Pop in a missing using statement without which UserProfileCacheServiceTests.cs fails on Windows (but not mono)
2008-12-11 19:11:19 +00:00
Justin Clarke Casey
04a07daa5b
minor: Add request inventory test
2008-12-11 18:56:04 +00:00
Justin Clarke Casey
0e870400ca
* Delete currently unrun TestInventory.cs superseded by BasicInventoryTests
2008-12-11 18:30:57 +00:00
Justin Clarke Casey
bec3993849
* Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one
2008-12-11 18:07:23 +00:00
Justin Clarke Casey
230eb06d34
* Extend test to probe for user details that should exist
2008-12-11 17:30:57 +00:00
Justin Clarke Casey
c4b45449ee
* test: Add simple user profile test that checks for non-existing users
2008-12-11 17:23:55 +00:00
Justin Clarke Casey
e02aaaf9db
* minor: Move mock test classes into mock namespace
2008-12-11 16:40:22 +00:00
MW
fa28d1ab7d
Reimplemented running of ShutdownCommandFile. Mantis #2800
2008-12-11 14:31:58 +00:00
Jeff Ames
a8fff196f5
Update svn properties, minor formatting cleanup.
2008-12-11 02:35:51 +00:00
Melanie Thielker
2101680094
Make object return actually use the CanReturnObject permission, rather than
...
the CanDelete one.
2008-12-11 01:03:53 +00:00
Teravus Ovares
7f80eff067
* Committing a slightly distilled version of nlin's ODECharacter race condition eliminator.
...
* The modifications that I made were only so that it didn't require changes to the public physics api.
2008-12-10 23:46:20 +00:00
Justin Clarke Casey
c9ae8fce5e
* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
...
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-12-10 20:57:15 +00:00
Justin Clarke Casey
f38c35b609
* refactor: Move inventory handlers out from UserProfileCacheService
...
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging
* This is also more consistent with the way that item inventory manipulation is handled
* I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
2008-12-10 19:12:59 +00:00
Justin Clarke Casey
93977c2d47
* Establish OpenSim.Framework.Communications.Tests beachhead
...
* No valid tests yet
2008-12-10 17:43:45 +00:00
Justin Clarke Casey
9e02a639e5
* Apply the other patch from http://opensimulator.org/mantis/view.php?id=2315
...
* This means that LL RAW terrains (one source being the upload/download buttons on the estate dialog in the viewer) are now imported the 'right' way around rather than being
flipped on the y axis
* Existing RAW terrains before this patch will need to be flipped with the "terrain flip y" command from the console after import
* More details on the mailing lists soon.
-This line, and those below, will be ignored--
M OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/LLRAW.cs
M OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
M OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
2008-12-10 16:50:11 +00:00
Melanie Thielker
e8a43b136b
Applying diva's revert patch. Reverts closing child agents and makes
...
TP more reliable again.
2008-12-10 01:37:31 +00:00
Justin Clarke Casey
dae84498ed
* Enable agent to agent transfer of inventory folders
...
* It should now be possible to give an entire folder to another avatar instead of just single items at a time
2008-12-09 20:07:15 +00:00
Justin Clarke Casey
762712c02e
* Actually update subfolders of parent folders in the inventory cache when a folder gets moved
...
* This was causing inventory folder transfer code to not work properly (this is still temporarily disabled)
2008-12-09 18:35:09 +00:00
Justin Clarke Casey
7c3bfdd8c9
* Apply terrain flip patch from http://opensimulator.org/mantis/view.php?id=2315
...
* This allows terrain to be flipped on the x or y axis with the command "terrain flip x" (or y)
* See terrain help from the command prompt
* This is in anticipation of change the way around in which terrain raw files are imported to match that of Second Life (to reduce user confusion and improve useability)
* Thanks jonc!
2008-12-09 17:00:42 +00:00
Teravus Ovares
cb73cf1a92
* Fixes a few instances of llSetStatus with Axis lock gone wrong.
...
* Sums up the masses of the objects within a physical linkset
2008-12-09 16:27:07 +00:00
Justin Clarke Casey
557567dcf8
* minor: remove some old logging messages
2008-12-09 16:16:16 +00:00
Sean Dague
04e8d624d6
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission)
which when enabled makes PERMISSION_CHANGE_LINKS to be granted to
scripts by default. When enabled llGetPermissions will always return it
as granted and llCreateLink//llBreakLink will succeed without
doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS.
The patch also fixes a minor bug in llCreateLink
related to a potential dereference of a null client object.
2008-12-09 13:24:01 +00:00
Jeff Ames
3ba0bc8f44
Minor formatting cleanup.
2008-12-09 12:15:02 +00:00
Teravus Ovares
3844e73d27
* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.
...
* Warning! Physics API change. This means that the NBodySimulation needs to be updated!
* PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
2008-12-09 11:11:16 +00:00
Dahlia Trimble
44d133da66
clean up some old debugging code
2008-12-09 08:17:31 +00:00
Adam Frisby
888151833b
* Added primitive exception logging capabilities.
...
* Disabled by default (see OpenSim.ini.example for how to enable)
* Saves exceptions to a folder on disk (default "crashes") when enabled.
* These reports can then be uploaded or posted to help debug an error.
2008-12-09 03:06:26 +00:00
idb
8c33fcb321
Remove null checks on structs
2008-12-09 00:51:35 +00:00
idb
7e65697142
Reinstate setting timeout to never, the default 30 second timeout was causing problems with big migrations
2008-12-08 18:55:19 +00:00
Sean Dague
444436db15
change a UUID cast to an actual new UUID call to be consistant with
...
the rest of the assignments here.
2008-12-08 17:06:47 +00:00
Sean Dague
a260466147
fix an issue I found where primshapes weren't every being removed
...
because of a logic error.
attempt to speed up deletes a bit by batching up all the primitem
deletes and primshape deletes into single delete statements. This
removes the lock/release/lock/release/lock/release for loop.
2008-12-08 16:29:48 +00:00
lbsa71
b4a725ed87
* Killed off OpenSimExport. One project less to maintain.
2008-12-08 14:45:40 +00:00
Teravus Ovares
e61dacb928
* Adds some rudimentary error handling to the physics debug drawstuff tool.
2008-12-08 07:19:26 +00:00
Teravus Ovares
354ffcf94e
* Fixes control issue at the root of the boat turning problem.
2008-12-08 07:18:30 +00:00
Homer Horwitz
7083be07b0
Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320
2008-12-07 19:20:45 +00:00
Teravus Ovares
76e1462dff
* Tweaks physics so that linked prim are a single body. This will make linked prim more stable and probably the last obstacle to vehicles physics wise.
...
* Fixed a bug that caused physics proxies to be scattered when you link an object.
* Single physical prim work exactly the same as before, just linked physical prim will have changed.
2008-12-07 04:03:09 +00:00
Homer Horwitz
6ab09bc139
Send the creation-date of items to the viewer. This fixes Mantis#2769.
2008-12-06 22:51:41 +00:00
Melanie Thielker
c5bd7975e8
Change AllowScriptCrossings to be AllowScriptCrossing to match the
...
.ini files already out there
2008-12-06 18:33:13 +00:00
idb
84ba5dd962
Fix an ArgumentNullException when moving a DotNet scripted object to the next region
2008-12-06 14:55:18 +00:00
Jeff Ames
3a4ddfec79
Add copyright headers.
2008-12-06 03:54:01 +00:00
Tedd Hansen
f2cbc48a9e
GUI for launching grids. Early version, but should work fine.
...
Will execute all OpenSim services redirect their input/output/errors to the selected "GUI module".
This version has following "GUI modules":
* Windows Forms
* Windows Service (doesn't work yet)
* Console
* TCP daemon
This means that OpenSim can now run in a single console for those who want that.
Console functionallity is not too rich yet, but code/framework is there... more to come. :)
2008-12-06 03:28:34 +00:00
Jeff Ames
b23e82b573
Minor formatting cleanup.
2008-12-06 00:54:48 +00:00
Melanie Thielker
d24e4a9f2d
Committing the missing bits to enable script crossing. Disabled by default.
...
For a script to successfully cross, both source and destination region must
enable the feature. WARNING: Trusting binaries from other sims allows
ARBITRARY REMOTE CODE EXECUTION for ANYONE! Please do not use except
in ultimate trust scenarios!
2008-12-05 20:30:00 +00:00
Homer Horwitz
05467cb780
- Use the http-port that is now provided by the grid-server. If it isn't (because GridServer is too old), complain.
...
Not used yet, but will be necessary for crossing regions correcly.
2008-12-05 17:31:31 +00:00
Homer Horwitz
33d7913341
- Fixed missing ToString() in map_blocks response in grid-server
...
- Added remoting_port to the non-fast if-branch, too
- Added httpPort field to map_blocks response. This isn't needed yet, but will be for correct crossing between regions.
Note: This touches the GridServer.
2008-12-05 17:31:20 +00:00
idb
7ae9ec217d
Implementation of the llDetectedTouch* functions
2008-12-05 16:48:47 +00:00