-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend PayloadReader APIs to meet the WinForms requirements #11341
base: SafePayloadReader
Are you sure you want to change the base?
Commits on May 9, 2024
-
extend PayloadReader public API surface:
- RecordMap needs to remain internal, but implement IReadOnlyDictionary<int, SerializationRecord> so it can be returned from a public method without exposing the type itself - introduce new PayloadReader.Read overload that can return RecordMap via out parameter - make SerializationRecord.ObjectId public - make MemberReferenceRecord public, expose Reference property
Configuration menu - View commit details
-
Copy full SHA for b59abfd - Browse repository at this point
Copy the full SHA b59abfdView commit details
Commits on May 10, 2024
-
extend PayloadReader public API surface:
- extend ArrayRecord with ElementTypeName and ElementTypeLibraryName public properties
Configuration menu - View commit details
-
Copy full SHA for 297381c - Browse repository at this point
Copy the full SHA 297381cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25e123e - Browse repository at this point
Copy the full SHA 25e123eView commit details -
remove code that won't be needed for reading, move code that will be …
…needed for writing to System.Windows.Forms where it's used (System.Windows.Forms compiles)
Configuration menu - View commit details
-
Copy full SHA for c6f612d - Browse repository at this point
Copy the full SHA c6f612dView commit details
Commits on May 13, 2024
-
- update test project so it compiles
- stop using internal APIs - fix the bugs: - update the record map, so mapping system class of common primtive types to PrimitiveTypeRecord<T> is visible also to those who access it via Id - add missing support for mapping to PrimitiveTypeRecord for IntPtr and UIntPtr - use GetSerializationRecord when unwrapping - remove FormatterTypeStyle.TypesWhenNeeded test (not supported) - remove tests for internal APIs tested in PayloadReader project: - RecordMapTests - NullRecordTests - ClassInfoTests - MemberTypeInfo
Configuration menu - View commit details
-
Copy full SHA for ce67096 - Browse repository at this point
Copy the full SHA ce67096View commit details
Commits on May 14, 2024
-
- check records by Ids to detect custom comparers for Hashtable - ObjectRecordDeserializer needs to handle ArrayRecords and raw primitive values - add support for jagged arrays with custom offsets (just to rejct them later) - materialize arrays of primitive types using the provided API - when mapping System Classes to PrimitiveTypeRecord<T> the Ids need to be preserved - don't iterate over the same member twice - support arrays of nullable primitives (don't represent them as ArrayRecord<ClassRecord> because they consists of MemberPrimitiveTypedRecord and NullsRecords)
Configuration menu - View commit details
-
Copy full SHA for 045baed - Browse repository at this point
Copy the full SHA 045baedView commit details -
disable some of the FormatterTypeStyle.TypesWhenNeeded tests (this ne…
…eds a discussion whether we want to support that or not)
Configuration menu - View commit details
-
Copy full SHA for 7f409ae - Browse repository at this point
Copy the full SHA 7f409aeView commit details -
move the payload reader code to separate project to ensure we are not…
… using any of the internal APIs
Configuration menu - View commit details
-
Copy full SHA for 85c01ff - Browse repository at this point
Copy the full SHA 85c01ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b7d485 - Browse repository at this point
Copy the full SHA 7b7d485View commit details -
Configuration menu - View commit details
-
Copy full SHA for c88443f - Browse repository at this point
Copy the full SHA c88443fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c63a18c - Browse repository at this point
Copy the full SHA c63a18cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8af796 - Browse repository at this point
Copy the full SHA a8af796View commit details
Commits on May 15, 2024
-
- FormatterTypeStyle.TypeAlways is a must have, remove unsupported RecordTypes from the public enum and throw NotSupportedException when they are provided - add support for Formatters.FormatterTypeStyle.XsdString - enable tests for FormatterTypeStyle.TypesAlways | FormatterTypeStyle.XsdStringr
Configuration menu - View commit details
-
Copy full SHA for f9e1aee - Browse repository at this point
Copy the full SHA f9e1aeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3043a2 - Browse repository at this point
Copy the full SHA a3043a2View commit details