aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-04* Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit ↵Adam Frisby1-1/+1
below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this.
2008-02-04* Default inventory permissions patch (#444), courtesy of alex_carnell -- ↵Adam Frisby1-0/+1
thanks!
2008-01-31* Add asset/texture cache statistics to region server consoleJustin Clarke Casey1-3/+21
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode * Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets rather than textures * But I don't have any reason to believe they aren't broadly accurate. * I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache * This will require a prebuild * DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released. For my part, seeing large cache memory numbers will provoke me to think about doing something about this. * DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers * DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-15* Mother of all commits:Adam Frisby3-16/+16
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-10Whitespace cleanup.Jeff Ames1-1/+1
2008-01-09* removed another superfluous debug messagelbsa711-2/+2
2008-01-09dump_assets_to_file=true will now cause the asset to go into a UserAssets ↵Brian McBee1-3/+16
subdirectory of bin instead of cluttering up your bin directory (Thanks CharlieO!)
2008-01-09Third part of CharlieO's library rework. We now have library organization! ↵Brian McBee1-32/+35
Thanks CharlieO!
2008-01-02* Trying to address TextureSender issueslbsa713-32/+32
* 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
2008-01-02* Refactored out function to load specified AssetSet Xmllbsa711-2/+2
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2007-12-31Make it possible for new inventory 'libraries' to be added without changing ↵Justin Clarke Casey1-85/+115
the default OpenSimLibrary files. Additional library folders and items can be added in a separate directory and linked in by an entry to inventory/Libraries.xml
2007-12-31Standard library folders can now be configued in the xml in ↵Justin Clarke Casey1-25/+100
inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently showing up as texture folders, even though they are configured with the same types as the agent inventory folders. This should be resolved soon.
2007-12-30Shift default OpenSim library into its own directoryJustin Clarke Casey1-1/+1
2007-12-29Make inventory items nominate explicit inventory folders rather than hardcodingJustin Clarke Casey1-7/+12
2007-12-28Factor out common asset loading from AssetServerBase and Grid/AssetServer/MainJustin Clarke Casey2-99/+6
2007-12-28Move inventory contents configuration files to bin/inventory folderJustin Clarke Casey1-3/+3
2007-12-27* Optimized usingslbsa7111-83/+93
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27Move hardcoded texture library inventory items out into OpenSimLibrary/xml. ↵Justin Clarke Casey1-16/+1
However, even before these change the five textures moved are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached). These were working before so they must have broken in the last month. Might be something to do with the fact that these identify (using file under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27* AssetServerBase: _ProcessRequest is now called GetAssetlbsa714-7/+7
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-23Yet more inventory debugging messagesJustin Clarke Casey1-9/+30
2007-12-23Miscellaneous small tweaks and more logging messages to move towards ↵Justin Clarke Casey1-2/+5
resolving inventory problems
2007-12-22Make copying of scripts into prim inventories more reliable on the first ↵Justin Clarke Casey1-3/+45
attempt when the asset server is lagging by formalising the de facto polling. This may not be the best solution in the long run, but should improve things for now. This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures for the main map view.
2007-12-22minor refactorJustin Clarke Casey1-3/+8
2007-12-21Refix bug where inventory textures don't appear in prim edit texture ↵Justin Clarke Casey1-6/+15
selection box unless previously expanded in inventory.
2007-12-20Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames3-6/+6
Works with LibSL rev>1532
2007-12-19Refactor asset request processing for consistent status information on ↵Justin Clarke Casey4-25/+46
whether an asset was actually found or not
2007-12-19Misc. cleanup:Jeff Ames1-46/+14
* added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
2007-12-15Grid Inventory feature upgrade: renaming folders should now be correct, ↵Brian McBee2-7/+35
subfolders work, moving folders works. Tested only in MYSQL, but may work in MSSQL and sqlite. Probably not working in standalone mode.
2007-12-14Thank you Justin for:Charles Krinke1-52/+27
0000188: Clean up of some AssetCache.ProcessAssetQueue() code
2007-12-14* Just making Create publiclbsa711-1/+1
2007-12-14* ARequest changed name to AssetRequest and moved to own file.lbsa714-104/+97
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req ) * Catchall added around queue processing thread so thread won't abort on exceptions.
2007-12-14patch from justincc for Mantis #163 - Opening a script in inventory longer ↵Teravus Ovares1-11/+36
than 1500characters can cause looping crash.
2007-12-11Implementing updateinventoryfolder: Should now be able to rename folders in ↵Brian McBee1-0/+20
inventory
2007-12-11added copyright noticesJeff Ames1-0/+28
2007-12-10more work on texture downloading.MW3-328/+106
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-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames9-15/+15
notice of doom
2007-12-08hackish code to allow emptying of trash. This really should be done on the ↵Brian McBee1-1/+21
inventory server, and not from the region. Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-06reversing the r2599 patch, as this started causing CreateThread errors for Sean Dague1-6/+1
me on Mono 1.2.4, which led to client crashes. I think the Timer.Stop() wasn't doing what was desired on Mono. The Queue refactoring should address the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06* now the throttle timer is stopped whilst processing Queue so that it won't ↵lbsa711-1/+6
fire twice * started to refactored throttling method * some code convention refactorings
2007-12-03This is a simple patch which just renames an IClientAPI method toSean Dague1-1/+1
SendInventoryItemCreateUpdate() in order to reflect the actual packet it sends (UpdateCreateInventoryItem). From Justin Casey (IBM)
2007-12-02Attempt to fix mantis issue #82, taking prims into inventory and then ↵MW2-4/+25
rezzing them in another region.
2007-12-02Very partial Avatar Appearance (ie, clothes/body parts) "storage". In ↵MW1-1/+1
standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist. Just need to store this data out to a database.
2007-12-02Fixes a bug that my last commit introduced.MW1-1/+1
2007-12-02Some refactoring , mainly on Inventory code. MW3-119/+37
2007-12-02New Inventory folder should now be stored to the inventory server/database. ↵MW1-1/+8
This also seems to fix the problem of Body parts not being persisted properly.
2007-12-01Attempt to fix mantis issue # 73MW1-8/+12
2007-12-01Attempt to fix mantis issue # 65, seems like it is a race condition between ↵MW1-4/+7
two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add.
2007-11-30Patch for mantis 0000015: Textures don't display in the objectSean Dague2-8/+24
properties window From Justin Casey (IBM)
2007-11-23* Refactored NumPackets calculationlbsa711-20/+21
2007-11-18* Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares2-11/+11
This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.