Commit Graph

2725 Commits (f9a67ab5f0aefe9033593babb790d6c1c74628ec)

Author SHA1 Message Date
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
Justin Clarke Casey 15b36498be From: Alan M Webb <awebb@vnet.ibm.com>
This provides fixed implementations for llListReplaceList and llList2CSV.
llListReplaceList was broken except for simple indices. llList2CSV did not handle processing of an empty list.
2008-04-17 14:34:30 +00:00
Adam Frisby db9c919086 * Added "svn load" command to correspond "svn save". Will grab the latest revision.
* TODO: Specific revision support.
2008-04-17 14:26:19 +00:00
Adam Frisby 200b60bd48 * Added ITerrainModule interface to Terrain Module, and registered accordingly in Scene. 2008-04-17 14:22:48 +00:00
Adam Frisby a0fc29878e * Added a directory for the SVN module. More about to come.* SVNBackupModule
* See OpenSim.ini.example settings for how to use
* Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim.
* Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list.
* It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files.
* Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
2008-04-17 13:20:06 +00:00
Jeff Ames fe3265f491 Update svn properties. Add copyright info to some source files. 2008-04-17 12:16:19 +00:00
Adam Frisby 664d4fc8a0 * Missed a file while committing. 2008-04-17 12:07:54 +00:00
Adam Frisby 05708771bb * Committing first version of SVN Backup Module
This is a module which allows you to periodically export a serialised version of your region to a SVN repository and store it there. It is still a work in progress and is currently disabled and incomplete, but some of the functionality is demonstratable.
* Enjoy.
2008-04-17 11:42:06 +00:00
Teravus Ovares 75df0c9000 * Patch from ChrisDown to fix odd results when using landmarks. Thanks Chris! (Tweaked slightly so avatar don't end up underground).
* Removed some testing notices I had in there that were obnoxious.
2008-04-17 05:23:43 +00:00
Teravus Ovares 244bfcde5b * Implements 'Set Home to Here'
* Implements 'Teleport Home'
* User Server has to be updated for it to save your home in grid mode
* home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float.  Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now.   Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-17 05:07:14 +00:00
MW 770c395e86 moved the Thread.Sleep(500), to the correct side of the ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); call. 2008-04-16 16:28:02 +00:00
Justin Clarke Casey e3a6a370fa * From: Alan M Webb <awebb@vnet.ibm.com>
* Here's an updated ListInsertList implementation, tested to be LL
compliant.
2008-04-16 16:07:34 +00:00
Justin Clarke Casey 9cb9dcb9da From: Alan M Webb <awebb@vnet.ibm.com>
This fixes a bug in LSL_Types.list GetSublist that was manifest if the
source list was empty and negative indices were used.
2008-04-16 15:57:55 +00:00
Justin Clarke Casey 4f8943da67 * From Kurt Taylor <krtaylor@us.ibm.com>
* Yet more script function cleanup - Patch fixes many different script functions: NotImplemented that weren't there at all, redundant or unneeded m_host.AddScriptLPS, etc
2008-04-16 15:54:32 +00:00
MW 54eaadeb82 added a thread.Sleep(500) to OGS1GridServices.CheckRegion() , to try to help avoid a potential race condition. As IAsyncResult.AsyncWaitHandle.WaitOne before a AsyncCallback is called. So in this case, its a race to see who sets or reads the bool m_bAvailable first. 2008-04-16 15:49:28 +00:00
Teravus Ovares 7c1f17b994 * Applying melanie's Landmark patch. Thanks Melanie!
* To make a landmark, you currently have to enable admin options in the advanced menu first.  We're working on this..   however use the admin options solution in the mean time.
2008-04-16 14:10:54 +00:00
Sean Dague 1eb0fedd93 After reading Timer.cs in the mono source, I'm not
convinced that timer.Enabled modification is thread safe.
I suspect the statsHeartBeat call to be one of our hot spots
because is tries to synchronize not with a lock, but by
disabling and enabling itself.  I've replaced that with a lock
in the hopes that this affects either the 100% bug, or the
invoke_void bugs.
2008-04-16 10:54:32 +00:00
Charles Krinke bf7e7b2c57 Thank you very much, Kmeisthax for:
This patch makes the "Show in Search" checkbox on the viewer work. Additionally, I also discovered that show-in-search objects use the JointWheel flag, so this patch currently uses that flag. LibSL needs to add a flag to enum LLObject.ObjectFlags, "IncludeSearch = 32768" so we aren't using a legacy flag.

Additionally this patch also contains a small fix to BaseHTTPServer that lets the response content-type to be something other than text/html. For some reason this didn't get submitted with the DataSnapshot merge.
2008-04-16 03:55:21 +00:00
Teravus Ovares e777f88028 * A tweak of the caps system so that new caps have random paths instead of a fixed path
* This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously.   
* This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'.
* The first seed cap request fails, the second one works.  (this generates an error message on the console)
* Experimental.
2008-04-15 23:10:12 +00:00
Justin Clarke Casey 550ed7b9ec * Fix mantis 975 - prim text > 255 chars 2008-04-15 22:56:18 +00:00
Teravus Ovares 331f26548b Fixed LSL State support.
* Re-applied Tedd's patch that got overwritten.
* Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s])
* Added a state(string) method to BuiltIn_Commands_BaseClass
2008-04-15 16:49:06 +00:00
Sean Dague 6f8ff32630 From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have been working on an asterisk voice module that will allow
   us to couple opensim with an asterisk VoIP gateway.

   the patch below consists of
     * AsteriskVoiceModule region module: alternative to the plain-vanilla
       VoiceModule, will make XmlRpc calls out to an asterisk-opensim
       frontend
     * asterisk-opensim.py frontend, living in share/python/asterisk, takes
       XmlRpc calls from the AsteriskVoiceModule
          * account_update: to update/create a new SIP account (on
            ProvisionVoiceAccountRequest)
          * region_update: to update/create a new "region" conference call
            (on ParcelVoiceInfo)
     * a asterisk-opensim test client, living in share/python/asterisk, to
       exercise astersik-opensim.py
   this still does not give us voice in OpenSim, but it's another step on
   this path...
2008-04-15 14:24:15 +00:00
Sean Dague 62d02e079e From: dirk husemann <hud@zurich.ibm.com>
attached is a patch set that
     * adds further robustness checks for the CreateUser and CreateRegion
       XmlRpc
     * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
       expectation IPEndPoint.Address is not sufficient for a comparision,
       IPEndPoint.Address.Address (the long representation) does work
       however.
     * add [RemoteAdmin] section to OpenSim.ini.example
     * fixes XML doc comments
       good night,
       dirk
2008-04-15 14:18:37 +00:00
Jeff Ames 06d05bd339 Update svn properties. 2008-04-15 10:02:06 +00:00
Adam Frisby 0bec9f0551 * Added support for serialising objects to ExportSerialisationModule via SerialiseObjects.cs
* Cleaned up using tags on SerialiseTerrain.cs
* Minor tweaks to ExportSerialisationModule.cs
2008-04-15 09:55:47 +00:00
Teravus Ovares 682f4e9257 * Fixes an issue with the BaseHttpServer in Linux
* Fixes an estate naming issue
* Fixes a land issue with the landobject not reporting the proper parcel prim.
* A few other tweaks.
2008-04-15 06:21:44 +00:00
Adam Frisby 00dbca468a * Committing shell of a whole-region serialiser. This is not complete and will be worked on more over the next few days. Undocumented/trusted. Use at own risk, etc etc. 2008-04-15 04:26:39 +00:00
Adam Frisby 0b4a8191a1 * Quick patch before I start on a bigger project
* Renamed ITerrainTemp to IMapImageGenerator
* Renamed WriteJpegImage to WriteJpeg2000Image to better reflect it's function.
2008-04-15 03:07:31 +00:00
Justin Clarke Casey b7ae8701ce * Working towards notifying the client if the inventory service has failed, rather than simply returning 0 items.
* This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner.  Also, this only applies to the 1.19.1.4 client onwards
* Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
2008-04-14 18:43:23 +00:00
Teravus Ovares e21886eea0 * Fixed a few warnings.
* Added license info to a few files it was missing from.
* Fleshed out the landbuy interfaces
* If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone.  Structured gridmode requires a lot more work, see the documentation in the example money module.   The example money module is not secure especially in standalone mode.
2008-04-14 17:13:38 +00:00
Sean Dague 1f5eb2ef65 make it so the IRC bridge only relays channel 0 messages
not all of them (like it was doing before)
2008-04-14 14:49:16 +00:00
Teravus Ovares 2b7419c7fb #952 again 2008-04-14 03:20:36 +00:00
Teravus Ovares 30f93b2201 Fix for mantis 952 2008-04-14 01:10:48 +00:00
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Justin Clarke Casey 7dec345d9a * Temporarily, stop the exception of mantis #951 from killing the entire client session. 2008-04-13 22:25:23 +00:00
Adam Frisby 17507404b5 * Added some comments to terrain module.
* Fixed a range issue in the GenericSystemDrawing saving mechanism.
2008-04-13 01:36:03 +00:00
Justin Clarke Casey b3f783ae05 * Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
* Won't actually fix anything, since we were handling the problem anyway
* Also add more doc, fix up debugging messages, etc
2008-04-11 20:37:26 +00:00
Justin Clarke Casey 8f345d36d8 * Minor refactoring in OGS1InventoryService 2008-04-11 19:04:33 +00:00
Justin Clarke Casey 7ac7f79f88 * Eliminate a class of errors where an inventory request could be made before the region had completely received the inventory for the user.
* A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future.
* This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
2008-04-11 18:46:54 +00:00
Justin Clarke Casey 649f304e76 * Minor inventory code cleanup following on from last patch 2008-04-11 18:19:21 +00:00
Justin Clarke Casey a5176c2e2c * Change inventory async response deliver to deliver all items and folders at once, rather than each individual
* This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
2008-04-11 18:13:10 +00:00
Teravus Ovares 9c5d0f50fa * fix bug 935 2008-04-11 17:51:36 +00:00
Teravus Ovares 5e1d8925fa * Fix bug 934 2008-04-11 17:24:04 +00:00
Justin Clarke Casey 9a7717743b refactor: eliminate method in UserProfileCacheService 2008-04-11 16:13:33 +00:00
Justin Clarke Casey b3892096f3 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file)
* Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken.
* Thanks Dr Scofield
2008-04-11 15:00:41 +00:00
Sean Dague f337cb205d From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is the second half of the fix for 821 - this is the null reference
check for llDetectedName and the other *Detected* function.
2008-04-11 13:51:11 +00:00
Adam Frisby f100fc1b94 * Updated MapImageModule to support primitives showing on the world map image. As MapImageModule is of unknown use, this may or may not be reflected on the world map. See the ShadeBuildings function in MapImageModule for reference. 2008-04-11 03:33:51 +00:00
Teravus Ovares 50c5e6af10 * With Grid Comms up in the air.. I decided have the friends module update you when your friends come online if they're at least a child agent on the sim. offline status works the same also. So does Instant Message.
* This is until Grid Comms matures a bit more on this.
* This should also work in Standalone as it uses the IUserData interface.
2008-04-10 18:30:34 +00:00
Charles Krinke f565f44d89 Thank you Justin for a patch that solves the issue of: When a sensor detects an Avatar,
and llDetectedOwner is called on the script, the current implementation attempts to 
find the detected avatar as a SceneObjectPart and return the owner of that part.
2008-04-10 15:38:33 +00:00
Justin Clarke Casey ba132f3a0b * Minor: get CreateNewUserInventory() to return true on success 2008-04-10 15:28:52 +00:00
Teravus Ovares f2d36186f0 * Slightly smoother transition between land, shallow water and deep water in map tile generation. 2008-04-10 15:27:02 +00:00
Sean Dague 55ac1c6dce renaming of attributes in UserAgentData for readability 2008-04-10 14:50:52 +00:00
Sean Dague ef7dfae41c changing UserAgentData to use properties. This caused more
grief than expected, as monodevelop doesn't like to refactor 
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague 25fea01b92 further renaming of properties for clarity 2008-04-10 14:09:30 +00:00
Sean Dague c176caeb05 moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Teravus Ovares 1178eddffc * Brings back map tile generation based on the terrain. The algorithm produces a graphic that is a bit Dazzle-ish. A Dazzle-ish map tile is better then a grey map tile IMHO. 2008-04-10 13:37:39 +00:00
Teravus Ovares b92c6901ad * Fix a null reference when there's no [Economy] section in the opensim.ini 2008-04-10 13:05:01 +00:00
Teravus Ovares 9fec575b3e * Made it safe again to use the restart button from the estate tools and the restart console command.
* It looks ugly on the console..   but it's really safe..  and restores some memory.
2008-04-10 10:27:03 +00:00
Teravus Ovares 06967e230f * Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header.  See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Teravus Ovares b85624db18 * Adds twist support for Cubes, Cylinders, and Prisms in the Meshmerizer
* A tweak of the SimStatsReporter so it would report the prim capacity to be 45000.
2008-04-10 00:31:44 +00:00
Justin Clarke Casey 8bd1f1c7c3 * Put explicit braces in for single line blocks 2008-04-09 15:36:10 +00:00
Justin Clarke Casey f9646a0c81 From: Michael Osias <mosias@us.ibm.com>
"This is llDetectedKey for touch_start - it is already implemented for sensor."
Thanks Michael
2008-04-09 15:33:04 +00:00
Justin Clarke Casey f512502e51 From: Kurt Taylor <krtaylor@us.ibm.com>
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions."
Thanks!
2008-04-09 15:28:51 +00:00
Justin Clarke Casey f5b254e0bf * Minor: Show summary count of connected agents in 'show users' region console output 2008-04-08 20:54:18 +00:00
Justin Clarke Casey f8faf18c66 * Following A_Biondi's suggestion, going to try returning a version number of 1 instead of 0 for the folder requested in a InventoryDescendentsPacket
* Can't hurt - it doesn't appear to cause any problems in a quick test.
2008-04-08 20:11:35 +00:00
Justin Clarke Casey 90422db35a * Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
Teravus Ovares 95e31c9f02 * Added stretchable ellipsoid support with configurable LOD. It's actually a split facet icosahedral geodesic sphere that's scaled.
* In other words, you can stretch spheres into oblong shapes now and watch them roll around like a football would.
* Still can't cut, twist or profile cut spheres yet.
2008-04-08 05:03:43 +00:00
Teravus Ovares d0f7784101 * Adds poor support for ellipsis in the Meshmerizer. This will get better.. notice the huge nasty facets! Regular spheres still work as they did. 2008-04-08 01:29:45 +00:00
Sean Dague 5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Teravus Ovares e409892a9c * Updated ODE.NET bindings to the ODE library.
* Fixed some Tapers with Cylinders in the Meshmerizer
2008-04-07 22:11:41 +00:00
Justin Clarke Casey da9eeffc9e * Objects which have their name or description changed while within inventory will now retain those details when rezzed to a scene 2008-04-07 21:33:25 +00:00
Justin Clarke Casey 033f0138c8 * Preserve original creator's name when an object is given 2008-04-07 21:03:03 +00:00
Justin Clarke Casey 0e7c4046d3 * Nasty hack to reduce the incidence of spurious exceptions where a user deletes a newly rezzed object before the persistence thread gets to it from its queue.
* This should greatly reduce but not eliminate the problem - elimination probably requires a redesign of the prim persistence processes
2008-04-07 17:28:02 +00:00
Justin Clarke Casey 2caea75aa8 * Okay you can put down your pitchforks - this patch should fix rezzing of items (with inventory) on Windows
* Now properly dealing with prims which don't contain items - thanks to thomas for the patch which gave insight into this situation
* Also, an xml exception no longer crahes the client session    
* Leaving in debugging lines in case there are further problems
* Not yet tested on Linux, though I'm just about to.
2008-04-07 16:30:29 +00:00
Jeff Ames 8833a72388 Update svn properties. 2008-04-07 14:19:08 +00:00
Charles Krinke 927003de33 Thank you kindly Diva & KMeisthax for adding the beginnings
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Teravus Ovares 072b5faa34 * I XmlIgnored the TaskInventory Property as a temporary measure. Taking things and rezzing them works again. (though, I suggest waiting on taking things until justincc has an opportunity to look at the TaskInventory property causing the XML Serialization to overrun.) It's MinOccurs is 0 in the XML Schema, so it should work fine when he adds it back. 2008-04-07 11:21:44 +00:00
Jeff Ames ac73033231 Remove some dead code. 2008-04-07 02:34:31 +00:00
Justin Clarke Casey dfe5e9d4eb * EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving
* Now you can drag an object from your inventory and give it to another avatar
* !!! Use at your own risk !!!  Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it)
* Also, items for the receiving end up in their root folder rather than the objects folder
2008-04-07 01:46:00 +00:00
Jeff Ames 7149c8b0c6 Update svn properties. 2008-04-06 14:11:44 +00:00
Adam Frisby 0a0a3992cc * Whoops, forgot to include all the new terrain file loaders and things.
* Added MapImageModule for handling world-map 
* Added new DefaultTerrainGenerator.cs
* Added BMP loader
* Added GIF loader
* Added PNG loader
* Added TIFF loader
2008-04-06 14:04:59 +00:00
Adam Frisby 996309a6e1 * Various terrain engine fixes
* Includes patch #894 fixes for terrain load-tile
* Large number of other terrain fixes and new commands included.
2008-04-06 13:48:28 +00:00
Teravus Ovares 899f00b83d * Fixed up some documentation
* Should help the sinking feeling when new avatar arrive in the scene.
2008-04-06 06:42:54 +00:00
Teravus Ovares 0340531ff0 * Implemented AgentPause and AgentResume. AgentPause extends the timeout for a client at the server by 3x. AgentResume restores the timeout to the normal amount.
* The linden client still doesn't like it when you have an image select box open for more then 100 or so seconds.
2008-04-06 02:05:19 +00:00
Teravus Ovares 9d299926dc * Lowered the default throttle settings. They were way too high at 1.5MB/s!
* This will definitely help the missing prim problem (probably eliminate it entirely)!
* This will help the broken up land block problem (probably eliminate it entirely)!
* Warning, change the default throttle settings at your own risk ( and don't commit the throttle settings! )
2008-04-05 11:06:28 +00:00
Teravus Ovares dbbb115c26 * The simulator now checks the parcel at the position that you get put by the grid server to see if you set it's landing point to a specified landing point. If you did, and the landing point isn't LLVector3.Zero, it puts you at the configured landing point.
* Currently the grid server sticks you at 128x128x128..  so that means it'll use whatever parcel is at that location to get this information.   This allows greater customization of where people log-into and teleport-to if done right.
2008-04-05 09:47:05 +00:00
Justin Clarke Casey 57afbdbdbd From: Kurt Taylor <krtaylor@us.ibm.com>
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Justin Clarke Casey cdff09d0bb * Removing debugging goo for mantis 854 since the fix is reported to work. 2008-04-04 15:02:20 +00:00
Teravus Ovares 7bc0b7b6c1 * Fixes Region/Estate panel in current Linden Official client.
* Sets the default estate parentID to 1..  which means that all regions are treated like private estates in the client as opposed to Linden Mainland. (no space server hiccup message).  If that message annoys you and you want to get rid of it, set your parentEstateID to 1.
2008-04-03 22:59:38 +00:00
Sean Dague 5e32d86b87 move NullStorage => OpenSim.Data.Null to be consistant with
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Justin Clarke Casey b9b99ee87c * Attempted resolution for mantis 854
* Also adds more temporary debugging goo in case the fix didn't work
2008-04-03 17:13:45 +00:00
Justin Clarke Casey 042cd57e94 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch removes voice code into a region module.  This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Justin Clarke Casey 4394c747f5 * Minor: fix doc glitch 2008-04-03 15:30:52 +00:00
Justin Clarke Casey 5fe4a39927 * Adding request time limiting strategy for texture requests, though this isn't useable yet 2008-04-03 15:28:50 +00:00
Justin Clarke Casey 6ef4f1bdae * Resolve mantis 849
* Scripts in prims within linksets can now be properly edited using the 'edit linked parts' linden ui option
2008-04-03 13:33:46 +00:00
Teravus Ovares 2d33bf854f * ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ). 2008-04-03 04:02:46 +00:00
Sean Dague 341664eabc from krtaylor
Fixe for Mantis 821
2008-04-02 18:58:57 +00:00
Justin Clarke Casey 272fbef65f Minor: just some method comments 2008-04-02 17:34:53 +00:00
Justin Clarke Casey f27f861072 * Attempt to resolve mantis 873 by placing caps removal operations in a critical section 2008-04-02 16:46:58 +00:00
Sean Dague 86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
Justin Clarke Casey 1038c244cf * Add some temporary task inventory item inflation debug messages to investigate mantis 854 2008-04-02 15:16:32 +00:00
MW 0e789a9a01 Set default terrain to complete flat terrain (at 26 height). Even flat terrain as default seems better than the messed up terrain I was getting. 2008-04-02 11:03:44 +00:00
Teravus Ovares b790a16e98 * Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey 96ecb62197 * Fix for mantis #678
* Shift copied prims should now keep the script in both prims over region startups
2008-04-01 17:06:33 +00:00
MW cdf27ece5f few more minor changes, needs prebuild to be ran. 2008-04-01 13:34:33 +00:00
MW f43e077150 a few small changes 2008-04-01 13:09:29 +00:00
Teravus Ovares a0a0229fdf * Set Svn Properties eol-style: |337 2008-03-31 23:54:49 +00:00
Adam Frisby 15a1565bf8 * Fix for terrain issue whereby loading or manipulating a terrain item from the console would not cause the terrain to be saved to the Scene. (Mantis #845) 2008-03-31 21:05:22 +00:00
Justin Clarke Casey 106fd2f616 * From: Dr Scofield <hud@zurich.ibm.com>
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Justin Clarke Casey 93303072dd * Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey af3118eccd * Fix problem where inventory code throws a swallowed exception on grid mode if the avatar has never logged in before 2008-03-31 17:08:58 +00:00
Justin Clarke Casey 5f04cebb25 * Fix for mantis 131, 796
* Take copy now actually takes a copy into inventory rather than the original
2008-03-31 16:12:24 +00:00
Jeff Ames e18d046d76 Fixed typo in AvatarFactoryModule.cs 2008-03-31 16:06:12 +00:00
Jeff Ames 8af0c9a1af Update svn properties. 2008-03-31 03:29:34 +00:00
lbsa71 f52886f8f5 * Added competely untested MSSQLMapper
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares 8aa4308097 * Minor cleanup 2008-03-30 19:58:14 +00:00
Adam Frisby c502416548 * Quick fix. Re-enabled some code which registers the Terrain Module's Commander with the scene (whoops). 2008-03-30 09:07:57 +00:00
Adam Frisby fadd19f314 **Big ass update warning**
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-30 09:03:38 +00:00
Teravus Ovares fd2caf5f16 This update has good news and bad news, first the bad.
* This update breaks inter-region communications, sorry.
* You will need to run prebuild.
Next, the good;
* This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa.  So Linux Simulators and Windows simulators are 100% compatible again.
* This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border.   If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost.
That being said, it's best to update all your simulators to this revision at once.
2008-03-30 08:01:47 +00:00
Justin Clarke Casey a6999f8a5d * Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway. 2008-03-29 23:07:48 +00:00
Justin Clarke Casey 7722a87b69 * Tidy up 'show users' display 2008-03-29 22:57:09 +00:00
Justin Clarke Casey a90fbb308d * Minor log message fix per mantis 829 2008-03-29 22:44:14 +00:00
Justin Clarke Casey 875211b262 * Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal 
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
alondria 0e0445573e Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838 2008-03-29 19:49:07 +00:00
MW 7fcffa3a3a Re-enabled terrain texture generation for the world map. Adam can clean up/ sort it out when he gets time.
Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. 
Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-29 17:18:47 +00:00
Jeff Ames 86128ba4d4 Fix compiler warnings in BulletXPlugin. 2008-03-29 04:30:19 +00:00
Justin Clarke Casey 0a47a75b88 * Send full inventory folder skeleton to standalone client logins rather than just the root child folders
* This may resolve some current problems with non root child folders on standalone installations.
* A fix for the same problem in grid mode will come soon.
2008-03-28 19:35:01 +00:00
Justin Clarke Casey 35dec2e53a * Refactor: Eliminate RequestUsersRoot() redundant method 2008-03-28 17:37:55 +00:00
Justin Clarke Casey c8f79eb9b4 * Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey 512e52be4c * Remove pointless boolean on AgentInventory.CreateRootFolder() 2008-03-28 16:27:29 +00:00
MW a13d68d98c fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows. 2008-03-28 15:32:46 +00:00
MW ac27d9250d attempt to fix mantis # 779. 2008-03-28 14:59:52 +00:00
Sean Dague 2eda6a1296 From: Michael Osias <mosias@us.ibm.com>
This patch implements llMessageLinked.

I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for
link sets of more than 1 prim, or 0 for a single object, since according
to:

http://rpgstats.com/wiki/index.php?title=LlMessageLinked

linksets with 2 or more prims start the link numbering at 1, but a single
prims link number is 0.
2008-03-28 12:47:03 +00:00
Justin Clarke Casey 14ee78b3af * Tweaking master uuid exception to make it clearer what just went wrong (user server timeout)
* Increasing GetUserProfile requests only to 6 seconds from 3
* Not completely sure what effect this will have, though probably not much
* At some point one will have to accept that if the grid servers are taking many many seconds to respond, running using that grid will not be viable.
* Perhaps there should be a big warning up front if grid request times are slower than n seconds.
2008-03-26 18:06:29 +00:00
Justin Clarke Casey c538ea5024 * Increase timeout for initial simulator login from 16 to 30 seconds
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Justin Clarke Casey bcd68fb6c4 * More log messages in the region registration process for debug purposes. Some of these may be temporary 2008-03-26 12:44:43 +00:00
Justin Clarke Casey c00e56d3ee * Increase information in simulator_login log messages 2008-03-26 12:34:02 +00:00
Justin Clarke Casey 35b1cae593 * Start printing the region simulator_login exception to the log 2008-03-26 12:28:59 +00:00
Johan Berntsson 7fe243e3d4 Committed patch from Lulurun to fix Mantis 817. Thanks Lulurun 2008-03-26 02:49:35 +00:00
Johan Berntsson 7f5e1546e2 Removing redundant code 2008-03-26 02:12:28 +00:00
Justin Clarke Casey ad6783ff40 * Massaging CAPS setup/teardown log messages
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25 22:04:41 +00:00
Justin Clarke Casey ad808579a2 * Print out the exception stacks of resolution failures, temporarily 2008-03-25 20:05:02 +00:00
Justin Clarke Casey ed9cdbe99f * Temporary hack to swallow neighbour contact problems on startup (in response to osgrid issues)
* Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
2008-03-25 19:39:41 +00:00
MW 13a077674c checking that these two files are commented out 2008-03-25 19:03:23 +00:00
MW c2ea7b99e1 Moved Avatar appearance Factory to its own project so that the reference to MySQLDatabaseMapper could be removed from Region.Environment.
Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
2008-03-25 18:48:07 +00:00
Justin Clarke Casey 8c74cf7758 * Tear down CAPS and http handlers when an agent leaves a region (via crossing, teleport or logout) 2008-03-25 18:47:14 +00:00
Teravus Ovares e74892ee44 * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
( Remove ray caster Verbosity )
2008-03-25 17:31:40 +00:00
Teravus Ovares e11e6dc308 * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. ) 2008-03-25 17:28:09 +00:00
Justin Clarke Casey 2517fe7acd * Remove old CAPS http listeners when a client logs out from a scene
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25 17:08:20 +00:00
Teravus Ovares 3d1b4f8578 * On Ray casting. Now returning the face normal of the collision face. 2008-03-25 16:09:43 +00:00
lbsa71 ba2de258f4 * Refactored out circular reference in Region.Environment <-> Framework.Data.Base
We REALLY need to get the db layer sorted soon...
2008-03-25 14:27:39 +00:00
Jeff Ames 9d1b42c39a Comment out unused private methods. 2008-03-25 03:49:08 +00:00
Jeff Ames a8d9a58dd2 Fix a couple more warnings. 2008-03-25 03:43:24 +00:00
Jeff Ames a7556af7de Fix a few compiler warnings. 2008-03-25 03:37:48 +00:00
Teravus Ovares a21112ccee * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect...  but pretty good.
2008-03-25 03:36:31 +00:00
Jeff Ames d2b1a8aa1e Minor formatting / svn properties cleanup. 2008-03-25 01:45:23 +00:00
Teravus Ovares dd6e6e7bdf * Added llApplyImpulse in the local frame. 2008-03-24 22:48:34 +00:00
alondria 15a22e993d Implements llGetInventoryPermMask() 2008-03-24 21:56:52 +00:00
Teravus Ovares dd6a9ffbc7 * OBB: Flipped the -y face normal so ray casting against the -y face correctly results in the point of collision. 2008-03-24 21:48:33 +00:00
Justin Clarke Casey e3949280b1 * Inflate my commits with yet another snippet of documentation... (j/k) 2008-03-24 21:28:45 +00:00
Justin Clarke Casey 3a5521d204 * Put in tiny doc snippet while I remember 2008-03-24 21:27:14 +00:00
Justin Clarke Casey f14c102c7a * Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...
* Remove some now extraneous CAPS related messages
2008-03-24 21:21:05 +00:00
alondria 2b4915ef27 Modified llGetInventoryName() so it indexes inventory in the same manner the LL grid does. (Thanks Teravus for pointing this out.) 2008-03-24 21:19:01 +00:00
Justin Clarke Casey 3aa843cea8 * Remove a spammy comment I meant to remove from the last commit 2008-03-24 20:25:48 +00:00
Justin Clarke Casey 6489746a6b * Make standalone non-home region caps work again.
* When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
2008-03-24 20:22:58 +00:00
alondria 3be815b206 Implements llGetInventoryName() - the order is based upon inventory key, which probably doesn't match 100% with LL's grid. 2008-03-24 19:58:53 +00:00
Justin Clarke Casey 45b9114df7 From: Michael Osias <mosias@us.ibm.com>
Fixes mantis 771 - multiple uses of llListen cause duplicate events

Thanks Michael!
2008-03-24 19:44:25 +00:00
alondria 9117dfc858 Implements llGetInventoryNumber() 2008-03-24 19:29:35 +00:00
alondria 8a39d04f6d Implements llGetInventoryType() 2008-03-24 19:11:56 +00:00
alondria 3423ed4739 Implements llGetInventoryCreator() 2008-03-24 19:05:44 +00:00
Justin Clarke Casey 8c0955321a * Refactor: Genericise request limit strategies and move to OpenSim.Framework.Communications.Limit 2008-03-24 18:21:06 +00:00
Johan Berntsson 56dfa4e6da Fixed a small XmlRpcCommand bug 2008-03-24 03:03:21 +00:00
Johan Berntsson 39f340e687 XmlRpcCommand refactoring 2008-03-24 01:37:00 +00:00
Justin Clarke Casey da531fa9e1 * Start passing around a region server's http port in RegionInfo.
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default 
(9000) port.  
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision.  However if it does, the instability will persist until 
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
alondria 68d016517d Implements llGetParcelPrimOwners() 2008-03-23 18:15:08 +00:00
Teravus Ovares f82227a186 * Added a little more stability for getting the object list from the parcel box. (previously it crashed my simulator)
* Found and gracefully handled a few situations where null references occur.  (m_rootPart again!)
2008-03-23 07:10:04 +00:00
Teravus Ovares dc850df50a * Implements Oriented Bounding Box raytracing.
* It's not perfect, but it's good enough. (rarely erroneously returns a backface collision)
* After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
2008-03-23 06:24:59 +00:00
alondria 5deca3f0c5 Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList 2008-03-23 06:08:52 +00:00
Jeff Ames 0d43aaa337 Fix llParseString2List bug when separator is longer than 1 character. 2008-03-23 00:39:35 +00:00
Jeff Ames 9a2b289e32 Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch! 2008-03-22 23:52:48 +00:00
Jeff Ames 37121bcf72 Update svn properties. 2008-03-22 23:39:07 +00:00
mingchen 71ca162821 *Moved LandManagement into its own region module (spiffy!) 2008-03-22 23:10:22 +00:00
alondria 5ebef6410e Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). 2008-03-22 23:02:41 +00:00
Justin Clarke Casey 74023aa97c * Miscellaneous comment before I found out that mantis 807 probably isn't an issue worth fixing. 2008-03-22 22:17:35 +00:00
Justin Clarke Casey 170e1a8a09 * Make master UUID exception a bit more useful by telling us which uuid it was trying to look up 2008-03-22 21:19:45 +00:00
Justin Clarke Casey 61ae75f364 * Catch the occasional resolution exception that comes out of SceneCommunicationService.EnableChildAgents so we can see what hostname is failing 2008-03-22 20:44:15 +00:00
Justin Clarke Casey 6ce79a0f78 * Downgrade 'texture not found' message to DEBUG and stop putting out 'already dispatched' message completely temporarily
* I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it. 
* My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added...
* If this is the cause, resolution is going to be rather complicated.
2008-03-22 19:15:01 +00:00
Justin Clarke Casey 936f961a53 * Reducing spam on console so we only notify once if we're dropping repeated requests for missing textures
* Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22 18:30:54 +00:00
Justin Clarke Casey 625e8f7700 * Minor log message change 2008-03-22 17:56:05 +00:00
Justin Clarke Casey e211a3b00b * Tell the user what the new terrain commands format is if they try to execute a deprecated one
* As per CharlieO's suggestion in #806.  Thanks!
2008-03-22 10:09:09 +00:00
Teravus Ovares 7854f6f4a2 * Committing some math to discover the Oriented Bounding Box and decomposing it into planes and normals.
* No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-22 03:40:38 +00:00
Charles Krinke 2f3bb3b836 Remove a couple more compiler warnings by commenting unused variables.
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21 23:31:32 +00:00
alondria 6ac21141c6 Adds in +, -, and / operators for Rotations (and fixes Mantis 671) 2008-03-21 21:31:18 +00:00
alondria d3515bf22e Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails.... 2008-03-21 20:20:39 +00:00
Justin Clarke Casey be83ac37f9 * Small adjust to last commit's logging so we only print out one warning when we start dropping requests 2008-03-21 20:19:43 +00:00
alondria 181c5ab7d7 Implements llGetObjectDetails() 2008-03-21 20:04:52 +00:00
Justin Clarke Casey 45ea156804 * If a client session requests the same texture more than n times (currently n=5), we now drop the subsequent requests
* This may improve region memory usage
* This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it
* This treats the symptom rather than the cause.
* n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21 19:16:29 +00:00
alondria d76c6ee140 Implements llKey2Name(). 2008-03-21 18:45:09 +00:00
Charles Krinke 1e452dacf4 Comment out an unused 'str' and add a WriteLine to use
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21 17:06:31 +00:00
Charles Krinke 21e5e65bb7 Comment out "m_randomizeWater" and "ms" until we use them later. 2008-03-21 16:52:55 +00:00