mono.git
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

22 years agoTue Jun 11 16:52:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Jun 2002 11:07:34 +0000 (11:07 -0000)]
Tue Jun 11 16:52:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: mono_image_get_memberref_token()
takes a type instead of a class, now. Added
mono_image_get_array_token() to create tokens for the special
multi-dim array methods.

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

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

* DoubleTest.cs: Add some more detail to failure message.
* Int64Test.cs: Add some details, and fix a copy-paste error.
* UInt32Test.cs: Fix currency symbol/culture issues
* UInt64Test.cs: Fix currency symbol/culture issues

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

22 years agoTue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Jun 2002 08:25:42 +0000 (08:25 -0000)]
Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>

* get.c: handle modulerefs.
* main.c: fix --mscorlib argument handling.

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

22 years agoTue Jun 11 13:21:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Jun 2002 08:24:16 +0000 (08:24 -0000)]
Tue Jun 11 13:21:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* assembly.c: handle modules (no assembly table). Split
loading references in its own function.
* class.c: handle moduleref resolution scope.
* image.c, image.h: cache module name in image.

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 11 Jun 2002 00:38:28 +0000 (00:38 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.

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

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

* DateTimeTest.cs: Remove RunTest override and put culture manipulation
in SetUp and TearDown like the other tests.
* TimeZoneTest.cs: Same.

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 10 Jun 2002 21:45:23 +0000 (21:45 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* IMembershipCondition.cs (Equals): Add missing methods.

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 10 Jun 2002 21:30:43 +0000 (21:30 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* IEvidenceFactory.cs (Evidence): Added missing method.

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 10 Jun 2002 21:24:40 +0000 (21:24 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* IEvidenceFactory.cs (Evidence): Added missing method.

* SuppressUnmanagedCodeSecurityAttribute.cs:
* UnverifiableCodeAttribute.cs: Added missing
AttributeUsage attribute.

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

22 years ago2002-6-5 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 10 Jun 2002 21:24:07 +0000 (21:24 -0000)]
2002-6-5 DennisHayes <dennish@raytek.com>
* removed, code moved to main class files, Form.cs, ImageList.cs, LinkLabel.cs,
*   ListBox.cs, ListView.cs, ListViewItem.cs, Menu.cs, MonthCalendar.cs, ScrollableControl.cs
* Form.ControlCollectison.cs
* ImageList.ImageCollection.c
* LinkLabel.LinkCollection.cs
* ListBox.ObjectCollection.cs
* ListBox.SelectedIndexCollection.cs
* ListBox.SelectedObjectCollection.cs
* ListView.CheckedListViewItemCollection.cs
* ListView.CheckedIndexCollection.cs
* ListView.ColumnHeaderCollection.cs
* ListView.ListViewItemCollection.cs
* ListView.SelectedIndexCollection.cs
* ListView.SelectedListViewItemCollection.cs
* ListViewItem.ListViewSubItem.cs
* ListViewItem.ListViewSubItemCollection.cs
* Menu.MenuItemCollection.cs
* MonthCalendar.HitTestInfo.cs
* ScrollableControl.DockPaddingEdges.cs

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 10 Jun 2002 19:30:48 +0000 (19:30 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* Formatter.cs: Addd to CVS.

* FormatterConverter.cs: Added to CVS.

* SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.

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

22 years agoSome fixes, thanks to duncan
Rodrigo Moya [Mon, 10 Jun 2002 19:21:12 +0000 (19:21 -0000)]
Some fixes, thanks to duncan

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 10 Jun 2002 15:53:12 +0000 (15:53 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* Convert.cs (ToType): Added null field in conversionTable to avoid
IndexOutOfRangeException. Changed what exceptions we throw to match
the spec.

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

22 years ago2002-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 10 Jun 2002 14:40:43 +0000 (14:40 -0000)]
2002-06-10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged expression.cs and interface.cs from mcs/mcs

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

22 years ago2002-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 10 Jun 2002 13:20:06 +0000 (13:20 -0000)]
2002-06-10  Duncan Mak  <duncan@ximian.com>

* Convert.cs (ToDouble): Remove rounding in ToDouble (float).

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

22 years agoMon Jun 10 18:58:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 10 Jun 2002 13:12:50 +0000 (13:12 -0000)]
Mon Jun 10 18:58:18 CEST 2002 Paolo Molaro <lupus@ximian.com>

* PropertyBuilder.cs: implemented ReflectedType and DeclaringType
properties.

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

22 years ago2002-06-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 10 Jun 2002 12:32:35 +0000 (12:32 -0000)]
2002-06-11  Nick Drochak  <ndrochak@gol.com>

* Int64.cs (Parse): Added unique strings to the messages where we throw
a FormatException. Needed these to debug, so just left them in since
they might be useful later. Fixed Currency parsing where we weren't
looking at CurrencyDecimalSeparator, etc.

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

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

* SecurityElementTest.cs: Catch and report unexpected exceptions.

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

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

* Int64Test.cs: Set the culture to en-US for testing.
* MathTest.cs: mono is more precise in Log2, so change test to compare
values within a slightly larger margin of error.

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

22 years ago2002-06-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 10 Jun 2002 11:28:58 +0000 (11:28 -0000)]
2002-06-11  Nick Drochak  <ndrochak@gol.com>

* NumberFormatInfo.cs: Make NumberNegativePattern = 1 for the ctor

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

22 years ago2002-06-10 Dwivedi, Ajay kumar <adwiv@yahoo.com>
Ajay kumar Dwivedi [Mon, 10 Jun 2002 08:36:16 +0000 (08:36 -0000)]
2002-06-10  Dwivedi, Ajay kumar <adwiv@yahoo.com>
* XmlSchemaReader: A Wrapper class around XmlReader with customized
  methods to suit reading a schema.
* General: Implemented Read() method for the schema. There are only
  a few minor bugs remaining.

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