aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey2008-02-251-9/+13
| | | | | | | | | | | | an image * This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak * If a texture is not found then the "Image not found" texture will now be displayed clientside * If it works, this should resolve mantis 676 * Non texture image requests do not receive this packet yet * This will require a prebuild
* "threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2008-02-211-0/+1
| | | | compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
* Remove a couple compiler warnings.Jeff Ames2008-02-211-3/+3
|
* * Only count download requests for assets which are not already waiting for ↵Justin Clarke Casey2008-02-201-4/+4
| | | | | | | | | data from the asset server * This should stop the constant increase in the download requests statistics * If you see stat numbers for download requests which are far from what you'd expect, please report
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* Doc correctionJustin Clarke Casey2008-02-191-1/+1
|
* * Add documentationJustin Clarke Casey2008-02-191-4/+30
| | | | | | | | * The reason why pending downloads tick ever upwards is because missing assets are never signalled to the TextureSender * Rectifying this is not straightfoward, but this will constitute the next patch. * This does not explain the memory leak.
* Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen2008-02-191-0/+1
| | | | threads so it will be easier to debug.
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-1/+1
|
* * In the most basic situations, ClientView and ScenePresence no longer leak ↵Justin Clarke Casey2008-02-091-2/+8
| | | | | | | | | memory * However, I'm no longer sure they were even a big contributory factor (to this particular leak, there are other causes of other leaks). I need better measurement techniques * Removed most of my debugging gawp
* Mostly debugging verbosity which I shall very shortly comment out.Justin Clarke Casey2008-02-091-1/+6
| | | | | | Just want to try this out on windows quickly.
* First part of changing prim's permission flags to use the correct enum ↵MW2008-01-161-1/+1
| | | | (libsl PermissionMask)
* * Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually ↵Teravus Ovares2008-01-161-0/+3
| | | | | | | accurate. * We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter. The rest of them are actually implemented now.
* * Added removal of TextureSenders and UserTextureDownloadService on agent ↵lbsa712008-01-031-1/+17
| | | | leaving region.
* * Some work on TextureDownloadModulelbsa712008-01-031-214/+2
| | | | | * fixed Cancel bug
* * Trying to address TextureSender issueslbsa712008-01-021-32/+43
| | | | | | * The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present * introduced some TryGetValue and various code convention stuff
* * Optimized usingslbsa712007-12-271-19/+23
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * This update includes a wide range of changes to the ODEPlugin for avatar ↵Teravus Ovares2007-12-261-1/+9
| | | | | | | | | | movement, including: ** - avatar can navigate stairs better now ** - avatar can land without shooting into the air ** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m ** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.
* textures that fit in one packet expect the packet number to be 1. You clear ↵Brian McBee2007-12-181-1/+1
| | | | texture should now work.
* A few minor changes/additions/fixes.MW2007-12-111-1/+1
|
* Changed how TextureDownloadModule is initialised, due to some weird ↵MW2007-12-101-4/+10
| | | | behaviour from the module loaded which was resulting in a lot of unused TextureDownloadModule objects being created (and each starting up a thread).
* more work on texture downloading.MW2007-12-101-100/+176
| | | | | | | Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon. Removed the old texture handling/sending code from AssetCache. A few other small changes/fixes.
* Enabled the TextureDownloadModule, so that hopefully I might get some ↵MW2007-12-071-15/+16
| | | | feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend.
* * Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares2007-11-181-3/+3
| | | | This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
* Attempt to get World Map working in Grid mode, will need to be using the ↵MW2007-11-181-1/+1
| | | | | | | | | | grid asset server for it to work correctly and has only been quickly tested in a three region grid. Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers. Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place). Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza. A few other changes/fixes.
* More cleaning up when deleting regions from a instance. NOTE: ↵MW2007-11-161-0/+4
| | | | IGridServices.DeregisterRegion() method needs implementing for grid mode.
* Added support for OpenSim application plugins (as requested by Adam), which ↵MW2007-11-041-1/+1
| | | | | | | use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management. A little bit more refactoring of Scene.
* made illogical bitwise operations logicalJeff Ames2007-10-311-1/+1
|
* * Optimized usingslbsa712007-10-301-26/+23
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-2/+1
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* Started the process of cleaning up AssetCache and moving most of the code ↵MW2007-10-291-5/+192
| | | | into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache.
* changes to pass nini config object to the modules that getSean Dague2007-10-191-76/+77
| | | | | | loaded so that they may read out any bits they are interested in
* * Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa712007-10-151-1/+29
|
* * Gave ModuleLoader some good lovin'lbsa712007-10-101-47/+47
| | | | | | | * Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin * Made LogBase thread-safe (or at least not thread-ignorant) * Ignored some genned files
* getting all our line endings consistant againSean Dague2007-10-051-8/+8
|
* * Modernized ScriptManager to new interface-based module calls.lbsa712007-09-191-16/+10
| | | | | * 'remove redundant this qualifier' ftw
* fixing me some line endingsSean Dague2007-09-171-54/+54
|
* Some work on Module loading/management.MW2007-09-041-0/+5
| | | | | | | | Some more modules templates classes (hoping that someone will pick some of these and work on implementing them). Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
* Added some place holder classes for various modules.MW2007-08-301-0/+49
Some work on the asset cache, can people please test this. including on one of the public systems so we can see if it causes problems with multiple users.