aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-26Run-time script errors are now shown in-world. No line number though, might ↵Tedd Hansen4-42/+108
require script to be compiled with (slow) debug information.
2007-08-26Bugfix for last commit, { instead of (Tedd Hansen1-1/+1
2007-08-26Fixed bug that occurs sometimes on script unload where queued script event ↵Tedd Hansen2-41/+57
was attempted executed after AppDomain was unloaded.
2007-08-25Fixed error on shutdown caused by ThreadAbortException sending message ↵Tedd Hansen2-3/+3
through already disposed logger. Thanks ckrinke
2007-08-25Forgot mutex lock on List<> for timersTedd Hansen1-11/+15
2007-08-25Script compiler should now show error on correct line number in original ↵Tedd Hansen4-13/+16
LSL-script.
2007-08-25Applied dalien's libsl login patch (should now allow libsl clients to once ↵MW1-4/+4
again login to opensim) [Seems I was the one who broke it...sorry ]
2007-08-25Applied dalien's "show users" patchMW1-1/+1
2007-08-25oops , shouldn't have committed my local testing changesMW1-1/+0
2007-08-25Second attempt to commit : Test to see if this change improves or makes ↵MW1-1/+1
worse the texture sending bug
2007-08-25Removal of script that was unable to compile no longer crashes server.Tedd Hansen3-14/+45
Displays script compile error messages in-world.
2007-08-25Test to see if this change improves or makes worse the texture sending bugMW1-0/+2
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