Commit Graph

34143 Commits

Author SHA1 Message Date
Ryan Nowak 171f4452e3 Repair failing functional test
I recently consolidated some code in routing that made the behavior for
attribute routes and conventional routes more consistent. So now, a
catch-all will add a null value to the RVD if it doesn't capture any text,
but will NOT trounce an existing value in the RVD.

This test depended on the behavior where attribute routes didn't ever add
a null value for a catch-all. The fix is to just add a default to the
catch-all.
2016-04-11 12:07:51 -07:00
Cesar Blum Silveira c0d3adc927 Merge branch 'cesarbs/only-sync-cloned-repos' into dev 2016-04-11 12:00:35 -07:00
John Luo ec33ef9a38 Merge branch 'release' into dev 2016-04-11 11:51:01 -07:00
Cesar Blum Silveira 88829cc7d6 Only reset repos that were cloned. 2016-04-11 11:50:42 -07:00
John Luo 300b9cd90f Fix typo when migrating to ANCM 2016-04-11 11:48:44 -07:00
Pranav K b1d6909935 Branching needs to account for libuv
Fixes #434
2016-04-11 11:10:16 -07:00
Cesar Blum Silveira 7f38b7967b Properly set commits file location after caching Coherence. 2016-04-11 11:02:59 -07:00
Stephen Halter 97dcfbfbe1 Merge branch 'release' into dev 2016-04-11 10:38:52 -07:00
John Luo 9818214c5c Merge branch 'release' into dev 2016-04-11 10:22:54 -07:00
John Luo ff46985cbd Move web.config 2016-04-11 10:21:51 -07:00
John Luo dfe35bbef7 Merge branch 'release' into dev 2016-04-11 10:19:02 -07:00
John Luo e0c0617185 Move web.config and use ANCM 2016-04-11 10:17:53 -07:00
John Luo 00875cf2df Merge branch 'release' into dev 2016-04-11 10:15:01 -07:00
John Luo 921af14e1f Move web.config and use ANCM 2016-04-11 10:14:07 -07:00
John Luo b26dd10e31 Merge branch 'release' into dev 2016-04-11 10:13:10 -07:00
John Luo ff536cc868 Move web.config and use ANCM 2016-04-11 10:12:20 -07:00
John Luo a4f5d8d11f Merge branch 'release' into dev 2016-04-11 10:08:44 -07:00
John Luo dfc2e71d7f Moving web.config and use ANCM 2016-04-11 10:08:14 -07:00
John Luo dfca01d2b7 Merge branch 'release' into dev 2016-04-11 10:03:08 -07:00
John Luo 390fdd325b Move web.config and use ANCM 2016-04-11 10:02:42 -07:00
John Luo e3a9bc07e5 Merge branch 'release' into dev 2016-04-11 10:01:08 -07:00
John Luo 2b929327aa Moving web.config and use ANCM 2016-04-11 10:00:28 -07:00
John Luo da08d2d9e2 Merge branch 'release' into dev 2016-04-11 09:58:29 -07:00
John Luo 03fcadc576 Moving web.config and use ANCM 2016-04-11 09:58:01 -07:00
John Luo b5fea604ec Merge branch 'release' into dev 2016-04-11 09:56:17 -07:00
John Luo 8742b463ba Moving web.config 2016-04-11 09:55:42 -07:00
John Luo eb116cdb56 Merge branch 'release' into dev 2016-04-11 09:54:13 -07:00
John Luo f75609dedd Move web.config to application root 2016-04-11 09:53:28 -07:00
John Luo 10f0f0c64a Merge branch 'release' into dev 2016-04-11 09:49:43 -07:00
John Luo 8e8d7ad6b0 Move web.config to application root 2016-04-11 09:48:57 -07:00
John Luo 12fff1833f Merge branch 'release' into dev 2016-04-11 09:47:28 -07:00
Stephen Halter 7d4fcfeb23 Depend on separate libuv package 2016-04-10 21:15:43 -07:00
Doug Bunting 656689b5f7 Remove workaround for aspnet/External#51
- problem no longer exists in .NET Core
2016-04-10 14:07:18 -07:00
Aman Kubanychbek 8ad5fdceb4 fix typo in README.md 2016-04-11 00:02:44 +06:00
Stephen Halter 1b3c4a62c2 Merge branch 'release' into dev 2016-04-08 20:30:09 -07:00
John Luo 816b5df9cd React to moving web.config 2016-04-08 16:35:14 -07:00
Pranav K 662fbd6abe Updating release management scripts 2016-04-08 16:11:24 -07:00
Doug Bunting 82fd17d050 Merge branch 'release' into dev 2016-04-08 16:06:59 -07:00
Kiran Challa 701ef04f9d Merge branch 'release' into dev 2016-04-08 15:18:19 -07:00
Kiran Challa 4423e4af38 Changed DNX451 references to NET451 2016-04-08 15:15:29 -07:00
Kiran Challa f31e9969c7 Changed DNX451 references to NET451 2016-04-08 15:05:45 -07:00
Kiran Challa 64653cfa3c Merge branch 'release' into dev 2016-04-08 15:05:19 -07:00
Kiran Challa 330200874d Changed DNX451 references to NET451 2016-04-08 15:04:49 -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