aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureDownloadModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-23Don't serve texture preview from other people's objects if youMelanie Thielker1-0/+22
havenever seen that texture before.
2008-11-19Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker1-33/+25
release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
2008-11-17Make texture decode errors nonfatal. The texture send is simply droppedMelanie Thielker1-25/+33
2008-11-04* Prevent texture sender thread termination from immediately crashing the simJustin Clarke Casey1-18/+28
2008-10-29* Check in (disabled) results of not persisting avatar textures but rather ↵Justin Clarke Casey1-2/+2
sending ImageNotFound to clients if avatar textures are missing * Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind * There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but instead I'm going to opt for the easy solution of keeping them in the asset database, for now
2008-09-26* Patch from JHurlimanTeravus Ovares1-2/+3
* Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* 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.
2008-05-16Formatting cleanup.Jeff Ames1-2/+2
2008-05-01* Rolled back a few changes.Adam Frisby1-3/+6
2008-05-01* Spring cleaning on Region.Environment. Adam Frisby1-6/+3
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
2008-05-01Update svn properties. Minor formatting cleanup.Jeff Ames1-218/+218
2008-04-30* Cruft removal step #1. Cleaning Modules directory.Adam Frisby1-31/+35
2008-04-30* Refactored Environment/Modules directory - modules now reside in their own ↵Adam Frisby1-218/+215
directory with any associated module-specific classes. * Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.) * This should be moved into a seperate project file.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-1/+1
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-26/+26
2008-03-03* Removed and sorted using clauses in a number of files.Adam Frisby1-2/+0
* Cleaned up ITerrainChannel * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes * Implemented Export functionality for RAW32 terrain loader * Implemented Import/Export for SLRAW terrain loader * Implemented Export for JPEG terrain loader
2008-02-25* Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey1-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
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen1-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.
2008-02-21Remove a couple compiler warnings.Jeff Ames1-3/+3
2008-02-20* Only count download requests for assets which are not already waiting for ↵Justin Clarke Casey1-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
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-19Doc correctionJustin Clarke Casey1-1/+1
2008-02-19* Add documentationJustin Clarke Casey1-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.
2008-02-19Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen1-0/+1
threads so it will be easier to debug.
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames1-1/+1
2008-02-09* In the most basic situations, ClientView and ScenePresence no longer leak ↵Justin Clarke Casey1-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
2008-02-09Mostly debugging verbosity which I shall very shortly comment out.Justin Clarke Casey1-1/+6
Just want to try this out on windows quickly.
2008-01-16First part of changing prim's permission flags to use the correct enum ↵MW1-1/+1
(libsl PermissionMask)
2008-01-16* Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually ↵Teravus Ovares1-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.
2008-01-03* Added removal of TextureSenders and UserTextureDownloadService on agent ↵lbsa711-1/+17
leaving region.
2008-01-03* Some work on TextureDownloadModulelbsa711-214/+2
* fixed Cancel bug
2008-01-02* Trying to address TextureSender issueslbsa711-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
2007-12-27* Optimized usingslbsa711-19/+23
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-26* This update includes a wide range of changes to the ODEPlugin for avatar ↵Teravus Ovares1-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.
2007-12-18textures that fit in one packet expect the packet number to be 1. You clear ↵Brian McBee1-1/+1
texture should now work.
2007-12-11A few minor changes/additions/fixes.MW1-1/+1
2007-12-10Changed how TextureDownloadModule is initialised, due to some weird ↵MW1-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).
2007-12-10more work on texture downloading.MW1-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.
2007-12-07Enabled the TextureDownloadModule, so that hopefully I might get some ↵MW1-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.
2007-11-18* Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares1-3/+3
This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18Attempt to get World Map working in Grid mode, will need to be using the ↵MW1-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.
2007-11-16More cleaning up when deleting regions from a instance. NOTE: ↵MW1-0/+4
IGridServices.DeregisterRegion() method needs implementing for grid mode.
2007-11-04Added support for OpenSim application plugins (as requested by Adam), which ↵MW1-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.
2007-10-31made illogical bitwise operations logicalJeff Ames1-1/+1
2007-10-30* Optimized usingslbsa711-26/+23
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-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.
2007-10-29Started the process of cleaning up AssetCache and moving most of the code ↵MW1-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.
2007-10-19changes to pass nini config object to the modules that getSean Dague1-76/+77
loaded so that they may read out any bits they are interested in
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa711-1/+29
2007-10-10* Gave ModuleLoader some good lovin'lbsa711-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