aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-043-39/+39
| | | | | - trim trailing whitespace
* OK, commenting the return again :-/diva2009-02-031-2/+2
|
* Putting the return back in AddCapsHandler upon attempt at adding CAPs twice. ↵diva2009-02-011-2/+5
| | | | The return seems to have been commented in 8038, as an attempt at fixing multiple TP problems later identified to be deadlocks. CAPs should never be overwritten, or the viewer can get confused. Right now this method is erroneously being called twice because of legacy code. I'll fix that later, after further testing.
* * Adds console command, 'predecode-j2k <number of threads>' to load all of ↵Teravus Ovares2009-01-251-1/+2
| | | | | | | the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1. * Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2). The first one sends more data for low quality textures, the second one sends more data for high quality textures.
* * Adds a synchronous jpeg decode for pre-caching purposesTeravus Ovares2009-01-231-0/+10
| | | | | * When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
* * Change the currently misleading log message when capabilities are added ↵Justin Clarke Casey2009-01-221-15/+16
| | | | | | | | | | twice, and provide some more information * No functional change * It strikes me that there may be caps problems if double registration is presented if cleanup failed for a previous agent (so a caps handler will remain in memory for that agent but with a different seed). This needs investigation
* * Caught 2 dictionary exceptions that were unhandledSean Dague2009-01-221-1/+3
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * Added some more commentsTeravus Ovares2009-01-221-1/+26
| | | | | | * Fixed up an outgoing packet * I <3 OpenSimulator
* * Add File cache for j2k layer decodes. This will make it so that the ↵Teravus Ovares2009-01-221-38/+304
| | | | server will decode the j2k stream once and cache it to disk so that the cache is saved across sim restarts.
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-0/+204
| | | | | | * No functional changes in this revision
* * Restore commented out isdone assertions in TextureSendTests.T010_SendPkg()Justin Clarke Casey2009-01-211-2/+2
| | | | | | * These still appear to suceed with the current code!
* * More friendly OpenJpeg error handling.Teravus Ovares2009-01-211-29/+45
| | | | | | * Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that. * In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
* * Set SVN PropertiesTeravus Ovares2009-01-191-215/+215
|
* * Progressive texture patch + PriorityQueue put into the LLClient namespace.Teravus Ovares2009-01-192-2/+217
| | | | | * Updates LibOMV to r2362
* * Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey2009-01-161-1/+1
| | | | | | | | | teleport unit test with checks that the scene presence disappeared from sceneA and appeared in sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
* * minor: Future archiver test stubJustin Clarke Casey2009-01-161-1/+1
|
* * Extended TextureSenderTests and modified TestClient.cs with new methodsSean Dague2009-01-131-8/+126
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Revert progressive texture patch from r8001 until issues can be addressedDahlia Trimble2009-01-105-268/+155
|
* Thanks jhurliman for a patch that implements progressive texture downloading ↵Dahlia Trimble2009-01-105-132/+245
| | | | - Mantis #2655
* * Establish placeholder for future TextureSender testsJustin Clarke Casey2009-01-083-4/+60
|
* Deleted the AssetDownload module (and directory), as this module/code hasn't ↵MW2008-12-221-228/+0
| | | | been used for a few thousand revisions now. And the code for sending assets has long since been moved to the LLClientView where it belongs.
* This may fix mantis #2855. There was a race condition on the ↵diva2008-12-181-9/+49
| | | | TextureDownloadModule upon clients (ScenePresences) being closed. If there were still textures to send, the UserTextureServices was created again, but pointing to the old IClient that had just been closed, which made things not work upon that user returning to that region.
* This innocuous change in the TextureDownloadModule suddenly made the texture ↵diva2008-12-181-1/+4
| | | | problems (#2855) go away for me. I'm committing it, so that others can test and refute, to make sure I'm not hallucinating.
* Some refactoring from about a week ago that I forgot to commit, of ↵MW2008-11-244-126/+299
| | | | AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
* Don't serve texture preview from other people's objects if youMelanie Thielker2008-11-231-0/+22
| | | | | | havenever seen that texture before.
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-191-2/+2
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-195-246/+133
| | | | | | | | | 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
* Patch from jhurliman. Fixing the texture decoding issues in progressiveMelanie Thielker2008-11-182-3/+1
| | | | | | texture sending. Grain of salt not included.
* Apply JHurliman's texture sender patchMelanie Thielker2008-11-181-10/+43
|
* Prevent the texture downloader from locking a null object when a downloadMelanie Thielker2008-11-171-0/+3
| | | | | | hits bad data
* Make texture decode errors nonfatal. The texture send is simply droppedMelanie Thielker2008-11-171-25/+33
|
* Fix a few small issues with the progressive texture-download:Homer Horwitz2008-11-172-11/+12
| | | | | | | | | | | | - The initial priority wasn't passed in, so a discardLevel of -1 in the first request automatically cancelled texture-download. - One-packet textures weren't handled, as CurrentPacket starts at 1 and StopPacket == 0 in that case. - Increased MAX_ALLOWED_TEXTURE_REQUESTS to 15; incremental texture downloads will cause more requests.
* * Apply http://opensimulator.org/mantis/view.php?id=2611 Justin Clarke Casey2008-11-171-99/+169
| | | | | | | * Progressive texture delivery (ported from jhurliman's Simian code) * Thanks jhurliman!
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-171-2/+2
| | | | | | | | * Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
* Add group permissions to agent inventory.Melanie Thielker2008-11-141-0/+1
| | | | | | | | | | Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only.
* * Implements terrain raw upload. You can now upload your .raw terrain files ↵Teravus Ovares2008-11-142-1/+10
| | | | | | | using the Estate Tools. * Could this be extended in the future to support .oar uploads too? Only time will tell!
* * Commit allows downloading of the .raw terrain from the estate tools.Teravus Ovares2008-11-101-0/+1
| | | | | | | * Implements the SendInitiateDownload method in IClientAPI * Uses the ITerrainModule Interface to write a terrain file to disk then uses a FileStream to read the binary file from the disk and put it in a byte array. and save to the xFer list. * It then tells the client to download the file and the client initiates an Xfer request.
* * Prevent texture sender thread termination from immediately crashing the simJustin Clarke Casey2008-11-041-18/+28
|
* * Check in (disabled) results of not persisting avatar textures but rather ↵Justin Clarke Casey2008-10-293-36/+24
| | | | | | | | | | 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
* - Fix Util.UnixTimeSinceEpoch:Homer Horwitz2008-10-181-1/+2
| | | | | | | | | | | | * Unix epoch starts at midnight, not at 8:00am * All date/time handling should be done in UTC in the server, not in the local timezone. * Refactor out repeated computation of a constant value - Added setting of CreationTime to some places where inventoryitems are created This fixes Mantis#2390.
* * minor: remove some warningsJustin Clarke Casey2008-10-151-2/+2
|
* * minor: disable a couple of other lines of image not found, which are ↵Justin Clarke Casey2008-10-151-2/+2
| | | | pointless anyway since we aren't currently sending the packet
* * refactor: Move error logging from GetUserDetails up to callers, since ↵Justin Clarke Casey2008-10-151-0/+12
| | | | there are some circumstances in which not finding a user is not an error
* * refactor: move code concerned with creating a subsequent image packet to ↵Justin Clarke Casey2008-10-151-9/+4
| | | | LLClientView
* * refactor: rename SendImagePart to SendImageFirstPart since this is more ↵Justin Clarke Casey2008-10-151-6/+3
| | | | descriptive of its actual function
* * Patch from JHurlimanTeravus Ovares2008-09-263-5/+7
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* * minor: remove warningsJustin Clarke Casey2008-09-262-8/+4
|
* * refactor: do a tiny bit of cleanupJustin Clarke Casey2008-09-261-40/+46
|
* * refactor: split out AssetXferUploaderJustin Clarke Casey2008-09-263-285/+312
|