mono.git
22 years agoThu Jan 24 17:41:06 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 24 Jan 2002 12:49:03 +0000 (12:49 -0000)]
Thu Jan 24 17:41:06 CET 2002 Paolo Molaro <lupus@ximian.com>

* glob.c: fix typo.

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

22 years ago2002-01-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Jan 2002 11:13:26 +0000 (11:13 -0000)]
2002-01-24  Miguel de Icaza  <miguel@ximian.com>

* StructLayoutAttribute.cs: Flag attribute as targetting structs
or classes.

* InAttribute.cs: Flag attribute as targettting a paramter

* OutAttribute.cs: ditto.

* DllImportAttribute.cs: Flag attribute as targetting methods.

* MarshalAsAttribute.cs: Flag attribute as targetting fields,
parameters and returnvalues.

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

22 years agoThu Jan 24 12:59:23 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 24 Jan 2002 08:07:34 +0000 (08:07 -0000)]
Thu Jan 24 12:59:23 CET 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: ignore "file://" prefix when loading an assembly.

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

22 years ago2002-01-24 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Thu, 24 Jan 2002 07:15:15 +0000 (07:15 -0000)]
2002-01-24    Gaurav Vaish <gvaish@iitk.ac.in>

* .cvsignore -- Ignore *.exe

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

22 years ago2002-24-02 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Thu, 24 Jan 2002 04:14:05 +0000 (04:14 -0000)]
2002-24-02   Gaurav Vaish <gvaish@iitk.ac.in>

* *.cs -- Updates from Leen Toelen (toelen@hotmail.com)

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

22 years agoAdd --root command line
Miguel de Icaza [Thu, 24 Jan 2002 01:20:56 +0000 (01:20 -0000)]
Add --root command line

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Jan 2002 01:07:06 +0000 (01:07 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* glob.c (mono_glob_compile): Make the glob expression contain ^
and $ at the beginning and end respectively.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Jan 2002 01:00:53 +0000 (01:00 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* x86/tramp.c (mono_create_trampoline): Do not try to create a
mono_string_new if the return value from the PInvoke code is
NULL.

2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* genwrapper.pl: Added wrappers for the mono_glob functions.

* glob.c: New file, with globing functions used by the Directory
code.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Jan 2002 00:59:13 +0000 (00:59 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* Unix/Errno.cs: Added

* Unix/Wrapper.cs: Updated to new Wrapper

2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* FileInfo.c (CopyTo, MoveTo): Implement.

* FileStream.cs: Add argument checking to the constructor.

* File.cs: Rewrote most of the file.  Implement Copy, Open, Create,
OpenText, OpenWrite, Move.  Made pending methods flagged as MonoTODO.

* Directory.cs (Delete): reimplement without using DirectoryInfo.
(Delete): Implement the recursive version.
(GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
(Move): Reimplement.
(getNames): dead code removal.

* Path.cs: define an internal DirectorySeparatorStr that we use in
a few spots.

* Wrapper.cs: Updated to new version.

* DirectoryInfo (Delete): Implement using the Directory API.

2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* DateTime.cs (UnixEpoch): The Begining of the Unix epoch.

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

22 years ago2002-01-23 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 24 Jan 2002 00:58:39 +0000 (00:58 -0000)]
2002-01-23  Duncan Mak  <duncan@ximian.com>

    * DebuggerStepThroughAttribute.cs:
    * DebuggerHiddenAttribte.cs: Add to CVS.

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

22 years ago2002-01-23 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 24 Jan 2002 00:57:12 +0000 (00:57 -0000)]
2002-01-23  Duncan Mak  <duncan@ximian.com>

    * AssemblyAlgorithmIdAttribute.cs:
    * AssemblyCompanyAttribute.cs:
    * AssemblyConfigurationAttribute.cs:
    * AssemblyCopyrightAttribute.cs:
    * AssemblyCultureAttribute.cs:
    * AssemblyDefaultAliasAttribute.cs:
    * AssemblyDelaySignAttribute.cs:
    * AssemblyDescriptionAttribute.cs:
    * AssemblyFileVersionAttribute.cs:
    * AssemblyFlagsAttribute.cs:
    * AssemblyInformationalVersionAttribute.cs:
    * AssemblyKeyFileAttribute.cs:
    * AssemblyKeyNameAttribute.cs:
    * AssemblyNameProxy.cs:
    * AssemblyProductAttribute.cs:
    * AssemblyTitleAttribute.cs:
    * AssemblyTradeMarkAttribute.cs:
    * AssemblyVersionAttribute.cs:
    * CustomAttributeFormatException.cs:
    * InvalidFilterCriteriaException.cs:
    * TargetParameterCountException.cs: Added.

2002-01-23  Duncan Mak  <duncan@ximian.com>

    * FileDialogPermissionAccess.cs: Add to CVS.

    2002-01-23  Duncan Mak  <duncan@ximian.com>

    * EntryPointNotFoundException.cs:
    * FormatException: Added missing constructor and related bits.

    * TypeLoadException: Added missing constructor, methods and
      properties.

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

22 years agoAdd utime
Miguel de Icaza [Wed, 23 Jan 2002 22:20:46 +0000 (22:20 -0000)]
Add utime

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 21:33:02 +0000 (21:33 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* wrapper.c: Changed things so that we can propagate ERRNO back.

Include stdio.h and unistd.h to remove a couple of warnings.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 21:10:25 +0000 (21:10 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* NetworkStream.cs: Implement class.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 20:05:45 +0000 (20:05 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
Delete, Create, Parent, Exists, MoveTo): Implement.

* Directory.cs (GetListing): implement new utility function.
(GetDirectories): Implement.
(GetFileSystemEntries): Implement.
(GetFiles): Implement.

* CheckArgument.cs (Path): Do not allow null by default.

2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* Unix/Wrapper.cs: Updated to new Wrapper

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 20:04:33 +0000 (20:04 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* genwrapper.pl: Added support for flagging non-CLS compliant
classes and structs with CLSCompliant(false).

Added mkdir, rmdir and rename wrappers.

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

22 years ago2002-01-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 23 Jan 2002 19:36:47 +0000 (19:36 -0000)]
2002-01-24  Nick Drochak  <ndrochak@gol.com>

* ResourceReader.cs: Implemented constructors. Started on the
GetEnumerator() method.  Not done yet, but comitting for
'disaster recovery' purposes.

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

22 years ago2002-01-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 23 Jan 2002 19:31:48 +0000 (19:31 -0000)]
2002-01-24  Nick Drochak  <ndrochak@gol.com>

        * ResourceReaderTest.cs: Add new file. This test is not done yet.
        Wanted to save it in cvs for 'disaster recovery' purposes.
        Just in case.

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

22 years agoAdded the MIS web server
Dick Porter [Wed, 23 Jan 2002 19:27:53 +0000 (19:27 -0000)]
Added the MIS web server

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

22 years ago2002-01-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Jan 2002 19:19:34 +0000 (19:19 -0000)]
2002-01-23  Dick Porter  <dick@ximian.com>

* System.build: Start build System.Net.Sockets.Socket.cs,
TcpClient.cs and TcpListener.cs

2002-01-23  Dick Porter  <dick@ximian.com>

* SocketException.cs: Implemented

* Socket.cs: Implemented most methods

* LingerOption.cs: Made compile

* AddressFamily.cs: Removed empty auto-generated comments

2002-01-23  Dick Porter  <dick@ximian.com>

* SocketAddress.cs: Implemented.

* IPEndPoint.cs: Turned 'Address' field into a real property.
Implemented Create() and Serialize() methods.

* IPAddress.cs: Fixed class constructor, turned 'Address' field
into a real property. Removed undocumented "public
IPAddress(string)" constructor.

* EndPoint.cs: Implemented.  All methods return
NotSupportedException to enforce subclass overriding.

* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
P/Invokes with portable internal calls.

2002-01-23  Dick Porter  <dick@ximian.com>

* Win32Exception.cs: implement, with support for looking up
runtime errors.

2002-01-23  Dick Porter  <dick@ximian.com>

* Marshal.cs: Added GetLastWin32Error()

* ExternalException.cs: Implemented

2002-01-23  Dick Porter  <dick@ximian.com>

* System.Xml/XmlNode.cs: Fixed IndexerName attribute so it
compiles under .net 1.0

2002-01-23  Dick Porter  <dick@ximian.com>

* Linux.cs: GetFileTime and SetFileTime need to be static

2002-01-23  Dick Porter  <dick@ximian.com>

* ManualResetEvent.cs:
* AutoResetEvent.cs: Fixed DOS line endings

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

22 years ago2002-01-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Jan 2002 19:17:33 +0000 (19:17 -0000)]
2002-01-23  Dick Porter  <dick@ximian.com>

* socket-io.c:
* icall.c:
* Makefile.am: Added socket support

2002-01-23  Dick Porter  <dick@ximian.com>

* sockets.c: Networking support, mostly wrapping BSD socket APIs
with handle code, and translating errno into w32 error codes.

* macros.h: Some w32 macros used with the socket support

* error.c: Implemented GetLastError() and SetLastError()

* Makefile.am: Added sockets, with kludge to override some symbols

2002-01-23  Dick Porter  <dick@ximian.com>

* interp.c: Added some kludges to cope with CONV_OVF_I2,
CONV_OVF_I4 and ADD_OVF so that number formatting works.  Also
initialise and cleanup the network support.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 18:02:41 +0000 (18:02 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* icall.c (ves_icall_appdomain_get_default_assemblies): put this
code back.  This should return the assemblies that are loaded by
the runtime on behalf of an application domain.

The current implementation is still broken, it just returns every
assembly loaded, but until we get real applications domain this
will do.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 17:59:32 +0000 (17:59 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* AppDomain.cs (GetAssemblies): Use foreach construct instead of
manually getting the enumerator.

(AppDomain.AppDomain): Prime the loaded assemblies with the
assemblies loaded by the runtime in our behalf.

* AppDomainSetup.cs: Remove private keyword, that is the default.
Add a new property DisallowPublisherPolicy.

2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* Assembly.cs (Assembly.CodeBase): Implement.
(Assembly.FullName): simplistic and broken implementation.  Gets
us where we were yesterday.

Code style fix.

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

22 years agomore bug fixes
Dietmar Maurer [Wed, 23 Jan 2002 09:51:00 +0000 (09:51 -0000)]
more bug fixes

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

22 years agoadded some AppDomain methods
Dietmar Maurer [Wed, 23 Jan 2002 09:49:10 +0000 (09:49 -0000)]
added some AppDomain methods

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 03:28:31 +0000 (03:28 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* AppDomain.cs (AppDomain.GetAssemblies): Implement.

2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* Assembly.cs (Assembly.CodeBase): Implement.

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

22 years ago2002-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Jan 2002 03:27:05 +0000 (03:27 -0000)]
2002-01-23  Miguel de Icaza  <miguel@ximian.com>

* icall.c (ves_icall_appdomain_get_cur_domain): Cache the value of
the mono_class_from_name lookup.
(ves_icall_get_parameter_info): ditto.
(ves_icall_appdomain_get_assemblies, add_assembly): Implement new internal
method.
(ves_icall_System_Reflection_Assembly_get_code_base): Another new call.

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

22 years agoFix build
Miguel de Icaza [Wed, 23 Jan 2002 02:28:05 +0000 (02:28 -0000)]
Fix build

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

22 years agoUpdate resources
Miguel de Icaza [Wed, 23 Jan 2002 02:14:03 +0000 (02:14 -0000)]
Update resources

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

22 years agoUpdate web site
Miguel de Icaza [Wed, 23 Jan 2002 02:10:15 +0000 (02:10 -0000)]
Update web site

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

22 years agoTry Gaurav's
Miguel de Icaza [Wed, 23 Jan 2002 02:02:29 +0000 (02:02 -0000)]
Try Gaurav's

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:52:37 +0000 (01:52 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:50:50 +0000 (01:50 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:48:54 +0000 (01:48 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:47:37 +0000 (01:47 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:46:52 +0000 (01:46 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:44:34 +0000 (01:44 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:43:49 +0000 (01:43 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:43:31 +0000 (01:43 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:42:11 +0000 (01:42 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:40:32 +0000 (01:40 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:35:27 +0000 (01:35 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:33:55 +0000 (01:33 -0000)]
testing the scripts

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

22 years agotesting the scripts
Miguel de Icaza [Wed, 23 Jan 2002 01:32:51 +0000 (01:32 -0000)]
testing the scripts

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

22 years ago2002-01-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 22 Jan 2002 19:52:13 +0000 (19:52 -0000)]
2002-01-22  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FieldExpr.Emit): Release temporaries.

* assign.cs (LocalTemporary.Release): new function.

* codegen.cs (EmitContext.GetTemporaryStorage,
EmitContext.FreeTemporaryStorage): Rework the way we deal with
temporary storage.  Now we can "put back" localbuilders when we
are done with them

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

22 years agoTue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Jan 2002 18:09:47 +0000 (18:09 -0000)]
Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>

* IReflect.cs: corrected GetMember() return type.
* InterfaceMapping.cs, TypeDelegator.cs: implemented.

Tue Jan 22 23:01:11 CET 2002 Paolo Molaro <lupus@ximian.com>

* EnumBuilder.cs, TypeBuilder.cs: updates for changes in Type.cs.
* ModuleBuilder.cs: fix lookup of nested types.

Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>

* DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
assembly in corlib.

Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoType.cs, Type.cs: many updates, corrected implementation,
completed stubs.

Tue Jan 22 22:50:29 CET 2002 Paolo Molaro <lupus@ximian.com>

* Linux.cs: comment out call to Debug.Assert(): stuff from the System
assembly cannot be used in corlib.

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

22 years agoTue Jan 22 22:43:47 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 22 Jan 2002 18:09:44 +0000 (18:09 -0000)]
Tue Jan 22 22:43:47 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: load also nested classes on class init.
System.ValueType instance methods gets passed boxed
values, unless methods in derived classed that get a pointer to the
data.
* icall.c: use better name parsing code in GetType().
* image.c, image.h: add mono_image_loaded ().
* metadata.c, metadata.h: add mono_metadata_nesting_typedef ().
* reflection.c, reflection.h: added mono_reflection_parse_type().

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

22 years ago2002-01-22 Aaron Weber <aaron@ximian.com>
Aaron Weber [Tue, 22 Jan 2002 14:29:10 +0000 (14:29 -0000)]
2002-01-22  Aaron Weber  <aaron@ximian.com>

* doc/testing: typo.

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

22 years ago2002-22-01 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Tue, 22 Jan 2002 00:10:47 +0000 (00:10 -0000)]
2002-22-01    Gaurav Vaish <gvaish@iitk.ac.in>

* class.xml   --- Update.

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

22 years ago2002-01-22 Veronica De Santis <veron78@interfree.it>
Veronica De Santis [Mon, 21 Jan 2002 22:50:33 +0000 (22:50 -0000)]
2002-01-22 Veronica De Santis <veron78@interfree.it>

in mono/mono/metadata/
        * icall.c : Added mapping of internal calls for Manual and Auto reset events
        * threads.c : Added the implementation of internal calls for events
        * threads.h : Added prototypes of internal calls for events

in mcs/class/corlib/System.Threading/
        * NativeEventCalls : Class that contains internal calls shared by Auto
                             and Manual Reset Events
        * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
        * ManualResetEvents.cs : Added class ManualResetEvents and its implementation

also added 2 tests in mono/mono/tests/
* autoresetevents.cs
* manualresetevents.cs

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

22 years ago2002-01-22 Veronica De Santis <veron78@interfree.it>
Veronica De Santis [Mon, 21 Jan 2002 22:50:33 +0000 (22:50 -0000)]
2002-01-22 Veronica De Santis <veron78@interfree.it>

in mono/mono/metadata/
        * icall.c : Added mapping of internal calls for Manual and Auto reset events
        * threads.c : Added the implementation of internal calls for events
        * threads.h : Added prototypes of internal calls for events

in mcs/class/corlib/System.Threading/
        * NativeEventCalls : Class that contains internal calls shared by Auto
                             and Manual Reset Events
        * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
        * ManualResetEvents.cs : Added class ManualResetEvents and its implementation

also added 2 tests in mono/mono/tests/
* autoresetevents.cs
* manualresetevents.cs

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

22 years agoppc changes
Radek Doulik [Mon, 21 Jan 2002 20:06:20 +0000 (20:06 -0000)]
ppc changes

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

22 years agoNew files (IFieldInfo.cs,ISoapMessage.cs,ChangeLog)
David Dawkins [Mon, 21 Jan 2002 17:55:28 +0000 (17:55 -0000)]
New files (IFieldInfo.cs,ISoapMessage.cs,ChangeLog)

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

22 years agostatus updates for System.IO
Dietmar Maurer [Mon, 21 Jan 2002 14:09:31 +0000 (14:09 -0000)]
status updates for System.IO

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

22 years agoupdates for System.Text namespace
Dietmar Maurer [Mon, 21 Jan 2002 13:22:36 +0000 (13:22 -0000)]
updates for System.Text namespace

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

22 years agofix various alignment problems
Dietmar Maurer [Mon, 21 Jan 2002 10:05:51 +0000 (10:05 -0000)]
fix various alignment problems

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

22 years ago2002-01-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 21 Jan 2002 08:33:16 +0000 (08:33 -0000)]
2002-01-21  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FieldExpr.Emit): Handle initonly fields specially: we
need to make a copy of the variable to generate verifiable code.

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

22 years agoUpdate TODO
Miguel de Icaza [Mon, 21 Jan 2002 08:18:03 +0000 (08:18 -0000)]
Update TODO

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

22 years agoFix a typo
Dick Porter [Sun, 20 Jan 2002 20:52:50 +0000 (20:52 -0000)]
Fix a typo

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

22 years agoanother typo. i'm feeling embarrassed now.
Duncan Mak [Sun, 20 Jan 2002 20:48:46 +0000 (20:48 -0000)]
another typo. i'm feeling embarrassed now.

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

22 years agoThis is gonna be painful, fixing typos i just introduced ;-(
Duncan Mak [Sun, 20 Jan 2002 20:47:41 +0000 (20:47 -0000)]
This is gonna be painful, fixing typos i just introduced ;-(

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

22 years agoBeh, typo
Duncan Mak [Sun, 20 Jan 2002 20:27:04 +0000 (20:27 -0000)]
Beh, typo

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

22 years ago2002-01-20 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 20 Jan 2002 20:26:26 +0000 (20:26 -0000)]
2002-01-20  Duncan Mak  <duncan@ximian.com>

    * *Attribute.cs: Implemented all the MonoTODOs in the attributes.

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

22 years ago12-01-20 Andrei Zmievski <andrei@php.net>
Andrei Zmievski [Sun, 20 Jan 2002 19:57:20 +0000 (19:57 -0000)]
12-01-20  Andrei Zmievski <andrei@php.net>

    * Byte.cs:
    * Char.cs: implemented IConvertible interface.

    * Boolean.cs: use our own ToString() method directly.

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

22 years agoHuge indentation fix. Don't worry, I tested so no typos were introduced. ;-)
Duncan Mak [Sun, 20 Jan 2002 13:58:36 +0000 (13:58 -0000)]
Huge indentation fix. Don't worry, I tested so no typos were introduced. ;-)

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

22 years ago2002-01-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 20 Jan 2002 04:05:46 +0000 (04:05 -0000)]
2002-01-20 Nick Drochak  <ndrochak@gol.com>

* on the 'test' target, make sure NUnit is built first before building
and running tests

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

22 years ago2002-01-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 20 Jan 2002 03:39:28 +0000 (03:39 -0000)]
2002-01-20 Nick Drochak  <ndrochak@gol.com>

* BitArrayTest.cs: wrapped try-catch blocks around several of the tests.
NUnit doesn't properly catch exception here anymore.  Must be something
to do with upgrading to .NET.1.0.

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

22 years ago2002-01-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 20 Jan 2002 03:15:56 +0000 (03:15 -0000)]
2002-01-20 Nick Drochak  <ndrochak@gol.com>

* AllTests.cs: removed duplicate MemoryStream test
* MemoryStreamTest.cs: wrapped try-catch blocks around read/write/seek
tests. These were throwing exceptions that NUnit wasn't catching.  I
don't think it used to behave this way before .NET.1.0.

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

22 years ago2002-01-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 20 Jan 2002 02:03:29 +0000 (02:03 -0000)]
2002-01-20 Nick Drochak  <ndrochak@gol.com>

* SeekOrigin.cs: Added Serializable attribute.

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

22 years ago2002-01-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 20 Jan 2002 02:02:02 +0000 (02:02 -0000)]
2002-01-20 Nick Drochak  <ndrochak@gol.com>

* SerializableAttribute.cs: this attrib can be used on enums, structs,
and delegates too. Added the appropriate usage flags.

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

22 years agoAdded.
Miguel de Icaza [Sat, 19 Jan 2002 21:39:07 +0000 (21:39 -0000)]
Added.

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

22 years ago * removed binaries that get built
Nick Drochak [Sat, 19 Jan 2002 20:43:00 +0000 (20:43 -0000)]
* removed binaries that get built

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

22 years ago2002-01-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Jan 2002 20:42:53 +0000 (20:42 -0000)]
2002-01-19  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Compute dynamically the system directory.

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

22 years ago2002-01-20 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 19 Jan 2002 20:18:40 +0000 (20:18 -0000)]
2002-01-20  Dick Porter  <dick@ximian.com>

* threads.h:
* threads.c: Replaced all instances of WapiHandle * with HANDLE,
so it compiles on w32.

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

22 years ago2002-01-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 19 Jan 2002 19:57:56 +0000 (19:57 -0000)]
2002-01-20 Nick Drochak  <ndrochak@gol.com>

* add nunit directory to the list of dirs to build in

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

22 years ago * Added sources and makefile for NUnit
Nick Drochak [Sat, 19 Jan 2002 19:55:23 +0000 (19:55 -0000)]
* Added sources and makefile for NUnit

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

22 years ago2002-01-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Jan 2002 04:27:34 +0000 (04:27 -0000)]
2002-01-19  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (CopyNewMethods): reworked, exposed, made public.
Slower, but more generally useful.  Used by the abstract
registering implementation.

* expression.cs (ResolveMemberAccess): Reorder the way we evaluate
the rules for the special rule on Type/instances.  First check if
we have the same name, and if so, try that special static path
rather than the instance path.

2002-01-18  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Emit 642 (warning: possible empty statement) for
for, while and if.

* class.cs (TypeBuilder.DefineType): Do not allow inheritance from
Enum, ValueType, Delegate or Array for non-corlib compiles.

* cs-tokenizer.cs: Catch long identifiers (645)

* typemanager.cs (IndexerPropetyName): Ravi never tested this
piece of code.

* class.cs (TypeContainer.RegisterRequiredImplementations): Bug
fix, we were returning too early, so we were not registering
pending methods from abstract classes.

Do not register pending methods if the class is abstract.

* expression.cs (Conditional.DoResolve): Report circular implicit
conversions when we neecd to compute it for conditional
expressions.

(Is.DoResolve): If the expression is always of the provided type,
flag warning 183.  If the expression can not ever be of the
provided type flag warning 184.

* class.cs: Catch 169 as well.

* ecore.cs (FieldExpr): For now in AddressOf mark as assigned and
read.

Also add more error test cases.

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

22 years agoStupid tabs
Duncan Mak [Sat, 19 Jan 2002 02:37:28 +0000 (02:37 -0000)]
Stupid tabs

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

22 years agoReset should set it to -1, not 0
Duncan Mak [Sat, 19 Jan 2002 02:34:47 +0000 (02:34 -0000)]
Reset should set it to -1, not 0

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

22 years agoReset should set it to -1, not 0
Duncan Mak [Sat, 19 Jan 2002 02:02:11 +0000 (02:02 -0000)]
Reset should set it to -1, not 0

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

22 years agoAdded missing Exceptions in System.IO and System.Security.Policy
Duncan Mak [Sat, 19 Jan 2002 01:27:37 +0000 (01:27 -0000)]
Added missing Exceptions in System.IO and System.Security.Policy

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

22 years ago* CharEnumerator.cs: Implemented.
Duncan Mak [Sat, 19 Jan 2002 01:08:10 +0000 (01:08 -0000)]
* CharEnumerator.cs: Implemented.
* String.cs (System): Fixed the GetEnumerator () method(s).

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

22 years ago2002-01-18 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 18 Jan 2002 22:49:16 +0000 (22:49 -0000)]
2002-01-18  Duncan Mak  <duncan@ximian.com>
    * ObsoleteAttribute.cs:
    * STAThreadAttribute.cs:
    * MTAThreadAttribute.cs:
    * ThreadStaticAttribute.cs:
    * LoaderOptimizationAttribute.cs:
    * PlatformNotSupportedException.cs:
    * LoaderOptimization.cs: Added to CVS.

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

22 years ago* ContextStaticAttribute.cs: Added [Serializable] attribute and
Duncan Mak [Fri, 18 Jan 2002 22:40:27 +0000 (22:40 -0000)]
* ContextStaticAttribute.cs: Added [Serializable] attribute and
  put in the missing constructor.

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

22 years agoKilled a stray semicolon.
Duncan Mak [Fri, 18 Jan 2002 22:38:22 +0000 (22:38 -0000)]
Killed a stray semicolon.

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

22 years agoFix e-mail address in ChangeLog
Duncan Mak [Fri, 18 Jan 2002 22:06:52 +0000 (22:06 -0000)]
Fix e-mail address in ChangeLog

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

22 years ago2002-1-18 Duncan Mak <duncan@192.168.10-120.masq>
Duncan Mak [Fri, 18 Jan 2002 22:06:26 +0000 (22:06 -0000)]
2002-1-18  Duncan Mak  <duncan@192.168.10-120.masq>

   * EnumCheck.cs: A checkin for Miguel to make EnumCheck not hardcode
     path to corlib.dll.

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

22 years agoForgot about DllNotFoundException
Duncan Mak [Fri, 18 Jan 2002 21:29:35 +0000 (21:29 -0000)]
Forgot about DllNotFoundException

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

22 years agoRemove one more exception from the list
Duncan Mak [Fri, 18 Jan 2002 21:25:00 +0000 (21:25 -0000)]
Remove one more exception from the list

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

22 years ago2002-01-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 18 Jan 2002 21:23:01 +0000 (21:23 -0000)]
2002-01-19  Nick Drochak  <ndrochak@gol.com>

* corlib.build: exclude Delegate from corlib_cmp.

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

22 years ago2002-01-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 18 Jan 2002 21:19:38 +0000 (21:19 -0000)]
2002-01-19  Nick Drochak  <ndrochak@gol.com>

* makefile: corcompare works again now, so make xml of missing types
* CorCompare.cs: use exception that .NET v1 throws to get types in mono corlib

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

22 years agoUpdated pending-classes.in, removing classes that I commited in the last few days
Duncan Mak [Fri, 18 Jan 2002 20:52:43 +0000 (20:52 -0000)]
Updated pending-classes.in, removing classes that I commited in the last few days

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

22 years agoForgot to cvs add
Duncan Mak [Fri, 18 Jan 2002 20:37:38 +0000 (20:37 -0000)]
Forgot to cvs add

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

22 years ago2002-01-18 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 18 Jan 2002 20:36:58 +0000 (20:36 -0000)]
2002-01-18  Duncan Mak  <duncan@ximian.com>

    * AppDomainUnloadedException.cs:
    * MethodAccessException.cs:
    * ContextMarshalException.cs:
        * CannotUnloadAppDomainException.cs:
    * EntryPointNotFoundException.cs:
            * FieldAccessException.cs:
            * TypeUnloadedException.cs:
�         * MissingFieldException.cs: Added to CVS.

    * ApplicationException.cs:
    * MemberAccessException.cs:
    * MissingMemberException.cs
    * MissingMethodException.cs:
    * SystemException.cs: Added [Serializable] attribute.

            * Exception.cs: Added [Serializable] attribute, made properties
    'Message', 'Source' and 'StackTrace' virtual methods, per 1.0 spec.

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

22 years agoUpdates to the web site, documentation
Miguel de Icaza [Fri, 18 Jan 2002 16:26:47 +0000 (16:26 -0000)]
Updates to the web site, documentation

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

22 years ago2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Fri, 18 Jan 2002 13:41:58 +0000 (13:41 -0000)]
2002-01-18   Gaurav Vaish <gvaish@iitk.ac.in>

* TableCellCollection.cs, TableRowCollection.cs,
  TableHeaderCell.cs, TableRow.cs    -- Completed

* TODO  -- Updated. Added a note on "Attributes" to be added to the classes.

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

22 years ago don't generate xml from corcompare for now. it throws an error on v1.0 of .NET
Nick Drochak [Fri, 18 Jan 2002 10:55:56 +0000 (10:55 -0000)]
don't generate xml from corcompare for now.  it throws an error on v1.0 of .NET

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

22 years ago2002-01-18 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 18 Jan 2002 10:53:10 +0000 (10:53 -0000)]
2002-01-18  Nick Drochak  <ndrochak@gol.com>

* makefile: remove path to beta2 csc.exe.  path to csc.exe must be in PATH instead.

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

22 years agoFlush
Miguel de Icaza [Fri, 18 Jan 2002 02:27:23 +0000 (02:27 -0000)]
Flush

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

22 years ago2002-01-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Jan 2002 02:17:45 +0000 (02:17 -0000)]
2002-01-17  Miguel de Icaza  <miguel@ximian.com>

* interface.cs (Interface.GetInterfaceTypeByName): Only lookup the
hashtable if there are classes or structs defined.

* expression.cs (LocalVariableReference.DoResolve): Simplify this
code, as the constant resolution moved.

* statement.cs (Block.EmitMeta): Resolve all constants as we emit
the metadata, so we can flag error 133.

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