aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AssetBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-23Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)1-0/+1
When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it. Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated. However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded. This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place. A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one. This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made.
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)1-0/+1
Disabled temporarily since file system caching disrupts subsequent test runs
2011-05-19HG Friends working to some extent: friendships offered and accepted ↵Diva Canto1-0/+6
correctly handled. Friends list showing correct foreign names. TODO: GrantRights.
2010-05-09* Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto1-4/+4
stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone. * Fixed small bug with map search where the local sim regions weren't found.
2010-05-09Add a field asset_flags and a corresponding enum to the asset database. ThisMelanie1-0/+22
CHANGES THE ASSET SERVER PROTOCOL and means you CAN NOT MIX PRIOR VERSIONS WITH LATER ONES. It may also eat your babies, yada, yada, yada. The usual cautions for migrations to the assets table apply. Coding: Can not guarantee nut free.
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-4/+7
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-16/+8
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-20* Added a sanity check for missing asset data in LLClientViewJohn Hurliman1-2/+15
* Moved the SL asset type to content type conversion methods from ServerUtils to OpenSim.Framework.SLUtil * Linked content type to asset type in AssetMetadata
2009-11-06Reintroduce AssetBase's old behavior. A Parameterless constructor is requiredMelanie1-0/+10
for .NET serialization and removing it breaks the OpenSim asset server protocol.
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-7/+35
unknown asset type, and log an error if it ever does happen
2009-08-12minor:commentsTeravus Ovares (Dan Olivares)1-1/+28
2009-06-03Make AssetMetadata [Serializable] to help in binary cachingMelanie Thielker1-0/+1
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-22Cleaning up a few HG things. HG Posts may now work in grids, but if the home ↵diva1-3/+17
grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
2009-05-15* Resolve bug where save oar would never complete if any assets were missingJustin Clarke Casey1-0/+5
2009-04-09* Added some more experimental code; nothing wired in so far.lbsa711-3/+28
2009-04-08* butterfingerslbsa711-6/+6
2009-04-08* Introduced some experimental code with regards to asset data substitutionlbsa711-0/+22
2009-03-13Mark AssetBase.Metadata with [XmlIgnore]Mike Mazur1-9/+5
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-53/+91
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-12* optimized usings.lbsa711-2/+0
2009-02-09* Apply http://opensimulator.org/mantis/view.php?id=3080Justin Clarke Casey1-0/+9
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate * mikem has seen this patch :)
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-22/+73
- trim trailing whitespace
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-07-04mini-warnings-safari, plus cleanup of IUserServices method naming.Dr Scofield1-1/+0
2008-07-02* Drop InvType from the assets table since it is no longer usedJustin Clarke Casey1-9/+0
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-06-23* minor: Remove crusty old unused agent inventory classesJustin Clarke Casey1-0/+3
2008-06-23* Remove all use of asset.InvType, as outlined in mailing list discussionJustin Clarke Casey1-1/+1
* This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
2008-04-29* Spring cleaning.Adam Frisby1-14/+23
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-04-04make AssetBase use Properties instead of fields. This probably Sean Dague1-8/+53
breaks compatibility on grid ops because native serialization is used here.
2008-03-18Formatting cleanup.Jeff Ames1-27/+27
2008-01-15* Mother of all commits:Adam Frisby1-2/+2
* 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.
2007-12-27* Optimized usingslbsa711-1/+1
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-10-31* Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa711-0/+0
2007-10-31set svn:eol-styleJeff Ames1-54/+54
2007-10-30* Optimized usingslbsa711-2/+1
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-56/+56
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-26Very early first implementation of grid based assets.Tleiades Hax1-0/+2
Run this on a major grid, and weep
2007-10-19* Total refactoring of Asset Server for massive winlbsa711-0/+6
* There is now a AssetServerBase * lolcat in ur assets
2007-09-10added some debugging for tracing where asset code isn't working with sqliteSean Dague1-6/+5
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-09-10hooked up sdague new sqlite asset database provider to the old asset system. ↵MW1-1/+2
So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote. Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-05Added "Local" and "Temporary" Fields to the AssetBase class.MW1-0/+2
2007-07-16changed to native line ending encodingSean Dague1-46/+46
2007-07-03* Optimized usings (the 'LL ate my scripts' commit)lbsa711-3/+0
* added some licensing info