Commit Graph

5316 Commits (84136c70d8a8e3278d1ff3949971e993f6c3f1fb)

Author SHA1 Message Date
Justin Clarke Casey baa29fcbff * minor: Doc and log message tidy up
* reinstate debug level log message indicating when a child agent is made a root for future debugging purposes
2008-10-28 15:46:30 +00:00
Justin Clarke Casey 2a9796e2aa * Apply http://opensimulator.org/mantis/view.php?id=2482
* Stop 'show threads' throwing an exception if a thread is dead
2008-10-28 15:01:43 +00:00
Charles Krinke d8a6971a35 Thank you kindly, Mircea Kitsune for a patch that solves:
When the avatar stops flying in mid air, it stays still 
while it falls to the ground. Normally, the avatar would 
use the falling animation (when it spins its arms and legs 
while falling) until it reaches the ground.
2008-10-28 14:57:31 +00:00
Dr Scofield 1a06045c98 From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch fixes the bug where when linking in a new set of
prims to an already linked set of objects the prims were placed at the
end of the list rather than just after the root prim. ie.  link prim
order result was different on OpenSim compared to an LL server. This
causes a few issues with respect to compatibility of scripts,
especially when using llCreateLink.
2008-10-28 11:26:23 +00:00
Melanie Thielker 8ea4553d39 Mantis #2486
Thank you, nlin, for a patch that fixes serialization of vector and
quaternion types for script state.
2008-10-28 10:14:44 +00:00
Dahlia Trimble ae5d92a167 some sorely needed extruder code simplification and refactoring, also some fixes to cut face UV coordinates 2008-10-28 08:57:15 +00:00
Jeff Ames 1342e89a8f Update Sun options in OpenSim.ini.example. Minor cleanup in SunModule.cs. 2008-10-28 02:34:03 +00:00
Melanie Thielker 9a36afec6e Experimental patch (suggested by diva) to kill off WP teleport ghosts. 2008-10-27 23:46:34 +00:00
Justin Clarke Casey e6a141b0f5 * Remove the OpenSim GUI.
* A better version can now be found on the forge at http://forge.opensimulator.org/gf/project/osgui
2008-10-27 21:29:22 +00:00
Justin Clarke Casey 4b929804dc * cleanup: Update the avatar factory (appearance module) in Region/Environment and use that instead of the Region/Modules/AvatarFactory
* Remove the AvatarFactory dll
2008-10-27 20:48:18 +00:00
Justin Clarke Casey 754f6ba2a2 * minor: remove mono compiler warnings 2008-10-27 20:16:42 +00:00
Justin Clarke Casey 6ec9c2d706 * Apply http://opensimulator.org/mantis/view.php?id=2468
* This time there are accompanying changes to the unit test to adapt it to the changes
* Thanks tglion
2008-10-27 17:06:47 +00:00
Justin Clarke Casey 0d69e06779 * Temporarily revert terrain changes in r6976 and reinstate unit test from r6977.
* If a change is going to affect a unit test, then please could we change the unit test at the same time?  Otherwise this will never get done
* It also seems a bad idea to disable tests which start failing unless there's a very good reason
2008-10-27 14:27:45 +00:00
Jeff Ames b2d6b0a3d4 Update svn properties, minor formatting cleanup. 2008-10-27 01:43:59 +00:00
Charles Krinke a59ca765fe Thank you kindly, Idb for a patch that solves:
LSL - Bitwise operators OR and XOR do not work 
on integer variables
2008-10-27 00:59:26 +00:00
Charles Krinke 8a6042f063 Thank you kindly, Idb for a patch that solves:
llGetRot and llGetRootRotation return the wrong 
values when the object is attached
2008-10-27 00:51:50 +00:00
Charles Krinke 8cb889cb0e Thank you kindly, Ruud Lathrop for a patch that solves:
Primary Key violation when just linked a lot of prims using MSSQL.
2008-10-27 00:46:17 +00:00
Melanie Thielker cc48110a03 Mantis #2428
Thank you, miceakitsune, for a patch that makes terraforming tools usable again
2008-10-26 23:09:00 +00:00
Melanie Thielker f7e44250bf Committing a small fix for EventData along with more plumbing work 2008-10-26 19:32:41 +00:00
Charles Krinke ba79c26d2d Thank you kindly, Idb for a patch that solves:
The following should silently fail when attached,
llBreakAllLinks, llBreakLink, llCreateLink.
The following should be restricted to avatars in the same sim,
llGetAgentInfo, llSameGroup, llGetAgentSize, llGetAnimationList.
Comment added to the following unimplemented functions,
llGetAgentLanguage, llGetAnimation.
2008-10-26 18:26:56 +00:00
Charles Krinke b552e8ebe3 Thank you kindly, Idb for a patch that solves:
llGetBoundingBox is completely unimplemented. The attached 
patch contains a partial implementation for single prim 
objects and standing, flying and ground sitting avatars. 
In the case of an avatar sat on an object or multi-prim 
objects only the bounding box of the root prim is returned.
llRezObject and llRezAtRoot ignored any velocity parameter. 
The attached patch makes use of it if it is not a zero vector.
2008-10-26 17:09:26 +00:00
Charles Krinke 2462108bfb Thank you kindly, Ewe Loon for a patch that solves:
m_ScriptDelayFactor and m_ScriptDistanceFactor are 
being read from XEngine settings not the settings 
for the scriptengine being used
2008-10-26 17:01:15 +00:00
Melanie Thielker c25f3ced04 Disable terrain brush test until someone with terrain-fu can look
at it and determine the new test parameters needed for the terrain
brush with strength support
2008-10-25 14:47:09 +00:00
Charles Krinke 4e14aa44c7 Thank you kindly, Tglion for a patch that:
Support of strength-slider in latest sl-client (1.21.6)
Added a patch, which includes the support of strength-slider 
in latest sl-client (1.21.6) for Raise- and LowerSphere.
2008-10-25 14:07:35 +00:00
Melanie Thielker c49e1b8fb6 A few more bots to yesterday's plumbing: change instant message method
signature
2008-10-25 13:53:17 +00:00
Homer Horwitz 5e6954dfe6 Fixed the cause of a hidden Exception which prevented BaseHttpServer to answer
when a non-existing XmlRpc method was called. Now, it will correctly respond
with a faultCode/faultMessage.
2008-10-25 13:45:26 +00:00
Melanie Thielker dc1214e46f Make ScenePresence.Close public to allow subclassing of SceneComms 2008-10-25 13:44:26 +00:00
Melanie Thielker 26643c4a9d More plumbing and some wires 2008-10-25 01:42:43 +00:00
Melanie Thielker f85be9b39a Fix a leak in the plumbing 2008-10-24 23:55:28 +00:00
Dahlia Trimble 3447bed8be Add end faces when radius setting is non-zero 2008-10-24 23:37:09 +00:00
Melanie Thielker 64f9f03e9a Plumb some more 2008-10-24 23:04:55 +00:00
Justin Clarke Casey c519b80680 * minor: eliminate some mono compiler warnings 2008-10-24 21:40:05 +00:00
Justin Clarke Casey 7b224677c1 * Stop passing in unnecessary pameters to CreateNewCircuit 2008-10-24 21:34:18 +00:00
Justin Clarke Casey dc6724ddde * minor: Remove now unused startpos method 2008-10-24 21:26:59 +00:00
Justin Clarke Casey 3340a579e7 * Stop creating a circuit if the client fails authentication (i.e. the region server wasn't told that it was coming)
* This moves authentication from the client thread (where failure was difficult to detect) to the particular thread handling that packet
* I've kept the authentication outside of the crucial clientCircuits lock (though any delay here is probably swamped by the other delays associated with login)
* Also added more to the unit test to ensure this doesn't regress
2008-10-24 21:22:54 +00:00
Dahlia Trimble 71660003de un-double-flipped some double-flipped normals in circular path prim end caps 2008-10-24 20:04:34 +00:00
Justin Clarke Casey 91c2e53277 * Change AddClient test such that we now successfully authenticate
* The fact that the assert passed even when authentication failed reveals a bug in the code that will be corrected soonish
2008-10-24 19:40:45 +00:00
Justin Clarke Casey 9fa7264c73 * minor: refactor out AddUser test setup to common method 2008-10-24 19:10:25 +00:00
Melanie Thielker a9b1119e49 Remove a debug output dump 2008-10-24 15:04:35 +00:00
Melanie Thielker 6775b7d02d Lotsa plumming :) 2008-10-24 14:53:13 +00:00
Dahlia Trimble a11fa9055a Fixed a floating point error accumulation that was causing missing end faces on some twisted prims 2008-10-24 05:31:43 +00:00
Justin Clarke Casey 369aa8f46b * minor: Remove unused public PacketServer variable.
* If this was important to you please reinsert and we can put it in a recognized interface.
2008-10-23 20:10:19 +00:00
Justin Clarke Casey 5c2d400235 * Apply http://opensimulator.org/mantis/view.php?id=2459
* Implements the rest of llGetAgentInfo() with the exception of AGENT_BUSY.
* Thanks nlin
2008-10-23 20:06:23 +00:00
Justin Clarke Casey c379c66c7c * Reenable assert for the add circuit test
* This checks that a client circuit is established when the udp server is given a use client circuit code packet
* And checks that other circuit codes do not exist
2008-10-23 19:51:10 +00:00
Justin Clarke Casey 6101202403 * Revert to executing existing setup if an added circuit did not already exist
* Not sure why things still worked in the presence of this bug - possibly the problem is compensated for later on.  If you are having udp session problems this bug fix may help 
(though no guarantees).
2008-10-23 19:25:40 +00:00
Justin Clarke Casey d30a596989 * Add missing file from last commit. Yay for continuous integration! 2008-10-23 19:16:33 +00:00
Justin Clarke Casey f4ad99f89d * Introduce a basic udp circuit test for adding a client
* Temporarily disabled assert because it just picked up an existing bug.  Yay for tests!
2008-10-23 19:08:54 +00:00
Justin Clarke Casey ee3c428040 * Refactor LLUDPServer slightly so that unit tests can pass in data synchronously. Shouldn't be any functional change 2008-10-23 17:16:13 +00:00
Dr Scofield f5371b6635 adding documentation for region_master_uuid to XML doc comments 2008-10-23 12:19:11 +00:00
Dr Scofield 44052a1423 fix: allowing explicit setting of UUID for master avatar in
CreateRegion (and documenting it).
2008-10-23 12:10:58 +00:00
Dr Scofield dc7e3ddc3e fix: recent patch to XmlRpcCreateRegionMethod introduced master avatar
UUID parameter without checking for it at the method entry. this patch
adds logic to obtain the master UUID via the user profile service,
and, if the master avatar does not exist, will create the user. in any
case the UUID is then the one supplied by the user profile service.
2008-10-23 11:14:25 +00:00
Dr Scofield 4dcafab286 removing unused method from ConciergeModule. adding attendee list
logic to ConciergeModule. adding XmlRpc method to allow update of
welcome template for a region. documenting [Concierge] "password"
option in OpenSim.ini.example.
2008-10-23 10:21:03 +00:00
Dr Scofield b91857b8f7 Adding AddXmlRpcHandler(name, method, bool) to selectively disable
KeepAlive for certain XmlRpc handlers.

Making use of new AddXmlRpcHandler method in RemoteAdminPlugin to
avoid clients waiting indefinitely for response.

taking note of BaseHttpServer parameter in CommunicationsManager
constructor (was passed it but then just ignored so far).
2008-10-23 10:15:19 +00:00
Dr Scofield dbd8e1edb5 cleaning up commented lines in IRCConnector; changing access_password
logic to use a regexp.
2008-10-23 09:58:12 +00:00
Charles Krinke f919b86156 Thank you kindly, Idb for a patch that:
Added AGENT_ATTACHMENTS and AGENT_SCRIPTED to llGetAgentInfo
Added to llGetAgentSize to include shoes in avatar height calculation.
2008-10-22 23:07:45 +00:00
Homer Horwitz 80689c98b4 - Added BaseHttpServer.Stop
- Added "register" command to MessagingServer to re-register with the
  UserServer after that crashed/was restarted.
2008-10-22 17:06:23 +00:00
Charles Krinke 809a1d3367 Thank you kindly, Nlin for a patch that:
Attached patch adds detection of AGENT_WALKING 
status to LSL function llGetAgentInfo()
2008-10-22 14:09:58 +00:00
Charles Krinke 3c99f027b5 Thank you both Nlin and M.Igarashi for a patch that:
Attached patch protects against a NullReferenceException 
in SceneObjectGroup.stopMoveToTarget (used by LSL function 
llStopMoveToTarget). Thanks to M. Igarashi.
2008-10-22 14:06:07 +00:00
Melanie Thielker 659ad99993 And fix it 2008-10-22 03:50:45 +00:00
Melanie Thielker a8523dddb6 Prevent an object with a null RootPart in delete queue from stopping
the deleting of other, valid objects
2008-10-22 03:49:38 +00:00
Melanie Thielker f9b3ef32c6 Remove the gratuitious prim deletes caused by linking. This makes linking
a bit faster.
2008-10-22 03:32:45 +00:00
Teravus Ovares dfc12d591c * Add a config option for filtering collisions. Sometimes, under load, this seems to cause bouncing on really thin flat prim. 2008-10-22 01:52:12 +00:00
Melanie Thielker f44742f75f Pare the groups module down to basics. Adjust dependent files so that a
real groups module can even be implemented.
2008-10-21 22:54:31 +00:00
Dr Scofield 2a506f0cb2 adding "welcome" support to Concierge: allows to specify via
welcomes = /path/to/welcome/files/directory

a directory in which you can place welcome templates for concierged
regions (those regions that match the "regions" regexp). you can use
format substitution:

       0: will be replaced by avatar name of the avatar entering the region
       1: will be replaced by region name
       2: will be replaced the name of the concierge
2008-10-21 17:55:25 +00:00
Dr Scofield d0cc193456 cleanup. 2008-10-21 17:45:18 +00:00
Jeff Ames 0d4e391f75 Update svn properties, minor formatting cleanup. 2008-10-21 14:08:30 +00:00
Dr Scofield 4218744a26 fixing real cause of #2445 & #2449: Position was <0, 0, 0> for
OSChatMessage coming from client.
2008-10-21 13:34:43 +00:00
Dr Scofield fd108872d8 fixes #2445 & #2449. interim fix that will make listeners work
again. need to investigate why chat position is catastrophically off.
2008-10-21 08:51:27 +00:00
Dahlia Trimble 931b04485d More work in vertex normals and texture UVs. Syncing code with pyov. 2008-10-21 01:35:05 +00:00
Melanie Thielker 5865a2b8f8 Set a default creation date on inventory and task inventory items 2008-10-21 00:44:57 +00:00
Melanie Thielker 81e220af8d Mantis #2439
MemberwiseClone() also clones the "already backed up" flag, preventing prims
created by drag-copying from being persisted. If such a prim is made the root
prims of a link set, the entire set will not be persisted. Fixed now.
2008-10-20 22:14:24 +00:00
Dr Scofield 12042cdc2b From: Alan Webb <alan_webb@us.ibm.com>
cleanups and assorted fixes to REST inventory, asset, and appearance
services.
2008-10-20 18:07:06 +00:00
Dr Scofield 1fc6872f20 actually enabling SaveOAR XmlRpc ;-) 2008-10-20 17:53:15 +00:00
Dr Scofield 72a388a7b6 cleaning up IRCBridgeModule to allow for configuration from in-world,
chat relaying via private channels, and old IRCBridgeModule
behaviour. also cleaning up IRCBridgeModule's OpenSim.ini
configuration variable names (still supporting "old" variable
names). refactored IRCChatModule into IRCConnector and incorporating
watchdog from IRCBridgeModule into IRCConnector.

enabling ChatModule to be used as a super-class and utilizing it in
ConciergeModule.
2008-10-20 17:31:54 +00:00
Melanie Thielker caf10245af Mantis #2438
Fix llSetVehicleFloatParam to accept LSL_Float
2008-10-20 07:47:20 +00:00
Charles Krinke e9134a050a Thank you kindly, Idb for a patch that solves:
lsl conformity, llPushObject incorrectly 
restricts  the pushing of objects based 
on region and parcel flags
2008-10-20 01:42:02 +00:00
Charles Krinke a5d945e199 Thank you kindly, Idb for a patch that solves:
llWind always returns a zero vector. In the attached 
patch the WindModule has been changed slightly to 
make wind data available for llWind
2008-10-19 21:11:13 +00:00
Justin Clarke Casey 923f9fb749 * minor: remove mono warnings 2008-10-19 18:45:41 +00:00
Justin Clarke Casey 3b381523eb * refactor: move loadInv and saveInv command line param functions up to the interactive OpenSim class
* direct module import is temporary
2008-10-19 18:26:44 +00:00
Justin Clarke Casey 6e98233b2e * Restore loaded inventory items to the given folder
* Among many other deficiencies, currently a cache clear and relog is needed to see them, which is highly unsatisfactory
* No user funcionality yet
2008-10-19 18:19:18 +00:00
Justin Clarke Casey f7205da1d9 * move command line parsing code from inventory archive modules to opensim server
* use default inventory archive name if none is given
* other minor cleanups
* this facility is not useable yet
2008-10-19 17:51:42 +00:00
Teravus Ovares ed8a20dd60 * Fixed UDP server (again)
* Guys, there's an endless loop there *ON PURPOSE*.  Please don't try to *fix* it.  We must continue to process the UDP stream buffer on clients that disconnected nastily until it ends or the UDP server accept thread will die a horrible death.
2008-10-19 17:02:39 +00:00
Homer Horwitz 1ee10d919a Added calling cards. Fixes Mantis#2409 and part of #1515. 2008-10-19 16:49:10 +00:00
Dahlia Trimble b6396bc9a7 More progress towards implementing vertex normals - not complete yet. 2008-10-19 09:04:25 +00:00
Teravus Ovares 6362760d30 * Null check before UseCircuitCode Check or the server crashes on packet loss! 2008-10-19 01:06:50 +00:00
Teravus Ovares 692f4259fb * Add root agent list/check for mapitem requests. 2008-10-19 00:29:37 +00:00
Melanie Thielker 16d8c40a93 A small attempt to make persisting prims more reliable 2008-10-19 00:06:33 +00:00
Melanie Thielker af7fcb540c Add a resource file on Strawberry's patch I missed 2008-10-18 16:31:05 +00:00
Teravus Ovares 11fd935038 * Changed the dupe collision depth limiter to be slightly more restrictive. (less chance for a dupe) 2008-10-18 16:20:02 +00:00
Melanie Thielker 1bd33aa51a Prevent a null root part from stopping objects from being persisted, also
remove any such objectsd from backup
2008-10-18 15:43:02 +00:00
Homer Horwitz 3a75a54da1 - Fix Util.UnixTimeSinceEpoch:
* Unix epoch starts at midnight, not at 8:00am
  * All date/time handling should be done in UTC in the server, not in
    the local timezone.
  * Refactor out repeated computation of a constant value
- Added setting of CreationTime to some places where inventoryitems
  are created
This fixes Mantis#2390.
2008-10-18 15:26:41 +00:00
Melanie Thielker 48890ea349 Guard against a null ref that can prevent objects from being persisted 2008-10-18 15:23:29 +00:00
Melanie Thielker c3ba97c80a Thank you, Strawberry Fride, for a patch that brings MSSQL even with MySQL 2008-10-18 13:04:35 +00:00
Melanie Thielker 264eeffd02 Fix thingd so that autoreturn also works when the user is not in the sim.
Also add experimental distance ordering for prims
2008-10-18 07:27:39 +00:00
Melanie Thielker efe3f3eb2a Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.
Add rezzing time to objects. Add Object return and traffic fields to land
database. Add plumbing for auto return. Implement auto return.
Contains a migration. May contain nuts.
2008-10-18 05:51:36 +00:00
Teravus Ovares 0916b38b83 * Fix an over compensation for bounciness on flat Primitive
* Implement the linear impulse portion of llPushObject.  We should have a lsl compatible implementation of that portion of the push.  Angular..   well.  still have yet to implement a torque accumulator.
* llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec.
2008-10-17 23:19:00 +00:00
Justin Clarke Casey 739f1591da * Remove mono warnings 2008-10-17 20:45:07 +00:00
Justin Clarke Casey 400314e884 * Finally, don't worry about doing containment checks on other dictionaries if we are adding a client
* Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting 
the next receive.  However, this would be a performance trade off and hence not worth trying without performance testing
2008-10-17 20:38:00 +00:00
Justin Clarke Casey 4ccac88cf6 * Don't worry about trying to populate the other dictionaries if a client's circuitcode is already found in the first one 2008-10-17 20:30:50 +00:00
Justin Clarke Casey 90d69a0523 * close two potential race conditions where a new asynchronous UDP recieve could overwrite an existing endpoint that had not yet been used by the previous thread
* in practice these race conditions were probably pretty rare
2008-10-17 20:14:31 +00:00