Commit Graph

3200 Commits (29fb93d2432249709de3c99940373e8acd692206)

Author SHA1 Message Date
Jeff Ames 7fefb80abb Minor cleanup. 2008-05-16 13:33:57 +00:00
Jeff Ames 9040213366 Set svn:ignore. Minor formatting cleanup. 2008-05-16 05:30:39 +00:00
Jeff Ames 65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Charles Krinke e25818d832 Thank you very much, mjm for :
Fixing LSL multiplication and division operators for quaternions
2008-05-16 00:56:55 +00:00
Sean Dague fc77364972 appearance now survives logout. Tommorrow will involve moving
the MSSQL and MYSQL mappers back in under datastores and looking at doing
gid bits for this
2008-05-16 00:04:46 +00:00
Teravus Ovares afd5da6851 * Adds various tweakable avatar control options to the OpenSim.ini.example. 2008-05-15 23:11:31 +00:00
Sean Dague 129e7e19c5 fixed the key issue that caused appearance to go wonky 2008-05-15 21:14:42 +00:00
Sean Dague 30202542c0 fix bad default initialization 2008-05-15 20:39:34 +00:00
Teravus Ovares 0976949ad4 * Committing half of patch mantis 001291 from Melanie! Thanks Melanie.
* Fixes perms on take-copy assuming you have a specific flag set..  which is still in discussion.
2008-05-15 20:29:28 +00:00
Sean Dague 4a9ee9f870 testing avatar appearance as a user service 2008-05-15 20:25:42 +00:00
Teravus Ovares bbaf2fe75e Committing Xantor's LLEuler3Rot still broken fix patch. Mantis 001235. Thanks Xantor! 2008-05-15 19:36:13 +00:00
Teravus Ovares d60e457463 Committing patch from Melanie. 0001290: [PATCH] implement permissions propagation and script module hooks. Thanks Melanie!
* Implements quite a few inventory related perms.
* (from Teravus) Fixes Take Copy
2008-05-15 19:28:10 +00:00
Sean Dague 4ff4475d02 remove my UserAppearance object, switch all code to use
AvatarAppearance instead.
2008-05-15 18:42:27 +00:00
Sean Dague c45218e275 add the rest of my UserAppearance created methods to
AvatarAppearance
2008-05-15 15:30:03 +00:00
Sean Dague 0c509ecdde minor refactor of some properties for readability 2008-05-15 15:10:13 +00:00
Sean Dague 8e7f2d6d0e refactoring to move AvatarAppearance into Framework and
move the appearance sending bits to ScenePresence
2008-05-15 14:39:54 +00:00
Sean Dague 3079cf7beb add some additional bits to AvatarAppearance to make this
a more data friendly object
2008-05-15 14:15:51 +00:00
Sean Dague 0307ad1153 Damn, forgot to manually add these as I keep forgetting that
svn patches don't do adds. :(
2008-05-15 11:32:28 +00:00
Teravus Ovares 173d13b0a4 * Added about half of the planned ODE physics options to OpenSim.ini.example.
* Some will do cool things, some will make your scene explode dramatically if you're not careful.
2008-05-15 06:35:01 +00:00
Teravus Ovares bc177b1c37 * Committing Patch mantis 0001275: [PATCH] Add more perms-fu. From Melanie. Thanks Melanie!
* Adds hooks in the permission module for CanReadScript, CanEditScript, CanCopyInventory, CanDeleteInventory, CanEditNotecard, CanViewNotecard, CanViewScript..  and a few more.   The functionality in the default module returns true.
2008-05-15 03:14:48 +00:00
Teravus Ovares 66e6711f3e * Got rid of an old crufty sleep that was being called. Thanks for your support in load testing Adam's simulator was what pointed this old crufty sleep out.
* Please, we need more load tests with profilers running. :D
2008-05-15 02:48:32 +00:00
Teravus Ovares a4efa93993 * Comitting 0001271: [PATCH] Refactor permissions to fully allow stacking permissions modules. From Melanie. Thanks Melanie! 2008-05-14 23:25:07 +00:00
Teravus Ovares 2a988f187e * Refactored IConfigSource into Physics plug-ins and Scene. We can get rid of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on
* The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
2008-05-14 23:15:25 +00:00
Justin Clarke Casey e246d6e515 * Start recording as a statistic the number of times we start blocking repetitive client requests for the same missing texture
* This is to maintain some visibility on the problem, since I removed the intentionally irritating log messages for this
2008-05-14 23:09:17 +00:00
Justin Clarke Casey 1ef37b196c * Minor: Fussy little wording change on inventory service failure 2008-05-14 22:30:43 +00:00
Justin Clarke Casey 1b90238f28 * Start recording initial complete avatar inventory retrieval failures from the region server
* In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton.  If this 
fails, login is halted completely.
* Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
2008-05-14 22:23:17 +00:00
Justin Clarke Casey 0f50162961 * Refactor additional stats collection common code into base opensim server
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
2008-05-14 21:53:40 +00:00
Justin Clarke Casey 56faeafdae * Refactor: Renaming non viewer statistics classes from Reporters to Collectors - this seems more intuitive 2008-05-14 21:27:54 +00:00
Teravus Ovares e45ace9b54 * Fixed attaching objects that are in-world. 2008-05-14 21:17:57 +00:00
Justin Clarke Casey 587f6ab645 * Refactor: Remove SceneObjectGroup.GetScenePresences() in favour of a direct call to Scene 2008-05-14 21:09:41 +00:00
Teravus Ovares b7d0aa7cb5 * Fixed deleting prim. 2008-05-14 20:25:09 +00:00
Justin Clarke Casey 74b5f6b14a From: Dr Schofield <hud@zurich.ibm.com>
* small patch that fixes a compiler warning (struct comparison against 
null again, my favourites) in LSL_BuiltIn_Commands. LSL_Types.key has a 
Boolean operator that can be used here.
2008-05-14 20:03:40 +00:00
Teravus Ovares be99ca6bc0 * Fixed situations where objects would jump back or scale incorrectly with Scale both sides checked.
* This probably makes build tools work again. yay.
2008-05-14 19:37:33 +00:00
Sean Dague 4a07038bbe From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.

currently working:

GET /admin/regions/                 -> returns UUID list of known regions
   GET /admin/regions/<UUID>    -> returns detailed region information

we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
2008-05-14 19:13:54 +00:00
Justin Clarke Casey 8fe9943293 From: Dr Schofield <hud@zurich.ibm.com>
Rename SearializableRegionInfo to SerializableRegionInfo (class was already named correctly)
2008-05-14 17:03:25 +00:00
Adam Frisby cbb15ff446 * Applying patch from Melanie to expose godlevel to modules. 2008-05-14 16:52:22 +00:00
Adam Frisby c9c016e26a * Applying patches from Melanie to cover permissions module. Thanks! 2008-05-14 16:51:16 +00:00
Sean Dague b1327dda01 fix for a change in inventory that meant I was returning a lot
of empty inventory folders
2008-05-14 15:43:19 +00:00
Justin Clarke Casey d104b75116 From: Kurt Taylor <krtaylor@us.ibm.com>
More scipt engine cleanup - removed not needed or improper use of NotImplemented and Console.WriteLine
2008-05-14 11:42:09 +00:00
Teravus Ovares 820bce16fc * Added standard copyright and removed un-necessary using of libsecondlife.Packets 2008-05-14 07:00:42 +00:00
Teravus Ovares 5b4d7922ea * Adding the very bare minimum for the client to register user as having the group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets. 2008-05-14 06:58:32 +00:00
Jeff Ames b7a0855c3a More formatting cleanup. Minor refactoring. 2008-05-14 06:09:39 +00:00
Teravus Ovares 39eb39c0d5 Applied Patch mantis 1220. Implements llGetStartParameter. Thanks! 2008-05-14 05:43:21 +00:00
Jeff Ames 6a1b787436 More formatting cleanup. 2008-05-14 05:33:32 +00:00
Jeff Ames c995d60d37 Formatting cleanup. 2008-05-14 05:11:23 +00:00
Teravus Ovares eff470c0de * Added 3 warnings in response to the warnings. Adam, read the warnings. 2008-05-14 05:08:22 +00:00
Teravus Ovares 9e8dd941f1 * Refactored OutPacket out of ScenePresence
* Down to 65 warnings.
2008-05-14 04:57:32 +00:00
Teravus Ovares 8fd0378ae6 * Removed 19 warnings 2008-05-14 04:06:33 +00:00
Teravus Ovares 9e1cc72c6e * Refactored OutPacket and FirstName/LastName out of Friends Module. 2008-05-14 03:57:30 +00:00
Jeff Ames 92128d4ef9 Update svn properties. 2008-05-14 03:09:02 +00:00
Teravus Ovares 60146691ea * Added the same catch on the 2nd place that objects fail to lock. 2008-05-14 02:16:51 +00:00
Teravus Ovares fd035ec1f8 * Applying Melanie's FriendList related crash patch. She discovered that .NET throws a different error then mono does. Thanks Melanie! 2008-05-14 02:14:05 +00:00
Teravus Ovares 3c7e6b0c1e * Tweaked a regex that was returning invalid results in some cases. 2008-05-13 23:19:18 +00:00
mingchen ed4ea9b4b8 *Locked objects can now be unlocked 2008-05-13 21:43:52 +00:00
mingchen fe6c626501 *Locked objects now delete after accepting warning as expected 2008-05-13 21:27:53 +00:00
Justin Clarke Casey 16621fb37f * Refactor: Remove locking from InnerScene.GetScenePresence() 2008-05-13 18:40:36 +00:00
Justin Clarke Casey 3025dafa92 * Refactor: Stop exposing the inner scene's ScenePresence dictionary directly to the world 2008-05-13 18:25:15 +00:00
mingchen 91aa7fa4fe *Fixed compile error on last commit 2008-05-13 18:14:12 +00:00
mingchen 5972e93449 *Objects now delete correctly 2008-05-13 17:39:21 +00:00
Adam Frisby d90022b4d8 * Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug. 2008-05-13 17:14:04 +00:00
Adam Frisby 5548dd6b06 * Some more bulletx physics fixes from Jed (DeepThink) 2008-05-13 17:05:52 +00:00
mingchen 32785921d0 *Complete redo of the permissions module
*Removed hardcoded permissions checks
*Added permissions checks where needed
2008-05-13 16:22:57 +00:00
Justin Clarke Casey 8293be6811 * Remove old historical grid inventory code 2008-05-13 14:59:18 +00:00
Justin Clarke Casey 550018f02d * As part of the region registration process, the grid service now requests the status of the region using the region http uri just passed in
* If the status cannot be retrieved, then the region startup will terminate.
* The aim of this is for earlier detection of situations where the region can send messages out but cannot accept incoming requests (often due to firewall issues)
* This is currently an extremely simplistic check which completely trusts whatever http uri is given by the region
* This contact may be problematic, though since the user service needs to be able to contact the region http uri, it doesn't seem unreasonable for the grid to have to be able to do so too at this stage
* This change will require a prebuild
2008-05-13 13:36:21 +00:00
Teravus Ovares bfce23dcf4 * Implemented ChildAgentDataUpdate throttle multiplier based on an inaccurate count of neighbors.
* The neighbor count is always lower then the actual number of neighbors unless your region was up the longest.
* The region you're in is un-affected by this, though, you'll get less packet loss, maybe not get logged off immediately when you log in, and possibly see more prim if your internet connection is semi-unreliable.
2008-05-13 06:05:45 +00:00
Teravus Ovares fcc23be577 * Fixed directory not found when saving Mesh previews (my bad, I was testing) 2008-05-13 05:06:58 +00:00
Teravus Ovares e70da2e174 * Committing meshmerizer patch from Dahlia. Thanks Dahlia!
* 0001241: physics cylinder proxy distorted and square hollow misaligned (patch attached) 
* The included patch corrects the outer shell of the meshmerizer proxy for the cylinder prim to eliminate spurious vertices and shape distortion, and corrects the orientation of the square hollow.
* The size and orientation of the square hollow for the prism prim has been corrected also.
2008-05-13 04:16:16 +00:00
Justin Clarke Casey c8b59f7a31 * Refactor: Creating grid login exceptions to try and break up a large method.
* This in preparation for further login validation to check that the region logging in is properly contactable.
* Also increase verbosity of some error messages
2008-05-12 22:00:33 +00:00
Adam Frisby 56e5dc49f9 * Committing sample IClientAPI2.cs
* This is not functional anywhere, but is a incomplete proposed replacement class for IClientAPI. Assistance filling this out would be appreciated. Use IClientAPI.cs as a reference, but make sure not to copy it - instead rewrite and abstract.
2008-05-12 20:50:38 +00:00
Adam Frisby f78c5aedbf * Added some build warnings for Teravus. :) 2008-05-12 20:29:56 +00:00
Sean Dague e826f5808b my last patch didn't actually get the sun to possition correctly, but
now we are correctly using the timezone offset.  If you set day_length to 24.0
you'll get a sun progression that roughly follows your real world day on your
server.
2008-05-12 18:39:19 +00:00
Sean Dague 552d862264 move the sun based on localtime instead of utc. Now it won't set for me at
3pm any more.
2008-05-12 18:13:58 +00:00
Justin Clarke Casey bcf018a98c * Minor: Make some direct grid server console output into logged messages instead 2008-05-12 17:06:37 +00:00
Jeff Ames dce5c470b6 Move animation handling from ScenePresence into its own class. 2008-05-12 17:00:47 +00:00
Justin Clarke Casey d3fb6039ca * If a region running in grid mode fails to login to the grid service, startup will now terminate instead of carrying on (and thus burying the error message) 2008-05-12 16:57:56 +00:00
Justin Clarke Casey 690294c578 * Minor: Change 'delete region' message to region logout message 2008-05-12 16:24:52 +00:00
Justin Clarke Casey 6df35bac3f * Minor: Commenting out message detailing all individual map information dispatch for now 2008-05-12 16:21:11 +00:00
Justin Clarke Casey 6a5be03a80 * Minor: Initial cleaning up of some of the grid sim login messages 2008-05-12 16:16:50 +00:00
Justin Clarke Casey d8a6c89a44 From: Alan M Webb <awebb@vnet.ibm.com>
This is a diagnostic patch in support of Mantis bug 1186.
It affects only SubModule and will not affect normal usage.
2008-05-12 13:44:25 +00:00
Justin Clarke Casey b4d128c811 From: Alan M Webb <awebb@vnet.ibm.com>
This patch just tightens up console handling in BasOpenSimServer
and removes (or redirects) a couple of messages that were being issued
using Console.Writeline.
2008-05-12 13:39:46 +00:00
Jeff Ames b34d5716a8 Thanks Melanie for a patch to stop sending unnecessary animation updates (bug #1239). 2008-05-12 09:07:07 +00:00
Jeff Ames dc67264f6d Refactoring animation handling in ScenePresence. 2008-05-12 04:31:28 +00:00
Jeff Ames 2382342c65 Formatting cleanup. 2008-05-12 01:23:03 +00:00
Jeff Ames 71f074839c Update svn properties. 2008-05-11 23:48:40 +00:00
Teravus Ovares 6cda15a53f * Un-break the NPC avatar.. you know.. the one that sits in your sim and shouts, 'This is my sim, get out!' 2008-05-11 22:03:01 +00:00
Teravus Ovares a01b415d6c 0001199: [PATCH] Add support for default animations
From Melanie...   Thanks Melanie!  











































.
2008-05-11 21:27:12 +00:00
Teravus Ovares 8f26427055 * Fixed null reference exception when rezzing an object from inventory with a rootpart that isn't found. Added a way to tell if it's an attachment. 2008-05-11 13:30:47 +00:00
Teravus Ovares efc680f45b * Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.
* Fixes Mantis: #1045
2008-05-11 12:01:12 +00:00
Adam Frisby 0c831a0c2e * Mantis #1127 - Patch to implement depreciated patches. Thanks middlelink! 2008-05-11 04:38:02 +00:00
Adam Frisby ee352ebc79 * Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow them out.
* Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.)
* Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
2008-05-11 04:32:43 +00:00
Teravus Ovares 05de723e51 * Refactored two more OutPackets. ObjectPropertiesFamily, and Object Properties. 2008-05-10 20:25:40 +00:00
Teravus Ovares 1ba51dd2fd * More OutPacket refactors.
* Added back a sleep to the kick routine so users get a 'you have been logged off message' when they get kicked from the simulator for various reasons (like 'the simulator is going down')
2008-05-10 13:11:09 +00:00
Teravus Ovares b67f88a3a2 * Two more OutPacket refactors. TextureSender.
* The split image packet sender doesn't like to be refactored (images don't load after it's been refactored), so left that as is for the moment.
2008-05-10 12:45:41 +00:00
Teravus Ovares 536a92ca84 Refactored out a few warnings related to Adam's bane OutPacket 2008-05-10 12:01:36 +00:00
Teravus Ovares e8478dadc8 * Experiment in Zerocoding. 2008-05-10 10:28:49 +00:00
Justin Clarke Casey 893d40639c * Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - merely corrects the signature so that "not implemented" message is displayed rather than a script
compile failure
2008-05-09 22:45:40 +00:00
Justin Clarke Casey 57fea65c82 * Revert caps fetch inventory service back to UDP for now
* Linden client 1.19.1.4 appears to be happy using UDP for this request again, and Linden's own servers (1.21) don't appear to be supplying the CAPS version currently
* This should for now fix the bug where texture selection in the edit window both shows only already open textures, and later stops subsequent inventory requests from working.
2008-05-09 21:50:22 +00:00
Justin Clarke Casey 3f345bf685 * Removing polling delay for non-CAPS inventory fetch if the client has not yet received data from the inventory service
* Replaced instead with the system now used by other requests where the fetch request is placed on a queue and service when the data comes in
2008-05-09 21:33:19 +00:00
Sean Dague 835e44b987 m_logs always need to be private static readonly otherwise we
get close errors.
2008-05-09 18:57:19 +00:00
mingchen 3900a165bc *Land/Parcel upates are now correct with a significant movement by the Client
*Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
2008-05-09 17:40:39 +00:00