Commit Graph
22 Commits
Author SHA1 Message Date
Atsushi Eno 94864efc89 2008-11-28 Atsushi Enomoto <[email protected]>
* Makefile : add NUNIT_RESOURCE_FILES to dist.


svn path=/trunk/mcs/; revision=120201
2008-11-28 01:47:23 +00:00
Marek Habersack 1c98a1360e 2008-11-20 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
	System.Web.ClientServices and System.Web.ClientServices.Providers
	Sorted contents for easier reading and modification.

2008-11-20  Marek Habersack  <[email protected]>

	* ClientFormsAuthenticationCredentials.cs,
	ClientFormsAuthenticationMembershipProvider.cs,
	ClientRoleProvider.cs, ClientSettingsProvider.cs,
	ClientWindowsAuthenticationMembershipProvider.cs,
	IClientFormsAuthenticationCredentialsProvider.cs,
	SettingsSavedEventArgs.cs, UserValidatedEventArgs.cs: added (stubs

2008-11-20  Marek Habersack  <[email protected]>

	* ClientFormsIdentity.cs, ClientRolePrincipal.cs,
	ConnectivityStatus.cs: added (stubs)

svn path=/trunk/mcs/; revision=119490
2008-11-20 18:53:57 +00:00
Marek Habersack 66c1953e77 2008-11-19 Marek Habersack <[email protected]>
* ListView.cs: added paremeter checks to AddControlToContainer.
	CreateInsertItem must instantiate the template and call raise the
	ItemCreated event.
	Added parameter checks to FindPlaceholder

2008-11-19  Marek Habersack  <[email protected]>

	* AssemblyInfo.cs: made System.Web.Extensions_test_net_2_0 a
	friend assembly.

2008-11-19  Marek Habersack  <[email protected]>

	* EventRecorder.cs: class is now serializable.

	* ListViewTest.cs: use system.web Mainsoft test framework.
	ListViewPoker is now able to record events.
	Added wrappers for ListView protected methods to ListViewPoker,
	Added two simple test ITemplate classes.
	Added tests for initial values.
	Added tests for all the methods which can be tested in a simple
	way, without using a real asp.net page.
	Added test for the Edit functionality.

2008-11-19  Marek Habersack  <[email protected]>

	* CountryCollection.cs, Country.cs: added

2008-11-19  Marek Habersack  <[email protected]>

	* ListViewTest.aspx, ListViewSort.aspx, Web.mono.config: added

2008-11-19  Marek Habersack  <[email protected]>

	* Makefile (NUNIT_RESOURCE_FILES): added

	* System.Web.Extensions_test.dll.sources: added the system.web
	Mainsoft test suite files.
	Added new test files.

svn path=/trunk/mcs/; revision=119375
2008-11-19 21:13:22 +00:00
Marek Habersack 54d3e76f8f 2008-11-18 Marek Habersack <[email protected]>
* ListViewContainer.cs: added

	* ListView.cs: 
	Align group with empty items if there are no more data items.
	Each group is contained within ListViewContainer.
	Calculate the number of groups correctly.

2008-11-18  Marek Habersack  <[email protected]>

	* System.Web.Extensions.dll.sources: added
	./System.Web.UI.WebControls/ListViewTableCell.cs
	Added ./System.Web.Query.Dynamic/DynamicClass.cs and
	./System.Web.Query.Dynamic/ParseException.cs	
	Added ./System.Web.UI.WebControls/ListViewContainer.cs

svn path=/trunk/mcs/; revision=119223
2008-11-18 21:40:18 +00:00
Marek Habersack 8479d831ee 2008-11-18 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: 
	Added ./System.Web.Query.Dynamic/DynamicClass.cs and
	./System.Web.Query.Dynamic/ParseException.cs

2008-11-18  Marek Habersack  <[email protected]>

	* DynamicClass.cs: added

	* ParseException.cs: added

svn path=/trunk/mcs/; revision=119168
2008-11-18 16:06:47 +00:00
Marek Habersack bfa1034dd0 2008-11-18 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
	./System.Web.UI.WebControls/ListViewTableCell.cs

2008-11-18  Marek Habersack  <[email protected]>

	* ListView.cs: implemented grouping support. With this ListView is
	feature complete.
	Refactored grouped/non-grouped rendering common code into separate
	methods.
	FindPlaceholder now looks for the placeholder recursively.
	Implemented forgotten UpdateItem method.

	* ListViewTableCell.cs: added

svn path=/trunk/mcs/; revision=119125
2008-11-18 03:17:44 +00:00
Marek Habersack 3486292d5a 2008-11-15 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
	System.Web.UI.WebControls/DataPagerCommandEventArgs.cs

2008-11-15  Marek Habersack  <[email protected]>

	* ListViewInsertEventArgs.cs: implemented the Values property.

	* ListView.cs: CreateChildControls uses the Items collection to
	store the created items.
	InsertNewItem triggers page validation if necessary.
	Part of InsertNewItem code refactored to DoInsert.
	Implemented handling of the Insert and Select commands.

	* TemplatePagerField.cs: implemented all the code.

	* DataPager.cs: CreatePagerFields now adds the new pager field
	control before creating data pagers in it and before binding to
	data. This avoids situation in which the field is parentless.
	FindPageableItemContainer now properly finds the container if it's
	placed directly in the Page.
	{Load,Save}ViewState don't use a Pair anymore, object array is
	used for compatibility with MS.NET

	* NumericPagerField.cs, NextPreviousPagerField.cs,
	DataPagerFieldCommandEventArgs.cs: minor refactoring

	* ListViewSelectEventArgs.cs: implemented all the code.

	* ListViewInsertedEventArgs.cs: Values allocates the dictionary on
	demand now.
	Initialize all the properties in constructor

	* DataPagerCommandEventArgs.cs: added

	* DataPagerField.cs: implemented IsTrackingViewState

	* DataPagerFieldItem.cs: implements the INonBindingContainer
	interface.

svn path=/trunk/mcs/; revision=118918
2008-11-15 04:00:05 +00:00
Marek Habersack d4b9426973 2008-10-30 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
	./System.Web.UI.WebControls/TemplatePagerField.cs

	* System.Web.Extensions_test.dll.sources: added
	System.Web.UI.WebControls/EventRecorder.cs,
	System.Web.UI.WebControls/ListViewTest.cs,
	System.Web.UI.WebControls/DataPagerFieldCollectionTest.cs

2008-10-30  Marek Habersack  <[email protected]>

	* DataPagerFieldCollectionTest.cs: created. Some basic tests for
	DataPagerFieldCollection

	* EventRecorder.cs: created. A helper class for tests.

	* ListViewTest.cs: created. Some basic test for ListView.

2008-10-30  Marek Habersack  <[email protected]>

	* DataPagerFieldCollection.cs: implemented most of the methods and
	properties, so that using the DataPager is possible now.

	* PagePropertiesChangingEventArgs.cs: implemented all the methods
	and properties.

	* ListView.cs: {Save,Load}ControlState now uses constants to index
	state arrays. Total row count is stored in the control state.
	CreateChildControls () now uses dummy data to initialize child
	controls if no items were found after postback.
	CreateChildControls (IEnumerable, bool) now properly calculates
	total row count, calls OnTotalRowCountAvailable after creating the
	child controls and returns the total row count instead of the
	number of created child controls. This makes pager work
	correctly.
	Implemented SetPageProperties () to support paging.

	* NextPreviousPagerField.cs: Correctly order the Next/Previous
	buttons.
	When creating buttons, cast the new control properly before
	assigning properties.

	* TemplatePagerField.cs: added (stub)

	* DataPager.cs: added missing class attributes (ParseChildren,
	PersistChildren and SupportsEventValidation).
	{Save,Load}ControlState now use constants to index the state
	arrays.
	Properly implemented FindPageableItemContainer - it now looks for
	the container up the parenthood chain, querying all the naming
	containers for the named control.
	SetUpForNewContainer now accepts an additional parameter, so that
	the SetPageProperties method is called on the container whenever
	necessary.

	* NumericPagerField.cs: implemented the CreateField method.

	* ListViewPagedDataSource.cs: implemented data source
	enumerators.

	* DataPagerFieldItem.cs: implemented all the methods and properties.

svn path=/trunk/mcs/; revision=117479
2008-10-30 14:46:35 +00:00
Jonathan Pryor 799133707c Add doc-update target support.
The doc-update target updates the Documentation/en directory for libraries
(and is otherwise ignored).

svn path=/trunk/mcs/; revision=116287
2008-10-17 18:45:17 +00:00
Atsushi Eno 30dfcbfa2d 2008-10-08 Atsushi Enomoto <[email protected]>
* Makefile: add reference to S.D.Linq.

	* LinqDataSource.cs, LinqDataSourceView.cs :
	  some more implementation.


svn path=/trunk/mcs/; revision=115240
2008-10-08 16:17:05 +00:00
Marek Habersack f9d08cbc2f 2008-09-30 Marek Habersack <[email protected]>
* System.Web.Extensions.Design_1.0.dll.sources: added

	* Makefile: added

2008-09-30  Marek Habersack  <[email protected]>

	* System.Web.Extensions_1.0.dll.sources: added

	* Makefile: added

2008-09-30  Marek Habersack  <[email protected]>

	* Makefile (LIB_MCS_FLAGS): added -define:NET_3_5 as the 3.5 parts
	of the assembly are now built as part of the 2.0 profile.

2008-09-30  Marek Habersack  <[email protected]>

	* Makefile (net_2_0_dirs): added System.Web.Extensions_1.0 and
	System.Web.Extensions.Design_1.0
	(net_3_5_dirs): removed System.Web.Extensions, the 3.5 version is
	now built in the 2.0 profile.

svn path=/trunk/mcs/; revision=114471
2008-09-30 09:19:57 +00:00
Marek Habersack 93a1d2ad6c 2008-09-19 Marek Habersack <[email protected]>
* Json.cs: added new Serialize overload which takes a TextWriter
	for its output parameter.
	Added Deserialize methods.

	* JsonSerializer.cs: made InitialJavaScriptDateTicks internal.
	Added new Serialize overload which takes a TextWriter for its
	output parameter.
	Added WriteValue overloads for float and double - they must not be
	converted to strings as IConvertibles because their Max/MinValue
	end up converted incorrectly.

	* JavaScriptSerializer.cs: adjustments for the new JSON
	(de)serializer.

	* JsonDeserializer.cs: new JSON deserializer code, fully compliant
	with the .NET AJAX one.

2008-09-19  Marek Habersack  <[email protected]>

	* JavaScriptSerializerTest.cs: enabled some tests which were
	failing with the old (de)serializer, but work with the new one.

2008-09-19  Marek Habersack  <[email protected]>

	* System.Web.Extensions.dll.sources: removed most of the
	Newtonsoft JSON code, leaving only ReflectionUtils and
	JavaScriptUtils.


svn path=/trunk/mcs/; revision=113590
2008-09-19 21:13:55 +00:00
Marek Safar 4c2e865214 2008-09-18 Marek Safar <[email protected]>
* Makefile: Add System.Core reference.


svn path=/trunk/mcs/; revision=113433
2008-09-18 15:51:03 +00:00
Atsushi Eno 5bd356d8b0 Added LinqDataSource stuff (stubs).
svn path=/trunk/mcs/; revision=113393
2008-09-18 07:22:17 +00:00
Marek Habersack 5defc3fa29 2008-09-17 Marek Habersack <[email protected]>
* System.Web.Extensions.dll.sources: added
	System.Web.Script.Serialization/Json.cs,
	System.Web.Script.Serialization/JsonSerializer.cs and
	System.Web.Script.Serialization/StringBuilderExtensions.cs

	* System.Web.Script.Serialization/Json.cs: helper class to invoke
	de/serializer.

	* System.Web.Script.Serialization/JsonSerializer.cs: new
	implementation of Json serializer that is free of issues found in
	the old one (and faster + simpler).

	* System.Web.Script.Serialization/JavaScriptSerializer.cs: staging
	transition to the new Json (de)serializer. For now deserialization
	is done using the old JSON code, serialization uses the new
	serializer.

	* System.Web.Script.Serialization/StringBuilderExtensions.cs: a
	set of simple StringBuilder extension methods which check the size
	of the builder against some value and throw an exception if the
	value is exceeded.

svn path=/trunk/mcs/; revision=113254
2008-09-17 06:42:10 +00:00
Atsushi Eno 79ba9748c8 2008-09-13 Atsushi Enomoto <[email protected]>
* System.Web.Extensions.dll.sources :
	  added sys.web.DynamicData types.

	* DynamicDataSourceOperation.cs, DynamicValidatorEventArgs.cs,
	  IDynamicDataSource.cs, IDynamicValidatorException.cs :
	  new in 3.5 SP1.


svn path=/trunk/mcs/; revision=112934
2008-09-13 13:21:54 +00:00
Marek Habersack 0befa2bb02 2008-08-30 Marek Habersack <[email protected]>
* System.Web.Script.Serialization/JavaScriptSerializer.cs: if the
	target type is an IDictionary with value type of System.Object,
	make sure to NOT convert any values.
	Any values descendant from JavaScriptSerializer.LazyDictionary are
	converted to Dictionary <string, object>

svn path=/trunk/mcs/; revision=111956
2008-08-29 22:37:59 +00:00
Marek Habersack 6c2057c3ca 2008-08-28 Marek Habersack <[email protected]>
* System.Web.Script.Services/LogicalTypeInfo.cs: Invoke does not
	convert context to System.Object.
	If context is descendant from JavaScriptSerializer.LazyDictionary
	it is converted to a regular Dictionary <string, object> before
	passing to the service method.

2008-08-28  Marek Habersack  <[email protected]>

	* JsonSerializer.cs: each value stored in an enumerable is treated
	as a top-level object.

svn path=/trunk/mcs/; revision=111801
2008-08-28 13:13:35 +00:00
Marek Habersack 0e1e0d5903 2008-08-28 Marek Habersack <[email protected]>
* System.Web.Script.Serialization/JavaScriptSerializer.cs:
	correctly handle members which have an interface as their return
	type - several known interfaces are converted to implementing
	types.

svn path=/trunk/mcs/; revision=111772
2008-08-28 01:35:55 +00:00
Marek Habersack 128130fb6c 2008-08-22 Marek Habersack <[email protected]>
* JsonSerializer.cs: do not perform deep object serialization - it
	results in all kinds of problems (including too big size of the
	resulting string, recursion errors when two or more objects in the
	hierarchy hold a reference to some object) and is not what .NET
	code does. 
	Property name is written only after it is determined if we're
	serializing the property or not.
	Entire object is serialized only if it's the object requested for
	serialization by calling code.

2008-08-22  Marek Habersack  <[email protected]>

	* Test/System.Web.Script.Serialization/JavaScriptSerializerTest.cs:
	marked several of the JavaScriptSerializer tests as not
	working. Experiments show that the tests are invalid as they relay
	on behavior which is different to .NET's.

	* System.Web.Script.Serialization/JavaScriptSerializer.cs:
	GetConverter now checks whether the requested type is descendant
	from the type supported by teh converter.

svn path=/trunk/mcs/; revision=111421
2008-08-22 20:51:45 +00:00
Marek Habersack 2c09b71a54 2008-06-11 Marek Habersack <[email protected]>
* Test/System.Web.UI/ScriptBehaviorDescriptorTest.cs,
	Test/System.Web.UI/ScriptComponentDescriptorTest.cs,
	Test/System.Web.UI/ScriptControlDescriptorTest.cs: disabled
	tests relying on the Dictionary keys order.

svn path=/trunk/mcs/; revision=105571
2008-06-11 12:11:33 +00:00
Marek Habersack f73542fef6 2008-05-07 Marek Habersack <[email protected]>
* ChangeLog: added and moved entries from ../ChaneLog to here.

	* Makefile (RESOURCE_FILES): partially revert r102022 - always use
	the 3.5.0.0 script library. Fixes bug #384580

svn path=/trunk/mcs/; revision=102715
2008-05-07 11:51:39 +00:00