Commit Graph

41 Commits

Author SHA1 Message Date
c25b9b3b12 Little fixes 2025-11-16 16:13:45 -08:00
b41748d0f0 Split out XmlSer stuff. Fix behaviour 2025-11-10 18:51:52 -08:00
e7332ff3d4 Fixed 2025-10-15 23:20:29 -07:00
6c6fb158c2 Update 2025-10-15 23:07:26 -07:00
da399343e2 Lotsa fun 2025-10-15 21:50:37 -07:00
7b28ec1503 ***** Switch to ser.XmlSer 2025-09-15 20:49:54 -07:00
4563db15a6 Ser updates 2025-08-17 10:57:44 -07:00
3f850cc9b0 Implement Xml Serialization Framework with Type Handling and Metadata Caching
- Introduced XmlSer class for XML serialization and deserialization.
- Added TypeMetaCache for caching type metadata and reflection information.
- Implemented various ITypeHandler implementations for handling different types (Primitive, Proxy, ISerializable, Collection, Object).
- Enhanced type resolution with TypeResolver to manage type lookups and conversions.
- Established a configuration class (XmlCfg) to manage serialization settings.
- Integrated support for handling graphs and references in serialized objects.
- Added extensive member processing and filtering based on attributes.
- Ensured compatibility with immutable collections and various data structures.
- Implemented detailed error handling and logging for serialization processes.
2025-05-28 10:46:00 -07:00
d58fb58b3a Title: Refactored condition checks in XmlFormatter2.cs
x) This change also includes a check on the writer's state before deciding whether to write elements, improving robustness of the serialization process.
2024-07-30 00:47:19 -07:00
b66bc4e5ed Title: Added support for 'Do' attribute in XML Formatter
x) Introduced the 'Do' attribute to the XML formatter.
x) The 'Do' attribute is now fetched and checked before filtering fields and properties.
x) This change allows more granular control over serialization, as items marked with the 'Do' attribute will not be filtered out.
x) Adjusted formatting in some areas for consistency.
2024-07-29 20:25:22 -07:00
a5cd9b3a67 Update XmlFormatter2.cs with setMethod handling and type comparison improvements
x) Added setMethod handling for child elements
x) Improved type comparison using IsAssignableFrom instead of IsSubclassOf
2024-07-03 12:40:47 -07:00
1fd02d1460 Update logging events and improve log details display
x) Add new logging events for GC and ThreadPoolWorkerThread
x) Implement method to extract method information from TraceEvent
x) Enhance log details display for specific event types
x) Improve time header format in log messages
x) Refactor verbose logging messages to include type friendly names
2024-06-02 16:26:11 -07:00
a62724bf67 Update logging and event handling in GC.cs and Log.cs
x) Added new event handling for runtime garbage collection events
x) Implemented logging endpoints for different categories
x) Improved object creation handling based on type constructors
2024-05-27 16:47:39 -07:00
83e10dd444 Update Conn.cs, Resource.cs, and XmlFormatter2.cs
- Fix typos in method names: recieveObject -> receiveObject
- Initialize object in receiveObject method
- Add nullable enable directive to Resource.cs
- Remove unused exception variable in XmlFormatter2
2024-05-26 20:13:55 -07:00
4e59ae0331 Add nullable annotations and update class constructors. Improve XML deserialization handling. 2024-05-26 18:47:11 -07:00
8dbcb36b86 Process updates 2024-05-16 22:18:15 -07:00
492ca38839 Cleanup
x) Renames
x) Better relativation
2024-05-05 23:25:54 -07:00
08cf4d3aca Fixes and verbose logging 2024-05-05 20:18:46 -07:00
43d62557dd Some data fixes 2024-05-04 17:21:43 -07:00
ff28a94131 x) Recording deserialization 2024-05-02 19:37:26 -07:00
0c37db10b5 Better showing templates
x) Remove oid
x) Make res ?
x) Dont show types when the type is the same as its enclosing type
2024-05-02 18:27:28 -07:00
da63a246e6 logging 2024-05-01 14:23:23 -07:00
8879e98229 Whitespace changes 2024-04-30 12:18:33 -07:00
c18c106b72 Formatting 2024-04-28 17:31:24 -07:00
dcd15a2663 x) Fix EOL on file 2024-04-28 17:09:29 -07:00
0bd6b086f6 x) Remove some Meta things from the debug view
x) Better resource handling.  Resources can be subclasses of interfaces now
x) Add a bit of logging
x) Add ser/deser to and from Attributes
x) If saving backing fields, use short names (ie the prop name)
x) Default to attributes and shortnames
2024-04-28 15:00:48 -07:00
14615e95e0 x) ser/deser of collections 2024-04-28 10:59:47 -07:00
72a28b5f81 Various XML fixes 2024-04-27 17:51:39 -07:00
d237c438c7 Add default for xmlformatter 2024-04-25 21:30:39 -07:00
5e025284f0 x) Add Type Proxy for saving and loading objects we dont have control 2024-03-03 14:59:17 -08:00
3bbf5e50df Little renames 2024-02-09 15:49:42 -08:00
71a7a115e2 Various immutable changes 2024-01-21 22:16:02 -08:00
dbdd6ea748 x) Add observable list
x) Fix immutability helpers
x) Small FSM fixes
2024-01-14 01:33:07 -08:00
8bc0aafebc Massive XML changes 2023-12-22 15:28:06 -08:00
a27140700c x) Add TODO
x) Add various attributes to control specific things
x) Remove some unused logs
x) Pass MethodInfo through almost everything
x) Add DeserializeInto which keeps existing objects around
x) Add Properties to things.  Off by default
x) Add various filtering code
2023-12-05 22:48:35 -08:00
f4a3410e89 x) Fix xml to grab from actual value if v= doesnt exist 2023-11-05 07:58:57 -08:00
5a6f1220e6 x) Properly handle types on polymorphic arrays 2023-11-05 04:33:48 -08:00
c26348afb2 Potential TODO to spit out commented classes and enums for design 2023-10-19 18:46:06 -07:00
be5e5d5bc4 Small fixers 2022-09-04 20:17:40 -07:00
Marc Hernandez
2844950af3 Updates to SharpLib 2021-06-17 01:48:02 -07:00
6e2e40dee3 Moving some files around 2019-12-08 00:16:21 -08:00