aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-24attempted fix for .NET issue with the databaseSean Dague1-6/+6
2007-08-24Scripts are now copied into a prim (ie new copy placed in the prim) rather ↵MW3-9/+34
than moved into there.
2007-08-24Updated sqlite3.dll to version 3.4.2MW2-0/+9
Fixed it so now when you move a script to a Prim or delete a script from a prim the change should show up in the prims inventory straight away (without having to close the edit window and reopen it). When linking prims, all parts except for the root part of the new group are removed from the physics engine, as currently we only really support root parts in the physics engine.
2007-08-23Add region to dbSean Dague1-48/+50
2007-08-23I think this fixes blob save/load issues (though I'm still not convinced this Sean Dague1-20/+26
will handle > 8k textures yet). Need MW to test to see if this gets rid of his issue. There is commented code left in here for now until we know it is fixed
2007-08-23Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen4-11/+2
2007-08-23Added RemovePrim method to the physics plugins interface.MW7-13/+54
Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
2007-08-23grouping of functions to make the overall logic easier to grasp for people,Sean Dague1-349/+394
and start to show how this can be super classed with some common elements.
2007-08-23fix typoSean Dague1-5/+1
2007-08-23Implemented Resize Method in OdePrim.MW3-8/+31
attached the links to that from SceneObject, so now resizing works (as much as resizing currently works in opensim, fixing resizing in general is on my todo list for today). Rotation of a root prim also now updates the physics engine. So think there really is only deleteprim left, then it should be usable (Different shapes (other than boxes that it currently uses) can wait a little bit longer). [of course there are still the other issues of ODE not really working when there is more than one region in a instance of opensim].
2007-08-23Added a PhysicsActor PhysActor member to SceneObjectPart, and made it so ↵MW3-11/+23
this is set when registering the prims with the physics engine. Position changes of the prim is now updated straight away to physic engine. (note at the moment, only root prim is registered with physics engine. Think we need to decide how we are going to manage child prims and physics.) As before this is all currently disabled (in scene.cs) until its in a bit more working condition.
2007-08-23Added danx0r's physics patch, although for now have disabled the lines in ↵MW4-2/+50
Scene.cs, as any changes to prims (like size or position changes) are only updated to the physics engine when you restart opensim. Also prims aren't deleted from the physics engine. These shouldn't be hard to fix.
2007-08-23More lsl functions (thanks to ldviopeng and wjordan!)Brian McBee1-9/+40
2007-08-22setup test tables function which lets us make sure that everythingSean Dague1-111/+28
we are going to ask for from the database is actually there. This will let us bail early with a useful error message, instead of late with a hard to understand one. Do some other cleanups to get rid of debug input I put in
2007-08-22Bit of refactoring of the sqlite storage code to build the Sean Dague1-50/+187
data definition in ado.net objects up front. This makes auto generating the sql commands work a lot more reliably.
2007-08-22Debug shows how many bytes (total) a script (assembly) uses after compile ↵Tedd Hansen1-4/+4
and load.
2007-08-22GC.GetTotalMemory(true) was blocking.Tedd Hansen4-12/+17
We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
2007-08-22Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen3-2/+8
empty objects crash.
2007-08-22Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a ↵MW10-2/+73
script in a primitive is deleted.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen8-141/+161
fired likewise. Bugfixes coming in next commit.
2007-08-22Added Scene.GetSceneObjectPart(uint localID)MW1-0/+17
2007-08-22Made SceneObjectGroup.GetChildPrim() public, for now so that script engine ↵MW7-20/+35
can get ref to the SceneObjectPart/ IScriptHost.
2007-08-22A little bit of cleaning up.MW4-7/+5
2007-08-22A case of 'while I was working someone set me up the bomb'.lbsa711-1/+2
2007-08-22* Added stub OnRezScript handler with plentiful of commentslbsa711-0/+11
2007-08-22added ParentPartID to TaskInventoryItem class to make it easier to store ↵MW1-4/+4
them in database.
2007-08-22Fixed typo.MW4-6/+6
2007-08-22Added forgotten file.MW3-5/+147
Made a change to the Scene.EventManager OnRezScript event, it now includes the itemID as a param. This uuid is unique to each instance of a script, so can be used for tracking changes/editing, stopping and deleting a script.
2007-08-22Start of Task Inventory (ie prim's inventory). For now, you can only move ↵MW9-57/+203
scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts.
2007-08-22Fix for un-encrypted master avatar password in user databaseBrian McBee1-1/+2
2007-08-21auto create sqlite database if it doesn't exist. This works, but needs someSean Dague1-85/+161
cleaning up prior to release. However this should make it easy for people to start using sqlite storage.
2007-08-21Added OnRezScript event to Scene.EventManager.Which the script engine should ↵MW9-2/+73
subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
2007-08-21Hopefully fixed the problem of users avatars not always showing up when ↵MW2-6/+19
either you or another user has crossed from one region to another. (however a avatar's appearance isn't kept across regions, but we need to add that to inter-regions communications so for now people will have to put up with some other user's avatars appearing as the bald(ish) fat man
2007-08-21Old group is now deleted from datastore when you link groups/prims, so that ↵MW2-3/+2
the new group can be stored correctly.
2007-08-21Think linking prims should now work correctly (if its not then please ↵MW1-1/+2
someone let me know) and the rotations are kept. [Now just need to fix the editing (rotation and position) of individual prims of a group]
2007-08-21A bit more work on prim building related code. Think most of the building ↵MW2-8/+7
tools are now connected up and its now just a case of doing some bug fixing.
2007-08-21Shift and Drag copying should now work correctly. [This was one of those ↵MW6-18/+60
stupid little one line bugs that was so much fun to track down that I decided to spend a few hours on it) Linking groups should now work better than it did, but still a bit of work to do on getting the rotations of all the parts after linking right. Added part of dalien's #301 patch (xml loading/saving related parts with some small changes)
2007-08-21Can now turn on/off server side permission checking (on prim editing etc) ↵MW12-275/+378
from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts.
2007-08-20Added Property to SceneObjectGroup to allow the UUID of the region it is in ↵MW1-0/+10
to be read.
2007-08-20The regionUUID is now being passed to the datastore calls.MW9-34/+65
2007-08-20Instant Messages between users in the same region should actually now work.MW11-55/+38
2007-08-20Some minor changes + krinkec's updates to ll* functions.Tedd Hansen3-11/+68
2007-08-19Added "StopScriot()" to ScriptManager. Stops Executor from executing events ↵Tedd Hansen2-34/+53
in script, removes script from EventQueueManagers target list, tells AppDomainManager that script is no longer active (and ready for unload).
2007-08-19small clean up.MW7-14/+44
2007-08-19Sqlite datastore should now save the textures and extraparams data (used by ↵MW17-120/+537
sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already]. Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think). Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups). Some preliminary work on task inventory (ie object's/prim's inventory). Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work). Added a few more method to IClientAPI. Sure there is something I'm forgeting.
2007-08-19Code comments on recent changes in EventQueueManagerTedd Hansen2-12/+48
2007-08-19Sped up EventQueueManager response time (scripts now respond quickly). Added ↵Tedd Hansen1-39/+117
support for multiple threads executing events on objects, but only one thread on one script at the time (to utilize MultiCore/hyperthreading CPU's).
2007-08-19Added event method invoke cache to Executor. "Bind once, Invoke multiple ↵Tedd Hansen3-39/+70
times". Will speed up script event execution considerable. But at the cost of some memory (will be optimized later with RuntimeXHandle).
2007-08-19Moved script loading from ScriptManager to AppDomainManager. Now increases ↵Tedd Hansen2-33/+36
scripts loaded count in AppDomain properly.
2007-08-19More prep work for adding prims to ODE physicsBrian McBee4-33/+96