mono.git
18 years agoRevert patch 49483, it lacked a test, and a bug number
Miguel de Icaza [Thu, 8 Sep 2005 23:21:37 +0000 (23:21 -0000)]
Revert patch 49483, it lacked a test, and a bug number

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

18 years ago2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Sep 2005 21:37:43 +0000 (21:37 -0000)]
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpPostedFile.cs: fixes in Seek and Position.

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

18 years ago2005-09-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 8 Sep 2005 21:22:23 +0000 (21:22 -0000)]
2005-09-08  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests: Bug fixes let us run ecma/Array/15.4.4.2.js and
ecma/Array/15.4.4.5-3.js now.

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

18 years ago* HttpRequest.cs: Make sure the MemoryStream created have their contents marked as...
Sebastien Pouliot [Thu, 8 Sep 2005 21:15:38 +0000 (21:15 -0000)]
* HttpRequest.cs: Make sure the MemoryStream created have their contents marked as public - or else you can't call GetBuffer on them!

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

18 years ago2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Sep 2005 21:13:18 +0000 (21:13 -0000)]
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SessionStateModule.cs: raise the Start event for new sessions.

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

18 years ago2005-09-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 8 Sep 2005 21:04:12 +0000 (21:04 -0000)]
2005-09-08  Cesar Lopez Nataren  <cnataren@novell.com>

* Relational.cs: The loading of true or false it's generated by
EmitRelationalComp not in Relational.Emit as is not always needed.
* CodeGenerator.cs: Add EmitRelationalComp.
* expression.cs (Args.Emit, emit_default_args_case): take care of
Relational operator case.

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

18 years agoPatch from Chris Micacchi
Miguel de Icaza [Thu, 8 Sep 2005 20:40:16 +0000 (20:40 -0000)]
Patch from Chris Micacchi

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

18 years agoFix from Juraj
Miguel de Icaza [Thu, 8 Sep 2005 20:25:14 +0000 (20:25 -0000)]
Fix from Juraj

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

18 years ago2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Sep 2005 20:08:05 +0000 (20:08 -0000)]
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpPostedFile.cs: Make this class actually work. Every time we read,
we have to position the underlying stream.

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

18 years ago2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Sep 2005 19:37:17 +0000 (19:37 -0000)]
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: reading multipart/form-data works again.

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

18 years agoThu Sep 8 18:54:07 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Sep 2005 17:26:16 +0000 (17:26 -0000)]
Thu Sep 8 18:54:07 BST 2005 Paolo Molaro <lupus@ximian.com>

* decimal.c: fixed to handle the broken ARM fp format.

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

18 years agoooops.
Paolo Molaro [Thu, 8 Sep 2005 16:51:51 +0000 (16:51 -0000)]
ooops.

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

18 years ago2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 8 Sep 2005 15:19:02 +0000 (15:19 -0000)]
2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListItemCollection.cs: remove obsoleted methods.
* ListBox.cs: use IStateManager on the item collection.

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

18 years ago2005-09-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Sep 2005 15:17:24 +0000 (15:17 -0000)]
2005-09-08  Atsushi Enomoto  <atsushi@ximian.com>

* soapsuds.cs: passing just file name would be better than full
  assembly name.

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

18 years agoRemove dead code
Miguel de Icaza [Thu, 8 Sep 2005 15:13:53 +0000 (15:13 -0000)]
Remove dead code

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

18 years ago* monodis.1: Document --customattr, --declsec, --forward-decls, --implmap,
Ankit Jain [Thu, 8 Sep 2005 15:03:38 +0000 (15:03 -0000)]
* monodis.1: Document --customattr, --declsec, --forward-decls, --implmap,
  --marshal, --methodimpl, --methodspec, --mresources, --nested, --standalonesig,
  and --typespec.

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

18 years agoTARGET_J2EE runtime fixes
Eyal Alalouf [Thu, 8 Sep 2005 14:11:08 +0000 (14:11 -0000)]
TARGET_J2EE runtime fixes

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

18 years agoThu Sep 8 14:53:45 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Sep 2005 14:05:48 +0000 (14:05 -0000)]
Thu Sep 8 14:53:45 BST 2005 Paolo Molaro <lupus@ximian.com>

* mini-arm.h: use emulation for conv.r.un for the release.

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

18 years agoIn ilasm/codegen:
Ankit Jain [Thu, 8 Sep 2005 13:19:39 +0000 (13:19 -0000)]
In ilasm/codegen:
2005-09-08  Ankit Jain  <jankit@novell.com>

* CodeGen.cs (CodeGen.stack_reserve): New.
  (CodeGen.SetStackReserve): New.
  (CodeGen.Write): SetStackReserve on the pefile.

In ilasm/parser:
2005-09-08  Ankit Jain  <jankit@novell.com>

* ILParser.jay (decl | D_STACKRESERVE int64): New. Set stack reserve.

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

18 years ago* PEAPI.cs (FileImage.stackReserve): New. Set to default value of 0x100000 (1Mb).
Ankit Jain [Thu, 8 Sep 2005 13:19:11 +0000 (13:19 -0000)]
* PEAPI.cs (FileImage.stackReserve): New. Set to default value of 0x100000 (1Mb).
  (FileImage.WritePEHeader): Write stackReserve instead of the default value.
  (PEFile.SetStackReserve): Set stack reserve for fileImage.

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

18 years ago* main.c (dis_nt_header): New. Dump pe_stack_reserve if different from the
Ankit Jain [Thu, 8 Sep 2005 13:17:03 +0000 (13:17 -0000)]
* main.c (dis_nt_header): New. Dump pe_stack_reserve if different from the
  default value (0x100000).
  (disassemble_file): Call dis_nt_header.

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

18 years agoFixes for Grasshopper
Eyal Alalouf [Thu, 8 Sep 2005 13:01:23 +0000 (13:01 -0000)]
Fixes for Grasshopper

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

18 years agoUpdated the date...
Eyal Alalouf [Thu, 8 Sep 2005 12:58:45 +0000 (12:58 -0000)]
Updated the date...

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

18 years agoFixes for Grasshopper runtime
Eyal Alalouf [Thu, 8 Sep 2005 12:58:14 +0000 (12:58 -0000)]
Fixes for Grasshopper runtime

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

18 years agoFixes for Grasshopper compilation
Eyal Alalouf [Thu, 8 Sep 2005 12:56:45 +0000 (12:56 -0000)]
Fixes for Grasshopper compilation

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

18 years agoTARGET_J2EE fixes
Eyal Alalouf [Thu, 8 Sep 2005 12:54:06 +0000 (12:54 -0000)]
TARGET_J2EE fixes

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

18 years agoCompile under Grasshopper (TARGET_JVM)
Eyal Alalouf [Thu, 8 Sep 2005 12:52:03 +0000 (12:52 -0000)]
Compile under Grasshopper (TARGET_JVM)

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

18 years agoTARGET_J2EE fixes.
Eyal Alalouf [Thu, 8 Sep 2005 12:48:24 +0000 (12:48 -0000)]
TARGET_J2EE fixes.

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

18 years agoTARGET_J2EE fixes
Eyal Alalouf [Thu, 8 Sep 2005 12:45:31 +0000 (12:45 -0000)]
TARGET_J2EE fixes

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

18 years agoAdded tests for MonthCalendar
Ritvik Mayank [Thu, 8 Sep 2005 11:54:16 +0000 (11:54 -0000)]
Added tests for MonthCalendar

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

18 years agoThu Sep 8 11:28:45 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Sep 2005 10:01:09 +0000 (10:01 -0000)]
Thu Sep 8 11:28:45 BST 2005 Paolo Molaro <lupus@ximian.com>

* mini-arm.c, objects.cs: more fixes and tests for them.

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

18 years ago2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 8 Sep 2005 09:43:47 +0000 (09:43 -0000)]
2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added RichTextBox.cs to build
* SWF.csproj: Updated

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

18 years ago2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 8 Sep 2005 09:09:14 +0000 (09:09 -0000)]
2005-09-08  Peter Dennis Bartok  <pbartok@novell.com>

* RichTextBox.cs: Added initial implementation
* lang.cs: Removed. Was accidentally checked in long time ago
* TODO: Removed. Contents were obsolete

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 8 Sep 2005 01:34:32 +0000 (01:34 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* CalendarTest.cs (TestSelectedColorDefault): we need to split up
the color tests since they're rendered in different orders by
ms/us.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 8 Sep 2005 01:33:49 +0000 (01:33 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* Calendar.cs (WriteDay): always add BackColor=Silver,
ForeColor=White to selected day cells, before copying over the
selectedDayStyle, if it exists.
(WriteDays): fix nunit test - if the first day of the month falls
on the first day of the week, go back one week (effectively adding
a row of dates from the previous month.)
(WriteTitle): don't copy the control style to the tableTitle,
since it might have height specifications, which would make the
title look rather off.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 22:01:48 +0000 (22:01 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* HtmlForm.cs (DefaultFocus): not stored in Attributes either.
(Name): not sure about this property.. the getter apparently just
returns UniqueID, and the setter does nothing that I can figure
out.
(RenderAttributes): don't bother to remove "name", since it's not
in the attributes anyway.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 22:01:26 +0000 (22:01 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* HtmlFormTest.cs: more tests to get at the root of the confusion
that is the Name property.  Also, copy over Gonzalo's
Name_InsideNaming from HtmlInputControlTest.cs here.

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

18 years ago2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 21:30:43 +0000 (21:30 -0000)]
2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: correctly detect multipart/form-data.

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

18 years agoWed Sep 7 22:17:58 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Sep 2005 20:51:41 +0000 (20:51 -0000)]
Wed Sep 7 22:17:58 BST 2005 Paolo Molaro <lupus@ximian.com>

* icall.c: on ARM use the libc strtod(), since bsd_strtod() seems
broken.

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

18 years ago * Mono.Cairo/Graphics.cs: the Relative path methods
Hisham Mardam Bey [Wed, 7 Sep 2005 20:25:23 +0000 (20:25 -0000)]
 * Mono.Cairo/Graphics.cs: the Relative path methods
   should use a Distance not a PointD, and update some
   parameter names for better documentation purposes
   remove SetTargetImage (), and SetTargetDrawable ()
   use Graphics.Target = Surface instead
 * Mono.Cairo/Surface.cs: don't reference the surface after
   we create it as it is not necessary
   add the new surfaces to the surfaces hashtable on instantiation
 * Mono.Cairo/Pattern.cs: don't reference the pattern after
   we create it as it is not necessary

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

18 years agoremoved obsolete file
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 20:19:46 +0000 (20:19 -0000)]
removed obsolete file

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

18 years agoremoved obsolete file
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 20:19:36 +0000 (20:19 -0000)]
removed obsolete file

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

18 years agoWed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Sep 2005 19:56:14 +0000 (19:56 -0000)]
Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c: ensure we have enough room for thunks
with large allocations.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 19:26:30 +0000 (19:26 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* ValidationSummary.cs (AddAttributesToRender): we only set
display=none if there are no errors.

* BaseValidator.cs (OnPreRender): fix a JS error - on submit we
call ValidatorOnSubmit, not ValidatorCommonOnSubmit.

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

18 years ago2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 19:03:02 +0000 (19:03 -0000)]
2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplicationFactory.cs: recycle after invoking session_end.

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

18 years ago2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 18:52:13 +0000 (18:52 -0000)]
2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputControl.cs: use the Name property instead of the ClientID.
The 'name' attribute rendered contains colons if inside a
NamingContainer.

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

18 years ago2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 18:51:14 +0000 (18:51 -0000)]
2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputControlTest.cs: new tests for the case when the control is
inside a different naming container.

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

18 years agocorrect angle to compute the quarter
Konstantin Triger [Wed, 7 Sep 2005 16:06:03 +0000 (16:06 -0000)]
correct angle to compute the quarter

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

18 years agoWed Sep 7 17:14:26 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Sep 2005 15:50:43 +0000 (15:50 -0000)]
Wed Sep 7 17:14:26 BST 2005 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: align structures to at least 4 bytes to be able
to keep our current optimized memcpy.

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

18 years agoImageCodecInfo.jvm.cs: fixed GetValueFromMetadata, SetResolution
Vladimir Krasnov [Wed, 7 Sep 2005 15:40:40 +0000 (15:40 -0000)]
ImageCodecInfo.jvm.cs: fixed GetValueFromMetadata, SetResolution

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

18 years ago2005-09-07 Jonathan Chambers <jonathan.chambers@ansys.com>
Peter Dennis Bartok [Wed, 7 Sep 2005 15:16:43 +0000 (15:16 -0000)]
2005-09-07 Jonathan Chambers  <jonathan.chambers@ansys.com>

* System.Windows.Forms.resources.prebuilt: Update
* System.Windows.Forms.resx: Added images and strings for PropertyGrid
  toolbar buttons.

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

18 years agoDo not convert value if container type is System.Object.
Boris Kirzner [Wed, 7 Sep 2005 14:01:31 +0000 (14:01 -0000)]
Do not convert value if container type is System.Object.

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

18 years agoChanged reference to Consts.cs.in.
Boris Kirzner [Wed, 7 Sep 2005 13:20:40 +0000 (13:20 -0000)]
Changed reference to Consts.cs.in.

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

18 years ago * mono-shlib-cop.cs: Use Assembly.LoadWithPartialName instead of
Jonathan Pryor [Wed, 7 Sep 2005 12:46:08 +0000 (12:46 -0000)]
  * mono-shlib-cop.cs: Use Assembly.LoadWithPartialName instead of
    Assembly.Load(AssemblyName) for loading -r: assemblies, since this
    actually works (though it's also deprecated in .NET 2.0, with no
    replacement).  If the first LoadWithPartialName fails, try again after
    removing any .dll extension (since the .dll isn't part of the assembly
    name, but I often specify it anyway).

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

18 years ago * mono-shlib-cop.cs: Patch from John Luke to fix use of Path.Combine (don't
Jonathan Pryor [Wed, 7 Sep 2005 12:33:05 +0000 (12:33 -0000)]
* mono-shlib-cop.cs: Patch from John Luke to fix use of Path.Combine (don't
  want to use an `/'-prefixed path as the 2nd parameter) and improve XML
  node selection.

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

18 years agoSystem.Drawing.vmwcsproj: ImageCodec.jvm.cs
Vladimir Krasnov [Wed, 7 Sep 2005 10:51:13 +0000 (10:51 -0000)]
System.Drawing.vmwcsproj: ImageCodec.jvm.cs
Added Mainsoft.Drawing.Configuration.jvm folder with
ResolutionConfiguration.cs, ResolutionConfigurationCollection.cs,
ResolutionConfigurationHandler.cs
Bitmap.jvm.cs: fixed bitamp accessors
Image.jvm.cs: fixed image accessors
ImageCodecInfo.jvm.cs: Refactoring
Added ImageCodec.jvm.cs

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

18 years agofix matrix translate, fix matrix concatenation order
Konstantin Triger [Wed, 7 Sep 2005 10:04:19 +0000 (10:04 -0000)]
fix matrix translate,  fix matrix concatenation order

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

18 years agoFix copy order in CopyTo
Konstantin Triger [Wed, 7 Sep 2005 09:55:01 +0000 (09:55 -0000)]
Fix copy order in CopyTo

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

18 years agoImprove GraphicsPath perfomance.
Boris Kirzner [Wed, 7 Sep 2005 09:47:27 +0000 (09:47 -0000)]
Improve GraphicsPath perfomance.

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

18 years agoBrush.jvm.cs: added transform methods
Vladimir Krasnov [Wed, 7 Sep 2005 09:39:26 +0000 (09:39 -0000)]
Brush.jvm.cs: added transform methods
LinearGradientBrush.jvm.cs: FIxed transform methods
Matrix.jvm.cs: Added CopyTo(), fixed Invert()

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 06:05:36 +0000 (06:05 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* ListControlTest.cs: add tests for the ControlState.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 06:04:27 +0000 (06:04 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add MinimizableAttributeTypeConverter.

* System.Web_test.dll.sources: add
MinimizableAttributeTypeConverter test.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 06:03:18 +0000 (06:03 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* HtmlInputCheckBox.cs (Checked): uncomment the
MinimizableAttributeTypeConverter attribute.

* HtmlControl.cs (Disabled): uncomment the
MinimizableAttributeTypeConverter attribute.

* HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.

* HtmlTableCell.cs (NoWrap): uncomment the
MinimizableAttributeTypeConverter attribute.

* HtmlLink.cs (Href): remove the MonoTODO.

* HtmlMeta.cs (Name): remove the MonoTODO.
(Scheme): same.
(Render): add (pretty bogus, really..) implementation.  not sure
why we need this one.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 05:59:49 +0000 (05:59 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* MinimizableAttributeTypeConverterTest.cs: new test.

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

18 years agomake this 2.0 only
Chris Toshok [Wed, 7 Sep 2005 05:59:17 +0000 (05:59 -0000)]
make this 2.0 only

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 05:58:31 +0000 (05:58 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* MinimizableAttributeTypeConverter.cs: new class, whose existence
we know about because of corcompare, and for whose implementation
we have exclusively nunit to thank.

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

18 years ago2005-09-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 05:20:28 +0000 (05:20 -0000)]
2005-09-07  Chris Toshok  <toshok@ximian.com>

* ListControl.cs (SelectedIndex): add comment about how you'd
think OnSelectedIndexChanged would be called.. and you'd be wrong.
(Text): implement in terms of SelectedValue.
(TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
(LoadControlState): implement - this is where the selected index
ArrayList gets stuffed in 2.0.
(OnInit): call Page.RegisterRequiresControlState.
(OnTextChanged): implement.
(RenderContents): for now just chain up to base.RenderContents.
(SaveControlState): save our control state properly.
(GetSelectedIndices): split this out from SaveViewState to it can
be used by both that and SaveControlState.
(SaveViewState): mangle this function so it works in both 2.0 and
1.0.
(LoadViewState): same.

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

18 years ago2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 03:19:02 +0000 (03:19 -0000)]
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRuntime.cs: remove Console.

* System.Web/HttpApplicationFactory.cs: don't hook Session_End, but keep
the MethodInfo around for later invocation if needed. Don't call
GetMethods() for every HttpApplication (or derived class) instances.
Added a method, used by SessionStateModule, that will create use an
application without context to invoke Session_End. Keep a pool of
applications that are meant to be used by this method only.

* System.Web/HttpApplication.cs: add a SetSession method and do not
attach all the events if the application is for Session_End only.

* System.Web.SessionState/SessionStateModule.cs: Only invoke the End
event using the new method in HttpApplicationFactory and when session
state mode is InProc.

Fixes bug #71662.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 02:57:08 +0000 (02:57 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* BaseValidator.cs (AddAttributesToRender): render our ClientID if
we weren't assigned an ID.

* ValidationSummary.cs (AddAttributesToRender): same.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 02:23:00 +0000 (02:23 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* WebControl.cs: revert the last change.

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

18 years agoquick build fix.
Atsushi Eno [Wed, 7 Sep 2005 02:21:11 +0000 (02:21 -0000)]
quick build fix.

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

18 years ago2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Wed, 7 Sep 2005 02:02:11 +0000 (02:02 -0000)]
2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>

        * PropertiesTab.cs: Added

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 01:40:10 +0000 (01:40 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* RootBuilder.cs (.cctor): doh, add all the new html controls
here.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 7 Sep 2005 01:25:33 +0000 (01:25 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* HtmlInputControl.cs (RenderAttributes): Check Page.Form for
null.

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

18 years ago2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Wed, 7 Sep 2005 01:22:04 +0000 (01:22 -0000)]
2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>

        * PropertyGrid.cs : Update
        * PropertyGridView.cs : Update
        * System.Windows.Forms.resx : Added images and strings

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

18 years ago2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Wed, 7 Sep 2005 01:21:20 +0000 (01:21 -0000)]
2005-09-06  Jonathan Chambers  <jonathan.chambers@ansys.com>

        * PropertyGrid.cs : Update
        * PropertyGridView.cs : Update
        * System.Windows.Forms.resx : Added images and strings

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

18 years ago* Samples/png: Fixed samples with new changes.
Hisham Mardam Bey [Wed, 7 Sep 2005 00:08:46 +0000 (00:08 -0000)]
* Samples/png: Fixed samples with new changes.
* Samples/x11: Fixed samples with new changes.
* Samples/gtk: Fixed samples with new changes.

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

18 years agoFixed Samples/png/* to work with new changes.
Hisham Mardam Bey [Tue, 6 Sep 2005 23:41:43 +0000 (23:41 -0000)]
Fixed Samples/png/* to work with new changes.

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

18 years agopartially fix sample
John Luke [Tue, 6 Sep 2005 23:10:43 +0000 (23:10 -0000)]
partially fix sample

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

18 years ago2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Sep 2005 22:38:38 +0000 (22:38 -0000)]
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRuntime.cs: actually unload the domain when requested. Reformatted
FinishUnavailable() and removed the 'Location' header form the error.

* HttpApplicationFactory.cs: set up the watcher for the bin directory.
This also prevents a nullref when global.asax is changed.

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

18 years agooops
Chris Toshok [Tue, 6 Sep 2005 22:36:28 +0000 (22:36 -0000)]
oops

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

18 years agoadd a test for validators/validationsummary's without id attributes
Chris Toshok [Tue, 6 Sep 2005 22:34:33 +0000 (22:34 -0000)]
add a test for validators/validationsummary's without id attributes

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 22:33:54 +0000 (22:33 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* HtmlInputControl.cs (RenderAttributes): use ClientID instead of
ID.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 22:32:54 +0000 (22:32 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* WebControl.cs (AddAttributesToRender): always render ClientID.

* ValidationSummary.cs (Render): same.

* BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
here.

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

18 years ago* Mono.Cairo/Surface.cs: make CreateSimilar non-static
Hisham Mardam Bey [Tue, 6 Sep 2005 22:23:53 +0000 (22:23 -0000)]
* Mono.Cairo/Surface.cs: make CreateSimilar non-static
  and use Content instead of Format, add Surface.Status
* Mono.Cairo/Graphics.cs: add convenience
  ctor to Color with an alpha of 1.0
  add Tolerance getter, Change SetDash to compute
  the length automatically, rename TargetSurface to Target,
  add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
  add Paint, PaintWithAlpha, Mask, and MaskSurface (),
  add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
* Mono.Cairo/Cairo.cs: add new imports:
  cairo_stroke_extents, cairo_fill_extents,
  cairo_clip_preserve, cairo_mask, cairo_mask_surface,
  cairo_paint_with_alpha, cairo_surface_status
  add Content enum and fix cairo_surface_create_similar to use
  Content not Format

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

18 years agoRegisterForm is 2.0 only
Gonzalo Paniagua Javier [Tue, 6 Sep 2005 21:46:51 +0000 (21:46 -0000)]
RegisterForm is 2.0 only

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

18 years agotest for SubmitDisabledControls
Chris Toshok [Tue, 6 Sep 2005 21:43:12 +0000 (21:43 -0000)]
test for SubmitDisabledControls

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 21:42:32 +0000 (21:42 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add HtmlLink.cs and HtmlMeta.cs

* System.Web_test.dll.sources: add HtmlLinkTest and HtmlMetaTest.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 21:40:54 +0000 (21:40 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* HtmlLinkTest.cs: add empty render test.

* HtmlMetaTest.cs: same.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 21:40:06 +0000 (21:40 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
(AddedControl): move the HtmlTitle logic here.
(RemovedControl): clear out the title if that was the control that
was removed.

* HtmlLink.cs: new implementation.

* HtmlMeta.cs: new implementation.

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

18 years agoTue Sep 6 22:51:08 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 6 Sep 2005 21:24:23 +0000 (21:24 -0000)]
Tue Sep 6 22:51:08 BST 2005 Paolo Molaro <lupus@ximian.com>

* mini-arm.c, cpu-arm.md, inssel-arm.brg: bugfixes.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 21:23:56 +0000 (21:23 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* HtmlLinkTest.cs: new tests.

* HtmlMetaTest.cs: new tests.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 20:44:16 +0000 (20:44 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* HtmlInputControl.cs (RenderAttributes): add ourselves to the
__enabledControlArray JS array if we're currently enabled and the
form is set to SubmitDisabledControls.

* HtmlForm.cs (OnInit): call Page.RegisterForm here.
(DetermineRenderUplevel): split this out of OnPreRender and make
it internal so HtmlInputControl can call it.
(OnPreRender): add handling for SubmitDisabledControls.

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 20:40:34 +0000 (20:40 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* webform.js (wasControlEnabled): use __enabledControlArray,
generated by the HtmlControl foo when using
SubmitDisabledControls.
(WebForm_ReEnableControls): used by HtmlForm's
SubmitDisabledControls.

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

18 years ago2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 6 Sep 2005 18:41:49 +0000 (18:41 -0000)]
2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>

* ThemeNice.cs: Do not dispose Pens retrieved from ResPool

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

18 years ago2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 6 Sep 2005 18:34:57 +0000 (18:34 -0000)]
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: fixed bug introduced when moving GetHandler call
around. Now we get error pages again.

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

18 years ago2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 6 Sep 2005 18:31:59 +0000 (18:31 -0000)]
2005-09-06  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  a busy loop right after the Ungrab the X11 display is otherwise
  blocked

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 17:50:43 +0000 (17:50 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* data/browscap.ini: Add the ecmascriptversion/w3cdomversion
attributes required for ASP.Net client side validation to the
capabilities for Mozilla 1.[78], IE 5.5 & 6.0, Safari, and Firefox
0.9 & 1.0 browsers.

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

18 years agoadd patch file for browscap.ini to get client side validation working. and add it...
Chris Toshok [Tue, 6 Sep 2005 17:48:21 +0000 (17:48 -0000)]
add patch file for browscap.ini to get client side validation working.  and add it to the Hacking.FAQ

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

18 years ago2005-09-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 6 Sep 2005 17:44:14 +0000 (17:44 -0000)]
2005-09-06  Chris Toshok  <toshok@ximian.com>

* ValidationSummary.cs (Render): only do the JS stuff when the
validators on the page are uplevel.

* BaseValidator.cs (Render): remove unnecessary comment.

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