aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-25testing Tedds temporary CIA-standinTedd Hansen1-1/+0
2007-08-25testing Tedds temporary CIA-standinTedd Hansen1-0/+1
2007-08-25Added class for "long commands" (command that returns as event) with ↵Tedd Hansen9-77/+259
dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
2007-08-25Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen7-60/+190
InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
2007-08-25Hopefully fixed the bugs in primitives rotation editingMW3-6/+9
2007-08-25updated to include saving of object flags.Sean Dague2-9/+17
People will need to blow away their databases after this point.
2007-08-24Set some default values for "create user" in case anyone just pressing ↵MW1-4/+4
return as the answer to some of the settings.
2007-08-24Now also enabled Inventory persistence in standalone mode when account ↵MW1-0/+4
Authentication is turned off.
2007-08-24add some better verbose statements to get a better feel for what is goingSean Dague1-6/+14
on in the data paths
2007-08-24Hopefully fixed the issue of inventory not working for the master account. ↵MW2-22/+30
(Note you will need to delete userprofile.yap for this to take effect.)
2007-08-24Small bit of refactoring to the startup command script code (moved it into a ↵MW2-19/+29
separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc.
2007-08-24it helps to actually call TestTables to get the new tables createdSean Dague1-0/+2
2007-08-24updated SQLite Inventory to newer model data definition,Sean Dague1-485/+644
and add automatic generating of the inventory table
2007-08-24Fixed a problem where some prims didn't show up when you crossed or ↵MW1-0/+3
teleported into another region.
2007-08-24Added temporary fix for the sqlite datastore exception in windows .Net, ↵MW1-2/+11
Added a Try catch block around "shapeDa.Fill(ds.Tables["primshapes"]);" line. Seems if the database file is empty (ie opensim has just created it or nothing has been stored in it yet.) then the exception will be fired and catch, then opensim can continue and have no problems (it will still save prims fine), then on next restart if the database file has entries in it, the exception will no longer be thrown.
2007-08-24Had "using OpenSim.Physics.Manager;" defined twice in SceneObjectGroup.cs, ↵MW1-1/+0
so removed one of them.
2007-08-24Hopefully fixed mantis bug #318 (exception when a prim moves across a ↵MW2-3/+24
border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon).
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