aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-04Warnings--onefang2-4/+4
2019-05-19Various logging fix ups.onefang2-6/+9
Mostly removing console spam. Default to INFO on the console and DEBUG in the log files. More time stamp resolution.
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang3-83/+278
2016-11-22Remove zero length XML blob spam.David Walter Seikel2-6/+9
2016-11-22Various random white space clean ups.David Walter Seikel2-39/+39
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel3-270/+423
2013-02-08If a component of a coalesced object fails to deserialization, do not add a ↵Justin Clark-Casey (justincc)1-4/+18
null where the object should be. This prevents a later load IAR failure. This code is currently only used by IAR loading.
2012-07-23Change attachment handling to remove object from the scene first as perMelanie1-0/+18
justincc's original work. Sample scripts before doing so. Also refactor some crucial common code and eliminate parameters that were only ever used with the same constant value.
2012-05-23Fix bug where an avatar that had an object they owned attached through ↵Justin Clark-Casey (justincc)1-2/+18
llAttachToAvatar() or osForceAttachToAvatar() would wrongly have next permissions come into play when they detached that object and rezzed it in scene. This is because the attachments module code was setting the 'object slam' bit by using PermissionMask.All Solution here is to route the attachment item creation call through the existing inventory code in BasicInventoryAccessModule rather than copy/pasted code in AttachmentsModule itself.
2012-05-16Route OAR SOG loading through the common ↵Justin Clark-Casey (justincc)2-113/+4
SceneObjectSerializer.FromXml2Format() rather than the functionally identical but buggy Xml2ToSOG(). Remove buggy Xml2ToSOG().
2012-05-15Port Avination's collision fixes to core.Melanie1-0/+7
2012-02-16If shape properties fail SOP parsing (e.g. due to commas instead of decimal ↵Justin Clark-Casey (justincc)1-12/+22
points) print out one short message listing the failing node names rather than lots of exceptions. Adds skeleton bad float values deserialization test
2012-02-13On object deserialization, go back to logging errors at DEBUG level rather ↵Justin Clark-Casey (justincc)1-5/+9
than ERROR. Restore extra log message if shape processing fails. Logging level was DEBUG before 312e145 (Fri Feb 3 2012). 312e145 also accidentally removed the 'general error' log message if any shape deserialization failed. This commit restores it, though this has no functional impact.
2012-02-03Change SceneObjectSerializer to use common ↵Justin Clark-Casey (justincc)1-74/+29
ExternalRepresentationUtils.ExecuteReadProcessors() methods. Adds ability to submit a customized exception message to match logging.
2012-02-02Improve reliability of script state saving by covering various savingMelanie1-4/+1
and loading scenarios which resulted in loss of continuity on item ids
2012-01-28Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)1-5/+15
same grid don't have the publisher as owner.
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto1-4/+4
location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)1-1/+1
rather than halting the IAR load with an exception.
2012-01-03Access to these static methods to serialize objects are useful outside of ↵Dan Lake1-4/+4
serializer
2011-11-02Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake1-7/+0
UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
2011-09-02stop passing FromUserInventoryItemID right down into the deserializer.Justin Clark-Casey (justincc)1-13/+3
the code becomes simpler if this is set from the outside - only one place needs to do this.
2011-08-24Fix llAttachToAvatar()Justin Clark-Casey (justincc)1-9/+22
Apart from one obvious bug, this was failing because attempting to serialize the script from inside the script (as part of saving the attachment as an inventory asset) was triggering an extremely long delay. So we now don't do this. The state will be serialized anyway when the avatar normally logs out. The worst that can happen is that if the client/server crashes, the attachment scripts start without previous state.
2011-07-19remove undo state storage in a few places where it's pointlessJustin Clark-Casey (justincc)1-3/+1
no functional effect - existing bugs still remain
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)1-0/+2
Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
2011-06-10When serializing objects, stop accidentally using the green text colour ↵Justin Clark-Casey (justincc)1-1/+1
value for alpha This addresses http://opensimulator.org/mantis/view.php?id=5111
2011-05-27Make sure culture is en-US when saving archive related xml.Justin Clark-Casey (justincc)1-1/+0
This might resolve http://opensimulator.org/mantis/view.php?id=5475
2011-05-27If parsing fails in the primitive base shape (which prints out a debug log ↵Justin Clark-Casey (justincc)1-4/+25
message), also print out the name and uuid of the part containing this shape. This is to help in diagnosing parsing failures.
2011-05-25Add PayPrice to serialization format Xml2Melanie1-1/+36
2011-04-21Alter uuid gather so that it properly analyzes coalesced objects.Justin Clark-Casey (justincc)1-18/+29
This should correct save all the assets required for the items within the coalesced objects in an IAR. This should also correctly gather the items on hypergrid takes.
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)1-6/+41
IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
2011-04-13refactor: move code to obtain the coalescence size and object offsets into ↵Justin Clark-Casey (justincc)1-15/+12
CoalescedSceneObjects from the serializer.
2011-04-13Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2-3/+137
used by the TestRezCoalescedObject() regression test. This structure matches the existing one for SceneObjects and will allow code to be reused by the uuid gatherer, other tests, etc. Test is not yet fully implemented due to a bug in rezzing coalesced objects where they all get the same name as the item. Only one object should get the same name as the item, which appears to be the one selected last when the the objects were coalesced in the first place. This bug will be addressed shortly.
2011-04-12Bug fix in object serialization -- sculpt data was wrong.Diva Canto1-1/+1
2011-01-08Fixes the issue of hung archives. Problem was with SceneObjectSerializer.Diva Canto1-0/+12
Also fixes a buglet in scene load xml command, where it was given the wrong argument index for filename.
2010-12-17remove mono compiler warning: if (sop.Color != null) always returns true as ↵Justin Clark-Casey (justincc)1-9/+7
sop.Color is a value type.
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-31/+11
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-11-27Changed the parser for InventoryItem deserialization. Moved some utility ↵Diva Canto1-91/+31
functions around.
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-2/+21
themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
2010-11-21Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto1-0/+21
Creator name properly shown on the viewer as first.last @authority. New option added to save oar -profile=url. Migration on RegionStore making CreatorID be 255 chars. Moved Handling of user UUID -> name requests to a new module UserManagement/UserManagementModule.
2010-11-16Diva needs a spanking! Serializing OldItemID breaks script state persistence ↵Melanie1-1/+4
in agent inventory.
2010-11-02Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto1-3/+17
-version option on save oar command. Bumped archives version to 0.5; version < 0.5 generates flag fields without commas. Everything else is identical.
2010-10-27Formatting cleanup.Jeff Ames1-1/+1
2010-10-23Added inner exception handling in Shape deserialization processing, so that ↵Diva Canto1-3/+16
the whole Shape processing returns a valid Shape object.
2010-10-19It looks like Vector3s also got written down in lower case at some point in ↵Diva Canto1-3/+3
time. Added code to account for that. 17:45:59 - [SceneObjectSerializer]: exception while parsing SitTargetPosition: System.Xml.XmlException: Expecting X tag from namespace , got x and instead Line 1, position 2838.
2010-10-19Another take related to the previous commit.Diva Canto1-13/+17
2010-10-19Added code to quaternion deserialization to try to cope with an exception ↵Diva Canto1-4/+15
seen in Wright Plaza related to SitTargetOrientation. 17:23:05 - [SceneObjectSerializer]: exception while parsing SitTargetOrientation: System.Xml.XmlException: Expecting X tag from namespace , got w and instead Line 1, position 30064.
2010-10-19Added TextureAnimation and ParticleSystem to serialization.Diva Canto1-0/+27
2010-10-19COmmented the wrong line instead, now I commented them all to be on the safe ↵Melanie1-2/+2
side
2010-10-19Comment a spammy debug message in the serializerMelanie1-1/+1
2010-10-17Deleted all [XmlIgnore] from SOP, since those are meaningless now.Diva Canto1-3/+3