Charles Krinke
9a0ef22ed9
Mantis#1616. Applied Melanie's patch. This may or may
...
not break trunk.
2008-06-28 16:08:12 +00:00
Dr Scofield
55a4cf33a3
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Patch to fix the passed parms and properly show llTakeCamera and
llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
2008-06-28 07:30:49 +00:00
Teravus Ovares
ec7110f2cf
* Melanie adds the event manager back to the XEngine so all yr events are hers, I mean, fire.
2008-06-28 03:45:52 +00:00
Dr Scofield
748f72326d
last round of warning squashing. calling it a day now.
2008-06-27 23:03:39 +00:00
Charles Krinke
1646f42a80
Mantis#1615. Thank you, Matth for a patch that:
...
causes deprecated LSL functions to throw the deprecated
exception rather than not-implemented.
2008-06-27 19:13:42 +00:00
Justin Clarke Casey
9bf67201c3
* Remove responsibilty for signalling scene object change from SceneObjectPart.SendFullUpdate()
...
* This means that we will no longer pointlessly repersist all the prims in the scene when OpenSim first starts up
* This also means that force-update on the console will not trigger repersistence.
* Also, in other places persistence is no longer done where it wasn't actually necessary
* I think I changed the code for all instances correctly, but it's not possible that I missed some and some things which did persist properly have stopped
* Please patch or mantis if this is the case
2008-06-27 16:36:19 +00:00
Charles Krinke
3697e0898c
Mantis#1612. Thank you, kindly, Matth for a patch that:
...
Adds the beginnints of llRemoteLoadScriptPin() and
llSetRemoteScriptAccessPin().
2008-06-27 02:22:33 +00:00
Charles Krinke
176efe3f06
Mantis#1610. Thank you, Melanie for a patch that:
...
Implements the beginning of llInventoryDrop. Doesn't cover
the actual dropping yet, just the permissions for it.
2008-06-26 23:37:21 +00:00
Charles Krinke
6d5d911f3f
Mantis#1600. Thank you, Melanie for a patch that:
...
Fixes persistence of variable values to address
broken persistence in the big refactor.
2008-06-26 13:49:11 +00:00
Charles Krinke
cf00df106d
Mantis#1602. Thank you, Kinoc for a patch to:
...
Patch to activate YieldProlog on Xengine.
Only adds YieldProlog to assembly if required.
2008-06-26 13:42:18 +00:00
Charles Krinke
1cd6b71b60
Mantis#1594. Thank you, Melanie for a patch that:
...
Fixes:
- Wearable icon and name sreset to default on copy/paste
- Cache is not updated when renaming/moving folders
- Partial refactor to make inventory less dependen on AssetBase having a "Name" field
- Add llGiveInventoryList() function
2008-06-26 02:46:29 +00:00
Jeff Ames
a2b1a1787d
Minor formatting cleanup.
2008-06-25 14:30:28 +00:00
Jeff Ames
52a18954bb
Update svn properties. Add copyright notices.
2008-06-25 13:19:42 +00:00
lbsa71
903dbcadd0
* Deleted some genned files
2008-06-25 07:25:54 +00:00
Charles Krinke
c7edabd2d3
Mantis#1590. Thank you kindly, Melanie for a patch that:
...
Makes items appear in the item type folder, rather than in the root
2008-06-25 01:24:00 +00:00
Charles Krinke
f6bf4c39be
Mantis#1587. Thank you kindly, Melanie for a patch that:
...
Add permissions magling to llGiveInventoryItem,
correct some corner case functionality
2008-06-24 23:55:33 +00:00
Charles Krinke
dc0d089bf5
Mantis#5189. Thank you kindly, Matth for your patch
...
to add the beginnings of llGiveInventory().
2008-06-24 21:23:28 +00:00
lbsa71
6b7930104b
* Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, api and compiler out of XEngine"
...
"First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done."
Thank you, Melanie!
2008-06-24 21:09:49 +00:00
Justin Clarke Casey
de24380233
* Remove all use of asset.InvType, as outlined in mailing list discussion
...
* This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
2008-06-23 18:01:58 +00:00
Charles Krinke
d976ee477b
Mantis#1573. Thank you kindly, Mikem for a patch to our
...
LSL subroutine implementation to solve an infinite loop
in llParseString2List() under certain circumstances.
2008-06-20 00:00:09 +00:00
Jeff Ames
a728417eda
Minor formatting cleanup.
2008-06-18 03:50:39 +00:00
Justin Clarke Casey
ea52e71205
* minor: Remove LINK_SET debug Console Writeline
...
* only appeared in DotNetEngine's LSL_BuildIn_Commands.cs
* Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548 )
2008-06-13 17:11:33 +00:00
Charles Krinke
3b4c2c1ff1
A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.cs
...
and its copy LSL_ScriptCommands.cs
2008-06-13 01:54:53 +00:00
Jeff Ames
64f01ade04
Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers.
2008-06-13 00:21:53 +00:00
mingchen
0896cb53d4
*Parcel Prim Count Maximums moved to their own functions so modules can override the default method of calculating how many prims a parcel can have.
2008-06-11 17:31:43 +00:00
Charles Krinke
9b43668bf3
Mantis#1529. Thank you kindly, Grumly57 for a patch to
...
xengine to:
Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
2008-06-10 22:41:39 +00:00
Jeff Ames
5910a49da6
Update svn properties. Formatting cleanup.
2008-06-10 08:35:46 +00:00
Jeff Ames
dfb63b5623
Update svn properties. Formatting cleanup.
2008-06-09 08:46:33 +00:00
Charles Krinke
0d07cf9ddd
Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
...
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-09 01:06:59 +00:00
Teravus Ovares
6ecb7c05b3
* Fixed it so you can do a lot more llDetected* methods in many additional situations and have it work.
...
* script Collision reporting works now in DotNetEngine
2008-06-08 22:53:52 +00:00
Teravus Ovares
c53892aa90
* Added compiler pre-processor, #if SPAM to SensorRepeat... so if you really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
2008-06-08 21:15:44 +00:00
Teravus Ovares
524998ba3e
* Fixes llDetectedKey.
2008-06-08 19:54:49 +00:00
Charles Krinke
de11c09794
Mantis#1498. Thank you Melanie for an XEngine patch that addresses:
...
The attatched patch makes the changed() event fire properly and
lets scripts run properly.
NOTE: All existing state files must be deleted:
rm ScriptEngines/*/*.state
2008-06-08 14:51:59 +00:00
Charles Krinke
0e5f2b3293
Mantis#1496. Thank you kindly, Melanie for a patch that:
...
Adds full implementation of all llDetected* functions for sensors,
collisions and touches. Adds changed(CHANGED_REGION_RESTART) event
to allow restarting of eye-candy functionality not currently
persisted with the prim.
2008-06-07 22:37:48 +00:00
Adam Johnson
990225a4ba
Patch for mantis#1493: Several patches to xengine. Thanks Melanie!
2008-06-07 17:43:07 +00:00
Charles Krinke
2b83aa931c
Mantis#1476. Thank you kindly, Melanie for a patch that:
...
0001476: [PATCH] Allow larger script state files to be loaded
The previous limitation on load file size was too small for
larger script projects
2008-06-07 15:46:43 +00:00
Charles Krinke
80079e14e3
Mantis#1475. Thank you kindly, Kinoc for a patch that:
...
This patch brings the Yield Prolog in sync with the YP r669.
Biggest item is support for functions asserta and assertz ,
providing dynamic databases.
2008-06-07 15:43:16 +00:00
Teravus Ovares
bd2361ae33
* llSetPrimitiveParams PRIM_FLEXIBLE is now supported.
2008-06-06 22:44:48 +00:00
Teravus Ovares
8c507b633b
* Added Light control from script in LLSetPrimitiveParams.
2008-06-06 22:28:52 +00:00
Teravus Ovares
ed41ba8a3d
* Added a configuration option for allowing god script lsl methods.. such as llSetObjectPermMask. By default it's off.
2008-06-06 21:39:42 +00:00
Teravus Ovares
be44969927
* Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim.
2008-06-06 19:58:39 +00:00
Jeff Ames
fbd37c420f
Minor formatting cleanup.
2008-06-06 01:19:15 +00:00
Charles Krinke
d66de83938
Mantis#1459. Thank you kindly, CMickeyb for a patch that:
...
the function that reports errors in event handling is not computing the
line numbers correctly for windows paths (and probably linux paths).
As a result, the conversion to int throws an exception.
note... i'm not sure why we extract the line number, convert it to an int,
then convert it back to a string... but hey... :-)
2008-06-05 19:30:35 +00:00
lbsa71
901b9365ba
* Applied 9085B_[5004]_xengine_abort_regression.patch from #1437
...
Thank you, Melanie. And Thank you ckrinke. Bigups!
2008-06-05 14:31:07 +00:00
Charles Krinke
3b764dd34f
Mantis#1438. Thank you kindly, Melanie for a patch that:
...
This patch implements the llLoopSound patch from Xantor for the XEngine
2008-06-05 14:22:53 +00:00
Charles Krinke
dab3a53920
Mantis#1437. Patch 3 of 4. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:18:53 +00:00
Charles Krinke
bbabd68c7c
Mantis#1437. Patch 2 of 4. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:17:22 +00:00
Charles Krinke
e3c14e9b24
Mantis#1437. Patch one of four. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:15:15 +00:00
Charles Krinke
3a4b54adaa
Mantis#1451. Thank you kindly, Mikem for a patch that addresses:
...
LSL scripts in which a float type is cast to a string or a string type
is cast to a float do not compile. When the script is translated from
LSL to C#, the LSL float type is translated into double. There is no
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also
added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-05 13:54:20 +00:00
Teravus Ovares
e12baa5eb3
* This sends collision events to the script engine.
...
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-06-05 13:24:59 +00:00
Charles Krinke
994932bb60
Mantis#1447. Thank you kindly, Kinoc for a patch that:
...
llKey2Name fix to show avatar name instead of "Basic Entity"
One line fix. Replaces "presence.Name" =>
"presence.ControllingClient.Name" to return avatar's name.
2008-06-04 14:47:12 +00:00
Charles Krinke
687090f79a
Mantis#1441. Thank you kindly, Kinoc for a patch that:
...
This patch adds the prolog interperter helper object ONLY for YP code,
and not every script compiled.
Mirrors the other languages like JS and VB more closely.
2008-06-04 14:40:17 +00:00
Charles Krinke
e75cccec76
Mantis#1440. Thank you kindly, Melanie for a patch that
...
"Hooks up the plumbing from previous patch"
2008-06-04 14:37:16 +00:00
MW
964ce083ff
applied patch from mantis #1268 , thanks mikem
2008-06-04 12:16:26 +00:00
Jeff Ames
4ec4e16c80
Formatting cleanup, minor refactoring, svn properties.
2008-06-04 09:59:27 +00:00
Sean Dague
7f6fcdc77b
remove the prolog parser from all LSL/C# scripts (it was adding overhead
...
to every script in most environments). This will break prolog
support. Prolog code needs to generate it's template script more like
how javascript does.
2008-06-02 20:27:40 +00:00
Jeff Ames
d22a54a195
Update svn properties.
2008-06-01 03:01:33 +00:00
lbsa71
7f9967d310
* Enabled the Yield Prolog Script Engine
2008-05-31 18:47:26 +00:00
Justin Clarke Casey
5873ad3760
* minor: Add copyright statement
2008-05-31 18:43:19 +00:00
Justin Clarke Casey
6e5b416d14
* Remove rogue ? to get things compiling again
2008-05-31 18:36:45 +00:00
Charles Krinke
25b7d9944d
Mantis#1314. Thank you kindly, Kinoc for YieldProlog.
...
I have added everything *except* the patch to
.../LSL/Compiler.cs. The Compiler.cs patch has a
namespace issue. Lets make a second patch to close
the gap.
2008-05-31 17:52:44 +00:00
Charles Krinke
f2f183b307
Mantis#1425. Thank you kindly, Melanie for a patch that:
...
0001425: [PATCH] Correct llResetOtherScript() behavoir in XEngine
2008-05-31 00:45:37 +00:00
Charles Krinke
84b4158205
Mantis#1422. Thank you kindly, Xantor for your llLoopSound()
...
patch and I apologize for my confusion with the interim
patch earlier.
2008-05-30 16:37:17 +00:00
Charles Krinke
48d0084e53
Mantis#1422. Thank you kindly, Xantor for a patch that :
...
- volume doesn't change with a new llLoopSound(same sound, new volume);
- SendFullUpdateToClients sends 0's in all sound related fields when
there's no sound on the prim, thereby improving the amount of data being
sent out on these prims (fixes zeropack)
- Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30 15:34:54 +00:00
Teravus Ovares
1a47ff8094
* This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active.
2008-05-30 12:27:06 +00:00
Jeff Ames
0462510956
Update svn properties. Formatting cleanup.
2008-05-30 08:35:57 +00:00
Dr Scofield
5b0d47dddb
thanks krtaylor for a
...
Patch to cleanup some incorrect parsing, boundry conditions
and error checking in the llGetNotecardLine and
llGetNumberOfNotecardLines functions.
2008-05-30 07:38:45 +00:00
Teravus Ovares
83bd85ce7f
* Fix string literal with URL + LLcommand();
...
* Added 'detected around: value' when a x.Y detect occurs to help debug.
* Fixed object text is too long to store to the database (wikilith)
2008-05-29 16:21:41 +00:00
Charles Krinke
a84456c239
Mantis#1411. Thank you kindly for Dataserver.cs and a patch
...
that adds function stub to request region info by name and
adds llRequestSimulatorData() and the dataserver event
2008-05-29 13:55:02 +00:00
Charles Krinke
91b75eda85
Mantis#852. Thank you kindly, cmickeyb for a patch that:
...
There appears to be a problem with the mapping of scripts when an llHTTPRequest completes.
CheckHttpRequests() looks for a function that maps to the localID associated with the http
request. However, the only context in which it looks is that of the first region. That is,
m_CmdManager.m_ScriptEngine.m_ScriptManager is the same no matter where the script executed
that initiated the llHTTPRequest. Since scripts appear to be loaded into a region specific
scriptmanager on startup, the event handler is only found for requests coming from the first region.
2008-05-29 13:42:29 +00:00
Sean Dague
b0be8075cd
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is an initial implementation of llGetNotecardLine and
llGetNumberOfNotecardLines. I decided to go ahead an send these out for
comment while I continue to work on the second part of the proper
implementation. These functions work and return the values requested, as
initially defined in the code, but should be properly implemented to return
the requested information via a dataserver event. This
event will be added and these functions fixed and included in a second
patch shortly.
2008-05-28 21:43:41 +00:00
Charles Krinke
06147d0492
Mantis#1406. Thank you kindly, Xantor for a patch that:
...
llLoopSound sends out one packet to clients in view, so it doesn't work anymore
when clients enter later on, or the prim is modified in any way.
Solution: Stored sound data on prim, send full update instead.
llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object
inventory sound names. llStopSound clears prim data and sends full update.
2008-05-28 14:03:08 +00:00
Jeff Ames
5752c1f5c2
Formatting cleanup.
2008-05-28 03:44:49 +00:00
Charles Krinke
6d51eef9ce
Thank you, Grumly57 kindly for:
...
This patch proposes a new function : osOpenRemoteDataChannel(key channeID)
that allow to open an XMLRPC channel for remote_data event. The difference
is that the channelID can be customized instead of being randomly generated.
2008-05-28 02:06:56 +00:00
Teravus Ovares
fb1c7e62d2
* Resolves comment removal in string literals in the LSL2CSConverter
2008-05-28 01:47:33 +00:00
Sean Dague
46d91df2a8
another take on the whole string cleansing, by adding specific poison
...
keywords in foo.bar strings. Add items to the poison array to block them.
2008-05-27 22:25:14 +00:00
Teravus Ovares
1487699045
* Revert last commit as it opens sim owners up to all sorts of nasty scripts.
...
* If the regex that we're using isn't good enough, we really need to make it better.
2008-05-27 19:07:57 +00:00
Sean Dague
e436120d60
comment out the x.y security check in the script engine because it's so aggressive
...
it blocks string = "http://osgrid.org ", amoung other things.
2008-05-27 18:40:49 +00:00
Dr Scofield
30a9469757
disabling m_log again.
2008-05-26 15:53:04 +00:00
Dr Scofield
1bb1d5d9b0
This cleans up a merge mess from the earlier checkin and implements llOwnerSay()
...
via the newly created Scene.SimBroadcast() call.
2008-05-26 15:37:31 +00:00
Jeff Ames
5d77625e9a
Update svn properties. Formatting cleanup.
2008-05-25 23:27:38 +00:00
Teravus Ovares
c20f7d6171
* A hacky Top Scripts display. It isn't accurate as far as ms accounting, however you can use it to help find out what scripts are causing your simulator to cry.
...
* Access it from the Estate tools/Debug tab.
2008-05-25 20:50:45 +00:00
Charles Krinke
83bfd29af8
Thank you very much, Xantor for a patch that:
...
Copying, reseting, dragging scripts cause unnecessary recompilation,
slowing down the simulator and filling up the ScriptEngines directory
with compiled .dll and misc. files.
This patch keeps track of compiled assets since the last simulator restarts,
and only recompiles new assets. (editing a script generates a new asset,
so no problems there).
2008-05-25 19:26:21 +00:00
Justin Clarke Casey
0ee69707ea
* Refactor: Collapse some multiple remove object paths
...
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-24 23:11:07 +00:00
Adam Johnson
336c761ba0
Mantis 1357 Patch - Thanks mikem!
2008-05-22 12:07:47 +00:00
Jeff Ames
6ec680918b
Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null.
2008-05-18 23:06:50 +00:00
Tedd Hansen
aa5b26a4d3
Cleanup: Removed LSOEngine source again as it will not be used.
2008-05-18 14:10:51 +00:00
Adam Frisby
c22b388f83
* Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.
2008-05-18 10:23:31 +00:00
Teravus Ovares
74fb5e1a94
* whoops, misplaced / where should have been \
2008-05-17 18:48:06 +00:00
Teravus Ovares
6bcb0e8685
* Update on the script engine LSL parser. Blocks all static objects and method references.
2008-05-17 18:37:51 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Charles Krinke
e25818d832
Thank you very much, mjm for :
...
Fixing LSL multiplication and division operators for quaternions
2008-05-16 00:56:55 +00:00
Teravus Ovares
bbaf2fe75e
Committing Xantor's LLEuler3Rot still broken fix patch. Mantis 001235. Thanks Xantor!
2008-05-15 19:36:13 +00:00
Justin Clarke Casey
74b5f6b14a
From: Dr Schofield <hud@zurich.ibm.com>
...
* small patch that fixes a compiler warning (struct comparison against
null again, my favourites) in LSL_BuiltIn_Commands. LSL_Types.key has a
Boolean operator that can be used here.
2008-05-14 20:03:40 +00:00
Justin Clarke Casey
d104b75116
From: Kurt Taylor <krtaylor@us.ibm.com>
...
More scipt engine cleanup - removed not needed or improper use of NotImplemented and Console.WriteLine
2008-05-14 11:42:09 +00:00
Teravus Ovares
39eb39c0d5
Applied Patch mantis 1220. Implements llGetStartParameter. Thanks!
2008-05-14 05:43:21 +00:00
Jeff Ames
6a1b787436
More formatting cleanup.
2008-05-14 05:33:32 +00:00
Jeff Ames
c995d60d37
Formatting cleanup.
2008-05-14 05:11:23 +00:00
Teravus Ovares
8fd0378ae6
* Removed 19 warnings
2008-05-14 04:06:33 +00:00
Teravus Ovares
3c7e6b0c1e
* Tweaked a regex that was returning invalid results in some cases.
2008-05-13 23:19:18 +00:00
Justin Clarke Casey
3025dafa92
* Refactor: Stop exposing the inner scene's ScenePresence dictionary directly to the world
2008-05-13 18:25:15 +00:00
mingchen
32785921d0
*Complete redo of the permissions module
...
*Removed hardcoded permissions checks
*Added permissions checks where needed
2008-05-13 16:22:57 +00:00
Jeff Ames
2382342c65
Formatting cleanup.
2008-05-12 01:23:03 +00:00
Teravus Ovares
a01b415d6c
0001199: [PATCH] Add support for default animations
...
From Melanie... Thanks Melanie!
.
2008-05-11 21:27:12 +00:00
Teravus Ovares
efc680f45b
* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.
...
* Fixes Mantis: #1045
2008-05-11 12:01:12 +00:00
Justin Clarke Casey
893d40639c
* Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - merely corrects the signature so that "not implemented" message is displayed rather than a script
...
compile failure
2008-05-09 22:45:40 +00:00
Justin Clarke Casey
d9dffc4a9a
From: Michael Osias <mosias@us.ibm.com>
...
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
2008-05-09 17:23:27 +00:00
Charles Krinke
74df815630
Thank you, Melanie for a patch that helps conversion
...
from a string to a vector in OSSL.
2008-05-09 03:23:52 +00:00
Charles Krinke
6ce00ce460
Thank you, Melanie for a patch that:
...
Patch fixes the pesky "Cannot implicitly convert to bool" issue for function returns
2008-05-09 03:20:29 +00:00
mingchen
6c71a04da8
*Added all the permission checks to the sceneexternalchecks and modified permission module to follow this.
...
*This makes permission checking much more modular; allows restrictive and granting module to be made without modifying the existing permission module
2008-05-08 19:37:57 +00:00
Adam Frisby
31c4d599a0
* Applying patch #1156 - More implementation work on llGetPrimitiveParams (Thanks middlelink!)
2008-05-08 13:49:19 +00:00
Adam Frisby
dc21e8d5e2
* Applying patch #1121 - Fixes for llListen() (Thanks Middlelink!)
2008-05-08 13:41:10 +00:00
Sean Dague
a1f1c7f5c2
From: Alan M Webb <awebb@vnet.ibm.com>
...
Introduce time dilation in scripts.
2008-05-08 12:23:47 +00:00
Adam Frisby
4fa0cbdfbb
* You can haz more spring cleaning.
...
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Adam Frisby
80cbd468ea
* Some refactorings.
...
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Justin Clarke Casey
e49bdd2628
* Change LSL -> C# translated script console output to use the logger (at DEBUG level) rather than Console.Writeline
2008-05-07 23:21:24 +00:00
Teravus Ovares
86669a1664
* Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
2008-05-07 19:41:03 +00:00
Teravus Ovares
ab5556055e
* Theoretically, everything is in place for scripted take controls... Theoretically.
...
* I've still got to test, it's still theoretical code :D. Good thing it isn't enabled by default!
2008-05-07 18:23:46 +00:00
Sean Dague
edd6577f84
while I'm not convinced this is causing my current run away
...
loop, this queue manipulation is dead wrong as Queue is not
a synchronized data structure. Hopefully this helps.
2008-05-07 18:10:18 +00:00
Charles Krinke
2cf025d9cb
Thank you very much, Xantor for a patch to improve
...
llParticleSystem().
2008-05-07 16:05:42 +00:00
Charles Krinke
dc80fd2048
Thank you, Middelink for a patch that fixes the regular expresion
...
missing the numbers after the initial letter of the identifier.
2008-05-07 15:51:50 +00:00
Sean Dague
e1e4fe7361
replace 2 instances of "0000...." with LLUUID.Zero.ToSting() because
...
I was in the file and noticed them.
2008-05-07 15:07:46 +00:00
Jeff Ames
0ea48cf786
De-tabify source.
2008-05-06 22:41:38 +00:00
Adam Frisby
31cd162d34
* Cleaning up code, making it conform to OpenSim standards.
2008-05-06 04:56:48 +00:00
Teravus Ovares
add13276a9
* Committing a bunch of work for control snatching. Not done yet. No visible features.
2008-05-06 02:47:14 +00:00
Justin Clarke Casey
9655cf2807
* Refactor: Break out permissions code into a separate region PermissionsModule
2008-05-05 20:14:53 +00:00
Teravus Ovares
ce19234dc8
* Unraveled the DEBUG_CHANNEL mystery.
...
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
Teravus Ovares
1130c3067c
* A bit of spice from here, a pinch of salt from there, some brains that attracts zombies.. a recipe for llRezObject
...
* Original patch by YZh Thanks YZH!!!!
* object_rez event patch by Melanie, Thanks Melanie!!!
* Some fixups, some missing things(velocity,rotation)
* script delay
* Recoil
* Standard error messages
* Standard silent failures
* Easter egg management
2008-05-05 00:03:30 +00:00
Teravus Ovares
7b446aba91
* Implemented DIE_AT_EDGE and Temporary objects don't save to the database.
2008-05-04 22:55:52 +00:00
mingchen
4a87d96c17
*Moved EstateManager into a region module
2008-05-03 17:11:21 +00:00
Charles Krinke
18362b25bf
Thank you kindly, Melanie for a patch to solve
...
llParticleSystem and osDynamicTexture issues.
2008-05-02 23:23:39 +00:00
Justin Clarke Casey
8cf2630dc9
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Adds "not implemented" stubs for llSetVehicleFloatParam() and llSetLinkTexture()
Some cleanup of LSO script enums
2008-05-02 15:29:09 +00:00
Sean Dague
7cace57ecc
revert changeset 4469 as this breaks the script engine.
2008-05-01 21:53:14 +00:00
Justin Clarke Casey
d21b3ea9c7
From: Kurt Taylor <krtaylor@us.ibm.com>
...
MInor patch - more script function cleanup and comments
2008-05-01 19:22:17 +00:00
Adam Frisby
bcab39831e
* Applied Mantis#1106 - fix missing cast from LSLInteger to uint, make int cast more generic (Thanks Melanie!)
2008-05-01 18:55:36 +00:00
Adam Frisby
76d8eaa406
* Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't.
2008-05-01 18:50:44 +00:00
Teravus Ovares
c803e0cca1
* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.
...
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-05-01 16:39:02 +00:00
Adam Frisby
01f31fd933
* Breaking all the code, breaking all the code..!
...
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby
a1c8aa4050
* Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces.
2008-05-01 15:36:39 +00:00
Adam Frisby
4692e92312
* Assorted spring cleanings.
2008-05-01 14:45:56 +00:00
Adam Frisby
7bcdec4e8f
* Applying Mantis#1097 - Thanks Xantor!
...
- Fix for llRound (now rounds in LL-compatible fashion, rather than using bankers rounding)
- Implementation of llAngleBetween
2008-05-01 12:11:34 +00:00
Adam Frisby
3da6a05eaa
* Sometimes you know, you do something really stupid.
...
* This is one of those times (should fix build)
2008-04-30 21:32:14 +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
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
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
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
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
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
Charles Krinke
7cb78d73eb
Thank you Melanie for implementing
...
llListSort() in linear and strided modes.
2008-04-26 20:49:38 +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
Adam Frisby
87e2793ca6
* Applying mantis#1048 - Patch for osSetRegionWaterHeight()
2008-04-25 10:37:22 +00:00
Teravus Ovares
9468917b5f
* Implements llTarget, llTargetRemove, at_target(), not_at_target()
2008-04-25 01:00:55 +00:00
Teravus Ovares
5c660ea0c5
* Patch from Melanie. Mantis: 1040. Thanks Melanie!
...
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-24 15:11:19 +00:00
Sean Dague
2a2ef42e64
replace hard tabs with 4 spaces to be consistant in the source.
...
Please adjust your editors to not use hard tabs.
2008-04-24 12:27:24 +00:00
Justin Clarke Casey
c49b25f19e
* From: Alan M Webb <awebb.vnet.ibm.com>
...
* Patch to fix negative indices bug in llListInsertList
2008-04-24 10:17:33 +00:00
Teravus Ovares
12bba3da4b
* Fixed an annoying pop-up box when crossing borders.
2008-04-23 23:55:02 +00:00
Teravus Ovares
1909d74d5f
* Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie!
...
* Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23 22:44:59 +00:00
Teravus Ovares
e108133d91
* Fixes lsl scripts with no state_entry event at all
...
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-23 22:04:45 +00:00
Teravus Ovares
2a3bdde0fa
* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)
...
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results.
* Three axis works well enough to play with it anyway. More work is needed here.
* Fixed an incorrectly named method in ODE.NET
2008-04-23 15:32:19 +00:00
Adam Frisby
3370d581e1
* Patch #1026 - llDialog support -- Thanks Melanie!
2008-04-23 12:21:54 +00:00
Adam Frisby
163d254bb9
* Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie!
2008-04-23 11:53:16 +00:00
Adam Frisby
bca7ab7e36
* Applying Mantis #1020 (Animations) - Thanks Melanie.
2008-04-23 11:52:25 +00:00
Justin Clarke Casey
6efb16689a
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-23 10:16:26 +00:00
Teravus Ovares
61f23fa045
* Implements llScriptDanger
...
* Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
2008-04-22 10:11:29 +00:00
Teravus Ovares
809447ac32
* Implemented NoScript areas (without loosing script state).
2008-04-22 09:28:58 +00:00
Teravus Ovares
9b696a1d5c
* Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!
...
* I expanded upon his patch just a bit to incorporate the following.
* if the avatar is sitting on this object, then we can unsit them.
* If the object owner also owns the parcel or if the land is group owned and the object is group owned by the same group or if the object is owned by a person with estate access, then we can unsit them.
2008-04-22 08:15:44 +00:00
Adam Frisby
01663cb612
* Committing fix for previous build breakage. Sorry!
...
* Committing namespace/usings fixes for ThirdParty directory, missed in previous commit.
2008-04-21 07:16:30 +00:00
Adam Frisby
fef3b36894
* Optimised using statements and namespace references across entire project (this took a while to run).
2008-04-21 07:09:17 +00:00
Tedd Hansen
16275ca26d
Removed some script engine noise from console
2008-04-20 11:58:14 +00:00
Tedd Hansen
8a13edb115
Moved script engine os* commands to OSSL_BuilIn_Commands.cs and OSSL_BuilIn_Commands_Interface.cs where they belong.
2008-04-20 10:40:39 +00:00
Teravus Ovares
a5bf229cbd
* Fixed up event discovery regexes to work with a specific string format m#1012
2008-04-20 10:18:40 +00:00
Teravus Ovares
3358d70c5b
* Updates LSL2CS converter
...
* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
2008-04-20 04:19:44 +00:00
Justin Clarke Casey
cd09677469
From: Alan M Webb <awebb@vnet.ibm.com>
...
Robust implementations of GetSubString, InsertString, and
DeleteSubstring. The existing implementations only worked for arguments
consistent with the underlying .Net implementation and did not
accomodate LL's negative indices.
2008-04-18 19:03:28 +00:00
Tedd Hansen
acb0b06fed
Mantis #851 , 100% CPU on unhandlet HTTP event. Thanks cmickeyb.
2008-04-18 15:25:43 +00:00
Charles Krinke
ea8b6a28ed
Thank you, Melanie, very kindly for a patch that :
...
Implements llGetInventoryKey with perms checking.
Adds perms checking to llGetTexture, adds type checking to llStartSound,
allows llSetTexture to reference textures by name
2008-04-18 02:23:48 +00:00
Justin Clarke Casey
15b36498be
From: Alan M Webb <awebb@vnet.ibm.com>
...
This provides fixed implementations for llListReplaceList and llList2CSV.
llListReplaceList was broken except for simple indices. llList2CSV did not handle processing of an empty list.
2008-04-17 14:34:30 +00:00
Justin Clarke Casey
e3a6a370fa
* From: Alan M Webb <awebb@vnet.ibm.com>
...
* Here's an updated ListInsertList implementation, tested to be LL
compliant.
2008-04-16 16:07:34 +00:00
Justin Clarke Casey
9cb9dcb9da
From: Alan M Webb <awebb@vnet.ibm.com>
...
This fixes a bug in LSL_Types.list GetSublist that was manifest if the
source list was empty and negative indices were used.
2008-04-16 15:57:55 +00:00
Justin Clarke Casey
4f8943da67
* From Kurt Taylor <krtaylor@us.ibm.com>
...
* Yet more script function cleanup - Patch fixes many different script functions: NotImplemented that weren't there at all, redundant or unneeded m_host.AddScriptLPS, etc
2008-04-16 15:54:32 +00:00
Teravus Ovares
331f26548b
Fixed LSL State support.
...
* Re-applied Tedd's patch that got overwritten.
* Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s])
* Added a state(string) method to BuiltIn_Commands_BaseClass
2008-04-15 16:49:06 +00:00
Sean Dague
f337cb205d
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is the second half of the fix for 821 - this is the null reference
check for llDetectedName and the other *Detected* function.
2008-04-11 13:51:11 +00:00
Charles Krinke
f565f44d89
Thank you Justin for a patch that solves the issue of: When a sensor detects an Avatar,
...
and llDetectedOwner is called on the script, the current implementation attempts to
find the detected avatar as a SceneObjectPart and return the owner of that part.
2008-04-10 15:38:33 +00:00
Sean Dague
c176caeb05
moved fields to properties for UserDataProfile, which was
...
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Justin Clarke Casey
8bd1f1c7c3
* Put explicit braces in for single line blocks
2008-04-09 15:36:10 +00:00
Justin Clarke Casey
f9646a0c81
From: Michael Osias <mosias@us.ibm.com>
...
"This is llDetectedKey for touch_start - it is already implemented for sensor."
Thanks Michael
2008-04-09 15:33:04 +00:00
Justin Clarke Casey
f512502e51
From: Kurt Taylor <krtaylor@us.ibm.com>
...
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions."
Thanks!
2008-04-09 15:28:51 +00:00
Adam Frisby
996309a6e1
* Various terrain engine fixes
...
* Includes patch #894 fixes for terrain load-tile
* Large number of other terrain fixes and new commands included.
2008-04-06 13:48:28 +00:00
Justin Clarke Casey
57afbdbdbd
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Sean Dague
341664eabc
from krtaylor
...
Fixe for Mantis 821
2008-04-02 18:58:57 +00:00
Adam Frisby
fadd19f314
**Big ass update warning**
...
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-30 09:03:38 +00:00
alondria
0e0445573e
Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838
2008-03-29 19:49:07 +00:00
MW
a13d68d98c
fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows.
2008-03-28 15:32:46 +00:00
Sean Dague
2eda6a1296
From: Michael Osias <mosias@us.ibm.com>
...
This patch implements llMessageLinked.
I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for
link sets of more than 1 prim, or 0 for a single object, since according
to:
http://rpgstats.com/wiki/index.php?title=LlMessageLinked
linksets with 2 or more prims start the link numbering at 1, but a single
prims link number is 0.
2008-03-28 12:47:03 +00:00
Jeff Ames
9d1b42c39a
Comment out unused private methods.
2008-03-25 03:49:08 +00:00
Jeff Ames
a8d9a58dd2
Fix a couple more warnings.
2008-03-25 03:43:24 +00:00
Teravus Ovares
a21112ccee
* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
...
* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect... but pretty good.
2008-03-25 03:36:31 +00:00
Teravus Ovares
dd6e6e7bdf
* Added llApplyImpulse in the local frame.
2008-03-24 22:48:34 +00:00
alondria
15a22e993d
Implements llGetInventoryPermMask()
2008-03-24 21:56:52 +00:00