182 Commits

Author SHA1 Message Date
UbitUmarov
0d71b6d871 very useless changes 2025-06-25 02:22:28 +01:00
UbitUmarov
cd6efb7553 persist start string parameter (from rezobject) 2024-11-26 18:34:26 +00:00
UbitUmarov
1736b6a8a0 make some use of frozendicionaries on xml processors 2024-05-08 19:14:32 +01:00
UbitUmarov
5330c8fcca mantis 9127 add missing linksetdata serializer 2024-05-08 18:01:38 +01:00
UbitUmarov
573af89389 store linksetdata in inventory and region mysql db ( others todo) UNTESTED 2024-03-28 22:03:14 +00:00
UbitUmarov
dd58a3a57c cosmetics; remove old unused sop rotation axis ints 2024-02-15 18:48:00 +00:00
UbitUmarov
0faf418f0c a few more changes on test feature 2023-03-14 17:30:01 +00:00
UbitUmarov
41b718626f cosmetics 2022-12-15 22:19:09 +00:00
UbitUmarov
18e20d6fdd more cosmetics on object serialization 2022-11-13 03:19:08 +00:00
UbitUmarov
d9380c9b83 clean some spurius chars and a few other things. Thanks Vincent Sylvester 2022-11-12 02:49:01 +00:00
UbitUmarov
9b33ef9c8c a few more changes on vectors etc 2022-01-10 02:21:17 +00:00
UbitUmarov
a0e039e876 useless ms xml things 2021-12-14 16:04:45 +00:00
UbitUmarov
852245d81c a few more changes on script running flag 2021-11-20 04:39:29 +00:00
UbitUmarov
d2dbe3f4d0 Yeackk bad bad typo 2020-05-26 14:46:15 +01:00
UbitUmarov
0a48da85a3 SOP to xml: don't waste space with some unset optional parameters. 2020-05-26 12:48:08 +01:00
UbitUmarov
aca5728ab2 try to work around missing BOM 2020-05-18 02:37:03 +01:00
UbitUmarov
e308ab8843 .net xml things don't like null terminated strings 2020-05-18 01:12:40 +01:00
UbitUmarov
2a38210fe9 serialize the new variables 2020-01-22 22:01:05 +00:00
UbitUmarov
6e2b5ac238 fix identation 2019-11-23 01:21:36 +00:00
UbitUmarov
14270e316a fix xml decode of kfm in single prims case 2019-11-23 01:17:03 +00:00
UbitUmarov
ef43111fc1 another missing file 2019-01-21 06:41:01 +00:00
UbitUmarov
d841c593b9 add a bit more persistence (still mysql only) 2018-12-31 09:54:54 +00:00
UbitUmarov
707eb8de82 remove more xml things no longer needed on .net >4.5.2 2018-01-17 07:17:24 +00:00
UbitUmarov
029d6e40f6 remove those xml things no longer needed on .net >4.5.2 2018-01-17 04:18:43 +00:00
UbitUmarov
b903287dd1 Merge branch 'master' into httptests 2018-01-16 17:17:44 +00:00
UbitUmarov
c92ba1cc04 shut up some pesty warnings 2018-01-15 16:23:19 +00:00
UbitUmarov
439cbf0d4d missed a few.. 2018-01-09 19:48:13 +00:00
UbitUmarov
eec3921800 fall back to a obsolete property since several monos in use (include our own) do not suporte the proper .net4.0 one 2018-01-08 12:00:21 +00:00
UbitUmarov
89a690c11f a few more xml things 2018-01-05 12:24:07 +00:00
UbitUmarov
ec6f87d3ef disable some XmlResolver 2018-01-04 23:51:43 +00:00
UbitUmarov
59de8fbba0 fix placement of xml ReadEndElement() 2017-07-16 06:10:24 +01:00
UbitUmarov
9ae26fc5af store kfm on inventory. this may still be a bit confusing on rez 2017-07-16 05:19:27 +01:00
UbitUmarov
bd249bdf5b replace the wrong libOMV user modifiable Utils.EnUSCulture by our own no 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-13 04:14:33 +01:00
UbitUmarov
51d32e3bed add more missing en-us culture on scene serializer writes 2017-07-13 02:57:57 +01:00
UbitUmarov
d12957dc2c still losing time with of halcyon incompatibile oars... cathch exceptions of 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-09 12:14:13 +01:00
Robert Adams
5bfe8b18fe Another attempt at parsing MOAP <Media> elements in OAR files.
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 21:41:34 -07:00
UbitUmarov
29f2421d4f revert fa5bf4fd0b for test 2017-06-08 11:45:33 +01:00
Robert Adams
fa5bf4fd0b Correct parsing of 'Media' XML element in PrimitiveBaseShape when reading an 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-06-04 20:51:56 -07:00
UbitUmarov
3a8dd24fd1 move deep effective permissions aggregation to first time use and not on changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards 2017-05-04 11:37:13 +01:00
UbitUmarov
443fc60cdf store the physics inertia override in Mysql and add it to serializer. run prebuild is required 2017-04-01 17:49:17 +01:00
UbitUmarov
db2fbf6516 add more calls to effective permissions aggregation, some paths may still be missing on objects changes, but remove the aggregation on check paths, so all can be tested. 2017-01-17 13:24:09 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Mandarinka Tasty
7c566dca5a The new Constant: integer OBJECT_REZZER_KEY = 32;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-04 17:18:56 +00:00
Diva Canto
0b32cf0e8f Can't do it do it this low in the stack. Attachments on teleports apparently 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 f19199cf4a.
2016-06-22 06:21:23 -07:00
Diva Canto
f19199cf4a Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen. 2016-06-21 20:28:25 -07:00
UbitUmarov
d8528a7ba0 add axis locks to sop serializer. Now they are also saved to inventory 2015-10-20 18:37:24 +01:00
UbitUmarov
a11edceb00 seems to compile ( tests comented out) 2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af bad merge? 2015-09-01 14:54:35 +01:00
UbitUmarov
3829df1059 try to implement core load oar options 2015-08-24 17:05:16 +01:00
Oren Hurvitz
4ad1468165 Better handling of invalid XML: a) prevent infinite loop on EOF; b) better 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-11 07:35:37 +01:00