aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis#1623. Thank you, Melanie for a patch that:Charles Krinke2008-06-281-1/+7
| | | | | | 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)
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-2711-35/+83
|
* Mantis#1475. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-06-072-222/+830
| | | | | | | This patch brings the Yield Prolog in sync with the YP r669. Biggest item is support for functions asserta and assertz , providing dynamic databases.
* Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-051-1/+1
| | | | | | | | | | | | | 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.
* Mantis#1441. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-06-041-4/+30
| | | | | | | 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.
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-0417-176/+176
|
* remove the prolog parser from all LSL/C# scripts (it was adding overheadSean Dague2008-06-021-12/+6
| | | | | | | | 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.
* Update svn properties.Jeff Ames2008-06-0117-13548/+13543
|
* * Enabled the Yield Prolog Script Enginelbsa712008-05-311-8/+25
|
* * minor: Add copyright statementJustin Clarke Casey2008-05-311-0/+28
|
* * Remove rogue ? to get things compiling againJustin Clarke Casey2008-05-311-1/+1
|
* Mantis#1314. Thank you kindly, Kinoc for YieldProlog.Charles Krinke2008-05-3117-0/+13548
| | | | | | | | 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.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-301-4/+4
|
* * Fix string literal with URL + LLcommand();Teravus Ovares2008-05-291-5/+5
| | | | | | * 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)
* Formatting cleanup.Jeff Ames2008-05-281-2/+2
|
* * Resolves comment removal in string literals in the LSL2CSConverterTeravus Ovares2008-05-281-17/+19
|
* another take on the whole string cleansing, by adding specific poisonSean Dague2008-05-271-2/+5
| | | | | | keywords in foo.bar strings. Add items to the poison array to block them.
* * Revert last commit as it opens sim owners up to all sorts of nasty ↵Teravus Ovares2008-05-271-3/+3
| | | | | | | | scripts. * If the regex that we're using isn't good enough, we really need to make it better.
* comment out the x.y security check in the script engine because it's so ↵Sean Dague2008-05-271-3/+6
| | | | | | | | aggressive it blocks string = "http://osgrid.org", amoung other things.
* This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield2008-05-261-2/+2
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-251-2/+2
|
* Thank you very much, Xantor for a patch that:Charles Krinke2008-05-251-2/+28
| | | | | | | | | | 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).
* Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames2008-05-181-12/+3
| | | | types and null.
* * whoops, misplaced / where should have been \Teravus Ovares2008-05-171-1/+1
|
* * Update on the script engine LSL parser. Blocks all static objects and ↵Teravus Ovares2008-05-171-8/+50
| | | | method references.
* Formatting cleanup.Jeff Ames2008-05-164-35/+16
|
* * Tweaked a regex that was returning invalid results in some cases.Teravus Ovares2008-05-131-1/+1
|
* * Change LSL -> C# translated script console output to use the logger (at ↵Justin Clarke Casey2008-05-071-4/+7
| | | | DEBUG level) rather than Console.Writeline
* Thank you, Middelink for a patch that fixes the regular expresionCharles Krinke2008-05-071-2/+2
| | | | | | missing the numbers after the initial letter of the identifier.
* * Unraveled the DEBUG_CHANNEL mystery.Teravus Ovares2008-05-051-1/+1
| | | | | | | | * 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
* * Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares2008-05-013-489/+3
| | | | | | | script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
* Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares2008-04-303-241/+499
| | | | | | | 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.
* * For info about this commit, see last commit.Teravus Ovares2008-04-261-3/+16
|
* * Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares2008-04-261-0/+5
|
* * Implements llTarget, llTargetRemove, at_target(), not_at_target()Teravus Ovares2008-04-251-5/+5
|
* * Fixed an annoying pop-up box when crossing borders.Teravus Ovares2008-04-231-2/+2
|
* * Fixes lsl scripts with no state_entry event at allTeravus Ovares2008-04-231-1/+39
| | | | | * Fixes event reporting on states with no state_entry in lsl scripts.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-214-20/+19
| | | | (this took a while to run).
* Removed some script engine noise from consoleTedd Hansen2008-04-202-6/+6
|
* * Fixed up event discovery regexes to work with a specific string format m#1012Teravus Ovares2008-04-201-2/+2
|
* * Updates LSL2CS converterTeravus Ovares2008-04-201-1/+199
| | | | | | | | | * 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.
* Fixed LSL State support.Teravus Ovares2008-04-151-33/+43
| | | | | | | | * 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
* **Big ass update warning**Adam Frisby2008-03-301-0/+23
| | | | | | | | * 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.
* Fix a couple more warnings.Jeff Ames2008-03-251-5/+5
|
* * Applied Grumly57 patch for #781; Thanks, Grumly!lbsa712008-03-181-7/+7
|
* Formatting cleanup.Jeff Ames2008-03-185-136/+131
|
* Ok, so NOW scripts work. New patch to break them coming soon.Tedd Hansen2008-02-241-1/+1
|
* By now you all have learned that when I'm committing scripting usually ↵Tedd Hansen2008-02-241-3/+3
| | | | | | | doesn't work, so no big surprise. :) Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
* Forgot to change what class compiled scripts must inherit from to get their ↵Tedd Hansen2008-02-241-3/+3
| | | | commands :)
* Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added ↵Tedd Hansen2008-02-241-3/+1
| | | | new OSSL_BuilIn_Commands class where we can start adding our own modular commands.