Commit Graph

6885 Commits (d19212c3e45002f3790c24f07f2f3f6fa94f6715)

Author SHA1 Message Date
Justin Clarke Casey 0d17ba2a76 * refactor: Attach a scene object to a scene separately from its construction 2008-11-06 22:21:25 +00:00
Sean Dague 629b0d9f28 add create_time and access_time to asset db for mysql, as well
as the code to update these at the appropriate time.  This isn't
surfaced in AssetBase yet.

Change the replace into to an insert into for asset create.  Assets
are not supposed to be updatable, and the replace into is more
expensive.

From: Sean Dague <sdague@gmail.com>
2008-11-06 21:21:46 +00:00
Justin Clarke Casey c6dad833f5 * minor: remove some mono compiler warnings 2008-11-06 21:01:16 +00:00
Homer Horwitz 1df67a37dc Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.
As those aren't viewer-initiated TPs, the viewer has to be informed.
This should fix Mantis #2351 and #2397.
2008-11-06 20:38:34 +00:00
Justin Clarke Casey 9770cf778e * minor: Make some 'startup config failed to load' log messages more consistent 2008-11-06 20:38:04 +00:00
MW c932aae4c3 a little bit more refactoring of startup 2008-11-06 20:17:20 +00:00
Justin Clarke Casey d31d02c373 * refactor: Split BeginRecieve() into BeginReceive() and BeginRobustReceive() 2008-11-06 20:10:39 +00:00
Justin Clarke Casey 5a852321e0 * Stop passing along epSender explicitly where we are really using the constantly reused ep sender field 2008-11-06 19:59:59 +00:00
Justin Clarke Casey 427a80bba5 * test: Add assert checking that the circuit which trigger the socket exception has been closed 2008-11-06 19:52:06 +00:00
Justin Clarke Casey 29691a3d36 * Test to ensure that the udp server stays active after receiving a SocketException on BeginReceive 2008-11-06 19:35:57 +00:00
Charles Krinke 17e43dcc0f Mantis#2566. Thank you kindly, Diva for a patch that:
This patch introduces a couple of read-only properties, 
so that I can grab the asset server plugin from a region 
module. This is needed to set up an http service for 
accessing standalone assets remotely.
2008-11-06 19:27:18 +00:00
Charles Krinke 557c7de2ec Thank you kindly, Diva, for a patch that:
Removed unnecessary dependency from 
Get/PostAssetHandlers to OpenAsset_Main
2008-11-06 19:24:42 +00:00
Charles Krinke c8db23d456 Thank you kindly, Diva for a patch that:
Makies OpenSimBase even more friendly to subclassing
2008-11-06 19:21:50 +00:00
Charles Krinke 9efc4e303b Mantis#2423. Thank you kindly, Godfrey for a patch that:
Included patch fixes error: Z and W terms in the quaternion were 
swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>).
There is an issue with older prims: it seems their default sit 
target was not always set to ZERO_ROTATION;
2008-11-06 19:18:30 +00:00
Charles Krinke 563d583973 Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that:
Improves ScenePresence.cs for attachments when crossing boundaries
between regions.
2008-11-06 19:04:56 +00:00
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