Commit Graph

47 Commits

Author SHA1 Message Date
John Luo 6e87b0f5eb Target netstandard2.0 TFM 2017-05-18 14:38:26 -07:00
Nate McMaster bf0b0e283d Upgrade test framework versions and fix test issues 2017-05-15 15:25:02 -07:00
John Luo 9168442704 Migration 2017-05-05 14:59:10 -07:00
Pranav K b3b846c27e Remove net451 as a cross-compile target 2017-03-24 11:46:13 -07:00
Kiran Challa 50f3cd6877 Changed samples and tests to run on netcoreapp2.0 2017-03-21 13:25:34 -07:00
Nate McMaster 73d58b7a13 Unify dependency versions to one file 2017-03-15 13:54:28 -07:00
Doug Bunting d4800d188a Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 08:37:12 -08:00
Chris R 96f33b27d4 Migrate from xproj to csproj 2017-02-03 15:37:51 -08:00
Pranav K 991fbb08bc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Kiran Challa aa158f5d25 Modified Base64UrlTextEncoder to reduce string allocations. 2016-11-16 13:43:56 -08:00
Pranav K 4fbb0b01fc Updating versions to 1.2.0-* 2016-11-09 14:17:55 -08:00
Kiran Challa 4dcde8a329 Added Base64UrlTextEncoder utility from Security repo 2016-11-01 15:31:39 -07:00
Pranav K cdbd9ffa74 Updating to netcoreapp1.1 2016-10-13 11:18:10 -07:00
Pranav K 11a67b8f55 Revert "Updating to netcoreapp1.1"
This reverts commit 6d5cd28e9b.
2016-10-12 16:08:46 -07:00
Pranav K 6d5cd28e9b Updating to netcoreapp1.1 2016-10-12 13:45:30 -07:00
Pranav K 874dcebbcb Updating partner package versions 2016-09-28 11:50:48 -07:00
David Fowler 87cd79d6fc Added decoding tests for the FormReader
- This is the first step in work to remove
char[] allocations from the FormReader
2016-09-08 09:57:58 -07:00
Kiran Challa c5e09b0344 Added a HttpResponseStreamWriter test for surrogate pairs 2016-07-18 14:11:42 -07:00
Doug Bunting 9a28932b7a To de-dupe, we must remove (again)
- part of aspnet/Common#93
- use `WebEncoders` from Common repo
- leave some of `WebEncodersTests` to ensure resources are brought in correctly
2016-07-12 16:25:53 -07:00
Doug Bunting 748e96f513 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:01:29 -07:00
Pranav K 62eaf16585 Updating to RTM builds of xunit 2016-07-01 11:21:28 -07:00
Pranav K 20d608170e Updating to dev versions 2016-06-16 10:17:59 -07:00
N. Taylor Mullen 54bdd47763 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:28:32 -07:00
Pavel Krymets 8b3c308c22 Limit value number instead of key number in form reader 2016-06-01 15:46:40 -07:00
Pavel Krymets c63f02c19f Optimize form reader allocations 2016-05-27 08:14:47 -07:00
Pranav K a4bd3bc895 Merge branch 'release' into dev 2016-05-02 14:56:19 -07:00
Pranav K edff60f293 Fix build warnings 2016-05-02 11:27:17 -07:00
Chris R 3e69df87f8 Merge branch 'release' into dev 2016-04-25 12:00:37 -07:00
Chris R 13f73c6101 Make the form body limits configurable. 2016-04-25 11:59:40 -07:00
Pranav K 391db10384 Merge branch 'release' into dev 2016-04-19 14:54:03 -07:00
Pranav K f429cd262b Use latest build of dotnet-test-xunit 2016-04-19 14:54:02 -07:00
Pavel Krymets 8fe7a17dab Merge branch 'release' into dev 2016-04-18 16:52:09 -07:00
Pavel Krymets 87b8d478e0 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:52:06 -07:00
Pavel Krymets ed391a961a Merge branch 'release' into dev 2016-04-14 14:44:03 -07:00
Pavel Krymets 440b8bc0ba Migrate tests, tools and samples to portable 2016-04-14 14:34:51 -07:00
Chris R e07008ddec Prevent double flush in HttpResponseStreamWriter. 2016-04-06 12:08:20 -07:00
David Fowler 8efc650e74 Fixed build 2016-03-25 01:54:05 -07:00
David Obando 15649b7e31 Faster SubMatch implementation
Submatch has been sped up by implementing a modified Boyer–Moore–Horspool algorithm with an average-case complexity of O(N) on random text. Worst case, it behaves similarly to the previous implementation O(MN), where M is the length of the boundary and N is the length of the buffer to operate on.

Method SubMatch looks for two things:

  1. Whether the byte array segment fully contains the boundary, or
  2. Whether the byte array ends with the start of the boundary.

Case 1 is now a lot faster than the previous implementation. Case 2 remains using the same code as before. The method will do Case 1 until the matchOffset is equal to N-M. It then switches to Case 2, unless a match is found.

The code can be further sped up with a full Boyer–Moore implementation, or something more sophisticated. This however can be evaluated in the case that this implementation is insufficiently performant for our main scenarios.

This commit resolves issue #575.
2016-03-04 10:54:20 -08:00
Doug Bunting 3105fd1075 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:51:48 -08:00
N. Taylor Mullen 9f499d7962 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:31:53 -08:00
John Luo dc2aa0ec8f Updating test TFMs for custom test discovery 2016-02-18 15:01:26 -08:00
Doug Bunting 8c120a0792 Extend `WebEncoders` API to avoid allocations within the methods
- rewrite existing methods in terms of the new ones
- don't allocate multiple 0-length arrays

nits:
- clarify a couple of doc comments e.g. using `<paramref/>`
- move an error message into a resource
 - pass parameter names into new resource
- rename parameters for consistency e.g. `inputLength` -> `count`
- name literal `int` parameters
- more `var`
2016-02-17 23:13:33 -08:00
Kiran Challa 4a3e2ad3c5 Enable tests to run using dotnet xunit runner 2016-02-09 22:11:54 -08:00
John Luo 8aa7a0993d Relocating dependencies 2016-02-01 18:26:36 -08:00
John Luo 93079ea3a6 Updating to new CLI 2016-02-01 16:37:16 -08:00
N. Taylor Mullen 02363da94e Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:20:40 -08:00
N. Taylor Mullen b2c154b576 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:20:30 -08:00