Commit Graph

7270 Commits (4636e5fc01d1cd7a44c013670b7052f218698201)

Author SHA1 Message Date
Justin Clarke Casey 8477aab8e0 * refactor: factor out test packet send method in client stack unit tests 2008-11-06 18:27:56 +00:00
Sean Dague 46492f3c11 From: arthursv@linux.vnet.ibm.com
Add more unit tests for user cases
Persist more user fields into mysql that already had columns
defined but weren't getting passed to the mysql manager.
2008-11-06 17:07:08 +00:00
Melanie Thielker f79e7597b6 Disable distance sorting for child agents. It makes no sense there, as the
base point for the sort is 128,128,128, causing funny visuals
2008-11-06 16:25:11 +00:00
Melanie Thielker 4cd7907314 Change threat level of osMakeNotecard to High because of it's griefing
potential (asset bloat, asset server DOS due to no enforced delay)
Formatting cleanup. Change default permissions on the notecard to
not include "anyone can copy" and "anyone can move", as they are
meaningless on non-prim items.
2008-11-06 14:37:41 +00:00
Dr Scofield 09f86d7e99 - fixes comparison of struct against null (no no no)
- fixes IRCBridgeModule's XmlRpc method really paying attention to
  region parameter
- cleans up indentation in IRCBridge code
- fixes ConciergeModule exception on client logout
2008-11-06 13:13:08 +00:00
Dr Scofield 44b0c59ba9 From: Christopher Yeoh <cyeoh@au1.ibm.com>
The following patch implements osMakeNotecard as specified on the OpenSim website
2008-11-06 09:12:14 +00:00
Mike Mazur 5d8e08a072 - create entries in avatarattachments table when first attaching an object; fix issue 2512
- correct attachment offset; fix issue 2513
- thanks Thomas for the patches
2008-11-06 06:23:58 +00:00
Jeff Ames 397b608af5 Thanks Diva for a patch that makes WorldMapModule friendly to subclassing. 2008-11-06 02:11:51 +00:00
Jeff Ames 1c4d6544d5 Update svn properties. 2008-11-06 01:56:42 +00:00
Justin Clarke Casey f7f448bc78 * Fix capitalization typoes in packet throttle that happened to be the name of existing fields
* This should (hopefully) allow TestClient and stuff built on top of it to work again
* Will probably come back later and change variable names to stop this happening again
2008-11-05 22:17:47 +00:00
Justin Clarke Casey 892e7bf9fb * Properly use the default value if the LindenUDP.ClientStack section exists by the client throttle setting does not
* Old behaviour was to throw an exception on startup
* Print out client stack setting temporarly for debug purposes
2008-11-05 20:42:37 +00:00
MW 571b94f537 moved the initial loading/setting of the config settings to its own class, ConfigurationLoader. To make it easier to customise the loading of those settings and possible in the future move it to a plugin. 2008-11-05 20:14:52 +00:00
Justin Clarke Casey 590cff9956 * Zap the letters that accidentally crept in to the license in EventQueueThreadClass
* (damn, Teravus spotted my plan to slowly change all the licenses in OpenSim letter by letter)
2008-11-05 20:13:53 +00:00
MW 6e017ca842 fixed/refactored the Get/Set Config console commands. 2008-11-05 19:47:29 +00:00
Justin Clarke Casey fc36d7fdf2 * Set default client throttle multiplier to 2 (old value was effectively 8). See OpenSim.ini.example for details as to what this means
* Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality
* This may improve one aspect of sim performance where there are many avatars.  However, there are still other performance problems that are unrelated to this change
* Value may be further tuned
* Removed temporary decals since the multipler setting will stick around now
2008-11-05 19:23:59 +00:00
MW 204ef95843 Moved a couple of more configuration fields to ConfigSettings 2008-11-05 18:00:45 +00:00
MW 079469b3f5 more startup/initialisation refactoring 2008-11-05 17:45:56 +00:00
MW 2a249373d3 Moved most of the configuration fields from Opensimbase to their own Class... Framework/ConfigSettings. 2008-11-05 17:18:16 +00:00
Justin Clarke Casey 8f3c5dbe5c * Apply second patch in http://opensimulator.org/mantis/view.php?id=2561
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
2008-11-05 15:26:10 +00:00
Jeff Ames 638fe7a7b5 Update svn properties, minor formatting cleanup. 2008-11-05 15:15:41 +00:00
Justin Clarke Casey b84417a220 * Apply http://opensimulator.org/mantis/view.php?id=2561
* This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet 
have these).
* Thanks StrawberryFride
2008-11-05 14:02:36 +00:00
Sean Dague 8bacdbd49c add a test that ensures that databases work if email is null.
From: Sean Dague <sdague@gmail.com>
2008-11-05 13:23:25 +00:00
Dahlia Trimble 6d195ce3ce added missing file from mantis #2555 2008-11-05 10:38:37 +00:00
Dahlia Trimble 5fffc04ae6 Add more vertex normals and UV coordinates. Sync with primmesher.dll forge project. 2008-11-05 10:22:41 +00:00
Charles Krinke d664192dfe Mantis#2557. Thank you kindly, Diva for a patch that:
This patch changes a method from private to public.
Will make life easier for the asset mapper for 
the hypergrid.
2008-11-05 02:23:44 +00:00
Justin Clarke Casey 349f6ec3e5 * Apply http://opensimulator.org/mantis/view.php?id=2555
* Add new e-mail field to users table for MSSQL
* Thanks StrawberryFride
2008-11-04 21:44:57 +00:00
Justin Clarke Casey 41232ee921 * Correct build break from last commit - how on earth did it compile last time? Bizarre 2008-11-04 21:42:31 +00:00
Justin Clarke Casey e1e2622e92 * Stop an exception in the thread tracker cleanup loop from terminating the sim 2008-11-04 21:35:12 +00:00
Justin Clarke Casey 8851db0a0a * Stop an exception in the Content Management module main loop from crashing the whole sim 2008-11-04 21:30:57 +00:00
Justin Clarke Casey 09dabb2aec * Prevent texture sender thread termination from immediately crashing the sim 2008-11-04 21:26:40 +00:00
Justin Clarke Casey 9848dc77cc * Stop an exception in getting assets for the archiver from crashing the sim 2008-11-04 21:19:00 +00:00
Sean Dague ea27b95f8e From: Rob Smart <SMARTROB@uk.ibm.com>
This patch allows an object to directly message another object given its
key using the method osMessageObject(key objectUUID,string message).

to communicate with an object it must implement the dataserver listener
method. The dataserver method is passed the key of the calling object
and a string message.
2008-11-04 20:48:35 +00:00
Justin Clarke Casey c4fbb6453c * Stop a non WebException in an XMLRPC request from bringing down the whole sim 2008-11-04 20:47:59 +00:00
Justin Clarke Casey 03c402842a * Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot 2008-11-04 20:43:11 +00:00
Justin Clarke Casey 97d320d7d1 * Practise some defensive programming - gracefully terminate the thread if there is a problm in the world map module rather than bringing down the whole server. 2008-11-04 20:23:18 +00:00
Justin Clarke Casey 21c0df53a2 * Improve the previous fix by pushing the exception catching down into OGS1 grid services 2008-11-04 20:14:57 +00:00
Justin Clarke Casey f793f93817 * Temporary fix to stop a problem in getting neighbour info in the world map module from crashing the entire server 2008-11-04 19:56:02 +00:00
Justin Clarke Casey 78bfe7a3e3 * minor: doc and log message tweaking for wearables 2008-11-04 19:51:35 +00:00
Sean Dague 7d6dc3b099 add some null protection on email
From: Sean Dague <sdague@gmail.com>
2008-11-04 19:26:17 +00:00
Sean Dague 972143b592 - Added stronger persistence tests for BasicUserTests
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04 18:53:13 +00:00
Sean Dague 45dd97a262 - Stronger inventory tests
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04 18:53:06 +00:00
Justin Clarke Casey 67315ef106 * Stop sending wearables back to the client on set appearance
* Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
2008-11-04 18:33:54 +00:00
Justin Clarke Casey 5330838b15 * minor: appearance related doc and log message tweaking 2008-11-04 18:29:37 +00:00
MW 1c2a0c78d9 Added a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted.
So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does.
Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit.
Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
2008-11-04 16:39:28 +00:00
Dr Scofield f57d1307ab fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...
2008-11-04 16:17:27 +00:00
Sean Dague 702249358b implement email field for MySQL and SQLite
From: Sean Dague <sdague@gmail.com>
2008-11-04 14:54:42 +00:00
Mike Mazur 6e14d1005a Prefix LSL variables which are C# keywords with @ instead of _ when translating from LSL to C#. Thanks idb for the patch. Fix issue 2546. 2008-11-04 01:30:39 +00:00
Jeff Ames a66081f562 Update svn properties, minor formatting cleanup. 2008-11-04 00:54:16 +00:00
Sean Dague a9d0642fca add email field to UserProfileData object
remove virtual setting from properties, as that was legacy that I put in
there a while back

From: Sean Dague <sdague@gmail.com>
2008-11-04 00:35:32 +00:00
Justin Clarke Casey ee178c76ae * Apply http://opensimulator.org/mantis/view.php?id=2535
* Catch and report deserialization exceptions on rest handlers
* Thanks Diva!
2008-11-03 22:29:19 +00:00