Repository navigation
Releases: PytholIsCool/CoFang
Release list
Build 6
Build 5
Install instructions in README
Changes
Removed
>>operators as they didn't function properly and any workarounds or fixes would defeat the purpose of the operator.
Improvements
- Code optimizations and various conventionality improvements
Planned
Json Serializing
Json Deserializing
List support
Build 4
Install instructions in README
Changes:
Added
- Support for removing fields from ConfigObjects
- Support for reserializing ConfigObjects regardless of if there's other ConfigObjects in the config file
This means you can serialize an object, add or remove fields, reserialize the object and everything will update fine while leaving other objects intact
Improvements
-
Added a boolean member to the ConfigObject class that marks if an object has been serialized or not. If it has and the user attempts to serialize the object again, it will automatically return instead of reserializing the object.
-
A ConfigObject will be considered unserialized if:
A field is added
A field is removed
It was just constructed
The object is a fresh clone
Build 3
Install instructions in README
Small patch
Changes:
Added
- Method to automatically obtain the current application's path
(Somewhat unnecessary change as it takes one line to do so but I figured I should include it)
Build 2
Install instructions in README
Highly recommend using this one over the previous one
Changes:
Added
- Various memory usage improvements.
- Drastically decreased unnecessary memory use
- Added support for serializing and deserializing config objects to and from the same config file
- Improved serialization format
- Added
<<and>>operators (<<to add fields,>>to read existing fields) - Added chaining support for .AddField method (
<<operator supports chaining too) - Reworked API structure
- Fully reworked ConfigObject class to be less over-engineered
- Made custom fields copy over to copied instances of ConfigObjects
Removed
- Native fields as they are unnecessary
- The need for pointers every time you want to retrieve the values of fields
Bugs:
- As of now, there are no bugs that I am aware of. This all works as intended.