Commit Graph

31 Commits

Author SHA1 Message Date
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
b0b9496c4a x) Updated argument expressions and method overrides in multiple classes
In this commit, several changes were made across different files:

- In `FSM.cs` and `Imm.cs`, the `[CallerArgumentExpression]` attribute was updated to reflect the correct argument names.
- The `ProcessWork` method in `Imm.cs` was changed from virtual to override.
- In `Log.cs`, the `[CallerArgumentExpression]` attribute was updated for clarity.
- A new override for the `GetHashCode()` method was added in `AddressStack.cs`.
- The version of "Microsoft.CodeAnalysis.CSharp" package reference was updated from 4.2.0 to 4.3.1 in 'SharpLib.csproj'.

These changes improve code readability and ensure that methods are correctly overridden where necessary. Also, updating the package version ensures compatibility with newer features or bug fixes provided by Microsoft's C# compiler platform.
2024-07-26 20:53:36 -07:00
23017e0852 Title: Removed unnecessary whitespace in Imm.cs
x) Analyzed the file changes and diffs for imm/Imm.cs.
x) The changes involve removing extra lines of whitespace that were present in the code. This was done to improve readability and maintain a clean, consistent coding style.
x) No functional changes were made to the code, so no impact on functionality is expected.
2024-07-23 17:12:48 -07:00
193067bf5c Fix nullability issues in Log.cs and Imm.cs
- Updated Log.cs to handle nullable object types
  - Modified LogEvent class to accept nullable object types
  - Adjusted methods in log class to use nullable object types where necessary
  - Initialized s_thread variable with Thread.CurrentThread

- Updated MemorySourceText and MemoryRefResolver classes in Script.cs
  - Implemented overrides for SourceText properties and methods in MemorySourceText class
  - Refactored MemoryRefResolver class to handle nullability correctly
2024-05-26 19:49:45 -07:00
4e59ae0331 Add nullable annotations and update class constructors. Improve XML deserialization handling. 2024-05-26 18:47:11 -07:00
bdf392cb36 Add interface into Process (maybe?)
Ref updates
2024-05-22 00:40:09 -07:00
c9cbacb1c9 x) Pass dbgExp through to the right places
x) Bunch of logging fixes
2024-05-21 22:26:54 -07:00
8dbcb36b86 Process updates 2024-05-16 22:18:15 -07:00
4d7222e931 acess 2024-05-06 18:23:23 -07:00
492ca38839 Cleanup
x) Renames
x) Better relativation
2024-05-05 23:25:54 -07:00
43d62557dd Some data fixes 2024-05-04 17:21:43 -07:00
c44706124b Whitespace 2024-05-03 19:51:45 -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
ae4e3f75dc Renames
x) Renames
2024-05-01 01:27:42 -07:00
ad4bcf31a9 Cleaner Imm 2024-04-30 20:39:21 -07:00
cf20b86880 Renames 2024-04-30 17:56:16 -07:00
bea7080a5c Immutability and strip the / off the path
x) Better path substring
x) Add some interfaces for immutability
2024-04-30 12:19:56 -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
79b42b723e Whitespace Changes 2024-04-28 01:43:23 -07:00
c669f6bb75 Little changes 2024-04-27 22:11:34 -07:00
72a28b5f81 Various XML fixes 2024-04-27 17:51:39 -07:00
a3e79e83b4 FSM
x) Add whatFile for fast cached lookup of filenames from a path
x) Debug renames
x) Add default OnChanged handler that does nothing
x) Cleanups to the FSM stuff
2024-04-21 23:31:47 -07: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
d6a9cb42cf Various imm stuff 2023-12-02 14:30:52 -08:00
d2dc2f9c75 Add Timed to my immutable helpers 2023-11-12 21:14:04 -08:00
c95a809bfd Add Versioned, Recorded and FSM 2023-11-11 14:51:40 -08:00
6e2e40dee3 Moving some files around 2019-12-08 00:16:21 -08:00