Jeff Ames
e40fe2db26
Update svn properties, minor formatting cleanup.
2008-11-15 02:21:52 +00:00
Justin Clarke Casey
e3770cfee6
* Allow new script creation to be locked down to only gods if specified in OpenSim.ini
...
* This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment
* Default remains to allow all users to create scripts (subject to existing permissions if enabled)
2008-11-14 18:43:40 +00:00
Melanie Thielker
edee11ff87
Reapplying a revised version of Christopher Yeoh's (IBM) patch for allow
...
inventory drop. Also adds a new flags, "propagate_permissions" to
OpenSim.ini to control that feature.
2008-11-14 17:24:56 +00:00
Dr Scofield
5c21ec6d10
reverting #7295 , as it still fails a test case (as pointed out very
...
kindly by sean) --- lesson learned: just running a "make test" is not
sufficient, you need to precede it by a "make clean".
2008-11-14 13:03:18 +00:00
Dr Scofield
5e20e32b69
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
This patch makes llAllowInventoryDrop work with the permissions module
enabled. Changes include:
- Enabled PropagatePermissions when permissions module serverside perms
is on
- change ownership of item when item is dropped into an object.
Ownership changes to the owner of the object the item is dropped into
- propagation of permissions if the permissions module enabled (eg
next-owner mask applied)
- CHANGED_ALLOWED_DROP is now passed to the change script event if an
item was allowed to be dropped into the object only because
llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being
passed).
- Sets object flags correctly when llAllowInventoryDrop is called so
clients are notified immediately of the change in state. Am not
sure that calling aggregateScriptEvents is the right way to do it,
but it works and seems to be the only way without making further
changes to update LocalFlags
2008-11-14 10:55:14 +00:00
Melanie Thielker
ca35b49b70
Make scripts in objects rezzed from script compile synchronously to close
...
a timing gap. Still not 100%, but getting there
2008-11-13 19:00:46 +00:00
Dr Scofield
4b5e09a36b
From: Alan Webb (alan_webb@us.ibm.com)
...
Fix the broken llSetTimerEvent implementation (sec == 0 was not
possible anymore).
2008-11-12 11:02:55 +00:00
Teravus Ovares
c453a41fb5
* Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified otherwise.
2008-11-12 04:49:06 +00:00
Melanie Thielker
302d65569f
Allow gods to terraform without limits. Respect the Allow Others To
...
Terraform flag in land.
2008-11-11 01:47:40 +00:00
Melanie Thielker
7eda940e7f
Fix llList2Integer to have the same semantics as an (integer) cast. Handle
...
mixed number/letter content properly.
2008-11-11 01:02:48 +00:00
Justin Clarke Casey
0f22013ae4
minor: remove mono compiler warnings
2008-11-10 19:06:01 +00:00
Melanie Thielker
0d02f53f87
Prevent AO from crashing the sim if the user logs out before the script
...
stops
2008-11-10 05:42:02 +00:00
Melanie Thielker
dd688e95e0
Add a MinTimerInterval, defaulted at 0.5s, to the scripting configuration
2008-11-10 05:33:36 +00:00
Melanie Thielker
664e8a464e
Script region crossing. This has not user functionality, but lays all the
...
groundwork.
2008-11-09 19:30:40 +00:00
Melanie Thielker
6c27321949
Cause llGetInventoryType to return the asset type, which corresponds with
...
the LSL constants.
2008-11-09 19:10:33 +00:00
Charles Krinke
83d83ebbc4
Refactor the detectparams variable from 'd' to
...
a more meaningful name of 'detectedParams'.
2008-11-08 23:55:40 +00:00
Charles Krinke
edb2344796
Mantis#2583. Thank you kindly, Idb for a patch that solves:
...
PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in
llSetPrimitiveParams so support for these is in the patch.
Also two deprecated functions throw errors. They are changed
to behave as in SL: llSetPrimURL - Does nothing except the sleep
(currently commented out) & llRefreshPrimURL shouts
"llRefreshPrimURL - not yet supported" on the error channel
2008-11-08 21:25:26 +00:00
Tedd Hansen
9511a8c763
Work in progress on SECS stuff. Have been holding it off until after 0.6 release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
2008-11-08 17:35:48 +00:00
Melanie Thielker
5c0fd512e8
Fix llParseString* to create LSLStrings. This makes llListFindList work
...
on lists created by parsing
2008-11-08 15:31:02 +00:00
Melanie Thielker
e93828fe00
Add some discovery code, laying groundwork for region-crossing scripts
...
No user functionality yet
2008-11-08 14:35:52 +00:00
Melanie Thielker
833f5e8bed
Refactor IEventReceiver back into IScriptEngine
2008-11-08 02:24:34 +00:00
Melanie Thielker
48c6d052d9
Attachments, attachments, and, did I say attachments?
...
Too many fixes to list.
2008-11-07 05:48:44 +00:00
Justin Clarke Casey
1e527f3e86
* Fix test failure in CSCodeGeneratorTest.TestJumps()
...
* Need new NoOp(); generated part
* Not Homer's fault - this test ain't running under Windows! (needs fixing!)
2008-11-06 23:32:39 +00:00
Melanie Thielker
9e4fc8e03a
Mantis #2571
...
Thank you, idb, for a patch that fixes the jump function in LSL.
2008-11-06 23:10:49 +00:00
Jeff Ames
486ac1e12f
Update svn properties, minor formatting cleanup.
2008-11-06 22:24:34 +00:00
Homer Horwitz
1df67a37dc
Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.
...
As those aren't viewer-initiated TPs, the viewer has to be informed.
This should fix Mantis #2351 and #2397 .
2008-11-06 20:38:34 +00:00
Melanie Thielker
4cd7907314
Change threat level of osMakeNotecard to High because of it's griefing
...
potential (asset bloat, asset server DOS due to no enforced delay)
Formatting cleanup. Change default permissions on the notecard to
not include "anyone can copy" and "anyone can move", as they are
meaningless on non-prim items.
2008-11-06 14:37:41 +00:00
Dr Scofield
44b0c59ba9
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The following patch implements osMakeNotecard as specified on the OpenSim website
2008-11-06 09:12:14 +00:00
Justin Clarke Casey
590cff9956
* Zap the letters that accidentally crept in to the license in EventQueueThreadClass
...
* (damn, Teravus spotted my plan to slowly change all the licenses in OpenSim letter by letter)
2008-11-05 20:13:53 +00:00
Justin Clarke Casey
8f3c5dbe5c
* Apply second patch in http://opensimulator.org/mantis/view.php?id=2561
...
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
2008-11-05 15:26:10 +00:00
Jeff Ames
638fe7a7b5
Update svn properties, minor formatting cleanup.
2008-11-05 15:15:41 +00:00
Justin Clarke Casey
b84417a220
* Apply http://opensimulator.org/mantis/view.php?id=2561
...
* This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet
have these).
* Thanks StrawberryFride
2008-11-05 14:02:36 +00:00
Sean Dague
ea27b95f8e
From: Rob Smart <SMARTROB@uk.ibm.com>
...
This patch allows an object to directly message another object given its
key using the method osMessageObject(key objectUUID,string message).
to communicate with an object it must implement the dataserver listener
method. The dataserver method is passed the key of the calling object
and a string message.
2008-11-04 20:48:35 +00:00
Justin Clarke Casey
03c402842a
* Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot
2008-11-04 20:43:11 +00:00
Justin Clarke Casey
97d320d7d1
* Practise some defensive programming - gracefully terminate the thread if there is a problm in the world map module rather than bringing down the whole server.
2008-11-04 20:23:18 +00:00
Mike Mazur
6e14d1005a
Prefix LSL variables which are C# keywords with @ instead of _ when translating from LSL to C#. Thanks idb for the patch. Fix issue 2546.
2008-11-04 01:30:39 +00:00
Charles Krinke
07ba2f4363
Mantis #2530 . Thank you kindly, Idb for a patch that:
...
The attached patch changes the casts from explicit to implicit.
2008-11-03 01:57:10 +00:00
Melanie Thielker
44852158f2
Mantis #2518
...
Thank you, idb, for a patch that fixes the conflicts of lsl identifiers
with c# keywords
2008-11-01 23:50:19 +00:00
Justin Clarke Casey
87b8f327aa
* Apply http://opensimulator.org/mantis/view.php?id=2440
...
* The attached patch changes the LSLInteger operator overrides for == and != to return LSLIntegers 1 or 0 instead of a bool and adds similar operator overrides for >, <, >= and
<=
* Thanks idb!
2008-11-01 23:15:16 +00:00
Justin Clarke Casey
e3864de621
* Apply http://opensimulator.org/mantis/view.php?id=2521
...
* Fix not tests in LSL which require implicit casting (see mantis for an example)
2008-11-01 22:18:26 +00:00
Justin Clarke Casey
9366a234cf
* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than SOP.IsAttachment
2008-11-01 22:04:35 +00:00
Jeff Ames
337da2a7a3
Update svn properties, minor formatting cleanup.
2008-11-01 07:21:40 +00:00
Dr Scofield
537cd4708f
From: Chris Yeoh (yeohc@au1.ibm.com)
...
Here's the patch that clamps llGround to using sane values avoiding
runtime errors.
2008-10-30 15:09:43 +00:00
Charles Krinke
87e7ff5932
Thank you kindly, NLin for an implementation patch
...
for llSetHoverHeight() and llStopHover(). I believe
this gets is to less then 50 LSL functions left to
implement.
2008-10-30 14:06:00 +00:00
Justin Clarke Casey
742514b0d7
* Apply http://opensimulator.org/mantis/view.php?id=2492
...
* object_rez event should now be sent to all scripts in the prim
* Thanks idb!
2008-10-29 20:58:11 +00:00
Justin Clarke Casey
7fdd6b74e3
* Apply patch in http://opensimulator.org/mantis/view.php?id=2494
...
* Introduces missing casts for float, integer, vector, quaterion and string to list
* Thanks idb
2008-10-29 20:09:02 +00:00
Justin Clarke Casey
8367353ea3
minor: indentation corrections
2008-10-29 20:05:16 +00:00
Melanie Thielker
8ea4553d39
Mantis #2486
...
Thank you, nlin, for a patch that fixes serialization of vector and
quaternion types for script state.
2008-10-28 10:14:44 +00:00
Charles Krinke
a59ca765fe
Thank you kindly, Idb for a patch that solves:
...
LSL - Bitwise operators OR and XOR do not work
on integer variables
2008-10-27 00:59:26 +00:00
Charles Krinke
8a6042f063
Thank you kindly, Idb for a patch that solves:
...
llGetRot and llGetRootRotation return the wrong
values when the object is attached
2008-10-27 00:51:50 +00:00