Commit Graph

6767 Commits (8ebd5b409ac85a3370b02c302efb4d24562b0f6e)

Author SHA1 Message Date
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