Commit Graph

2725 Commits (f9a67ab5f0aefe9033593babb790d6c1c74628ec)

Author SHA1 Message Date
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 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
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 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
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
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
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
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
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
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 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
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
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
Justin Clarke Casey 87a519837e * Removing console notifications of missing texture request sending (which ironically, was disabled, though it wasn't making much difference).
* These messages keep getting confused with other problems - just going to have to try to remember to add these to stats or something so at least they don't completely disappear
2008-05-09 17:32:26 +00:00
Justin Clarke Casey d9dffc4a9a From: Michael Osias <mosias@us.ibm.com>
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
2008-05-09 17:23:27 +00:00
Adam Frisby 93ec7f0c3c * Patch from Jed (DeepThink) - More optimisations for BulletX renderer. Trimesh collisions should now work relatively efficiently. BulletX plugin should now be functional - feedback would be appreciated as to how it performs vs ODE. 2008-05-09 17:17:54 +00:00
Jeff Ames f9c6cc36e1 Update svn properties. 2008-05-09 16:24:28 +00:00
Justin Clarke Casey 313a635d1e * Fix opensim region server shutdown. 2008-05-09 13:21:12 +00:00
Teravus Ovares b7baa3cd2a * Valid Sculpted prim now collide properly.
* The first time you set the sculpted texture of a prim you might have to futz with it to get it to generate a sculpted physics proxy
* Note that there are already issues in Trunk, (such as the prim scaling issue and prim jumping issue.  Essentially editing is difficult right now)
* This just adds to the experimental nature of trunk. :D
2008-05-09 07:50:00 +00:00
Charles Krinke 74df815630 Thank you, Melanie for a patch that helps conversion
from a string to a vector in OSSL.
2008-05-09 03:23:52 +00:00
Charles Krinke 6ce00ce460 Thank you, Melanie for a patch that:
Patch fixes the pesky "Cannot implicitly convert to bool" issue for function returns
2008-05-09 03:20:29 +00:00
Adam Frisby 9f1c033757 * Minor tweak to TerrainChannel
* Minor tweak to Permissions/PermissionsModule.cs
2008-05-09 03:19:20 +00:00
Teravus Ovares 6bb4ab0563 * Applying Dahlia's Triangular hole in a cube peg patch. Fixes the hollow orientation in a cube in the meshmerizer. Thanks Dahlia!
* See mantis 0001203 for more details!
2008-05-09 02:00:55 +00:00
Teravus Ovares 7e275bfa37 * Wrote a method to get the OpenJpeg data of a sculpt texture asset and save it to the prim shape.
* Added some stuff around sculpted prim meshes..   but it's just there so the project compiles now.
2008-05-09 01:28:54 +00:00
Teravus Ovares 646df0dc2c * remove 2 warnings. 2008-05-08 20:45:50 +00:00
mingchen 6c71a04da8 *Added all the permission checks to the sceneexternalchecks and modified permission module to follow this.
*This makes permission checking much more modular; allows restrictive and granting module to be made without modifying the existing permission module
2008-05-08 19:37:57 +00:00
Teravus Ovares 4b924f2eb6 * Committing an extra bit of permissions for attaching to ensure that the perms are in line with project goals. 2008-05-08 19:22:20 +00:00
Teravus Ovares 08ec34e4d3 * Removed ODELock message since it wasn't telling us anything important and people seemed to think it was the cause of their issues rather then a message to help locate a situation where physics stalls for a second and then kicks.
* This was simply a message added when an avatar was added/removed from the scene.
2008-05-08 16:07:41 +00:00
Adam Frisby afd08c7477 * Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg. 2008-05-08 14:09:12 +00:00
Adam Frisby 31c4d599a0 * Applying patch #1156 - More implementation work on llGetPrimitiveParams (Thanks middlelink!) 2008-05-08 13:49:19 +00:00
Adam Frisby dc21e8d5e2 * Applying patch #1121 - Fixes for llListen() (Thanks Middlelink!) 2008-05-08 13:41:10 +00:00
Adam Frisby cf7560d1aa * Commit from Jed Zhu (DeepThink) - Initial implementation of mesh collision into BulletX plugin. Additional work to come in the next few days. 2008-05-08 13:32:15 +00:00
Sean Dague 8bd1924aaa From: Michael Osias <mosias@us.ibm.com>
Patch to schedule terse update on deselect, specifically so llTargetOmega
sets rotational velocity on deselect.

This should complete our llTargetOmega support and fix: 
http://opensimulator.org/mantis/view.php?id=1178
2008-05-08 12:48:29 +00:00
Sean Dague a1f1c7f5c2 From: Alan M Webb <awebb@vnet.ibm.com>
Introduce time dilation in scripts.
2008-05-08 12:23:47 +00:00
Adam Frisby 4fa0cbdfbb * You can haz more spring cleaning.
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Adam Frisby 8a48516bcf * Spring cleaning, round 3029 2008-05-08 05:09:35 +00:00
Teravus Ovares 92c03978e1 * Fixes Prim ExtraParams
* Fixes Sculpty handling
* Fixes Light handling
* Fixes Flexi handling
* Fixes Sculpty + Flexi handling
* Fixes handling of Flexi type
* Fixes Changing prim type after changing to sculpty corrupting prim.
* Ugly code.
2008-05-08 04:58:44 +00:00
Adam Frisby ba8ff761c0 * Reduced sleep durations in a number of files. 2008-05-08 04:47:38 +00:00
Adam Frisby 80cbd468ea * Some refactorings.
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Justin Clarke Casey d8aaf2ccf1 * For no good reason (since there are a hundred million other things to fix), change formatting of version information printed to the log
* Push printing down into OpenSimMain so both console and consoleless configurations will get it
2008-05-07 23:59:57 +00:00
Justin Clarke Casey e49bdd2628 * Change LSL -> C# translated script console output to use the logger (at DEBUG level) rather than Console.Writeline 2008-05-07 23:21:24 +00:00
Justin Clarke Casey be02107ea8 * Increasing ScenePresences locking to prevent race conditions such as those seen in one of the crashes of mantis 1163
* It's not impossible that this could lead to deadlock where sessions simply appear to freeze, even though the region console still responds.
* If this is the case, please file a mantis
2008-05-07 22:59:30 +00:00
Adam Frisby 95fbf63b3b * Temporary fix for Mantis 1177. 2008-05-07 22:19:30 +00:00
mingchen e364c64583 *Fixed bug causing Object Duplication to not correctly follow permissions 2008-05-07 21:52:11 +00:00
Teravus Ovares 28e6e018a2 * Doh! scripts that get controls should get controls even when you're sitting on an object. 2008-05-07 21:50:37 +00:00
Justin Clarke Casey 611a1634f4 * Fix minor local inventory service log typo 2008-05-07 21:45:25 +00:00
Adam Frisby a95f13a646 * Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
* Thanks to Andrew (DeepThink) for working on this one.
2008-05-07 20:31:48 +00:00
Sean Dague 02b1d908e8 enable velocity on our full update, as I think I know why
this didn't previously work
2008-05-07 19:48:34 +00:00
Sean Dague 0574355b4b seriously hope this gives us rotation and rotational velocity 2008-05-07 19:44:22 +00:00
Teravus Ovares 86669a1664 * Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D. 2008-05-07 19:41:03 +00:00
Sean Dague b77aa39d64 check in a new approach to this 2008-05-07 19:37:37 +00:00
Sean Dague 30077bf717 ok, reverting the bad packet fill in, going to try this again
slightly differently
2008-05-07 19:34:06 +00:00
Sean Dague 37172afe31 make prims reliable to see how that effects this update path 2008-05-07 19:19:38 +00:00
Sean Dague fd8defcebb this change probably causes an earthshattering kaboom, and
sends all your prims to mars.  or it fixes llTargetOmega.  
place your bets quickly before I have a chance to test it.
2008-05-07 18:57:43 +00:00
Sean Dague 5ff3c03c12 get all the right bits to SendPrimitiveToClient so we can actually
set vel, acc, and rvel in the packet (though this isn't done yet).
2008-05-07 18:40:18 +00:00
Teravus Ovares ab5556055e * Theoretically, everything is in place for scripted take controls... Theoretically.
* I've still got to test, it's still theoretical code :D.   Good thing it isn't enabled by default!
2008-05-07 18:23:46 +00:00
Sean Dague edd6577f84 while I'm not convinced this is causing my current run away
loop, this queue manipulation is dead wrong as Queue is not
a synchronized data structure.  Hopefully this helps.
2008-05-07 18:10:18 +00:00
mingchen 1b2415325a *Fixed Missing SceneExternalChecks.cs 2008-05-07 18:06:55 +00:00
Sean Dague 7203648588 if we are aborting the client loop we should tell someone 2008-05-07 18:05:18 +00:00
mingchen d8e33ec914 *Added CanRunScript to SceneExternalChecks 2008-05-07 17:44:48 +00:00
mingchen 6551f17966 *Added SceneExternalChecks.cs that is used to manage checking the results of multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?' 2008-05-07 17:33:57 +00:00
Justin Clarke Casey 5afe6c3ed9 From: Kurt Taylor <krtaylor@us.ibm.com>
Implements the show version command.
If you type show version at the console, you will get the revision that opensim is running, assuming you have the .svn/entries file in your base directory (e.g. you are running from code extracted from our SVN repository)
A patch to also send this to the client should follow shortly
2008-05-07 16:48:29 +00:00
Justin Clarke Casey 250fb6f5db * Move shutdown processing to base OpenSimServer, overriding the method where appropriate
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Charles Krinke 2cf025d9cb Thank you very much, Xantor for a patch to improve
llParticleSystem().
2008-05-07 16:05:42 +00:00
Charles Krinke dc80fd2048 Thank you, Middelink for a patch that fixes the regular expresion
missing the numbers after the initial letter of the identifier.
2008-05-07 15:51:50 +00:00
Sean Dague e1e4fe7361 replace 2 instances of "0000...." with LLUUID.Zero.ToSting() because
I was in the file and noticed them.
2008-05-07 15:07:46 +00:00
Sean Dague 3792827cf3 revert 4546, I definitely didn't understand what I was doing here
and awebb says he's close to a functional patch for 1166
2008-05-07 15:01:02 +00:00
Sean Dague 4999b00294 attempted fix of http://opensimulator.org/mantis/view.php?id=1166. This
is currently untested and may result in weirdness.  Beware this changeset.
2008-05-07 14:41:59 +00:00
Justin Clarke Casey 382b9c18ed From: Alan M Webb <awebb@vnet.ibm.com>
The attached patch moves the sun module incrementally nearer where it
needs to be. Default behavior, i.e. no overriding configuration is to
match Second Life's diurnal/nocturnal rhythm.

All designated values are now sent to the client.There remain a couple
of unanswered questions about how this SHOULD be implemented though.
2008-05-07 14:15:59 +00:00
Jeff Ames 0ea48cf786 De-tabify source. 2008-05-06 22:41:38 +00:00
Sean Dague 0b09966c7e send actual velocity and angular velocity in terse updates
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
2008-05-06 22:17:00 +00:00
mingchen d8e02d9e5c *LLClientView is now pushed the EstateSettings instead of pulling it from the scene...more to standards
*LandChannel no longer requires libsecondlife.Packets (it should have never needed it in the first place)
2008-05-06 18:29:58 +00:00
Adam Frisby 31cd162d34 * Cleaning up code, making it conform to OpenSim standards. 2008-05-06 04:56:48 +00:00
Teravus Ovares add13276a9 * Committing a bunch of work for control snatching. Not done yet. No visible features. 2008-05-06 02:47:14 +00:00
Teravus Ovares 240e8646da * If you llApplyImpulse on an attachment, it applies impulse on the avatar, not the attachment. 2008-05-06 00:23:19 +00:00
Justin Clarke Casey 9655cf2807 * Refactor: Break out permissions code into a separate region PermissionsModule 2008-05-05 20:14:53 +00:00
Justin Clarke Casey 60a83574f4 * Just some tidy up and documentation before I make my first ever attempt to extract a lump of code out to a region module 2008-05-05 18:53:07 +00:00
mingchen c535f3947d *Standardized the Land module by removing all references to libsecondlife.packets 2008-05-05 17:44:40 +00:00
Teravus Ovares ce19234dc8 * Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
Teravus Ovares 1130c3067c * A bit of spice from here, a pinch of salt from there, some brains that attracts zombies.. a recipe for llRezObject
* Original patch by YZh Thanks YZH!!!!
* object_rez event patch by Melanie, Thanks Melanie!!!
* Some fixups, some missing things(velocity,rotation)
* script delay
* Recoil
* Standard error messages
* Standard silent failures
* Easter egg management
2008-05-05 00:03:30 +00:00
Teravus Ovares 7b446aba91 * Implemented DIE_AT_EDGE and Temporary objects don't save to the database. 2008-05-04 22:55:52 +00:00
Jeff Ames 0e31eb8314 Update svn properties. 2008-05-04 21:59:29 +00:00
Adam Frisby 9752669011 * Reformatted EstateManagementModule 2008-05-04 19:30:26 +00:00
Adam Frisby 07098978b9 * Updating some file locations. 2008-05-04 19:21:14 +00:00
mingchen ddb3a9bdf8 *Fixed a mistake in the EstateManagementModule that messed up the trunk. 2008-05-04 19:19:18 +00:00
mingchen 63c104efde *Fixed up EstateManagementModule to the module standard - no more packets allowed!
*Started cleaning up the land module
2008-05-04 18:59:18 +00:00
Justin Clarke Casey 27a7391d6b * Add ability to defer item actions for AddItem() and DeleteItem(). This won't be useful until we let the client cache (again?) 2008-05-03 23:33:20 +00:00
Justin Clarke Casey 56827894e9 * Refactor RemoveItem() 2008-05-03 23:23:46 +00:00
Justin Clarke Casey 688940e810 * Refactor: Renaming item and folder tree search methods to have Find*() prefixes 2008-05-03 22:39:33 +00:00
Adam Frisby 87b3137928 * Cleaned up code in Terrain, Tree and Map modules.
* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly. 
* Moved MapImageModule.cs to Modules/World/WorldMap
* Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
2008-05-03 20:00:35 +00:00
Justin Clarke Casey 1087542705 * Refactor: Move bulk of CreateFolder from UserProfileCacheService into CachedUserInfo
* Remove unused/superseded methods from GridInventoryService
2008-05-03 18:57:02 +00:00
Justin Clarke Casey a5dfca8958 * Refactor: remove redundant userId parameter from UpdateItem() and DeleteItem()
* Put warning in remove folder method about non implementation (not that this is used anyway - may be legacy)
2008-05-03 18:13:32 +00:00
Justin Clarke Casey f5609ba452 * Refactor: remove pointless agentId parameter from CachedUserInfo.AddItem()
* Remove old framework asset transactions files which were region modularized
2008-05-03 18:01:38 +00:00
mingchen 4a87d96c17 *Moved EstateManager into a region module 2008-05-03 17:11:21 +00:00
Teravus Ovares e8acb49fef * For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead! 2008-05-03 15:39:40 +00:00
Teravus Ovares 07167c9a3f * Committing some collision stuffs that I'm working on.
* Nothing user facing yet.
2008-05-03 04:33:17 +00:00
Charles Krinke 18362b25bf Thank you kindly, Melanie for a patch to solve
llParticleSystem and osDynamicTexture issues.
2008-05-02 23:23:39 +00:00
Sean Dague 1edb7992f1 fixed the dos line endings 2008-05-02 19:21:33 +00:00
Sean Dague 1b7f1c956c plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Adam Frisby 776b4cedf6 * Small fixes to Scene.cs 2008-05-02 18:36:41 +00:00
Adam Frisby 67bbfadc06 * More refactorings of UDPServer.
* Removed all references where possible.
* Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-02 18:26:19 +00:00
Adam Frisby 4dc75e4b76 * More clientstack abstractions - We now only have a single constructor call to UDPServer. Going to reduce this with an abstracted constructor in a bit. 2008-05-02 18:18:43 +00:00
Adam Frisby 29b8c84cea * Commit 2/3 - Please dont attempt to update to this revision until all 3 are in. 2008-05-02 16:41:08 +00:00
Justin Clarke Casey 8cf2630dc9 From: Kurt Taylor <krtaylor@us.ibm.com>
Adds "not implemented" stubs for llSetVehicleFloatParam() and llSetLinkTexture()
Some cleanup of LSO script enums
2008-05-02 15:29:09 +00:00
Jeff Ames b1aacfe0d4 Minor formatting and documentation cleanup. 2008-05-02 03:40:38 +00:00
Teravus Ovares 412ca26565 * DuplicateOnRay with copy center works in two directions... Still fighting with it.
* DuplicateOnRay without copy center works in all directions.
2008-05-02 02:31:22 +00:00
Sean Dague 7cace57ecc revert changeset 4469 as this breaks the script engine. 2008-05-01 21:53:14 +00:00
Justin Clarke Casey f16c997a74 * Minor: Normalise prim inventory log headers 2008-05-01 21:53:02 +00:00
Justin Clarke Casey a81edef2b9 * Refactor: Remove redundant userID from further up the inventory request chain 2008-05-01 21:22:03 +00:00
Justin Clarke Casey 1de6cffa28 * Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Sean Dague b5be9da727 removed last db4o ref 2008-05-01 20:36:16 +00:00
Justin Clarke Casey d21b3ea9c7 From: Kurt Taylor <krtaylor@us.ibm.com>
MInor patch - more script function cleanup and comments
2008-05-01 19:22:17 +00:00
Adam Frisby bcab39831e * Applied Mantis#1106 - fix missing cast from LSLInteger to uint, make int cast more generic (Thanks Melanie!) 2008-05-01 18:55:36 +00:00
Adam Frisby 76d8eaa406 * Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't. 2008-05-01 18:50:44 +00:00
Sean Dague 70f7672dad added in IUserService functions. These don't do anything yet,
but the set all compiles together fine, and it provides people
an idea of where we are heading.
2008-05-01 18:36:43 +00:00
Adam Frisby 20a9bf08f5 * Rolled back a few changes. 2008-05-01 18:04:42 +00:00
Teravus Ovares c803e0cca1 * Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-05-01 16:39:02 +00:00
Adam Frisby 13526097f2 * Spring cleaning on Region.Environment.
* Converted a large number of read-only fields to be actually, readonly.
* Reformatted code sections.
* Removed redundant code.
2008-05-01 16:35:00 +00:00
Adam Frisby 01f31fd933 * Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby 5231903778 * In ur code. Making it static.
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Adam Frisby a1c8aa4050 * Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces. 2008-05-01 15:36:39 +00:00
Teravus Ovares 56b4f5a2ea * committing what I've got so far for DuplicateOnRay so I don't fight the conflict monster later. Not done yet, doesn't crash the server. 2008-05-01 15:17:49 +00:00
Adam Frisby 4692e92312 * Assorted spring cleanings. 2008-05-01 14:45:56 +00:00
Jeff Ames d51ce47b2d Update svn properties. Minor formatting cleanup. 2008-05-01 14:31:30 +00:00
Adam Frisby 4ef6f53a11 * Adding unit test support to Environment for modules.
* Written some unit tests for Terrain Module as an example.
2008-05-01 13:59:58 +00:00
Adam Frisby 7bcdec4e8f * Applying Mantis#1097 - Thanks Xantor!
- Fix for llRound (now rounds in LL-compatible fashion, rather than using bankers rounding)
- Implementation of llAngleBetween
2008-05-01 12:11:34 +00:00
Teravus Ovares 1c697ef0d2 * You can now rez objects out of inventory at the correct offset from prim you rez it on. Including multi prim groups and prim that have different X/Y/Z scales. 2008-05-01 06:31:12 +00:00
Teravus Ovares f4e22b1356 * Fix OBB raycaster to respond properly to rays cast from any direction. 2008-05-01 04:58:15 +00:00
Teravus Ovares 1d9c68969e * ODE Tweak. See if this helps. 2008-05-01 00:54:21 +00:00
Adam Frisby 25a49ac4de * Spring cleaned a bunch of '//TODO: unused' marked functions. 2008-04-30 23:11:07 +00:00
Adam Frisby be20f41637 * Cruft removal step #1. Cleaning Modules directory. 2008-04-30 21:43:47 +00:00
Adam Frisby 3da6a05eaa * Sometimes you know, you do something really stupid.
* This is one of those times (should fix build)
2008-04-30 21:32:14 +00:00
Adam Frisby 919aed1058 * And more 2008-04-30 21:23:37 +00:00
Adam Frisby 4a8c1e4393 * Commiting a bunch of missed files. 2008-04-30 21:22:29 +00:00
Adam Frisby 8b0c795a5e * Previous commit managed to miss some files despite me hitting 'Select all'.
* Attached.
2008-04-30 21:17:32 +00:00
Adam Frisby f5c312bc3c * Refactored Environment/Modules directory - modules now reside in their own directory with any associated module-specific classes.
* Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.)
* This should be moved into a seperate project file.
2008-04-30 21:16:36 +00:00
Justin Clarke Casey 9817363b93 * Completely inconsequential inventory odds and ends (actual impact - only one log message changed) 2008-04-30 19:08:48 +00:00
Teravus Ovares b70da6ac19 * Patch by Melanie. Implements proper objectflags on child objects. Thanks Melanie!
RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
2008-04-30 16:52:12 +00:00
Teravus Ovares a9cc76e0ef * Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
* This builds but might not work.   JustinCC will examine..   it may work out of the box.
2008-04-30 16:08:24 +00:00
Teravus Ovares 36bf16d35e Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or explicitly in many cases Thanks Melanie!
* Also, I moved the event parser and re-writer to a separate static object.   More work will be done here shortly.
2008-04-30 03:36:13 +00:00
Adam Frisby 0880abc402 * Disabled IntergridModule until a Mono bug can be isolated. 2008-04-29 19:10:15 +00:00
Adam Frisby 3bcb75acfe * One more attempted fix. 2008-04-29 18:52:19 +00:00
Adam Frisby d05c443b71 * Made a change to InterGrid module to prevent duplicate registrations. 2008-04-29 18:46:15 +00:00
Adam Frisby 03155e362c * Implemented new InterRegion comms method in the form of InterregionModule
* Interfaces and methods have been defined for basic operation, however a replacement grid module is required to share region URIs with neighbours for this module to work.
* Tackling that next.
2008-04-29 17:50:29 +00:00
Teravus Ovares 3326effb5f Stuck an exception handler in the friends routine until I have time to debug it more seriously.(or someone else does). It prints a 'Unable to enumerate' message on the console.. so it won't be forgotten.
It isn't critical data atm though.
2008-04-29 16:26:49 +00:00
Justin Clarke Casey 763ae779ff From: Dr Scofield <hud@zurich.ibm.com>
* Fixes the admin_shutdown xmlrpc method
* Adds a share/python/console/shutdown.py script for shutting down a background OpenSim
* For more details see http://xyzzyxyzzy.net/2008/04/29/console-less-opensim/
* There should also be instructions in the opensimulator wiki soon as well
2008-04-29 14:50:27 +00:00
Teravus Ovares 97db1e8af0 Committing Dee100's balance update patch with a few bug fixes and a twist. Thanks Dee100! 2008-04-29 14:12:21 +00:00
Teravus Ovares 9907c0fd10 Patch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! 2008-04-29 13:53:24 +00:00
Teravus Ovares 2ae933a88b * Applying Xantor's patch 0001089 - Added llRot2Angle, llRot2Axis,llAxisAngle2Rot. Re-implemented llRot2Euler, llEuler2Rot 2008-04-29 13:40:58 +00:00
Teravus Ovares 80ea0b94b9 * Fixes child prim not editable as an attachment. You can right click on child prim in an attachment and get the proper pie menu. You get the attachment axis scope in the edit box. 2008-04-29 13:12:36 +00:00
Teravus Ovares 06a367be19 * Applying melanie's List2Vector and List2Rot patch. Added a routine in the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator) 2008-04-29 12:09:55 +00:00
Justin Clarke Casey dbdeb40d46 * Lash up mantis 1064 - nre thrown in LandObject.sendLandObjectOwners()
* From reading the code, the cause must be that a 'show objects on my parcel' is performed when there are objects belonging to more than 32 people
* I'm not sure why there is a hardcoded 32 limit but I'm leaving it in place for now.  I don't regard this mantis as resolved.
2008-04-28 22:21:42 +00:00
Sean Dague 3ddbf28cd0 wrap a common exception that we get on shutdown of the script engine to keep
people from thinking it's a real issue.
2008-04-28 14:50:09 +00:00
Justin Clarke Casey 776b1f341a From: Dr Scofield <hud@zurich.ibm.com>
Note: This is the first part of some changes from Dr Scofield to support console-less operation of an OpenSim region server.
The changes are not yet complete.

* refactors OpenSimMain into two classes: OpenSimMain and
  OpenSimMainConsole. OpenSimMainConsole derives from OpenSimMain
  and basically is the "old" OpenSimMain
* drops StartConsole from RegionApplicationBase (was only called
  from the "old" OpenSimMain anyhow)
* reverts the changes to TryGetScene(string, out scene) as that
  seems to work perfectly fine
* adds a check to region-remove to see whether
  m_sceneManger.CurrentScene is non-null before comparing it against
  the region-to-be-removed
2008-04-28 14:41:46 +00:00
Teravus Ovares 7e3506e296 * Fixed 'Welcome to Krynn' default that I missed and got stuck in by a patch.
* Changed it to 'Welcome to OpenSimulator' as opposed to 'Welcome to OpenSim'
2008-04-28 14:11:29 +00:00
Teravus Ovares 1fb54b074c * Added basic 3-5 level undo on prim position/rotation/scale.
* In the future this should be a config option...   and, hopefully this tides the builders over for a little while.
2008-04-28 01:48:21 +00:00
Adam Frisby 7693a7dac9 * Added String(FileExtension) property to ITerrainLoader to allow us to determine which file extension this loader is capable of handling.
* Added ITerrainLoader import capability to Terrain Plugins module - this allows you to write new terrain format plugins without modifying the terrain module directly.
2008-04-27 23:54:16 +00:00
Teravus Ovares 54563d8dea * Patch from XenReborn to make remove-region work properly without needing to do a change-region first. Careful though. I still suggest you do a change-region first.
* Patch from Melanie to implement touch_end.
* Thanks XenReborn!.  Thanks Melanie!
2008-04-27 22:15:38 +00:00
Teravus Ovares 911e63765c * Single Attachments now work from inventory. You can attach from inventory and detach from inventory.
* Detaching from right clicking in world, detaches to your inventory.
* If you go up to a prim and attach it from in world, it appears in your inventory.
* Attachment placement is saved when you detach them. 
* Choosing wear remembers your last attachment point from inventory.
* Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client
* Wrote a recursive method to find the folder of a known existing inventory item.
* Removed a block on physics object position on creation.  This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error.
* Drop doesn't work.  The menu item doesn't even come up.  Don't know why :P.
2008-04-27 20:10:28 +00:00
Jeff Ames 56497c9615 Minor svn, formatting cleanup. 2008-04-27 18:35:00 +00:00
Teravus Ovares f71871bca3 * More attachment stuff, reworked some of the inventory routines to be what I need them to be for attachments. 2008-04-27 14:37:51 +00:00
Charles Krinke 7cb78d73eb Thank you Melanie for implementing
llListSort() in linear and strided modes.
2008-04-26 20:49:38 +00:00
Justin Clarke Casey b1632bd222 * Tidy up and comments related to last inventory related commit 2008-04-26 20:44:27 +00:00
Justin Clarke Casey accd89b3f1 * First draft implementation of copying prim inventory items back to agent inventory
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory
* Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set
* This is pending fixes/implementation of upstream permission implementation
2008-04-26 20:31:01 +00:00
Teravus Ovares 323038ceb9 * Ooops, attachments now teleport/cross region borders along with your avatar. Those dastardly objects stick to you. 2008-04-26 17:36:30 +00:00
Adam Frisby 3dc60c1433 * Committing Mantis #1061 - llRegionSay and llSetPrimitiveParams implementations. Thanks Melanie! 2008-04-26 12:40:14 +00:00
Teravus Ovares 8f6d508b43 * For info about this commit, see last commit. 2008-04-26 07:43:11 +00:00
Teravus Ovares a53cc8fbfa * Error on System. references with 'CS20003: 'System' is null or not an object" 2008-04-26 06:56:50 +00:00
Teravus Ovares a534257b0e * Fixes prim crossing. See bug 1050.
* Causes the internal handling of attachments to put the prim group conceptually at the position of the avatar instead of 0,0,0
2008-04-25 21:41:55 +00:00
Justin Clarke Casey 6fec9c789b * Check in odds and ends which remain as an attempt to get the item properties panel for a prim's contents working
* Temporarily hacked things to bring our protocol data flow to be pretty much completely identical to the Linden's for this - to absolutely no avail.
* Leaving commented code in as a springboard for some future attempt
2008-04-25 21:31:40 +00:00
Teravus Ovares 298870b177 * Fixes Mantis: 1049. Y Texture repeat not being applied to resulting animation. 2008-04-25 19:48:47 +00:00
Justin Clarke Casey 46c8d7a5e1 From: Dr Scofield <hud@zurich.ibm.com>
the patch below adds support for start_location = uri:region&x&y&z to 
OpenSim which allows us to provide -url secondlife:///region/X/Y/Z to 
the SecondLife client during start up --- which will take you directly 
to region "region" at position X, Y, Z.

also, i did increase the default Z value from 70 to 128 as we otherwise 
have the problem that on some regions we'd end up inside a mountain 
instead of on top of it.
2008-04-25 13:37:43 +00:00
Teravus Ovares d3811f4747 * Fixes the object pay box to default to -2,-2,-2,-2,-2. Fixes mantis 1045. 2008-04-25 11:17:43 +00:00
Adam Frisby 87e2793ca6 * Applying mantis#1048 - Patch for osSetRegionWaterHeight() 2008-04-25 10:37:22 +00:00
Teravus Ovares 421730d972 * Used thomas' patch m884 as an example to make HUD attachments work. While I didn't use the patch directly, I did use the following from the patch to convert the uint value into the byte: (byte)((m_attachmentPoint % 16) * 16 + (m_attachmentPoint / 16)) 2008-04-25 09:47:21 +00:00
Teravus Ovares 9468917b5f * Implements llTarget, llTargetRemove, at_target(), not_at_target() 2008-04-25 01:00:55 +00:00
Teravus Ovares d023c331f8 * Tuned the llMove2Target PID controller to be more reasonable and not overshoot the target. 2008-04-24 22:26:26 +00:00
Teravus Ovares 5c660ea0c5 * Patch from Melanie. Mantis: 1040. Thanks Melanie!
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-24 15:11:19 +00:00
Sean Dague 2a2ef42e64 replace hard tabs with 4 spaces to be consistant in the source.
Please adjust your editors to not use hard tabs.
2008-04-24 12:27:24 +00:00
Teravus Ovares aa8aee90a3 * Adds much better support for attachments that you right click on in world.
* Your friends can see your attachments now.  People who appear in the sim after you've attached something can also see your attachments.
* You can position & rotate your attachments now.  Positions do *not* save.
* You can detach attachments now the regular way.
* Attachments do not cross into other regions with you..(this isn't too far off)
* Updated ODE to not request terse updates on child prim.
2008-04-24 11:32:41 +00:00
Justin Clarke Casey c49b25f19e * From: Alan M Webb <awebb.vnet.ibm.com>
* Patch to fix negative indices bug in llListInsertList
2008-04-24 10:17:33 +00:00
Teravus Ovares 12bba3da4b * Fixed an annoying pop-up box when crossing borders. 2008-04-23 23:55:02 +00:00
Teravus Ovares 1909d74d5f * Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie!
* Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23 22:44:59 +00:00
Justin Clarke Casey 40176c12f9 * Implement full grid mode Trash empty
* Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder.
* This will only work once both the region and grid servers have reached this revision.
* You may also need to clear your cache before this will work
* Refactoring to follow.
2008-04-23 22:13:57 +00:00
Teravus Ovares e108133d91 * Fixes lsl scripts with no state_entry event at all
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-23 22:04:45 +00:00
Sean Dague 361fbe97d4 fix for mantis 1036 2008-04-23 21:27:37 +00:00
Sean Dague c5e0b376d0 fixed mantis: 1035, as well as ordering commands
alphabetically because out of order lists bother me. :)
2008-04-23 21:20:51 +00:00
Sean Dague 3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague a1cc0e436f changes to allow asset_source to be specified in the opensim.ini
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Justin Clarke Casey 4db839c3b8 * Implement proper emptying of trashcan on standalone
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Teravus Ovares 2a3bdde0fa * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results.
* Three axis works well enough to play with it anyway.   More work is needed here.
* Fixed an incorrectly named method in ODE.NET
2008-04-23 15:32:19 +00:00
Sean Dague d52fc2dc1a Two small changes:
1. add addin-db-001 to the delete list
 2. allow for connection strings for data sources in the config file
2008-04-23 15:15:11 +00:00
Adam Frisby e456cb7533 * Patch for #973 - Object Rez from Inventory ignores permissions - Thanks tglion! 2008-04-23 13:22:06 +00:00
Adam Frisby 3370d581e1 * Patch #1026 - llDialog support -- Thanks Melanie! 2008-04-23 12:21:54 +00:00
Adam Frisby 8425d53d68 * Applying Mantis #1022 - Thanks Melanie! 2008-04-23 11:54:35 +00:00
Adam Frisby 163d254bb9 * Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie! 2008-04-23 11:53:16 +00:00
Adam Frisby bca7ab7e36 * Applying Mantis #1020 (Animations) - Thanks Melanie. 2008-04-23 11:52:25 +00:00
Adam Frisby 7c897043ba * Removing old libTerrainBSD and associated Plugin & Project.
* Updated prebuild.xml accordingly.
2008-04-23 10:55:04 +00:00
Justin Clarke Casey 2de6d09d74 * Get rid of missing texture notification drop messages for now - obscuring too many other debug messages. 2008-04-23 10:30:45 +00:00
Justin Clarke Casey 24cf685e55 From: Dr Schofield <hud@zurich.ibm.com>
the attached patch fixes http://opensimulator.org/mantis/view.php?id=936 
aka load-xml/load-xml2 crashing. problem lies with basic physics not 
creating physics actors. the solution was already present in 
SceneObjectPart.cs.
2008-04-23 10:20:38 +00:00
Justin Clarke Casey 6efb16689a From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-23 10:16:26 +00:00
Jeff Ames 9fc6b783da Update svn properties. 2008-04-23 01:04:44 +00:00
Sean Dague cdcd092d9a doh, forgot that hg diffs don't do the adds correctly to svn 2008-04-22 20:43:38 +00:00
Sean Dague a66c43d450 From: Dr Scofield <hud@zurich.ibm.com>
some exceptional code ;-) i've added TerrainException and have modified
TerrainModule to now throw TerrainExceptions.

   cheers,
   dr scofield
2008-04-22 19:44:40 +00:00
Teravus Ovares 61f23fa045 * Implements llScriptDanger
* Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
2008-04-22 10:11:29 +00:00
Teravus Ovares 809447ac32 * Implemented NoScript areas (without loosing script state). 2008-04-22 09:28:58 +00:00
Teravus Ovares 9b696a1d5c * Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!
* I expanded upon his patch just a bit to incorporate the following.
* if the avatar is sitting on this object, then we can unsit them.
* If the object owner also owns the parcel or if the land is group owned and the object is group owned by the same group or if the object is owned by a person with estate access, then we can unsit them.
2008-04-22 08:15:44 +00:00
Adam Frisby c8eb8d66fd * Committing new terrain plugin effects system. Loads DLLs in /bin/Terrain/ as terrain module extensions. Committing sample plugin library.
* prebuild.xml changes.
2008-04-22 07:53:32 +00:00
Adam Frisby 385c1f5184 * Added missing reference to OpenSim.Framework.Communications to RemoteAdminPlugin to fix a compile error introduced by the Radmin patch. 2008-04-21 14:11:36 +00:00
Adam Frisby 0d27832d44 * Various compiler warning cleanups. 2008-04-21 13:16:00 +00:00
Sean Dague bf1580fba4 From: Dr Scofield <hud@zurich.ibm.com>
the attached patch set is centered around RemoteAdminPlugin and focuses
mainly on making it more robust (i.e. more parameter checking and better
error reporting) but also we've re-implemented the LoadTerrain stuff that
got disabled during the terrain code reworking:

   * missing PostInitialize() calls on region modules that were loaded
     for regions created via RemoteAdmin's CreateRegion XmlRpc call
   * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost
     during the TerrainModule rework)
   * adds lots more parameter checking and error reporting to RemoteAdmin
   * adds a read-only property to RegionApplicationBase so that we can
     access the CommsManager
   * adds Exceptions to TerrainModule so that we get better error case
     feedback (and can report more meaningful errors in turn)
   * adds a CheckForTerrainUpdate() call to
     TerrainModule.LoadFromFile() to make terrain changes effective
   * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can
     retrieve Scenes not only by name but also by LLUUID


   cheers,
   dr scofield
2008-04-21 12:42:56 +00:00
Adam Frisby a0b8c46ef3 * Various refactorings. 2008-04-21 09:38:51 +00:00
Adam Frisby f741a62d54 * Formatted ExportSerialiserModule and SvnBackupModule
* Added a form of GZip compression support to object.xml files produced by exportserialiser. Will look towards standard GZip support. File compression seems to be highly worthwhile reducing a 1.5mb sim state to 62kb.
2008-04-21 09:12:47 +00:00
Jeff Ames a7cb2b8c30 Update svn properties. 2008-04-21 08:28:25 +00:00
Adam Frisby 01663cb612 * Committing fix for previous build breakage. Sorry!
* Committing namespace/usings fixes for ThirdParty directory, missed in previous commit.
2008-04-21 07:16:30 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Adam Frisby 05e24c8f58 * Terrain Module code has been reformatted to comply with guidelines.
* Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
2008-04-21 06:39:16 +00:00
Adam Frisby 20a4a402f6 * Written a improved self-contained version of the XML Object Serialiser for the ExportSerialisationModule.
* This now outputs properly indented XML, that is sorted before construction. This produces a file which proper .diffs can be generated from - the end result being smaller more compact revisions when saving to SVN.
* Files are a little heavy still however, compression looks like a good method for packing sim-states for transport outside of SVN. Zip seems to be a good candidate and is on the TODO.
2008-04-21 04:36:32 +00:00
Adam Frisby 8cf42ddb84 * Added support for periodic autosaves - added to SvnBackupModule. Will cause a SVN revision to be saved every X minutes. (Default = 15)
* Added 'Autosave' options to OpenSim.ini.Example 
* Added 'ImportOnStartup' option to OpenSim.ini.example
2008-04-21 04:11:56 +00:00
Justin Clarke Casey 3d3eec436a * Remove user profile from cache when they log out from a region.
* A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be 
written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
2008-04-20 20:36:06 +00:00
Tedd Hansen 16275ca26d Removed some script engine noise from console 2008-04-20 11:58:14 +00:00
Tedd Hansen 8a13edb115 Moved script engine os* commands to OSSL_BuilIn_Commands.cs and OSSL_BuilIn_Commands_Interface.cs where they belong. 2008-04-20 10:40:39 +00:00
Teravus Ovares a5bf229cbd * Fixed up event discovery regexes to work with a specific string format m#1012 2008-04-20 10:18:40 +00:00
Adam Frisby 93efd6ff39 * Added some more fixes, refactored SVNModule slightly. 2008-04-20 05:44:54 +00:00
Adam Frisby b3e10debdd * Added support for new "svn load-region <region name> [svn revision]" command to SVN Backup Module. 2008-04-20 04:21:18 +00:00
Teravus Ovares 3358d70c5b * Updates LSL2CS converter
* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future.  For now, this works for LSL.
2008-04-20 04:19:44 +00:00
Adam Frisby 7d18a93c2e * Added experimental "svn load <revision>" command to allow you to load a region from a specified SVN revision. Potentially useful for rollbacks. 2008-04-20 04:15:12 +00:00
Adam Frisby 1ca94ab5dd * Fixed three compiler warnings introduced in the previous commit. 2008-04-20 04:10:52 +00:00
Adam Frisby 462d03d926 * Various SvnBackupModule fixes. 2008-04-20 04:04:59 +00:00
Justin Clarke Casey 11f057f90b * Insert an OpenSim warning telling the user to ignore the ERROR assembly scanning messages. This is a temporary measure. 2008-04-19 22:03:34 +00:00
Charles Krinke 6865f1c67d Thank you kindly krtaylor for a patch to solve:
Linked objects won't scale together properly, only the root object scales. 
This happens with scaling both up and down or inputting numbers in the edit dialog.
2008-04-19 21:01:26 +00:00
Justin Clarke Casey b6f8777dde * Fix build break in previous revision 2008-04-19 20:44:24 +00:00
Adam Frisby 6f810a0613 * Several fixes for SvnBackupModule
* SVNBackup module now works correctly when you have more than one region.
* Various textual and feature improvements, including new 'ImportOnStartup' option for OpenSim.ini (place in [SVN] section)
2008-04-19 15:18:54 +00:00
Justin Clarke Casey cd09677469 From: Alan M Webb <awebb@vnet.ibm.com>
Robust implementations of GetSubString, InsertString, and
DeleteSubstring. The existing implementations only worked for arguments
consistent with the underlying .Net implementation and did not
accomodate LL's negative indices.
2008-04-18 19:03:28 +00:00
Tedd Hansen acb0b06fed Mantis #851, 100% CPU on unhandlet HTTP event. Thanks cmickeyb. 2008-04-18 15:25:43 +00:00
Adam Frisby a2b32bdd6f * Fixed two compiler warnings dealing with IPAddress equality. 2008-04-18 09:35:24 +00:00
Teravus Ovares b280605237 * Added lock persistence
* Temporarily disabling click+drag+move for non physical things until more experimenting is done to figure out how to get a sideways hand cursor in the client.
2008-04-18 04:44:04 +00:00
Charles Krinke ea8b6a28ed Thank you, Melanie, very kindly for a patch that :
Implements llGetInventoryKey with perms checking. 
Adds perms checking to llGetTexture, adds type checking to llStartSound, 
allows llSetTexture to reference textures by name
2008-04-18 02:23:48 +00:00
Teravus Ovares dd4deebbcb * Re-Fixed caps
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-17 19:42:54 +00:00
Teravus Ovares 4ee368785d * Acks the first UseCircuitCode packet
* Implements Teleport One Agent Home
2008-04-17 15:58:50 +00:00