[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System.Web.DynamicData / System.Web.DynamicData / ChangeLog
1 2009-10-02  Marek Habersack  <mhabersack@novell.com>
2
3         * DynamicValidator.cs: initial implementation
4
5         * DynamicDataManager.cs: implemented OnLoad.
6         Better implementation of RegisterControl
7
8         * DynamicDataExtensions.cs: implemented FindDataSourceControl.
9
10 2009-09-18  Marek Habersack  <mhabersack@novell.com>
11
12         * MetaTable.cs: implemented Init - calls Init on all the columns
13         present in this instance.
14
15         * MetaModel.cs: constructor initializes FieldTemplateFactory after
16         it is instantiated.
17         RegisterContextCore first registers the context type, then creates
18         tables and finally calls Init on all the tables.
19
20         * MetaColumn.cs: added internal Init method - called by MetaModel
21         after context is registered and all tables are created and
22         registered.
23
24         * MetaChildrenColumn.cs: implemented ChildTable,
25         ColumnInOtherTable, GetChildrenListPath, GetChildrenPath and added
26         an internal Init method override. MonoTODO attributes stay until I
27         write tests for the class.
28
29         * FieldTemplateUserControl.cs: implemented ChildrenColumn,
30         ChildrenPath, Column, ForeignKeyColumn, ForeignKeyPath,
31         MetadataAttributes, Mode, Row, Table, SetHost
32
33         * FieldTemplateFactory.cs: GetFieldTemplateVirtualPath fixes
34
35         * DynamicControl.cs: implemented ApplyFormatInEditMode,
36         ConvertEmptyStringToNull, DataField, DataFormatString, HtmlEncode,
37         FormattingOptions, NullDisplayText, UIHint, OnInit, Render.
38
39 2009-09-15  Marek Habersack  <mhabersack@novell.com>
40
41         * MetaColumn.cs: DataTypeAttribtue created automatically for
42         string columns, must be of type MultilineText for long strings.
43
44         * FieldTemplateFactory.cs: implemented BuildVirtualPath,
45         CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode
46         and fixed implementation of TemplateFolderVirtualPath.
47
48 2009-09-10  Marek Habersack  <mhabersack@novell.com>
49
50         * DynamicControl.cs: implemented several properties.
51         Added code for ResolveColumn method, called from OnInit
52
53 2009-07-14  Marek Habersack  <mhabersack@novell.com>
54
55         * FieldTemplateFactory.cs: implemented TemplateFolderVirtualPath
56
57 2009-06-27  Marek Habersack  <mhabersack@novell.com>
58
59         * DynamicDataExtensions.cs: implemented ConvertEditedValue
60
61         * MetaModel.cs: implemented DynamicDataFolderVirtualPath
62
63         * DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
64         GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
65         guessed at implementation of CreateHandler.
66
67 2009-06-26  Marek Habersack  <mhabersack@novell.com>
68
69         * MetaModel.cs: RegisterContextCore preserves already registered
70         tables.
71
72         * DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
73         route data from the routes collection (if the matching route
74         happened to be an instance of DynamicDataRoute it would initialize
75         its RouteHandler's Model property, which is not correct, according
76         to tests). Instead a new RouteData instance is created each time
77         we don't find any cached context.
78
79         * DynamicDataRoute.cs: the associated route handler is set its
80         Model property when we initialize for the first time.
81         GetRouteData checks whether route data returned by base class
82         relates to a table which exists in the current context. If no such
83         table exists, null is returned.
84
85 2009-06-25  Marek Habersack  <mhabersack@novell.com>
86
87         * MetaTable.cs: Fixes to make tests succeed.
88
89         * MetaModel.cs: added the GetDataFieldAttributes method for
90         retrieving attributes associated with data type/field.
91         Fixes to make tests succeed.
92
93         * MetaColumn.cs: refactoring - use
94         MetaModel.GetDataFieldAttributes instead of the local version.
95
96         * DynamicDataRouteHandler.cs: implemented GetRequestContext,
97         GetRequestMetaTable.
98
99         * DynamicDataRoute.cs: when the Action and Table properties are
100         set before one of GetVirtualPath or GetRouteData methods are
101         called for the first time, a check is made whether the Defaults
102         collection exists and whether it contains entries for Action and
103         Table. Initialization code makes sure those entries are inserted
104         into the dictionary in those cases.
105
106 2009-06-23  Marek Habersack  <mhabersack@novell.com>
107
108         * MetaTable.cs: constructor now takes ContextConfiguration instead
109         of a boolean and uses the config to determine value of the
110         ScaffoldAllTables property. Also, if context config is present,
111         makes sure to register the associated type description provider
112         (if any) with TypeDescriptor.
113
114         * MetaModel.cs: no longer uses local cache for description
115         providers. Uses TypeDescriptor.{Add,Get}Provider now.
116
117         * MetaColumn.cs: fixed Scaffold to match tests - IsGenerated and
118         IsCustomProperty take precedence over Table.ScaffoldAllTables.
119         GetDataFieldAttribute doesn't use AttributeCollection indexer, as
120         the latter would create a default instance of the requested
121         attribute, which is not what we want here.
122
123 2009-06-17  Marek Habersack  <mhabersack@novell.com>
124
125         * MetaTable.cs: fixed Scaffold implementation.
126         Added internal ScaffoldAllTables property.
127
128         * MetaColumn.cs: fixed TypeCode, MaxLength, Scaffold, UIHint
129         implementations.
130         Implemented IsLongString, IsBinaryData, IsReadOnly,
131         NullDisplayText, RequiredErrorMessage
132
133 2009-06-16  Marek Habersack  <mhabersack@novell.com>
134
135         * DynamicDataManager.cs, DynamicDataExtensions.cs: use new
136         DataBoundControl.DataSourceObject instead of
137         InternalGetDataSource.
138
139 2009-06-15  Marek Habersack  <mhabersack@novell.com>
140
141         * MetaColumn.cs: implemented ApplyFormatInEditMode, Attributes,
142         ConvertEmptyStringToNull, DataFormatString, DataTypeAttribute,
143         DefaultValue, Description, DisplayName, IsRequired,
144         IsFloatingPoint, IsInteger, IsString, TypeCode
145
146         * MetaTable.cs: use MetaModel.GetTypeDescriptor to retrieve
147         associated entity type attributes.
148
149         * MetaModel.cs: implemented registration of type metadata
150         cache. Metadata is provided by a set of TypeDescriptionProvider
151         instances (if ContextConfig is present for given model provider)
152         or by default type description provider (note that this
153         functionality is not implemented in
154         System.ComponentModel.TypeDescriptor yet!).
155
156 2009-06-12  Marek Habersack  <mhabersack@novell.com>
157
158         * MetaTable.cs: implemented correct detection of foreign key
159         columns.
160         Implemented IsReadOnly, SortColumn, SortDescending.
161
162 2009-06-10  Marek Habersack  <mhabersack@novell.com>
163
164         * MetaTable.cs: fixed DisplayName implementation.
165         Implemented GetPrimaryKeyString, GetQuery.
166
167 2009-06-09  Marek Habersack  <mhabersack@novell.com>
168
169         * MetaTable.cs: implemented more overloads of GetActionPath.
170         Implemented GetPrimaryKeyValues, GetActionPathFromRoutes,
171         Attributes, DisplayColumn, GetDisplayString.
172
173 2009-06-01  Marek Habersack  <mhabersack@novell.com>
174
175         * MetaModel.cs: GetModel throws InvalidOperationException on
176         missing model.
177         Implemented GetActionPath and GetTable.
178
179 2009-04-29  Marek Habersack  <mhabersack@novell.com>
180
181         * MetaTable.cs: implemented the DataContextType,
182         DataContextPropertyName properties and the ToString method.
183
184         * MetaColumn.cs: implemented the Scaffold, DisplayName,
185         SortExpression, UIHint properties and the ToString method.
186
187         * DynamicField.cs: implemented
188
189         * DynamicDataManager.cs: partially implemented RegisterControl.
190         Added internal AutoFieldGenerator class, used by RegisterControl
191         when dealing with GridView.
192         Implemented some properties.
193
194         * DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
195
196         * DynamicControl.cs: implemented parts of the class.
197
198 2009-04-23  Marek Habersack  <mhabersack@novell.com>
199
200         * ContextConfiguration.cs: implemented all the methods and added a
201         parameterless constructor.
202
203 2008-10-21  Atsushi Enomoto  <atsushi@ximian.com>
204
205         * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs:
206           ongoing implementation; resolve to page templates.
207
208 2008-10-17  Atsushi Enomoto  <atsushi@ximian.com>
209
210         * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs,
211           MetaModel.cs : ongoing implementation.
212
213 2008-10-16  Atsushi Enomoto  <atsushi@ximian.com>
214
215         * DynamicDataManager.cs, DynamicDataRoute.cs,
216           FieldTemplateFactory.cs, MetaChildrenColumn.cs,
217           MetaColumn.cs, MetaForeignKeyColumn.cs, MetaModel.cs, MetaTable.cs:
218           ongoing implementation.
219
220 2008-10-14  Atsushi Enomoto  <atsushi@ximian.com>
221
222         *.cs : initial checkin. stubs.