Commit Graph

6239 Commits (6a863311f77a12526d042b6874b9a5e276d5be38)

Author SHA1 Message Date
Charles Krinke 6a863311f7 Mantis#2287. Thank you kindly, Idb for a patch that solves:
The current llGetLinkName returns an empty string if a prim 
with the given link number is not found in the link set. In 
SL an empty string is only returned if the prim name is actually 
blank, a NULL_KEY is returned instead with a couple of exceptions.
2008-09-28 01:12:57 +00:00
Teravus Ovares 4f0c759fb0 * With EventQueueGet enabled.. we can see into neighbor regions again on the Security 'fixed' client.. But don't try to cross yet! 2008-09-27 23:54:08 +00:00
Teravus Ovares 21bf26e9b4 * Adds flag to enable/disable EventQueueGet.
* If EventQueueGet is enabled, use that instead of a few UDP packets, if it's disabled use the UDP packets like normal.
* We *really* suggest users do not turn on EventQueueGet yet..  as it's highly experimental, broken, and resource intensive
* Updated OpenSim.ini.example
* Testers of EventQueueGet..   in OpenSim.ini, it's in the [Startup] Section..   change EventQueue = false, to EventQueue = true.
2008-09-27 23:06:28 +00:00
Teravus Ovares 07b32c9320 * Replace a generic error handler. 2008-09-27 22:06:51 +00:00
Teravus Ovares 98632ee594 * Event queue is now polling..
* returns FAKEEVENT instead of the connection returning a 502.   It doesn't like our 502's for some reason..  so, in leau of this..    send it a fake event.
* Once again, this is still 'really early' code, so please don't blame us if you have no more threads left.
2008-09-27 22:05:36 +00:00
Homer Horwitz 0e10c85617 Continue working on the new EventQueueGetModule. Not finished (or even working)
yet. This shouldn't break anything, but is work in progress, so be careful.
Contains a new file; do your runprebuilds.
2008-09-27 18:33:54 +00:00
Homer Horwitz 358bc41b03 - adding Dequeue with a timeout to the BlockingQueue 2008-09-27 18:29:17 +00:00
Melanie Thielker c0b60bb8cf Stop DNE saying "Loading script" when it's actually unloading. 2008-09-27 14:19:03 +00:00
Teravus Ovares 85b280385f * This is the very very early beginnings of an EventQueue:get module.
* This won't function yet as far as the client can tell..  because it doesn't respond to the first query with a 200 message.   
* We have to figure out how to encode those binary values in the example code in the module...  
* Committing this so we have a start point.  Will continue to work on this more today.
2008-09-27 09:42:31 +00:00
Melanie Thielker 1f8888a287 Update unit tests 2008-09-27 05:58:52 +00:00
Melanie Thielker 85068dae60 Add friendly error messages to both engines. 2008-09-27 05:31:43 +00:00
Melanie Thielker ec16750a87 Mantis #2277
Patch up a type name change in libomv. Thanks for tracking that down, idb
2008-09-26 23:38:59 +00:00
Melanie Thielker 5a9bb2eafb And actually do what I intended to do with the last commit. Message is gone. 2008-09-26 20:44:41 +00:00
Melanie Thielker b416422349 Kill "Compile successful" message when rezzing prims/wearing attachments
Changes behavior to send on_rez event to prims when rezzed from agent
inventory.
2008-09-26 20:18:31 +00:00
Melanie Thielker 415520cea6 Fix listeners in multi-region instances 2008-09-26 20:12:11 +00:00
Melanie Thielker 54ef88c12c Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage() 2008-09-26 18:40:16 +00:00
Melanie Thielker 698ecec6f7 Remove another interface that is no longer needed 2008-09-26 18:37:53 +00:00
Melanie Thielker 4a69791875 Add "Notecard saved" message to saves of notecards into prims 2008-09-26 18:16:13 +00:00
Melanie Thielker e5db6a75d0 Finishing the code cleanup in DNE, make llDie work again in DNE.
Add some compile messages from XEngine into DNE as well.
2008-09-26 17:59:36 +00:00
Teravus Ovares 16b6738cda * Patch from JHurliman
* Updates to libomv r2243, 
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman. 
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Melanie Thielker 34cfd710ce DNE code cleanups 2008-09-26 17:01:33 +00:00
Melanie Thielker e8d1235e91 Adds support for the "Running" checkbox and the "Reset" button, as well as
ResetScripts In Selection, Set Script to [not] Running In Selection from
the tools menu. Allows DNE script reset without a full recompile.
2008-09-26 16:37:29 +00:00
Melanie Thielker 6e9d7484d0 Pluggable API module (XEngine style) support for DNE 2008-09-26 16:19:50 +00:00
Melanie Thielker d8c470343e Compiler Connection! One world, one compiler! 2008-09-26 16:11:53 +00:00
Melanie Thielker 0313a1d439 After the last commit, the old Common assembly was still being loaded.
Removing it made DNE scripts crash. Fixed here.
Now on to converge the compilers.
2008-09-26 15:44:14 +00:00
Melanie Thielker 12a6b7c835 Yay! Common/ is gone! One API is achieved! 2008-09-26 15:34:23 +00:00
Justin Clarke Casey 055ea73b57 * minor: fix lolbug in RestInventoryService spotted by jhurliman 2008-09-26 15:29:30 +00:00
Justin Clarke Casey 97323345ee * minor: remove warnings 2008-09-26 15:28:14 +00:00
Justin Clarke Casey 4b78aa50e6 * Apply http://opensimulator.org/mantis/view.php?id=2274
* Reapply homer's click action implementation, which accidentally got blatted
* Thanks tyre
2008-09-26 15:18:22 +00:00
Justin Clarke Casey 1278563482 * refactor: do a tiny bit of cleanup 2008-09-26 15:15:19 +00:00
Melanie Thielker 24628928c3 Add per-instance date to DNE to avoid serializing stuff 10 times a second.
Clode cleanup and removal of commented stuff in ScriptManager.
2008-09-26 15:01:03 +00:00
Justin Clarke Casey 77eac708fa * refactor: split out AssetXferUploader 2008-09-26 15:01:01 +00:00
Justin Clarke Casey 1f53099136 * refactor: split out AgentAssetTransactionsManager 2008-09-26 14:41:57 +00:00
Justin Clarke Casey 7ee1f3dff6 * Implment task inventory item asset update for the old non CAPS transaction system
* This means that saving notecards in prim inventories should now work.
* Not the nicest code in the world - the transactions system is pretty fugly right now
* PLEASE NOTE: Currently, the prim will not repersist until up to 15 seconds after it is unselected.
* What we really need is a proper mechanism so that any prim updates still waiting when the simulator is quit are performed before exit.
2008-09-26 14:28:24 +00:00
Melanie Thielker 9c26c8c8da And another file 2008-09-26 13:46:46 +00:00
Melanie Thielker b2d60ef91d Pushing the missing file 2008-09-26 13:41:20 +00:00
Melanie Thielker 824283ca3c Remove all the subclassing complexity and script server interfaces from
DNE and move all of DNE into the DotNetEngine directory. Remove references
that would cause the script runtime to load the entire engine + scene into
each script appdomain. This might help DNE memory consumption.
2008-09-26 13:16:11 +00:00
Teravus Ovares 6b13730bc7 * Wind updates. Still random.. but in 4 directions instead of two!
* It seems kind of silly to be building a 256x256 array just to use two 16 float blocks..  but for now the layerdata routine requires it so we'll go along with that.
* We only fill a 32x16 area of the 256x256 float array with data.
* We use patches 0,0 and 0,1 for the first and second patch to determine the direction and magnitude of the wind.
2008-09-26 12:56:17 +00:00
Melanie Thielker 92ebbd1420 Remove interfaces that are no longer used from DNE 2008-09-26 12:04:16 +00:00
Teravus Ovares f36fab7e33 * Update the bamboo build to not copy the custom libode.so out of my home directory on the server.. as it's no longer there. 2008-09-26 08:35:21 +00:00
Melanie Thielker b65d2139c8 Bringing the OSSLPrim back. Prim.Rotation, etc, will now work again.
As a bonus, the OSSLPrim has now come to XEngine, too!
2008-09-26 03:04:36 +00:00
Melanie Thielker c21a8b9969 Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.
The binaries are still different, but that is only a small step away now.
The OSSLPrim has been removed. This commit will breal all scripts
using Prim.Scale(), etc, syntax. It was not secure and will have to
be brought back in another form.
2008-09-26 02:51:00 +00:00
Charles Krinke 33add28b51 Mantis#2265. Thank you kindly, Idb for a patch that:
Implements the LSL function llGetAttached().
2008-09-26 01:49:06 +00:00
Homer Horwitz 91e0369f83 Implement LSL-function llSetClickAction. 2008-09-25 20:37:56 +00:00
Melanie Thielker c713dcbada Some script engine interface changes 2008-09-25 20:04:59 +00:00
Melanie Thielker c58473456a Sample ini update 2008-09-25 19:34:34 +00:00
Homer Horwitz 0e6237739a Implement LSL-function llGetRegionAgentCount. 2008-09-25 19:02:14 +00:00
Melanie Thielker f926d917cb Fix script engine name parsing for DotNetEngine to make that actually work
Add a reference for Windows builds
2008-09-25 17:54:44 +00:00
Melanie Thielker f11107821e Add an extension to allow registering multiple interfaces of a type with
Scene. Make the script engines check that the engine name in the
//Engine:language comment is a valid engine and treat it as a normal
comment if it's not.
//DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since
that is it's real internal name. //XEngine: still works
2008-09-25 17:26:32 +00:00
Charles Krinke 339671afc6 Mantis#2017. Thank you kindly, Tyre, for a patch that solves:
Check the client dialog box (from top menu) WORLD / REGION ESTATE 
/ REGION tab. The client dialog box seems to have a hard limit of 
about 32 characters per line available for displaying the region 
version number. Our regions are sending a string which is greater 
than the limit, causing the client to wrap the text and look ugly.
2008-09-25 14:57:40 +00:00