Commit Graph

270 Commits

Author SHA1 Message Date
Praburaj 93deb0b440 Remove dependency on DependencyInjection and instead use DependencyInjection.Interfaces on Http.Extensions
Fixes: https://github.com/aspnet/HttpAbstractions/issues/228
2015-03-13 19:56:45 -07:00
Praburaj b77e9d2d9c Using [NotNull] attribute from the Common repo package 2015-03-13 17:44:51 -07:00
Praburaj ca07b6e2fd Using new encoders over the old encoders. 2015-03-13 12:50:49 -07:00
Levi B 8ca2728ef8 Split encoders into two packages to resolve layering issues
The core package has no external dependencies aside from NetFX-produced packages
2015-03-12 22:35:47 -07:00
Brennan a06d05ffae Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:27:02 -07:00
Doug Bunting c27c85c7ac Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:26 -07:00
N. Taylor Mullen 12f90869c0 Update .kproj => .xproj. 2015-03-11 14:07:45 -07:00
Praburaj a6670114b1 Adding more fallbacks for BufferingHelper temporary folder location
Fixes:
https://github.com/aspnet/HttpAbstractions/issues/168
2015-03-10 21:20:50 -07:00
Levi B 543e0f4863 Code comment cleanup. 2015-03-10 18:06:59 -07:00
Levi B 332900b175 Allow XyzEncoder.Default to be settable. 2015-03-10 17:58:17 -07:00
Levi B ae456401a8 Change AllowedCharsBitmap back to a struct.
I also experimented with having a fixed uint[] field inside the struct, but this actually ended up having worse performance than a proper uint[] array reference since it defeated some of the JITter's optimizations.
2015-03-10 17:58:10 -07:00
Levi B 64077026c7 API cleanup: Rename UnicodeBlock -> UnicodeRange
Also clean up related doc comments
2015-03-10 17:58:03 -07:00
Praburaj ed380ef61c Renaming Nuget.org feed key name to Nuget.
fixes https://github.com/aspnet/Universe/issues/174
2015-03-09 20:51:37 -07:00
Praburaj 58c45cd379 SignOutContext needs AuthenticationProperties 2015-03-09 19:37:38 -07:00
Praburaj 9463b08d7b Move SendFile HttpResponse extensions to Microsoft.AspNet.Http.Extensions
Addresses: https://github.com/aspnet/HttpAbstractions/issues/221
2015-03-09 15:05:16 -07:00
N. Taylor Mullen 973bf7865e Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:54:49 -07:00
N. Taylor Mullen de25ccc9cd Temporarily update struct => class.
- Will be reverted back as denoted by issue: https://github.com/aspnet/HttpAbstractions/issues/222
2015-03-09 01:32:04 -07:00
N. Taylor Mullen d2b303d4f0 Update build.sh to use dnvm correctly. 2015-03-08 12:50:43 -07:00
N. Taylor Mullen e2329ae102 Update kvm/KVM/Kvm => dnvm/DNVM/Dnvm. 2015-03-08 12:50:43 -07:00
N. Taylor Mullen d69b1000b6 Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 12:50:41 -07:00
N. Taylor Mullen 0ad48b90b2 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:50:39 -07:00
Levi B 9988d5205e GetXyzEncoder() shouldn't throw if IServiceProvider is null
Also remove dependency on full DI; use Interfaces instead
2015-03-05 18:43:59 -08:00
Praburaj d5e1b198dc Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 16:54:21 -08:00
Brennan 09ccc84a17 DI API changes 2015-03-05 14:29:22 -08:00
Hao Kung 20848da93f React to DI changes 2015-03-04 18:08:36 -08:00
Praburaj ae23f7c7bc Adding a feature to get the traceidentifier for a request
Addresses : https://github.com/aspnet/HttpAbstractions/issues/117

Related changes in Helios & weblistener in separate PRs.
2015-03-04 14:18:51 -08:00
Hao Kung de1e8763dd Security -> Authentication
AuthN renames and design changes
2015-03-02 15:25:52 -08:00
Eilon Lipton 2f960b9e3b Merge pull request #206 from ajuckel/dev
Remove space from ISignOutContext filename
2015-02-28 10:33:26 -08:00
Anthony W. Juckel ba2c06072e Remove space from ISignOutContext filename 2015-02-28 01:20:25 -06:00
Levi B 04707ccaa0 Add unit tests for the service provider extensions 2015-02-27 14:44:12 -08:00
Levi B a1dbce9065 Rename AddEncoders -> AddWebEncoders 2015-02-27 12:55:55 -08:00
Levi B eb42bc51fb CodePointFilter parameterless ctor should be empty, not Basic Latin 2015-02-27 11:30:01 -08:00
Levi B 0ca24147a0 Add unit tests and code generation routines 2015-02-27 11:30:00 -08:00
Levi B c5dc9abff6 Doc comment cleanup, API refactorings
Rename CodePointFilters -> UnicodeBlocks
Rework allowed / disallowed code point APIs for ease of use
Move service registration APIs into WebEncoders project
2015-02-25 14:01:17 -08:00
Eilon Lipton 024c72b05a Update README.md 2015-02-24 14:09:55 -08:00
Levi B 204fb08e01 Refactor Encoders into their own package 2015-02-23 13:49:51 -08:00
Levi B 8d98d76209 Code comment clarifications 2015-02-19 14:42:20 -08:00
Levi B c551ec2490 Add encoder extension methods 2015-02-19 14:14:04 -08:00
Levi B fa18a8fb30 Rename HttpRequest.IsSecure -> HttpRequest.IsHttps 2015-02-17 10:50:07 -08:00
Levi B 3f9423eda9 Provide a facility for registering encoder services 2015-02-16 17:08:15 -08:00
Wei Wang d0543305f0 Add project.lock.json to .gitignore 2015-02-16 13:30:36 -08:00
Levi B fc52487294 Encoders should forbid Zs (space separator) characters except U+0020 SPACE 2015-02-13 14:12:40 -08:00
Levi B 0dd3a49463 Perf: Eliminate chatty virtual dispatches
This gives a speedup of approx. 20% (for overloads which take TextWriter) to 40% (for overloads which don't take TextWriter) for inputs in which at least one character requires encoding.
2015-02-12 11:44:11 -08:00
Pranav K 26cd8d51b6 Removing ANIs 2015-02-12 09:07:47 -08:00
Levi B e5c6fd401f Add TextWriter-based overloads to the encoding routines
These make the core implementations slightly slower but
provide the benefit of reducing allocations, which is
useful when these methods are called frequently by Razor.
2015-02-11 17:49:37 -08:00
Levi B 14c872d981 Update HtmlEncoder to wrap UnicodeEncoderBase 2015-02-11 12:03:47 -08:00
Levi B fc7ed3a9cd Add TLS token binding feature 2015-02-11 11:40:40 -08:00
Levi B 1008e17259 Add HtmlEncoder, UrlEncoder, and JavaScriptStringEncoder
Also add interfaces for abstracting each of these
Unit tests are not in yet but are coming soon
2015-02-11 11:39:22 -08:00
Eilon Lipton dadd9cd9f3 Merge pull request #189 from ironyx/patch-1
Logical AND would never be true; broke into OR statement
2015-02-11 09:35:06 -08:00
David Haney 9e7fbde9f1 Logical AND would never be true; broke into OR statement 2015-02-10 17:41:06 -05:00