Commit Graph

7674 Commits (16561bd5286a2c2f056ac61e15b63deaa486f8e1)

Author SHA1 Message Date
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
Teravus Ovares 19723767a9 * Adds the AuthbuyerID field to sqlite and makes use of it.
* Includes a more user-friendly way of adding it saying, 'Your land table was recently updated.  You need to restart the simulator.  Exiting'
2008-04-30 21:15:48 +00:00
Teravus Ovares b3f44fbb94 * Refactored the land table to be versionable in mySQL.
* Added AuthbuyerID so that if someone sets a land for sale to someone and then restarts the simulator, when the simulator comes back up, the setting persists.
2008-04-30 20:08:15 +00:00
Justin Clarke Casey 3508298ddf * Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder() 2008-04-30 20:04:06 +00:00
Justin Clarke Casey 3984a7fda1 * Resolve mantis 1068, 1095
* The resolution takes the form of not crashing the session if the folder the user is attempting to add already exists (e.g. there is one already with the same UUID).
* Printing out warnings instead
2008-04-30 19:55:45 +00:00
Justin Clarke Casey 8ed9e57896 * Add a scratch implementation of the new inventory fields to the mssql database adapter
* I don't use mssql so this may not work, corrections (in the form of patches) are welcome.
* Unlike mysql, mssql requires manual updating of existing tables here (which should mean just adding the new fields manually)
2008-04-30 19:28:36 +00:00
Justin Clarke Casey f57ff4c36b * Change new inventory groupID field to 36 rather than 63
* Add updated stub mssql inventory sql (only really because I was in the middle of this when I spotted the numeric transposition)
2008-04-30 19:13:06 +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
Sean Dague a9aee0162a add a bunch of properties for User Appearance 2008-04-30 18:55:58 +00:00
Sean Dague b2077b81eb The beginnings of a UserAppearance container 2008-04-30 18:20:28 +00:00
Justin Clarke Casey dbcd6112b9 * Actually enable the inventory upgrade sql if appropriate 2008-04-30 17:11:59 +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
Justin Clarke Casey eac3fd51f0 * Deal with a situation where the new fields in the inventory store are null on sqlite
* This is due to a preparatory change I made yesterday
2008-04-30 16:41:05 +00:00
Justin Clarke Casey f3b44deeee * Trivial sqlite inventory db log message change so I can pick out the messages more easily 2008-04-30 16:28:29 +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
Sean Dague dd96158afe move IUserService into the OpenSim.Framework.Communications assembly
because all the other I***Service interfaces are there.
2008-04-30 15:03:37 +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 faccbf4994 * Missed a file in previous commit. Sorry! 2008-04-29 18:00:25 +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
Justin Clarke Casey 41207b5fa0 * Preparatory work for autoupgrade of sqlite inventory tables in preparation for patches in mantis #923 2008-04-29 17:21:17 +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
Adam Frisby de2ff8e626 * Little more spring cleaning. 2008-04-29 14:10:26 +00:00
Adam Frisby 375163a6fe * Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-04-29 14:04:55 +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
Justin Clarke Casey 78ae258bb0 From: Dr Scofield <hud@zurich.ibm.com>
attached patch does a bit of reformatting and adds some more parameter 
checking to RemoteAdmin.
2008-04-28 14:08:38 +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