Commit Graph

4363 Commits (39eb39c0d5a86ef2f4cb3375be86eb978b03d2e9)

Author SHA1 Message Date
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
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 a4b2dc6050 * Adds mjm's llQuaternion.GetBytes() patch to our copy of libsecondlife. (it's already in the later revisions of libsecondlife but we hadn't picked it up. 2008-04-26 05:16:32 +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