-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Use PayloadReader in System.Resources.Extensions #102379
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 241157e - Browse repository at this point
Copy the full SHA 241157eView commit details -
set IsPackable to false so the package is not published anywhere, mak…
…e types internal so they can be included as links from other project
Configuration menu - View commit details
-
Copy full SHA for fdbaf50 - Browse repository at this point
Copy the full SHA fdbaf50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1da4a10 - Browse repository at this point
Copy the full SHA 1da4a10View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba62c25 - Browse repository at this point
Copy the full SHA ba62c25View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0c20fc - Browse repository at this point
Copy the full SHA f0c20fcView commit details -
change the namespace from System.Windows.Forms.BinaryFormat to System…
….Resources.Extensions.BinaryFormat
Configuration menu - View commit details
-
Copy full SHA for 39dd889 - Browse repository at this point
Copy the full SHA 39dd889View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00608e4 - Browse repository at this point
Copy the full SHA 00608e4View commit details
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6354a91 - Browse repository at this point
Copy the full SHA 6354a91View commit details -
Revert "try to handle the type and assembly name mangling"
This reverts commit 6354a91.
Configuration menu - View commit details
-
Copy full SHA for ba41ff0 - Browse repository at this point
Copy the full SHA ba41ff0View commit details -
use BinaryFormatter as a fallback when we get NotSupportedException e…
…xception and the stream is seekable
Configuration menu - View commit details
-
Copy full SHA for cde8100 - Browse repository at this point
Copy the full SHA cde8100View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a90452 - Browse repository at this point
Copy the full SHA 3a90452View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37200dc - Browse repository at this point
Copy the full SHA 37200dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a36687 - Browse repository at this point
Copy the full SHA 6a36687View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4de6ee - Browse repository at this point
Copy the full SHA d4de6eeView commit details -
make the WinForms tests compile and pass:
- add missing usings - remove writer tests - update stored blobs that had different assembly key - use hardcoded assembly name as it's used in the resources - move some of the tests to PayloadReader as they belong there
Configuration menu - View commit details
-
Copy full SHA for 1cb10c1 - Browse repository at this point
Copy the full SHA 1cb10c1View commit details
Commits on May 23, 2024
-
fix the build (when creating a trimmed list, the serialized size must…
… be less or equal than the List array length)
Configuration menu - View commit details
-
Copy full SHA for eb0270f - Browse repository at this point
Copy the full SHA eb0270fView commit details -
change public API: ArrayRecord can represent multi-dimensional array …
…so it must return lengths for all dimensions
Configuration menu - View commit details
-
Copy full SHA for 3b4cda3 - Browse repository at this point
Copy the full SHA 3b4cda3View commit details -
- remove env var - remove redundant attribute annotation - enable AOT analyzer and annotate the code, use Array.CreateInstanceFromArrayType when possible - throw immediately once invalid input is read (to reduce the number of places we throw), add missing tests - use Resources to get exception messages
Configuration menu - View commit details
-
Copy full SHA for cabd585 - Browse repository at this point
Copy the full SHA cabd585View commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a92a528 - Browse repository at this point
Copy the full SHA a92a528View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f6d03f - Browse repository at this point
Copy the full SHA 6f6d03fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 891365f - Browse repository at this point
Copy the full SHA 891365fView commit details
Commits on May 27, 2024
-
Apply suggestions from code review
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 7a60a3f - Browse repository at this point
Copy the full SHA 7a60a3fView commit details -
Apply suggestions from code review
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for ec629c9 - Browse repository at this point
Copy the full SHA ec629c9View commit details -
Apply suggestions from code review
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 6fb3a54 - Browse repository at this point
Copy the full SHA 6fb3a54View commit details -
- move the files to match the existing source code path convention - adjust namespaces (and base64 serialized objects that used the old namespace and library name) - fix AOT annotation - fix the build (by not using Windows-specific test data on other platforms) - rename "Binary Format" and "Binary Formatter" to "NRBF" - fix formatting - throw ArgumentException for non-seekable Streams (don't expect that using Position will throw for them)
Configuration menu - View commit details
-
Copy full SHA for 0b10f6b - Browse repository at this point
Copy the full SHA 0b10f6bView commit details
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a8c3948 - Browse repository at this point
Copy the full SHA a8c3948View commit details -
add WebSocketException to the exclusion list (because it's implementa…
…tion on Mono formats stack trace in slightly different way)
Configuration menu - View commit details
-
Copy full SHA for b57bc2a - Browse repository at this point
Copy the full SHA b57bc2aView commit details
Commits on May 29, 2024
-
- remove parts of BinaryFormattedObjectExtensions used only in WinForms - remove FormatterConverterStub (not used here) - remove hashing from tests - add comment(s) - improve XML doc comments - rename ArrayType to BinaryArrayType and SerializedStreamHeaderRecord to SerializedStreamHeaderRecord to use same naming as spec everywhere - rename ContainsBinaryFormatterPayload to StartsWithPayloadHeader and change it accordingly - use "s_" prefix for static fields
Configuration menu - View commit details
-
Copy full SHA for a7134ef - Browse repository at this point
Copy the full SHA a7134efView commit details
Commits on Jun 3, 2024
-
Apply suggestions from code review
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 42e8199 - Browse repository at this point
Copy the full SHA 42e8199View commit details -
Apply suggestions from code review
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 00cb0a8 - Browse repository at this point
Copy the full SHA 00cb0a8View commit details -
- fix the build - don't hardcode current default value for ToArray(maxLength) argument, make it Int64 for non-SZArrays as the max length is bigger than int.MaxValue - add/fix comments - specify the type in explicit way when using new operator - local constants need to start with uppercase letter - make ObjecId abstract (to make it more explicit which records don't provide Id on purpose) - prefer "private protected" over "protected" - remove opinionated restriction for ObjectNullMultiple256Record - don't use seealso - rename Parse to Decode where input is binary - add argument validaiton for public methods - improve exception messages
Configuration menu - View commit details
-
Copy full SHA for 243ec2e - Browse repository at this point
Copy the full SHA 243ec2eView commit details
Commits on Jun 4, 2024
-
optimize perf for reading arrays of primitive types, but keep it safe…
… at the same time (don't pre-allocate large buffers based on size read from payload when payload does not contain enough data)
Configuration menu - View commit details
-
Copy full SHA for c485e4a - Browse repository at this point
Copy the full SHA c485e4aView commit details -
rename ToArray to GetArray and avoid allocating new array if possible…
…, remove maxLength argument
Configuration menu - View commit details
-
Copy full SHA for 3c1e72c - Browse repository at this point
Copy the full SHA 3c1e72cView commit details
Commits on Jun 5, 2024
-
solve last TODO: fix max size array support by avoiding Int32 overflo…
…w for large multi-dimensional arrays
Configuration menu - View commit details
-
Copy full SHA for f175ff6 - Browse repository at this point
Copy the full SHA f175ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d524a92 - Browse repository at this point
Copy the full SHA d524a92View commit details
Commits on Jun 6, 2024
-
Apply suggestions from code review
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 489c66a - Browse repository at this point
Copy the full SHA 489c66aView commit details -
- prefer NET over NETCOREAPP when writing #if defines - add ConditionalTheory to make the SkipTestException actually work - ObjectNullMultiple must not allow for 0 inputs - preallocate the List<T> for TFMs other than .NET
Configuration menu - View commit details
-
Copy full SHA for 697cb0a - Browse repository at this point
Copy the full SHA 697cb0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d1a7b - Browse repository at this point
Copy the full SHA e3d1a7bView commit details
Commits on Jun 7, 2024
-
- ensure that reading arrays of primitive types is as fast as possible when there is enough data in the stream, throw when there is not, fall back to slow path when we don't know - make GetArray reuse the previously created instance - and provide tests for all of that
Configuration menu - View commit details
-
Copy full SHA for fdbd424 - Browse repository at this point
Copy the full SHA fdbd424View commit details
Commits on Jun 10, 2024
-
Don't check if serialized DataTable and DataSet produce exact same by…
…tes as what is stored in the test source code. The blobs may not be identical (the output is not deterministic), but still valid.
Configuration menu - View commit details
-
Copy full SHA for 3eefd4e - Browse repository at this point
Copy the full SHA 3eefd4eView commit details