Commit Graph

191 Commits

Author SHA1 Message Date
d1f1694678 Fixup for agents 2026-03-21 13:59:27 -07:00
cc52660989 Merge remote-tracking branch 'origin/mh/core' into mh/dev
# Conflicts:
#	archive/logging/GC.cs
#	archive/logging/Tracing.cs
2026-03-18 10:13:55 -07:00
20c3af53e4 Update stuffs 2026-03-18 10:12:38 -07:00
4d9cda5f48 Little things 2026-02-14 02:06:00 -08:00
81ba16a0d1 JsonData skeleton 2026-02-13 19:57:53 -08:00
ce168985a8 Make SharpLib more friendly 2026-02-13 15:49:56 -08:00
3a3a634841 Better agents file 2026-02-13 14:32:30 -08:00
1e3204601e Strip out experimental stuff 2026-02-13 14:08:48 -08:00
40dd96d06e Various 2026-02-09 14:57:45 -08:00
3bf3220beb Add filtering and timing 2026-02-05 18:27:56 -08:00
6b1e193c90 Better whitespace changes 2026-02-02 16:02:00 -08:00
28d8c145b5 Merge branch 'mh/dev'
# Conflicts:
#	SharpLib.csproj
#	exp/Exp.cs
#	imm/FSM.cs
#	imm/Imm.cs
#	imm/List.cs
#	imm/Util.cs
#	imm/io.cs
#	lib/XmlFormatter2.cs
#	logging/Log.cs
#	res/Resource.cs
2026-02-02 15:55:30 -08:00
2b5940bef6 Whitespace updates 2026-02-01 23:49:30 -08:00
65e7ed1b24 Update the immutibility names. Add net.10.0 2026-01-31 15:18:33 -08:00
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
baa65531a2 Better exception logging 2025-11-07 15:23:28 -08:00
cb2b79be86 Helper for strings 2025-11-03 14:01:43 -08:00
6b092f8a41 Better guid logging 2025-11-02 16:17:30 -08:00
bbef15138c Fix some immutability stuff. Better partial Guid logging 2025-11-02 16:17:05 -08:00
307a0b8cdc Fix CreatedAt to never change after being created 2025-11-01 15:01:09 -07:00
a5871e9c0b Log + print code to log 2025-10-26 11:37:51 -07:00
f48f8020cf Fixup date text 2025-10-23 22:09:27 -07:00
fb96548db2 Fixup use of using on short namespaces 2025-10-17 01:42:06 -07:00
f310982890 More things that cant be serdeser 2025-10-16 22:51:30 +00:00
7abfe28e9b Dont serialize delegates 2025-10-16 15:13:02 -07:00
d6135116f1 Little godot hack in config 2025-10-16 02:31:11 -07: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
5a0adfc2b3 property for log info 2025-09-24 21:57:49 -07:00
4b53686b92 BIG fix to logging
Started using Blocking datastructures making things a lot better.  Thanks Gemini!
2025-09-24 20:56:02 -07:00
83ef5dad91 Only use 1 ItemGroup 2025-09-18 00:04:54 -07:00
681afafe05 Project updates 2025-09-16 02:39:27 -07:00
7b28ec1503 ***** Switch to ser.XmlSer 2025-09-15 20:49:54 -07:00
403d106ae0 Bring some versions up 2025-09-11 16:35:17 -07:00
5e8bb3acfc Refactor unnamed tuple into a struct 2025-09-02 11:09:21 -07:00
ce75909b8b Bitwise Guid helpers 2025-08-25 17:00:36 -07:00
7f3a497eb0 Log Fixes 2025-08-24 16:31:08 -07:00
1c8893c197 Fix configs after the big refactor 2025-08-19 21:57:20 -07:00
bba0e96007 Cleanup log system 2025-08-18 20:06:59 -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
f873c42cbf fix(logging): Account for nullable value types
This commit updates logging to handle nullable value types and parameters.

The following changes were made:
- Updated the Value record to use '!' instead of '?' for nullability.
- Added '!' to the default Value.
- Added '!= null' checks to conditional assignment.
- Removed unnecessary nullable-disable compiler directives.
2024-08-15 22:26:47 -07:00
b59baf0239 Title: Refactored variable names and removed unused imports
x) In `Imm.cs`, renamed the delegate parameter from `ZZOld` to `old` for clarity.
x) Also in `Imm.cs`, changed the property name from `ZZOld` to `Old_backing`. This change was made across multiple classes within the file, improving code readability by using a more descriptive name.
x) In `Log.cs`, removed unused imports (`System.Security.Cryptography.X509Certificates`, `System.Dynamic`, `System.Xml.Schema`, and `Microsoft.CodeAnalysis.CSharp.Syntax`) to clean up the codebase.
2024-08-06 12:17:24 -07:00
9aeac39704 Title: Refactored logging system and updated Config.cs
x) Updated `Config.cs` to include a new instance of `XmlFormatter2Cfg` with specified data structure and POD.
x) Renamed the `destroy()` method in `Log.cs` to `shutdown()`.
x) Modified the startup process in `Log.cs` to check if it's already running, providing an info log if true.
x) Changed the encoding for StreamWriter in `startup()` method to UTF8 and added buffer size.
x) Commented out error stream related lines in Log.cs as they are not being used currently.
x) Added exception handling when processing message headers in log events.
x) Added checks for null or whitespace strings before writing them into files or console. Trimmed any null characters from lines before writing them into files.
x) Removed unnecessary white spaces and commented code blocks.
2024-08-04 01:30:23 -07:00
738fd19cf3 Title: Commented out deferredLoader related code in Resource.cs
x) The changes involve commenting out the `deferredLoader` related code in the `Resource.cs` file.
x) Specifically, the instantiation of `ImmDefLoad s_deferredLoad`, the creation and start of a new thread for `m_deferredLoader`, and the entire method `deferredLoader()` have been commented out.
x) This might be due to debugging or refactoring efforts where these parts are temporarily disabled. Further context is needed to understand why these specific lines were commented out.
2024-08-02 20:34:26 -07:00
09bcc5ee37 Add the ability for records to be config classes 2024-08-02 13:47:20 -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