aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change the way IRegionModule us referenced by IEmailModule toMelanie Thielker2010-06-281-1/+1
| | | | allow later conversion to new style
* minor: Print out port that http servers are usingJustin Clark-Casey (justincc)2010-03-251-6/+6
| | | | do this in callers so that we know who is setting up these things
* Fixed several unhandled exceptions and performance issues with ↵John Hurliman2010-03-161-11/+9
| | | | PrimitiveBaseShape.Textures. This really should be moved from a property to a method if it is going to decode a byte[] into a TextureEntry each time
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
|
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-1/+2
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Endline fixTeravus Ovares (Dan Olivares)2010-02-061-12/+12
|
* minor: one method docJustin Clark-Casey (justincc)2010-02-041-0/+1
|
* refactor: move world comm message queueing into its own methodJustin Clark-Casey (justincc)2010-02-021-23/+13
|
* Resolve one more conflict I overlookedMelanie2010-01-291-14/+0
|
* Revert "Updates all IRegionModules to the new style region modules."Melanie2010-01-298-203/+89
| | | | This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
* Changes WorldCommModule to ISharedRegionModule.Revolution2010-01-281-1/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Updates all IRegionModules to the new style region modules.Revolution2010-01-238-86/+210
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Fix a major security problem with osSetDynamicTexture which allowed the ↵CasperW2010-01-181-5/+12
| | | | deletion of /any/ asset.
* Make locking of timers and listeners in script related functions consistentJustin Clark-Casey (justincc)2009-11-271-3/+6
| | | | | See http://opensimulator.org/mantis/view.php?id=4316 Thanks KittyLiu!
* minor: very minor formatting changeJustin Clark-Casey (justincc)2009-11-161-4/+1
|
* Fixed XMLRPC return paramsMic Bowman2009-11-101-1/+1
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-051-4/+1
| | | | unknown asset type, and log an error if it ever does happen
* Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman2009-10-091-2/+2
| | | | contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
* Revert "Merging in diva's locking fixes"Melanie2009-10-071-19/+18
| | | | This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
* Merging in diva's locking fixesJohn Hurliman2009-10-061-18/+19
|\
| * Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto2009-10-061-18/+19
| | | | | | | | is about half of the code base reviewed.
* | Fixing a few compile errors in the previous commitJohn Hurliman2009-10-062-2/+0
|/
* Merge branch 'diva-textures-osgrid'Melanie2009-10-041-2/+2
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-021-2/+2
| | | | | | | | | | | | Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
* | Merge branch 'master' into diva-texturesMelanie2009-10-022-21/+252
|\ \ | |/ |/|
| * Formatting cleanup.Jeff Ames2009-10-011-4/+4
| |
| * minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-09-251-4/+3
| |
| * Moved RegionName from RegionInfo to SimpleRegionInfo.Diva Canto2009-09-221-242/+242
| |
| * Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-221-37/+269
| | | | | | | | | | | | | | | | Http-in and makes the host name for URL generation configurable. Applied with changes: llGetSimulatorHostname was not changed, because the change breaks existing behavior and carries a data exposure risk. That value needs to be configurable, the proposed fixed change is not acceptable.
* | Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman2009-09-301-1/+1
|/ | | | | | | | LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory * Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K * Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
* Apply http://opensimulator.org/mantis/view.php?id=4142Justin Clark-Casey (justincc)2009-09-141-1/+1
| | | | | | Re-enable XMLRPC scripting calls Moves XMLRPC scripting setup to a separate section Thanks Fly-Man-
* oops. fixing missing argument.dr scofield (aka dirk husemann)2009-08-311-1/+1
|
* adding log message to vector render to inform about default font being useddr scofield (aka dirk husemann)2009-08-311-0/+1
|
* - making font name used by VectorRenderModule configurable: can be setdr scofield (aka dirk husemann)2009-08-311-3/+12
| | | | | | | | | | | via [VectorRender] font_name = "Comic Sans MS" in OpenSim.ini - adding osSetFontName OSSL function
* Implements osDrawPolygon, similar to already implemented osDrawFilledPolygonArthur Valadares2009-08-281-0/+6
|
* Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows ↵Arthur Valadares2009-08-251-7/+70
| | | | | | using arrow, diamond, round and flat caps. * Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
* Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing ↵Arthur Valadares2009-08-211-11/+37
| | | | | | functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far. * Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
* Replace the Replaceable modules nameMelanie2009-08-101-1/+1
|
* * Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)2009-08-071-2/+3
| | | | 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
* * Remove some mono compiler warningsJustin Clark-Casey2009-08-051-3/+3
|
* Formatting cleanup.Jeff Ames2009-07-231-6/+6
|
* Thank you, patnad, for a patch to advance the UrlModule's functionality.Melanie Thielker2009-07-221-6/+9
| | | | | | Mantis #3712
* Committing the interface change and the addition to the modules to getMelanie Thielker2009-07-101-0/+5
| | | | | | the ball rolling on replacable modules. No user functionality yet
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-1/+1
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* * minor: remove one mono warningJustin Clarke Casey2009-06-121-1/+1
|
* Formatting cleanup. Ignore some generated files.Jeff Ames2009-06-091-2/+2
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-091-30/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change addresses two issues: [1] It adds a flag field to the blendface call which allows the caller to indicate whether or not the generated asset is temporary, and whether or not the asset being replaced should be explicitly retired fromt the memory cache. The decimal values correspond to: 0 - Permanent asset, do not expire old asset 1 - Permanent asset, expire old asset 2 - Temporary asset, do not expire old asset 3 - Temporary asset, expire old asset '3' corresponds to the default behavior seen today, and is the continued behavior of the non-blendface calls. [2] The dynamic texture routines are highly-asynchronous and can be scheduled simultaneously on a multi-core machine. The nature of the texture management interfaece is such that updates may be lost, and the nature of asynchornous operation means that they may be processed out of order. A lock has been added to ensure that updates are at least atomic. No attempt has been made to enforce ordering. The lock applies to the SceneObjectPart being updated and is held for the lifetime of the TextureEntry used to carry texture updates (the one instance carries all faces supported by the prim). Users of these services should remember that the dynamic texture call is asynchronous and control will be returned *before* the texture update has actually occurred. As a result, a isubsequent GetTexture call may not return the expected asset id. A script must wait for the corresponding TEXTURE_CHANGED event before retrieving any texture information.
* Comment out unused variables / private fields to avoid compiler warnings.Jeff Ames2009-06-041-1/+1
|
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-031-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixes wild swings in memory usage related to usage of GetDrawStringSize() We've been seeing wild swings in memory usage and a large chunk of memory leak. From analysing this it's pretty clear that the mono garbage collector is rather buggy! When exercised heavily it looks like it frees more than its meant to resulting in crashes. GetDrawStringSize() measures the size in pixels of text. To do this memory for an image is allocated and used to call the GDI text measure functions. Although no reference to the temporary memory for the measuring is kept, it takes quite a while for the mono garbage collector to clean up - so if lots calls to GetDrawStringSize() are made at once there can be a spike in memory usage. If the garbage collector is not fast enough then the GDI layer runs out of memory. It also looks like the garbage collector is not always reclaiming all of the memory. I've attached an OpenSim patch which works around the garbage collector issues. Instead of dynamically allocating memory for measuring text sizes, it serialises (on a per region basis) access to a single block of memory. The effect of this is to be nicer to the garbage collector as it has a lot less work to do, at the cost of some theoretical loss in performance (nothing noticeable with our tests which hit it pretty hard). OpenSim still does leak memory slowly, but it is a lot more stable with this patch. I suspect that either the garbage collector misses bits of freed memory or the GDI/cairo layer leaks a bit each time a texture is created. Thats going to be a lot harder to hunt down, but for reference if someone has OpenSim running on Windows it would be interesting to see if it has the same problem as it would tell us if its a mono/GDI problem or an OpenSim problem.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-031-2/+5
| | | | | | | | | | | Modify dynamic texture handling so that an explicitly targetted face is not scheduled for immediate expiration. The requirement for precaching explicitly requires these assets to persist. They do however remain temporary. This approach leaves the legacy mode of operation (ALL_SIDES) unchanged in this respect.