Commit Graph

34 Commits

Author SHA1 Message Date
Max
2e02c2e7ef Fixed some encoding errors. 2021-05-04 19:45:00 -05:00
Max
2050723dbd Fixed a few encoding errors. 2021-05-03 17:26:55 -05:00
Max
009d84f49f 0.476.0.421371 2021-05-01 17:40:09 -05:00
Max
336792dc83 0.470.0.419147 2021-03-19 21:38:13 -05:00
Max
535ffa905c Use sorted dictionary to represent attributes.
Minor yet significant change that should enforce consistency in the serialization order of attributes. Making this change in line with a fix Roblox is making to their attribute serialization.
2021-03-12 17:38:40 -06:00
Max
83dd0af8d2 Add support for Attributes! 2021-02-25 14:09:54 -06:00
Max
b352e2568d Light maintenance 2021-02-18 13:15:08 -06:00
1acb895eaf 0.462.0.416719 2021-01-20 14:45:58 -06:00
988469ac04 0.454.0.413308 2020-10-30 15:07:11 -05:00
d1535c9a15 Small enhancements introduced from Rbx2Source migration. 2020-09-21 13:29:31 -05:00
7252e96c03 0.448.0.411244 2020-09-17 12:14:57 -05:00
2a114e70b0 Code Analysis feedback tweaks. 2020-09-14 11:20:34 -05:00
4240337863 0.447.1.411123 2020-09-12 20:16:19 -05:00
1314be22bb Patched fatal flaw with property setter.
Turns out the property setter was failing to cover inheritance, so referent properties were being corrupted in the process. This should now be fixed.

I've also deprecated IsA<T>() in favor of using C#'s own `is` operator and stopped locking the parent of service classes to avoid saving issues.
2020-08-21 10:31:12 -05:00
2ff5d82218 More tweaks after pen-testing. 2020-08-20 02:03:05 -05:00
f4899b4ce6 General Misc Patches 2020-08-17 20:12:24 -05:00
297426bdb5 Optimizations and memory leak fixes 2020-08-17 00:33:59 -05:00
57fd3f8a25 Brought spec up to date, improvements to stability 2020-07-12 20:19:30 -05:00
5f4d3e16d2 Bringing up to date.
Brought everything up to date with 0.437.0.406875 and made some improvements.
2020-06-21 20:02:36 -05:00
92c6f2d96e 0.413.1.370526 2019-12-22 21:23:06 -06:00
bd1fa5784c Minor bug fixes. 2019-11-04 15:25:22 -06:00
e14b092aa7 Added read support for Instance Attributes.
This isn't 100% finished yet. I intend to add some better API for reading specific attributes, as well as write support (of course!)
2019-10-31 21:40:31 -05:00
fd8598c1b5 0.408.0.355772 2019-10-30 18:33:00 -05:00
2ce86d8f87 Fixed a typo. 2019-10-06 04:08:46 -05:00
0a5bb69486 Improvements and bug fixes
- Added some more methods to the Instance class to make instance queries
more powerful.
- Fixed a bug where comment nodes were being processed by the
XmlFileReader
2019-10-06 02:18:42 -05:00
cf4cf829d7 Minor fixes and tweaks. 2019-07-04 18:26:53 -05:00
4e1fdc0a22 Bug fixes and improvements.
- Fixed an issue pertaining to implicit value casting in the property
reflection.
- Removed some unnecessary generated whitespace in the class data.
- Added some missing properties to the generated class data.
- Moved the Quaternion type into the DataTypes namespace.
2019-07-03 09:48:05 -05:00
de8df15d3f Large scale refactor to add class support!
Instance classes are now strongly typed with real property fields that
are derived from the JSON API Dump! This required a lot of reworking
across the board:

- Classes and Enums are auto-generated in the 'Generated' folder now.
This is done using a custom built-in plugin, which can be found in
the Plugins folder of this project.
- Property objects are now tied to .NET's reflection system. Reading
and writing from them will try to redirect into a field of the
Instance they are bound to.
- Property types that were loosely defined now have proper data types
(such as Color3uint8, Content, ProtectedString, SharedString, etc)
- Fixed an error with the CFrame directional vectors.
- The binary PRNT chunk now writes instances in child->parent order.
- Enums are now generated correctly, with up-to-date values.
- INST chunks are now referred to as 'Classes' instead of 'Types'.
- Unary operator added to Vector2 and Vector3.
- CollectionService tags can now be manipulated per-instance using
the Instance.Tags member.
- The Instance.Archivable property now works correctly.
- XML files now save/load metadata correctly.
- Cleaned up the property tokens directory.

I probably missed a few things, but that's a general overview of
everything that changed.
2019-06-30 17:01:19 -05:00
41c84dc49c Fixed some binary file save problems. 2019-06-10 20:28:15 -05:00
47112242e7 Added write support for binary files!
Holy cow, this took a lot of work. I think I may need to do a few more
things before I consider this a 1.0 release, but I'm glad to have
finally overcome this hurdle!
2019-06-07 22:43:28 -05:00
9c3a673d95 Cleaning up some things. 2019-05-18 23:44:51 -05:00
34642f5656 Added support for saving XML files!
Support for binary files will be coming later.
2019-05-17 07:08:06 -05:00
45a84e34d0 Added support for SharedStrings and SSTR chunk type 2019-05-17 01:14:04 -05:00
2be61916de Fixed some bugs, generally refining stuff. 2019-02-04 13:30:33 -06:00