Jeff Ames
f6699892dc
Update svn properties, minor formatting cleanup.
2008-09-30 05:26:57 +00:00
Charles Krinke
68ae63e546
Mantis#2300. Thank you kindly, Idb for a patch that solves:
...
A number of the deprecated functions had missing parameters
causing compile errors. These included:
llSound, llMakeExplosion, llMakeFountain, llMakeSmoke,
llMakeFire, llPointAt, llXorBase64Strings, llSetPrimURL
2008-09-30 01:59:51 +00:00
Charles Krinke
307f26e80e
Mantis#2299. Thank you kindly, Idb for a patch that:
...
OS/SL script conformance, implement llSoundPreload and
llRemoteLoadScript to behave as in SL. In SL
llSoundPreload appears to do nothing. In OS
llRemoteLoadScript shouts an error when invoked
"Deprecated. Please use llRemoteLoadScriptPin instead."
2008-09-29 20:24:59 +00:00
Dr Scofield
87ac46c1c5
From: rob smart (smartrob@uk.ibm.com)
...
minor fixes to osParseJSON.
2008-09-29 17:47:17 +00:00
Melanie Thielker
fe06f37e6b
Mantis #2293
...
Same fix for the DNE
2008-09-29 10:35:07 +00:00
Melanie Thielker
538f51f36d
Mantis #2293
...
Fix a null reference exception when the exception thrown by a script
is not a TargetInvocationException
2008-09-29 10:30:01 +00:00
Charles Krinke
6758ecc403
Implement the plumbing for llSetVehicleType from the LSL
...
subroutine down through the physics modules through PhysActor
and SceneObjectPart. No connection to the physics simulators.
2008-09-28 22:38:59 +00:00
Charles Krinke
ebbbd37605
Added the plumbing for llSetVehicleRotationParam
...
in the classes between the LSL implementation and the
underlying physics engines.
2008-09-28 21:53:56 +00:00
Charles Krinke
d68d631dc0
A little bit further with LLSetVehicleVectorParam.
2008-09-28 21:20:25 +00:00
Melanie Thielker
c2308d8a7d
Add explicit CultureInfo to the script compile thread in DotNetEngine to
...
ensure that scripts will compile on nonenglish systems
2008-09-28 20:29:56 +00:00
Charles Krinke
3747862999
Plumb the connection though from llSetVehicleVectorParam
...
to the various physics engines. No connection to the
underlying physics simulator yet, just plumbing through
the various classes.
2008-09-28 20:20:32 +00:00
Melanie Thielker
3012bfa2a2
Mantis #1922
...
Thank you, idb, for a patch that addresses hex digits erroneously being
recognized as valid and parsed in a decimal number
2008-09-28 19:58:54 +00:00
Charles Krinke
9709d01358
Remove llSetVehicledoubleParam. It does not exist.
...
It was a mistake a year ago to add it in.
2008-09-28 19:31:58 +00:00
Charles Krinke
3397236c6c
Plumb the connection through from llSetVehicleFloatParam
...
to the various physics engines. No connection to the
underlying physics simulator yet, just plumbing through
the various classes.
2008-09-28 18:36:30 +00:00
Jeff Ames
0b4415849a
Update svn properties. Minor formatting cleanup. Fix a compiler warning. Fix a UUID vs null comparison.
2008-09-28 03:21:11 +00:00
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
Melanie Thielker
c0b60bb8cf
Stop DNE saying "Loading script" when it's actually unloading.
2008-09-27 14:19:03 +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
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
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
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
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
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
Melanie Thielker
92ebbd1420
Remove interfaces that are no longer used from DNE
2008-09-26 12:04:16 +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
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
Melanie Thielker
f6650d33cc
Fixes an exception that is seen on regions running XEngine, where DNE
...
tries to stop a script that is not run by it
2008-09-25 14:20:31 +00:00
Melanie Thielker
a3fcaef890
CONVERGENCE!!!!!!
...
The entire LSL API is now in the single, shared file
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs
This is for both engines. The OSSL function are still separate.
2008-09-25 06:04:47 +00:00
Melanie Thielker
f3c8963c86
Convergence is almost complete. This brings the diff between the API to < 10k
...
and makes it use a common set of types in both engine. Fixes the issues with
running both engines and HTTP requests / listens / timers etc..
Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-25 05:13:44 +00:00
Charles Krinke
5edaddce6d
Mantis#2123. Thank you kindly, Idb for a patch that solves:
...
Under both DotNetEngine and XEngine, if an agent's UUID
is passed as the parameter to llGetObjectMass(),
it throws an exception.
2008-09-25 03:58:03 +00:00
Melanie Thielker
fb7a29a5ef
Rename lots of stuff in DNE to reduce source code differences in the
...
LSL implementation files. Rename lots of stuff in XEngine for the same
reason. Move methods between interfaces. Just refactor stuff.
2008-09-24 13:18:06 +00:00
Melanie Thielker
a042302100
Mantis #2250
...
Make ambiguous implicit conversion from LSLInteger to uint explicit
2008-09-24 11:16:53 +00:00
Melanie Thielker
218902bedc
Decouple AsyncCommands from XEngine and the script instance. Make
...
all methods needed outside the API ststic. Async command processing
is now wholly internal to the API. This sets the stage for the next
convergence step.
2008-09-24 02:58:05 +00:00
Jeff Ames
3f79e6b3e7
Update svn properties, formatting cleanup.
2008-09-23 23:14:00 +00:00
Melanie Thielker
48da2c24a2
Add the missing file
2008-09-23 21:23:23 +00:00
Melanie Thielker
bbb962f64e
Refactor BuiltIn_Commands_BaseClass to ScriptBaseClass to ease the later
...
code merging and transition to Shared/
2008-09-23 20:20:40 +00:00
Melanie Thielker
1e7a820bd1
Remove some debug output
2008-09-23 20:04:03 +00:00
Melanie Thielker
88277366bf
Switches the direct event postings in the API file over to the Shared/
...
new style of parameter passing, using the IEventReceiver interface.
2008-09-23 20:02:32 +00:00
Melanie Thielker
6425680cff
Add IEventReceiver to DNE - a consolidation series patch
2008-09-23 17:33:00 +00:00
Melanie Thielker
420a645036
Remove Common/LSL_Types.cs. Both script engines now use a single version
...
of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs
Also changes the compiler in DotNetEngine to use that. You _will_ need to
let your region recompile all your scripts!
2008-09-23 15:14:15 +00:00
Melanie Thielker
8ac4437d9a
Add constants wrapping code from XEngine to DNE. This syncs up the parsers
...
between the engines again. Also, committed r60 in opensim libs with the
parser source changes.
2008-09-23 14:17:32 +00:00
Melanie Thielker
d95794d05c
Refactor XEngine parser as per suggestions from mikem
2008-09-23 13:28:17 +00:00
Melanie Thielker
aef2afd3be
Add file missed in last commit (which never completed)
2008-09-23 12:49:31 +00:00
Melanie Thielker
dffa6567e8
Alter tests to match up with the results after tyre's patch
2008-09-23 12:17:21 +00:00
Melanie Thielker
44e566260c
Mantis #2243
...
Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
2008-09-23 11:41:34 +00:00
Melanie Thielker
70d264ee6c
Update the permissions system to handle scripts and notecards the way
...
it was meant to. No functional changes, just better code
2008-09-23 03:36:16 +00:00
Justin Clarke Casey
8e00e933a4
* Apply http://opensimulator.org/mantis/view.php?id=2234
...
* Exceptions can thrown by llGetOwnerKey()
* Thanks idb
2008-09-22 20:09:06 +00:00
Melanie Thielker
b8a39a4dde
Remove the script engine identifier tag, so the compiler just sees
...
the language specifier. Makes language specifiers work again with
script engine specifiers.
2008-09-22 11:18:49 +00:00
Melanie Thielker
79ac01fb0c
Prevent scripts from running under multiple engines at once
2008-09-22 02:11:40 +00:00
Melanie Thielker
1602ba6175
Allows to use the new script engine feature. Begin your script with
...
//XEngine: or //DotNetEnine: , optionally followed by a language
like //XEngine:lsl, and it will be run on the chosen engine.
2008-09-21 22:16:17 +00:00
Melanie Thielker
94aaf67dfa
Change the scirpt engine loading mechanism. Script engines are now
...
ordinary region modules and are able to coexist in one instance.
See http://opensimulator.org/wiki/ScriptEngines for details. There were
changes to OpenSim.ini.example, please note DefaultScriptEngine.
Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21 21:47:00 +00:00
Justin Clarke Casey
451bd5a0ca
* minor: warnings removal
2008-09-21 20:56:39 +00:00
Charles Krinke
37da083de5
Mantis#2233. Thank you kindly, Idb, for a patch that solves:
...
The constants for llGetParcelDetails were missing
for DotNetEngine and XEngine.
2008-09-21 20:51:55 +00:00
Melanie Thielker
83b030229e
Mantis #2232
...
Thank you, idb, for a patch that fixes an overflow issue in casting
string -> int for both engines, and adds tests!
2008-09-21 15:54:58 +00:00
Melanie Thielker
8407d7fbd2
Mantis #2230
...
The result of constants arithmetic can be a CLI type. This allows floating
point CLI types to be parsed out of lists properly.
2008-09-21 12:18:30 +00:00
Melanie Thielker
85586bb7b2
Change XEngine startup to enable it to run as a normal region module
...
rather than a special one
2008-09-21 02:52:12 +00:00
Jeff Ames
c8349e21c4
Update svn properties, minor formatting cleanup.
2008-09-21 02:41:22 +00:00
Melanie Thielker
5557fb9dd2
XEngine: Fix loading lists from saved state
2008-09-20 20:07:10 +00:00
Melanie Thielker
e7064c0b19
Fix up some ScriptBase details
2008-09-20 18:17:04 +00:00
Homer Horwitz
f352d6ed9b
- Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine returns NULL_KEY on error now
...
- Conformance fix: If the notecard can't be found, shout on DEBUG_CHANNEL as the docs state
- Bug fix: Don't let llGetNotecardLine throw an exception on freshly created notecards
2008-09-20 17:32:58 +00:00
Teravus Ovares
42f04233a4
* Fix build error, (maybe)
...
* Might break something.. hard to say.. 0.o
2008-09-20 17:17:41 +00:00
Melanie Thielker
5a1be7835c
XEngine: Fix llGetListEntryType to return the correct type for the LSL types.
...
Change serialization to omit types it can't deal with.
2008-09-20 16:24:36 +00:00
Homer Horwitz
4d8544dada
Fix Mantis #2215 : llGetNotecardLine() not detecting EOF under DNE
2008-09-20 14:46:09 +00:00
Justin Clarke Casey
fb5014cf5b
* Duh, forgot I had undone some of the changes I meant to include in the previous commit
2008-09-19 19:07:20 +00:00
Justin Clarke Casey
4c7ddd2c71
* Remove one possible deadlock situation as seen today
...
* On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id
* In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal
* There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
2008-09-19 18:50:19 +00:00
Melanie Thielker
5d3fe9f8cd
Guard LLRezObject against NaN
2008-09-19 17:34:35 +00:00
Melanie Thielker
592f98c4aa
Mantis #2217
...
Guard against NaN being returned from llRotBetween. Return a zero rotation
if the result is NaN.
2008-09-19 17:00:17 +00:00
Melanie Thielker
092ad53dc7
Fix issue introduces by a fix in 6256. Fixes mantis #2214
2008-09-19 13:11:55 +00:00
Melanie Thielker
48c2ef7e12
Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine)
2008-09-18 20:23:18 +00:00
Justin Clarke Casey
48978ba3e0
* Apply http://opensimulator.org/mantis/view.php?id=2212
...
* Update llGetNumberOfNotecardLines() and llGetNotecardLine() to use dataserver on dotnetengine
* Thanks M.Igarashi
2008-09-18 18:58:39 +00:00
Melanie Thielker
903fbd1f06
XEngine: fix collisions, add event coalescing for collision events.
...
Fix a nasty concurrency issue that could cause a high event frequency
to start more than one thread pool job for a single script.
2008-09-18 18:50:39 +00:00
Melanie Thielker
584704edd3
Remove redundant permissions check in OSSL_Api.cs
2008-09-18 17:06:47 +00:00
Melanie Thielker
f856977c7b
Fix list reset behavior, and thereby squash one warning
2008-09-18 17:04:02 +00:00
Dr Scofield
0dff3f2383
From: Robert Smart (SMARTROB@uk.ibm.com)
...
Patch for new scripting method osParseJSON.
also, a couple of warning bugs killed.
2008-09-18 16:53:26 +00:00
Jeff Ames
ac083becd9
Update svn properties, minor formatting cleanup.
2008-09-18 16:07:06 +00:00
Melanie Thielker
23c217dd7b
Kan-Ed fix series.
...
Correct a condition where a prim is linked before it has been persisted
for the first time and is then persisted through it's former SOG with
a bad offset position.
2008-09-18 15:24:16 +00:00
Melanie Thielker
bf0b7eaecb
Another pointless multiplication/division removed
2008-09-18 12:44:18 +00:00
Melanie Thielker
1160731100
XEngine API refactor. Fully implement ALL_SIDES with sanity checks.
...
Correct color handling functions to no longer return the inverse color.
Remove pointless * 256 / 256 legacy constructs.
2008-09-18 12:37:44 +00:00
Melanie Thielker
deaf0e3814
Kan-Ed fix series.
...
XEngine: Change a number of methods to use the new link part method.
Fix ALL_SIDES for llSetColor, llSetTexture, llSetAlpha, llSetPrimitiveParams,
llGetPrimitiveParams(PRIM_TEXTURE, PRIM_COLOR).
2008-09-18 03:38:20 +00:00
Melanie Thielker
553d554e2c
Kan-Ed fix series.
...
XEngine: Introduce a common method to determine link parts to work on.
Fix llSetLinkColor method.
2008-09-18 02:54:17 +00:00
Melanie Thielker
66febc47ad
Kan-Ed fix series. Fix up llRezAtRoot and llRezObject, fix llCreateLink
...
to send a full update and do a persistence save.
2008-09-17 23:50:21 +00:00
Melanie Thielker
7e8320bada
Kan-Ed fix series. Fix llTakeControls to behave as documented.
...
XEngine fixes: prevent queue overruns, prevent spamming when no key
is down. Release controls when conflicting permissions are requested
or permissions are refused later. Release when prim or script are deleted.
Fixes Scene script instance deletion semantics.
2008-09-17 22:00:56 +00:00
Justin Clarke Casey
c9c59c68f1
* Apply http://opensimulator.org/mantis/view.php?id=2207
...
* Attached patch implements llRequestAgentData for DotNetEngine. (It already is implemented in XEngine.)
* Thanks Y. Nitta
2008-09-17 13:18:48 +00:00
Justin Clarke Casey
6bcdc82a46
* Apply http://opensimulator.org/mantis/view.php?id=2206
...
* Fix/implement LSL group-related functions llDetectedGroup, llSameGroup
* Thanks nlin
2008-09-17 13:14:07 +00:00
Jeff Ames
5c165c9bdd
Update svn properties, minor formatting cleanup.
2008-09-16 23:21:50 +00:00
Justin Clarke Casey
0e6e8624ad
* Apply http://opensimulator.org/mantis/view.php?id=2205 with a few small tweaks
...
* LSL Conformance: llSetPayPrice should accept more than four arguments in list
* Thanks kcozens!
2008-09-16 18:49:57 +00:00
Justin Clarke Casey
ad7df5b500
* Apply http://opensimulator.org/mantis/view.php?id=2204 (with a small tweak)
...
* Attached patch implements LSL llGetAgentSize() for DotNetEngine and XEngine.
* Thanks Y. Nitta!
2008-09-16 17:57:34 +00:00
Justin Clarke Casey
c6dfc99f22
* Apply http://opensimulator.org/mantis/view.php?id=2203
...
* Implementation of LSL llBreakLink and llBreakAllLinks
* Thanks Y. Nitta!
2008-09-16 17:48:57 +00:00
Justin Clarke Casey
6b0097039a
* Apply http://opensimulator.org/mantis/view.php?id=2202
...
* llGround causes Array out of bounds exception in KanEd#11 script
* Thanks Y. Nitta!
2008-09-16 17:41:01 +00:00
Justin Clarke Casey
f437c4d8c9
* minor: oops, remove a warning I just inserted myself - naughty boy
2008-09-16 17:35:35 +00:00
Justin Clarke Casey
0b52453762
* Change XEngine default configuration values to match those in OpenSim.example.ini
...
* Particularly important for max threads since setting this to 2 was causing all events to wait behind the regularly sleeping maintenance event
2008-09-16 16:41:46 +00:00
Justin Clarke Casey
7f3bfa277b
* minor: method documentation
2008-09-16 16:37:16 +00:00
Melanie Thielker
f46fc508d1
Mantis #1843
...
Applying DotNetEnine part of this patch. Thank you, nlin!
Corrects ad hoc key list comparison.
2008-09-16 10:26:54 +00:00
Jeff Ames
eee31c6f28
Minor formatting cleanup.
2008-09-16 10:15:09 +00:00
Melanie Thielker
ae63b2d2ca
Finish up OSSL enable/disable options in XEngine.
...
Now each function can be allowed, subject to threat level, disabled,
or restricted to certain UUIDs.
2008-09-15 23:50:07 +00:00
Melanie Thielker
2df0499da7
Refactor the os functions allowed check into the threat check method
2008-09-15 22:52:23 +00:00
Justin Clarke Casey
a28a478546
* minor: recomment the console c# script printout I accidentally left in on the last ocmmit
2008-09-15 20:58:16 +00:00
Justin Clarke Casey
2b9e115fd7
* minor: eat up some yummy warnings
2008-09-15 20:50:57 +00:00
Melanie Thielker
bf8b70ebeb
Add the option to use Allow_osFunction = false for each OS function
...
in the XEngine section
2008-09-15 15:36:51 +00:00
Melanie Thielker
2eac6c17f4
Add more granularity and a risk asessment system to the OSSL API in XEngine.
...
Adds the fix from Mantis #2197 in it's new form.
Stage one of the scripting security changes, more to come.
2008-09-15 15:25:48 +00:00
Charles Krinke
5164fa2411
Mantis#2197. Thank you kindly, Tyre, for a patch that:
...
adds the new function osTeleportAgent().
2008-09-15 14:32:02 +00:00
Homer Horwitz
4ba7ce5981
Added some further clipping to color- and alpha-values.
2008-09-14 15:46:54 +00:00
Melanie Thielker
de44f765e3
Mantis #2186
...
Prevent illegal color values from being set.
2008-09-14 15:18:58 +00:00
Charles Krinke
f2d60976d0
Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:
...
after using llTakeControls my sim receives about 200 messages per second,
l of which get queued , this could be because there is no lag as the viewer
and sim are on the same computer. The patch I have included checks to see if
the "Changed" param is 0 then searches the EventQueue for Control messages
being sent to the same localid, if it finds a message already in the Queue
and Changed==0 then the new message is only notifing you the key is being held,
since there is already a message the new one isnt needed so it isnt added
to the queue.
2008-09-14 00:47:45 +00:00
Homer Horwitz
37e6ce24a2
Fixed several cases of inverted colors and alpha in DNE and XEngine.
...
Added clamping to 0.0 - 1.0 for R, G, B, and A.
2008-09-13 22:48:30 +00:00
Jeff Ames
b4141f9e56
Formatting cleanup.
2008-09-13 22:07:07 +00:00
Homer Horwitz
54e1988d85
Fixing a bug in DNE which caused the face-colors to be inverted when set via script.
2008-09-13 21:54:07 +00:00
Jeff Ames
6e6465f6c1
Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code.
2008-09-13 21:39:26 +00:00
Melanie Thielker
8830b8b72c
Mantis #2018
...
Read animation data from avataranimations.xml to allow default animations
to be started and stopped by name from scripts.
2008-09-13 19:51:56 +00:00
Melanie Thielker
99f1e1d107
Mantis #2182
...
Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
2008-09-13 16:34:29 +00:00
Melanie Thielker
dccdeb57bb
Fix some string to float casting nastiness. The "train script" now
...
works. Also makes llGetFreeMemory return the constant 16384.
LLGetFreeMemory is useless in SL, as it never goes up, only down.
So, the only thing it is used for, in practice, is to detect an imminent
stack/heap collision, a danger we don't have.
2008-09-13 16:16:08 +00:00
Melanie Thielker
fdb24c46ac
Provide a GetApi method on the IScriptEngine to get a named API reference
...
This allows cross-api method calls on the implementation and also allows
"Meta APIs" that only provide common functionality to other APIs
2008-09-13 14:40:42 +00:00
Melanie Thielker
9222c5154e
Change all LSL functions to return LSL types instead of base types.
...
Remove some unused osFunctions that were left in the LSL function
file from the separation way back when. Inline the osSetParcelMediaURL
code to get rid of the osFunction. Really need to add a way for one API
to call another.
2008-09-13 13:47:23 +00:00
Melanie Thielker
7f3a98b76d
Fix string parameters to functions taking lists as arguments. LSL
...
functions return CLI strings, which, in the case of lists, don't
get wrapped. Therefore, the list had to be able to deal with
that CLI type here. The correct fix would be to change all LSL
function returns to LSL types.
2008-09-13 12:58:44 +00:00
Justin Clarke Casey
0dc1018ca1
* minor: Remove warnings
...
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Tedd Hansen
85a0e03984
Note to self: VisualSVN not fully compatible with OpenSim prebuild :)
2008-09-12 18:46:52 +00:00
Tedd Hansen
b41acfb4cf
Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case)
2008-09-12 18:42:02 +00:00
Teravus Ovares
18f490a30c
* Fix a missing .UUID in llInstantMessage
2008-09-12 18:17:01 +00:00
Sean Dague
a408b58209
add the m_host.AddScriptLPS(1); line. I'm not actually sure what it
...
does, but it seems every other function here has it, so it is probably
needed.
2008-09-12 15:04:16 +00:00
Sean Dague
1b333a0f58
From: Rob Smart <SMARTROB@uk.ibm.com>
...
Implement an osParseJSON method useful for handling simple JSON returns
from http requests. This will only work in C# at this point.
2008-09-12 15:04:13 +00:00
Melanie Thielker
a68e34b558
Mantis #511
...
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames
b9b996be38
Update svn properties, minor formatting cleanup.
...
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Charles Krinke
7305dadba2
Mantis#2153. Thank you kindly, Godfrey for a patch that solves:
...
osSetDynamicTextureData() produces error on console if
ExtraParams passed empty string
2008-09-10 03:19:57 +00:00
Charles Krinke
291aa9fa10
Implementation of llDetectedGroup for DotNetEngine.
2008-09-10 02:25:02 +00:00
Charles Krinke
796fedb1e9
*Almost* have a complete implementation of llDetectedGroup.
...
One member missing, so a portion is commented out.
2008-09-10 02:10:25 +00:00
Charles Krinke
6b10725f20
Implementation for llDetectedLinkNumber in DotNetEngine.
2008-09-10 01:54:25 +00:00
Sean Dague
f141751cf9
From: alan_webb@us.ibm.com
...
Make CHANGED constants consistent with LSL, and consistent across the
code base
2008-09-09 14:51:41 +00:00
Sean Dague
37557da706
From: alan_webb@us.ibm.com
...
Fix an invalid bounds check in Builtin_Commands
2008-09-09 14:51:30 +00:00
Melanie Thielker
4f85a9aa72
Fix llResetScript() and the reset button to actually restore global
...
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
2008-09-09 04:16:52 +00:00
Jeff Ames
fae34bb10c
Update svn properties, formatting cleanup.
2008-09-09 01:26:48 +00:00
Melanie Thielker
3e1441afe1
Fix state xxx within state xxx itself triggering a state "change" to
...
same state
2008-09-09 01:24:58 +00:00
Melanie Thielker
084ea99be6
Fix string -> int cast to variable
2008-09-09 01:01:45 +00:00
Melanie Thielker
75380bc1aa
Fix delimiter access from list for llParseStringKeepNulls
2008-09-09 00:43:14 +00:00
Melanie Thielker
6ca7afabca
Remove casting nastiness in LSL_Api
2008-09-08 23:13:59 +00:00
Melanie Thielker
1034c1cdc1
Correct state handling and state event masks. Prims will now show
...
touch, pay, etc script states correctly.
2008-09-08 22:19:06 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00
Melanie Thielker
6447d7132f
Adapt the unit tests to the new list rules, change some casts to
...
new method for testing
2008-09-08 19:29:16 +00:00
Melanie Thielker
e7abde70a2
Mantis #2147
...
Thank you, ralphos, for a patch the adapts llSetColor and friends to
a change in the underlying types.
Also, thank you for a much cleaner way of casting types out of
lists, which I will adopt throughout.
2008-09-08 18:15:36 +00:00
Melanie Thielker
f2de15bffc
Mantis #2144
...
Adjust XEngine llSetAlpha to a change in the underlying type
2008-09-08 12:30:48 +00:00
Melanie Thielker
1732baca0e
Mantis #2145
...
Fix a number of casting issues in XEngine's API
2008-09-08 11:49:17 +00:00
Melanie Thielker
490ac0be00
Implement proper persistence of the following prim properties:
...
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Charles Krinke
4822e79759
Implement llEjectFromLand.
2008-09-08 02:24:30 +00:00
Charles Krinke
13f7d5a4b2
I inadvertently edited out llGroundSlope, llGroundNormal
...
and llGroundContour in the last checkin and this replaces
them again in LSL_BuiltIn_Commands.cs.
2008-09-08 02:05:56 +00:00
Charles Krinke
d0920a2247
Add implementation for llSetSoundRadius().
2008-09-08 02:01:36 +00:00
Charles Krinke
9ef43d3e22
Add Adam's llGroundSlope, llGroundNormal and
...
llGroundContour into our Common/LS:L_BuiltIn_Commands
file.
2008-09-08 01:27:16 +00:00
Adam Frisby
f3d4f62d0a
* Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs - these functions are orthogonal to each other and the core implementation is in GroundSlope.
...
* Please note that this implementation has not been mathematically verified to be correct-as-described, it is probable that this implementation may produce differing results to Linden Lab. Testing (and test data) would be appreciated.
2008-09-07 22:56:43 +00:00
Charles Krinke
68e8f3a160
Revert the removal of the commented out
...
scriptsleep calls.
2008-09-07 22:08:40 +00:00
Melanie Thielker
669f553400
Xengine patch to force a persistence save on script creation. This prevents
...
duplicate delivery of state_entry if a region is restarted just after
saving the script. Changes script state saves to no longer abort long-
running event handlers. Queues the save instead. Adds shutdown handler
to save script state on irderly shutdown
2008-09-07 22:01:25 +00:00
Melanie Thielker
e3338bac20
Mantis #2138
...
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
2008-09-07 20:15:15 +00:00
Charles Krinke
0c7e87ee5e
Return 0 for no wind and 0 for no clouds from
...
both llWind and llCloud and remove the
"NotImplemented" status leaving us with about
74 "NotImplemented" LSL-C# wrapper functions.
2008-09-07 17:32:38 +00:00
Charles Krinke
94195c4927
Clean up some of the nonsensical use of ScriptSleep
...
inside our LSL-C# wrapper subroutines.
2008-09-07 04:00:44 +00:00
Charles Krinke
aaf7f80dd1
Remove a few of the commented out "NotImplemented"
...
calls from our LSL-C# wrappers.
2008-09-07 00:42:46 +00:00
Tedd Hansen
e0264f67d6
Brushing rust of ye old commit
2008-09-06 18:49:36 +00:00
Melanie Thielker
9e545c9984
Mantis #2133
...
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00
Teravus Ovares
7d89e12293
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
...
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Charles Krinke
0054bce5ae
Mantis#2093. Thank you kindly, Ewe Loon for a patch that:
...
Solves SetPrimitiveParams, Revolutions not calculated
properly.
2008-09-05 23:53:44 +00:00
Charles Krinke
947242f476
Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
...
Types extracted from a LSL_Types.list have to be down-cast initially
to the exact type of value type object that the Object actually is.
This would make for very cumbersome, ugly code when extracting list
parameter items in ll functions where a few implicit conversions
should be applied such as key -> LSLString and LSLInteger -> LSLFloat
(but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem
member functions to the LLS_Type.list class, where XXX is the name
of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take
a single, int parameter that is the item number to be extracted.
2008-09-05 23:26:35 +00:00
Charles Krinke
271bbb2557
Thank you kindly, KrTaylor for a patch that adds:
...
llParseString functions throw exception when passed a
list of variables and this patch adds logic to solve
this to LSL_Api.cs
2008-09-05 23:21:02 +00:00
Melanie Thielker
ef27c8817f
Mantis #2112
...
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
2008-09-03 18:57:06 +00:00
Melanie Thielker
b0965a41d6
Mantis #2097
...
Thank you, ralphos, for a patch that fixes an InvalidCastException
in llSetPrimitveParams.
2008-09-03 13:22:18 +00:00
Dr Scofield
3d101de375
clean up and fixing a typo.
2008-09-03 11:58:36 +00:00
Melanie Thielker
0fc55818ca
Mantis #2109
...
Prevent a null reference exception when reset is pressed on a script
while it's being compiled.
2008-09-03 10:53:25 +00:00
Sean Dague
36dcedce31
a piece of LSL_API changes got checked in incorectly with 6091. This
...
fixes that, and should get us back to compile state.
2008-09-02 20:45:46 +00:00
Melanie Thielker
9806c0b374
Committing the missing resource file for MSSQL. Sorry...
2008-09-02 20:05:20 +00:00
Melanie Thielker
52a5425628
Small fix to a cast in list parsing
2008-09-02 14:08:15 +00:00
Dr Scofield
109aa00150
fix: PostInitialise() not being called on script engines (nasty one that)
...
cleanup: warnings, readability
2008-09-02 12:07:23 +00:00
Melanie Thielker
f13a48fe1c
Fix regex for string->int cast to accept leading spaces and a sign
2008-09-02 06:43:16 +00:00
Melanie Thielker
2fbebbb644
First batch of the unit test changes for the new constants semantics
...
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Melanie Thielker
b7a4613a0d
Correct the representation of the automatic null string
2008-09-02 04:23:01 +00:00
Melanie Thielker
e2a0a04beb
Remove the ((bool)()) cast, since it can make c# barf
2008-09-02 04:15:06 +00:00
Melanie Thielker
61978649ec
Change some chat output functions so that text is truncated at
...
1000 chars to avoid the exception thrown by libomv at 1100 chars.
Change string->int conversion so it copes with non-numeric chars
after the number and no longer uses a float to parse the value.
2008-09-02 03:43:18 +00:00
Melanie Thielker
146f469524
Add an explicit cast to bool for the if expression so that any base types
...
that slip in will not cause it to break
2008-09-02 00:03:16 +00:00
Melanie Thielker
0e7bac07f6
Thank you, Ewe Loon, for a patch that fixes various aspects of
...
llSetPrimitiveParams and llSetLinkPrimitiveParams
2008-09-01 23:35:52 +00:00
Melanie Thielker
a5d2674a43
This is an attempt to fix the handling of constants in LSL.
...
It wraps constants in new LSLType(x), so that lists with
constant values are processed correctly. Contains changes to
the lsl.parser.cs that are not (yet) reflected in opensim-libs,
since this experimental patch affects XEngine only. Also contains
nuts.
2008-09-01 23:33:12 +00:00
Melanie Thielker
bfeb3881f2
Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept
...
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
2008-09-01 21:54:04 +00:00
Justin Clarke Casey
e4ec9829cd
* Apply cmickeyb's patch from mantis 2068
...
* llParseString functions throw exception when passed a list of variables
* Thanks!
2008-08-30 21:12:58 +00:00
Melanie Thielker
fda5457996
Maintis #2078
...
Thank you, ralphos, for a patch that corrects the handling of compiler
warnings in the XEngine, which were erronoeously reported as errors!
2008-08-29 19:57:01 +00:00
Jeff Ames
3bf8858727
Update svn properties, formatting cleanup.
2008-08-28 14:41:54 +00:00
Melanie Thielker
086284da55
Thannk you, Ralphos, for a patch the corrects an improper cast in
...
llSetPrimitiveParams
2008-08-28 14:08:09 +00:00
Melanie Thielker
5dac6242bd
Thank you, salahzar, for a patch that adds some more functions
...
from DotNetEngine into XEngine.
2008-08-28 10:42:22 +00:00
Melanie Thielker
bf4d1fbb8d
Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,
...
which is a thin wrapper around a IWorkItemResult from the SmartThreadPool.
However, it is very easy to reimplement on top of basic threading and therefore
makes the IScriptInstance class independent of the specific threading
implementation.
2008-08-28 00:37:22 +00:00
Melanie Thielker
5525a3ecb4
Thank you, salahazar, for a patch that corrects the behavior of
...
llDetectedLink(). Also a small refactor to remove an interface member
from IScriptEngine.
2008-08-27 22:53:58 +00:00
Melanie Thielker
6e3367d68c
Refactor XScriptInstance to IScriptInstance and move into Shared/. Now
...
engines that want to use the XEngine's instance handling and state
persistence can do so. IScriptInstance is optional, but it does
require the SmartThreadPool if it is used.
2008-08-27 22:38:36 +00:00
Melanie Thielker
a2985b5655
Refactor Executor into the script app domain and IScript. This changes
...
an implicit reference into a proxied one and further reduces memory
consumption of XEngine
2008-08-27 21:36:03 +00:00
Melanie Thielker
1a3f83c94b
Erm - make the distanc factor really work....
...
(wipes egg off face)
2008-08-27 19:12:17 +00:00
Melanie Thielker
788dff7090
Implements the r6005 foes for XEngine as well
2008-08-27 17:19:56 +00:00
Melanie Thielker
1ac6bb3107
Add ScriptDistanceLimitFactor to OpenSim.ini to allow modifcation of
...
LSL's arbitrary 10 m limit on object movement.
Also implements the 10 m maximum rezzing distance, subhect to the same
factor.
2008-08-27 17:12:55 +00:00
Charles Krinke
a055d3c2e8
Mantis#2045. Thank you kindly, Tyre for a patch that:
...
This patch adds even more LSL compatibility to llSetPos() As stated in the
wiki http://wiki.secondlife.com/wiki/LlSetPos , [^] movement should also be
capped to 10m per call for unattached root prims.
Beside this issue the attached patch adds (hopefully) all known LSL script
delays (as ScriptSleep(), but still commented out) to LSL_BuiltIn_Commands.cs
and LSL_Api.cs and a lot of format cleanup.
2008-08-25 21:39:36 +00:00
Melanie Thielker
24456e846c
Add the same delay factor in the XEngine section for the XEngine
2008-08-25 18:07:29 +00:00
Melanie Thielker
64e4c34c1a
Add ScriptDelayFactor under LL-Functions in OpenSim.ini. Defaulted
...
at 1.0, it allows delays to function as coded. Smaller values will
reduce, larger values will increase the delays. A value of 0 is
permitted and results in on delay being applied.
2008-08-25 17:50:44 +00:00
Melanie Thielker
fc9a1f0f45
Fix osAvatarPlayAnimation to actually do what it says on the box
2008-08-25 13:53:49 +00:00
Melanie Thielker
cf7020d73c
Mantis #2044
...
Thank you, salahzar, for a patch that corrects the behavior
of PRIM_TYPE in llGetPrimitiveParams() and improves LSL
conformance in llGetNumberOfSides();
2008-08-25 11:58:55 +00:00
Charles Krinke
032a4ee9b5
Mantis#2043. Thank you kindly, Ralphos for a patch that addresses:
...
The version of llSetLinkPrimitiveParams in LSL_BuiltIn_Commands.cs
has not been kept in sync with the additional functionality made
recently to the llSetLinkPrimitiveParams implementation in
LSL_Api.cs which includes support for setting glow, full bright and
other privative parameters. A patch to LSL_BuiltIn_Commands.cs is
provided the incorperates this functionality (duplicated).
2008-08-24 18:37:51 +00:00
Melanie Thielker
ec9137c4fa
Mantis #2028
...
Thank you, salahzar, for a patch that implements llGetNumberOfSides()
for the DotNetEngine.
2008-08-24 14:04:02 +00:00
Melanie Thielker
d2d9808742
Thank you, salahzar, for a patch that adds llGetNumberOfSides and will
...
also enable LSLconformance on some texture functions as well.
Applied the part of the patch in Shared/.
The part for Common/ needs to be reworked to remove the reference
into Shared/
2008-08-23 16:15:17 +00:00
Melanie Thielker
ccd74f888b
Some complex re-ordering to make prebuild do what needed to be done.
...
It is now possible to use module interfaces without referencing Scene.
Place those interfaces in OpenSim/Region/Interfaces. They may not
use any refs from OpenSim.Region.Environment as parameters.
This resolves a circular library ref introduced in r5949
2008-08-23 02:30:07 +00:00
Charles Krinke
5a85f22110
Mantis#1990. Thank you kindly, Nlin and M.Igarashi for a patch that:
...
This patch improves LSL conformance by inserting a 0.2 second delay
into llSetPos/llSetRot, as the function specification states.
Thanks to M. Igarashi for the patch.
2008-08-21 14:18:40 +00:00
Melanie Thielker
b28bac016a
Fixes the previous commit of llMakeLink for Shared/
2008-08-19 22:01:59 +00:00
Melanie Thielker
f2055a3524
Mantis #2001
...
Thank you, nlin, for a patch that implements part of llCreateLink
- DotNetEngine implementation by nlin.
- Shared/ port by me.
2008-08-19 21:37:12 +00:00
Mike Mazur
225067d8b6
Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.
2008-08-19 05:30:10 +00:00
Mike Mazur
a513cba60b
Apply Godfrey's patch (originally in r5872) to Shared/LSL_Types.cs as well.
2008-08-19 05:25:07 +00:00
Jeff Ames
6ef9d4da90
Formatting cleanup.
2008-08-18 00:39:10 +00:00
Jeff Ames
531f6c01eb
Update svn properties, minor formatting cleanup.
2008-08-17 23:07:14 +00:00
Charles Krinke
c200644bd9
Mantis#1974. Thank you BlueWall for a patch that:
...
adds handling for PRIM_PHYSICS, PRIM_PHANTOM in
llSetPrimitiveParams()
2008-08-17 20:38:40 +00:00
Jeff Ames
796ccd3d37
Update svn properties, minor formatting cleanup.
2008-08-17 02:31:45 +00:00
Charles Krinke
60a676251a
Mantis#1971. Thank you kindly, BlueWall for a patch that:
...
The included patch enable handling for PRIM_FULLBRIGHT in
llSetPrimitiveParams().
2008-08-16 21:31:36 +00:00
Jeff Ames
6fa26f5b41
Update svn properties, minor formatting cleanup.
2008-08-16 17:26:25 +00:00
Charles Krinke
5ed5d0788b
Mantis#1890. Thank you kindly, Godfrey, for a patch that addresses:
...
llListSort() sorts integers and floats in ASCII order rather than numeric order
2008-08-16 02:39:46 +00:00
Charles Krinke
35f0e6f6f4
Mantis#1964. Thank you kindly, BlueWall for a patch that:
...
Parch adds PRIM_BUMP_SHINY handling to llSetPrimitiveParams
2008-08-16 02:33:26 +00:00
Charles Krinke
9a6bdd9701
Mantis#1963. Thank you kindly, Krtaylor for a patch that solves:
...
XEngine missing string constructor for LSLInteger and LSLFloat
2008-08-16 02:28:30 +00:00
Melanie Thielker
328ab79b78
Refactor a lot of direct calls to OGS1 to use the cached version instead.
...
Scripts can now no longer DOS the user server and there are a lot fewer
gratuitious lookups of user profile data.
2008-08-16 02:00:36 +00:00
Melanie Thielker
c1fa7592c7
Pantis #1957
...
Thank you, Leaf, for a patch that implements llGetAnimationList()
XEngine implementation added by myself.
2008-08-15 21:18:08 +00:00
Melanie Thielker
9f8ff36348
Mantis #1961
...
Thank you, BlueWall, for a patch that adds PRIM_GLOW
2008-08-15 16:26:56 +00:00
Jeff Ames
dde21314e7
Update svn properties, formatting cleanup, fix a couple compiler warnings.
2008-08-15 10:24:04 +00:00
Mike Mazur
60acc370fc
Thanks, krtaylor, for a patch that fixes llListSort() and llListRandomize() failing with stride less than 1. Fix issue 1893.
2008-08-15 00:55:16 +00:00
Melanie Thielker
c2f1771c63
Make the estate owner work. Changes permissions checks to allow the
...
estate owner user the ability to add and remove estate managers,
and have EM rights outside of that.
2008-08-14 18:08:22 +00:00
Charles Krinke
9f9e7d98ea
Mantis#1942. Thank you kindly, Tyre for a patch that:
...
updates llTriggerSound() so it accepts an object inventory name too
This adds the same functionality like Xantor's patch for llPlaySound()
2008-08-13 15:01:45 +00:00
Charles Krinke
4a2d5d92cc
Mantis#1941. Thank you kindly, Tyre for a patch that
...
makes progress in extracting the line number of LSL
script execution errors.
2008-08-13 14:58:26 +00:00
Charles Krinke
bf363c0ded
Mantis#1934. Thank you Tyre for a patch that:
...
This patch implements the LSL script function
llTeleportAgentHome()
2008-08-13 14:24:37 +00:00
Charles Krinke
323ada012d
Mantis#1931. Thank you kindly, Kinoc for a patch that:
...
* Yield Prolog 1.0.1 Released : it passes all but 9 of the
421 tests in the ISO Prolog test suite (97.8%) .
* support dynamic predicates and rules.
* support 'import' to use external static functions
improves connection to C# functions
* Matches Yield Prolog r831
2008-08-13 14:13:49 +00:00
Melanie Thielker
e46248ab17
Thank you, tyre, for a patch that fixes a null reference in LSL
...
function llOverMyLand().
2008-08-13 14:13:46 +00:00
Charles Krinke
6ccb9948ab
Mantis#1925. Thank you, homerHorwitz for a patch that:
...
This fixes the coordinates returned by doing a
llRequestInventoryData on a landmark.
2008-08-13 14:06:21 +00:00
Melanie Thielker
4b6097756f
Port the llParcelMediaQuery forward to the new Shared/ directory
...
Add a Dictionary for faster lookup of cached items.
2008-08-13 12:20:49 +00:00
Dr Scofield
db2481e62a
From: Omar Vera Ustariz <ustariz@de.ibm.com>
...
This patch implements a subset of the llParcelMediaCommandList()
function.
2008-08-13 10:29:27 +00:00
Melanie Thielker
44adeb4ec8
Remove "static" from the AsyncCommand Manager to make it work properly
...
in multiple region per sim setups
2008-08-12 02:31:57 +00:00
Jeff Ames
f894f5d87b
Minor formatting cleanup.
2008-08-12 00:08:41 +00:00
Justin Clarke Casey
b627c9c066
* minor: replace hard tabs with soft 4 space tabs in previous patch
2008-08-11 21:33:04 +00:00
Charles Krinke
2cee5abcac
Mantis#1921. Thank you kindly, Leaf for a patch that:
...
llRezObject changed to llRezAtRoot. llRezObject implemented
to call llRezAtRoot until I can figure out how to calculate
a bounding box. Partial implementation of llPushObject
(no angular impulse applied)
2008-08-11 21:27:31 +00:00
Charles Krinke
a9f1561380
Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:
...
In case you run the server with mono --debug OpenSim.exe
line numbers are reported as <filename>:<linenumber>, so no
"at line" is found. That led to an exception, which is caught
since r5766. The attached patch fixes this for mono;
2008-08-10 16:39:04 +00:00
Jeff Ames
20e8e0ebae
Update svn properties, minor formatting cleanup.
2008-08-10 00:44:33 +00:00
Justin Clarke Casey
d0480a87c3
* Remove warnings
2008-08-09 21:24:27 +00:00
Charles Krinke
87c5b0b926
Mantis#1521. Thank you kindly, HomerHorwitz for a patch that:
...
Increases the functionality of the particle system on both
script engines.
2008-08-08 18:27:24 +00:00
Charles Krinke
10822a139f
Mantis#1521. Thank you kindly, Lmmz for a patch that:
...
Improves the implementation of the particle system.
2008-08-08 15:16:30 +00:00
Charles Krinke
9a8569160f
Mantis#1899. Thank you kindly, Cmickeyb for a patch that:
...
attached are some patches to either comment out direct
console writes or to convert them to log writes
2008-08-07 15:12:33 +00:00
Charles Krinke
b72cc7df01
Mantis#1888. Thank you kindly, Tyre for a patch that:
...
This patch adds the missing parcel and region flag constants
for LSL scripts. Tested with .Net and XEngine
2008-08-07 15:02:29 +00:00
Jeff Ames
0718aa0b7f
Minor formatting cleanup.
2008-08-07 12:55:46 +00:00
Justin Clarke Casey
b018d6e84f
* oops, fix build break from last checkin
2008-08-05 20:50:53 +00:00
Justin Clarke Casey
200c77ad15
* possible fix for event queue problems (exceptions and event count max exceeded issues) seen in osgrid meeting today
...
* From the logs, I'm guessing probable cause is that an exception generated by a bad index given to substring error line number conversion stopped the script being killed, leading to continuous events that filled up the log (maybe)
* Someone will need to go back and fix this properly
2008-08-05 20:47:36 +00:00
Melanie Thielker
c1e7b45e18
Fix wrong bitmask value in script engine that would make a mess of
...
the ObjectFlags. Good catch, gsky, thank you!
2008-08-04 17:52:00 +00:00
Charles Krinke
ab778c4114
Mantis#1859. Thank you kindly, Lmmz for a patch that:
...
Implements llForceMouselook().
2008-08-01 02:33:28 +00:00
Charles Krinke
1f7fde9436
Mantis#1868. Thank you kindly, HomerHorwitz for a patch that:
...
0001868: llXorBase64StringsCorrect leads to error if second string
shorter than first which was an off by one error.
2008-07-31 15:11:44 +00:00
Melanie Thielker
c441a03ea3
Thank you, HomerHorwitz, for a patch that implements llSetCameraParams/llClearCameraParams.
...
Fixes Mantis #1867
2008-07-31 12:31:31 +00:00
Melanie Thielker
244ad2e614
Thank you, HomerHorwitz, for a patch that add PERMISSION_CONTROL_CAMERA
...
Fixes Mantis #1861
2008-07-31 12:25:18 +00:00
Melanie Thielker
af3e2c6e1c
Thank you, sacha magne, for a patch that implements
...
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
2008-07-31 10:51:30 +00:00
Mike Mazur
ddf126321c
Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator
...
for Vector3 type. Fix issue 1872.
2008-07-31 09:34:13 +00:00
Mike Mazur
16cf5aa2b8
Allow the list hack from issue 1863 to compile, however its behavior is
...
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur
57ec7a26cd
-make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
...
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur
56c4cc39ff
Allow assignments in if/while/do-while control statements. Fix issue 1862.
2008-07-31 04:13:46 +00:00
Mike Mazur
eef3864278
Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
...
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur
1c8f490573
More LSL_Types implicit/explicit cast changes. Fix issue 1854.
2008-07-31 00:29:19 +00:00
Melanie Thielker
3a2caa1f9a
Thank you, HomerHorwitz, for a patch that
...
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
2008-07-30 22:37:42 +00:00
Mike Mazur
f6fa4ada4e
When casting strings to int, use double.Parse() as strings may be floats. With
...
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur
d959c65b91
-implement LSLString -> Quaternion explicit cast
...
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur
a61e1ea7dc
Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822.
2008-07-28 02:36:22 +00:00
Mike Mazur
82fa53a486
-copy LSL_Types tests from Common/ to Shared/
...
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Melanie Thielker
40bb4edf8c
Refresh LSLTypes.cs in Shared/ from the one in Common/, which was
...
more complete.
2008-07-28 01:33:21 +00:00
Melanie Thielker
9fca0aca64
Reinstate the configuration option on XEngine's use of the lexical
...
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
2008-07-28 00:40:35 +00:00
Mike Mazur
9e58ce60c0
Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues 1651, 1339.
2008-07-27 23:53:18 +00:00
Melanie Thielker
50f2e88c99
Re-fix r5681. Sorry for the inconvenience. We will now return you
...
to your scheduled scripting.
2008-07-27 20:32:22 +00:00
Melanie Thielker
8cd0c90dab
Addresses Mantis #1611
...
Set thread culture for event processing threads in DotNetEngine.
XEngine already had this. Maybe someone with a French OS can verify
the fix.
2008-07-27 19:54:43 +00:00
Melanie Thielker
6c3db99a27
Addresses Mantis #1688
...
Changes erroneous return value of llGetLinkname() to "" for nonexistent
prims. Corrects an issue where the root prim of a linked set, upon
delink, retains the part number 1.
2008-07-27 19:32:43 +00:00
Charles Krinke
e4ef774875
Mantis#1831.Thank you kindly, Francis for a patch that addresses:
...
Not all combinations of list order equally likely with llListRandomize()
2008-07-27 16:21:51 +00:00
Mike Mazur
e17520621c
Log to console if C# line/column lookup fails.
2008-07-27 10:41:44 +00:00
Mike Mazur
11a3fbf4aa
Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.
2008-07-27 07:09:33 +00:00
Mike Mazur
6267db0c4c
Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
...
1832.
2008-07-27 05:42:47 +00:00
lbsa71
8e869b2fff
* Changed a number of field names to ccc (public members shouldn't be called m_)
2008-07-26 21:22:15 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +00:00
Mike Mazur
e60cf0e67d
-add test for newly introduced cast operators (issue 1818)
...
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Melanie Thielker
ac9a221993
Add mingchen's fix for string->float cast to Shared/
2008-07-25 03:47:55 +00:00
mingchen
6554c7bac5
*Fixes #0001818 : typecast string to float
2008-07-25 03:39:38 +00:00
Dahlia Trimble
c1e239dedc
llApplyImpulse now accepts any non-zero integer as not FALSE
2008-07-25 02:06:40 +00:00
Jeff Ames
a4ad6a67b7
Update svn properties. Minor formatting cleanup.
2008-07-24 15:20:47 +00:00
Dahlia Trimble
f74a9bcdc7
Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation.
2008-07-24 07:45:58 +00:00
Mike Mazur
bb777a9c3c
Replace the try/catch with a null check.
2008-07-24 05:23:42 +00:00
Mike Mazur
117cc09edc
Replace implicit casts from LSLFloat to int and uint which were removed in
...
r5487.
Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Sean Dague
cf317f5c33
refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
...
are stored in the db.
2008-07-23 22:14:29 +00:00
Melanie Thielker
db06e628de
Attempt to fix Mantis #1804
...
Fetches the correct link part to chenge.
Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23 18:37:43 +00:00
Melanie Thielker
f079af87dc
Fix Mantis #1759
...
Corrects reported agent positions.
2008-07-23 18:08:16 +00:00
Sean Dague
090159defc
refactored LandData to use properties, and cleaned up the naming on
...
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
Jeff Ames
80d8e2889e
Update svn properties. Formatting cleanup. Remove a compiler warning.
2008-07-23 13:24:25 +00:00
Mike Mazur
003487631d
Fix issue 1760. If the inventory item is not found, llSay() and throw an exception.
2008-07-23 08:03:32 +00:00
Mike Mazur
f9e2f41d7c
Enable LSL <-> C# source location mapping when reporing compiler errors to the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
2008-07-23 06:53:38 +00:00
Mike Mazur
ba17b0df27
First version of position mapping between LSL <-> C# implemented.
2008-07-23 02:51:45 +00:00
Charles Krinke
cda3206633
Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:
...
I found a problem trying to get s value directly from a quaternion q.
Compiling a script which directly access to q.s value, caused the
following error:
CS0103: 'The . symbol cannot be used in LSL except in float values
or vector components'. Detected around: q.s
I did a small change to allow alphabetic letter "s" to be interpretated
as valid identifier. This solves the problem.
2008-07-21 13:44:56 +00:00
Dahlia Trimble
ce90e2ecce
some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
2008-07-21 09:36:22 +00:00
Dahlia Trimble
08f3d212ce
does some verification of the quaternion returned by llAxes2Rot and modifies the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
2008-07-21 05:34:31 +00:00
Melanie Thielker
8ae7dc628b
Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
...
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Charles Krinke
9ff9279a7c
Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"
...
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s>
is equal to <-x,-y,-z,-s>. The result may be different from LSL
output, but it is correct. A problem of rounding caused an error
of square rooting of zero as negative number, corrected by squaring
again. Function tested 360° along 3 axes. Vector fwd, left and up
have to be normalized.
2008-07-19 14:45:10 +00:00
Melanie Thielker
bcf74416a1
Fix prim link numbers (Mantis #1781 )
...
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
2008-07-19 04:05:34 +00:00
Charles Krinke
c0e389cfff
Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Left and llRot2Up functions modified, using fast algebric
calculations instead of vectors and quaternions products.
The accuracy is the same. Normalization is now implemented.
2008-07-18 19:09:51 +00:00
Justin Clarke Casey
03bd6c91a9
* Fix http://opensimulator.org/mantis/view.php?id=1761
...
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18 11:51:27 +00:00
Mike Mazur
8b613e677f
Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.
2008-07-18 07:52:44 +00:00
Mike Mazur
0b92ff4fde
Treat LSL_Types as special cases in llList2Integer and llList2Float. This could be implemented many other places, but let's do that on a case-by-case basis.
2008-07-18 02:05:20 +00:00
Charles Krinke
bc24c0e5d7
Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Fwd function modified, using fast algebric calculations
instead of vectors and quaternions products. The accuracy is
the same. Normalization is now implemented.
2008-07-18 01:20:06 +00:00
Charles Krinke
26fd0595d7
Mantis#1598. Thank you kindly, Matth for a patch that addresses:
...
The previous implementation of llEuler2Rot was not mathematically
incorrect, but it was an awkward way of posing the problem that
led to a few degenerate cases which were not handled correctly -
for example, PI rotations around X and Z axes were wrong. I put
some comments in the source about how I arrived at the current
implementation, which I think is easier to read, and gives
results that match SL.
2008-07-17 19:11:56 +00:00
Charles Krinke
0106f96716
Mantis#1755. Thank you kindly, Matth for a patch that solves:
...
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
2008-07-16 14:30:22 +00:00
Dr Scofield
1e39bfb036
squashing warnings critters
2008-07-16 09:42:14 +00:00
Charles Krinke
4350613f1d
Mantis#1746. Thank you kindly, nlin for pointing out that
...
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-16 03:07:54 +00:00
Mike Mazur
18aa58c63b
Fix issue 1582. The maximum allowable length for a string passed to SimChat is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world.
2008-07-16 01:19:32 +00:00
Charles Krinke
620f7926f3
Mantis#1753. Thank you kindly, Kinoc for a patch that:
...
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
2008-07-16 01:00:40 +00:00
Charles Krinke
4848dcf0e3
I had to revert the Mantis#1746 patch as although the local build
...
with Windows compiled, the automated build failed.
2008-07-15 03:17:45 +00:00
Charles Krinke
ff16a886c1
Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:
...
Dot product operator in LSL_Types.cs incorrectly returns a
component-wise vector multiplication; it should return a scalar
dot product. Thanks to M. Igarashi for the patch.
2008-07-15 03:06:38 +00:00
Charles Krinke
b100b841b3
Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:
...
Changed code to include Melanie's advice about X-SecondLife-Region,
then put the exact same content format as a llHTTPRequest issued by
other grids.
2008-07-14 17:47:12 +00:00
Charles Krinke
00791594ad
Mantis#1739. Thank you kindly, Grumly57 for a patch that:
...
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
2008-07-14 13:51:54 +00:00
Melanie Thielker
07bd749ac5
Patch #9150
...
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
2008-07-14 01:39:36 +00:00
Melanie Thielker
e712678689
Patch #9147
...
Patch #4 of the region settings series. Partial functionality of the new
storage system. More patches to follow.
2008-07-14 01:27:47 +00:00
Charles Krinke
476e08286e
Mantis#1728. Thank you kindly, Mikem for a patch that solves:
...
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Justin Clarke Casey
a89385818d
* On archive loading, tell the user how many objects we are ignoring because they already exist in the scene
...
* (ability to give objects new uuids will come later)
2008-07-12 22:14:38 +00:00
Justin Clarke Casey
000d5e8b93
* minor: just some null guards and name changes to make it clearer that prim count is actually a prim local id dispenser
2008-07-12 21:03:12 +00:00
Charles Krinke
33971a7ce8
Mantis#1681. Thank you kindly, Vytek for a patch that:
...
Adds additional support for llEmail().
2008-07-12 17:23:30 +00:00
Charles Krinke
132b95ec95
Mantis#1714. Thank you kindly, Krtaylor for a patch that:
...
Solves llGetListLength fails scripts when list is not initialized.
2008-07-12 17:11:43 +00:00
Charles Krinke
e6d3f7c39d
Mantis#1691. Thank you kindly, Phrearch for a pactch that:
...
Solves llGetCameraPos() implementation + permission bug.
2008-07-12 17:04:56 +00:00
Melanie Thielker
d85774c101
Patch #9142 (No mantis)
...
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00
Melanie Thielker
746c6fb1a2
Patch #9141 (Mantis #1655 )
...
Untangles llDie handling in XEngine, which resulted in a thread being
aborted while executing inside of Scene.
2008-07-12 00:06:45 +00:00
Melanie Thielker
53461fad2c
Patch #9140 (Mantis #1683 )
...
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
2008-07-11 17:52:39 +00:00
Johan Berntsson
130d8047a2
Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-11 08:33:53 +00:00
Johan Berntsson
d41c1f40a8
Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world
2008-07-10 05:40:45 +00:00
Charles Krinke
38da8960e9
Mantis#1707. Thank you, Melanie for a patch that:
...
This patch limits the maximum size of prims that can be created using libsl bots
or modified clients to 65536mper side. It also limits LSL functions to that size.
If a prim is already physical, the enforced constraint is 10m.
A prim that is larger than 10m cannot be turned physical, either via script or UI.
Linksets are handled correctly, so scaling of physical linksets is constrained by
the size of it's largest component prim. Also, turning linksets physical is based
on the size of it's largest ptim.
2008-07-10 03:13:29 +00:00
Charles Krinke
c9a7bf7e58
Mantis#1673. Thank you kindly, Matth for a patch that:
...
LSLInteger + literal integer is not an LSLInteger.
The included patch fixes the issue: LSLInteger + literal
integer is not an LSLInteger (also fixed for -,*,/)
2008-07-10 00:40:38 +00:00
Charles Krinke
130cbd4376
Mantis#1704. Thank you kindly, Mjm for a patch that:
...
The attached patch implements llRemoveInventory().
2008-07-09 18:03:22 +00:00
Charles Krinke
9f68bcd80b
Mantis#1700. Thank you, Melanie for a patch that:
...
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
2008-07-09 14:32:21 +00:00
MW
58ce018625
for testing purposes only:
...
added void osSetParcelMediaTime(double time) command to script engines.
which sets the position of the media that is playing. Time is in seconds.
Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security.
Only tested in dotnet scripting engine, but should work in XEngine too.
2008-07-09 12:02:01 +00:00
Johan Berntsson
5609292101
Patch from Mike which removes a lexer warning in the LSL compiler.
2008-07-09 07:37:42 +00:00
Charles Krinke
01904e66f2
Mantis#1690. Thank you kindly, Melanie for a patch that:
...
esets script permissions when a script is recompiled.
2008-07-08 15:16:43 +00:00
Charles Krinke
71666a894a
Mantis#1691. Applied Melanie's modification of
...
Phrearch's iiGetCameraPos() patch, but not the original
yet. Thank you Phrearch and Melanie.
2008-07-08 15:05:23 +00:00
Johan Berntsson
a73e3b4e3f
another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike
2008-07-08 03:02:11 +00:00
Johan Berntsson
e75ff8f0a3
llscript compiler patch from Mike: adds LSL jumps and implicit variable initializations
2008-07-08 02:34:45 +00:00
Sean Dague
867d72c956
change SitTarget calls from functions to properties
2008-07-07 20:12:14 +00:00
Charles Krinke
dfd5e675c0
Mantis#1678. Thank you kindly, Vytek for a patch that:
...
Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds
for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
2008-07-06 18:39:37 +00:00
Jeff Ames
d470d30c09
Copyright notices and formatting cleanup.
2008-07-06 14:02:22 +00:00
Charles Krinke
f6375fceb4
Mantis#1674. Thank you kindly, Matth for a patch that:
...
This patch fixes an error in llSetPrimitiveParams() that
prevents correctly setting the type of the prim to SCULPT_TYPE.
2008-07-06 03:47:21 +00:00
Charles Krinke
fdbf0c39d2
Add implementation of llGetTimeOfDay()
2008-07-05 16:46:03 +00:00
Dr Scofield
2dadbc2f70
mini-warnings-safari, plus cleanup of IUserServices method naming.
2008-07-04 10:19:58 +00:00
Johan Berntsson
382fb8cea6
The new llScript-cs parser. Thanks Mike
2008-07-04 08:59:41 +00:00
Charles Krinke
ce5122ebf3
Mantis#1659. Thank you, Melanie for a patch that:
...
In LSL, the state command should have an immediate effect.
The OpenSim script engine seems to wait until the function
ends to process the state transition.
2008-07-04 00:59:38 +00:00
Charles Krinke
cf87a9c5fe
Mantis#1660. Thank you, kindly, Melanie for a patch that:
...
Attached patch changes TRUE and FALSE to be LSLIntegers.
2008-07-03 23:06:38 +00:00
Charles Krinke
b1ab680a66
Mantis#1658. Thank you, Melanie for a patch that:
...
Adds IEmailModule and a module skelaton
2008-07-03 20:58:29 +00:00
Charles Krinke
103093cf11
Mantis#1654. Thank you kindly, Matth for a patch that:
...
Updates llGetPrimitiveParams() and associated files.
2008-07-03 15:34:05 +00:00
Charles Krinke
e3a583f4b4
Mantis#1653. Thank you kindly, Vytek for a patch that:
...
Implements llGetTimeOfDay().
2008-07-03 14:25:43 +00:00
Charles Krinke
c1456936a6
Mantis#1652. Thank you, Melanie for a patch that:
...
Applies the patch to LSL_Api.cs
2008-07-03 00:40:02 +00:00
Charles Krinke
35ec3b7a3f
Mantis#1649. Thank you kindly, Matth for a patch that:
...
This patch adds the ability to set the prim type using llSetPrimitiveParams().
Seems to work ok, but there are a staggering number of cases to test,
so I have not yet tested them all.
2008-07-02 23:19:00 +00:00
Sean Dague
2c113c00cf
property encapsulation for SOP
2008-07-02 20:31:17 +00:00
Charles Krinke
7580fa5c0a
Mantis#1648. Thank you, Melanie for a patch that:
...
Fix a script Xengine deadlock/hang if llResetScript is used in changed()
2008-07-02 13:31:39 +00:00
Charles Krinke
e4d68a8b64
Mantis#1643. Thank you Melanie for a patch that:
...
In the new runtime, there is a flag to diable all os* comamnds.
The implementation of osGetScriptEngineName ignored it.
This patch fixes this.
2008-07-01 21:57:36 +00:00
Charles Krinke
0aaf0c4565
Mantis#1640. Thank you, Chernega for a patch that addresses:
...
It would appear that calling llResetScript() in state_entry() causes deadlock of region.
Probably due to llResetScript calling state_entry again. llResetScript should see who called it,
and not recall state_entry() after a state/variable reset. Once this script is in a prim,
the region/world/debug/script window shows it consuming the server (from 2,400 to 800,000 milliseconds).
2008-07-01 13:42:47 +00:00
Dr Scofield
5e63206018
From: kurt taylor (krtaylor)
...
Another new OSSL function for returning the name of the script engine
currently running, osGetScriptEngineName, added to both DotNet and XEngine
OSSL API.
2008-07-01 07:16:02 +00:00
Dr Scofield
313f7f60fd
properly explaining each #pragma warning disable
...
massaging OSHttpRequestPump to not abort on exceptions...
2008-06-30 11:57:47 +00:00
MW
037b31f9db
patch from mantis #1632 , thanks Melanie
2008-06-29 12:33:45 +00:00
Charles Krinke
590df180a4
Manti#1624. Thank you, Melanie for a patch that:
...
Sets XEngine threads to en-US culture before calling script events,
fixes i18n issues with european locales.
2008-06-28 17:47:06 +00:00
Charles Krinke
7a255d4404
Comment out StringTest until we use it somewhere.
2008-06-28 17:01:26 +00:00
Charles Krinke
2f70baee52
Mantis#1623. Thank you, Melanie for a patch that:
...
Fully defines the equality operators on the lsl types and plubs
in the script engine side of the work begun in 0001616 (aly, this one's for you)
2008-06-28 16:18:47 +00:00
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
alondria
2b4915ef27
Modified llGetInventoryName() so it indexes inventory in the same manner the LL grid does. (Thanks Teravus for pointing this out.)
2008-03-24 21:19:01 +00:00
alondria
3be815b206
Implements llGetInventoryName() - the order is based upon inventory key, which probably doesn't match 100% with LL's grid.
2008-03-24 19:58:53 +00:00
alondria
9117dfc858
Implements llGetInventoryNumber()
2008-03-24 19:29:35 +00:00
alondria
8a39d04f6d
Implements llGetInventoryType()
2008-03-24 19:11:56 +00:00
alondria
3423ed4739
Implements llGetInventoryCreator()
2008-03-24 19:05:44 +00:00
alondria
68d016517d
Implements llGetParcelPrimOwners()
2008-03-23 18:15:08 +00:00
alondria
5deca3f0c5
Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList
2008-03-23 06:08:52 +00:00
Jeff Ames
0d43aaa337
Fix llParseString2List bug when separator is longer than 1 character.
2008-03-23 00:39:35 +00:00
Jeff Ames
9a2b289e32
Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!
2008-03-22 23:52:48 +00:00
mingchen
71ca162821
*Moved LandManagement into its own region module (spiffy!)
2008-03-22 23:10:22 +00:00
alondria
5ebef6410e
Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume().
2008-03-22 23:02:41 +00:00
alondria
6ac21141c6
Adds in +, -, and / operators for Rotations (and fixes Mantis 671)
2008-03-21 21:31:18 +00:00
alondria
d3515bf22e
Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails....
2008-03-21 20:20:39 +00:00
alondria
181c5ab7d7
Implements llGetObjectDetails()
2008-03-21 20:04:52 +00:00
alondria
d76c6ee140
Implements llKey2Name().
2008-03-21 18:45:09 +00:00
alondria
5c41051fda
Implemented llOverMyLand() and correct llGetOwnerKey() to properly return the information for the argument key, opposed to the object the script is in.
2008-03-21 15:34:51 +00:00
Adam Frisby
7286bd60b0
* Converted a large number of ASCII encodings to UTF8.
...
* We should not be using ASCII anywhere except for legacy compatibility reasons.
* A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT
* This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21 02:26:00 +00:00
Teravus Ovares
dc79146d01
* Fix for #499 : linked primsets don't rotate properly when using a door script that works OK on SL
...
* Fix for #693 : llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-21 00:52:41 +00:00
Justin Clarke Casey
f747687c8f
* Patch to add llSetLinkPrimitiveParams stub
...
* Thanks krtaylor
2008-03-19 17:28:21 +00:00
Justin Clarke Casey
16cd6cd82e
* Documentation patch from krtaylor. Thanks!
2008-03-19 10:47:40 +00:00
Jeff Ames
a0e1be3280
Fixed some comparisons of LLUUIDs to null.
...
Thanks to DrSchofld for pointing this out.
2008-03-19 09:36:13 +00:00
Jeff Ames
e5b9144282
Formatting cleanup.
2008-03-18 15:30:38 +00:00
Jeff Ames
bf8b5844f2
Formatting cleanup. Minor refactoring.
2008-03-18 14:51:42 +00:00
lbsa71
9c428d9935
* Applied Grumly57 patch for #781 ; Thanks, Grumly!
2008-03-18 13:39:29 +00:00
Justin Clarke Casey
f81c491725
Patch from DrSchofld (IBM). In his own words
...
structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs.
[yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
2008-03-18 11:32:44 +00:00
Jeff Ames
47180080f0
Formatting cleanup.
2008-03-18 05:16:43 +00:00
Jeff Ames
a8aeec29da
Fix a few mono compiler warnings. Minor cleanup.
2008-03-17 17:39:42 +00:00