aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-05-21Added a sanity check before using m_config in the Scene constructorJohn Hurliman1-16/+19
2010-05-21* Added code comments to Prioritizer.cs that document how to add a new ↵John Hurliman1-1/+13
update priority policy
2010-05-21rearrange SceneGraph.AddSceneObject() to return earlier if an object with ↵Justin Clark-Casey (justincc)1-53/+49
that uuid is already in the scene this means that we don't perform pointless work
2010-05-21* Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman15-315/+207
Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
2010-05-21minor: remove LongRunning test designator from TestAddSceneObject() since it ↵Justin Clark-Casey (justincc)1-1/+1
isn't, really
2010-05-21add test to make sure that adding an object where one already exists in the ↵Justin Clark-Casey (justincc)1-0/+34
scene with that uuid fails
2010-05-21extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2-5/+13
improve test to retrieve object by known uuid rather than dynamically assigned local id
2010-05-21Fix a problem where SceneGraph.AddSceneObject() would return false on ↵Justin Clark-Casey (justincc)2-8/+14
successfully adding an object rather than true, in defiance of its method documentation This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
2010-05-21Add a new priority scheme that works like FrontBack, but completely ↵Melanie1-0/+57
deprioritizes static prims, creating a hierarchy as follows: 0 == own avatar < other avatars < pysical prims < static prims For a child agent, simply acts like FrontBack
2010-05-21make oar object filename/pathname creation a helper methodJustin Clark-Casey (justincc)5-38/+108
reused in both tests and oar code reduction in checking is outweighed by greater test clarity
2010-05-21minor: refactor CreateAsset to eliminate dupe codeJustin Clark-Casey (justincc)1-3/+5
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)6-11/+55
2010-05-21Only send dialogs and notices to root agents, not child agentsJustin Clark-Casey (justincc)1-9/+7
2010-05-21Change the way the object perms are propagated to attempt to salvageMelanie1-21/+23
some older content
2010-05-20* Made PriorityQueue non-generic so it natively understands EntityUpdate structsJohn Hurliman1-38/+32
* Replaced the per-avatar seen update tracking with update flag combining, to avoid overwriting full updates with terse updates
2010-05-21Ensure that the first update sent out for any given prim is a full updateMelanie Thielker1-0/+11
2010-05-20Cleaned up MySql migrations a bit more, got rid of all old-form migration ↵Diva Canto5-32/+8
files. Restored Presence table to its taboo-breaking form.
2010-05-20Removed sessionID from GridUserservice again. Removed parcel crossing ↵Diva Canto9-21/+18
detection from Robust connector. Fixed Simian to continue to send those location updates upon parcel crossing, without changing the interface.
2010-05-20* Don't send texture data for prims in ImprovedTerseObjectUpdate packets ↵unknown1-1/+5
unless we were asked to
2010-05-20* Added sessionID to IGridUserService.SetLastPosition(), as some connectors ↵unknown9-132/+189
will want to track position against sessionID instead of userID * Updated SimianPresenceServiceConnector to use the new LoggedOut/SetHome/etc methods and only update session position on parcel crossing
2010-05-20Revert one of the previous patches' hunks. The new code looked better, butMelanie1-3/+10
was less efficient.
2010-05-20Series of patches to include creator ID in assets.AlexRa1-4/+35
Contains a migration. SQLite: May contain nuts. The SQLite migration copies the entire asset table. Be prepared for quite a wait. Don't interrupt it. Back up your assets db. BasicAssetTest checks CreatorID storage, new test for weird CreatorID (now also checks that non-GUID or empty CreatorID gets stored correctly) Signed-off-by: Melanie <melanie@t-data.com>
2010-05-19Scrambled asset type in BasicAssetTest.cs!AlexRa1-9/+10
The asset type wasn't in the list of "DontScramble" fields, so the test assets were stored with randomized type, which caused exception on reading them. Also the scrambler was moved from local var to the class level, so it could be used in the new tests I've added (see the next commit).
2010-05-19MySQLAssetData.cs now supports asset_flags, CreatorIDAlexRa1-5/+7
2010-05-19MySQL: added CreatorID, moved asset_flag to migration scriptAlexRa1-0/+8
2010-05-19SQLite: CreatorID added (and asset_flags moved) to the migration scriptAlexRa1-0/+24
2010-05-19Added CreatorID to SQLite asset dataAlexRa1-15/+27
2010-05-19A bit of harmless refactoring in SQLiteAssetData.csAlexRa1-10/+3
2010-05-19Kind of fixed Melanie's "Exception(sql)" correctionAlexRa1-2/+2
Throwing an Ex. with SQL command in the message looks weird, this is a bit better, but I'm still not sure if that's the proper way to handle. Also, there is a catch one level up, so is this one necessary?
2010-05-19Change appender to deal with line feeds more intelligently.Melanie2-2/+5
Change migration error reporting to not truncate the statement when reporting. It's a bit messier than the old error reporting, but at least one gets an idea of what could be wrong again. And things look a lot neater now.
2010-05-19Clean up output a bitMelanie3-9/+12
2010-05-19Fix the migration message to say "Continuing" again. Remove line feed, whichMelanie1-1/+1
prevented the full message from displaying.
2010-05-19Remove the return that was inserted in the last merge to allowMelanie1-1/+0
migrations to continue in the face of an error
2010-05-19Revert "Allow migration steps to fail again without bringing down the house"Melanie1-1/+1
This reverts commit 167db502593de5f535d8c322005c63ef263940ed.
2010-05-19Allow migration steps to fail again without bringing down the houseMelanie1-1/+1
2010-05-18Make m_log in migrations private. Define new m_log in derived classMelanie2-1/+3
2010-05-18Binary Guids are 16 chars long. Fix parser.Melanie1-1/+1
2010-05-19Some more corrections after MySQL connector updateAlexRa2-2/+3
2010-05-19All (?) MySQL stores fixed to use DBGuid.FromDB()AlexRa5-92/+68
This was needed if we want to update to the latest MySQL connector dll. It automatically converts CHAR(36) to Guids, so getting them as strings no longer works. By using DBGuid.FromDB(), we unlink from any particular storage format of GUIDs, could even make them BINARY(16) if we like. Actually not all MySql units are touched, but the remaining ones don't seem to be affected (they don't read GUIDs from DB)
2010-05-19Added DBGuids.cs (static func DBGuid.FromDB()AlexRa1-0/+44
This DBMS-independent function to be used converting UUIDs from whatever format used in the DB (string/binary/Guid). This is mostly needed for MySQL, as in MSSQL they are always UNIQUEIDENTIFIERs and in SQLite always strings (but would look better if we use it there anyway).
2010-05-18MS SQL migrations converted to the new formatAlexRa77-2008/+2273
2010-05-18Migrations for SQLite converted to new formatAlexRa46-709/+828
2010-05-18Converted MySQL migration history to the new formatAlexRa79-1008/+1228
Replaced all NNN_StoreName.sql migration resources with a more readable, single-file-per-store
2010-05-18Added MySqlMigrations.cs (supports stored proc/funcs)AlexRa1-0/+85
Uses MySqlScript class to correctly run proc/func definitions that need delimiter change. Requires MySql.Data.dll 6.2 or later.
2010-05-18Migration.cs supports single-file migration history formatAlexRa1-104/+233
Scans for migration resources in either old-style "scattered" (one file per version) or new-style "integrated" format (single file "Resources/{StoreName}.migrations[.nnn]") with ":VERSION nnn" sections). In the new-style migrations it also recognizes ':GO' separators for parts of the SQL script that must be sent to the server separately. The old-style migrations are loaded each in one piece and don't support the ':GO' feature. Status: TESTED and works fine in all modes!
2010-05-18Massive bugfix in MSSQLEstateData (now works!)AlexRa1-49/+41
2010-05-18Allow remote admin to be used on a different port from the main region portMelanie Thielker1-2/+3
2010-05-18Change an exception reporting to include the stack trace. "e.Message" justMelanie1-1/+1
_won't_ do. Might look more elegant, but it's too little information.
2010-05-16Prevent a crash when the two agent dictionaries get out of syncMelanie1-1/+1
2010-05-16Fixes mantis #4691 for real. This time I tested it, and it works.Diva Canto2-1/+18