Commit Graph

30 Commits

Author SHA1 Message Date
jacalvar 80cdeceb0b Created public API baselines 2016-11-04 15:28:08 -07: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 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 66518476af Updating to dev versions 2016-06-16 10:17:57 -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 4d9d196b4a Removing imports from src projects 2016-04-08 06:48:35 -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
jacalvar 794d0892ae Return IServiceCollection from AddWebEncoders extension methods 2016-03-28 15:27:31 -07:00
Eilon Lipton c5d5ef6788 Fix package metadata 2016-03-26 15:00:56 -07:00
ryanbrandenburg fd10621c1a SetContent->SetHtmlContent 2016-03-25 12:01:59 -07:00
Pranav K 0e95ce9a8e Target minimal TFMs 2016-03-12 08:22:32 -08:00
Brice Lambson 06c818c9e5 Don't reference facades in NuSpec
These can be removed entirely after dotnet/cli#164
2016-03-11 08:44:14 -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
Ajay Bhargav Baaskaran b9d2dc89aa Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:31:53 -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
jacalvar b2b623816b Make ServiceCollectionExtensions consistent 2016-03-01 16:36:42 -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
Ajay Bhargav Baaskaran f1e696d865 Enabled xml doc generation 2016-02-18 12:39:01 -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
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
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