mono.git
22 years ago2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Apr 2002 07:27:24 +0000 (07:27 -0000)]
2002-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Attribute.cs: added GetHashCode and Equals.

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

22 years agoTweaks.
John Barnette [Sat, 13 Apr 2002 02:56:11 +0000 (02:56 -0000)]
Tweaks.

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

22 years agoUpdated to use ValueConstrainedArrayList.
John Barnette [Sat, 13 Apr 2002 02:55:33 +0000 (02:55 -0000)]
Updated to use ValueConstrainedArrayList.
ParameterDoc removed, as it was useless.

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

22 years ago2002-04-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 12 Apr 2002 21:15:43 +0000 (21:15 -0000)]
2002-04-12  Duncan Mak  <duncan@ximian.com>

* XmlAttribute.cs (Prefix): Added preliminary code for set block,
added comment on work that needs to be done here. A new MonoTODO item.

* XmlDocument.cs (ctor): Corrected constructor signature, changed
parameter from 'NameTable' to 'XmlNameTable'.

* XmlDocumentFragment.cs (InnerXml): Added missing set block.

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

22 years ago* Replace with the replacement string not the pattern ;-)
Adam Treat [Fri, 12 Apr 2002 20:45:53 +0000 (20:45 -0000)]
* Replace with the replacement string not the pattern ;-)

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

22 years ago2002-04-12 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 12 Apr 2002 18:54:11 +0000 (18:54 -0000)]
2002-04-12  Ravi Pratap  <ravi@ximian.com>

* expression.cs (VerifyArgumentsCompat): Implement Miguel's suggestion
and get rid of is_delegate parameter.

* everywhere : update.

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

22 years ago2002-04-12 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 12 Apr 2002 18:51:32 +0000 (18:51 -0000)]
2002-04-12  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (compilation_unit): Revamp completely to use
some new ideas that I got from Rhys' grammar to solve the problems
with assembly level attributes.

(outer_declaration): New grammar production.

(attribute_sections): Add.

(opt_attributes): Base on attribute_sections

(namespace_declaration): Allow opt_attributes to tackle the case
when we have assembly level attributes - we are clever in this
regard now ;-)

* attribute.cs (ApplyAttributes): Do not worry about assembly
attributes in the non-global context.

* rootcontext.cs (AddGlobalAttributes): Go back to using this
instead of SetGlobalAttributes.

* class.cs, rootcontext.cs : Ensure we define and generate
attribute types before anything else.

* attribute.cs (CheckAttribute and GetValidPlaces): Handle the exception
and flag the new error -20 for the case when the attribute type
does not have valid targets specified. csc does not catch this.

* ../errors/errors.txt : update for error # -20

2002-04-11  Ravi Pratap  <ravi@ximian.com>

* support.cs (InternalParameters.ParameterModifier): Do some null
checking and return sane values.

* class.cs (Method.Define): If we are a PInvoke method, ensure
that we are static and extern. Report error # 601

* ../errors/cs0601.cs : Add test case for the above error.

2002-04-07  Ravi Pratap  <ravi@ximian.com>

* rootcontext.cs (attribute_types): We need to keep type of
all attribute types separately and emit code for them first.

(RegisterAttribute) : Implement.

* class.cs (DefineType): Check if the current Type is a custom
attribute type and register it accordingly.

* rootcontext.cs (AddGlobalAttributes): Fix silly bug where we were
adding the first attribute twice and rename to

(SetGlobalAttributes): this.

* rootcontext.cs (NamespaceLookup): Run through the aliases too and perform
lookups.

* attribute.cs (ApplyAttributes): Take an additional argument telling us
if we are processing global arguments. Hmm, I am unsure of this.

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

22 years ago2002-04-05 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 12 Apr 2002 18:50:22 +0000 (18:50 -0000)]
2002-04-05  Ravi Pratap  <ravi@ximian.com>

* test-101.cs : Add test from Paolo.

* test-102.cs : Another test for attribute emission.

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

22 years agoAdd
Ravi Pratap M [Fri, 12 Apr 2002 18:25:13 +0000 (18:25 -0000)]
Add

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

22 years ago2002-04-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 12 Apr 2002 16:48:45 +0000 (16:48 -0000)]
2002-04-12  Duncan Mak  <duncan@ximian.com>

* SerializationException.cs: Added missing constructor for serialization.

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

22 years agoInitial revision.
John Barnette [Fri, 12 Apr 2002 16:40:28 +0000 (16:40 -0000)]
Initial revision.

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

22 years ago2002-04-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 12 Apr 2002 16:38:27 +0000 (16:38 -0000)]
2002-04-12  Duncan Mak  <duncan@ximian.com>

XmlCaseOrder.cs: Moved to here from System.Xml.

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

22 years ago2002-04-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 12 Apr 2002 16:37:44 +0000 (16:37 -0000)]
2002-04-12  Duncan Mak  <duncan@ximian.com>

XmlCaseOrder.cs: Moved to System.Xml.XPath.

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

22 years agoThis is a ValueType, return 0 instead of null.
Duncan Mak [Fri, 12 Apr 2002 16:22:10 +0000 (16:22 -0000)]
This is a ValueType, return 0 instead of null.

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

22 years ago2002-04-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 12 Apr 2002 16:19:30 +0000 (16:19 -0000)]
2002-04-12  Duncan Mak  <duncan@ximian.com>

* AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
property.

* AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
attribute.

* AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
Version.

* BindingFlags.cs: Added missing value "PutRefDispProperty".

* FieldAttributes.cs: Removed value "HasSecurity".

* ManifestResourceInfo.cs: Added missing properties FileName,
ReferencedAssembly and ResourceLocation.

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

22 years ago2002-04-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 12 Apr 2002 16:03:06 +0000 (16:03 -0000)]
2002-04-12  Martin Baulig  <martin@gnome.org>

* gdb-variable-scopes.patch: A patch for GDB (against the latest CVS version)
to implement variable lifetimes.

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

22 years agoWrite DW_AT.AT_begin_scope and DW_AT.AT_end_scope as addresses, not as offsets.
Martin Baulig [Fri, 12 Apr 2002 15:55:44 +0000 (15:55 -0000)]
Write DW_AT.AT_begin_scope and DW_AT.AT_end_scope as addresses, not as offsets.

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

22 years ago2002-04-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 12 Apr 2002 15:54:51 +0000 (15:54 -0000)]
2002-04-12  Martin Baulig  <martin@gnome.org>

* debug-dwarf2.c (dwarf2_write_variable): Emit info about the variable's
lifetime.

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

22 years agoOoops, it's an address, not an offset.
Martin Baulig [Fri, 12 Apr 2002 15:53:15 +0000 (15:53 -0000)]
Ooops, it's an address, not an offset.

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

22 years agoForgot about this
Duncan Mak [Fri, 12 Apr 2002 15:46:05 +0000 (15:46 -0000)]
Forgot about this

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

22 years ago2002-04-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 12 Apr 2002 15:40:36 +0000 (15:40 -0000)]
2002-04-12  Duncan Mak  <duncan@ximian.com>

* TargetInvocationException.cs: Added the missing constructors.

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

22 years ago2002-04-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 12 Apr 2002 15:30:55 +0000 (15:30 -0000)]
2002-04-12  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriter.cs (DieVariable): Provide info about the variable's
lifetime using DW_AT_begin_scope and a new baulig extension DW_AT_end_scope.

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

22 years ago2002-04-12 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 12 Apr 2002 15:27:29 +0000 (15:27 -0000)]
2002-04-12  Martin Baulig  <martin@gnome.org>

* debug-symfile.h (MonoDebugLocalInfo): New type. This contains the
stack offset and begin/end scope address of a local variable.
(MonoDebugMethodInfo): Replaced `guint32 *local_offsets' with
'MonoDebugLocalInfo *locals', added `prologue_end' and `epilogue_begin'.
(MONO_DEBUG_SYMBOL_FILE_VERSION): Increase to 8.

* debug-symfile.c (MRT_variable_start_scope, MRT_variable_end_scope):
Added new relocation types for start/end scope of a local variable.

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

22 years agoAdd new test
Miguel de Icaza [Fri, 12 Apr 2002 13:58:39 +0000 (13:58 -0000)]
Add new test

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

22 years agoFri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Apr 2002 12:43:39 +0000 (12:43 -0000)]
Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoMethod.cs: make Name property an icall.

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

22 years agoFri Apr 12 18:30:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Apr 2002 12:43:39 +0000 (12:43 -0000)]
Fri Apr 12 18:30:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.h: add mono_object_domain() macro.
* reflection.c: handle typespecs.
* icall.c: MonoMethod::get_Name() implementation.

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

22 years agoGet rid of debug print.
Paolo Molaro [Fri, 12 Apr 2002 12:39:04 +0000 (12:39 -0000)]
Get rid of debug print.

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

22 years ago2002-04-12 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 12 Apr 2002 11:07:36 +0000 (11:07 -0000)]
2002-04-12  Rodrigo Moya <rodrigo@ximian.com>

* status/maintainers.xml: added danmorg and myself for System.Data.*
classes.

* status/class.xml: added System.Data.* classes.

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

22 years agoadded NotifyCollectionHandler class and INotifyCollection
John Sohn [Fri, 12 Apr 2002 01:13:22 +0000 (01:13 -0000)]
added NotifyCollectionHandler class and INotifyCollection
interface to reduce duplicated code

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

22 years ago2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 12 Apr 2002 00:20:41 +0000 (00:20 -0000)]
2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: little improvements to Format ().

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

22 years ago2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 12 Apr 2002 00:16:02 +0000 (00:16 -0000)]
2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* expression.cs: added static array of strings to avoid calling
Enum.ToString () for Operator in Binary. Significant recover of
performance.

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

22 years ago2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Thu, 11 Apr 2002 19:03:18 +0000 (19:03 -0000)]
2002-04-12  Patrik Torstensson <patrik.torstensson@labs2.com>

* HttpApplication.cs: Minor updates
* HttpApplicationState.cs: Ready.
* HttpClientCertificate.cs: Signature updates
* HttpValueCollection.cs: ready
* HttpStaticObjectsCollection.cs: ready
* HttpResponseHeader.cs: made internal only
* HttpResponse.cs: Signature updates
* HttpPostedFile.cs: ready
* HttpCacheVaryByHeaders.cs: ready (except communication to policy)
* HttpCacheVaryByParams.cs: ready (except communication to policy)

System.Web is now over 60% ready..

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

22 years agoAdd
Ravi Pratap M [Thu, 11 Apr 2002 17:51:39 +0000 (17:51 -0000)]
Add

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

22 years ago2002-04-11 Patrik Torstensson
Patrik Torstensson [Thu, 11 Apr 2002 14:01:36 +0000 (14:01 -0000)]
2002-04-11 Patrik Torstensson

* Forgot to add new files (again...)

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

22 years ago2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Thu, 11 Apr 2002 13:59:28 +0000 (13:59 -0000)]
2002-04-11  Patrik Torstensson <patrik.torstensson@labs2.com>

* HttpException.cs: 95% ready, only windows dependent code left
* HttpFileCollection.cs: Finished.
* HttpRequest.cs: Minor fixes and fixed signature problems
* HttpResponse.cs: Implementation of missing methods and signature problems
* HttpResponseHeader.cs: Fixed signature problems
* HttpRuntime.cs: Fixed signature problems
* HttpServerUtility.cs: Added support for HttpApplication
* HttpSessionState.cs: Fixed signature issues
* HttpUtility.cs: fixed signature issues
* HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
* HttpWorkerRequest.cs: Fixed small signature issue
* HttpWriter.cs: Fixed signature issue
* HttpApplication.cs: Basic implementation
* HttpApplicationState.cs: Small fixes to support major change comming up
* HttpBrowserCapabilities.cs: Added Type method
* HttpClientCertificate.cs: Almost ready, needs to parse certificate.
* HttpContext.cs: Fixed signature issues and added last methods.
* HttpCookie.cs: Full implementation
* HttpCookieCollection.cs: Full implementation
* TraceContext.cs: Methods implemented.
* HttpPostedFile.cs: Placeholder
* HttpStaticObjectsCollection.cs: Placeholder
* HttpModuleCollection.cs: Ready, will be used during the major revamp.

* Fixed a number of other small signature problems also (class status page)

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

22 years agoAdd new links
Miguel de Icaza [Thu, 11 Apr 2002 08:03:48 +0000 (08:03 -0000)]
Add new links

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

22 years agoadded support for comparing values of static-literal fields
Piers Haken [Thu, 11 Apr 2002 07:04:05 +0000 (07:04 -0000)]
added support for comparing values of static-literal fields

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

22 years agoThu Apr 11 12:29:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 11 Apr 2002 06:40:17 +0000 (06:40 -0000)]
Thu Apr 11 12:29:14 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: String::GetHashCode() icall implementation.

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

22 years agoThu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 11 Apr 2002 06:40:15 +0000 (06:40 -0000)]
Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>

* String.cs: internalcall GetHashCode().
* Array.cS: optimize access to elements.

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

22 years ago2002-04-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Apr 2002 05:26:38 +0000 (05:26 -0000)]
2002-04-10  Miguel de Icaza  <miguel@ximian.com>

* class.cs (FindMembers): Allow the Builders of the various
members to be null.  If they are skip them.  This only happens
during the PInvoke declaration.

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

22 years agoThis is a useless class, and is better represented with a
John Barnette [Thu, 11 Apr 2002 01:55:26 +0000 (01:55 -0000)]
This is a useless class, and is better represented with a
Hashtable.  In a related news item, I'm an idiot.

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

22 years ago2002-04-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 10 Apr 2002 23:29:51 +0000 (23:29 -0000)]
2002-04-10  Duncan Mak  <duncan@ximian.com>

* XmlNodeReader.cs: Initial stubs for the class.

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

22 years ago2002-04-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 10 Apr 2002 23:28:18 +0000 (23:28 -0000)]
2002-04-10  Duncan Mak  <duncan@ximian.com>

* CaptionButton.cs:
* CharacterCasing.cs:
* CheckState.cs:
* DataGridParentRowsLabelStyle.cs:
* DialogResult.cs:
* DockStyle.cs:
* DragAction.cs:
* DragDropEffects.cs:
* DrawItemState.cs:
* DrawMode.cs:
* ErrorBlinkStyle.cs:
* ErrorIconAlignment.cs:
* FlatStyle.cs:
* FormBorderStyle.cs:
* FormStartPosition.cs:
* FormWindowState.cs:
* FrameStyle.cs: Fixed enum layouts with EnumCheck.

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

22 years ago* Initial checkin for all delegates *
Dennis Hayes [Wed, 10 Apr 2002 22:19:55 +0000 (22:19 -0000)]
* Initial checkin for all delegates *

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

22 years ago* Initial checkin for a number of enums *
Dennis Hayes [Wed, 10 Apr 2002 21:43:31 +0000 (21:43 -0000)]
* Initial checkin for a number of enums *

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

22 years agoCall notification event if changes occur during begin/end update
John Sohn [Wed, 10 Apr 2002 20:49:04 +0000 (20:49 -0000)]
Call notification event if changes occur during begin/end update

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

22 years ago * TraceListenerCollection.cs: Corrected indexer property to provide the
Jonathan Pryor [Wed, 10 Apr 2002 20:43:52 +0000 (20:43 -0000)]
  * TraceListenerCollection.cs: Corrected indexer property to provide the
    correct return value and implement the IList indexer property correctly.

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

22 years ago2002-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Apr 2002 20:12:48 +0000 (20:12 -0000)]
2002-04-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monoburg.c: added a default handler for warning messages that just
output the messages to stderr instead of stdout.

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

22 years agoimplementation of ArrayList and Hashtable class which enables notification
John Sohn [Wed, 10 Apr 2002 16:15:48 +0000 (16:15 -0000)]
implementation of ArrayList and Hashtable class which enables notification
when the contents are changed by an event

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

22 years agoDo not include signal/syscall header for Win32 build.
Sergey Chaban [Wed, 10 Apr 2002 16:00:17 +0000 (16:00 -0000)]
Do not include signal/syscall header for Win32 build.

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

22 years ago Makefile.am: don't exclude JIT from Win32 builds;
Sergey Chaban [Wed, 10 Apr 2002 15:32:08 +0000 (15:32 -0000)]
 Makefile.am: don't exclude JIT from Win32 builds;

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

22 years agoWed Apr 10 21:16:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Apr 2002 15:31:11 +0000 (15:31 -0000)]
Wed Apr 10 21:16:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: String::IndexOfAny icall.
* object.c, object.h: make array->max_length more useful.
Intrduced mono_object_class() and mono_string_length() macros.

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

22 years agoWed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Apr 2002 15:31:05 +0000 (15:31 -0000)]
Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* String.cs: make IndexOfAny() use an internalcall.

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

22 years agoChanges to support Win32 SEH, see ChangeLog for details.
Sergey Chaban [Wed, 10 Apr 2002 15:30:00 +0000 (15:30 -0000)]
Changes to support Win32 SEH, see ChangeLog for details.

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

22 years ago2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Apr 2002 13:13:45 +0000 (13:13 -0000)]
2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* UInt32.cs:
* Int64.cs:
* UInt64.cs: fixed error when testing for validity of flags.

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

22 years ago2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Apr 2002 13:00:08 +0000 (13:00 -0000)]
2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* unicode.c (ves_icall_System_Char_IsNumber): use g_unichar_isxdigit
instead of g_unichar_isdigit.

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

22 years agoForgot to commit.
Paolo Molaro [Wed, 10 Apr 2002 12:34:16 +0000 (12:34 -0000)]
Forgot to commit.

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

22 years ago2002-04-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 10 Apr 2002 11:29:57 +0000 (11:29 -0000)]
2002-04-11  Nick Drochak  <ndrochak@gol.com>

* Double.cs: Use an internal call for ToString(). This is just a simple
implementation to get away from throwing a NotImplementedException.

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

22 years ago2002-04-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 10 Apr 2002 11:27:22 +0000 (11:27 -0000)]
2002-04-11  Nick Drochak  <ndrochak@gol.com>

* icall.c: Implement a simple Double.ToString().

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

22 years ago2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Apr 2002 11:11:31 +0000 (11:11 -0000)]
2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Int32.cs:
* UInt32.cs:
* Int64.cs:
* UInt64.cs: changed Type.GetType () by typeof (), as suggested by
lupus.

* Int32.cs:
* Int64.cs: throw an OverFlowException when parsing a string
containing a dot followed by any non '0' number.

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

22 years ago2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 10 Apr 2002 10:57:51 +0000 (10:57 -0000)]
2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>

* Added System.Web.Hosting in the build

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

22 years agoWed Apr 10 16:07:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Apr 2002 10:19:00 +0000 (10:19 -0000)]
Wed Apr 10 16:07:23 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: quick implementation for opcodes needed by the new parse
routines in corlib.

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

22 years ago2002-04-10 Patrik Torstensson
Patrik Torstensson [Wed, 10 Apr 2002 09:11:49 +0000 (09:11 -0000)]
2002-04-10 Patrik Torstensson

* Updated to reflect the new runtime

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

22 years ago2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 10 Apr 2002 08:42:30 +0000 (08:42 -0000)]
2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>

        * ApplicationHost.cs: Test implementation to support testing.
        * SimpleWorkerRequest.cs: Rewrite and a almost full implementation.

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

22 years ago2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 10 Apr 2002 08:41:20 +0000 (08:41 -0000)]
2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>

    * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
    * Checkin of all new files (noted in last changenote)

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

22 years ago2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 10 Apr 2002 08:35:39 +0000 (08:35 -0000)]
2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>

    * HttpContext.cs: First implementation (basic support, few methods left to impl)
    * HttpException.cs: Partial implementation (basic support)
    * HttpHelper.cs: Header parse helper, used by runtime (non public)
    * HttpRequest.cs: Implementation (all methods there, not all fully impl)
    * HttpRequestStream.cs: Full implementation
    * HttpResponse.cs: Partial implementation(almost all methods)
    * HttpResponseHeader.cs: Header helper
    * HttpResponseStream.cs: Full implementation - Response stream support
    * HttpResponseStreamProxy.cs: Implementation - filter support
    * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
* HttpServerUtility.cs: Implemented usage of HttpContext for methods
                        and moved encoding functions to HttpUtility.

    * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
                      added the Attribute encoding functions.

    * HttpValueCollection.cs: Implementation.
    * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
    * HttpWriter.cs: Implementation (with filter support)

    * HttpFileCollection: Added dummy class (placeholder)
    * HttpApplication.cs: Added dummy class (placeholder)
    * HttpApplicationState.cs: Added dummy class (placeholder)
    * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
    * HtttpCachePolicy.cs: Added dummy class (placeholder)
    * HttpClientCertificate.cs: Added dummy class (placeholder)
    * HttpSessionState.cs: Added dummy class (placeholder)
    * TraceContext.cs: Added dummy class (placeholder)

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

22 years ago2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 10 Apr 2002 08:34:39 +0000 (08:34 -0000)]
2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>

* Changed build file to reflect the runtime changes
\1a

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

22 years ago2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 10 Apr 2002 08:33:36 +0000 (08:33 -0000)]
2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>

* System.Web -- Assembly build.

  The basic runtime support is now working, we can now start working
  on the runtime flow system (thread pool etc) and also start testing
  the parser and control framework. (224 files are compiled)

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

22 years ago2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Apr 2002 07:42:36 +0000 (07:42 -0000)]
2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Byte.cs:
* UInt16.cs:
* UInt32.cs:
* UInt64.cs: added complex Parse ().

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

22 years agoWed Apr 10 12:57:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 10 Apr 2002 07:08:22 +0000 (07:08 -0000)]
Wed Apr 10 12:57:31 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ILGenerator,cs: use a stack to keep track of exception blocks.

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

22 years ago2002-04-10 Patrik Torstensson
Patrik Torstensson [Wed, 10 Apr 2002 03:49:06 +0000 (03:49 -0000)]
2002-04-10 Patrik Torstensson

* Added myself as Author

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

22 years ago* Initial checkin for all interfaces *
Dennis Hayes [Tue, 9 Apr 2002 23:13:49 +0000 (23:13 -0000)]
* Initial checkin for all interfaces *

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

22 years ago2002/04/10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 9 Apr 2002 22:17:48 +0000 (22:17 -0000)]
2002/04/10  Nick Drochak <ndrochak@gol.com>

* HttpServerUtility.cs: Fix build breaker.

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

22 years ago2002-04-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 9 Apr 2002 15:46:13 +0000 (15:46 -0000)]
2002-04-09  Miguel de Icaza  <miguel@ximian.com>

* parameter.cs (Parameters.ComputeParameterTypes): Flag the
failure, so we do not keep going afterwards.

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

22 years agoTue Apr 9 21:31:16 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Apr 2002 15:42:40 +0000 (15:42 -0000)]
Tue Apr 9 21:31:16 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.h: only io-layer.h is supposed to be included.
* icall.c: explicitly import environ. Fix warning.

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

22 years agoAdded paragraphs on plagarism requested by Miguel.
John Barnette [Tue, 9 Apr 2002 13:52:16 +0000 (13:52 -0000)]
Added paragraphs on plagarism requested by Miguel.

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

22 years agoAdded constructor that takes a HttpContext
Patrik Torstensson [Tue, 9 Apr 2002 13:23:04 +0000 (13:23 -0000)]
Added constructor that takes a HttpContext

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

22 years agoRemove conflict
Miguel de Icaza [Tue, 9 Apr 2002 12:10:36 +0000 (12:10 -0000)]
Remove conflict

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

22 years ago2002-04-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 9 Apr 2002 12:08:43 +0000 (12:08 -0000)]
2002-04-09  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: (Invocation.OverloadResolve): I believe Ravi
wanted to pass `false' as the `is_delegate' argument.  If this is
the case, why not use delegate_type == null to mean `is_delegate =
false' and anything else as is_delegate = true.

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

22 years ago2002-04-10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 9 Apr 2002 11:34:50 +0000 (11:34 -0000)]
2002-04-10  Nick Drochak  <ndrochak@gol.com>

* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData) :
return true even if it's not Daylight Savings time.
Only return false for the case where the function isn't
implemented for a plaform (read Windows).

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

22 years ago2002-04-09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 9 Apr 2002 09:52:37 +0000 (09:52 -0000)]
2002-04-09  Nick Drochak  <ndrochak@gol.com>

* ArrayTest.cs: Remove BinarySearch test on unsorted arrays. The
behavior is undefined if the array isn't sorted.

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

22 years ago2002-04-09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 9 Apr 2002 09:50:21 +0000 (09:50 -0000)]
2002-04-09  Nick Drochak  <ndrochak@gol.com>

* Array.cs (BinarySearch): Add checks on paramters before using them
and throw exceptions as needed.

* Enum.cs (Format): Check if [Flags] is applied to enum and convert
"G" format to "F" if so.

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

22 years agoTue Apr 9 05:40:12 2002 Piers Haken <piersh@friskit.com>
Piers Haken [Tue, 9 Apr 2002 08:43:36 +0000 (08:43 -0000)]
Tue Apr  9 05:40:12  2002 Piers Haken <piersh@friskit.com>

* statement.cs: fixed SimpleSwitchEmit to make 'goto case' goto the
code for the section, not the beginning of the tests.

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

22 years agoTue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Apr 2002 07:22:59 +0000 (07:22 -0000)]
Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoCustomAttrs.cs: return arrays of type Attribute[]
instead of object[].

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

22 years agoTue Apr 9 13:08:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Apr 2002 07:19:31 +0000 (07:19 -0000)]
Tue Apr 9 13:08:26 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: make the interp thread-safe wrt the metadata lib.

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

22 years agoTue Apr 9 13:05:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Apr 2002 07:17:41 +0000 (07:17 -0000)]
Tue Apr 9 13:05:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.h, appdomain.c, class.c, object.c: protect MonoDomain
data with a mutex.

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

22 years ago2002/04/09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 9 Apr 2002 06:37:25 +0000 (06:37 -0000)]
2002/04/09  Nick Drochak <ndrochak@gol.com>

* DecimalTest.cs: Use AssertEquals() for better diagnostic message.

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

22 years ago2002-04-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 9 Apr 2002 06:35:10 +0000 (06:35 -0000)]
2002-04-09  Dietmar Maurer  <dietmar@ximian.com>

* mempool.c (mono_mempool_alloc): only use g_malloc when
absolutely necessary.

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

22 years ago2002-04-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 9 Apr 2002 05:41:09 +0000 (05:41 -0000)]
2002-04-09  Dietmar Maurer  <dietmar@ximian.com>

* delegate.c (arch_end_invoke): restore output arguments

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

22 years agoInnerXml, OuterXml, WriteContentTo, and WriteTo for most XmlNode derivatives.
Kral Ferch [Tue, 9 Apr 2002 01:38:59 +0000 (01:38 -0000)]
InnerXml, OuterXml, WriteContentTo, and WriteTo for most XmlNode derivatives.

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

22 years agoInitial check-in.
Kral Ferch [Tue, 9 Apr 2002 01:37:48 +0000 (01:37 -0000)]
Initial check-in.

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

22 years ago2002/04/09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 9 Apr 2002 01:15:37 +0000 (01:15 -0000)]
2002/04/09  Nick Drochak <ndrochak@gol.com>

* String.cs (Substring): Copy only non-null characters to the new
string.

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

22 years agoDebugger.cs: Added [MonoTODO] attribute to methods; modified IsLogging()
Jonathan Pryor [Mon, 8 Apr 2002 22:25:20 +0000 (22:25 -0000)]
Debugger.cs: Added [MonoTODO] attribute to methods; modified IsLogging()
and Log() so that System.Diagnostics.DefaultTraceListener could use them
without having NotImplementedException's thrown, as the functionality
DefaultTraceListener is using is non-critical.

The DefaultTraceListener simply checks to see if a debugger is attached, and
if so, invokes Log().  Since we don't currently support a debugger, we can
have IsLogging() simply return false, allowing DefaultTraceListener to
continue on its merry way.

The benefit of this is that when the Debugger class is fully functional, we
won't have to worry about correcting the DefaultTraceListener.  It should
"Just Work".  (Famous last words, I know...)

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

22 years ago2002-04-09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 8 Apr 2002 22:14:10 +0000 (22:14 -0000)]
2002-04-09  Nick Drochak <ndrochak@gol.com>

* Activator.cs: Small header copy-paste error fix.

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

22 years agoThe 'Debugger' class (1) already exists (in the corlib assembly), and
Jonathan Pryor [Mon, 8 Apr 2002 22:13:22 +0000 (22:13 -0000)]
The 'Debugger' class (1) already exists (in the corlib assembly), and
(2) is supposed to be in the corlib assembly.  Two strikes against me for
not reading the @#$% docs closely enough to figure this out.

Remove the files I added, as they're unnecessary.

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

22 years agoAdded 'Debugger.cs', which is used by 'DefaultTraceListener'.
Jonathan Pryor [Mon, 8 Apr 2002 22:02:43 +0000 (22:02 -0000)]
Added 'Debugger.cs', which is used by 'DefaultTraceListener'.

It's just stubbed out for now.

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

22 years agoFix ASCIIEncoding.GetString(bytes[],index,count); it was misbehaving when index=0...
John Donagher [Mon, 8 Apr 2002 21:51:50 +0000 (21:51 -0000)]
Fix ASCIIEncoding.GetString(bytes[],index,count); it was misbehaving when index=0 and count=bytes.length

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

22 years ago2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Apr 2002 20:26:36 +0000 (20:26 -0000)]
2002-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SByte.cs:
* Int16.cs:
* Int32.cs:
* Int64.cs: added complex Parse ().

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

22 years agoalignment fixes
Dietmar Maurer [Mon, 8 Apr 2002 13:06:49 +0000 (13:06 -0000)]
alignment fixes

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

22 years ago2002-04-08 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 8 Apr 2002 12:17:43 +0000 (12:17 -0000)]
2002-04-08  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_vtable): use domain mempool to allocate vtable
(mono_class_proxy_vtable): use domain mempool

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