Commit Graph

43822 Commits

Author SHA1 Message Date
Kiran Challa 2e1c290172 Merge branch 'release' into dev 2016-04-08 15:00:28 -07:00
Kiran Challa 42ad584401 Changed DNX451 references to NET451 2016-04-08 14:53:22 -07:00
Doug Bunting a0c8834c70 Preserve existing metadata in `ViewDataDictionary` where possible
- #4116
- generalize rules for `ModelMetadata` creation; minimize metadata changes when Model is updated
 - down to a single special case in VDD for `Nullable<T>`
 - note existing functional tests did not need to change
- remove `ViewDataDictionary(ViewDataDictionary, object)` constructor; use `new VDD<object>(source, model)`
- allow all `Model` assignments in a view component
 - copy-constructed VDD in `ViewComponentContext` previously preserved the source's declared type

nits:
- do not call `virtual SetModel()` method from constructor; now mostly redundant
 - logic in copy constructor and `SetModel()` is consistent but different enough to keep code separate
- add some missing doc comments
- fix doc comment property versus type confusion; never need to specify `ViewDataDictionary.` prefix
- fix a few `TemplateBuilder` comments and remove unnecessary `model: null` argument to VDD constructor
2016-04-08 14:44:36 -07:00
Ryan Nowak 7b50ea39da Merge branch 'release' into dev 2016-04-08 12:26:52 -07:00
Stephen Halter 8667e2496b Actually add libuv-package (not libuv-build) repo
- libuv-build is already built outside of Universe and doesn't follow
  some conventions like running the normal build-compile target
2016-04-08 11:47:50 -07:00
Ryan Nowak a55544681d Fix for #3659 - handle IHtmlContent in localization
This change corrects handling of IHtmlContent instances in
LocalizedHtmlString by making using of FormattableHtmlString.
2016-04-08 11:20:49 -07:00
Stephen Halter aa7d2f3ec9 Merge branch 'release' into dev 2016-04-08 11:05:51 -07:00
mnltejaswini f4e35f5ba0 [Perf] Remove the validations in ControllerActivator and ViewComponentActivator which are redundant. These
validations are already done when selecting a controller and view component
Fixes #4367
2016-04-08 10:07:33 -07:00
Ryan Nowak a51c78da06 Remove dictionary alloc in routing
This changes TemplateMatcher to mutate RouteData.Values directly instead
of creating a new dictionary and then merging in values. This is one the
biggest single costs in routing in terms of both allocations and execution
time.

So Match now becomes TryMatch. This will dirty the state of the RVD, so
the caller needs to snapshot it before calling into it (handled
inside the TreeRouter or RouteCollection).

Some subtle changes were needed to how/when values are added to be
compatible with the existing tests. The general idea is that we add null
values for non-parameter defaults or catchalls, but only if they don't
trounce an existing value. This logic used to live in MergeValues but now
it's in TryMatch since TryMatch might be working from existing data.

Also fixed the .sln to avoid building a package that we use as shared
source.
2016-04-08 08:46:00 -07:00
Pranav K 8a4bcd9b4a Merge branch 'release' into dev 2016-04-08 06:49:33 -07:00
Pranav K b984f46096 Removing imports from src projects 2016-04-08 06:49:33 -07:00
Pranav K 2bf79a874d Removing imports from src projects 2016-04-08 06:49:31 -07:00
Pranav K 1d4363305c Merge branch 'release' into dev 2016-04-08 06:49:31 -07:00
Pranav K 4fd9e2bd40 Merge branch 'release' into dev 2016-04-08 06:49:26 -07:00
Pranav K 6e66c16dfe Removing imports from src projects 2016-04-08 06:49:26 -07:00
Pranav K 8f8d5f0940 Merge branch 'release' into dev 2016-04-08 06:49:24 -07:00
Pranav K 0c5e5dbd29 Removing imports from src projects 2016-04-08 06:49:24 -07:00
Pranav K 730a23e5ca Merge branch 'release' into dev 2016-04-08 06:49:22 -07:00
Pranav K e06a0f0898 Removing imports from src projects 2016-04-08 06:49:22 -07:00
Pranav K df8264fce5 Merge branch 'release' into dev 2016-04-08 06:49:20 -07:00
Pranav K 04a4772fe5 Removing imports from src projects 2016-04-08 06:49:20 -07:00
Pranav K 4daf205595 Merge branch 'release' into dev 2016-04-08 06:49:18 -07:00
Pranav K a41c578d88 Removing imports from src projects 2016-04-08 06:49:18 -07:00
Pranav K 460c0837fd Merge branch 'release' into dev 2016-04-08 06:49:16 -07:00
Pranav K 05ee0897fb Removing imports from src projects 2016-04-08 06:49:16 -07:00
Pranav K 0c9c8cee60 Merge branch 'release' into dev 2016-04-08 06:49:14 -07:00
Pranav K a344b259e8 Removing imports from src projects 2016-04-08 06:49:14 -07:00
Pranav K fe66fb7f2f Removing imports from src projects 2016-04-08 06:49:12 -07:00
Pranav K e337756cce Merge branch 'release' into dev 2016-04-08 06:49:12 -07:00
Pranav K 797c05777d Merge branch 'release' into dev 2016-04-08 06:49:10 -07:00
Pranav K 909f22df38 Removing imports from src projects 2016-04-08 06:49:10 -07:00
Pranav K 3bd0527f63 Merge branch 'release' into dev 2016-04-08 06:49:08 -07:00
Pranav K c2503d1da1 Removing imports from src projects 2016-04-08 06:49:08 -07:00
Pranav K 136da7a245 Merge branch 'release' into dev 2016-04-08 06:49:01 -07:00
Pranav K 29a8d5b7c5 Removing imports from src projects 2016-04-08 06:49:01 -07:00
Pranav K 9f89c1a15d Merge branch 'release' into dev 2016-04-08 06:48:59 -07:00
Pranav K 316fbccd1e Removing imports from src projects 2016-04-08 06:48:59 -07:00
Pranav K ed3b3044d1 Merge branch 'release' into dev 2016-04-08 06:48:53 -07:00
Pranav K a1267311fe Removing imports from src projects 2016-04-08 06:48:53 -07:00
Pranav K 48f8c9057f Merge branch 'release' into dev 2016-04-08 06:48:49 -07:00
Pranav K 78c742c6ee Removing imports from src projects 2016-04-08 06:48:49 -07:00
Pranav K fd0505ffae Merge branch 'release' into dev 2016-04-08 06:48:41 -07:00
Pranav K b50cd32b8e Removing imports from src projects 2016-04-08 06:48:41 -07:00
Pranav K 2fbbeb75c6 Merge branch 'release' into dev 2016-04-08 06:48:39 -07:00
Pranav K 31732c3d91 Removing imports from src projects 2016-04-08 06:48:39 -07:00
Pranav K f6be65d69e Merge branch 'release' into dev 2016-04-08 06:48:35 -07:00
Pranav K 4d9d196b4a Removing imports from src projects 2016-04-08 06:48:35 -07:00
Pranav K 40c0846696 Merge branch 'release' into dev 2016-04-08 06:46:41 -07:00
Pranav K aeb3939ac8 Removing imports from src projects 2016-04-08 06:46:41 -07:00
SteveSandersonMS fa2b56fafd Remove deprecated Angular/React-specific prerendering code, since both are now handled by 'asp-pretender-module' in SpaServices 2016-04-08 14:01:15 +01:00