aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Change XEngine startup to enable it to run as a normal region moduleMelanie Thielker2008-09-211-27/+40
| | | | | | rather than a special one
* * Duh, forgot I had undone some of the changes I meant to include in the ↵Justin Clarke Casey2008-09-191-2/+2
| | | | previous commit
* * Remove one possible deadlock situation as seen todayJustin Clarke Casey2008-09-191-1/+7
| | | | | | | | * 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
* XEngine: fix collisions, add event coalescing for collision events.Melanie Thielker2008-09-181-11/+14
| | | | | | | Fix a nasty concurrency issue that could cause a high event frequency to start more than one thread pool job for a single script.
* Kan-Ed fix series. Fix llTakeControls to behave as documented.Melanie Thielker2008-09-171-0/+1
| | | | | | | | | 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.
* * Change XEngine default configuration values to match those in ↵Justin Clarke Casey2008-09-161-3/+3
| | | | | | | | 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
* * minor: method documentationJustin Clarke Casey2008-09-161-29/+39
|
* Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker2008-09-131-0/+8
| | | | | | | This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
* Update svn properties, formatting cleanup.Jeff Ames2008-09-091-11/+11
|
* Implement proper persistence of the following prim properties:Melanie Thielker2008-09-081-0/+8
| | | | | | | | | 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.
* Xengine patch to force a persistence save on script creation. This preventsMelanie Thielker2008-09-071-3/+24
| | | | | | | | | 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
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-062-61/+60
| | | | | | | * 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.
* fix: PostInitialise() not being called on script engines (nasty one that)Dr Scofield2008-09-021-48/+45
| | | | | | cleanup: warnings, readability
* Change some chat output functions so that text is truncated atMelanie Thielker2008-09-021-2/+2
| | | | | | | | 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.
* Update svn properties, formatting cleanup.Jeff Ames2008-08-281-2/+1
|
* Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,Melanie Thielker2008-08-282-3/+68
| | | | | | | | | 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.
* Thank you, salahazar, for a patch that corrects the behavior ofMelanie Thielker2008-08-272-28/+42
| | | | | | | llDetectedLink(). Also a small refactor to remove an interface member from IScriptEngine.
* Refactor XScriptInstance to IScriptInstance and move into Shared/. NowMelanie Thielker2008-08-271-1048/+28
| | | | | | | | 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.
* Refactor Executor into the script app domain and IScript. This changesMelanie Thielker2008-08-273-325/+3
| | | | | | | an implicit reference into a proxied one and further reduces memory consumption of XEngine
* Some complex re-ordering to make prebuild do what needed to be done.Melanie Thielker2008-08-231-0/+1
| | | | | | | | | 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
* Formatting cleanup.Jeff Ames2008-08-181-3/+3
|
* Fix wrong bitmask value in script engine that would make a mess ofMelanie Thielker2008-08-041-1/+1
| | | | | | the ObjectFlags. Good catch, gsky, thank you!
* * Changed a number of field names to ccc (public members shouldn't be called m_)lbsa712008-07-261-1/+1
|
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-231-4/+4
|
* Fix prim link numbers (Mantis #1781)Melanie Thielker2008-07-191-9/+3
| | | | | | | | | | | 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.
* Patch #9141 (Mantis #1655)Melanie Thielker2008-07-121-2/+10
| | | | | | | Untangles llDie handling in XEngine, which resulted in a thread being aborted while executing inside of Scene.
* Mantis#1690. Thank you kindly, Melanie for a patch that:Charles Krinke2008-07-081-0/+6
| | | | | esets script permissions when a script is recompiled.
* Copyright notices and formatting cleanup.Jeff Ames2008-07-061-15/+15
|
* mini-warnings-safari, plus cleanup of IUserServices method naming.Dr Scofield2008-07-041-1/+1
|
* Mantis#1659. Thank you, Melanie for a patch that:Charles Krinke2008-07-041-31/+36
| | | | | | | 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.
* Mantis#1648. Thank you, Melanie for a patch that:Charles Krinke2008-07-021-2/+25
| | | | | Fix a script Xengine deadlock/hang if llResetScript is used in changed()
* Mantis#1640. Thank you, Chernega for a patch that addresses:Charles Krinke2008-07-011-2/+7
| | | | | | | | 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).
* properly explaining each #pragma warning disableDr Scofield2008-06-301-0/+3
| | | | | | massaging OSHttpRequestPump to not abort on exceptions...
* Manti#1624. Thank you, Melanie for a patch that:Charles Krinke2008-06-281-0/+4
| | | | | | Sets XEngine threads to en-US culture before calling script events, fixes i18n issues with european locales.
* Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke2008-06-282-26/+158
| | | | | not break trunk.
* * Melanie adds the event manager back to the XEngine so all yr events are ↵Teravus Ovares2008-06-281-2/+4
| | | | hers, I mean, fire.
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-272-10/+10
|
* Mantis#1600. Thank you, Melanie for a patch that:Charles Krinke2008-06-261-1/+1
| | | | | | Fixes persistence of variable values to address broken persistence in the big refactor.
* Update svn properties. Add copyright notices.Jeff Ames2008-06-251-0/+27
|
* * Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, ↵lbsa712008-06-2422-14317/+146
| | | | | | | | | 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!
* A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.csCharles Krinke2008-06-131-8/+0
| | | | | and its copy LSL_ScriptCommands.cs
* Update svn properties, clean up formatting, refactor out duplicate ↵Jeff Ames2008-06-131-13/+13
| | | | hard-coded port numbers.
* *Parcel Prim Count Maximums moved to their own functions so modules can ↵mingchen2008-06-111-1/+1
| | | | override the default method of calculating how many prims a parcel can have.
* Mantis#1529. Thank you kindly, Grumly57 for a patch toCharles Krinke2008-06-101-1/+2
| | | | | | xengine to: Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-093-12/+12
|
* Mantis#1498. Thank you Melanie for an XEngine patch that addresses:Charles Krinke2008-06-081-8/+15
| | | | | | | | 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
* Mantis#1496. Thank you kindly, Melanie for a patch that:Charles Krinke2008-06-075-106/+283
| | | | | | | | 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.
* Patch for mantis#1493: Several patches to xengine. Thanks Melanie!Adam Johnson2008-06-074-53/+278
|
* Mantis#1476. Thank you kindly, Melanie for a patch that:Charles Krinke2008-06-071-1/+1
| | | | | | | 0001476: [PATCH] Allow larger script state files to be loaded The previous limitation on load file size was too small for larger script projects
* Minor formatting cleanup.Jeff Ames2008-06-064-16/+16
|