Commit Graph

44 Commits

Author SHA1 Message Date
Nate McMaster ccef6b261b Lift Microsoft.Extensions.WebEncoders to target .NET Standard 2.0 2017-06-07 09:41:23 -07:00
Pranav K 9a7abcd902 Remove net451 as a cross-compile target 2017-03-24 07:56:01 -07:00
Kiran Challa bac161fdd6 Converted test projects to run on netcoreapp2.0 2017-03-21 16:48:25 -07:00
Nate McMaster e3ca1d1a2c Unify dependency versions to one file and remove workarounds 2017-03-15 13:47:45 -07:00
Doug Bunting 859aad081e 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:31:52 -08:00
Nate McMaster 81acef9238
Upgrade to VS 2017 2017-02-01 13:24:34 -08:00
Pranav K f6eb86be78 Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K 9cdb55b59c Updating versions to 1.2.0-* 2016-11-09 14:17:51 -08:00
Doug Bunting 0781b5a87c Add `HtmlContentBuilder.Count`
- precursor to PR aspnet/Mvc#5378 for issue aspnet/Mvc#3918
2016-10-17 11:26:16 -07:00
Pranav K 58d5c2f7d4 Updating to netcoreapp1.1 2016-10-13 11:17:57 -07:00
Pranav K 2b86005a85 Revert "Updating to netcoreapp1.1"
This reverts commit 08332a96b7.
2016-10-12 16:08:44 -07:00
Pranav K 08332a96b7 Updating to netcoreapp1.1 2016-10-12 13:45:26 -07:00
Pranav K c13a8affc0 Updating partner package versions 2016-09-28 11:50:43 -07:00
Doug Bunting 717e4fe083 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:00:26 -07:00
Pranav K 60a66aaa6d Updating to RTM builds of xunit 2016-06-30 14:52:36 -07:00
Pranav K 66518476af Updating to dev versions 2016-06-16 10:17:57 -07:00
N. Taylor Mullen 0aab689813 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:28:17 -07:00
N. Taylor Mullen fe563b1459 Rename `HtmlEncodedString` => `HtmlString`.
- This rename makes the type more consistent with its `HtmlContentBuilder` counterparts (`AppendHtml`).

#25
2016-05-17 11:11:10 -07:00
Pranav K a97ac1b23b Fix build warnings 2016-05-02 11:27:16 -07:00
Pranav K cfc071071b Use latest build of dotnet-test-xunit 2016-04-19 14:54:02 -07:00
Pavel Krymets f94faf4276 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:36:54 -07:00
Pavel Krymets 98b73cbec5 Migrate tests, tools and samples to portable 2016-04-14 14:01:34 -07:00
Ryan Nowak 89c9c3260b Make HtmlFormattableString public
We've had this class for a while backing the implementation of the
AppendFormat extension method. Making this public so we can use it in MVC
in localization.

Some updates to the API surface and name to be aligned with
System.FormattableString
2016-04-06 16:42:29 -07:00
ryanbrandenburg fd10621c1a SetContent->SetHtmlContent 2016-03-25 12:01:59 -07:00
David Fowler 70c0254dc2 Fixed build 2016-03-25 01:48:01 -07:00
Pranav K 0e95ce9a8e Target minimal TFMs 2016-03-12 08:22:32 -08:00
Ryan Nowak 2705510508 Add Copy/Move for content - Remove HtmlTextWriter
Currently we overload the definition of WriteTo on IHtmlContent
implementation classes to either represent a "real" write or a "flatten"
by checking if the writer inherits HtmlText writer.

This overloading is a bit of an odd fit and hides the real semantic we
want for flattening.

Additionally, we want to gradually make the concept of a pooled
backing-buffer for IHtmlContent first-class - using pooled buffers
dictates that we support move-semantics to some degree.

This change makes the work that we do for flattening into pooled buffers
explicit rather than hidden.
2016-03-04 07:52:14 -08:00
Doug Bunting 67c1dfc43d 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:50:26 -08:00
N. Taylor Mullen e8f642df19 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:29:45 -08:00
John Luo 397cda382b Updating test TFMs for custom test discovery 2016-02-18 17:08:28 -08:00
Kiran Challa 3fa76b26c8 Enable tests to run using dotnet xunit runner 2016-02-09 22:24:32 -08:00
N. Taylor Mullen 9959601c4b Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:20:53 -08:00
John Luo 2fd1490c4a Relocating dependencies 2016-02-01 18:33:21 -08:00
John Luo 33629c5fc0 Updating to new CLI 2016-02-01 17:04:37 -08:00
N. Taylor Mullen 79558ae8d3 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:19:23 -08:00
N. Taylor Mullen c564dfd202 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:19:22 -08:00
Victor Hurdugaci d113f7edc9 Build with dotnet 2016-01-07 09:49:14 -08:00
Pranav K 984fe02eb8 Rename IHtmlContentBuilder.Append(IHtmlContent) to IHtmlContentBuilder.AppendHtml(IHtmlContent)
Fixes #4
2015-12-31 10:53:48 -08:00
Pranav K 46f64dfa20 * Remove EncoderServiceProviderExtensions 2015-12-29 18:39:39 -08:00
Pranav K b4239550f3 Move Microsoft.Extensions.WebEncoders to HtmlAbstractions 2015-12-23 09:29:32 -08:00
Doug Bunting 234073cf6e Make `HtmlEncodedString` a suitable base for MVC's `HtmlString`
- #5
- provide `ToString()` implementation
- add missing `null` checks in `WriteTo()`; remove extraneous one in the constructor
- special-case `HtmlEncodedString` in `IHtmlContentBuilder.AppendFormat()` extension method

nits:
- ignore more files
- add missing `null` checks in `HtmlContentBuilderExtensions` too
2015-12-15 15:27:40 -08:00
Pranav K 6b7cd4ac18 Adding System.Runtime to resolve build issue 2015-12-08 14:38:35 -08:00
Doug Bunting 1b0e2e50e1 Restore previous package name: `Microsoft.AspNet.Html.Abstractions`
nit: add a couple of solution items
2015-12-02 09:59:27 -08:00
Pranav K f9661e2bf1 Initial commit 2015-12-01 15:36:17 -08:00