aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-09missed a few..UbitUmarov3-4/+1
2018-01-08fall back to a obsolete property since several monos in use (include our ↵UbitUmarov3-4/+4
own) do not suporte the proper .net4.0 one
2018-01-05 a few more xml thingsUbitUmarov3-15/+32
2018-01-04disable some XmlResolverUbitUmarov2-0/+2
2017-07-16fix placement of xml ReadEndElement()UbitUmarov1-2/+1
2017-07-16store kfm on inventory. this may still be a bit confusing on rezUbitUmarov1-0/+23
2017-07-13replace the wrong libOMV user modifiable Utils.EnUSCulture by our own no ↵UbitUmarov2-41/+41
User modifiable Culture.FormatProvider, and also for internal coerence. We do use the libomv on other code paths, so that must be fixed
2017-07-13add more missing en-us culture on scene serializer writesUbitUmarov2-31/+32
2017-06-09still losing time with of halcyon incompatibile oars... cathch exceptions of ↵UbitUmarov1-8/+6
the function that actually throws; Reduce log spam; don't let a broken MOAP stop all object deserialization. Fixing MOAP does not mean halcyon oars issues are fixed, just one. And really we should not even try to go against halcyon decison to be incompatible.(our MOAP encoding did not change since 2010)
2017-06-08Another attempt at parsing MOAP <Media> elements in OAR files.Robert Adams1-1/+22
Seems there are multiple interpretations of the format of the content of the <Media> element in OAR files. OpenSimulator (for reasons lost in the mist of time) escapes the XML in the element and then reparses it was a separate XmlReader. Other simulators fill the <Media> element with regular XML. This patch parses the <Media> escaped XML content as it always has and, if the parsing fails, falls back to trying to parse the pure XML.
2017-06-08 revert fa5bf4fd0bb6a855eacdb7b5eec9cd71ad9bf606 for testUbitUmarov1-2/+1
2017-06-04Correct parsing of 'Media' XML element in PrimitiveBaseShape when reading an ↵Robert Adams1-1/+2
OAR file. The code used to call Serializer.ReadElementContentAsString() and then expected to pass the XML to PrimitiveBaseShape.FromXml to parse. This would throw as ReadElementContentAsString does not allow any children of the element. Reading with Serializer.ReadInnerXml() was the fix. This was only not a problem because most often shapes don't have media and most simulators don't output anything if the media array is empty.
2017-05-04 move deep effective permissions aggregation to first time use and not on ↵UbitUmarov2-3/+3
changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards
2017-04-01 store the physics inertia override in Mysql and add it to serializer. run ↵UbitUmarov1-1/+22
prebuild is required
2017-01-17add more calls to effective permissions aggregation, some paths may still be ↵UbitUmarov2-2/+4
missing on objects changes, but remove the aggregation on check paths, so all can be tested.
2017-01-05Massive tab and trailing space cleanupMelanie Thielker2-44/+44
2016-12-04The new Constant: integer OBJECT_REZZER_KEY = 32;Mandarinka Tasty1-0/+9
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com> Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-26mantis 7656, partialy apply patch, changing the start scripts for nowUbitUmarov1-0/+1
2016-06-22Can't do it do it this low in the stack. Attachments on teleports apparently ↵Diva Canto1-6/+1
rely on State being != 0. Revert "Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen." This reverts commit f19199cf4a6ef9cdcfbdbff3a1f604f595216f65.
2016-06-21Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 ↵Diva Canto1-1/+6
(meaning attachments). That should never happen.
2015-10-20 add axis locks to sop serializer. Now they are also saved to inventoryUbitUmarov1-0/+8
2015-09-02seems to compile ( tests comented out)UbitUmarov1-34/+14
2015-08-30More namespace and dll name changes. Still no functional changes.Diva Canto1-1/+1
2015-08-30Renamed the namespaces tooDiva Canto1-1/+1
2015-08-24try to implement core load oar optionsUbitUmarov1-0/+65
2015-08-11Better handling of invalid XML: a) prevent infinite loop on EOF; b) better ↵Oren Hurvitz2-57/+58
logging If the XML was truncated for some reason then ExecuteReadProcessors() would get into an infinite loop, using high CPU. Now it detects EOF (and several other error cases) and aborts. The rest of the changes just improve logging of XML in case of errors, so that we can see what the bad XML is.
2015-08-01Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto1-3/+4
assets being passed around via HG and archives. No guarantees that all the leaks have been found, but at least it detects and fixes these bad assets upon: (1) storing and getting assets over HG -- assuming the core HG asset service is being used (not the case with OSGrid!) (2) importing assets via OAR and IAR Instantiation of bad assets now should also work, instead of producing an exception, but the bad assets themselves aren't being fixed in the DB. That should be done with a cleaning tool -- see Perl script in Mantis #7657. Virus!
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto1-0/+1
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2014-11-03 always write physicsShapeType on sop serialization since default valueUbitUmarov1-2/+1
can't be guessed in some cases
2014-08-29Ignore whitespace when reading serialized XML objects.Justin Clark-Casey (justincc)1-149/+150
This was previously effectively being done by XmlDocument in the multiple passes through the XML. This change tells XmlReader to ignore whitespace. This also means changing arguments to use XmlReader instead of XmlTextReader (a descendent of XmlReader) directly. XmlReader.Create() has been the recommend way to create XML readers since .NET 2.0 as per MS SDK and is the only way to specific ignore whitespace settings.
2014-08-28On code section that rezzes single objects and attachments, reduce CPU use ↵Justin Clark-Casey (justincc)1-33/+34
by reading asset XML a single time with a stream reader rather than multiple times. Reading large XML documents (e.g. complex attachments) is CPU expensive - this must be done as few times as possible (preferably just once). Reading these documents into XmlDocument is also more resource intensive than using XmlTextReader, as per Microsoft's own publication "Improve .NET Application Performance and Scalability" Optimization of other cases will follow if this change is successful.
2014-07-27remove forgotten linesUbitUmarov1-7/+0
2014-07-27serialize sound parameters for llLoopSoundUbitUmarov1-1/+48
2014-05-26When saving an OAR in "Publish" mode, also discard Group informationOren Hurvitz1-3/+10
2014-03-28Better skipping of "SculptData" when parsing XMLOren Hurvitz1-7/+1
2014-03-28Removed "SculptData" from the serialized XML format of primsOren Hurvitz1-11/+3
2014-03-24Fixed parsing of coalesced objects if the XML starts with an XML Declaration ↵Oren Hurvitz1-44/+45
("<xml ...>") Resolves http://opensimulator.org/mantis/view.php?id=6944
2014-03-24Refactored Load IAR: created a generic mechanism to modify the SOG's as they ↵Oren Hurvitz1-0/+67
are being loaded Resolves http://opensimulator.org/mantis/view.php?id=6942
2014-03-24Refactored: ExternalRepresentationUtils should be the only place where the ↵Oren Hurvitz1-2/+2
"CreatorData" field is calculated, to ensure uniformity Resolves http://opensimulator.org/mantis/view.php?id=6933
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-2/+2
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-09-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood1-0/+14
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-06-27Make the concept of namespaces explicit in dynamic attributesJustin Clark-Casey (justincc)1-1/+1
This is in order to reduce the likelihood of naming clashes, make it easier to filter in/out attributes, ensure uniformity, etc. All dynattrs in the opensim distro itself or likely future ones should be in the "OpenSim" namespace. This does alter the underlying dynattrs data structure. All data in previous structures may not be available, though old structures should not cause errors. This is done without notice since this feature has been explicitly labelled as experimental, subject to change and has not been in a release. However, existing materials data is being preserved by moving it to the "Materials" store in the "OpenSim" namespace.
2013-06-06Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie1-0/+16
may yield unexpected results in some cases. No database persistence yet,
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.
2013-02-07Rename Bounciness to RestitutionMelanie1-3/+3
2013-02-07Rename Bounciness to RestitutionMelanie1-3/+3
2013-02-07Rename "Bounciness" to "Restitution"Melanie1-3/+3
2013-02-06Partial port of Avination's support for the new physics parameters.Melanie1-0/+43
Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
2013-01-25Added DynAttrs to the serialized XML format of prims. When copying prims, ↵Oren Hurvitz1-0/+14
use deep copy for DynAttrs.
2012-08-29 A few more changes to keyframesUbitUmarov1-1/+1