needs gmcs
[mono.git] / mcs / class / System.Web.DynamicData / System.Web.DynamicData / ChangeLog
1 2009-06-27  Marek Habersack  <mhabersack@novell.com>
2
3         * MetaModel.cs: implemented DynamicDataFolderVirtualPath
4
5         * DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
6         GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
7         guessed at implementation of CreateHandler.
8
9 2009-06-26  Marek Habersack  <mhabersack@novell.com>
10
11         * MetaModel.cs: RegisterContextCore preserves already registered
12         tables.
13
14         * DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
15         route data from the routes collection (if the matching route
16         happened to be an instance of DynamicDataRoute it would initialize
17         its RouteHandler's Model property, which is not correct, according
18         to tests). Instead a new RouteData instance is created each time
19         we don't find any cached context.
20
21         * DynamicDataRoute.cs: the associated route handler is set its
22         Model property when we initialize for the first time.
23         GetRouteData checks whether route data returned by base class
24         relates to a table which exists in the current context. If no such
25         table exists, null is returned.
26
27 2009-06-25  Marek Habersack  <mhabersack@novell.com>
28
29         * MetaTable.cs: Fixes to make tests succeed.
30
31         * MetaModel.cs: added the GetDataFieldAttributes method for
32         retrieving attributes associated with data type/field.
33         Fixes to make tests succeed.
34
35         * MetaColumn.cs: refactoring - use
36         MetaModel.GetDataFieldAttributes instead of the local version.
37
38         * DynamicDataRouteHandler.cs: implemented GetRequestContext,
39         GetRequestMetaTable.
40
41         * DynamicDataRoute.cs: when the Action and Table properties are
42         set before one of GetVirtualPath or GetRouteData methods are
43         called for the first time, a check is made whether the Defaults
44         collection exists and whether it contains entries for Action and
45         Table. Initialization code makes sure those entries are inserted
46         into the dictionary in those cases.
47
48 2009-06-23  Marek Habersack  <mhabersack@novell.com>
49
50         * MetaTable.cs: constructor now takes ContextConfiguration instead
51         of a boolean and uses the config to determine value of the
52         ScaffoldAllTables property. Also, if context config is present,
53         makes sure to register the associated type description provider
54         (if any) with TypeDescriptor.
55
56         * MetaModel.cs: no longer uses local cache for description
57         providers. Uses TypeDescriptor.{Add,Get}Provider now.
58
59         * MetaColumn.cs: fixed Scaffold to match tests - IsGenerated and
60         IsCustomProperty take precedence over Table.ScaffoldAllTables.
61         GetDataFieldAttribute doesn't use AttributeCollection indexer, as
62         the latter would create a default instance of the requested
63         attribute, which is not what we want here.
64
65 2009-06-17  Marek Habersack  <mhabersack@novell.com>
66
67         * MetaTable.cs: fixed Scaffold implementation.
68         Added internal ScaffoldAllTables property.
69
70         * MetaColumn.cs: fixed TypeCode, MaxLength, Scaffold, UIHint
71         implementations.
72         Implemented IsLongString, IsBinaryData, IsReadOnly,
73         NullDisplayText, RequiredErrorMessage
74
75 2009-06-16  Marek Habersack  <mhabersack@novell.com>
76
77         * DynamicDataManager.cs, DynamicDataExtensions.cs: use new
78         DataBoundControl.DataSourceObject instead of
79         InternalGetDataSource.
80
81 2009-06-15  Marek Habersack  <mhabersack@novell.com>
82
83         * MetaColumn.cs: implemented ApplyFormatInEditMode, Attributes,
84         ConvertEmptyStringToNull, DataFormatString, DataTypeAttribute,
85         DefaultValue, Description, DisplayName, IsRequired,
86         IsFloatingPoint, IsInteger, IsString, TypeCode
87
88         * MetaTable.cs: use MetaModel.GetTypeDescriptor to retrieve
89         associated entity type attributes.
90
91         * MetaModel.cs: implemented registration of type metadata
92         cache. Metadata is provided by a set of TypeDescriptionProvider
93         instances (if ContextConfig is present for given model provider)
94         or by default type description provider (note that this
95         functionality is not implemented in
96         System.ComponentModel.TypeDescriptor yet!).
97
98 2009-06-12  Marek Habersack  <mhabersack@novell.com>
99
100         * MetaTable.cs: implemented correct detection of foreign key
101         columns.
102         Implemented IsReadOnly, SortColumn, SortDescending.
103
104 2009-06-10  Marek Habersack  <mhabersack@novell.com>
105
106         * MetaTable.cs: fixed DisplayName implementation.
107         Implemented GetPrimaryKeyString, GetQuery.
108
109 2009-06-09  Marek Habersack  <mhabersack@novell.com>
110
111         * MetaTable.cs: implemented more overloads of GetActionPath.
112         Implemented GetPrimaryKeyValues, GetActionPathFromRoutes,
113         Attributes, DisplayColumn, GetDisplayString.
114
115 2009-06-01  Marek Habersack  <mhabersack@novell.com>
116
117         * MetaModel.cs: GetModel throws InvalidOperationException on
118         missing model.
119         Implemented GetActionPath and GetTable.
120
121 2009-04-29  Marek Habersack  <mhabersack@novell.com>
122
123         * MetaTable.cs: implemented the DataContextType,
124         DataContextPropertyName properties and the ToString method.
125
126         * MetaColumn.cs: implemented the Scaffold, DisplayName,
127         SortExpression, UIHint properties and the ToString method.
128
129         * DynamicField.cs: implemented
130
131         * DynamicDataManager.cs: partially implemented RegisterControl.
132         Added internal AutoFieldGenerator class, used by RegisterControl
133         when dealing with GridView.
134         Implemented some properties.
135
136         * DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
137
138         * DynamicControl.cs: implemented parts of the class.
139
140 2009-04-23  Marek Habersack  <mhabersack@novell.com>
141
142         * ContextConfiguration.cs: implemented all the methods and added a
143         parameterless constructor.
144
145 2008-10-21  Atsushi Enomoto  <atsushi@ximian.com>
146
147         * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs:
148           ongoing implementation; resolve to page templates.
149
150 2008-10-17  Atsushi Enomoto  <atsushi@ximian.com>
151
152         * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs,
153           MetaModel.cs : ongoing implementation.
154
155 2008-10-16  Atsushi Enomoto  <atsushi@ximian.com>
156
157         * DynamicDataManager.cs, DynamicDataRoute.cs,
158           FieldTemplateFactory.cs, MetaChildrenColumn.cs,
159           MetaColumn.cs, MetaForeignKeyColumn.cs, MetaModel.cs, MetaTable.cs:
160           ongoing implementation.
161
162 2008-10-14  Atsushi Enomoto  <atsushi@ximian.com>
163
164         *.cs : initial checkin. stubs.