Граф коммитов

160 Коммитов

Автор SHA1 Сообщение Дата
Prashanth Govindarajan 6e7485f805
Move corefxlab to arcade (#2795)
* Add eng folder

* First cut of moving corefxlab to arcade

* Move arcade symbol validation inside official buil

* Move base yml file to root

* Arcade will build, publish packages and symbols

* UpdateXlf. Review this

* Arcade Update to version 5.0.0-beta.19575.4 to include Experimental Channel

* Remove property that was causing the build to fail

* Moving global properties to the main Yaml instead of step in order to unblock publishing

* Committing xlfs and changing the build script to not update Xlf on build

* clean up corefxlab-base.yml

* sq

* Delete unused files and scripts

* Get rid of all the xlf stuff

* Remove UpdateXlfOnBuild for non-NT builds

* Minor cleanup

* More cleanup

* update eng\build.sh permission

* Rename to Nuget.config

* sq

* Remove the runtime spec from global.json

* Don't publish test projs

* Typo

* Move version prefix to versions.props
Change prereleaselabel to alpha

* Increment version number to list as the latest package
Increment version number of Microsoft.Experimental.Collections to list as the latest package
Turn off graph generation

* Update the Readme

* Test removing the scripts folder

* Touch readme to force a change

* Address Jose's comments

* Typo

* Move versions to eng/versions.props

* Benchmark.proj needs to refer to xunit

* Clean up dependencies.props

* Remove dependencies.props

Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
2020-02-06 16:04:04 -08:00
Tarek Mahmoud Sayed 290a2f0898 Remove RangeLab type as BCL introduced Range type 2019-10-22 10:14:51 -07:00
Eric Erhardt 2929180744 Use Directory.Build.props instead of tools\common.props. (#2726)
This ensures new projects get the global settings by default.
2019-09-18 13:44:53 -07:00
Ahson Khan 8f3bace148
Update test projects to netcoreapp3.0 and remove netcoreapp2.1 install from build script (#2474)
* Update test projects to netcoreapp3.0 and remove netcoreapp2.1 install
from build script

* Upate BDN version

* Update Benchmark csproj to netcoreapp3.0

* Update S.S.Crypto.Asn1.Tests to netcoreapp3.0 as well.

* Update corefxlab Range to Rangelab (needs to be updated or removed).

* Updated cyrpto.asn1 tfm and skip failing json reader writer test.

* Remove duplicate test cases.
2019-01-06 19:48:34 -08:00
Ahson Khan 5de823f737
Update UTF-8 JsonWriter APIs based on previous API feedback (#2612)
* Remove static factory methods.

* Add JsonWriterOptions and start a copy with updated APIs.

* Add WriteString overloads.

* Add WriteBoolean and WriteNull key-value APIs.

* Add write number (int) APIs.

* Split up types into separate files.

* Code refactoring and adding more tests, properties, etc.

* Add all other WriteNumber overloads and add a test.

* Add Guid, Date, and DateTime APIs and tests.

* Add skeletong for other APIs and more tests.

* Remove unnecessary test that was leftover from debugging.

* Add stream and memory formatters, and add async pipe tests.

* Remove use of BufferWriter_T

* Fix typo in if condition.

* Remove GetSpan and use Ensure

* Undo change from Ensure to GetSpan. Use GetSpan to get local span.

* Remove unused previous token type and rename MaxDepth to
MaxPossibleDepth

* Add single value valid and invalid json tests.

* Pass spans by ref instead, especially property names for the fast path.

* Remove WriteRawBytes, finish WriteArray, and add tests.

* Fix build and tests.
2018-12-10 03:07:23 -08:00
Ahson Khan ce1ee0c85a
Measure multi-segment reading versus single-segment reading for various (#2512)
segment sizes
2018-10-02 21:05:25 -07:00
Jeremy Kuhne e66f7c849a
Add a skip delimiter overload to TryReadTo (#2498)
* Add a skip delimiter overload to TryReadTo

* Fix escaped escape character case
Change param name to delimiter escape
Fix running count in test ReadOnlySequenceSegment<byte> implementation

* Clarify & add more tests, fix issue with leading delim in segment
2018-10-01 16:54:27 -07:00
Jeremy Kuhne 6a91c5397d
Update TryParse for int to match Utf8Parser (#2479)
* Update TryParse for int to match Utf8Parser

- Update to handle same inputs Utf8Parser.TryParse handles
- Allow specifying format char
- Update bool try parse

* Add generic helper for slow path.

Add short, redo long.

Also deal with case where we end a segment with a character that is valid only in conjunction with more data (e.g. '+').

* Fill out the rest of the intrinsic type parsing.

Caps reading at 128 bytes.
Adds a number of tests.

Note that Utf8Parser cannot read most double size values when represented as floating point as it can only handle 50 significant digits.

* Address feedback

* Change to return bool.
Add another IsNext overload.

* Remove unused package ref.
2018-09-24 16:59:57 -07:00
Levi Broderick 8cd063a1e1
Update corefxlab license to match corefx (#2459)
Normalize the various licenses throughout our source using approved language
2018-09-04 16:41:46 -07:00
Jeremy Kuhne ee5d7de95b Minor cleanup of BufferReader/Writer
Make basic automated coding style changes (modifiers, etc to reduce IDE distractions)

Move BufferReader/Writer specific tests to ReaderWriter test project
2018-05-08 16:42:43 -07:00
Krzysztof Cwalina 216224249d
Combined Http Writer and Parser Projects (#2256)
* Bug fix in BufferWriter

* Combined Http Writer/Parser Projects
2018-05-04 14:38:07 -07:00
Ahson Khan 35e606ea9a
Fix IBufferWriter: GetSpan should not go through GetMemory (#2259) 2018-05-04 12:29:39 -07:00
Ahson Khan 16b51e038c Delete old projects and remove failing samples from the solution. (#2244)
* Delete old projects and remove failing samples from the solution.

* Deleting the System.IO.Pipelines.Samples
2018-05-03 08:06:22 -07:00
Ahson Khan b8b23c375a
Swap the order of memory Slice(..).Span to be Span.Slice(..) (#2237) 2018-04-30 20:32:44 -07:00
dotnet-maestro-bot 5bac2ca444 Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview3-008646, preview3-26421-01, preview3-26421-01, preview3-26421-01, preview3-26421-01, preview3-26421-01, preview1-26420-14, preview1-26420-14, respectively (master) (#2223)
* Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview3-008646, preview3-26420-06, preview3-26420-06, preview3-26420-06, preview3-26420-06, preview3-26420-06, preview1-26420-05, preview1-26420-05, respectively

* React to the removal of '==' operators on SequencePosition

* More changes to react to '==' on SequencePosition

* Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview3-008646, preview3-26421-01, preview3-26421-01, preview3-26421-01, preview3-26421-01, preview3-26421-01, preview1-26420-14, preview1-26420-14, respectively

* Fix System.CommandLine.Tests that compare exception message string.

* Address PR feedback (use .Equals)
2018-04-20 20:44:43 -07:00
dotnet-maestro-bot 101e1ebada Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008533, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-05, preview3-26413-05, respectively (master) (#2205)
* Update CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-01, preview3-26413-01, respectively

* Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008533, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-08, preview3-26413-05, preview3-26413-05, respectively

* Resolve merge conflict
2018-04-13 19:19:30 -07:00
Ahson Khan b8e0ab345b Collapse AsSpan().Slice(..) calls into AsSpan(..) (using code analyzer) (#2207) 2018-04-13 08:05:38 -07:00
dotnet-maestro-bot d9e5e36dd5 Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008510, preview3-26403-01, preview3-26403-01, preview3-26403-01, preview3-26403-01, preview3-26403-01, preview3-26402-02, preview3-26402-02, respectively (master) (#2196)
* Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008510, preview3-26402-05, preview3-26402-05, preview3-26402-05, preview3-26402-05, preview3-26402-05, preview3-26402-02, preview3-26402-02, respectively

* Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008510, preview3-26403-01, preview3-26403-01, preview3-26403-01, preview3-26403-01, preview3-26403-01, preview3-26402-02, preview3-26402-02, respectively

* Update dependency versions and address PR feedback.

* Update donet cli and runtime framework version
2018-04-04 15:28:20 -07:00
Josh Free 4bbad9de61 fix AsBytes build break
Update uses of AsBytes to use MemoryMarshal.AsBytes #28460

https://github.com/dotnet/corefx/pull/28460

foo.AsBytes() => MemoryMarshal.AsBytes(foo)
2018-03-26 12:41:45 -07:00
Josh Free 89615bd22d fix BinaryPrimitives.ReadMachineEndian build break
React to BinaryPrimitives.[Try][Read|Write]MachineEndian
being renamed to MemoryMarshal.[Try][Read|Write]

See dotnet/corefx #17106
2018-03-24 15:40:23 -07:00
Krzysztof Cwalina add1b01a19
Unified OutputWriter and BufferWriter (#2163)
* Unify Writers

* PR feedback
2018-03-16 13:27:09 -07:00
Krzysztof Cwalina d2264af73d
Cleaned up Reader/Writer Project (#2156) 2018-03-12 10:41:09 -07:00
Ahson Khan fc0c8d81d0 Update packages (except pipelines) and fix concrete OwnedMemory implementation tests. (#2152)
* Update packages (except pipelines) and fix tests.

* Add different tests for the experimental "auto" dispose impls of OwnedMemory
2018-03-09 09:06:23 -08:00
dotnet-maestro-bot 22c2d4edc6 Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008290, preview2-26303-02, preview2-26303-02, preview2-26303-02, preview2-26303-02, preview2-26303-02, preview2-26228-04, preview2-26228-04, respectively (master) (#2142)
* Update Cli, CoreFx, CoreFx, CoreFx, CoreFx, CoreFx, CoreSetup, CoreSetup to preview2-008290, preview2-26303-02, preview2-26303-02, preview2-26303-02, preview2-26303-02, preview2-26303-02, preview2-26228-04, preview2-26228-04, respectively

* Respond to recent library changes in corefx

* Respond to latest changes to corefx libraries

* Update for ReadOnlySequenceSegment

* Add back CopyTo and TryGet, and skip tests until we get new packages
2018-03-03 19:13:38 -08:00
Pavel Krymets c3624ba2c5
Remove System.IO.Pipelines (#2137) 2018-02-21 10:39:57 -08:00
Ahson Khan 71ea1a077c
Update package version, react to ReadOnlyBuffer changes, and fix tests (#2111)
* Update package version, react to ReadOnlyBuffer changes, and fix tests

* Disable a ReadableBufferFacts test and clean unused TextBufferWriter field

* Cleanup System.Buffers.Primitives.csproj
2018-02-09 21:02:16 -08:00
Pavel Krymets 1783bd6732
Cleanup pipelines code and tests (#2103) 2018-02-07 14:39:37 -08:00
Ahson Khan d197075cf8
Update use of NonPortableCast to MemoryMarshal.Cast and cleanup (#2092) 2018-01-31 16:47:02 -08:00
Pavel Krymets ca07ab5250
API Cleanup (#2088) 2018-01-31 09:35:41 -08:00
Pavel Krymets 5638deac63
More API review changes (#2073) 2018-01-26 11:30:01 -08:00
Ahson Khan d38d2ae7b5
Fix Pin byteOffset bounds checks (#2071) 2018-01-25 11:51:10 -08:00
Ahson Khan 1183c2a37f
Adding back the byteOffset to OwnedMemory Pin (#2067) 2018-01-24 18:58:14 -08:00
Pavel Krymets 3cb38284f2 IBufferList to IMemoryList (#2065) 2018-01-23 20:23:12 -08:00
Pavel Krymets 130ca8df48
Address API review comments (#2052) 2018-01-17 11:28:58 -08:00
Pavel Krymets 4bf5f6a527
Change IOutput to merge methods and return Memory (#2047) 2018-01-17 10:39:30 -08:00
David Fowler b5a998d275
Made IBufferList and ReadOnlyBuffer generic (#2048)
- Updated the extension methods to use ReadOnlyBuffer<byte>
2018-01-11 15:37:57 -08:00
Krzysztof Cwalina 57abf684be
Removed Old ReadOnlyBytes (#2044) 2018-01-11 09:45:48 -08:00
David Fowler ebece56790
Rename Skip to Advance (#2043)
Fixes #2042
2018-01-10 09:55:02 -08:00
Pavel Krymets e74a2eb7ba
IsSingleSpan -> IsSingleSegment (#2037) 2018-01-09 16:08:15 -08:00
Krzysztof Cwalina 1fecfe7350
Removed Old BufferReader (#2025)
* Unified Readers
* Removed PositionOf from reader
* Added tests for CopyTo
* reacted to changes to ReadOnlyBuffer
* Renamed CopyTo to Peek
2018-01-09 08:55:50 -08:00
Pavel Krymets c2e7654cb0
Another set of API review changes (#2022) 2018-01-08 08:49:46 -08:00
Krzysztof Cwalina 252c882d27
Prepared System.Buffer.Primitives for API Review (#1993)
* Unified Positions

* Removed fully qualified Position names

* Added accidentally removed throw

* Removed one copy of TestBufferFactory

* Rearrange Seek Methods
2017-12-22 15:13:02 -08:00
Pavel Krymets f8bc7eabb7
More Pipelines API review changes (#1989) 2017-12-21 15:49:46 -08:00
Krzysztof Cwalina 62268269ff
Removed Position.End (#1988) 2017-12-18 18:10:40 -08:00
Krzysztof Cwalina 8c9bfd69ff
Cleaned up IOutput based on API review (#1987) 2017-12-18 12:50:19 -08:00
Krzysztof Cwalina d68a9a4cfa
Added IsValid, Bind, and BindToValid. Renamed Last to End (#1981)
* Added IsValid, Bind, and BindToValid

* PR feedback
2017-12-15 15:58:01 -08:00
Krzysztof Cwalina b986281712
Changed IMemoryList based on Pipelines API Review (#1982) 2017-12-15 15:40:22 -08:00
Krzysztof Cwalina f66c205dd5
Changed System.Range based on language discussions (#1979)
* Changed range based on language discussions

* Changed the representation to first/last

* Disallowed enumerating and get_Length on unbound ranges

* Added tests testing exclusive last and inclusive first
2017-12-14 13:33:49 -08:00
Krzysztof Cwalina 86bb42fc91
Added BufferWriter<TOutput> (#1977)
* Added BufferWriter<TOutput>

* PR review feedback
2017-12-13 10:12:40 -08:00
Krzysztof Cwalina 2105a69216
ReadOnlyBytes based on "cursors" (#1965)
* Change ReadOnlyBytes to Unified Representation

* Made Position to be immutable

* cleanup

* PR feedback
2017-12-05 08:34:49 -08:00