Commit Graph

39583 Commits

Author SHA1 Message Date
Chris R 909c342711 Small sample updates. 2016-03-04 10:19:09 -08:00
Victor Hurdugaci 52244da9e8 Temporary disable the tests that hang while investigating 2016-03-04 10:11:01 -08:00
Ryan Nowak 9bd06a5dfc React to changes in HTML abstractions
This change implements the new API for flattening content in Razor.

Also, some optimizations to avoid allocations on paths where we need
to encode HTML attribute values.
2016-03-04 07:56:53 -08:00
Ryan Nowak 0b7035ddcf Implement MoveTo semantics in Mvc
- Simplify things that used to rely on HtmlTextWriter. This behavior is
  now the default.

- Simplify a whole mess of Razor TextWriter code.

- Integration test for merging of TagHelper buffers back into the 'main'
  buffer.
2016-03-04 07:54:31 -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
Cesar Blum Silveira cd8e8f0a11 Prevent DebugAssertException from blocks not returned by non-graceful shutdowns (#667). 2016-03-03 23:57:22 -08:00
John Luo 91b955e080 Update cookie name 2016-03-03 22:48:13 -08:00
Ajay Bhargav Baaskaran 8474003b14 Removed duplicate attributes 2016-03-03 22:45:10 -08:00
Pranav K f78abb5bcf Removing extra AssemblyInfo 2016-03-03 18:35:12 -08:00
Ajay Bhargav Baaskaran 6b933b5e8a Removed duplicate attribute 2016-03-03 18:10:20 -08:00
Ajay Bhargav Baaskaran 467e520b35 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:54:13 -08:00
Ajay Bhargav Baaskaran 0896ac4f95 Added missed attributes 2016-03-03 17:53:04 -08:00
Ajay Bhargav Baaskaran 97940747c3 Added missed attribute 2016-03-03 17:50:40 -08:00
Ajay Bhargav Baaskaran 4792719236 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:53 -08:00
Ajay Bhargav Baaskaran e2fd41e416 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:48 -08:00
Ajay Bhargav Baaskaran 327751690d Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:39 -08:00
Ajay Bhargav Baaskaran 3b560d65df Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:34 -08:00
Ajay Bhargav Baaskaran a561fecb91 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:30 -08:00
Ajay Bhargav Baaskaran 91f44549ac Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:26 -08:00
Ajay Bhargav Baaskaran 94e0088eea Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:22 -08:00
Ajay Bhargav Baaskaran 73a9ed7a64 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:17 -08:00
Ajay Bhargav Baaskaran 26c4fc5fa1 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:13 -08:00
Ajay Bhargav Baaskaran 8a59bcff08 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:09 -08:00
Ajay Bhargav Baaskaran 553e2e3c01 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:04 -08:00
Ajay Bhargav Baaskaran 7c60cd5fa6 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:58 -08:00
Ajay Bhargav Baaskaran c737227b3c Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:54 -08:00
Ajay Bhargav Baaskaran 65f83015e3 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:50 -08:00
Ajay Bhargav Baaskaran d6d43047b1 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:46 -08:00
Ajay Bhargav Baaskaran fc51cb1f30 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:36 -08:00
Ajay Bhargav Baaskaran 5b7dc0d1bc Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:27 -08:00
Ajay Bhargav Baaskaran dd7198f410 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:08 -08:00
Ajay Bhargav Baaskaran 078cbb5d78 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:02 -08:00
Ajay Bhargav Baaskaran b9d2dc89aa Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:31:53 -08:00
Ajay Bhargav Baaskaran e95ed5d204 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:31:17 -08:00
Kiran Challa 65f24a3fc7 Temporarily comment out flaky google login scenario tests to unblock build 2016-03-03 16:59:19 -08:00
Hao Kung 0ab5cdc6ad Fix bad rebase 2016-03-03 14:01:24 -08:00
Nate McMaster be43dda0f5 Minor fix to async issue on empty cart 2016-03-03 13:59:15 -08:00
Nate McMaster 0ae07188fc Cleanup some EF TODOs 2016-03-03 13:52:21 -08:00
Victor Hurdugaci c43c37e7f9 - E2E test
- File watcher that takes the globbing patterns into account
- A big rewrite of the core algorithm
2016-03-03 13:46:45 -08:00
John Luo 7c8be4d8e3 Update cookie name 2016-03-03 13:36:47 -08:00
John Luo dea425d3b2 Update cookie name 2016-03-03 13:35:09 -08:00
Hao Kung ace166fa31 Save tokens in auth properties instead of claims 2016-03-03 12:50:46 -08:00
N. Taylor Mullen e6d4d6c7a1 Fix nested C# blocks when combined with C# @ symbols.
- We used to accept until markup or an ending brace which didn't allow the parser to balance nested braces.

#679
2016-03-03 12:34:35 -08:00
Ajay Bhargav Baaskaran b62d90d7dc Enabled xml doc generation 2016-03-03 12:15:50 -08:00
Stephen Halter f15471bcf2 Remove 2 from MemoryPool2 and related types
- This was merely an artifact from when this was the second of 2 pools
2016-03-03 12:11:25 -08:00
Victor Hurdugaci 99c5e20c23 Don't try to produce nupkgs anymore 2016-03-03 12:06:35 -08:00
David Obando fc1a1c8a49 Adding AppVeyor and Travis badges to README.md 2016-03-03 10:28:17 -08:00
Doug Bunting d3c24637b1 Correct `Type.IsAssignableFrom()` polarity
- #3482
 - see new tests; many failed without fixes in the product code
 - add support for binding `IFormFileCollection` properties
 - make `FormFileModelBinder` / `HeaderModelBinder` collection handling consistent w/ `GenericModelBinder`++
  - see also dupe bug #4129 which describes some of the prior inconsistencies
  - add checks around creating collections and leaving non-top-level collections `null` (not empty)
 - move smarts down to `ModelBindingHelper.GetCompatibleCollection<T>()` (was `ConvertValuesToCollectionType<T>()`)
  - add `ModelBindingHelper.CanGetCompatibleCollection()`
  - add fallback for cases like `public IEnumerable<T> Property { get; set; } = new T[0];`
- #4193
 - allow `Exception`s while activating collections to propagate
- part of #4181
 - `CollectionModelBinder` no longer creates an instance to check if it can create an instance
 - not a complete fix since it still creates unnecessary intermediate lists

nits:
- correct a few existing test names since nothing is not the same as `ModelBindingResult.Failed()`
- remove a couple of unnecessary `return` statements
- correct stale "optimized" comments
- explicit `(string)`
2016-03-03 09:55:01 -08:00
Victor Hurdugaci 510dab8407 Remove KoreBuild 2016-03-03 09:50:25 -08:00
Pranav K cedef4dcba Fix build break 2016-03-03 06:39:15 -08:00