mono.git
22 years ago2002-06-19 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 19 Jun 2002 03:46:56 +0000 (03:46 -0000)]
2002-06-19  Dietmar Maurer  <dietmar@ximian.com>

* StackTrace.cs: impl. remaining constructors.

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

22 years ago2002-06-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 19 Jun 2002 03:15:55 +0000 (03:15 -0000)]
2002-06-18  Dietmar Maurer  <dietmar@ximian.com>

* verify.c: add check for System.Exception

* exception.c (ves_icall_get_trace): new method to get the stack
trace from a Exception.

* jit.c (check_inlining): do not inline functions containing
calls to stack query functions

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

22 years ago2002-06-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 19 Jun 2002 03:11:40 +0000 (03:11 -0000)]
2002-06-18  Dietmar Maurer  <dietmar@ximian.com>

* StackTrace.cs: use new internal call for constructors, use MS like
trace format.

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

22 years ago2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 Jun 2002 01:46:50 +0000 (01:46 -0000)]
2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
* RepeatInfo.cs: implemented DoHorizontalRendering.

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

22 years ago2002-6-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 18 Jun 2002 22:22:35 +0000 (22:22 -0000)]
2002-6-18 DennisHayes <dennish@raytek.com>
* Checked in for Jackson Harper (jackson@latitudegeo.com)
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes

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

22 years ago2002-6-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 18 Jun 2002 22:01:06 +0000 (22:01 -0000)]
2002-6-18 DennisHayes <dennish@raytek.com>
* checked in  for Stefan Warnke (StefanW@POBox.com)
* UICuesEventArgs.cs
* UpDownBase.cs
* Better comments and formatting

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

22 years ago2002-06-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 18 Jun 2002 17:22:00 +0000 (17:22 -0000)]
2002-06-18  Miguel de Icaza  <miguel@ximian.com>

* pending.cs: New file.  Move the code from class.cs here.
Support clearning the pending flag for all methods (when not doing
explicit interface implementation).

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

22 years ago2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Jun 2002 17:14:34 +0000 (17:14 -0000)]
2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebControl.cs:
(CopyBaseAttributes): copy Attributes and don't throw exception.

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

22 years ago2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
Ajay kumar Dwivedi [Tue, 18 Jun 2002 12:22:41 +0000 (12:22 -0000)]
2002-06-18  Ajay kumar Dwivedi <adwiv@yahoo.com>

* XmlTextReader.cs: HasLineInfo returns false instead of throwing an
Exception.

2002-06-14  Duncan Mak  <duncan@ximian.com>

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

22 years ago2002-06-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 18 Jun 2002 11:47:17 +0000 (11:47 -0000)]
2002-06-19  Nick Drochak  <ndrochak@gol.com>

* Added in a bunch of missing tests.  Need to fix some of these
since we get more failures against ms.net. But let's not be shy.

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

22 years ago2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Jun 2002 11:44:39 +0000 (11:44 -0000)]
2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/HtmlTextWriter.cs: fixed style attributes rendering
(almost the same bug as in regular attributes).

* System.Web.UI.WebControls/ListBox.cs: mono-stylized.
(AddAttributesToRender): also call parent class method.

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

22 years ago2002-06-18 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 18 Jun 2002 10:56:25 +0000 (10:56 -0000)]
2002-06-18  Nick Drochak  <ndrochak@gol.com>
* Ignore dll's

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

22 years ago2002-06-18 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 18 Jun 2002 10:50:37 +0000 (10:50 -0000)]
2002-06-18  Nick Drochak  <ndrochak@gol.com>

* ArgumentException.cs: Use the message given in the constructor when
accessing the Message property.  Thanks to Dietmar for the help with
"base".

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

22 years ago2002-06-18 Dwivedi, Ajay kumar <adwiv@yahoo.com>
Ajay kumar Dwivedi [Tue, 18 Jun 2002 10:47:40 +0000 (10:47 -0000)]
2002-06-18  Dwivedi, Ajay kumar <adwiv@yahoo.com>
* XmlSchema: The Read and Write methods are no more [MonoTODO] :)

* XmlSchemaAppInfo: Xml Markup is now being read.

* XmlSchemaDocumentation: Xml Markup is now being read.

* All: Unhandled attributes are being handled properly.

* All: Reordered the properties in all cs files to match with MS
       Implementation. This was required since the order is importatnt
       for the XmlSerializer.

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

22 years ago2002-06-18 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 18 Jun 2002 10:46:34 +0000 (10:46 -0000)]
2002-06-18  Nick Drochak  <ndrochak@gol.com>

* FileIOPermissionTest.cs: Use Unix paths if it looks like we are not
running the tests on Windows. Need to expand this when we run the
tests on Mac OS's (and others I suppose).  Also consolidated some
redundant code.

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

22 years agosmall fix
Dietmar Maurer [Tue, 18 Jun 2002 08:00:40 +0000 (08:00 -0000)]
small fix

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

22 years ago2002-06-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 18 Jun 2002 07:50:06 +0000 (07:50 -0000)]
2002-06-18  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (ves_icall_get_frame_info): impl.

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

22 years ago2002-06-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 18 Jun 2002 07:46:15 +0000 (07:46 -0000)]
2002-06-18  Dietmar Maurer  <dietmar@ximian.com>

* StackFrame.cs: impl. constructors using a new internal call.

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

22 years agoTue Jun 18 10:36:22 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 18 Jun 2002 04:50:46 +0000 (04:50 -0000)]
Tue Jun 18 10:36:22 CEST 2002 Paolo Molaro <lupus@ximian.com>

* rootcontext.cs: added a couple more types needed to bootstrap.

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

22 years agoTue Jun 18 10:21:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 18 Jun 2002 04:38:23 +0000 (04:38 -0000)]
Tue Jun 18 10:21:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* x86/tramp.c: marshal simple arrays correctly.

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

22 years agoTue Jun 18 10:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 18 Jun 2002 04:36:29 +0000 (04:36 -0000)]
Tue Jun 18 10:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* invoke.c: marshal simple arrays correctly.

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

22 years ago2002-06-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 17 Jun 2002 17:39:25 +0000 (17:39 -0000)]
2002-06-17  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (GetConstructor): Use DeclaredOnly to look the
constructor in the type, instead of any constructor in the type
hierarchy.  Thanks to Paolo for finding this bug (it showed up as
a bug in the Mono runtime when applying the params attribute).

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

22 years agoMon Jun 17 20:23:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 14:42:45 +0000 (14:42 -0000)]
Mon Jun 17 20:23:23 CEST 2002 Paolo Molaro <lupus@ximian.com>

* image.c, class.c: minifix for code just c&p'ed.
* reflection.c: warning fix.
* object.h, loader.h, domain.c: load also StringBuilder.

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 17 Jun 2002 13:54:05 +0000 (13:54 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: added inlined versions of Math.Sin, Math.Cos, Math.Sqrt

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 17 Jun 2002 12:36:07 +0000 (12:36 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)

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

22 years agoMon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 11:46:31 +0000 (11:46 -0000)]
Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* get.h, get.c: get_marshal_info() to get a marshal descriptor.
* main.c, dump.h, dump.c: added code to dump the FieldMarshl table.

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

22 years agoMon Jun 17 17:29:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 11:44:35 +0000 (11:44 -0000)]
Mon Jun 17 17:29:40 CEST 2002 Paolo Molaro <lupus@ximian.com>

* marshal.h, marshal.c: some support code to handle complex marshaling.

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

22 years ago2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 17 Jun 2002 11:10:08 +0000 (11:10 -0000)]
2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Control.cs: implemented PreventAutoID.

* System.Web.UI/Page.cs:
(SetDefaults): don't set ID automatically if Control.PreventAutoID has
been called.

* System.Web.UI.WebControls/Style.cs: fixed IsEmpty and Width.

* System.Web.UI.WebControls/Table.cs: mono-stylized.
(TableRowControlCollection.AddAt): fixed.
(AddAttributesToRender): fixed.

* System.Web.UI.WebControls/TableCell.cs: mono-stylized.
(.ctor): use PreventAutoID.
(AddAttributesToRender): fixed.
(AddParsedSubObject): fixed.

* System.Web.UI.WebControls/TableRow.cs: mono-stylized. Added
ParseChildren attribute.

* System.Web.UI.WebControls/TableStyle.cs:
(get_GridLine): fixed.

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

22 years agoForgot to commit this fix a while ago...
Paolo Molaro [Mon, 17 Jun 2002 10:50:11 +0000 (10:50 -0000)]
Forgot to commit this fix a while ago...

Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>

* strtod.c: make __bsd_dtoa() always return malloc()ed memory.

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

22 years agoMon Jun 17 16:32:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 10:48:49 +0000 (10:48 -0000)]
Mon Jun 17 16:32:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.h, class.c, reflection.c: handle ignorecase in GetType ().
Better signatures with vtable error dump.

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

22 years agoMon Jun 17 16:13:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 10:28:10 +0000 (10:28 -0000)]
Mon Jun 17 16:13:35 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c, reflection.h, icall.c: fixes for multiple-nested types.

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 10:25:55 +0000 (10:25 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* icall.c (ves_icall_Type_GetField): impl.

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 17 Jun 2002 10:17:24 +0000 (10:17 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): impl. STARG
(mono_analyze_stack): impl. LDARGA

* icall.c (ves_icall_Type_GetField): impl.

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 17 Jun 2002 10:13:49 +0000 (10:13 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* MonoType.cs: GetField is now a InternalCall

* File.cs (Delete): only call Directory.Exists() if DirName != ""

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

22 years agoMon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 09:19:26 +0000 (09:19 -0000)]
Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Uri.cs: workaround for mcs bug.

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

22 years agoMon Jun 17 14:55:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 09:14:37 +0000 (09:14 -0000)]
Mon Jun 17 14:55:43 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ModuleBuilder.cs, TypeBuilder.cs: fixes for nested types handling.

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

22 years agoMon Jun 17 14:57:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jun 2002 09:14:36 +0000 (09:14 -0000)]
Mon Jun 17 14:57:03 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: change order of nested type emission
to avoid table corruption. The NestedTypes table is sorted.
* icall.c: change order of GetConstructor results to workaround mcs bug.

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 17 Jun 2002 08:55:21 +0000 (08:55 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): impl. STARG

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

22 years ago * TraceTest.cs: Added additional test cases.
Jonathan Pryor [Mon, 17 Jun 2002 06:52:13 +0000 (06:52 -0000)]
  * TraceTest.cs: Added additional test cases.

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

22 years ago2002-06-17 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 17 Jun 2002 06:01:04 +0000 (06:01 -0000)]
2002-06-17  Dietmar Maurer  <dietmar@ximian.com>

* exception.c (arch_handle_exception): correctly restore register
values when unwinding the stack (fixes bug 25698)

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

22 years ago2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 16 Jun 2002 21:29:48 +0000 (21:29 -0000)]
2002-06-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Panel.cs: fixed stack overflow.
* Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
and SingleConverter.

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

22 years agoD'oh! I forgot to save `ChangeLog' before committing it....
Jonathan Pryor [Sun, 16 Jun 2002 19:51:16 +0000 (19:51 -0000)]
D'oh!  I forgot to save `ChangeLog' before committing it....

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

22 years ago * ICollectData.cs: Implemented
Jonathan Pryor [Sun, 16 Jun 2002 19:49:45 +0000 (19:49 -0000)]
  * ICollectData.cs: Implemented
  * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
    corresponding properties on all current TraceListeners.
    Also, to answer the FIXME message: Yes, the properties in TraceListener
    need to be [ThreadStatic] as well.
  * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
    should have its properties set to the current TraceImpl property values.
  * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].

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

22 years agoVery start. Sorry no NANT or make support yet
Rafael Teixeira [Sun, 16 Jun 2002 15:27:20 +0000 (15:27 -0000)]
Very start. Sorry no NANT or make support yet

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

22 years agoA first version of mono-common-problems added.
Jaime Anguiano Olarra [Sun, 16 Jun 2002 14:57:33 +0000 (14:57 -0000)]
A first version of mono-common-problems added.

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

22 years ago2002-06-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 15 Jun 2002 23:35:04 +0000 (23:35 -0000)]
2002-06-16  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* changed namespace.cs to use "GenericParser.error(...)" instead of "CSharpParser.error(...)"

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

22 years ago2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 15 Jun 2002 23:27:15 +0000 (23:27 -0000)]
2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
* namespace.cs needed some fixing, because CSharpParser isn�t available

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

22 years ago2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 15 Jun 2002 23:15:14 +0000 (23:15 -0000)]
2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues

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

22 years ago2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 15 Jun 2002 22:56:17 +0000 (22:56 -0000)]
2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* oops merged expression.cs from mcs/mcs is breaking my make
* driver.cs, assemblyinfo.cs wasn�t ready for prime time (offending lines were commented out)

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

22 years ago2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 15 Jun 2002 22:48:08 +0000 (22:48 -0000)]
2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged expression.cs from mcs/mcs

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

22 years ago2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 15 Jun 2002 14:04:59 +0000 (14:04 -0000)]
2002-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System/System.build: referenced System.Drawing.dll.

* System/System.ComponentModel/TypeConverter.cs:
* System/System.ComponentModel/ITypeDescriptorContext.cs:
* System/System.ComponentModel/TypeDescriptor.cs:
* System.Drawing/System.Drawing/ColorConverter.cs: implemented minimal
set of features needed by xsp, which uses ColorConverter.

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

22 years ago2002-06-14 Rachel Hestilow <hestilow@ximian.com>
Rachel Hestilow [Sat, 15 Jun 2002 13:37:31 +0000 (13:37 -0000)]
2002-06-14  Rachel Hestilow  <hestilow@ximian.com>

* expression.cs (Unary.ResolveOperator): Use TypeManager
to resolve the type.

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

22 years ago2002-06-14 Dwivedi, Ajay kumar <adwiv@yahoo.com>
Ajay kumar Dwivedi [Fri, 14 Jun 2002 10:42:02 +0000 (10:42 -0000)]
2002-06-14  Dwivedi, Ajay kumar <adwiv@yahoo.com>
* General: Fixed a few more Bugs

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

22 years agoFri Jun 14 16:24:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 14 Jun 2002 10:39:25 +0000 (10:39 -0000)]
Fri Jun 14 16:24:30 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: handle field and param marshal
information.

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

22 years agoFri Jun 14 16:21:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 14 Jun 2002 10:39:20 +0000 (10:39 -0000)]
Fri Jun 14 16:21:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* CustomAttributeBuilder.cs: added custom attribute related internal
helper methods.
* FieldBuilder.cs, ParameterBuilder.cs: handle MarshalAs attribute.
* UnmanagedMarshal.cs: implemented.

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

22 years agoFri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 14 Jun 2002 10:34:33 +0000 (10:34 -0000)]
Fri Jun 14 16:18:50 CEST 2002 Paolo Molaro <lupus@ximian.com>

* UnmanagedType.cs, Marshal.cs: minor fixes.

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

22 years agoHousekeeping
Rafael Teixeira [Fri, 14 Jun 2002 10:12:11 +0000 (10:12 -0000)]
Housekeeping

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

22 years ago2002-06-14 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 14 Jun 2002 02:37:52 +0000 (02:37 -0000)]
2002-06-14  Duncan Mak  <duncan@ximian.com>

* XmlConvert.cs: Added CLSCompliant attributes to methods.

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

22 years ago2002/06/14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 13 Jun 2002 22:05:33 +0000 (22:05 -0000)]
2002/06/14  Nick Drochak <ndrochak@gol.com>

* AllTests.cs: Disable ResourceReaderTest for now.  The class is not
ready yet.

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

22 years ago2002/06/14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 13 Jun 2002 21:32:10 +0000 (21:32 -0000)]
2002/06/14  Nick Drochak <ndrochak@gol.com>

* Int64Test.cs: Make currency symbol test more culturally sensitive.

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

22 years agoTypo fix
Miguel de Icaza [Thu, 13 Jun 2002 15:23:21 +0000 (15:23 -0000)]
Typo fix

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

22 years ago2002-06-13 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 13 Jun 2002 13:09:18 +0000 (13:09 -0000)]
2002-06-13  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (enum_member_declaration): Pass in the attributes
attached.

* enum.cs (AddEnumMember): Add support to store the attributes associated
with each member too.

* attribute.cs (CheckAttribute, ApplyAttributes): Update to handle
field builders too - this takes care of the enum member case.

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

22 years ago2002-06-13 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 13 Jun 2002 13:07:53 +0000 (13:07 -0000)]
2002-06-13  Ravi Pratap  <ravi@ximian.com>

* test-131.cs : Add to test enum member attribute application.

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

22 years ago2002-06-14 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 13 Jun 2002 11:22:17 +0000 (11:22 -0000)]
2002-06-14  Nick Drochak  <ndrochak@gol.com>

* DateTimeTest.cs: Make some of the tests a bit more timezone neutral.

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

22 years ago2002-06-13 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 13 Jun 2002 09:57:48 +0000 (09:57 -0000)]
2002-06-13  Nick Drochak  <ndrochak@gol.com>

* DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
sortable format(s), e.g. "2002-02-25"

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

22 years agofix index.rss dependancy
Piers Haken [Thu, 13 Jun 2002 01:04:08 +0000 (01:04 -0000)]
fix index.rss dependancy

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

22 years agoOoops. No wonder people complained I never fixed this, I never flushed
Miguel de Icaza [Thu, 13 Jun 2002 00:16:03 +0000 (00:16 -0000)]
Ooops.  No wonder people complained I never fixed this, I never flushed
this patch in the first place ;-)

* typemanager.cs (MethodFlags): returns the method flags
(Obsolete/ShouldIgnore) that control warning emission and whether
the invocation should be made, or ignored.

* expression.cs (Invocation.Emit): Remove previous hack, we should
not do this on matching a base type, we should do this based on an attribute

Only emit calls to System.Diagnostics.Debug and
System.Diagnostics.Trace if the TRACE and DEBUG defines are passed
on the command line.

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

22 years agoAdd new test
Miguel de Icaza [Wed, 12 Jun 2002 23:44:34 +0000 (23:44 -0000)]
Add new test

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

22 years ago2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jun 2002 20:59:37 +0000 (20:59 -0000)]
2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RadioButton.cs: mono-stylized and some little fixes.

* TextBox.cs: mono-stylized.
(MaxLength): fixed typo.

(AddAttributesToRender): don't render the text between the tags for
SingleLine, use value attribute for it. Don't render the text for
Password.

(OnPreRender): don't throw exception and call base.OnPreRender.

(Render): for MultiLine, render the text between the opening and
closing tags encoded as HTML.

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

22 years ago2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 12 Jun 2002 20:31:50 +0000 (20:31 -0000)]
2002-06-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* corrected Module.TypeAttr property getter in module.cs

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

22 years agoDoc updates
Miguel de Icaza [Wed, 12 Jun 2002 20:21:16 +0000 (20:21 -0000)]
Doc updates

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

22 years ago2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jun 2002 16:34:14 +0000 (16:34 -0000)]
2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButton.cs:
(AddAttributesToRender): fixer another stack overflow.

* WebControl.cs:
(TagName): modified to use TagKey instead of tagKey as the property
can be overriden.

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

22 years ago2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jun 2002 15:45:07 +0000 (15:45 -0000)]
2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs:
(Validators): if the collection is null, create one.
(GetPostBackEventReference 2): don't throw exception.
(GetPostBackClientEvent): return a string with containing the method
name, the control name and the argument.

* System.Web.UI.WebControls/LinkButton.cs: mono-stylized.
(AddParsedSubObject):
(RenderControls): little fixes.

* System.Web.UI.WebControls/WebControl.cs:
(AddAttributesToRender): fixed usage of IEnumerator.

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

22 years ago2002-06-12 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 12 Jun 2002 15:25:18 +0000 (15:25 -0000)]
2002-06-12  Dick Porter  <dick@ximian.com>

* daemon.c:
* daemon-messages.c: Handle SIGPIPE in a non-stupid way in the
daemon, if MSG_NOSIGNAL isn't available.  Thanks to Jaroslaw
Kowalski <jarek@atm.com.pl> for pointing out the bogosity.

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

22 years ago2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 12 Jun 2002 13:41:45 +0000 (13:41 -0000)]
2002-06-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged typemanager.cs from mcs/mcs

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

22 years ago2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jun 2002 13:02:52 +0000 (13:02 -0000)]
2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs: SetPage is now called SetDefaults and also
sets a default ID for controls that don't have one yet.

* System.Web.UI.WebControls/Literal.cs: beautified.

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

22 years ago2002-06-10 Jaroslaw Kowalski <jarek@atm.com.pl>
Dick Porter [Wed, 12 Jun 2002 12:29:57 +0000 (12:29 -0000)]
2002-06-10  Jaroslaw Kowalski <jarek@atm.com.pl>

* configure.in: added checks for MSG_NOSIGNAL

2002-06-10  Jaroslaw Kowalski <jarek@atm.com.pl>

* sockets.c, daemon-messages.c: Prevent SIGPIPE from being raised
when writing to a closed socket.

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

22 years ago2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jun 2002 12:10:40 +0000 (12:10 -0000)]
2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Label.cs: beautified and fixed a couple of 'classic' bugs.

* WebControl.cs: use Span as default tag when no other provided in
constructor. That is what MS renders.

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

22 years ago2002-06-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 12 Jun 2002 11:05:59 +0000 (11:05 -0000)]
2002-06-12   Nick Drochak  <ndrochak@gol.com>

* ConvertTest.cs: Punt bug in DateTime.Parse() over to that test.
* DateTimeTest.cs: Add test for date format of yyyy-mm-dd which mono
doesn't handle automagically like ms.net does.  This smells like a
LAMESPEC, however.

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

22 years ago2002-06-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 12 Jun 2002 11:02:53 +0000 (11:02 -0000)]
2002-06-12  Nick Drochak  <ndrochak@gol.com>

* DateTimeFormatInfo.cs: Reformat.

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

22 years agoMissing file from previous commit.
Paolo Molaro [Wed, 12 Jun 2002 10:49:21 +0000 (10:49 -0000)]
Missing file from previous commit.

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

22 years agoWed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 12 Jun 2002 10:48:30 +0000 (10:48 -0000)]
Wed Jun 12 16:32:13 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Marshal.c: stubbed out all the methods and filled in some
implementation.
* BINDPTR.cs, ComMemberType.cs, DESCKIND.cs, DISPPARAMS.cs,
EXCEPINFO.cs, INVOKEKIND.cs, TYPEKIND.cs, UCOMTypeInfo.cs,
UCOMTypeLib.cs: enums, interfaces and structs needed in Marshal class.

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

22 years agoWed Jun 12 16:30:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 12 Jun 2002 10:48:27 +0000 (10:48 -0000)]
Wed Jun 12 16:30:57 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c, marshal.c marshal.h: more Marshal class implementation.

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

22 years agochange version number from 0.11 to 0.12
Johannes Roith [Wed, 12 Jun 2002 10:48:14 +0000 (10:48 -0000)]
change version number from 0.11 to 0.12

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

22 years ago2002-06-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 12 Jun 2002 01:37:47 +0000 (01:37 -0000)]
2002-06-12  Duncan Mak  <duncan@ximian.com>

* XmlCharacterData.cs (Value): Throw an ArgumentException in the
set block if the node is read-only.

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

22 years ago2002-06-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 12 Jun 2002 01:26:40 +0000 (01:26 -0000)]
2002-06-12  Duncan Mak  <duncan@ximian.com>

* XmlCharacterData.cs (Value): Throw an ArgumentException if the
node is read-only.

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

22 years ago2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jun 2002 00:17:16 +0000 (00:17 -0000)]
2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs:
(GetPostBackClient):
(RegisterRequiresPostBack): don't throw NotImplementedException to
keep going.
(ProcessRequest): set the current page as the Page property for *all*
the controls, not just the direct children of the page.

* System.Web.UI.WebControls/Button.cs:
(AddAttributesToRender): fixed (classic) stack overflow.

* System.Web.UI.WebControls/CheckBox.cs: mono-stylized.
(AutoPostBack): fixed stack overflow.
(Render): fixed alignment issues. Also set the For attribute always
for the label.

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

22 years ago2002/06/12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 11 Jun 2002 22:21:49 +0000 (22:21 -0000)]
2002/06/12  Nick Drochak <ndrochak@gol.com>

* Random.cs (Next): Fix math error.  Return a number within the range.

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

22 years ago2002/06/12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 11 Jun 2002 22:19:51 +0000 (22:19 -0000)]
2002/06/12  Nick Drochak <ndrochak@gol.com>

* RandomTest.cs: Exercise Next(min,max) a little more, especially
boundary conditions.

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

22 years ago2002-6-5 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 11 Jun 2002 21:58:54 +0000 (21:58 -0000)]
2002-6-5 DennisHayes <dennish@raytek.com>
* Checked in for Jackson Harper (jackson@latitudegeo.com)
* ToolBar.cs
* ToolBarButton.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventArgs.cs
* TreeViewEventArgs.cs
* TreeViewImageIndexConverter.cs
* Just stubbs
* New files added, work in progress cleanup and mono style needed.

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

22 years ago2002-6-5 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 11 Jun 2002 21:57:12 +0000 (21:57 -0000)]
2002-6-5 DennisHayes <dennish@raytek.com>
* checked in  for Stefan Warnke (StefanW@POBox.com)
* UICuesEventArgs.cs
* UpDownBase.cs
* Just stubbs
* New files, work in progress, needs cleanup and mono style

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

22 years agoUpdated to reflect current status, roadmap and how to help
Gonzalo Paniagua Javier [Tue, 11 Jun 2002 21:50:37 +0000 (21:50 -0000)]
Updated to reflect current status, roadmap and how to help

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

22 years ago2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 11 Jun 2002 20:51:32 +0000 (20:51 -0000)]
2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: fixed bug #26133 and also test if the directory exist
before performing the search.

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

22 years ago2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 11 Jun 2002 19:37:03 +0000 (19:37 -0000)]
2002-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Caching/CacheDependency.cs: fixed a couple of typos and
don't throw NotImplementedException in constructors.

* System.Web.UI/Control.cs:
(MapPathSecure): until security is implemented, return the same path
received as argument.
(RenderControl): call OnPreRender before rendering the control. So
AdRotator can read its configuration file.Is there any other place
where this should be done?

* System.Web.UI/HtmlTextWriter.cs:
(AddAttribute): fixed. Now it really stores attributes.
(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).

* System.Web.UI.WebControls/AdRotator.cs: GetData does not work as it
should, but now it returns useful data (only the first ad in the file).
Set the NavigateUrl property in the hyperlink if available.

* System.Web.UI.WebControls/HyperLink.cs: fixed constructor and a
couple of stack overflows.

* System.Web.UI.WebControls/Image.cs: added an attribute and fixed
stack overflow.

* System.Web.UI.WebControls/WebControl.cs:
(RenderBeginTag): fixed.
(TagName): don't call Enum.IsDefined twice.

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

22 years ago2002-06-10 Rachel Hestilow <hestilow@ximian.com>
Rachel Hestilow [Tue, 11 Jun 2002 15:54:23 +0000 (15:54 -0000)]
2002-06-10  Rachel Hestilow  <hestilow@ximian.com>

* typemanager.cs (TypeManager.VerifyUnManaged): Allow
address-of operator on both value types and pointers.

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

22 years agoTue Jun 11 17:29:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Jun 2002 11:44:17 +0000 (11:44 -0000)]
Tue Jun 11 17:29:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: fix call convention.

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

22 years ago2002-06-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 11 Jun 2002 11:25:44 +0000 (11:25 -0000)]
2002-06-12  Nick Drochak  <ndrochak@gol.com>

* StringReaderTest.cs: Regression test for a bug that we had were
ReadLine() was not returning null when the string ended with newline.

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

22 years ago2002-06-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 11 Jun 2002 11:23:36 +0000 (11:23 -0000)]
2002-06-11  Nick Drochak  <ndrochak@gol.com>

* StringTest.cs: Check for "end of string" conditions for IndexOf() and
Substring().

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

22 years ago2002-06-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 11 Jun 2002 11:20:03 +0000 (11:20 -0000)]
2002-06-12  Nick Drochak  <ndrochak@gol.com>

* StringReader.cs (ReadLine): Return null when we get to end of the
string.

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

22 years ago2002-06-12 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 11 Jun 2002 11:18:21 +0000 (11:18 -0000)]
2002-06-12  Nick Drochak  <ndrochak@gol.com>

* String.cs (IndexOf): Return -1 if start index is equal to string
length.

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