* RouteValueDictionary.cs: do not process type fields in
RouteValueDictionary (object)
* RouteCollection.cs: GetRouteData throws an exception if Request
is null in the passed context.
Added Ignore* and MapPageRoute* 4.0 APIs
* RequestContext.cs: 4.0 API update
* PatternParser.cs: match parser rewrite to encompass 4.0 bug
fixes. We don't emulate some of the pre-4.0 routing bugs anymore.
svn path=/trunk/mcs/; revision=156695
* RouteCollectionTest.cs, RouteTest.cs: added new tests for
GetVirtualPath
2009-06-25 Marek Habersack <[email protected]>
* PatternParser.cs: parameter name lookups must be
case-insensitive.
Null and empty (string) parameters are skipped when building query
part of the action path.
2009-06-25 Marek Habersack <[email protected]>
* LinqDataSource.cs: make ContextType not throw an exception when
ContextTypeName is not set, but rather return a null in that
case.
2009-06-25 Marek Habersack <[email protected]>
* MetaTableTest.cs: new GetVirtualPath tests.
* DynamicDataRouteTest.cs: added tests for route.Defaults
modifications on class init.
* DynamicDataRouteHandlerTest.cs: added
2009-06-25 Marek Habersack <[email protected]>
* MetaTable.cs: Fixes to make tests succeed.
* MetaModel.cs: added the GetDataFieldAttributes method for
retrieving attributes associated with data type/field.
Fixes to make tests succeed.
* MetaColumn.cs: refactoring - use
MetaModel.GetDataFieldAttributes instead of the local version.
* DynamicDataRouteHandler.cs: implemented GetRequestContext,
GetRequestMetaTable.
* DynamicDataRoute.cs: when the Action and Table properties are
set before one of GetVirtualPath or GetRouteData methods are
called for the first time, a check is made whether the Defaults
collection exists and whether it contains entries for Action and
Table. Initialization code makes sure those entries are inserted
into the dictionary in those cases.
svn path=/trunk/mcs/; revision=136875
* UrlPattern.cs: removed - replaced by PatternParser below.
* RouteValueDictionaryExtensions.cs: added - some shortcuts for
using RouteValueDictionary in PatternParser
* Route.cs: use the new PatternParser.
Factored out ProcessConstraint into ProcessConstraintInternal so
that the latter can be used by the PatternParser class.
Added parameter checks in ProcessConstraint.
* PatternTokenType.cs: added
* PatternToken.cs: added a helper class for the pattern parser.
* PatternParser.cs: added. New implementation of url
parser/matcher/generator which fixes all URL isues known so
far. Fixes bug #504378
2009-05-25 Marek Habersack <[email protected]>
* System.Web.Routing_test.dll.sources: added
System.Web.Routing/AssertExtensions.cs
* System.Web.Routing.dll.sources: added
System.Web.Routing/PatternParser.cs
System.Web.Routing/PatternToken.cs
System.Web.Routing/PatternTokenType.cs
System.Web.Routing/RouteValueDictionaryExtensions.cs
removed
System.Web.Routing/UrlPattern.cs
2009-05-25 Marek Habersack <[email protected]>
* RouteTest.cs: added several tests for GetVirtualPath,
GetRouteData, ProcessConstraint and refactored some tests.
* RouteCollectionTest.cs: added several tests for GetVirtualPath
* AssertExtensions.cs: added some methods to make code testing for
exception throws look nicer.
svn path=/trunk/mcs/; revision=134682