mono.git
19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 06:04:41 +0000 (06:04 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* ecore.cs (TypeExpr.DoResolveAsTypeStep): Make this protected.

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

19 years agoNew test.
Martin Baulig [Thu, 18 Nov 2004 06:00:32 +0000 (06:00 -0000)]
New test.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 05:58:47 +0000 (05:58 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.Resolve): Take an `EmitContext' instead
of a `DeclSpace'.  If one of our constraints is a `ConstructedType',
call ResolveConstructedType() on it to resolve it without checking
constraints.
(Constraints.ResolveTypes): Check them here.
(ConstructedType.DoResolveAsTypeStep): Fully resolve ourselves,
but don't check constraints.
(ConstructedType.ResolveAsTypeTerminal): Override this and also
check constraints here.
(ConstructedType.ResolveConstructedType): New public method.  This
is called from DoResolveAsTypeStep() and Constraints.Resolve() to
resolve ourselves without checking constraints.

* ecore.cs (Expression.ResolveAsTypeTerminal): Make this virtual.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 05:18:50 +0000 (05:18 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* decl.cs
(DeclSpace.CurrentType): Changed type from `TypeExpr' to `Type'.

* delegate.cs (Delegate.DefineType): Always create the EmitContext.

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

19 years agoAdded gen-98.
Martin Baulig [Thu, 18 Nov 2004 05:04:05 +0000 (05:04 -0000)]
Added gen-98.

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

19 years ago2004-11-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Nov 2004 05:01:10 +0000 (05:01 -0000)]
2004-11-18  Martin Baulig  <martin@ximian.com>

* ecore.cs (TypeExpr.ResolveType): Removed.
(Expression.ResolveAsTypeTerminal): We always return a fully
resolved `TypeExpr', so we can just access its `Type'.

* class.cs (TypeContainer.DefineType): Resolve `CurrentType' here.

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

19 years agoFixme, fixme, fixme.
Martin Baulig [Thu, 18 Nov 2004 04:27:27 +0000 (04:27 -0000)]
Fixme, fixme, fixme.

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

19 years ago2004-11-17 Carlos Alberto Cortez Guevara <carlos@unixmexico.org>
Carlos Alberto Cortez [Thu, 18 Nov 2004 03:55:51 +0000 (03:55 -0000)]
2004-11-17  Carlos Alberto Cortez Guevara <carlos@unixmexico.org>

* Collections.cs: Avoid the call to Array.Clear () in RemoveItem (),
now we only assign the last element (the deleted one) to its default
value.

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

19 years ago2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 23:47:11 +0000 (23:47 -0000)]
2004-11-18  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaException.cs : added .ctor(string).
* XmlSchemaInferenceException.cs : use base.ctor(string).
* XmlSchemaValidationException.cs : It is 2.0 class. Added some .ctor()

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

19 years ago2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 23:38:43 +0000 (23:38 -0000)]
2004-11-18  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaCollection.cs : obsolete.
* XmlSchemaInference.cs :
  Fixed typo in enum. It is still MonoTODO. Reformatted code a bit.

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

19 years ago- Added handling of click-count to MouseDown/ MouseUp events.
Peter Dennis Bartok [Wed, 17 Nov 2004 21:53:52 +0000 (21:53 -0000)]
- Added handling of click-count to MouseDown/ MouseUp events.
- Added handling of middle and right mouse buttons
- Removed old debug code

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

19 years ago- Added double-click events to the class style
Peter Dennis Bartok [Wed, 17 Nov 2004 21:53:26 +0000 (21:53 -0000)]
- Added double-click events to the class style

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

19 years ago- Updated
Peter Dennis Bartok [Wed, 17 Nov 2004 21:52:45 +0000 (21:52 -0000)]
- Updated

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

19 years ago2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
Carlos Alberto Cortez [Wed, 17 Nov 2004 21:37:57 +0000 (21:37 -0000)]
2004-11-17  Carlos Alberto Cortez <carlos@unixmexico.org>

* INullable.cs: New interface added.
* Nullable.cs: Methods added. Also a static Nullable class
containing static methods.

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

19 years ago * XplatUIX11.cs: Use the new Mono.Unix namespace.
Jackson Harper [Wed, 17 Nov 2004 21:00:27 +0000 (21:00 -0000)]
* XplatUIX11.cs: Use the new Mono.Unix namespace.

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

19 years ago2004-11-17 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 17 Nov 2004 20:49:01 +0000 (20:49 -0000)]
2004-11-17  Geoff Norton  <gnorton@customerdna.com>

        * Mono.Data.SqliteClient/Sqlite.cs:
          Mono.Data.SqliteClient/SqliteCommand.cs:
          Remove sqlite3Free as this doesn't exist and isn't used by sqlite3.

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

19 years agorefresh
Marek Safar [Wed, 17 Nov 2004 17:13:47 +0000 (17:13 -0000)]
refresh

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

19 years agomissing unsafe
Marek Safar [Wed, 17 Nov 2004 17:07:46 +0000 (17:07 -0000)]
missing unsafe

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

19 years ago* attribute.cs: Temporarily made Attribute.UnManagedType public.
Jambunathan K [Wed, 17 Nov 2004 16:26:21 +0000 (16:26 -0000)]
* attribute.cs: Temporarily made Attribute.UnManagedType public.

* class.cs: Removed the instance method MethodCore.LabelParameters()
and moved it's functionality to the new instance methods
Parameters.LabelParameters() and Parameter.DefineParameter().

* parameter.cs: Introduced new instance methods
Parameters.LabelParameters() and Parameter.DefineParameter() and
slightly improved Parameter.ApplyAttributeBuilder().

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 13:10:04 +0000 (13:10 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* ecore.cs (IAlias.Type): Replaced with ResolveAsType() to make
sure we don't return any unresolved TypeExpr's.
(TypeAliasExpression): The .ctor now takes an `IAlias' instead of
a `TypeExpr'.
(Expression.ResolveAsTypeTerminal): Make sure `te.Type != null'.

* expression.cs (MemberAccess.ResolveAsTypeStep): Don't return any
unresolved `ConstructedType's.

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 13:01:36 +0000 (13:01 -0000)]
2004-11-17  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources, System.Xml.Query/XQueryConvert.cs,
  System.Xml/XQueryConvert.cs : moved XQueryConvert.cs.

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

19 years ago* mb-parser.jay: During multi-file compilation, global
Jambunathan K [Wed, 17 Nov 2004 11:50:39 +0000 (11:50 -0000)]
* mb-parser.jay: During multi-file compilation, global
* attributes were not getting parsed properly. Fixed the same.

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

19 years ago2004-11-17 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Wed, 17 Nov 2004 11:45:45 +0000 (11:45 -0000)]
2004-11-17  Raja R Harinath  <rharinath@novell.com>

* typemanager.cs (TypeHandle.GetTypeHandle): Make private.
(TypeHandle.GetMemberCache): New.
(TypeHandle.TypeHandle): Update.
(TypeManager.LookupMemberCache): Rewritten from LookupMemberContainer.
(TypeManager.LookupParentInterfacesCache):
Rename from LookupInterfaceCache.  Optimize slightly.
(TypeManager.MemberLookup_FindMembers): Update.
* decl.cs (MemberCache.MemberCache): Set Container to null in the
multi-type variant.
(AddCacheContents): Rename from AddHashtable.
* class.cs (TypeContainer.parent_container): Remove.
(TypeContainer.VerifyClsCompliance): Don't use parent_container.
(TypeContainer.DoDefineMembers): Don't initialize it.
Update to name changes.

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

19 years agoFormatting VS.NET's formatting mess.
Ravindra [Wed, 17 Nov 2004 11:36:23 +0000 (11:36 -0000)]
Formatting VS.NET's formatting mess.

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

19 years agoMissed in last checkin.
Ravindra [Wed, 17 Nov 2004 11:20:22 +0000 (11:20 -0000)]
Missed in last checkin.

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

19 years agoMouse event handling support in ListView.
Ravindra [Wed, 17 Nov 2004 11:19:03 +0000 (11:19 -0000)]
Mouse event handling support in ListView.

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

19 years ago2004-11-17 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Wed, 17 Nov 2004 11:17:41 +0000 (11:17 -0000)]
2004-11-17  Raja R Harinath  <rharinath@novell.com>

* harness.mk: Add the pover-a and pover-b multi-file test.

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 11:07:31 +0000 (11:07 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* ecore.cs (TypeExpr.ResolveType): Don't make this virtual.

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

19 years agofixes signature
Jordi Mas i Hernandez [Wed, 17 Nov 2004 11:07:08 +0000 (11:07 -0000)]
fixes signature

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 11:05:44 +0000 (11:05 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* ecore.cs
(Expression.ResolveAsTypeTerminal): Removed the `bool silent' argument.

* decl.cs (DeclSpace.ResolveType): Removed.
(DeclSpace.ResolveTypeExpr): Removed the `bool silent' argument.

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 09:08:23 +0000 (09:08 -0000)]
2004-11-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSet.cs : don't set TargetNamespace = "".

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 08:54:16 +0000 (08:54 -0000)]
2004-11-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaInferenceDesign.txt : added (incomplete though.)

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 08:49:21 +0000 (08:49 -0000)]
2004-11-17  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : added XmlSchemaInference.cs,
  XmlSchemaInferenceException.cs and XmlSchemaValidationException.cs.

* XmlSchemaValidationException.cs : added.

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 08:46:21 +0000 (08:46 -0000)]
2004-11-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaInference.cs,
  XmlSchemaInferenceException.cs : added.

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 08:45:48 +0000 (08:45 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* Makefile: Enable test-315 and gen-95.

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 08:45:06 +0000 (08:45 -0000)]
2004-11-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaException.cs : removed get_Message in 2.0 profile (all done
  in .ctor()).

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 08:44:02 +0000 (08:44 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* Makefile: Enable test-315 and gen-95.

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 08:09:42 +0000 (08:09 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_create_from_typedef): If a type parameter is
inherited from an outer class, set its owner to that class.

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

19 years ago2004-11-17 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Wed, 17 Nov 2004 05:49:38 +0000 (05:49 -0000)]
2004-11-17  Raja R Harinath  <rharinath@novell.com>

* Makefile.am (clean-local): Rename from 'clean'.

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

19 years ago * executable.make: Improve support for building executable into a
Raja R Harinath [Wed, 17 Nov 2004 05:40:20 +0000 (05:40 -0000)]
* executable.make: Improve support for building executable into a
different directory.

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

19 years ago2004-11-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 17 Nov 2004 04:48:26 +0000 (04:48 -0000)]
2004-11-17  Miguel de Icaza  <miguel@ximian.com>

* class.cs (MethodCore.CheckAccessModifiers): New helper routine
that factors the code to check access modifiers on override.

(PropertyBase): Use the code here.

Patch from Lluis S'anchez, fixes bug #69361.

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

19 years agoAdd new test from for bug #69361
Miguel de Icaza [Wed, 17 Nov 2004 04:45:23 +0000 (04:45 -0000)]
Add new test from for bug #69361

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

19 years agoUpdate helper errors to use the -pkg syntax when needed, patch from iain@mccoy.id...
Miguel de Icaza [Wed, 17 Nov 2004 03:29:00 +0000 (03:29 -0000)]
Update helper errors to use the -pkg syntax when needed, patch from  iain@mccoy.id.au (Iain McCoy)

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

19 years agoAdd support for siginfo_t as a parameter to mono_arch_is_int_overflow. Support this
Neale Ferguson [Wed, 17 Nov 2004 03:05:28 +0000 (03:05 -0000)]
Add support for siginfo_t as a parameter to mono_arch_is_int_overflow. Support this
routine in s390.

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

19 years agoUpdated.
Martin Baulig [Wed, 17 Nov 2004 03:00:19 +0000 (03:00 -0000)]
Updated.

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

19 years agoRemoved workaround for #69546.
Martin Baulig [Wed, 17 Nov 2004 02:57:04 +0000 (02:57 -0000)]
Removed workaround for #69546.

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

19 years agoEnable gen-99.
Martin Baulig [Wed, 17 Nov 2004 02:50:56 +0000 (02:50 -0000)]
Enable gen-99.

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 02:48:39 +0000 (02:48 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* Makefile: Enable test-315 and gen-95.

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

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 17 Nov 2004 02:45:52 +0000 (02:45 -0000)]
**** Merged from MCS ****

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 02:44:11 +0000 (02:44 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.AddHashtable): Add entries in the opposite
direction, like FindMembers() does.  Fixes #69546, testcase is in
test-315.cs.

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

19 years ago2004-11-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 Nov 2004 02:43:24 +0000 (02:43 -0000)]
2004-11-17  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.AddHashtable): Add entries in the opposite
direction, like FindMembers() does.  Fixes #69546, testcase is in
test-315.cs.

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

19 years ago2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Nov 2004 01:32:27 +0000 (01:32 -0000)]
2004-11-17  Atsushi Enomoto  <atsushi@ximian.com>

* reflection.c: (mono_image_create_pefile): Don't use NULL argument
  for (int*) written size. This fixes bug #69592.

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

19 years ago- Implemented generation of double click mouse messages
Peter Dennis Bartok [Tue, 16 Nov 2004 21:53:19 +0000 (21:53 -0000)]
- Implemented generation of double click mouse messages

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

19 years ago * Stdlib.cs: Remove printf(3) and fprintf(3). These are vararg/CDECL
Jonathan Pryor [Tue, 16 Nov 2004 19:58:03 +0000 (19:58 -0000)]
  * Stdlib.cs: Remove printf(3) and fprintf(3).  These are vararg/CDECL
    functions, and it's not portable to call them in this manner.
    (It's not portable because some architectures, such as AMD64, use a
    "cookie" as part of the vararg calling sequence to help reduce buffer
    overflow exploits.  Trying to call vararg functions as if they were an
    overloaded function will not properly set this hardware cookie, resulting
    in a hardware exception.  Talk to lupus for more information.)

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

19 years ago * Makefile.am: Remove sys-mount.c from the build.
Jonathan Pryor [Tue, 16 Nov 2004 19:25:56 +0000 (19:25 -0000)]
  * Makefile.am: Remove sys-mount.c from the build.
  * sys-mount.c: Delete.  We're not exporting mount-related functionality
    anymore.  It's not remotely portable, and trying to make it portable is a
    doomed idea.
  * map.c: Remove mount- and umount-related conversion functions.

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

19 years ago * Syscall.cs, UnixConvert.cs: Remove mount- and umount-related
Jonathan Pryor [Tue, 16 Nov 2004 19:08:40 +0000 (19:08 -0000)]
  * Syscall.cs, UnixConvert.cs: Remove mount- and umount-related
    functionality.  Mount/umount is inherently non-portable (see the C code
    for mount/umount), and trying to provide a consistent interface is
    impossible.  If you need mount/umount support, use the command-line
    programs mount(1) and umount(1).

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

19 years ago * Mono.Posix.dll.sources: remove IncludeAttribute and MapAttribute from
Jonathan Pryor [Tue, 16 Nov 2004 17:28:10 +0000 (17:28 -0000)]
  * Mono.Posix.dll.sources: remove IncludeAttribute and MapAttribute from
    Mono.Posix namespace (use the ones in Mono.Unix instead).
  * Mono.Posix/IncludeAttribute.cs: Removed.
  * Mono.Posix/MapAttribute.cs: Removed.
  * Mono.Posix/Syscall.cs: Remove [Map] and [Include] attributes.

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

19 years ago * Mono.Posix.dll.sources: Rename Mono.Posix to Mono.Unix.
Jonathan Pryor [Tue, 16 Nov 2004 17:07:51 +0000 (17:07 -0000)]
  * Mono.Posix.dll.sources: Rename Mono.Posix to Mono.Unix.
  * Makefile: Update file paths to build from Mono.Unix.

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

19 years ago + Lots o' Renames, as the namespace changed.
Jonathan Pryor [Tue, 16 Nov 2004 17:06:09 +0000 (17:06 -0000)]
  + Lots o' Renames, as the namespace changed.
  * PosixConvert.cs: Moved to UnixConvert.cs:
  * PosixDirectory.cs: Moved to UnixDirectory.cs:
  * PosixEnvironment.cs: Moved to UnixEnvironment.cs:
  * PosixDirectoryInfo.cs: Moved to UnixDirectoryInfo.cs:
  * PosixFile.cs: Moved to UnixFile.cs:
  * PosixFileInfo.cs: Moved to UnixFileInfo.cs:
  * PosixFileSystemInfo.cs: Moved to UnixFileSystemInfo.cs:
  * PosixGroup.cs: Moved to UnixGroup.cs:
  * PosixGroupInfo.cs: Moved to UnixGroupInfo.cs:
  * PosixIOException.cs: Moved to UnixIOException.cs:
  * PosixMarshal.cs: Moved to UnixMarshal.cs:
  * PosixProcess.cs: Moved to UnixProcess.cs:
  * PosixStream.cs: Moved to UnixStream.cs:
  * PosixSymbolicLinkInfo.cs: Moved to UnixSymbolicLinkInfo.cs:
  * PosixUser.cs: Moved to UnixUser.cs:
  * PosixUserInfo.cs: Moved to UnixUserInfo.cs:
  * Catalog.cs, IncludeAttribute.cs, MapAttribute.cs, PeerCred.cs, Stdlib.cs,
    Syscall.cs, UnixConvert.cs, UnixDirectory.cs, UnixDirectoryInfo.cs,
    UnixEndPoint.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileInfo.cs,
    UnixFileSystemInfo.cs, UnixGroup.cs, UnixGroupInfo.cs, UnixIOException.cs,
    UnixMarshal.cs, UnixProcess.cs, UnixStream.cs, UnixSymbolicLinkInfo.cs,
    UnixUser.cs, UnixUserInfo.cs: Deal with renamed classes/members.

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

19 years ago * Rename Mono.Posix to Mono.Unix.
Jonathan Pryor [Tue, 16 Nov 2004 15:56:34 +0000 (15:56 -0000)]
  * Rename Mono.Posix to Mono.Unix.

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

19 years ago * PosixUserInfo.cs: Make the PosixUserInfo(Passwd) constructor public;
Jonathan Pryor [Tue, 16 Nov 2004 15:53:29 +0000 (15:53 -0000)]
  * PosixUserInfo.cs: Make the PosixUserInfo(Passwd) constructor public;
    override Object.GetHashCode and Object.Equals.
  * PosixGroupInfo.cs: Make the PosixGroupInfo(Group) constructor public;
    override Object.GetHashCode and Object.Equals.
  * PosixIOException.cs: Use PosixMarshal.GetErrorDescription instead of
    calling Syscall.strerror_r directly
  * PosixMarshal.cs: Add GetErrorDescription.  Strerror_r() isn't portable, so
    GetErrorDescription() first tries strerror_r(), and if it fails falls back
    to strerror(3).
  * Syscall.cs:
    - Seal the Dirent class.  It has no virtual members, so there's no point
      in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
    - Seal the Group class.  It has no virtual members, so there's no point
      in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
      Provide operator== and operator!=.
    - Seal the Passwd class.  It has no virtual members, so there's no point
      in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
      Provide operator== and operator!=.
    - Remove strerror_r() convenience overload.  This is now
      PosixMarshal.GetErrorDescription().

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

19 years agoAdd compatibility syscalls that were in use
Miguel de Icaza [Tue, 16 Nov 2004 15:16:47 +0000 (15:16 -0000)]
Add compatibility syscalls that were in use

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

19 years ago2004-11-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 16 Nov 2004 07:13:36 +0000 (07:13 -0000)]
2004-11-16  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Make property accessor test #if NET_2_0.

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

19 years agoRemove docs from mono-1-0 branch
Miguel de Icaza [Tue, 16 Nov 2004 05:11:57 +0000 (05:11 -0000)]
Remove docs from mono-1-0 branch

svn path=/branches/mono-1-0/mcs/; revision=36162

19 years agooops, the change was missing.
Atsushi Eno [Tue, 16 Nov 2004 05:00:21 +0000 (05:00 -0000)]
oops, the change was missing.

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

19 years ago2004-11-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Nov 2004 04:54:20 +0000 (04:54 -0000)]
2004-11-16  Martin Baulig  <martin@ximian.com>

* test-316.cs: New test for #69082.

* test-317.cs; New test for #63705.

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

19 years ago2004-11-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Nov 2004 04:46:11 +0000 (04:46 -0000)]
2004-11-16  Martin Baulig  <martin@ximian.com>

* Makefile: Updated.

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

19 years agoRe-enable test-310.
Martin Baulig [Tue, 16 Nov 2004 03:41:47 +0000 (03:41 -0000)]
Re-enable test-310.

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

19 years ago2004-11-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Nov 2004 03:17:29 +0000 (03:17 -0000)]
2004-11-16  Martin Baulig  <martin@ximian.com>

This is based on a patch from Marek Safar, see bug #69082.
Fixes bugs #63705 and #67130.

* typemanager.cs (TypeManager.LookupInterfaceCache): New public
method; create a MemberCache for an interface type and cache the
result.

* decl.cs (IMemberContainer.ParentContainer): Removed.
(IMemberContainer.ParentCache): New property.
(MemberCache.SetupCacheForInterface): Removed.
(MemberCache..ctor): Added .ctor which takes a `Type[]'; use this
to create a cache for an interface's "parent".

* class.cs (TypeContainer.DoDefineMembers): Setup cache for
interfaces too.

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

19 years ago2004-11-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Nov 2004 03:09:12 +0000 (03:09 -0000)]
2004-11-16  Martin Baulig  <martin@ximian.com>

This is based on a patch from Marek Safar, see bug #69082.
Fixes bugs #63705 and #67130.

* typemanager.cs (TypeManager.LookupInterfaceCache): New public
method; create a MemberCache for an interface type and cache the
result.

* decl.cs (IMemberContainer.ParentContainer): Removed.
(IMemberContainer.ParentCache): New property.
(MemberCache.SetupCacheForInterface): Removed.
(MemberCache..ctor): Added .ctor which takes a `Type[]'; use this
to create a cache for an interface's "parent".

* class.cs (TypeContainer.DoDefineMembers): Setup cache for
interfaces too.

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

19 years ago2004-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Nov 2004 02:48:51 +0000 (02:48 -0000)]
2004-11-16  Atsushi Enomoto <atsushi@ximian.com>

* XQueryConvert.cs : added some date/dateTime methods.

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

19 years ago2004-11-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Nov 2004 02:40:23 +0000 (02:40 -0000)]
2004-11-16  Martin Baulig  <martin@ximian.com>

Merged back from gmcs; these changes already went into gmcs a
couple of weeks ago.

* typemanager.cs
(TypeManager.AddUserType): Removed the `ifaces' argument.
(TypeManager.RegisterBuilder): Take a `Type []' instead of a
`TypeExpr []'.
(TypeManager.AddUserInterface): Removed.
(TypeManager.ExpandInterfaces): Return a `Type []' instead of a
`TypeExpr []'.
(TypeManager.GetInterfaces): Likewise.
(TypeManager.GetExplicitInterfaces): Likewise.

* ecore.cs (TypeExpr.GetInterfaces): Removed.

* class.cs (TypeContainer.base_class_type): Replaced with `ptype'.
(TypeContainer.base_inteface_types): Replaced with `ifaces'.

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

19 years ago * System.Web.dll.sources: Added new files:
Lluis Sanchez [Mon, 15 Nov 2004 22:22:25 +0000 (22:22 -0000)]
* System.Web.dll.sources: Added new files:
System.Web.Configuration/AdapterDictionary.cs
System.Web.Configuration/AnonymousIdentificationSection.cs
System.Web.Configuration/AssemblyCollection.cs
System.Web.Configuration/AssemblyInfo.cs
System.Web.Configuration/AuthenticationSection.cs
System.Web.Configuration/FormsAuthenticationConfiguration.cs
System.Web.Configuration/InternalSection.cs
System.Web.Configuration/PassportAuthentication.cs

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

19 years ago * RoleProviderCollection.cs, MembershipProviderCollection.cs:
Lluis Sanchez [Mon, 15 Nov 2004 22:21:27 +0000 (22:21 -0000)]
* RoleProviderCollection.cs, MembershipProviderCollection.cs:
Fixed warnings.

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

19 years ago * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
Lluis Sanchez [Mon, 15 Nov 2004 22:20:49 +0000 (22:20 -0000)]
* SqlDataSourceView.cs: Removed implementation of Events (it is inherited
from DataSourceView.cs).

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

19 years ago * DataSourceView.cs: Moved here implementation of
Lluis Sanchez [Mon, 15 Nov 2004 22:19:07 +0000 (22:19 -0000)]
    * DataSourceView.cs: Moved here implementation of
        * DataSourceViewChanged
        from SqlDataSourceView.cs.

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

19 years ago * SiteMapProviderCollection.cs: Fixed warning.
Lluis Sanchez [Mon, 15 Nov 2004 22:11:28 +0000 (22:11 -0000)]
    * SiteMapProviderCollection.cs: Fixed warning.
        * HttpApplication.cs: Added new 2.0 events.

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

19 years ago * AnonymousIdentificationSection.cs, InternalSection.cs,
Lluis Sanchez [Mon, 15 Nov 2004 22:10:49 +0000 (22:10 -0000)]
    * AnonymousIdentificationSection.cs, InternalSection.cs,
        AuthenticationSection.cs, AssemblyCollection.cs,
AssemblyInfo.cs,
        AdapterDictionary.cs: Implemented.
        * PassportAuthentication.cs,
        * FormsAuthenticationConfiguration.cs:
        created classes.

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

19 years ago * System.dll.sources: Added new files:
Lluis Sanchez [Mon, 15 Nov 2004 21:11:23 +0000 (21:11 -0000)]
    * System.dll.sources: Added new files:
                System.Configuration/TimeSpanConfigurationProperty.cs
                System.Configuration/TimeSpanPropertyFlags.cs
                System.Configuration/TimeSpanSerializedFormat.cs

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

19 years ago * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
Lluis Sanchez [Mon, 15 Nov 2004 21:10:49 +0000 (21:10 -0000)]
    * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
        TimeSpanSerializedFormat.cs: Implemented.

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

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 19:00:05 +0000 (19:00 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* amd64/x86-64-codegen.h: Get rid of this.

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

19 years ago2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Nov 2004 16:57:14 +0000 (16:57 -0000)]
2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* BitConverter.cs: Added support for special case when ToString is
called with (new byte [0]).

svn path=/branches/mono-1-0/mcs/; revision=36141

19 years ago2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Nov 2004 15:01:10 +0000 (15:01 -0000)]
2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* icall.c: Added IsAuthenticodePresnet internal call.
* image.c|h: New function that check a MonoImage for an Authenticode
signature in the certificate PE data directory.
* security.c|h: New internal call to ask the runtime if an
Authenticode signature seems referenced in the PE header.

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

19 years ago2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Nov 2004 14:56:12 +0000 (14:56 -0000)]
2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>
* declsec.c|h: New files to support declarative security attributes.
Added function to check if a method has (applicable) security.
* mini.c|h: Add check for declarative security attributes in
mono_method_check_inlining.
* Makefile.am: Added declsec.c and declsec.h to the build.

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

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 14:47:01 +0000 (14:47 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* cil-opcodes.xml: Add missing mono_func2.

svn path=/branches/mono-1-0/mono/; revision=36137

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 12:47:35 +0000 (12:47 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Add test typeof (IntPtr).IsPrimitive.

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

19 years agoMerge from HEAD.
Zoltan Varga [Mon, 15 Nov 2004 12:42:28 +0000 (12:42 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mono/; revision=36133

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 12:41:04 +0000 (12:41 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_type_isprimitive): Native int is a primitive type.

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

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 12:31:09 +0000 (12:31 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_create_pefile): Free the assembly streams
after writing out the assembly file.

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

19 years ago2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Nov 2004 12:00:49 +0000 (12:00 -0000)]
2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* BitConverter.cs: Added support for special case when ToString is
called with (new byte [0]).

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

19 years ago2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Nov 2004 11:57:43 +0000 (11:57 -0000)]
2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>

* BitConverter.cs: Added test for (legal) ToString (new byte [0]).

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

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 11:47:32 +0000 (11:47 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_runtime_run_main): Fix small memory leak.

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

19 years agoMerge from HEAD.
Zoltan Varga [Mon, 15 Nov 2004 10:26:55 +0000 (10:26 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mono/; revision=36127

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 10:19:01 +0000 (10:19 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Add test for bug #69389.

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

19 years ago2004-11-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Nov 2004 10:01:43 +0000 (10:01 -0000)]
2004-11-15  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_Type_GetPropertiesByName): Add support for
property access modifiers. Fixes #69389.

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

19 years agoMon Nov 15 11:53:46 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Nov 2004 09:31:56 +0000 (09:31 -0000)]
Mon Nov 15 11:53:46 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h: update to keep dynamic code info per-domain.

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

19 years agoMon Nov 15 11:54:22 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Nov 2004 09:31:38 +0000 (09:31 -0000)]
Mon Nov 15 11:54:22 CET 2004 Paolo Molaro <lupus@ximian.com>

* domain.c, object.c, object-internals.h, domain-internals.h,
object.h, marshal.c: keep dynamic code info per domain.

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

19 years ago2004-11-15 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 15 Nov 2004 08:18:18 +0000 (08:18 -0000)]
2004-11-15  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* CodeGenerator.cs: factor code for fall_true/fall_false (add
emit_default_case, ft_binary_recursion, ft_emit_equality,
ff_emit_relational, ff_binary_recursion). Fix
trouble with logical ops code generation.

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

19 years ago2004-11-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 15 Nov 2004 06:00:54 +0000 (06:00 -0000)]
2004-11-15  Martin Baulig  <martin@ximian.com>

* class.c (mono_type_get_name_recurse): Put type arguments in
`[',`]' instead of in `<','>'.  Thanks to Atsushi for the patch,
see bug #68387.

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

19 years agoNew test.
Martin Baulig [Mon, 15 Nov 2004 05:28:02 +0000 (05:28 -0000)]
New test.

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