mono.git
18 years ago2005-08-28 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 28 Aug 2005 10:15:04 +0000 (10:15 -0000)]
2005-08-28  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/ParserConsumerBase.cs: move dispatching
        to handlers based on nodes returned from the parser into a base class
        * Mono.Windows.Serialization/ParserToCode.cs: use ParserConsumerBase
        * System.Windows.Serialization/Parser.cs: use ParserConsumerBase,
        added support for objects as values of dependency properties
        * demo/runtimetest.xaml: added a demonstration of objects as values of
        dependency properties

svn path=/trunk/mcs/; revision=49019

18 years agoImageCodecInfo.jvm.cs: Fixed Iterate
Vladimir Krasnov [Sun, 28 Aug 2005 10:12:28 +0000 (10:12 -0000)]
ImageCodecInfo.jvm.cs: Fixed Iterate

svn path=/trunk/mcs/; revision=49018

18 years agoGraphics.jvm.cs: Implemented BeginContainer, EndContainer,
Vladimir Krasnov [Sun, 28 Aug 2005 10:02:44 +0000 (10:02 -0000)]
Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
Save, Restore

svn path=/trunk/mcs/; revision=49016

18 years agosvn path=/trunk/mcs/; revision=49015
Vladimir Krasnov [Sun, 28 Aug 2005 10:00:37 +0000 (10:00 -0000)]
svn path=/trunk/mcs/; revision=49015

18 years agoSystem.Drawing.vmwcsproj: Added GraphicsContainer.jvm.cs, GraphicsState.jvm.cs
Vladimir Krasnov [Sun, 28 Aug 2005 09:59:27 +0000 (09:59 -0000)]
System.Drawing.vmwcsproj: Added GraphicsContainer.jvm.cs, GraphicsState.jvm.cs
Excluded: GraphicsContainer.cs, GraphicsState.cs
Fixed: const.cs.in

svn path=/trunk/mcs/; revision=49014

18 years ago* DateTimeConverterTests.cs: Added tests for DateTimeConverter.
Gert Driesen [Sun, 28 Aug 2005 07:36:26 +0000 (07:36 -0000)]
* DateTimeConverterTests.cs: Added tests for DateTimeConverter.
* DateTimeConverter.cs: ConvertTo must return zero-length string
for DateTime.MinValue. Use CultureInfo.GetFormat to obtain
DateTimeFormatInfo to match MS.NET.
* System_test.dll.sources: Added DateTimeConverterTests.cs.

svn path=/trunk/mcs/; revision=49013

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:41:51 +0000 (06:41 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* Page.cs: more random corcompare work.
(PageAdapter): implement.

svn path=/trunk/mcs/; revision=49012

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:26:34 +0000 (06:26 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add IAdaptableTextWriter.cs

svn path=/trunk/mcs/; revision=49011

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:25:40 +0000 (06:25 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* Page.cs (.ctor): set our initial ID to "__Page".
(SmartNavigation): obsolete in 2.0.
(FindControl): new implementation.  Just check our own ID against
the control we're looking for.  otherwise pass it along to
base.FindControl.
(GetPostBackClientHyperlink): obsolete in 2.0.

svn path=/trunk/mcs/; revision=49010

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:22:13 +0000 (06:22 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* ClientScriptManager.cs: public sealed in 2.0

* IAdaptableTextWriter.cs: new 2.0 interface.

* IHierarchyData.cs: fix return type for GetParent.

svn path=/trunk/mcs/; revision=49009

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:21:38 +0000 (06:21 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* SiteMapNode.cs: fix IHierarchyData.GetParent.

svn path=/trunk/mcs/; revision=49008

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:21:23 +0000 (06:21 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* XmlHierarchyData.cs: fix IHierarchyData.GetParent.

svn path=/trunk/mcs/; revision=49007

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 06:06:20 +0000 (06:06 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlHeadBuilder.cs: this is public.

* HtmlSelectBuilder.cs: in 2.0 this is public.

* HtmlInputButton.cs: fix boilerplate.

* HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
(IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
Page.Validation(ValidationGroup).

svn path=/trunk/mcs/; revision=49006

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:53:54 +0000 (05:53 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* System.Web_test.dll.sources: add HtmlInputPasswordTest.cs and
HtmlInputResetTest.cs

* System.Web.dll.sources: add HtmlInputPassword.cs and
HtmlInputReset.cs.

svn path=/trunk/mcs/; revision=49005

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:52:22 +0000 (05:52 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputResetTest.cs: new tests for HtmlInputReset.  Missing
event tests.

svn path=/trunk/mcs/; revision=49004

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:52:08 +0000 (05:52 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputReset.cs: mostly complete implementation.

svn path=/trunk/mcs/; revision=49003

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:25:29 +0000 (05:25 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputPassword.cs: doh, make this NET_2_0 only.

svn path=/trunk/mcs/; revision=49002

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:06:54 +0000 (05:06 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputPassword.cs: implement.

svn path=/trunk/mcs/; revision=49001

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 05:06:15 +0000 (05:06 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlInputPasswordTest.cs: new tests for HtmlInputPassword.

svn path=/trunk/mcs/; revision=49000

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 04:45:59 +0000 (04:45 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* HtmlImage.cs: corcompare fixes.

* HtmlInputCheckBox.cs: same.

svn path=/trunk/mcs/; revision=48999

18 years ago2005-08-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 28 Aug 2005 04:18:12 +0000 (04:18 -0000)]
2005-08-28  Chris Toshok  <toshok@ximian.com>

* Pair.cs: mark serializable and sealed in 2.0.

svn path=/trunk/mcs/; revision=48998

18 years agoround two
Ben Maurer [Sat, 27 Aug 2005 21:04:32 +0000 (21:04 -0000)]
round two

svn path=/trunk/mcs/; revision=48991

18 years agoround one
Ben Maurer [Sat, 27 Aug 2005 21:03:38 +0000 (21:03 -0000)]
round one

svn path=/trunk/mcs/; revision=48990

18 years ago2005-08-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 27 Aug 2005 20:00:16 +0000 (20:00 -0000)]
2005-08-27  Chris Toshok  <toshok@ximian.com>

* HtmlControl.cs (GetAttribute, SetAttribute): implement.

svn path=/trunk/mcs/; revision=48986

18 years agotwo 2.0 tests. one tests HtmlForm.DefaultButton (defaultbutton.aspx), and the other...
Chris Toshok [Sat, 27 Aug 2005 19:59:35 +0000 (19:59 -0000)]
two 2.0 tests.  one tests HtmlForm.DefaultButton (defaultbutton.aspx), and the other tests HtmlForm.DefaultFocus along with which setting takes precedence (defaultfocus.aspx)

svn path=/trunk/mcs/; revision=48985

18 years ago2005-08-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 27 Aug 2005 19:58:25 +0000 (19:58 -0000)]
2005-08-27  Chris Toshok  <toshok@ximian.com>

* webform.js: add copyright blurb, and add implementation of
WebForm_AutoFocus, used by the 2.0 HtmlForm properties
DefaultButton and DefaultFocus.

svn path=/trunk/mcs/; revision=48984

18 years ago2005-08-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 27 Aug 2005 19:57:51 +0000 (19:57 -0000)]
2005-08-27  Chris Toshok  <toshok@ximian.com>

* HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
(OnPreRender): figure out (hackishly) if we're uplevel rendering.
If we have a default button/focus control set, register webform.js
as a client script block, and emit some JS to focus the control.
(RenderAttributes): verify that the DefaultButton attribute points
to a valid IButtonControl implementing control.  Also remove the
defaultfocus/defaultbutton attributes before calling
base.RenderAttributes.

svn path=/trunk/mcs/; revision=48982

18 years ago2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 27 Aug 2005 18:02:52 +0000 (18:02 -0000)]
2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeDescriptor.cs: remove double lock in DefaultConverter.

svn path=/trunk/mcs/; revision=48981

18 years ago2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 27 Aug 2005 17:29:25 +0000 (17:29 -0000)]
2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* GlobalProxySelection.cs: remove double lock.
* HttpWebRequest.cs: remove double lock in GetServicePoint() and use
a private object when locking.

svn path=/trunk/mcs/; revision=48980

18 years agoFixed 48519 to 48944 regressions.
Kornél Pál [Sat, 27 Aug 2005 16:59:26 +0000 (16:59 -0000)]
Fixed 48519 to 48944 regressions.

svn path=/trunk/mcs/; revision=48979

18 years ago2005-08-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 27 Aug 2005 14:56:15 +0000 (14:56 -0000)]
2005-08-27  Chris Toshok  <toshok@ximian.com>

* TextBoxTest.cs: add 2.0 test to show that validation properties
have no effect on downlevel rendering.

svn path=/trunk/mcs/; revision=48976

18 years ago2005-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Aug 2005 14:38:41 +0000 (14:38 -0000)]
2005-08-27  Zoltan Varga  <vargaz@gmail.com>

* libtest.c (mono_test_empty_struct): Work around bug in intel icc.

svn path=/trunk/mono/; revision=48975

18 years ago2005-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Aug 2005 14:38:16 +0000 (14:38 -0000)]
2005-08-27  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_setup_jit_tls_data): Add support for intel
icc.

* tramp-ia64.c (mono_arch_create_trampoline_code): Use st8.spill for
saving registers.

svn path=/trunk/mono/; revision=48974

18 years ago2005-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Aug 2005 14:37:20 +0000 (14:37 -0000)]
2005-08-27  Zoltan Varga  <vargaz@gmail.com>

* atomic.h: Add support for intel icc.

svn path=/trunk/mono/; revision=48972

18 years ago2005-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Aug 2005 14:36:10 +0000 (14:36 -0000)]
2005-08-27  Zoltan Varga  <vargaz@gmail.com>

* mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
intel icc.

svn path=/trunk/mono/; revision=48971

18 years ago2005-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Aug 2005 14:34:45 +0000 (14:34 -0000)]
2005-08-27  Zoltan Varga  <vargaz@gmail.com>

* strtod.c (Storeinc): Modify code which is miscompiled by intel icc.

svn path=/trunk/mono/; revision=48970

18 years ago2005-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Aug 2005 14:33:09 +0000 (14:33 -0000)]
2005-08-27  Zoltan Varga  <vargaz@gmail.com>

* ia64/ia64-codegen.h: Fix some bugs.

* ia64/codegen.c: Update to work with latest ia64-codegen.h

svn path=/trunk/mono/; revision=48969

18 years ago2005-08-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 27 Aug 2005 14:01:31 +0000 (14:01 -0000)]
2005-08-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).

svn path=/trunk/mcs/; revision=48967

18 years ago2005-08-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 27 Aug 2005 13:58:09 +0000 (13:58 -0000)]
2005-08-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
    * NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
    * NpgsqlDataReader.cs: Updated ProviderType metadata from NpgsqlDataReader.GetResultsetSchema to be the string for the type rather than the oid.  Fixed ColumnSize, NumericPrecision, NumericScale, BaseColumnName, AllowDBNull, and IsAliased. Also integrated patch from (rlp at bamafolks dot com), gborg 751. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patches!
    * NpgsqlConnection.cs,
      NpgsqlSchema.cs: Josh Cooley (jbnpgsql at tuxinthebox dot net) improved Metadata support in Npgsql. Added support for the following collections through NpgsqlConnection.GetSchema() methods: MetaDataCollections, Restrictions, Databases, Tables, Columns, Views and Users. Also added support for restrictions when getting info about these collections.
    * NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
    * NpgsqlDbType.cs,
      NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
    * NpgsqlDataAdapter: Updated constructor documentation.
    * Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
    * NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
    * NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
    * NpgsqlCommandBuilder.cs: Updated documentation.

svn path=/trunk/mcs/; revision=48966

18 years ago2005-08-27 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sat, 27 Aug 2005 13:26:40 +0000 (13:26 -0000)]
2005-08-27  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/XamlParser.cs: added support for objects
        as values of dependency properties
        * Mono.Windows.Serialization/ParserToCode.cs: added support for code
        generation for objects as values of dependency properties
        * Test/XamlParser.cs: a test of same
        * System.Windows.Serialization/data-classes.txt: some minor
        refinements to enable the above
        * System.Windows.Serialization/Parser.cs: stubs for instantiating
        objects as values of dependency properties
        * demo/TestVocab/ConsoleValue.cs: some new features so that objects as
        values of dependency properties can be used in a vaguely sensible
        fashion
        * demo/test.xaml: added a demonstration of objects as values of
        dependency properties

svn path=/trunk/mcs/; revision=48965

18 years ago* get.c (init_key_table): Add keywords - ldelem, stelem, stloc, stobj,
Ankit Jain [Sat, 27 Aug 2005 10:55:44 +0000 (10:55 -0000)]
* get.c (init_key_table): Add keywords - ldelem, stelem, stloc, stobj,
  stsfld, sub, sub.ovf, sub.ovf.un, unbox to the table.

svn path=/trunk/mono/; revision=48964

18 years agoquick fix for the build
Gonzalo Paniagua Javier [Sat, 27 Aug 2005 10:09:31 +0000 (10:09 -0000)]
quick fix for the build

svn path=/trunk/mcs/; revision=48963

18 years agoUpdate
Miguel de Icaza [Fri, 26 Aug 2005 23:13:05 +0000 (23:13 -0000)]
Update

svn path=/trunk/mcs/; revision=48956

18 years agoThe landing is complete
Miguel de Icaza [Fri, 26 Aug 2005 23:10:02 +0000 (23:10 -0000)]
The landing is complete

svn path=/trunk/mcs/; revision=48955

18 years agoAdd performance and tips document
Miguel de Icaza [Fri, 26 Aug 2005 23:09:22 +0000 (23:09 -0000)]
Add performance and tips document

svn path=/trunk/mcs/; revision=48954

18 years agoAdd hacking FAQ
Miguel de Icaza [Fri, 26 Aug 2005 23:07:53 +0000 (23:07 -0000)]
Add hacking FAQ

svn path=/trunk/mcs/; revision=48953

18 years agoAdd
Sebastien Pouliot [Fri, 26 Aug 2005 23:02:43 +0000 (23:02 -0000)]
Add

svn path=/trunk/mcs/; revision=48951

18 years agoAdd
Gonzalo Paniagua Javier [Fri, 26 Aug 2005 23:02:31 +0000 (23:02 -0000)]
Add

svn path=/trunk/mcs/; revision=48950

18 years agoAdd
Ben Maurer [Fri, 26 Aug 2005 23:02:14 +0000 (23:02 -0000)]
Add

svn path=/trunk/mcs/; revision=48949

18 years agoAdd
Dick Porter [Fri, 26 Aug 2005 23:01:59 +0000 (23:01 -0000)]
Add

svn path=/trunk/mcs/; revision=48948

18 years agoAdd
Miguel de Icaza [Fri, 26 Aug 2005 23:01:37 +0000 (23:01 -0000)]
Add

svn path=/trunk/mcs/; revision=48947

18 years agoAdd
Jackson Harper [Fri, 26 Aug 2005 23:01:10 +0000 (23:01 -0000)]
Add

svn path=/trunk/mcs/; revision=48946

18 years agoAdd
Chris Toshok [Fri, 26 Aug 2005 23:00:46 +0000 (23:00 -0000)]
Add

svn path=/trunk/mcs/; revision=48945

18 years agoCommit of changes to core files, on behalf of the team
Miguel de Icaza [Fri, 26 Aug 2005 22:58:48 +0000 (22:58 -0000)]
Commit of changes to core files, on behalf of the team

svn path=/trunk/mcs/; revision=48944

18 years agoTests
Duncan Mak [Fri, 26 Aug 2005 22:56:14 +0000 (22:56 -0000)]
Tests

svn path=/trunk/mcs/; revision=48943

18 years agoTests
Gonzalo Paniagua Javier [Fri, 26 Aug 2005 22:55:59 +0000 (22:55 -0000)]
Tests

svn path=/trunk/mcs/; revision=48942

18 years agoAdd
Chris Toshok [Fri, 26 Aug 2005 22:55:32 +0000 (22:55 -0000)]
Add

svn path=/trunk/mcs/; revision=48941

18 years agoTests
Chris Toshok [Fri, 26 Aug 2005 22:55:06 +0000 (22:55 -0000)]
Tests

svn path=/trunk/mcs/; revision=48940

18 years agoTests
Jackson Harper [Fri, 26 Aug 2005 22:54:41 +0000 (22:54 -0000)]
Tests

svn path=/trunk/mcs/; revision=48939

18 years agoTests
Jordi Mas i Hernandez [Fri, 26 Aug 2005 22:54:16 +0000 (22:54 -0000)]
Tests

svn path=/trunk/mcs/; revision=48938

18 years agoTests
Dick Porter [Fri, 26 Aug 2005 22:53:47 +0000 (22:53 -0000)]
Tests

svn path=/trunk/mcs/; revision=48937

18 years agoTests
Peter Dennis Bartok [Fri, 26 Aug 2005 22:53:14 +0000 (22:53 -0000)]
Tests

svn path=/trunk/mcs/; revision=48936

18 years agoTests
Sebastien Pouliot [Fri, 26 Aug 2005 22:52:45 +0000 (22:52 -0000)]
Tests

svn path=/trunk/mcs/; revision=48935

18 years agoTests
Ben Maurer [Fri, 26 Aug 2005 22:52:17 +0000 (22:52 -0000)]
Tests

svn path=/trunk/mcs/; revision=48934

18 years agoTests
Miguel de Icaza [Fri, 26 Aug 2005 22:51:44 +0000 (22:51 -0000)]
Tests

svn path=/trunk/mcs/; revision=48933

18 years agoAdd
Miguel de Icaza [Fri, 26 Aug 2005 22:38:23 +0000 (22:38 -0000)]
Add

svn path=/trunk/mcs/; revision=48931

18 years agoAdd
Gonzalo Paniagua Javier [Fri, 26 Aug 2005 22:35:58 +0000 (22:35 -0000)]
Add

svn path=/trunk/mcs/; revision=48930

18 years agoAdd
Ben Maurer [Fri, 26 Aug 2005 22:35:04 +0000 (22:35 -0000)]
Add

svn path=/trunk/mcs/; revision=48929

18 years agoAdd
Gonzalo Paniagua Javier [Fri, 26 Aug 2005 22:34:28 +0000 (22:34 -0000)]
Add

svn path=/trunk/mcs/; revision=48928

18 years agoAdd
Miguel de Icaza [Fri, 26 Aug 2005 22:32:13 +0000 (22:32 -0000)]
Add

svn path=/trunk/mcs/; revision=48927

18 years agoRestored
root [Fri, 26 Aug 2005 22:31:26 +0000 (22:31 -0000)]
Restored

svn path=/trunk/mcs/; revision=48926

18 years agoadd
Gonzalo Paniagua Javier [Fri, 26 Aug 2005 22:31:07 +0000 (22:31 -0000)]
add

svn path=/trunk/mcs/; revision=48925

18 years ago2005-07-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 26 Aug 2005 22:29:51 +0000 (22:29 -0000)]
2005-07-15 Lluis Sanchez Gual <lluis@novell.com>

* Cache.cs: New implementation.
* CacheDependency.cs: New implementation.

2005-08-26  Lluis Sanchez Gual  <lluis@novell.com>

* CssStyleCollection.cs: Added some spacing.
* HtmlTextWriter.cs: Made style and attribute tables static.
  Implemented StaticGetStyleName().

2005-08-26  Lluis Sanchez Gual  <lluis@novell.com>

* Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
SetDirty.

svn path=/trunk/mcs/; revision=48924

18 years ago2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 26 Aug 2005 22:29:03 +0000 (22:29 -0000)]
2005-08-03  Jordi Mas i Hernandez <jordi@ximian.com>

*  CalendarTest.cs: Trackview states

2005-08-02  Jordi Mas i Hernandez <jordi@ximian.com>

*  RadioButtonListTest.cs: test unit

2005-07-29  Jordi Mas i Hernandez <jordi@ximian.com>

* SelectedDatesCollectionTest.cs: new unit test
* CalendarDayTest.cs: new unit test
* CalendarTest.cs: more tests for calendar control

2005-07-12  Jordi Mas i Hernandez <jordi@ximian.com>

* ButtonTest.cs: add Default constructors tests
* ImageButtonTest.cs: Adds ImageButtonTest

2005-07-11  Jordi Mas i Hernandez <jordi@ximian.com>

* ButtonTest.cs: New unit test for Button

2005-08-04  Jordi Mas i Hernandez  <jordi@ximian.com>

* Calendar.cs: fixes issues with OnDayRender event and others

2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>

* Calendar.cs: fixes Save/Load state

2005-08-03  Jordi Mas i Hernandez  <jordi@ximian.com>

* Calendar.cs: bug fixes

2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>

* RadioButtonList.cs: bug fixes

2005-08-02  Jordi Mas i Hernandez  <jordi@ximian.com>

* CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
AddAttributesToRender
* RadioButtonList.cs: Implementation

2005-08-01  Jordi Mas i Hernandez  <jordi@ximian.com>

* ImageButton.cs: fixes, complete missing parts

2005-07-29  Jordi Mas i Hernandez  <jordi@ximian.com>

* Calendar.cs: fixes exceptions, bug fixes, new features
* SelectedDatesCollection.cs: Fixes bugs discovered by the tests
  * CalendarDay.cs: fixes default value

2005-07-27  Jordi Mas i Hernandez  <jordi@ximian.com>

* Calendar.cs: get the styles right, honors more properties, fixes, fix
var names style

2005-07-26  Jordi Mas i Hernandez  <jordi@ximian.com>

* Calendar.cs: selection of dates, state load, save, track, support
for new properties, many fixes.

2005-07-23  Jordi Mas i Hernandez  <jordi@ximian.com>

* Button.cs: fixes events, adds attributes

2005-07-22  Jordi Mas i Hernandez  <jordi@ximian.com>
* Calendar.cs: Initial implementation
* CalendarSelectionMode.cs: fix enum order

2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>

* TitleFormat.cs: Add attribute
* TextBoxMode.cs: Add attribute
* CalendarDay.cs: Initial implementation
* ImageButton.cs: Initial implementation
* CalendarSelectionMode.cs:Initial implementation

2005-07-12  Jordi Mas i Hernandez  <jordi@ximian.com>

* TextBoxMode.cs: simple enum
* TitleFormat.cs: simple enum

2005-07-10  Jordi Mas i Hernandez  <jordi@ximian.com>

* Button.cs: Initial Button implementation

svn path=/trunk/mcs/; revision=48923

18 years ago2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 26 Aug 2005 22:28:18 +0000 (22:28 -0000)]
2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>

* StyleTest.cs: Added tests for CssRegisteredStyle

2005-08-03  Peter Dennis Bartok  <pbartok@novell.com>

* EditCommandColumnTest.cs: Updated; InitializeCell() passes except
  for the missing footer; InitializeCellEdit() has a problem with
  the name given to the TextBox controls

2005-08-03  Peter Dennis Bartok  <pbartok@novell.com>

* EditCommandColumnTest.cs: Enable tests

2005-08-03  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridPagerStyleTest.cs: Added testcase

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* StyleTest.cs: Added font-related tests to check for special
  Name/Names behaviour

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* EditCommandColumnTest.cs: Added tests; marked some as NotWorking
  until PagedDataSource is not throwing NotImpl

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* CustomValidatorTest.cs: Added tests

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridPagerStyleTest.cs: Added tests

2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridItemTest.cs: Added tests

2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridItemCollectionTest.cs: Added tests

2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>

* StyleTest.cs: Refined tests

2005-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* CustomValidatorTest.cs: Added

2005-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* RangeValidatorTest.cs: More test cases

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* DropDownListTest.cs: Added [ExpectedException] for double select
  test

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* ValidationSummaryTest.cs: Added rendering tests

2005-07-19  Peter Dennis Bartok  <pbartok@novell.com>

* DropDownListTest.cs: Testcases added
* RangeValidatorTest.cs: Added
* ValidatedControlConverterTest.cs: Added
* ValidationSummaryTest.cs: Added

2005-07-15  Peter Dennis Bartok  <pbartok@novell.com>

* DropDownListTest.cs: Testcases added

2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* WebColorConverter.cs: Testcases added

2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* TargetConverterTest.cs: Testcases added

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* FontNamesConverterTest.cs: Testcases added

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* ListItemCollectionTest.cs: Added
* ListBoxTest.cs: Marked test as not working since it dependes on
  ListControl making a call to an obsolete internal method

2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>

* WebControlTest.cs: Added test for loading/saving of state. Switched
  to use Sebastiens GetWriter method

2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>

* WebControlTest.cs: Added test.

2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>

* StyleTest.cs: Added test.

2005-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* PageTest.cs: Added new test file, added exception test for
  Request property

2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>

* ControlTest.cs: Added test file for Control class, initially
  contains only IDataBindingsAccessor test

2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* HtmlSelect.cs: Added missing attributes

2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>

* HtmlForml.cs: Implemented UniqueID (new in sp1)
* HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes

2005-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* Page.cs: Need to throw exception when accessing Request but no
  context exists

2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Added IDataBindingsAccessor interface methods

2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Added missing IParserAccessor.AddParsedSubObject
  interface method

2005-07-18  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - Default name for controls on MS.Net is "_ctl" not "_ctrl"
  - MS does not append 'a' for auto-generated names

2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>

* AttributeCollection.cs:
  - Changes to match MS behaviour, the "style" attribute is always
    added to the list, in addition to being added to the
    CssStyleCollection. Also added check for "style" attribute when
    setting via index setter
  - When "Style" attribute is added, CssStyleCollection is
    automatically created
  - The style keyword needs to be lowercase

2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
  and RegisteredCssClass property

2005-08-25  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
  Load ViewState for derived classes; no public LoadViewState override
  exists in those classes
* Style.cs: Added 2.0 IsStyleEmpty method

2005-08-04  Peter Dennis Bartok  <pbartok@novell.com>

* ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
* ListControl.cs: Clear item list before adding data (again)

2005-08-04  Peter Dennis Bartok  <pbartok@novell.com>

* DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
  creating rows
* ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
  if DataTextField is bound
* EditCommandColumn.cs(InitializeCell): MS inserts a &nbsp; between the
  two controls in edit mode, lets do the same

2005-08-03  Peter Dennis Bartok  <pbartok@novell.com>

* EditCommandColumn.cs: No need to offer edit when in edit mode.
  Flipped output

2005-08-03  Peter Dennis Bartok  <pbartok@novell.com>

* WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
  set tracking var

2005-08-03  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridPagerStyle.cs(PageButtonCount): Throw exception on
  negative value

2005-08-01  Peter Dennis Bartok  <pbartok@novell.com>

* WebControl.cs: Track enabled state across sessions

2005-08-01  Peter Dennis Bartok  <pbartok@novell.com>

* ListControl.cs(OnDatabinding): Value is equivalent to text if
  by default

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* FontInfo.cs:
  - Name property now throws exception when set to null
  - Names now handles situation where our bit tells us we have
    a font, but it's not in the StateBag (null removal)
* RangeValidator.cs: Removed unused vars

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* EditCommandColumn.cs: Implemented

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
  client side code)

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
  for it's constructor, so remove it
* DataGridPagerStyle.cs: Removed DataGrid argument from constructor

2005-07-27  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridPagerStyle.cs: Implemented
* TableItemStyle.cs (MergeWith): Now only sets style bits it owns
* Style.cs: Added Styles enum values for DataGridPagerStyle

2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridItem.cs: Implemented

2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridItemCollection.cs: Implemented

2005-07-26  Peter Dennis Bartok  <pbartok@novell.com>

* FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
  Fixed use of literal strings, instead using Consts
* Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
  TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
  Panel.cs, Literal.cs: Added attributes
* BaseValidator.cs: Added missing override

2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>

* BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
  attributes
* Xml.cs: Fixed base class, attributes
* Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
  Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
  CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
  DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
  ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes

2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>

* DataGridSortCommandEventArgs: Sealed class
* ButtonColumn.cs, Calendar.cs: Added Attributes

2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>

* Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
  BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes

2005-07-25  Peter Dennis Bartok  <pbartok@novell.com>

* FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
  DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes

2005-07-22  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)

2005-07-22  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs (CopyFrom): Reset our styles and don't set bits from
  target explicitly, properties will set them

2005-07-21  Peter Dennis Bartok  <pbartok@novell.com>

* CustomValidator.cs: Initial implementation, still work in progress

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* DropDownList.cs:
  - Implemented RaisePostDataChangedEvent()
  - Spewing postback command if AutoPostBack is true

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* ListItemCollection.cs: Removed obsolete method that's no longer
  referenced

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* DropDownList.cs: Oops. Forgot to implement LoadPostData
* ListItemCollection.cs: Added convenience method to have faster
  PostData handling

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* DropDownList.cs:
  - Automatically select the first item if none are selected
  - Throw exception if more than one item is selected

2005-07-20  Peter Dennis Bartok  <pbartok@novell.com>

* ValidationSummary.cs: Implemented rendering

2005-07-19  Peter Dennis Bartok  <pbartok@novell.com>

* ValidationSummaryTest.cs: Started implementation
* RangeValidator.cs: Implemented
* ValidatedControlConverter.cs: Implemented
* DropDownList.cs: Implemented

2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* WebColorConverter.cs:
  - Alpha of 255 is only set if the hex number is exactly 6 digits
  - Ben didn't like the catch { throw; } (even though MS documents to
    do so)
  - Use Invariant Culture for parsing (thanks, Ben)

2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* WebColorConverter.cs: Implemented

2005-07-14  Peter Dennis Bartok  <pbartok@novell.com>

* TargetConverter.cs: Implemented

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* FontNamesConverter.cs: Implemented

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* ListItemCollection.cs: Count can be derived from the array, which
  allows us to use a Pair instead of a Triplet and save some space

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* ListItemCollection.cs: Implemented
* WebControl.cs: Added check for enumeration validity (thanks Jackson)

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* FirstDayOfWeek.cs: Added

2005-07-13  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs (AddAttributesToRender): Don't render attributes if they
  contain only their default value

2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>

* WebControl.cs (AddAttributesToRender): Added ID to rendered
  attributes

2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs(MergeWith): Handle null styles

2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs: Only render font elements if fontinfo object exists
* WebControl.cs:
  - Implemented SaveViewState()
  - Added loading of Style to LoadViewState
  - Implemented IAttributeAccessor methods

2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>

* WebControl.cs:
  - Implemented methods
  - Fixed brackets

2005-07-12  Peter Dennis Bartok  <pbartok@novell.com>

* WebControl.cs: Implemented properties

2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>

* FontInfo.cs: Now using BenM's fancy internal StateBag methods

2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>

* FontUnit.cs: Added TypeConverter attribute to class
* FontUnitConverter.cs: Implemented

2005-07-11  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs: Handle null constructor argument for bag

2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>

* FontInfo.cs: Fixed behaviour discrepancies showed by tests

2005-07-07  Peter Dennis Bartok  <pbartok@novell.com>

* FontInfo.cs: Added and implemented.
* Style.cs: Fixed behaviour discrepancies showed by tests

2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>

* Style.cs: Added and implemented.

2005-07-06  Peter Dennis Bartok  <pbartok@novell.com>

* WebControl.cs: Added stub

svn path=/trunk/mcs/; revision=48922

18 years ago2005-08-04 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 26 Aug 2005 22:27:41 +0000 (22:27 -0000)]
2005-08-04  Ben Maurer  <bmaurer@ximian.com>

* CalendarTest.cs: Test based on an msdn example. Again, I (heart)
anonymous methods.

2005-08-03  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfoTest.cs: Test for copying from base control

* WebControlTest.cs: Issue I found while doing repeatinfo

* LabelTest.cs: New tests.

* PanelTest.cs: New tests

2005-07-30  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfoTest.auto.cs: Regen.

* RepeatInfoTest.gen.cs: Autogenerate tests for 0 items

2005-07-26  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfoTest.cs: Remove tests that are contained below

* RepeatInfoTest.auto.cs: Generated tests.

* RepeatInfoTest.gen.cs: A test generator for repeatinfo

2005-07-20  Ben Maurer  <bmaurer@ximian.com>

* DropDownListTest.cs (InitialSelectionMade): Add a test for a
regression that seems to be caused by some change to
ListItemCollection. Add this file to sources as all tests other
than this pass using the old impl of ddl except for this, which is
a regression.

2005-07-19  Ben Maurer  <bmaurer@ximian.com>

* UnitConverterTest.cs: New tests

2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* FontUnitTest.cs: Make it run on msft

2005-08-05  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: Option is rendered as a block.

2005-07-18  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: I fixed the nested indents

2005-07-18  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: Enable some indentation tests, others
need to be disabled

2005-07-12  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: Enable some tests

2005-07-11  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: The style attr thing below seems to be a
2.0 ism. Add tests for indentation.

2005-07-11  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: Add a test for popping end tags working
correctly.

* ToolboxDataAttributeTest.cs: Don't depend on the way that hash
values are generated. Also, use built strings rather than stuff
from ldstr to make the test a bit stronger.

* PropertyConverterTest.cs: Make this pass on MSFT 1.1

2005-07-08  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: Update notworking

2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriterTest.cs: More tests.

2005-08-04  Ben Maurer  <bmaurer@ximian.com>

* HttpContext.cs: Kill a NIE.

2005-07-30  Ben Maurer  <bmaurer@ximian.com>

* HtmlForm.cs: Make sure we actually put the "?" in the url

2005-08-05  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Revert the patch below, see test case

2005-08-03  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Optmize this not to do insane amounts of
allocation for large pages, etc.

2005-07-29  Ben Maurer  <bmaurer@ximian.com>

* StateBag.cs: Don't remove when tracking viewstate, as per msft
docs.

2005-07-29  Ben Maurer  <bmaurer@ximian.com>

* StateBag.cs: Actually *remove* items that are null. Duh.

2005-07-18  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Fix nested indentation

2005-07-18  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Fix indentation (somewhat at least)

2005-07-17  Ben Maurer  <bmaurer@ximian.com>

* AttributeCollection.cs: Use the invariant culture.

* StateBag.cs: "Duh" optimization: return null when there are no
dirty items in the view state

2005-07-14  Ben Maurer  <bmaurer@ximian.com>

* StateBag.cs: A "short" version of my favorite method.

* HtmlTextWriter.cs: New method to get the tag name staticly.

2005-07-13  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Remove debugging spew. Style cleanup

2005-07-12  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Make styles work.

2005-07-11  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Missing a PopEndTag here.

* PropertyConverter.cs: Pass tests

2005-07-08  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Much better compliance with msft

2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* StateBag.cs: Noticed an issue where SetDirty was called when the
key did not exist.

2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* StateBag.cs: Add a method that gets a string or else a default
value.

2005-07-06  Ben Maurer  <bmaurer@ximian.com>

* HtmlTextWriter.cs: Make sure to clear attributes when they are
written.

* StateBag.cs: New impl

2005-07-15  Ben Maurer  <bmaurer@ximian.com>

* DataSourceHelper.cs: Obsolete

* DataSourceResolver.cs: Moved from DataSourceHelper.

2005-07-14  Ben Maurer  <bmaurer@ximian.com>

* DataSourceHelper.cs: Helper method used for data binding.

2005-08-04  Ben Maurer  <bmaurer@ximian.com>

* LinkButton.cs: Fix up the test suite here.

* Panel.cs: Fix up nowrap

2005-08-03  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: Finally figured out how to use base control

2005-07-31  Ben Maurer  <bmaurer@ximian.com>

* TextBox.cs: Html encode for multiline text boxes

* HyperLink.cs: Resolve images

2005-07-30  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: Handle 0 items situations correctly

* HyperLink.cs: Resolve urls correctly

* CheckBox.cs: use the correct ID for the label element.

* Label.cs: Correct AddParsedSubObject impl. See FAQ

2005-07-29  Ben Maurer  <bmaurer@ximian.com>

* Label.cs: ClientID should be used rather than UniqueID to get
the For attribute

2005-07-29  Ben Maurer  <bmaurer@ximian.com>

* RadioButton.cs: The "remove from groupstate" isn't needed any
more, now that statebag is correct.

2005-07-28  Ben Maurer  <bmaurer@ximian.com>

* CompositeControl.cs: Stub

2005-07-25  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
cracktastic.

2005-07-25  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: If the repeater has one column, the separators
are rendered on a different line

2005-07-25  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: Split the horiz and vertical cases, because this
class has rules that are beyond strange. Continue working to make
my tests work.

2005-07-25  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: Misc fixes for my test suite.

2005-07-22  Ben Maurer  <bmaurer@ximian.com>

* HyperLink.cs: Handle non-literal children.

2005-07-21  Ben Maurer  <bmaurer@ximian.com>

* Label.cs: SP1 stuff

2005-07-21  Ben Maurer  <bmaurer@ximian.com>

* TextBoxMode.cs: Wrong ordering of enum...

2005-07-21  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: Fix most of the tests.

2005-07-20  Ben Maurer  <bmaurer@ximian.com>

* SelectedDatesCollection.cs: Apprarently, I don't write code well
at 1 am.

* Repeater.cs: Uh, actually add stuff to the items collection
 (thanks sp ;-)

2005-07-20  Ben Maurer  <bmaurer@ximian.com>

* DataGridColumnCollection.cs: New impl

* TemplateColumn.cs: New impl

2005-07-19  Ben Maurer  <bmaurer@ximian.com>

* FontUnit.cs: Corcompare fixes

* UnitConverter.cs: Fix api diffs

2005-07-18  Ben Maurer  <bmaurer@ximian.com>

* ListControl.cs: Fix api differences

2005-07-18  Ben Maurer  <bmaurer@ximian.com>

* TextBox.cs: Finish this up.

* AdRotator.cs: Fix issues in the test suite. Minor style
cleanups.

* Repeater.cs: Fix a bug where the datasource is null and we do
the binding

* WebColorConverter.cs: Optimize by not doing a concat on a
formatted string.

2005-07-17  Ben Maurer  <bmaurer@ximian.com>

* ListItemCollection.cs: Multiple uses of equals rather than
string.compare as below. Remove unreachable code warning.

* WebColorConverter.cs (ConvertTo): Use the == operator on string
rather than an invariant non-case ignoring compare. They are
exactly the same thing. Use proper coding style in this method.

* WebControl.cs: Return null when saving the view state if there
is no state in any of the things we save. This creates a fairly
large savings, because we can avoid saving anything about many
levels of deaply nested controls.

2005-07-15  Ben Maurer  <bmaurer@ximian.com>

* Repeater.cs (DoItem): Add the DataItem before we call user
methods, as it seems to be there with msft.

2005-07-15  Ben Maurer  <bmaurer@ximian.com>

* Repeater.cs (DoItem): We need to .Add the control *before* we
data bind it so that the state gets tracked correctly. Fixes the
postback test case.

2005-07-14  Ben Maurer  <bmaurer@ximian.com>

* WebControl.cs:
  - Some optimizations
    * Don't use enum formatting stuff, it is 1) expensive 2) does
      allocations. Use a new method in HtmlControl to do the right
      formatting.
    * Don't use Enum.IsDefined but an explicit check.
    * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
  - Use the correct coding style.

2005-07-14  Ben Maurer  <bmaurer@ximian.com>

* Repeater.cs: Cleanup; use the DataSourceHelper thingy.

2005-07-14  Ben Maurer  <bmaurer@ximian.com>

* Repeater.cs: Get it working

2005-07-14  Ben Maurer  <bmaurer@ximian.com>

* Repeater.cs: The beginnings of this control

2005-07-13  Ben Maurer  <bmaurer@ximian.com>

* RepeaterItem.cs: Compile fix

* RepeaterItemCollection.cs: New file

* RepeaterItem.cs: get OnBubbleEvent right.

2005-07-13  Ben Maurer  <bmaurer@ximian.com>

* RepeaterItem.cs: Stub

2005-07-13  Ben Maurer  <bmaurer@ximian.com>

* RepeatInfo.cs: Impl.

2005-07-12  Ben Maurer  <bmaurer@ximian.com>

* ListItem.cs: New impl.

2005-07-12  Ben Maurer  <bmaurer@ximian.com>

* TextBox.cs: Passwords seem 1) not to be rendered to the client
if set, 2) not kept in view state (for security reasons...)

* LinkButton.cs:
* Button.cs: Page.Validate () if needed. Gets the validator tests
working again.

* TextBox.cs: Properties to get the validator stuff to work.

2005-07-11  Ben Maurer  <bmaurer@ximian.com>

* LinkButton.cs:
* Button.cs: Bubble the Command event.

2005-07-11  Ben Maurer  <bmaurer@ximian.com>

* Button.cs:
  - Clean up style (with my wonderful state bag hack!)
  - Fix a view state typo.
  - Use AddAttributesToRender
  - Don't add an extra <span>

2005-07-09  Ben Maurer  <bmaurer@ximian.com>

* TextBox.cs: More work on this

2005-07-09  Ben Maurer  <bmaurer@ximian.com>

* TextBox.cs: Add the work I did on this today. It's not complete
yet, but its a start!

2005-07-08  Ben Maurer  <bmaurer@ximian.com>

* LinkButton.cs: Command impl

2005-07-08  Ben Maurer  <bmaurer@ximian.com>

* LinkButton.cs: Initial impl

2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* PlaceHolderControlBuilder.cs: new file

* LabelControlBuilder.cs: New file

* HyperLink.cs: use control builder; fix parsing stuff

* HyperLinkControlBuilder.cs: new file

* Panel.cs: misc fixes

2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* PlaceHolder.cs: New file. Seems to do nothing

* Label.cs: Use my new statebag trick to reduce typing

* HyperLink.cs: New file

2005-07-06  Ben Maurer  <bmaurer@ximian.com>

* Unit.cs: cctor not needed; static fields are 0 init'd by default

* WebControl.cs: Kothari & Datye's book explains how these work.

* IRepeatInfoUser.cs: Reimpl.

svn path=/trunk/mcs/; revision=48921

18 years ago2005-07-18 Jackson Harper <jackson@ximian.com>
Jackson Harper [Fri, 26 Aug 2005 22:27:06 +0000 (22:27 -0000)]
2005-07-18  Jackson Harper  <jackson@ximian.com>

* HtmlInputHiddenTest.cs: New test.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* HtmlInputButton.cs: New tests for HtmlInputButton.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* HtmlButtonTest.cs: New tests for HtmlButton.

2005-08-08  Jackson Harper  <jackson@ximian.com>

* PagedDataSourceTest.cs: Tests for creating enumerators when
paging is not enabled.

2005-08-05  Jackson Harper  <jackson@ximian.com>

* PagedDataSourceTest.cs: Tests for PageCount.

2005-08-02  Jackson Harper  <jackson@ximian.com>

* BoundColumnTest.cs: Start of tests for the BoundColumn class.

2005-08-01  Jackson Harper  <jackson@ximian.com>

* TableStyleTest.cs: Check that items copied set the styles flags.

2005-08-01  Jackson Harper  <jackson@ximian.com>

* PagedDataSourceTest.cs: Test the enumerators a little.

2005-07-28  Jackson Harper  <jackson@ximian.com>

* EditCommandColumnTest.cs: Make the DataGridTest nested so my
top secret DataGrid tests will still compile.

2005-07-25  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: More tests for the pager.

2005-07-22  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Basic test for InitializePager.

2005-07-21  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Test the order the events are invoked in when
creating the control hierarchy.

2005-07-21  Jackson Harper  <jackson@ximian.com>

* PagedDataSourceTest.cs: Test to see what happens when we get a
non ITypedList.

2005-07-20  Jackson Harper  <jackson@ximian.com>
2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Make sure we get back a proper columns
collection.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: The columns collection cached from the
CreateColumnSet is stored in the view state.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Test generating column names with/without
enabling useDataSource.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Check the properties of newly created
BoundColumns.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* PagedDataSource.cs: New unit test for GetItemProperties.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: New tests for creating column sets.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: New tests for FindControl.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: New test for viewstate saving.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Bubble tests for Page command. Tests for bad
Page command bubble event args.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Select can also be bubbled.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: Tests for the BubbleEvent.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGridTest.cs: New tests. Just does properties and events for
the most part.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: New tests for FindControl.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* WebControlTest.cs: New test to make sure NamingContainers are
honoured when rendering client ids.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: More tests for the IRepeatInfoUser stuff
and for rendering.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: Rendering tests.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: Fix the exception types thrown for bad
enums. Mark as NotWorking as this doesn't work with the old
CheckBoxList class anymore.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: Add some rendering tests. These aren't
fully working yet so they are in the NotWorking category.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* CheckBoxListTest.cs: This has the potential to be a beautiful
test.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* ListControlTest.cs: New test for the viewstate and item
selection.

2005-07-13  Jackson Harper  <jackson@ximian.com>

* ListControlTest.cs: New tests for the ListControl.

2005-07-13  Jackson Harper  <jackson@ximian.com>

* ListBoxTest.cs: Exception is thrown (by ListControl). Dont run
the BadBorderStyle test as this fails in ListControls.

2005-07-12  Jackson Harper  <jackson@ximian.com>

* ListBoxTest.cs: Some simple tests for the ListBox control.

2005-07-08  Jackson Harper  <jackson@ximian.com>

* LiteralTest.cs: new test.
* MonthCalendarEventArgsTest.cs: new test.

2005-07-08  Jackson Harper  <jackson@ximian.com>

* AdCreatedEventArgsTest.cs: Added test.

2005-07-08  Jackson Harper  <jackson@ximian.com>

* ToolbarDataAttributeTest.cs: New test.

2005-07-07  Jackson Harper  <jackson@ximian.com>

* PropertyConverterTest.cs: New tests.

2005-08-15  Jackson Harper  <jackson@ximian.com>

* CacheItemPriority.cs:
* CacheItemRemovedCallback.cs:
* CacheItemRemovedReason.cs: New implementations.

2005-08-26  Jackson Harper  <jackson@ximian.com>

* HttpResponseStream.cs: Use GetBuffer so the memory isn't
duplicated.

2005-08-26  Jackson Harper  <jackson@ximian.com>

* HttpResponse.cs: Send the cached headers if this is a cached
response. Save the headers, date header, and page data. Fix a typo.
* HttpResponseStream.cs: Add new accesor to get a byte [] of the
page data.

2005-08-15  Jackson Harper  <jackson@ximian.com>

* ApplicationShutdownReason.cs: make build

2005-07-18  Jackson Harper  <jackson@ximian.com>

* HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
attribute.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
constant. Update fetching from viewstate code to use new
convenience method.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* HtmlInputButton.cs: Add DefaultEventAttribute.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
string constant. Use new method for accessing ViewState
data. Don't remove value from the view state if it is the default.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
string constant. Use new method for accessing ViewState
data. Don't remove value from the view state if it is the default.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* HtmlInputControl.cs: Use ClientID for input controls name.

2005-07-07  Jackson Harper  <jackson@ximian.com>

* HtmlInputImage.cs: New implementation.

2005-07-07  Jackson Harper  <jackson@ximian.com>

* HtmlInputHidden.cs: New implementation.

2005-07-07  Jackson Harper  <jackson@ximian.com>

* HtmlAnchor.cs: Call base OnPreRender from override.

2005-07-07  Jackson Harper  <jackson@ximian.com>

* HtmlInputButton.cs: New implementation.

2005-07-06  Jackson Harper  <jackson@ximian.com>

* HtmlButton.cs: New implementation.

2005-07-13  Jackson Harper  <jackson@ximian.com>

* PropertyConverter.cs: No public constructors.

2005-07-08  Jackson Harper  <jackson@ximian.com>

* ToolbarDataAttribute.cs: New implementation.

2005-07-07  Jackson Harper  <jackson@ximian.com>

* PropertyConverter.cs: New implementation.

2005-08-25  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Disable the pager row if there no paging enabled
or available.

2005-08-25  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: The number of pages set in the pager is specified
by PageButtonCount.

2005-08-22  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
controls.
(InitializeNumericPager): Now that the pager actually renders
properly I can see that I was computing it incorrectly.

2005-08-22  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs (RenderTable): Make sure the new table gets the
correct style.
(CreateColumnSet): Clear the data source columnbs before adding
new ones regardless of whether or not a property descriptor was
found.
(InitializePager): pager_cell needs to be a member so it isn't
created more then once per a render.
(InitializeNumericPager): Compute start and end more
correctly.
- Link commands are 1 indexed.
(CreateControlHierarchy): Clear the table before we begin
rendering.
- Revert patch that made adding the pagers conditional. This is
incorrect, the pagers are always added. Only their visibility is
affected by the pager style.
- Save the entire count in the viewstate, not just the rendered
count. So when paging is enabled the pager's count isn't broken by
postback.

2005-08-17  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Only create one pager and add it to both the top
and bottom of the grid, this way all the id numbers stay the same
and we save a bunch of cycles.

2005-08-17  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: The top and bottom pagers are always created. Just
the visibility is changed by the PagerStyle::Position.

2005-08-15  Jackson Harper  <jackson@ximian.com>

* EditCommandColumn.cs: Use a normal LinkButton.

2005-08-12  Jackson Harper  <jackson@ximian.com>

* TableRow.cs: No AutoID for TableRows.

2005-08-12  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs (CreateRenderColumns): If we aren't using data
binding grab the rendercols from the data source columns.
(LoadViewState): Restore the bound columns when reloading the
viewstate.
(InitializeNumericPager): Create elipsised pagers.
(CreateItem): Don't set the item's ID.
(CreateItem): Add the control to the table before it is databound
so that it's value is saved in the viewstate.
(CreateControlHierarchy): Create a fake data source when not using
databinding. Don't add controls to the table as they are added in
CreateItem now.
(PrepareControlHierarchy): Make footers and header non visible if
they aren't enabled.

2005-08-12  Jackson Harper  <jackson@ximian.com>

* BoundColumn.cs: Set the controls text instead of adding a
literal control. So it is saved in the controls viewstate.

2005-08-11  Jackson Harper  <jackson@ximian.com>

* CheckBoxList.cs: Set the tabindex on the checkbox control and
don't render it on the main table (Setting it to zero causes it to
not be rendered). Also use the invariant culture on the id.

2005-08-10  Jackson Harper  <jackson@ximian.com>

* PagedDataSource.cs: Respect paging with all data source types.

2005-08-08  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Apply the styles to each item type.

2005-08-08  Jackson Harper  <jackson@ximian.com>

* PagedDataSource.cs: If paging is not enabled keep enumerating to
the end of the list.

2005-08-05  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Don't make the current page index a link in the
pager.

2005-08-05  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Honour PagerPosition.

2005-08-05  Jackson Harper  <jackson@ximian.com>

* PagedDataSource.cs: Round PageCount properly.

2005-08-04  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Add a new space control for each link. Also make
the link's text 1 indexed. Don't add the space after the last
item.

2005-08-03  Jackson Harper  <jackson@ximian.com>

* BoundColumn.cs: Respek for the thisExpr when data binding.

2005-08-03  Jackson Harper  <jackson@ximian.com>

* ButtonColumn.cs: Partial implementation.

2005-08-03  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Merge the table style with the render table. Some
initial work on the numeric pager. Remove some debugging code.

2005-08-03  Jackson Harper  <jackson@ximian.com>

* BoundColumn.cs: Implement Initialize and InitializeCell. When
Data is formated it uses the DataFormatString that was set at the
time Initialize was called (or null if initialize was never
called).

2005-08-01  Jackson Harper  <jackson@ximian.com>

* TableStyle.cs: Copy style bit when copying from another style.

2005-08-01  Jackson Harper  <jackson@ximian.com>

* PagedDataSource.cs: Implement missing properties, use yield for
the Enumerator methods. Only allow the enums to return one page at
a time.

2005-07-25  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Set the command name and args on the link buttons.

2005-07-25  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Lots o implementation.

2005-07-25  Jackson Harper  <jackson@ximian.com>

* BoundColumn.cs: Partial implementation to get the DataGrid tests
passing again.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Store the data source created columns in a
  DataGridColumnCollection. This way they can be put in the
  view state more easily, and accessed without casting.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Save the data source created column set in the
  view state.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: column names are cached and only regenerated if useDataSource
  is set to true. Otherwise they are just fetched from the last set that
  was generated from the source.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Assign some properties of newly created BoundColumns.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Add some of the collections. Implement
          column creation.

2005-07-20  Jackson Harper  <jackson@ximian.com>

* PagedDataSource.cs: Implement GetItemProperties, this is
  needed for the datagrid.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Use Events Add/RemoveHandler. Don't create
  a viewstate object if all the viewstate stuff is null.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Implement style properties and viewstate
  saving/loading/tracking.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: Implement bubble event.

2005-07-19  Jackson Harper  <jackson@ximian.com>

* DataGrid.cs: New implementation. Just properties and events for
  now.

2005-07-18  Jackson Harper  <jackson@ximian.com>

* CheckBoxList.cs: Implement LoadPostBackData. Also register
  checkboxes for postback if they are checked so we can find
  out when they are unchecked. Copy the AutoPostBack variable
  to the to be rendered checkbox when rendering.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* CheckBoxList.cs: Use the index as the ID, the rest of the
  id is built by being in the NamingContainer.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Use enum instead of string. Saves a lookup.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* CheckBoxList.cs: FindControl always returns 'this' according
  to my probing.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* CheckBoxList.cs: New impl.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* WebControl.cs: Use the ClientID when rendering a controls ID
  attribute so that naming containers are honoured.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: use the state manager interface for tracking
  the viewstate.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Simplify comparison.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* ListControl.cs:
* Repeater.cs: Use new utility class for resolving data sources.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Add attributes so the sub items get parsed
  properly. Remove old unneeded code for resolving lists.

2005-07-15  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Use the DataSourceHelper so DataMembers are
  resolved properly.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Use DataBinder.Eval for data binding. This is more
code-reuse-arific. Also use the IStateManager interface for loading
data instead of the old internal method.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Initial implementation of Databinding. Make sure
that the ListItemCollection is created when we load its ViewState.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: Fix typo.

2005-07-14  Jackson Harper  <jackson@ximian.com>

* ListControl.cs: New Implementation. Lacks databinding support.

2005-07-13  Jackson Harper  <jackson@ximian.com>

* ListBox.cs: Some parameter checking.

2005-07-13  Jackson Harper  <jackson@ximian.com>

* ListBox.cs: Use invariant culture when doing a ToString,
  set value to the item's value, not to its Text.

2005-07-12  Jackson Harper  <jackson@ximian.com>

* ListBox.cs: Even track default values in the viewstate. Call
  base's RenderContents.

2005-07-12  Jackson Harper  <jackson@ximian.com>

* ListBox.cs: New impl.

2005-07-08  Jackson Harper  <jackson@ximian.com>

* Literal.cs: New implentation.
* MonthChangedEventArgs.cs: new
* MonthChangedEventHandler.cs: new

2005-07-08  Jackson Harper  <jackson@ximian.com>

* AdCreatedeventArgs.cs: New implementation.

svn path=/trunk/mcs/; revision=48920

18 years ago2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Aug 2005 22:26:03 +0000 (22:26 -0000)]
2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>

* WebPartTest.cs: Fixed build for default profile (NET_1_1) as
the WebPart namespace doesn't exists there.

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlButtonTest.cs: Fix 1.1 build. ValidationGroup is only present in
the 2.0 profile.

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchorTest.cs: Added test cases for IPostBackEventHandler (in
1.x) and for protected RaisePostBackEvent (in 2.0).
* HtmlInputControlTest.cs: Added test to ensure HtmlInputRadioButton's
Value behaviour wasn't inherited.
* HtmlInputTextTest.cs: Added test cases for IPostBackDataHandler (in
1.x) and for new protected LoadPostData and RaisePostDataChangedEvent
methods (in 2.0).
* HtmlInputRadioButtonTest.cs: Added test cases for Value property and
it's relattion to ID. Added tests cases for IPostBackDataHandler (in
1.x) and for new protected LoadPostData and RaisePostDataChangedEvent
methods (in 2.0).
* HtmlTextAreaTest.cs: Added test cases for IPostBackDataHandler (in
1.x) and for new protected LoadPostData and RaisePostDataChangedEvent
methods (in 2.0).

2005-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputControlTest.cs: Added a new test to see if the value
removal for type==password was done at this level (it's not).
* HtmlInputTextTest.cs: Fixed tests to execute without failure on both
1.1 SP1 and 2.0 beta 2.

2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputControlTest.cs: Added a test when using null in the ctor
(type is empty, not null). Test UniqueID, not only ID, when changing
the Name property.

2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchorTest.cs: Added tests for resolving the URL and the
mysterious disappearance of the HRef attribute after rendering.

2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextAreaTest.cs: Added checks to see that Attributes are moved
into the StateView.

2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlContainerControlTest.cs: Unit tests for HtmlContainerControl.
Basically to check for removal of attributes/viewstate informations.
* HtmlTextAreaTest.cs: Unit tests for HtmlTextArea.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputRadioButtonTest.cs: Unit tests for HtmlInputRadioButton.
* HtmlInputTextTest.cs: More tests to check for password erasure fu.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputControlTest.cs: Unit tests for HtmlInputControl.
* HtmlInputTextTest.cs: Unit tests for HtmlInputText.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchorTest.cs: Unit tests for HtmlAnchor.
* HtmlTableTest.cs: Unit tests for HtmlTable.
* HtmlTableCellTest.cs: Unit tests for HtmlTableCell.
* HtmlTableRowTest.cs: Unit tests for HtmlTableRow.
2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthenticationTest.cs: Some results are different in 1.x.
Some results are different for Mono too (Gonzalo's beautification).

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthenticationTest.cs: Added tests for default properties
(both 1.x and 2.0).
* MembershipProviderCollectionTest.cs: Add test case for unexisting
membership provider.
* MembershipUserCollectionTest.cs: New (2.0). Unit tests for
MembershipUserCollection.
* RolesTest.cs: New (2.0). Basic tests for Roles default properties
(sadly anything else requires settings in web.config).

2005-08-23  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthentication.cs: Added basic tests for new some 2.0 stuff.
Normalized line endings.

2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>

* MembershipTest.cs: New. Unit tests for Membership class.
* MembershipProviderCollectionTest.cs: New. Unit tests for
MembershipProviderCollection class.

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* TableStyleTest.cs: New test cases for 2.0.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* CheckBoxListTest.cs: Use Ben's CleanHtmlTextWriter to compare
rendered output. Re-ordered the expected value to match. Rendering
tests now pass on Mono 1.x|2.0 profile and MS 1.x.
* DropDownListTest.cs: (Properties) we have the same 2.0 failure on
both Mono and MS runtime, maybe it's a feature ;-)

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* HyperLinkTest.cs: Fixed the expected output rendering for 2.0.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* StyleTest.cs: Added test for IsStyleEmpty(null).

2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* RoleGroupTest.cs: New (2.0). Unit tests for RoleGroup.
* RoleGroupCollectionTest.cs: New (2.0). Unit tests for
RoleGroupCollection.

2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* LoginNameTest.cs: New. Unit tests for LoginName control (2.0).
* LoginStatusTest.cs: New. Unit tests for LoginStatus control (2.0).

2005-08-19  Sebastien Pouliot  <sebastien@ximian.com>

* TableCellTest.cs: Add test cases for AssociatedHeaderCellID (2.0).

2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataListTest.cs: Added test cases for new properties, methods
and events defined in 2.0.
* LoginTest.cs: Added test cases for On* methods.

2005-08-16  Sebastien Pouliot  <sebastien@ximian.com>

* DataListTest.cs: Fixed ViewState test to work on both 1.x and 2.0.
Added tests for Load|SaveControlState (2.0). Added basic tests for
 SelectedValue property (2.0).
* LoginTest.cs: Added test cases to check for null (removal) on all
string properties, added checks for all enums properties. Also added
test case for SaveViewState.

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* TableHeaderRowTest.cs: New. Reuse TableRowTest test cases to test
TableHeaderRow class (2.0).
* TableFooterRowTest.cs: New. Reuse TableRowTest test cases to test
TableFooterRow class (2.0).
* TableRowTest.cs: Added test cases for new (2.0) TableSection
property. Reworked the tests to allow easier reuse of them by the
TableHeaderRow and TableFooterRow classes.

2005-08-14  Sebastien Pouliot  <sebastien@ximian.com>

* LoginTest.cs: New. Unit tests to test default values for Login.
* TableHeaderCellTest.cs: Add tests for CategoryText and Scope
properties (new in 2.0).
* TableSectionStyleTest.cs: New. Unit tests for TableSectionStyle.
Note that this new 2.0 class seems broken as it is not complete (MS).

2005-08-09  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataListTest.cs: Added tests for OnDataBinding.
* DataLitItemTest.cs: Added more useful tests for rendering items,
including a test when two tables are present and extractRows is true.
Added tests for IDataItemContainer (2.0).

2005-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* HyperLinkTest.cs: Updated comments. Resolve doesn't work when doing
unit tests (probably because it requires a Page, or something else
that can be used as the base url for the application).

2005-07-22  Sebastien Pouliot  <sebastien@ximian.com>

* HyperLinkTest.cs: New. (very basic) unit tests for HyperLink.

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Replace IList test with IEnumerable test.
* RepeatInfoTest.cs: Ignore the test about the baseControl / NRE.
* TableCellTest.cs: Added tests for AddParsedSubObject versus the Text
property (and LiteralControl).

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* RepeatInfoTest.cs: Added test for RepeatColumn is 0.
* TableRowTest.cs: Added style rendering tests (for my sanity).

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* RepeatInfoTest.cs: More unit tests for arguments checks, default
values, baseControl (not figured out yet) and OuterTableImplied.

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataListTest.cs: Added more tests ported from DataGridTest.
* DataListTest.cs: Added more tests ported from DataGridTest.

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* DataListTest.cs: Add viewstate test.

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataListTest.cs: Add render tests (all empty).
* DataListTest.cs: Added Controls vs Items test.
* WebControlTest.cs: Added new (passing) tests.

2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* DataListTest.cs: Add more tests for IRepeatInfoUser.
* RepeatInfoTest.cs: New. Unit test for RepeatInfo (not exactly what
I had expected...).

2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>

* DataListTest.cs: Fix tests for 1.1 which keeps more stuff into it's
ViewState.

2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataListTest.cs: New. Unit tests for abstract BaseDataList.
* DataKeyCollectionTest.cs: New. Unit tests for DataKeyCollection.
* DataListItemCollectionTest.cs: New. Unit tests for
DataListItemCollection.
* DataListItemTest.cs: New. Unit tests for DataListItem (incomplete).
* DataListTest.cs: New. Unit tests for DataList (incomplete).

2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>

* ImageTest.cs: Added tests for DescriptionUrl in 1.1 profile as this
property was added in Fx 1.1 SP1.
* StyleTest.cs: Added more tests for CopyFrom to test it's behavior,
e.g. it doesn't reset itself nor remove it's properties if they're
not part of the copied Style instance.
* TableTest.cs: Adjusted values so we're not testing a 100% match with
MS lines/indentations.
* TableRowTest.cs: Use Ben's trick on StreamWriter (\r\n). Adjusted
values so we're not testing a 100% match with MS lines/indentations.
* WebControlTest.cs: Added tests to remove attributes and style before
rendering. Empty style properties shouldn't be rendered.

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* WebControlTest.cs: Added another test for RenderBeginTag, this time
using an attribute (renamed old test as it was for style attributes).

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* TableTest.cs: Use Ben's trick on StreamWriter.
* WebControlTest.cs: Added tests for RenderBeginTag.

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* TableCellTest.cs: New. Unit tests for TableCell.
* TableItemStyleTest.cs: New. Unit tests for TableItemStyle.
* TableHeaderCellTest.cs: New. Unit tests for TableHeaderCell.
* TableRowTest.cs: New. Unit tests for TableRow.
* TableStyleTest.cs: New. Unit tests for TableStyle.
* TableTest.cs: New. Unit tests for Table.

2005-07-11  Sebastien Pouliot  <sebastien@ximian.com>

* FontUnitTest.cs: Added more tests when looking for another bug...
* StyleTest.cs: Added some unit tests for a null ctor and checks for
emptyness.

2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* ImageTest.cs: New. Unit tests for Image.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* TestUrlPropertyAttribute.cs: Fixed tests to match new beta2 API (and
so it stops throwing MissingMethodException on MS runtime).

2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* PageTest.cs: Added test cases for using Request with an overrided
Context property (as Page.Request should be the same as
Page.Context.Request). Doesn't work as expected.

2005-08-20  Sebastien Pouliot  <sebastien@ximian.com>

* PageTest.cs: Added a test for overriding Context. We're not playing
fairly with virtual properties (and probably not just that one) as we
use the private variable inside the class. This means that overriding
the property without calling the base class doesn't work as expected.

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriterTest.cs: Reactivated the AddStyleAttribute test case
with the right value for 1.x (as current code doesn't match the
expected results).

2005-07-11  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriterTest.cs: Few more tests including a non working one
for AddStyleAttribute.

2005-07-09  Sebastien Pouliot  <sebastien@ximian.com>

* DataBindingHandlerAttributeTest.cs: Fix compilation error where
System.Object is expected from MonoTests.System namespace. The test
TestDefaultHandlerTypeName still throws a NullReferenceException.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriterTest.cs: New. Unit tests for buglets found during
implementations of HtmlControls.

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* WebCategoryAttribute.cs: New. Required internal attribute.
* WebSysDescriptionAttribute.cs: New. Required internal attribute.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* HttpClientCertificate.cs: On 1.x the .ctor throws a
ArgumentNullException (but 2.0 throws a NRE).

2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
* HttpResponse.cs: Avoid NRE if work_request if null in the ctor.

2005-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
NET_2_0 build.

2005-08-10  Sebastien Pouliot  <sebastien@ximian.com>

* HttpClientCertificate.cs: Changed IsPresent logic so that new unit
tests will work as expected.

2005-08-10  Sebastien Pouliot  <sebastien@ximian.com>

* HttpClientCertificate.cs: Implemented, except for validation. Note
that the HttpWorkerRequest derived classes must be updated to supply
the required informations.
* HttpRequest.cs: Create an HttpClientCertificate on first call to
ClientCertificate.

2005-08-09  Sebastien Pouliot  <sebastien@ximian.com>

* HttpClientCertificate.cs: New. Stub. It won't be fun to test.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlHead.cs: Fixed base class (to HtmlGenericControl).

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
Load method (bad choice) to DefaultLoadPostData.

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
* HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
method. Fixed support for protected LoadPostData and
RaisePostDataChangedEvent in 2.0 (recursion).
* HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
* HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
for 2.0 profile. The class seems to be internal and not (yet?)
implemented.

2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
* HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
(at least) HtmlInputControl in 2.0 profile.
* HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
* HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.

2005-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputControl.cs: Remove code to handle password (wrong place)
and fixed type handling for 2.0.
* HtmlInputText.cs: Added code to remove (only in 1.x) the value when
the type == password. Tests indicates that the value is present for
2.0.

2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputControl.cs: Fix Type when using ctor(null). Now use
ControlID for Name (and not ID). Added ControlBuilder attribute.
* HtmlTable.cs: Simplify check when adding controls.
* HtmlTableRow.cs: Simplify check when adding controls.

2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlInputControl.cs: Removed internal property (no more required to
compile).
* HtmlInputRadioButton.cs: Optimized events.
* HtmlInputText.cs: Optimized events.
* HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
strings to integers.
* HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
strings to integers.
* HtmlTextArea.cs: Optimized events.

2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
result) and fixed compatibility for a weird behaviour of the HRef
attribute handling. Optimized events.

2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTable.cs: Added missing attributes.
* HtmlTableCell.cs: Added missing attributes except for ControlBuilder
as the builder's type isn't public.
* HtmlInputControl.cs: Added missing attributes.
* HtmlInputText.cs: Added missing attributes.
* HtmlInputRadioButton.cs: Added missing attributes.
* HtmlAnchor.cs: Added missing attributes.
* HtmlTextArea.cs: Added missing attributes.
* HtmlTableRow.cs: Added missing attributes.

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: Added DefaultValue attributes.
* HtmlInputControl.cs: Added DefaultValue attributes.
* HtmlInputRadioButton.cs: Added DefaultValue attributes.
* HtmlInputText.cs: Added DefaultValue attributes. Added method
RenderAttributes in 1.1 profile.
* HtmlTable.cs: Fix DefaultValue to "".
* HtmlTextArea.cs: Added DefaultValue attributes.

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTableCell.cs: Added DefaultValue attributes.
* HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
* HtmlTableRowCollection.cs: Reworked collection to share data with
HtmlTable.Controls.
* HtmlTableCellCollection.cs: Reworked collection to share data with
HtmlTableRow.Controls.
* HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.

2005-07-09  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.

2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().

2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
"innerhtml".
* HtmlTextArea.cs: New implementation.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
* HtmlInputControl.cs: New implementation.
* HtmlInputRadioButton.cs: New implementation.
* HtmlInputText.cs: New implementation.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: Fixed to remove attributes properly.
* HtmlTable.cs: New implementation.
* HtmlTableCell.cs: New implementation.
* HtmlTableCellCollection.cs: New implementation.
* HtmlTableRow.cs: New implementation.
* HtmlTableRowCollection.cs: New implementation.

2005-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlAnchor.cs: New implementation.

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* CssStyleCollection.cs: Implemented setter for Value (2.0) using the
existing (but internal) FillStyle method. Rewrote BagToString to use an
HtmlTextWriter so we get the "right" format for background-image url.

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
the extra space from last patch because they break some unit tests.

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
compilation.
* HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
The new rendering formats the value as "url(" + original + ")".

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriter.cs: Added support for VerticalAlign style (as it
depends on the HtmlTextWriterStyle ordering).

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
fixed the rest of the enum values).
* UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
parameter to match 2.0 API. Added a setter to the AllowedTypes
property.

2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* KeyedList.cs: Fixed bug when removing an unexisting object.
* StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
in implementing RoleGroupCollection.

2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* Page.cs: Use Control property (and not the _control variable) to get
the User (so the virtual Control property can be overriden properly).
Sadly this doesn't seems to be the case for other properties (like
Request).

2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>

* Control.cs: Add protected virtual SetDesignModeState, in 2.0
profile, as this is required for the Login control.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriter.cs: Small fixlet when attribute has no value.

2005-07-07  Sebastien Pouliot  <sebastien@ximian.com>

* HtmlTextWriter.cs: Small fixlet (required for the unit tests).

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* Consts.cs: Added constant for System.dll (only in 2.0)

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthentication.cs: With 2.0 we can get the default properties
and call Initialize without a NRE.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* ActiveDirectoryConnectionProtection.cs: New (2.0) enum.
* ActiveDirectoryMembershipProvider.cs: Fixed 2.0 API.
* AnonymousIdentificationEventArgs.cs: Fixed AnonymousID property case.
* AnonymousIdentificationModule.cs: Fixed 2.0 API.
* FileAuthorizationModule.cs: Added static CheckFileAccessForUser in
2.0 profile (TODO).
* FormsAuthentication.cs: Added missing 2.0 properties with their
default values.
* MembershipCreateStatus.cs: Fixed enum values/names.
* MembershipProvider.cs: Added stub for [Decrypt|Encrypt]Password. Both
methods don't seems to work without an active provider.
* PassportIdentity.cs: Added IDispose for 2.0 profile.
* Roles.cs: Added missing beta2 bits and default values (which are the
only things working without a role provider (web.config).
* RolePrincipal.cs: Fixed 2.0 API. Implemented a few bits.
* SqlRoleProvider.cs: Fixed 2.0 API.
* UrlAuthorizationModule.cs: Added static CheckUrlAccessForPrincipal in
2.0 profile (TODO).

2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* MembershipUserCollection.cs: Fix exceptions.

2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* FormsAuthentication.cs: Add some 2.0 stuff required for Login*
controls to compile.

2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>

* Membership.cs: Commented unworking parts of the .cctor to allow
testing the Login control.
* MembershipProviderCollection.cs: Fixed exception handling.
* SqlMembershipProvider.cs: Don't throw NotImplementedException
everywhere so Membership's .cctor (somewhat) works. Removed
Description property (not in beta2).

2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* AuthConfig.cs: Add new 2.0 stuff (required for Forms Authentication).

2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
no items are present in the list.
* RoleGroup.cs: Added missing attributes.
* RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
documented) methods.
* TableStyle.cs: *for 2.0* adding a "url({0})" to background image
must be done in the HtmlTextWriter (not in the TableStyle).

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
an image is used.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* LoginView.cs: Fixed attributes.
* Style.cs: Change SetRegisteredCssClass to internal and not to throw
an exception to allow pages to work on 2.x.

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* Login.cs: Added rendering and fixed parts of the authentication.
Now using IStateManager to allow compilation in another assembly (e.g.
to test the control under IIS). Needs more tests (error conditions)
once we get a "real" Membership provider running.
* Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
(returns true).

2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>

* LoginView.cs: New (2.0). Work in progress.

2005-08-24  Sebastien Pouliot  <sebastien@ximian.com>

* RoleGroup.cs: New (2.0). Complete implementation.
* RoleGroupCollection.cs: New (2.0). Mostly complete implementation.

2005-08-23  Sebastien Pouliot  <sebastien@ximian.com>

* Login.cs: Throw exception if the specified provider doesn't exists.
* LoginStatus.cs: Complete events.

2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>

* LoginName.cs: New (2.0) web control.
* LoginStatus.cs: New (2.0) web control.

2005-08-19  Sebastien Pouliot  <sebastien@ximian.com>

* TableCell.cs: Added AssociatedHeaderCellID property for 2.0.

2005-08-18  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
anywhere...
* DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
empty array of objects just to get the number of items.
* Login.cs: Implemented OnBubbleEvent and parts of the authentication
but we're missing some bits from the class lib to complete all this...

2005-08-17  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Completed implementation for 2.0.

2005-08-16  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
* DataList.cs: Added missing [Browseable] attribute on SelectedValue.

2005-08-16  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Removed old internal ctor as DataList TagKey was
fixed for 2.0.
* DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
Adjusted size and ordering of the ViewState (new element #0 is still
unknown). Properly fixed the TagKey in 2.0.
* Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
all properties using enums.
* Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
* TableItemStyle.cs: Fixed attribute rendering to use style to render
"nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
viewstate (even if assigned to the default value).
* TableRow.cs: Implement TableSection property (2.0). It has no effect
on the rendering of the table row.

2005-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
and removed [Bindable] attributes for 2.0.
* DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
attributes (for 2.0).
* DataListCommandEventArgs.cs: Not sealed in 2.0.
* DataListItemEventArgs.cs: Not sealed in 2.0.
* Image.cs: Fixed [Designer] attribute on class and all [Editor]
attributes for URLs.
* Login.cs: Fixed [Designer] attribute on class and all [Editor]
attributes for URLs.
* Table.cs: Fixed [Editor] attribute for 2.0.
* TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
* TableCell.cs: Fixed [Designer] attribute. Fixed property name for
AssociatedHeaderCellID and it's [DefaultValue] attribute.
* TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
and Scope attributes.
* TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
on TableSection attribute.
* TableRowCollection.cs: Fixed [Editor] attribute for 2.0.

2005-08-14  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: Fixed attributes for 2.0 profile.
* Login.cs: Fixed some attributes and default values.
* Table.cs: Fixed attributes for 2.0 profile. Added protected method
RaisePostBackEvent (TODO) in 2.0 profile.
* TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
and added AssociateHeaderCellID property (TODO).
* TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
* TableFooterRow.cs: New (2.0). TableRow that always shows on each
page (if the device requires to breaks the table into multiple pages).
This seems to be a "flag" class, the real work will be in Table.
* TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
* TableHeaderRow.cs: New (2.0). TableRow that always shows on each
page (if the device requires to breaks the table into multiple pages).
This seems to be a "flag" class, the real work will be in Table.
* TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
* TableRow.cs: Remove [Bindable (true)] from properties and add
[Bindable (false)] and [Designer] on class. Added new TableSection
property (TODO).
* TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
* TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
* TableStyle.cs: Fixed attributes for 2.0 profile. Added new
FillStyleAttributes method (2.0).

2005-08-13  Sebastien Pouliot  <sebastien@ximian.com>

* Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
attributes from existing controls.
* LoginCancelEventArgs.cs: New (2.0). Required to build Login.
* LoginCancelEventHandler.cs: New (2.0). Required to build Login.

2005-08-09  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Changed Controls property from "virtual new"
(2.0 doc) to "override" (monop) to fix the Visible bug (see
datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
any controls (required due to change to Controls). Implemented
DataBind(bool) for 2.0.
* DataListItem.cs: Fix the multiple table when extractRows is used.
Removed extra span tags by rendering contents (not control). Added
support for IDataItemContainer (2.0).

2005-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Remove old compatibility stuff.
* DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
* WebControl.cs: Always call CreateControlStyle to create the
ControlStyle. Fix the exception for datalist-style-edit.aspx.

2005-07-22  Sebastien Pouliot  <sebastien@ximian.com>

* DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
(or more?) specific cases - including correct support for separators.
Added some (commented) debugging code.
* HyperLink.cs: Only render href and target attributes if they're not
empty. Add "border=0" when rendering <img> tag. Fix Target default
value.

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Support IEnumerable.
* DataList.cs: Fix alternate items.
* TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
controls and the Text property.

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* DataList.cs: Fix rendering for special items (-1).

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
Add a border=0 attribute if no style is defined.
* TableCell.cs: Use HtmlTextWriterTag (not a string).
* TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
* TableRow.cs: Use HtmlTextWriterTag (not a string).

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Fix attributes.
* HorizontalAlign.cs: Fix attributes.
* Image.cs: Fix attributes and enums checks.
* Table.cs: Fix attributes an enums checks.
* TableCell.cs: Fix attributes.
* TableCellCollection.cs: Fix attributes.
* TableItemStyle.cs: Fix attributes and enums checks.
* TableRowCollection.cs: Fix attributes.
* TableRow.cs: Fix attributes.
* TableStyle.cs: Fix attributes and enums checks.
* VerticalAlign.cs: Fix attributes.

2005-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
* DataList.cs: Added rendering support when ExtractTemplatesRows
property is true (but RepeatInfo needs to be fixed to see it works).
* DataListItem.cs: Added rendering support when extractRows parameter
is true (but RepeatInfo still needs to be fixed ;-)

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
handled by RepeatInfo).

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* DataList.cs: Fix events and properties exceptions. Give the right
informations to RenderItem.

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* DataList.cs: Fix viewstate ordering.

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: EnsureChildControls on Controls property.
* DataList.cs: Fix rendering and Controls/Items differences.
* DataListItem.cs: Added rendering of controls.

2005-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Don't call base.Render (or we'll get an extra span).

2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: Call PrepareControlHierarchy from Render.
* DataList.cs: Work in progress... Added attributes, proper
IRepeatInfoUser support and cool things stolen from other classes.
* DataListCommandEventArgs.cs: Class is sealed.
* DataListItem.cs: RenderItem is public.

2005-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* Repeater.cs: Fix small typo.

2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>

* Table.cs: Fix indentation for caption. Simplify check when adding
controls.
* TableRow.cs: Simplify check when adding controls.

2005-07-18  Sebastien Pouliot  <sebastien@ximian.com>

* DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).

2005-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDataList.cs: New. (mostly complete) implementation.
* DataKeyCollection.cs: New. Implementation (complete).
* DataList.cs: New. (mostly incomplete) implementation.
* DataListItem.cs: New. (mostly complete) implementation.
* DataListItemCollection.cs: New. Implementation (complete).

2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: Added support for DescriptionUrl as this property was
added in Fx 1.1 SP1.

2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>

* Table.cs: New. Initial re-implementation.
* TableCell.cs: New. Initial re-implementation.
* TableCellCollection.cs: New. Initial re-implementation.
* TableHeaderCell.cs: New. Initial re-implementation.
* TableItemStyle.cs: New. Initial re-implementation.
* TableRow.cs: New. Initial re-implementation.
* TableRowCollection.cs: New. Initial re-implementation.
* TableStyle.cs: New. Initial re-implementation.

2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>

* Style.cs: Removed the call to Reset in CopyFrom. This fix the new
unit tests (for Style) and more tests in Table* classes.

2005-07-13  Sebastien Pouliot  <sebastien@ximian.com>

* Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
however IsEmpty returns false if any of their properties are set.
Looks ugly but it's compatible with MS implementation (feature and
signature wise).

2005-07-12  Sebastien Pouliot  <sebastien@ximian.com>

* TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
the #if NET_2_0 on it.

2005-07-10  Sebastien Pouliot  <sebastien@ximian.com>

* VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).

2005-07-09  Sebastien Pouliot  <sebastien@ximian.com>

* HorizontalAlign.cs: Typo in header.
* VerticalAlign.cs: New. Required enum for TableRow control.

2005-07-09  Sebastien Pouliot  <sebastien@ximian.com>

* GridLines.cs: New. Required enum for Table control.
* HorizontalAlign.cs: New. Required enum for Table control.

2005-07-08  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: New. Image class implementation.
* ImageAlign.cs: New. ImageAlign enum definitions.

svn path=/trunk/mcs/; revision=48919

18 years ago2005-07-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 26 Aug 2005 22:25:10 +0000 (22:25 -0000)]
2005-07-27  Miguel de Icaza  <miguel@novell.com>

* SimpleWorkerRequestTest.cs: Do not use the "/tmp" directory as
that makes the tests fail if we create a hosted
SimpleWorkerRequest.

Instead use the current directory, and before starting up, create
a bin directory and copy the assembly there to allow us to create
a host.

Also, replicate the tests for when we are hosted in a new
appdomain, as "MapPath" does work in this case.  When running
SimpleWorkerRequest on the main domain MapPath always returns
null.

2005-07-12  Miguel de Icaza  <miguel@novell.com>

* UnitTest.cs: Update test suite.

2005-07-07  Miguel de Icaza  <miguel@novell.com>

* XmlTest.cs: Added test.

2005-07-07  Miguel de Icaza  <miguel@novell.com>

* LabelTest.cs: Add test.

2005-07-06  Miguel de Icaza  <miguel@novell.com>

* FontUnitTest.cs: New unit tests.

* UnitTest.cs: Add support for different cultures and the Decimal
separator,

* UnitTest.cs: Add tests for null and "" arguments to Parse and
Unit(string) which produce IsEmpty units.

* UnitTest.cs: Fresh file with tests.

2005-07-30  Miguel de Icaza  <miguel@novell.com>

* OutputCacheModule.cs: Make synchronous.

2005-08-15  Miguel de Icaza  <miguel@novell.com>

* HttpApplication.cs: Update comments

* HttpPostedFile.cs: Use a substream to read from the uploaded
multiparts.

* HttpRequest.cs: use new code to read the uploaded files.

2005-08-12  Miguel de Icaza  <miguel@novell.com>

2.x API fixage and small additions:

* HttpResponse.cs: Make constructor internal.

* HttpRequest.cs (IsLocal): Expose if NET_2.x

* HttpContext.cs: Remove internal routine.

* HttpApplication.cs: Add 2.x events.

* HttpRequest.cs: Another iFolder issue: I was not setting up the
uri_builder here.

Fixes to get iFolder to work:

* HttpApplicationFactory.cs: Set the context when we are initting
the application.

* HttpApplication.cs (SetContext): helper routine.

* HttpResponse.cs: Implement the various cache operations:n
Expires, ExpiresAbsolute, CacheControl.

Actually produce the Cache-Control header, the "Cache" property
takes precedence over the compatibility settings (Expires,
ExpiresAbsolutely and CacheControl).

* HttpCachePolicy.cs: Fix style.

Fix the generation of the headers, use lower-case values, do not
add the max-value if the value is zero.

Allow for all possible values in SetCacheability.

* HttpRuntime.cs (ClrInstallDirectory): Implement.

* HttpResponseStream.cs: Remove debugging stuff.

2005-08-11  Miguel de Icaza  <miguel@novell.com>

Big chunked handling rewrite, and integration of Ben's unmanaged
output stream.

* HttpWriter.cs: Delegate chunked encoding writing to the
HttpResponse.

* HttpResponse.cs: Rework the chunked encoding system, centralize
it all.

* HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
buffers code.

Changed the way that we handle chunked encoding, centralize it
all;

Remove a lot of manual handling of buffering turned off, and
instead delegate it all to Flush, fixes several issues with the
new framework.

* HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
Provide a default implementation since currently XSP does not have
this method implemented.

2005-08-10  Miguel de Icaza  <miguel@novell.com>

* ServerVariablesCollection.cs: For Ben.  Implement the header
fetching here, do not implement it in HttpRequest.cs.

2005-08-09  Miguel de Icaza  <miguel@novell.com>

* HttpRuntime.cs (AspInstallDirectory): Implement.

2005-08-04  Miguel de Icaza  <miguel@novell.com>

* HttpApplicationFactory.cs: Change "Start" event like the "End"
event, and only do this once, when we init the type.

Fire the "Application_Start" event after we create the type.

2005-08-02  Miguel de Icaza  <miguel@novell.com>

* HttpResponse.cs: Stub for TransmitFile.

* HttpRequest.cs (IsAuthenticated): Implement.

2005-08-01  Miguel de Icaza  <miguel@novell.com>

* HttpRequest.cs: Cope with implementations of HttpWorkerRequest
(unpatched xsp) that do not send back the PreloadedEntityBody.

* HttpApplication.cs: keep track of the factory.
(Dispose): Only dispose once, clean up other variables, release
the ManualResetEvent.
Release the handler to the factory.

* HttpApplicationFactory.cs: Implement a stack to reuse the
applications.

* HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
a 411.

* HttpRuntime.cs: Recycle the application after using it.

* HttpPostedFile.cs: Implement SaveAs.

* HttpContext.cs: Return the "Server" property.

2005-08-01  Miguel de Icaza  <miguel@novell.com>

* HttpRequest.cs (Cookies, Forms): Add validation.
(Forms): Add application/x-www-form-urlencoded parsing and
multipart/form-data parsing.

(HttpMultiPart): Implement new class to load multi-part data from
a stream since there is no longer a byte [] that holds the data
(currently we have an unmanaged IntPtr buffer wrapped as a
stream).  Also the 2.x framework will add support for large
uploads which are sent directly to disk, which will require the
FileStream interface.

(Path, PathInfo): Fill a couple more methods to avoid crashes.

* HttpContext.cs: Fill another one to get web services summary
page painting.  The page does not work though.

* HttpApplication.cs: Rework the pipeline to not depend on
`finally', as `finally' would not be invoked if we choose not to
call the pipeline again (which happens if the `stop' variable is
set).

Instead force the pipeline to go to the shutdown, and yield from
there after all the release-state callbacks have been invoked.

2005-07-31  Miguel de Icaza  <miguel@novell.com>

* HttpApplication.cs: Remove debugging messages since the compiler
bug has been fixed.

You must use at least mcs from revision 47879 for the application
pipeline to work.

2005-07-30  Miguel de Icaza  <miguel@novell.com>

* HttpContext.cs: Error handling methods.

* HttpResponse.cs: Trigger the last event.

* HttpRuntime.cs: Add queueing of the next request.

* HttpApplication.cs: Deploy the new yield-based application
pipeline, add error handling to the pipeline.

* HttpApplication.cs (AsyncRequestState): Just use the done event
from the parent.

2005-07-29  Miguel de Icaza  <miguel@novell.com>

* HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.

* HttpApplication.cs: Fix a race condition.

* HttpResponseStream.cs: Fix bug, send the size of the buffer that
we have so far instead of the internal size of the buffer.   This
will need work later to ensure we enforce the Content-Length
maximum output size if set.

* ServerVariablesCollection.cs: This class now inherits from
NameValueCollection, we should probably review what the middle
class did, there are no dependencies on it.

I need to write tests to investigate if something is missing or
has changed in this implementation.

2005-07-27  Miguel de Icaza  <miguel@novell.com>

* HttpRequest.cs: No happy replies here, send a 411.

2005-07-26  Miguel de Icaza  <miguel@novell.com>

* HttpResponse.cs: use_chunked is now a byte-array, if not null,
we use it to hold the size of the chunked so we do not have to
allocate many of these.
(SendSize): Helper routine to send the chunked headers.
(BinaryWrite): First user of the chunked writer.

* HttpApplication.cs: Do not crash if they request a Server
instance, but throw a NotImplementedException.

* HttpRequest.cs: fix a few problems exposed by the regression
test suite.

* HttpRequest.cs (Cookies): use Chris' new constructor to get the
cookies parsed.

: The big Uri rework: instead of using QueryString
as the population mechanism, populate an UriBuilder from the
various HttpWorkerRequest methods.

* HttpWorkerRequest.cs (GetProtocol): Implement in terms of
IsSecure().

* HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
of a crash.

* HttpContext.cs: Add a couple of properties to help the 2.x
build.

* HttpResponse.cs: Make ContentLength a long, add back support for
session's app_path_mod.
(ApplyAppPathmodifier): put back.
(End): Pass a flag to abort so we can tell the exceptions appart
in HttpApplication.
(WriteHeaders): Send the HTTP status.
(Redirect): Implement.
(Write): Use the Output property to load writer when needed.

* HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
later.
(MakeInputStream): check content-length size, use routines to load
the preloaded data, handle incomplete transfers.
(Query): Do not insert null keys into the collection.
(Url): implement.
(UrlReferer): implement.

* HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
Thread.ResetAbort after each step.

Ensure that ReleaseState is called if we ever succeed in acquiring
the state even if we have stopped the request pipeline.

Report file not found, directory not found.

2005-07-25  Miguel de Icaza  <miguel@novell.com>

* HttpCookieCollection.cs: Add expiration of the cookie.

* HttpRequest.cs: Add check for ContentLength, use
GetPreloadedEntityBody, correct number of bytes uploaded.

2005-07-21  Miguel de Icaza  <miguel@novell.com>

* HttpResponseHeader.cs: Our implementation of HttpResponse only
uses the text headers, does not use any constants as XSP would go
through a slower code path anyways.

2005-07-20  Miguel de Icaza  <miguel@novell.com>

* HttpApplication.cs: Ongoing work on pipeline, I will need to
redo this later.

2005-07-19  Miguel de Icaza  <miguel@novell.com>

* HttpContext.cs (GetService): Implement.  Return all of the
properties that we have access to.  Make HttpWorkerRequest the
first match as this is the only likely reason people need to use
this.

* IntPtrStream.cs: Bring from corlib.

* MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
will now be using IntPtrStream.

* HttpRequest.cs (MakeInputStream): move code that loads the
request here
(CloseInputStream): Helper method that we will call later to
ensure that we dispose properly the malloced() block.
(BinaryRead): Implemented.

* HttpInputStream.cs: Rewrite to be a descendant of
IntPtrStream.cs

2005-07-18  Miguel de Icaza  <miguel@novell.com>

* HttpApplication.cs (Modules): Add modules support and
AsyncResult.

2005-07-17  Miguel de Icaza  <miguel@novell.com>

* HttpRequest.cs (Headers, InputStream): implemented two more
properties.

* HttpInputStream.cs: All we need is a MemoryStream with writable
set to false.

* HttpPostedFile.cs: Use a Stream.

2005-07-15  Miguel de Icaza  <miguel@novell.com>

* HttpRequest.cs:

2005-07-14  Miguel de Icaza  <miguel@novell.com>

* HttpRuntime.cs: Return a few of the values from the AppDomain
data.

Put the application shutdown process.

* HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
one method existed.

(FireEvent): Do not ignore errors.

* HttpContext.cs (GetAppConfig, GetConfig): First success, use
ConfigurationSettings.GetConfig to get the value that QueueManager
needed.

2005-07-13  Miguel de Icaza  <miguel@novell.com>

* HttpRequest.cs: More work on this file

* HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
HttpRuntime.cs: New from scratch implementation.

2005-08-25  Miguel de Icaza  <miguel@novell.com>

* HtmlHead.cs: Implement constructor, pass the tag.

2005-07-26  Miguel de Icaza  <miguel@novell.com>

* HtmlForm.cs: It is possible to have keys with no values in the
query string, do not try to process those on the foreach loop.

The question is: what should happen if I only get the key?

Example: file_with_a_form.aspx?a

2005-07-09  Miguel de Icaza  <miguel@novell.com>

* DataBindingHandlerAttribute.cs: Create the "Default" property.

2005-07-07  Miguel de Icaza  <miguel@novell.com>

* HtmlTextWriter.cs: Return the stuff in lowercase to pass the
tests.

* StateBag.cs: Add NET_2_0 SetDirty method to get the build
going.

2005-08-15  Miguel de Icaza  <miguel@novell.com>

* SessionStateModule.cs: Make this use the synch api as the module
was synchronous anyways

2005-07-25  Miguel de Icaza  <miguel@novell.com>

* FormsAuthentication.cs (SignOut): Force the cookie to have it
expire in the past.

2005-07-26  Miguel de Icaza  <miguel@novell.com>

* Style.cs: Temporary methods to help buliding .NET 2.x

2005-07-12  Miguel de Icaza  <miguel@novell.com>

* Unit.cs: If the units are pixels, then truncate the value.

2005-07-07  Miguel de Icaza  <miguel@novell.com>

* Xml.cs: New implementation.  R00lz.

2005-07-07  Miguel de Icaza  <miguel@novell.com>

* Unit.cs: Add TypeConverter, so that web_panel.aspx works again.

* UnitConverter.cs: Add new file, learned from the
System.Drawing.ColorConverter.

2005-07-06  Miguel de Icaza  <miguel@novell.com>

* FontUnit.cs: New file.

* Unit.cs: New file.

Added support for null and empty string constructors.

2005-07-05  Miguel de Icaza  <miguel@novell.com>

* Label.cs: First control.

2005-08-09  Miguel de Icaza  <miguel@novell.com>

* WebServiceCompiler.cs: Use the new DynamicDir method.

* BaseCompiler.cs: Use the DynamicBase property as a hint, but
since this value is null most of the time, compute the real value.

Added Bonus: if the directory has some kind of permission problem,
try a different directory name.

2005-07-13  Miguel de Icaza  <miguel@novell.com>

* AspGenerator.cs (AspGenerator.CheckLanguage): Use
BaseParser.Context for the context.

svn path=/trunk/mcs/; revision=48918

18 years ago2005-08-17 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 26 Aug 2005 22:24:32 +0000 (22:24 -0000)]
2005-08-17  Chris Toshok  <toshok@ximian.com>

* WebPartTest.cs: new test.
2005-08-26  Chris Toshok  <toshok@ximian.com>

* HtmlButtonTest.cs: add view state tests (to make sure
ValidationGroup and CausesValidation are there.)

2005-08-22  Chris Toshok  <toshok@ximian.com>

* HtmlInputCheckBoxTest.cs: 2.0-ify these tests.

* HtmlInputButtonTest.cs: same.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* SimpleWorkerRequestTest.cs (Host): make cwd =
"Environment.CurrentDirectory + Path.DirectorySeparatorChar" so we
pass on MS.

2005-08-11  Chris Toshok  <toshok@ximian.com>

* jsunit.js (Assert): no reason to have a prototype for
this.. just define a variable named Assert and add it to the
script's context.

2005-08-11  Chris Toshok  <toshok@ximian.com>

* jsunit.js (jsunit_RunTestForPage): set the failure_span
innerHTML explicitly to "0 tests" to initialize it.
(jsunit_RunTestForPageStep): use update_failures_span here to set
the innerhtml to whatever our results currently are.
(update_failures_span): new function, basically just set the text
and background of the span.

2005-08-04  Chris Toshok  <toshok@ximian.com>

* jsunit.js: add expected failure output.  add some (for now)
disabled netscape.security handling for UniversalBrowserRead (so
we can do testing of remote pages.)

2005-08-03  Chris Toshok  <toshok@ximian.com>

* jsunit.js: Mucho improvements.

2005-08-02  Chris Toshok  <toshok@ximian.com>

* jsunit.js (JSUnit_Click): fix typo.
(checkReadyState): fix c&p error.
(jsunit_RunTestPageStep): initialize both test_scripts.waiting and
test_run.waiting before we fire off the load(s).
(jsunit_FindTestFixture): new function to locate the test fixture
on either page, and set top.test_fixture and
top.test_fixture_context accordingly.
(jsunit_RunTestsForPage): use jsunit_FindTestFixture.
(jsunit_RunTestsForPageStep): same.
(test_run_onload): remove the extraneous if-check
(test_scripts_onload): same.

2005-08-01  Chris Toshok  <toshok@ximian.com>

* jsunit.js (jsunit_RunTestForPageStep): add the public api to
whatever script context we're using for TestFixture.  We need this
here because pages that do postbacks but include the testfixture
in the main page will get their context reset on the page load.

2005-08-01  Chris Toshok  <toshok@ximian.com>

* jsunit.js: make the script: property on JSUnit_TestPages
optional, and look for the TestFixture in the test_run page (so
you can write html + tests all in one file).
(JSUnit_Click): fix an "uh oh" alert.

2005-07-27  Chris Toshok  <toshok@ximian.com>

* jsunit.js (Assert): when we fail due to an exception, use
e.message which works on both ff and IE.

2005-07-27  Chris Toshok  <toshok@ximian.com>

* jsunit.js: add a Trace object/window so we can get debug spew
without window.alert.  Also, implement the readyState polling page
loading hack for IE so we can remove all the onload handlers from
.aspx/-script.html files in jsunit-tests (hurray).

2005-07-26  Chris Toshok  <toshok@ximian.com>

* jsunit.js: add some better status messages.

2005-07-25  Chris Toshok  <toshok@ximian.com>

* jsunit.js (JSUnit_Click): if el == null return early.
(jsunit_RunTestForPageStep): wrap the call to testfunc() in a try
block so we can add some failure text instead of making the user
look at the JS console.

2005-07-25  Chris Toshok  <toshok@ximian.com>

* jsunit-results.html: change the status span's id to status_text.

* jsunit.js (encode): new function, to replace < with &lt;, > with
&gt;, \n with \\n, etc, so when we output error strings we can see
the actual html.
(string_charcode_diff): return a string detailing the first index
at which two strings differ.
(Assert): encode all the strings we pass to test_failed.  Also on
AreEqual and AreEqualCase, replace \r\n with \n (since mozilla
seems to do this automatically, while IE doesn't), and also call
string_charcode_diff.
(JSUnit_*) change the state span's id to status_text so it works
on IE, and widen the testcase tables.

2005-07-24  Chris Toshok  <toshok@ximian.com>

* jsunit.js (JSUnit_GetAttribute): add optional id argument.
defaults to using the bound element.

* README: more docs, list out the convenience functions and some
info about how to handle page loading.2005-08-26  Chris Toshok  <toshok@ximian.com>

* TextBoxTest.cs: add tests for the 2.0 validation properties, and
to make sure they're getting saved to the viewstate.

2005-08-26  Chris Toshok  <toshok@ximian.com>

* FontUnitTest.cs: Add tests for the two 2.0 constructors, and the
2.0 ToString(IFormatProvider) method.

* UnitTest.cs: Add tests for the 2.0 ToString(IFormatProvider)
method.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* CalendarTest.cs: add viewstate tests for Caption/CaptionAlign
(2.0).

2005-08-24  Chris Toshok  <toshok@ximian.com>

* ValidationSummaryTest.cs (ValidationSummary_ValidationGroup):
add tests for ValidationGroup, making sure it's stored in the
ViewState.

2005-08-23  Chris Toshok  <toshok@ximian.com>

* RepeatInfoTest.cs (RenderRepeater_BaseControl): the 2.0 ReatInfo
class does things a little differently.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* ListControlTest.cs: #if NET_2_0 some of the asserts whose values
are different in 2.0.

* ValidationSummaryTest.cs: same.

* XmlTest.cs: same.

* ListBoxTest.cs: same.

* CheckBoxTest.cs: same.

* UnitTest.cs: same.

* TextBoxTest.cs: same.

* CustomValidatorTest.cs: same.

* DataGridTest.cs: same.

* BaseCompareValidatorTest.cs: remove ko-KR, since my laptop
presently can't find it, and we already have another ymd date
element order.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* RepeatInfoTest.auto.cs: regenerate.

* RepeatInfoTest.auto.2.0.cs: generate using .Net 2.0.

* RepeatInfoTest.gen.cs: add wrapper #ifdefs for the 1.x/2.0 cases
- we need both.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidatorTest.cs: fix the tests that change behavior
between 1.x and 2.0.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* LinkButtonTest.cs: add validation group tests.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* ImageButtonTest.cs: add NET_2_0 validation tests.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* CheckBoxTest.cs: add NET_2_0 validation tests.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* ButtonTest.cs (Button_DefaultValues): add NET_2_0 test for
ValidationGroup.
(Button_ViewState): same.

2005-08-17  Chris Toshok  <toshok@ximian.com>

* CompositeControlTest.cs: put it in the MonoTests. namespace so
it shows up in the right place in the nunit gui.

2005-08-12  Chris Toshok  <toshok@ximian.com>

* CompositeControlTest.cs: a couple of tests for CompositeControl.

2005-07-30  Chris Toshok  <toshok@ximian.com>

* HyperLinkColumnTest.cs: add some tests for how the column
initializes a TableCell.

2005-07-29  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidatorTest.cs (CanConvert): disable B9, until we
figure out a culture independent way to do it.
(Convert): same with C17/C18.
(MiscPropertiesAndMethods): test CutoffYear, GetFullYear, and
GetDateElementOrder.

2005-07-29  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidatorTest.cs: use DateTime to generate the
strings for our date tests, since they're culture specific.

2005-07-19  Chris Toshok  <toshok@ximian.com>

* BaseValidatorTest.cs: use the right call (SetValidationTextBox)
in ValidatorTest.

2005-07-19  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidatorTest.cs: add date tests.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidatorTest.cs: note the lack of Date tests, and
add null tests.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidatorTest.cs: new tests.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* CompareValidatorTest.cs (CompareValidator_ValueToCompareTest,
CompareValidator_ControlToCompareTest): new methods.

* ValidatorTest.cs: add AddTextBox method.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* RegularExpressionValidatorTest.cs: add a simple validation test.

* ValidatorTest.cs: add a base class for validator tests, that
enables a little scaffolding for faking out the test.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* CompareValidatorTest.cs: new tests.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* RegularExpressionValidatorTest.cs: new test.

2005-08-19  Chris Toshok  <toshok@ximian.com>

* ProfileInfo.cs: I was bored.  implement this.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* HttpApplication.cs (IsReusable): return true.
(InitOnce): remove the initialization of handler_factory from
here.
(GetHandler) and move it here, so we make sure to load handlers
from all needed web.config files.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* HttpApplication.cs (InitOnce): move the initialization of
modules above the call to HttpApplicationFactory.AttachEvents,
since that method accesses HttpApplication.Modules.  Fixes
nGallery.
(IsReusable): mark TODO.

2005-08-18  Chris Toshok  <toshok@ximian.com>

* HttpRequest.cs (get_Params): implement.

2005-08-17  Chris Toshok  <toshok@ximian.com>

* HttpResponse.cs: HttpResponse's Cookie's collection acts
differently than HttpRequests in that it never returns null from
the "this [string]" accessor.

2005-07-27  Chris Toshok  <toshok@ximian.com>

* HttpResponseHeader.cs: remove spew.

2005-07-27  Chris Toshok  <toshok@ximian.com>

* HttpResponseHeader.cs (HttpResponseHandler..ctor): use
HttpWorkerRequest.GetKnownResponseHeaderName instead of
GetKnownRequestHeaderName.  Fixes Response.Redirect until miguel's
new HttpReponse is online.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
and EcmaScriptVersion properties.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* HttpResponseHeader.cs: url encode just \r and \n if they're
present in the value.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* HttpPostedFile.cs: add missing ContentLength property.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* HttpCookieCollection.cs: add a new ctor that takes a string (the
contents of the Cookies: header).

2005-07-20  Chris Toshok  <toshok@ximian.com>

* HttpCookieCollection.cs: add another ctor (internal, but not
obsolete, so we aren't passing a stupid HttpResponse in in order
to change the behavior of the collection.)

* HttpCookie.cs: init this.values in the internal ctor.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
with an HttpResponse's cookie collection.  That is, create the
cookie if the consumer looks it up.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* HttpResponseHeader.cs: initial implementation.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
missing method.

* HttpFileCollection.cs: initial implementation.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
missing method.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* HttpModuleCollection.cs: initial implementation.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* HttpCacheVaryByHeaders.cs: only add the header if it's not
already in the hash.

* HttpCacheVaryByParams.cs: only add the param if it's not already
in the hash.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
MS quirk.

2005-07-16  Chris Toshok  <toshok@ximian.com>

* HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
= false in the custom setter.

2005-07-16  Chris Toshok  <toshok@ximian.com>

* HttpCacheVaryByParams.cs: initial implementation.

2005-07-16  Chris Toshok  <toshok@ximian.com>

* HttpCacheVaryByHeaders.cs: initial implementation.

2005-07-15  Chris Toshok  <toshok@ximian.com>

* HttpCookie.cs: one more time.

2005-07-15  Chris Toshok  <toshok@ximian.com>

* HttpCookie.cs (HttpCookie.GetCookieHeader): use
expires.ToString().

2005-07-15  Chris Toshok  <toshok@ximian.com>

* HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
ben's bug.

2005-07-15  Chris Toshok  <toshok@ximian.com>

* HttpCookieCollection.cs: initial implementation (with a couple
of labeled inefficiencies.)

2005-07-15  Chris Toshok  <toshok@ximian.com>

* HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
instead of trying to be smart about it ourselves.

2005-07-15  Chris Toshok  <toshok@ximian.com>

* HttpCookie.cs: initial implementation.  we fail one unit test,
but it might be due to a bug in NameValueCollection.

2005-08-26  Chris Toshok  <toshok@ximian.com>

* HtmlButton.cs (ValidationGroup): implement.
(RaisePostBackEvent): gross #ifdef-iry to make sure we only have
one body of the actual RaisePostBackEvent code.  Also, call
Page.Validate(ValidationGroup) in the 2.0 case.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* HtmlForm.cs (CreateControlCollection, OnPreRender,
RenderControl): implement naively, just calling base.Method.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* HtmlForm.cs (RenderAttributes): don't strip off the stuff after
the last '/' when rendering the action.  Fixes comments in
nGallery.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
Add MonoTODO's for all NotImplementedException's.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* HtmlForm.cs (RenderAttributes): if there are submit statements,
we need to render those.

* HtmlInputImage.cs: same.

* HtmlInputButton.cs: hook up the client validation stuff.

* HtmlButton.cs: same, except a lot more complicated due to
postback handling.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* Control.cs (get_Adapter): Instead of throwing an exception, just
return null, so we can write the rest of the Control specific
Adapter code and just not enable any of those code paths until we
have actual adapters.  Also flag TODO.
(EnsureChildControls): Call out to Adapter.CreateChildControls if
we have an adapter.
(RenderChildren): call "RenderControl (writer, adapter)" if we
have an adapter.
(RenderControl): implement the adapter case naively.
(LoadRecursive): call out to Adapter.OnLoad if we have one.
(PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
we have one.
(InitRecursive): call out to Adapter.OnInit if we have one.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* Page.cs (GetPostBackEventReference): track change to
ClientScriptManager and don't call a removed method.

* ClientScriptManager.cs: track more recent docs and corcompare
output.

2005-07-30  Chris Toshok  <toshok@ximian.com>

* Page.cs (VerifyRenderingInServerForm): copy MS's error message
since our form-errors jsunit tests depend on it.

2005-07-30  Chris Toshok  <toshok@ximian.com>

* DataBinder.cs (FormatResult): make internal, not private.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* ClientScriptManager.cs (GetClientValidationEvent): the JS we
stick in onclick handlers for buttons/links/etc.

* Page.cs (GetSubmitStatements): new function to return
scriptManager.WriteSubmitStatements.  Used by HtmlForm.
(AreValidatorsUplevel): used by many of the button/linkbutton
controls (the ones that can CauseValidation) to tell whether or
not to emit client side validation calls.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* WebResourceAttribute.cs: make internal (and available) in
!NET_2_0.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* ClientScriptManager.cs (GetWebResourceUrl): make internal (but
available) in !NET_2_0.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* PageAdapter.cs, ControlAdapter: add MonoTODO's.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* AssemblyInfo.cs: add WebUIValidation.js attribute.

2005-08-17  Chris Toshok  <toshok@ximian.com>

* WebPart.cs: add basic stubbed out (and mostly NYI)
methods/properties.

* Part.cs: same.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* HandlerFactoryConfiguration.cs: implement the slow path for
PathMatches using Regex.  Also, make the fast path for exact
matches faster (and more correct).

2005-08-25  Chris Toshok  <toshok@ximian.com>

* HandlerFactoryConfiguration.cs: chain up to the parent
Configuration if we don't have a match, instead of adding the
parent's handlers to our list (and thereby overriding ours).

2005-08-04  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
args.IsValid check.

2005-08-04  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
there's no attribute present.
(Page_ClientValidate): a validator succeeds if it's disabled.

2005-07-27  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
List and SingleParagraph mode ValidationSummaries.
(ValidatorTrim): use two regexps instead of two while loops.
(CustomValidatorEvaluateIsValid): new function.

2005-07-26  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js: fix the summary mode for
ValidationSummaries.

2005-07-25  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
GetAttribute is dead, long live validator.getAttribute.

2005-07-24  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js: add support for validation summaries, both
in summary and messagebox mode.

2005-07-22  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js: the JSUnit tests pointed out that
validator.evaluationfunction is not a string after OnLoad.  do
this as well so the tests pass, and deal with the difference
between o[attr], o.getAttribute(attr), and o.attr. Ugh.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
both the initial value and the control's value.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js: handle validators that use
Display="Dynamic".

2005-07-20  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (ValidatorTrim): new function.
(RangeValidatorEvaluateIsValid): use ValidatorGetValue and
ValidatorTrim.
(RegularExpressionValidatorEvaluateIsValid): same.
(RequiredFieldValidatorEvaluateIsValid): same.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js: new file.

2005-08-26  Chris Toshok  <toshok@ximian.com>

* TextBox.cs: implement ValidationGroup and CausesValidation
properties.

2005-08-26  Chris Toshok  <toshok@ximian.com>

* Unit.cs: implement the 2.0 ToString(IFormatProvider) method.

* FontUnit.cs: add two 2.0 ctors, and the 2.0
ToString(IFormatProvider) method.

2005-08-26  Chris Toshok  <toshok@ximian.com>

* Calendar.cs (UseAccessibleHeader): implement.
(RaisePostBackEvent): some #ifdef ugliness to get this all working
propertly between 1.x and 2.0
(WriteDayHeader): if UseAccessibleHeader == true, render header
cells as th's, not td's, and add abbr and scope attributes.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* Calendar.cs (Caption, CaptionAlign): implement these properties.
(Render): if we have a non-empty caption, show it.
(WriteCaption): new method, output the caption.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* Calendar.cs (Render): Copy the entire style from the Calendar to
the Table, not just the font.
(WriteDay): don't just write the link/text/etc.  Create a
LiteralControl as a child of the cell, before the call to
OnDayRender, with its text set to the day number.  After
OnDayRender, set the literal's text to either the number again (if
it's not selectable) or the full text of the js __doPostBack
hyperlink (if it is.)  Also, use cell.RenderControl here so we can
render child controls with the id's listed properly (and arguably
incorrectly).
(ApplyTitleStyleCell): remove.
(WriteTitle): apply the titleStyle to the enclosing table, not the
table cell containing the month name.  Also, copy from the
Calendar's ControlStyle to populate tableTitle's style initially.
We end up with more (superfluous) style attributes than MS, but
it's better than having less.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.

* Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
yet implemented.

* HiddenField.cs: stub out this class and label everything
MonoTODO.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
typo.

* SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
add a using statement.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
corcompare.

* SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
corcompare.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* AdRotator.cs: stub out enough of the 2.0 methods/properties by
calling base.Foo to get the standalone adrotator (1.0) tests to
run without throwing exceptions.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* ValidationSummary.cs (ValidationGroup): implement.
(Render): use Page.GetValidators in .net 2.0, so we can support
ValidationGroups.  Also, <br>'s get rendered as <br /> in .net
2.0.

2005-08-25  Chris Toshok  <toshok@ximian.com>

* ImageButton.cs (TagKey): disable (but flag) the "virtual new"
2.0 attribute modifiers, and revert back to "override".

* ListBox.cs (BorderColor): disable (but flag) the "virtual new"
2.0 attribute modifiers, and revert back to "override".
(BorderStyle): same.
(BorderWidth): same.

* TextBox.cs (SaveViewState): implement naively, calling
base.SaveViewState.
(TagKey): disable (but flag) the "virtual new" 2.0 attribute
modifiers, and revert back to "override".

2005-08-24  Chris Toshok  <toshok@ximian.com>

* Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
ListControl.cs, SiteMapPath.cs, BulletedList.cs,
DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
Add MonoTODO's for all things that throw NotImplementException.

2005-08-23  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidator.cs (GetFullYear): it turns out the docs up
on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
even though they were written for the 1.0 stuff.

2005-08-23  Chris Toshok  <toshok@ximian.com>

* RepeatInfo.cs: some massaging to support both the 1.x and 2.0
output.  Our tests now pass on both mono and ms, with both 1.x and
2.0 profiles.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* LinkButton.cs (ValidationGroup): implement.
(IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
pass ValidationGroup to Page.Validate.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* ImageButton.cs (ValidationGroup): implement.
(IPostBackEventHandler.RaisePostBackEvent): if we cause
validation, call Page.Validate properly (in both profiles).

2005-08-22  Chris Toshok  <toshok@ximian.com>

* Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
case, pass ValidationGroup to Page.Validate.
(ValidationGroup): implement using ViewState.

2005-08-22  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (Text): 2.0 only.  implement naively, just
get/set base.Text.
(OnInit): add 2.0 support for validation groups.
(OnUnload): same.

2005-08-19  Chris Toshok  <toshok@ximian.com>

* LinkButton.cs (ValidationGroup): implement getter/setter.
(RaisePostBackEvent): implement naively, by c&p'ing the old
implementation of IPostBackEventHandler.RaisePostBackEvent, but
making use of the ValidationGroup in the call to Page.Validate.

* Button.cs: same.

* Style.cs (LoadViewState): set our style flags for all the things
we have flags for.  Seems like the subclass flags should be
handled in overridden LoadViewState methods, but none of the Style
subclasses seem to override this method.

2005-08-19  Chris Toshok  <toshok@ximian.com>

* TableStyle.cs (Merge, MergeWith): make these look a bit more
like Copy/CopyFrom, with the styles checks instead of just
ViewState checks.

* TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
TableStyle.cs.

2005-08-19  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (InitializePager): don't unconditionally set
pager_cell to the numeric pager (especially after setting it
conditionally to the nextprev pager.)
(InitializeNumericPager): the link buttons don't participate in
validation.
(InitializeNextPrevPager): same.
(CreateControlHierarchy): create the top/bottom pagers only if the
PagerStyle says too.

2005-08-18  Chris Toshok  <toshok@ximian.com>

* DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
the start of this method so templates are created properly.

2005-08-17  Chris Toshok  <toshok@ximian.com>

* CompositeControl.cs (RecreateChildControls): implement naively -
just call CreateChildControls.  We might need to call
Controls.Clear() as well, but for the time being, this is ok.

2005-08-12  Chris Toshok  <toshok@ximian.com>

* CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
docs says these methods/properties "ensure the child controls are
created" -- so call EnsureChildControls() before invoking the base
class's code.

2005-08-10  Chris Toshok  <toshok@ximian.com>

* Label.cs (LoadViewState): set the Text attribute from our
ViewState (if it exists) to clear out any child controls.  Fixes
jsunit test label/label-child-control-postback.aspx.

2005-08-05  Chris Toshok  <toshok@ximian.com>

* HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
null when it comes to the format string.
(FormatDataTextValue): same.

2005-08-04  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (Validate): only test a validator if it's both
enabled and visible.

2005-08-04  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (AddAttributesToRender): add "enabled" if
!Enabled.

2005-08-01  Chris Toshok  <toshok@ximian.com>

* HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.

2005-07-30  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: initial version of 2.0 properties
ValidationGroup and SetFocusOnError.

2005-07-30  Chris Toshok  <toshok@ximian.com>

* HyperLinkColumn.cs (InitializeCell): clean this up.

2005-07-30  Chris Toshok  <toshok@ximian.com>

* HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
DataBinder.FormatResult.
(FormatDataTextValue): same.
(Initialize): call base.Initialize.
(ItemDataBinding): new function, get the text/navigateurl and set
them on our HyperLink control.
(InitializeCell): create a hyperlink control in the
Item/EditItem/AlternatingItem case.

2005-07-29  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidator.cs (GetDateElementOrder): implement.

2005-07-29  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidator.cs (GetFullYear): implement two ways.  The
#if'ed out version follows microsoft's docs on msdn, but doesn't
match ms's behavior.  The other matches their behavior but not
their docs.  we use the latter.  go figure.
(get_CutoffYear): implement using
CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.

2005-07-29  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (Validatate): not sure if this is entirely
correct (some fairly deep testing required), but setting Enabled =
false has the effect of setting IsValid = true.

2005-07-27  Chris Toshok  <toshok@ximian.com>

* RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.

2005-07-26  Chris Toshok  <toshok@ximian.com>

* LinkButton.cs (AddParsedSubObject): reversed the order of
Controls.Add() and Text = null
(set_Text): call Controls.Clear()
(RenderContents): use HasControls() for the if test instead of
Text != "".

* HyperLink.cs (AddParsedSubObject): reversed the order of
Controls.Add () and Text = null;

2005-07-26  Chris Toshok  <toshok@ximian.com>

* LinkButton.cs (AddParsedSubObject): copy implementation from
HyperLink.
(RenderContents): only call writer.Write(Text) if Text != "".
Otherwise default to base.RenderContents.

2005-07-26  Chris Toshok  <toshok@ximian.com>

* Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
(Page != null) around my last commit.

2005-07-26  Chris Toshok  <toshok@ximian.com>

* Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
Page.VerifyRenderingInServerFormHere.

2005-07-26  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: remove some MonoTODO's about the client side
validator stuff.

2005-07-25  Chris Toshok  <toshok@ximian.com>

* ValidationSummary.cs (AddAttributesToRender): add client side
support.
(OnPreRender): set the "been here" flag.
(Render): add client side support.

2005-07-23  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (GetControlValidateValue): handle ListItems as
prop.GetValue results.
(Render): fix the static non-uplevel case, so that we display text
when there's an error.

2005-07-22  Chris Toshok  <toshok@ximian.com>

* RegularExpressionValidator.cs (AddAttributesToRender): only
output ValidationExpression if it's != null.

2005-07-22  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (AddAttributesToRender): fix up the Display
rendering such it matches MS's output.
(Render): stop using the huge complicated if's for each output
stage and move to boolean flags, and fix the static-nonuplevel
case, where a validator outputs as nothing but &nbsp;

2005-07-21  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
stuff WebUIValidation.js uses, so we don't support it for uplevel
rendering.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (DetermineRenderUplevel): include checks for
the EcmaScriptVersion and W3CDomVersion.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
cache the results.

2005-07-21  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (get_PropertiesValid): use our containing
NamingContainer, not ourselves, to look up controls.
(CheckControlValidationProperty): same.
(GetControlRenderID): same.
(GetControlValidationValue): same.
(AddAttributesToRender): add the display style attribute if
Display != Static, and add the value of IsValid if it's false.
(DetermineRenderUplevel): use a try block around (Page.Request)
since that can raise an exception.
(OnPreRender): set pre_render_called, so we can consult it in
Render.
(Render): complicate this method more to handle more of the
Display/pre_render_called permutations.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: don't use Page.FindControl, use this Control's
FindControl, so it'll use the same naming container.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* Button.cs: hook up the client side validation stuff.

* ImageButton.cs: same.

* LinkButton.cs: same, although it's a little more complicated
here.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: another Page != null check when uplevel
rendering.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: check Page != null when determining if we're
rendering uplevel or not.

2005-07-20  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (AddAttributesToRender): render the client side
attributes if we're in uplevel mode.
(DetermineRenderUplevel): flesh out a bit - for now basically
return true unless the control has it disabled.
(OnInit): only add the validator to Page's list if there is, in
fact, a page.
(OnUnload): same for removal.
(OnPreRender): hook up client scripting stuff here.  Only the call
to RegisterValidatorCommonScript is a for sure thing here, the
registering of the submit statement and startup script should
probably go elsewhere, but I don't know where.
(RegisterValidatorCommonScript): register the <script
src=".../WebUIValidation.js"> tag, if it's not already there.
(RegisterValidatorDeclaration): add our span object to the
Page_Validators JS array.
(Render): always render the tags (although this is probably not
right), and call RegisterValidatorDeclaration here.

* BaseCompareValidator.cs (AddAttributesToRender): render the
client side attributes if we're in uplevel mode.
(DetermineRenderUplevel): add MonoTODO.. why override this?  Just
call base.DetermineRenderUplevel for now.

* RegularExpressionValidator.cs (AddAttributesToRender): render
the client side attributes if we're in uplevel mode.

* RequiredFieldValidator.cs (AddAttributesToRender): same.

* CompareValidator.cs (AddAttributesToRender): same.

2005-07-19  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: more fixes from pdb.

2005-07-19  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: some test-driven fixes.

2005-07-19  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs: Initial implementation.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidator.cs: Initial implementation, with some NYI.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* CompareValidator.cs: wtf, just use the base class's methods.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* CompareValidator.cs: do comparisons based on
BaseCompareValidator.Type.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* CompareValidator.cs: initial implementation.

2005-07-18  Chris Toshok  <toshok@ximian.com>

* RegularExpressionValidator.cs: initial implementation.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* MenuAdapter.cs (OnInit): Call "Page.RegisterRequiresControlState
(Control)" as the docs point out.
(LoadAdapterControlState): throw NIE and flag TODO.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* HierarchicalDataBoundControlAdapter.cs (PerformDataBinding):
this takes no arguments.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs,
MenuAdapter.cs: fix namespace.

2005-08-24  Chris Toshok  <toshok@ximian.com>

* DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs,
HierarchicalDataBoundControlAdapter.cs, MenuAdapter.cs,
WebControlAdapter.cs: initial implementations.  Mostly completely
(as per msdn2 docs, anyway).

svn path=/trunk/mcs/; revision=48917

18 years ago2005-07-21 Duncan Mak <duncan@novell.com>
Duncan Mak [Fri, 26 Aug 2005 22:23:07 +0000 (22:23 -0000)]
2005-07-21  Duncan Mak  <duncan@novell.com>

* HyperLinkColumnTest.cs: Added new test for HyperLinkColumn.

2005-07-14  Duncan Mak  <duncan@novell.com>

* PagedDataSourceTest.cs: Added testcases.
(PageCountTest, CountTest, IsLastPageTest): Needs more work.

2005-07-14  Duncan Mak  <duncan@novell.com>

* DataBindingHandlerAttributeTest.cs (TestDefaultConstructor):
This test should pass now.

2005-07-09  Duncan Mak  <duncan@novell.com>

* DataBindingHandlerAttributeTest.cs: Aded new test. Used to find
out how a typename is derived from a Type. (It uses
AssemblyQualifiedName, and not FullName)

2005-07-14  Duncan Mak  <duncan@novell.com>

* DataBindingHandlerAttribute.cs: Fixed after receiving some
comments from Gonzalo.

2005-07-09  Duncan Mak  <duncan@novell.com>

* DataBindingHandlerAttribute.cs: Implemented.

2005-07-21  Duncan Mak  <duncan@novell.com>

* HyperLinkColumn.cs: Initial implementation.
Todo: Figure out Initialize and InitializeCell.

2005-07-21  Duncan Mak  <duncan@novell.com>

        * DataGridCommandEventArgs.cs:
        * DataGridPageChangedEventArgs.cs:
        * RepeaterCommandEventArgs.cs:  Fixed visibility.

* DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
* DataGridSortCommandEventArgs.cs (CommandSource): Ditto..

2005-07-14  Duncan Mak  <duncan@novell.com>

* PagedDataSource.cs: Initial implementation.

Methods that need to be figured out:
CopyTo, GetItemProperties, PageCount, IsLastPage.

To complete: CollectionEnumerator, ListEnumerator.

2005-07-13  Duncan Mak  <duncan@novell.com>

* RepeatDirection.cs:
* RepeatLayout.cs:
* ValidationCompareOperator.cs:
* ValidationDataType.cs:
* ValidationSummaryDisplayMode.cs:
* ValidatorDisplay.cs: Added remaining enumerations.

2005-07-12  Duncan Mak  <duncan@novell.com>

* DayNameFormat.cs: Added.

2005-07-09  Duncan Mak  <duncan@novell.com>

* CommandEventHandler.cs:
* DataGridCommandEventHandler.cs:
* DataGridItemEventHandler.cs:
* DataGridPageChangedEventHandler.cs:
* DataGridSortCommandEventHandler.cs:
* DataListCommandEventHandler.cs:
* DayRenderEventHandler.cs:
* RepeaterCommandEventHandler.cs:
* ServerValidateEventHandler.cs: Add delegates.

* ListItemType.cs:
* ListSelectionMode.cs:
* NextPrevFormat.cs:
* PagerMode.cs
* PagerPosition.cs: Add enums.

2005-07-09  Duncan Mak  <duncan@novell.com>

* CommandEventArgs.cs:
* DataGridCommandEventArgs.cs:
* DataGridItemEventArgs.cs:
* DataGridPageChangedEventArgs.cs:
* DataGridSortCommandEventArgs.cs:
* DataListCommandEventArgs.cs:
* DataListItemEventArgs.cs:
* DayRenderEventArgs.cs:
* RepeaterCommandEventArgs.cs:
* RepeaterItemEventArgs.cs:
* ServerValidateEventArgs.cs: Implemented.

svn path=/trunk/mcs/; revision=48916

18 years ago2005-07-27 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Aug 2005 22:21:30 +0000 (22:21 -0000)]
2005-07-27  Dick Porter  <dick@ximian.com>

* HtmlInputCheckBoxTest.cs: Tests for HtmlInputCheckBox

2005-07-26  Dick Porter  <dick@ximian.com>

* HtmlSelectTest.cs: Tests for HtmlSelect

2005-07-21  Dick Porter  <dick@ximian.com>

* HtmlImageTest.cs: The order of attribute rendering has changed,
and now matches MS

2005-07-19  Dick Porter  <dick@ximian.com>

* HtmlImageTest.cs: Added tests for negative values in int
properties

2005-07-14  Dick Porter  <dick@ximian.com>

* HtmlFormTest.cs: New set of tests

2005-07-07  Dick Porter  <dick@ximian.com>

* HtmlImageTest.cs: Unit tests for HtmlImage

2005-08-04  Dick Porter  <dick@ximian.com>

* DataGridColumnTest.cs: Tests for DataGridColumn

2005-07-29  Dick Porter  <dick@ximian.com>

* RadioButtonTest.cs: Added tests for RadioButton

2005-07-14  Dick Porter  <dick@ximian.com>

* CheckBoxTest.cs: Added enum checks

2005-07-13  Dick Porter  <dick@ximian.com>

* CheckBoxTest.cs: Added tests for CheckBox - currently all
passing on mono and ms runtimes.

2005-07-14  Dick Porter  <dick@ximian.com>

* HttpPostedFile.cs: New basic implementation; needs someone to
figure out what a HttpRequestStream does

2005-08-18  Dick Porter  <dick@ximian.com>

* HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes

2005-08-09  Dick Porter  <dick@ximian.com>

* HtmlSelect.cs: Clear databindings when adding a new one; cope
with assorted combinations of empty text and value fields; write
<option> tags manually to match ms HTML output.  All fix nunit
tests.

2005-08-05  Dick Porter  <dick@ximian.com>

* HtmlSelect.cs: Fix databinding when one or other of Name and
Value aren't supplied (thanks to Peter for the patch); Make
<option> indenting match ms output.

2005-07-29  Dick Porter  <dick@ximian.com>

* HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
instead of building the query string by hand

2005-07-27  Dick Porter  <dick@ximian.com>

* HtmlInputCheckBox.cs: New implementation

2005-07-26  Dick Porter  <dick@ximian.com>

* HtmlSelect.cs: New implementation

2005-07-24  Dick Porter  <dick@ximian.com>

* HtmlForm.cs: Add the trailing query string to the form action;
fixes bug shown in Test/standalone/htmlform/qs_postback.aspx

2005-07-22  Dick Porter  <dick@ximian.com>

* HtmlInputFile.cs: Add assembly attributes

2005-07-21  Dick Porter  <dick@ximian.com>

* HtmlImage.cs: The src attribute needs to be a relative URL;
close the HTML element when rendering attributes, to match the MS
impl.

* HtmlForm.cs: Added assembly attributes; don't render ID twice;
don't render enctype and target if they are empty strings;
implement a Render overload to keep corcompare quiet.

2005-07-19  Dick Porter  <dick@ximian.com>

* HtmlImage.cs: Added attributes; use Int32.Parse instead of
Convert.ToInt32

2005-07-14  Dick Porter  <dick@ximian.com>

* HtmlInputFile.cs: New implementation

2005-07-14  Dick Porter  <dick@ximian.com>

* HtmlForm.cs: New Implementation

2005-07-07  Dick Porter  <dick@ximian.com>

* HtmlImage.cs: New implementation

2005-08-18  Dick Porter  <dick@ximian.com>

* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
UserControl.cs, DesignerDataBoundLiteralControl.cs,
PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
stubs and attribute fixes

2005-08-11  Dick Porter  <dick@ximian.com>

* CssStyleCollection.cs: Tweak the css string format to pass a
unit test

* AttributeCollection.cs: Don't NRE if someone sets the "style"
attribute to null.

2005-08-05  Dick Porter  <dick@ximian.com>

* HtmlTextWriter.cs: Make <option> tags render inline, to match
the ms output

2005-07-07  Dick Porter  <dick@ximian.com>

* StateBag.cs: Added internal SetDirty (void) method to fix the
build

2005-08-18  Dick Porter  <dick@ximian.com>

* PageAdapter.cs, ControlAdapter.cs: 2.0 stubs

2005-08-18  Dick Porter  <dick@ximian.com>

* Consts.cs: Added System.Web and Microsoft.VisualStudio.Web
constants for 2.0

2005-08-18  Dick Porter  <dick@ximian.com>

* Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
BaseDataList.cs, DataList.cs, BulletedList.cs,
DataBoundControl.cs, Login.cs, GridView.cs,
CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
fixes

2005-08-11  Dick Porter  <dick@ximian.com>

* CheckBox.cs: Let ViewState manage removals; apply styles and
"style" attributes in a surrounding <span>.  Fixes unit tests.

2005-08-05  Dick Porter  <dick@ximian.com>

* CheckBox.cs: Shut corcompare up a bit more.  Still need to
figure out how to not use AddAttributesToRender to get it
completely silent.

* ButtonColumn.cs: Implement Initialize() and InitializeCell()

* DataGridColumn.cs: Added the duplicate viewstate manipulation
methods

2005-08-04  Dick Porter  <dick@ximian.com>

* DataGridColumn.cs: New implementation

* DataGrid.cs:
* DataGridColumnCollection.cs: Set the DataGridColumn's owner

2005-07-29  Dick Porter  <dick@ximian.com>

* RadioButton.cs: Hide nonstandard API; remove GroupName from the
ViewState when it is null.

* CheckBox.cs: Hide nonstandard API

2005-07-22  Dick Porter  <dick@ximian.com>

* BoundColumn.cs:
* ButtonColumn.cs: Initial stubs

2005-07-22  Dick Porter  <dick@ximian.com>

* RadioButton.cs:
* CheckBox.cs: Add assembly attributes

2005-07-13  Dick Porter  <dick@ximian.com>

* CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
null Text properties from the ViewState, test for TextAlign being
out of range.  All to make tests pass on both mono and ms
runtimes.

2005-07-12  Dick Porter  <dick@ximian.com>

* RadioButton.cs: New implementation

* CheckBox.cs: Rearrange the attributes rendering to allow
RadioButton to derive from this

2005-07-11  Dick Porter  <dick@ximian.com>

* CheckBox.cs: New implementation

* RadioButton.cs: Initial stubbed version that just compiles

2005-07-08  Dick Porter  <dick@ximian.com>

* TextAlign.cs:
* BorderStyle.cs: Added

svn path=/trunk/mcs/; revision=48915

18 years agoRemove
Miguel de Icaza [Fri, 26 Aug 2005 20:38:24 +0000 (20:38 -0000)]
Remove

svn path=/trunk/mcs/; revision=48909

18 years ago* TestPointConverter.cs: Use Assert class instead of deriving from
Gert Driesen [Fri, 26 Aug 2005 20:35:56 +0000 (20:35 -0000)]
* TestPointConverter.cs: Use Assert class instead of deriving from
deprecated Assertion class. Tests now pass on both Mono and MS.NET.
* TestRectangleConverter.cs: same.
* TestSizeConverter.cs: same.
* PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
convert string to int before checking number of components.
* RectangleConverter.cs: same.
* SizeConverter.cs: same.

svn path=/trunk/mcs/; revision=48908

18 years agoRemove System.Web while we land all of the new code
Miguel de Icaza [Fri, 26 Aug 2005 20:13:48 +0000 (20:13 -0000)]
Remove System.Web while we land all of the new code

svn path=/trunk/mcs/; revision=48905

18 years ago* ByteConverterTests.cs: Added ConvertToString and ConvertFromString
Gert Driesen [Fri, 26 Aug 2005 20:08:40 +0000 (20:08 -0000)]
* ByteConverterTests.cs: Added ConvertToString and ConvertFromString
tests with culture that has overriden GetFormat for NumberFormatInfo.
* DecimalConverterTests.cs: same.
* DoubleConverterTests.cs: same.
* Int16ConverterTests.cs: same.
* Int32ConverterTests.cs: same.
* Int64ConverterTests.cs: same.
* SByteConverterTests.cs: same.
* SingleConverterTests.cs: same.
* UInt16ConverterTests.cs: same.
* UInt32ConverterTests.cs: same.
* UInt64ConverterTests.cs: same.
* BaseNumberConverter.cs: Use CultureInfo.GetFormat to obtain
NumberFormatInfo to match MS.NET. Added ConvertToString abstract
method for conversion to string.
* ByteConverter.cs: Implemented ConvertToString.
* DecimalConverter.cs: Implemented ConvertToString.
* DoubleConverter.cs: Implemented ConvertToString.
* Int16Converter.cs: Implemented ConvertToString.
* Int32Converter.cs: Implemented ConvertToString.
* Int64Converter.cs: Implemented ConvertToString.
* SByteConverter.cs: Implemented ConvertToString.
* SingleConverter.cs: Implemented ConvertToString.
* UInt16Converter.cs: Implemented ConvertToString.
* UInt32Converter.cs: Implemented ConvertToString.
* UInt64Converter.cs: Implemented ConvertToString.

svn path=/trunk/mcs/; revision=48904

18 years ago2005-08-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Aug 2005 17:53:14 +0000 (17:53 -0000)]
2005-08-26  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add ability to cross-compile from linux to win32.

svn path=/trunk/mono/; revision=48902

18 years agoConsts.cs.in: Use Microsoft.VisualStudio.Web only in profile NET_2_0 as the assembly...
Kornél Pál [Fri, 26 Aug 2005 17:18:28 +0000 (17:18 -0000)]
Consts.cs.in: Use Microsoft.VisualStudio.Web only in profile NET_2_0 as the assembly does not exists in older versions. Fixed to use VsVersion.

svn path=/trunk/mcs/; revision=48900

18 years ago2005-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Aug 2005 16:47:26 +0000 (16:47 -0000)]
2005-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* PrintingPermissionTest.cs, PrintingPermissionAttributeTest.cs :
  removed BOM. LF as eol.

svn path=/trunk/mcs/; revision=48899

18 years agoUsing Consts.MonoVersion instead of MonoVersion.cs.
Kornél Pál [Fri, 26 Aug 2005 15:54:03 +0000 (15:54 -0000)]
Using Consts.MonoVersion instead of MonoVersion.cs.

svn path=/trunk/mcs/; revision=48898

18 years agoconfigure.in: Generating Consts.cs from Consts.cs.in instead of MonoVersion.cs.
Kornél Pál [Fri, 26 Aug 2005 15:52:20 +0000 (15:52 -0000)]
configure.in: Generating Consts.cs from Consts.cs.in instead of MonoVersion.cs.

svn path=/trunk/mono/; revision=48897

18 years ago* ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
Gert Driesen [Fri, 26 Aug 2005 15:41:04 +0000 (15:41 -0000)]
* ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
convert individual components. Special case string containing hex
prefix. Convert components before checking count.

svn path=/trunk/mcs/; revision=48896

18 years ago* ColorConverter.cs: Add hex string tests. Fixed tests to pass on
Gert Driesen [Fri, 26 Aug 2005 15:39:53 +0000 (15:39 -0000)]
* ColorConverter.cs: Add hex string tests. Fixed tests to pass on
MS.NET.

svn path=/trunk/mcs/; revision=48895

18 years agoadd constant for new assemblies required by System.Web
Sebastien Pouliot [Fri, 26 Aug 2005 14:29:07 +0000 (14:29 -0000)]
add constant for new assemblies required by System.Web

svn path=/trunk/mcs/; revision=48894

18 years ago2005-08-26 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Fri, 26 Aug 2005 14:07:54 +0000 (14:07 -0000)]
2005-08-26  Iain McCoy  <iain@mccoy.id.au>

* README: some documentative notes for xaml-the-language

svn path=/trunk/mcs/; revision=48893

18 years ago2005-08-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Aug 2005 13:36:10 +0000 (13:36 -0000)]
2005-08-25  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Use CC instead of gcc for __thread tests.

svn path=/trunk/mono/; revision=48892

18 years ago2005-08-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Aug 2005 13:34:24 +0000 (13:34 -0000)]
2005-08-26  Zoltan Varga  <vargaz@gmail.com>

* ia64/Makefile.am: Distribute ia64-codegen.h.

svn path=/trunk/mono/; revision=48891

18 years ago* PEAPI.cs (PEFile.ctor): Restore old constructor overload to avoid
Ankit Jain [Fri, 26 Aug 2005 13:24:00 +0000 (13:24 -0000)]
* PEAPI.cs (PEFile.ctor): Restore old constructor overload to avoid
  changing public API.

svn path=/trunk/mcs/; revision=48890

18 years ago* ExternTable.cs (IScope): New. Interface for ResolutionScope.
Ankit Jain [Fri, 26 Aug 2005 13:05:22 +0000 (13:05 -0000)]
* ExternTable.cs (IScope): New. Interface for ResolutionScope.
  (ExternRef): Implement IScope.
  (ExternRef.GetTypeRef): Handle references to nested classes.
  (ExternRef.GetValueType): Remove. Logic combined with GetType.
  (ExternRef.GetType): Add param 'is_valuetype' and handle accordingly.
* ExternTypeRef.cs (ExternTypeRef): Implement IScope.
  (ExternTypeRef.extern_ref),
  (ExternTypeRef.ctor),
  (ExternTypeRef.ExternRef): Change extern_ref type from ExternRef to IScope.
  (ExternTypeRef.nestedtypes_table),
  (ExternTypeRef.nestedclass_table): New. Hashtables for nested classes.
  (ExternTypeRef.Resolve): Resolve parent if it is ExternTypeRef type.
  (ExternTypeRef.GetTypeRef): New.
  (ExternTypeRef.GetExternTypeRef): New. Returns the resolve PEAPI type.
  (ExternTypeRef.GetType): New.

svn path=/trunk/mcs/; revision=48889

18 years ago* PEAPI.cs (IResolutionScope): New. Empty interface.
Ankit Jain [Fri, 26 Aug 2005 13:04:37 +0000 (13:04 -0000)]
* PEAPI.cs (IResolutionScope): New. Empty interface.
  (ClassRef): Implement IResolutionScope.
  (ClassRef.parent): Change type from ResolutionScope to IResolutionScope.
  (ClassRef.AddClass): New. Add nested class.
  (ClassRef.AddValueClass): New. Add nested value class.

svn path=/trunk/mcs/; revision=48888