Commit Graph

40929 Commits

Author SHA1 Message Date
Pranav K cd78e115d4 Updating dev Nuget.config 2014-08-06 12:30:43 -07:00
Pranav K 2505aa0590 Updating dev Nuget.config 2014-08-06 12:30:39 -07:00
Pranav K 7ca4ba5d65 Updating dev Nuget.config 2014-08-06 12:30:35 -07:00
Pranav K 907a3c6cf3 Updating dev Nuget.config 2014-08-06 12:30:32 -07:00
Pinpoint c3daa5c8c0 Handle paths containing spaces in build.cmd
#99
2014-08-06 18:09:26 +02:00
Pranav K ffe3767467 Updating NuGet.config 2014-08-06 08:30:54 -07:00
Pranav K bacfb03a1e Reverting repo list to topological order 2014-08-05 16:01:01 -07:00
Pranav K e86cae43bb Updating release Nuget.config 2014-08-05 15:51:09 -07:00
Pranav K f2a99aa352 Updating release Nuget.config 2014-08-05 15:50:58 -07:00
Pranav K a2a663b240 Updating release Nuget.config 2014-08-05 15:50:46 -07:00
Pranav K 382573a6dc Updating release Nuget.config 2014-08-05 15:50:34 -07:00
Pranav K dc57fd8dc2 Updating release Nuget.config 2014-08-05 15:50:23 -07:00
Pranav K e48ef7b58a Updating release Nuget.config 2014-08-05 15:50:17 -07:00
Pranav K 4642d3968d Updating release Nuget.config 2014-08-05 15:50:05 -07:00
Pranav K 624d49df36 Updating release Nuget.config 2014-08-05 15:49:53 -07:00
Pranav K ad7ccbbaee Updating release Nuget.config 2014-08-05 15:49:47 -07:00
Pranav K 0c3afe95f5 Updating release Nuget.config 2014-08-05 15:49:41 -07:00
Pranav K 10cbe6bab3 Updating release Nuget.config 2014-08-05 15:49:35 -07:00
Pranav K 8d075ea9b9 Updating release Nuget.config 2014-08-05 15:49:04 -07:00
Pranav K 4d5e4ff20f Updating release Nuget.config 2014-08-05 15:48:51 -07:00
Pranav K 28389dc20d Fixing vNext branch to point to aspnetvnext 2014-08-05 15:44:21 -07:00
Pranav K 80c48ca216 Changing case for NuGet.config extension to make it inline with casing for
all other repos
2014-08-05 15:34:46 -07:00
Pranav K 30280ee54e Adding scaffolding to Universe 2014-08-05 15:20:51 -07:00
Pranav K 04b29ed629 Updating makefile to remove duplication in repo name usage 2014-08-05 15:19:57 -07:00
dougbu 8ab11bc073 Correct XML comment syntax
- fix problems at least with Roslyn compiler and VS IntelliSense or the Object Browser
 - `<see langref="keyword"/>` generates nothing
 - `<example>` at top level (outside `<summary>`) generates nothing
 - curly braces don't become angle brackets outside `<see cref="reference"/>` references
  - yeah, a point @yishaigalatzer asked about in a previous PR
- `<see href="reference"/>` is not valid
- correct some invalid use of angle brackets and remove useless empty elements
- correct unresolved XML comment references; generally, add namespace prefix

Symptoms for some of the above issues included
- generated XML comments such as `<!-- Badly formed XML comment ... -->`, usually indicating an unclosed element
- generated XML attributes such as `cref="!:..."`, indicating a broken reference
 - in a couple of cases we had `<typeparamref cref="TOption"/>`; attribute should be `"name"`

Few wording changes beyond
- `"opening </form> tag"` -> `"<form> start tag"`
- `"closing </form> tag"` -> `"</form> end tag"`

Also correct two typos in `HtmlHelper`

Will create a unit test to ensure XML syntax doesn't degrade going forward.  Separate PR.
- for now, check using `dir -r *.xml | sls '!'`
2014-08-05 14:24:48 -07:00
Praburaj ec0fb252f5 Missed Kestrel package from HelloMvc sample. 2014-08-05 12:48:02 -07:00
Praburaj 90a19ee27b Updating home repo samples to use latest bits from dev branch feed
1. Updated samples to use Kestrel for cross plat
2. Updated "configurations" in project.json to "frameworks"
3. Updated readme to include instructions on Kestrel
2014-08-05 12:42:11 -07:00
Pranav K eaee27756c Updating project.json to use frameworks token 2014-08-05 12:15:11 -07:00
Pranav K 5168808906 Introducing RazorTextWriter
RazorTextWriter represents the result of rendering a page as a sequence of
strings rather than a concatenated string. This avoids building up large
strings in memory.
2014-08-05 10:09:04 -07:00
dougbu dc58eb297d Remove unused `using`s from 3db0a80306 change
- see 3db0a80306
2014-08-04 18:10:50 -07:00
Pranav K 9d36a45f38 Updating tests using Moq to workaround Roslyn changes
https://roslyn.codeplex.com/workitem/246 affects usage of code with the
latest build of Roslyn with Moq v4.2. The workaround involves ensuring a
closure is created. Updating affected tests to make ToString() calls on
local variables to create these closures.
2014-08-04 17:13:19 -07:00
Ryan Nowak 383c6305e1 Fix for issue #349 2014-08-04 16:49:24 -07:00
Chris Ross 2c4811f201 Import static file tests from Katana. 2014-08-04 16:11:28 -07:00
ajcvickers 0ae9406e5c Updating to reflect EF fluent API chaining change. 2014-08-04 13:27:30 -07:00
Chris Ross 9e950fba27 More var. 2014-08-04 12:28:20 -07:00
dougbu 3db0a80306 Remove HTML helpers with `IDictionary<string, object>` parameters
- see line 2 of #874
- focus on `TextBox[For]()` and `ValidationSummary()`

related fixes included here:
- `TextArea[For]()` documentation incorrectly indicated their `htmlAttributes` parameters were dictionaries
- handle `htmlAttributes` parameters more consistently; create a dictionary only when necessary
2014-08-03 22:37:42 -07:00
dougbu c9b2323592 Move web site projects back where they belong
- solution corrupted in a recent checkin
2014-08-02 14:42:42 -07:00
dougbu 641816fd9b Fix build break
- no need to call (`internal`) `html.GenerateId()` method since it matches `html.Id()` exactly
- no need for `.ToString()` with either method since they return `string` now
2014-08-01 22:07:38 -07:00
dougbu d0d7c6aef8 Add `HtmlHelperDisplayTextTest` and `HtmlHelperValueExtensionsTest` classes 2014-08-01 21:06:28 -07:00
dougbu 126ee116cf Remove useless `.ToString()` calls in tests 2014-08-01 21:06:23 -07:00
dougbu 7845a8fbe1 `@Html.DisplayName()`, `.DisplayText()`, `.Id()`, `.Name()`, `.Value()` return `string`
- fixes #566 and part of #847
- allows compositions such as `@Html.Label("property", Html.Id("property"))`
  and `@Html.Raw(Html.DisplayText("property"))` (this one is not recommended)
- adjust XML comments to match
- add missing XML comments to `HtmlHelperValueExtensions`
- nit: `TInnerModel` -> `TModelItem`

- increase XML comment consistency for changed methods
 - generally make wording more consistent e.g. how we use words such as
   "returns"
 - use `<see langref="string|true|false|null"/>` more
2014-08-01 21:06:20 -07:00
Ben Brown 01f5fec210 Added Logging to Mvc 2014-08-01 15:33:47 -07:00
harshgMSFT 11d6c507f9 Stylecop fixes 2014-08-01 14:21:00 -07:00
Ben Brown fca9831115 Routing Logging
Added scoped logging to RouterMiddleware, RouteCollection, and
TemplateRoute.
2014-08-01 13:59:48 -07:00
harshgMSFT 19f3f78b3e Adding TextPlainFormatter to always handle returning strings as text\plain format.
Conflicts:
	src/Microsoft.AspNet.Mvc.Common/Encodings.cs
	src/Microsoft.AspNet.Mvc.Core/Formatters/JsonOutputFormatter.cs
	src/Microsoft.AspNet.Mvc/MvcOptionsSetup.cs
	test/Microsoft.AspNet.Mvc.Core.Test/ActionResults/ObjectContentResultTests.cs
	test/Microsoft.AspNet.Mvc.Test/MvcOptionSetupTest.cs
2014-08-01 13:47:23 -07:00
David Fowler 5708f7592b Changing GetLibraryExport to GetAllExports 2014-07-31 16:55:01 -07:00
Ryan Nowak 99d053ef81 Return a copy of the route values in functional tests.
This is a workaround for a Json.Net + CoreCLR issue.
2014-07-31 15:09:47 -07:00
Praburaj a379593746 Fixing a build break
GetClientValidationRules() method's parameter order reversed with a recent MVC change.
2014-07-31 15:08:25 -07:00
Ryan Nowak 61436fb7d1 Revert "Revert "Fix for issue 85 - Dictionary types should return null on key not found""
This is reverting the revert. We're going to go ahead with this change and
work around it in MVC.

This reverts commit 0e826e69e6.
2014-07-31 15:01:03 -07:00
dougbu 7ec4ab021e Make longest `@Html.DisplayForModel()` overload an extension method
- consistent with @Html.EditorForModel()` overloads
2014-07-31 12:01:28 -07:00