aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-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.
* stop passing FromUserInventoryItemID right down into the deserializer.Justin Clark-Casey (justincc)2011-09-021-13/+3
| | | | the code becomes simpler if this is set from the outside - only one place needs to do this.
* Fix llAttachToAvatar()Justin Clark-Casey (justincc)2011-08-241-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.
* remove undo state storage in a few places where it's pointlessJustin Clark-Casey (justincc)2011-07-191-3/+1
| | | | no functional effect - existing bugs still remain
* minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)2011-07-091-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.
* When serializing objects, stop accidentally using the green text colour ↵Justin Clark-Casey (justincc)2011-06-101-1/+1
| | | | | | value for alpha This addresses http://opensimulator.org/mantis/view.php?id=5111
* Make sure culture is en-US when saving archive related xml.Justin Clark-Casey (justincc)2011-05-271-1/+0
| | | | This might resolve http://opensimulator.org/mantis/view.php?id=5475
* If parsing fails in the primitive base shape (which prints out a debug log ↵Justin Clark-Casey (justincc)2011-05-271-4/+25
| | | | | | message), also print out the name and uuid of the part containing this shape. This is to help in diagnosing parsing failures.
* Add PayPrice to serialization format Xml2Melanie2011-05-251-1/+36
|
* Alter uuid gather so that it properly analyzes coalesced objects.Justin Clark-Casey (justincc)2011-04-211-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.
* Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)2011-04-151-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.
* refactor: move code to obtain the coalescence size and object offsets into ↵Justin Clark-Casey (justincc)2011-04-131-15/+12
| | | | CoalescedSceneObjects from the serializer.
* Add coalesced scene objects class and serializer. This is currently only ↵Justin Clark-Casey (justincc)2011-04-132-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.
* Bug fix in object serialization -- sculpt data was wrong.Diva Canto2011-04-121-1/+1
|
* Fixes the issue of hung archives. Problem was with SceneObjectSerializer.Diva Canto2011-01-081-0/+12
| | | | Also fixes a buglet in scene load xml command, where it was given the wrong argument index for filename.
* remove mono compiler warning: if (sop.Color != null) always returns true as ↵Justin Clark-Casey (justincc)2010-12-171-9/+7
| | | | sop.Color is a value type.
* Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto2010-11-291-31/+11
| | | | usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
* Changed the parser for InventoryItem deserialization. Moved some utility ↵Diva Canto2010-11-271-91/+31
| | | | functions around.
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-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).
* Global creator information working on MySQL DB and on load/save OARs. ↵Diva Canto2010-11-211-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.
* Diva needs a spanking! Serializing OldItemID breaks script state persistence ↵Melanie2010-11-161-1/+4
| | | | in agent inventory.
* Old deserialization can't deal with commas in flag fields. Making use of ↵Diva Canto2010-11-021-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.
* Formatting cleanup.Jeff Ames2010-10-271-1/+1
|
* Added inner exception handling in Shape deserialization processing, so that ↵Diva Canto2010-10-231-3/+16
| | | | the whole Shape processing returns a valid Shape object.
* It looks like Vector3s also got written down in lower case at some point in ↵Diva Canto2010-10-191-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.
* Another take related to the previous commit.Diva Canto2010-10-191-13/+17
|
* Added code to quaternion deserialization to try to cope with an exception ↵Diva Canto2010-10-191-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.
* Added TextureAnimation and ParticleSystem to serialization.Diva Canto2010-10-191-0/+27
|
* COmmented the wrong line instead, now I commented them all to be on the safe ↵Melanie2010-10-191-2/+2
| | | | side
* Comment a spammy debug message in the serializerMelanie2010-10-191-1/+1
|
* Deleted all [XmlIgnore] from SOP, since those are meaningless now.Diva Canto2010-10-171-3/+3
|
* .NET automagical serialization of SOPs replaced by manual serialization ↵Diva Canto2010-10-171-50/+15
| | | | across the board.
* Made OARs use the new serialization procedure. (TPs/crossings still on the ↵Diva Canto2010-10-152-120/+153
| | | | old one) Added an options argument down the pipeline. For the time being it takes --old-guids as an option to produce <Guid> instead of <UUID>.
* Added manual xml2 serialization. Rewired only save xml2, not oars yet. Seems ↵Diva Canto2010-10-142-105/+164
| | | | to be generating xml's that are successfully parsed. Needs more testing.
* Added SOP.MediaUrl and Shape.Media to the deserializationDiva Canto2010-10-131-204/+14
|
* Comment a debug message so that it doesn't spew the console upon ↵Diva Canto2010-10-131-1/+1
| | | | encountering unknown xml elements.
* New SOG/SOP parser using XmlTextReader + delegates dictionary. Active for ↵Diva Canto2010-10-132-7/+1381
| | | | load oar and load xml2, but not for packing objects on crossings/TPs yet.
* Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman2010-09-161-16/+12
| | | | MapAndArray collection
* First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-13/+10
|
* Preserving the link numbers is a serializer's highest duty.Melanie Thielker2010-06-121-0/+9
| | | | | Prevent region crossings from screwing up complex attachments by preserving link numbers.
* All scripts are now created suspended and are only unsuspended when the objectMelanie2010-04-191-0/+1
| | | | | | is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
* Formatting cleanup.Jeff Ames2009-10-012-9/+9
|
* SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman2009-09-161-31/+22
| | | | null checks on m_rootPart
* * refactor: split out part xml writing in SceneObjectSerializerJustin Clarke Casey2009-06-051-2/+7
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-012-2/+2
| | | | LICENSE.txt.
* * refactor: move SceneXmlLoader into subpackageJustin Clarke Casey2009-05-141-0/+290
|
* * refactor: move bottom part of 'xml2' serializaton to separate classJustin Clarke Casey2009-05-141-39/+66
|
* * refactor: break some of xml2 serialization out of sogJustin Clarke Casey2009-05-141-0/+19
|
* * break out 'xml2' deserialization from sogJustin Clarke Casey2009-05-081-7/+71
|
* * refactor: break out sog original xml serialization to a separate classJustin Clarke Casey2009-05-081-6/+60
|