mono.git
19 years ago * support/Makefile.am: Add utime.c and sys-time.c to the build.
Jonathan Pryor [Fri, 12 Nov 2004 15:07:39 +0000 (15:07 -0000)]
  * support/Makefile.am: Add utime.c and sys-time.c to the build.
  * support/sys-time.c: Added; export gettimeofday(2), settimeofday(2), utimes(2).
  * support/sys-stat.c: Export mknod(2).
  * support/utime.c: Added; export utime(2).

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

19 years agotracker should be for tracking session
Jordi Mas i Hernandez [Fri, 12 Nov 2004 11:04:39 +0000 (11:04 -0000)]
tracker should be for tracking session

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

19 years ago * support/errno.c: Only export strerror_r if it's available.
Jonathan Pryor [Fri, 12 Nov 2004 10:46:31 +0000 (10:46 -0000)]
* support/errno.c: Only export strerror_r if it's available.
* support/mph.h: Remove MPH_ON_BSD; use the configure checks instead.
* support/sys-mman.c: Only export posix_madvise if it's available.
* support/unistd.c: Only export sethostid if it's available.

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

19 years agoPortability fixes for Solaris and HP/UX.
Jonathan Pryor [Fri, 12 Nov 2004 10:29:57 +0000 (10:29 -0000)]
Portability fixes for Solaris and HP/UX.

* configure.in: Check for `struct dirent' members which don't exist across
  all Unix platforms.
* support/dirent.c: Only access members which exist on the target platform.

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

19 years ago2004-11-12 Martin Baulig <martin@localhost>
Martin Baulig [Fri, 12 Nov 2004 03:11:28 +0000 (03:11 -0000)]
2004-11-12  Martin Baulig  <martin@localhost>

* reflection.c (mono_image_create_token): Allow generic method
definitions here, since they may appear in an `.override'; see
gen-98/gen-99 for an example.

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

19 years agoNew tests.
Martin Baulig [Fri, 12 Nov 2004 03:06:18 +0000 (03:06 -0000)]
New tests.

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

19 years agoFix
Miguel de Icaza [Fri, 12 Nov 2004 02:52:06 +0000 (02:52 -0000)]
Fix

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

19 years agoUpdate
Miguel de Icaza [Fri, 12 Nov 2004 02:50:50 +0000 (02:50 -0000)]
Update

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

19 years agoproperties
Miguel de Icaza [Thu, 11 Nov 2004 22:06:42 +0000 (22:06 -0000)]
properties

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

19 years ago2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 11 Nov 2004 22:02:30 +0000 (22:02 -0000)]
2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
It causes troubles under heavy load.

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

19 years ago2004-11-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Nov 2004 21:38:55 +0000 (21:38 -0000)]
2004-11-11  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_Type_GetField): Support BFLAGS_IgnoreCase. Fixes
#69365.

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

19 years ago- Removed old debug leftovers,
Peter Dennis Bartok [Thu, 11 Nov 2004 21:38:44 +0000 (21:38 -0000)]
- Removed old debug leftovers,
- Streamlined handling of WM_WINDOWPOSCHANGED
- Removed unneeded WM_SIZE handling

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

19 years ago2004-11-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Nov 2004 21:36:22 +0000 (21:36 -0000)]
2004-11-11  Zoltan Varga  <vargaz@freemail.hu>

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

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

19 years ago- Added Visible property
Peter Dennis Bartok [Thu, 11 Nov 2004 21:21:54 +0000 (21:21 -0000)]
- Added Visible property

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

19 years ago- Now uses Visible property from HandleData
Peter Dennis Bartok [Thu, 11 Nov 2004 21:21:35 +0000 (21:21 -0000)]
- Now uses Visible property from HandleData
- Removed old debug leftovers
- Added WM_ERASEBKGND handler to DefWndProc

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

19 years ago- Updated
Peter Dennis Bartok [Thu, 11 Nov 2004 21:20:25 +0000 (21:20 -0000)]
- Updated

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

19 years ago2004-11-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Nov 2004 21:11:33 +0000 (21:11 -0000)]
2004-11-11  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_string_to_ansibstr): Make g_error messages more
descriptive.

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

19 years ago2004-11-11 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 11 Nov 2004 21:11:24 +0000 (21:11 -0000)]
2004-11-11  Geoff Norton  <gnorton@customerdna.com>

        * Mono.Data.SqliteClient/Sqlite.cs
          Mono.Data.SqliteClient/SqliteConnection.cs
          Mono.Data.SqliteClient/SqliteCommand.cs
          Mono.Data.SqliteClient/SqliteDataReader.cs:
          Initial sqlite v3 support.  Move sqlite v2 to using sqlite_step
          instead of sqlite_exec, this makes Mono.Data.SqliteClient work on
          windows.

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

19 years agoTest
Miguel de Icaza [Thu, 11 Nov 2004 20:47:44 +0000 (20:47 -0000)]
Test

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

19 years ago System.Windows.Forms.dll.sources: add OwnerDrawPropertyBag.cs to build
Jackson Harper [Thu, 11 Nov 2004 20:02:53 +0000 (20:02 -0000)]
System.Windows.Forms.dll.sources: add OwnerDrawPropertyBag.cs to build

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

19 years ago * OwnerDrawPropertyBag.cs: Initial implementation
Jackson Harper [Thu, 11 Nov 2004 20:01:44 +0000 (20:01 -0000)]
* OwnerDrawPropertyBag.cs: Initial implementation

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

19 years ago * System.Windows.Forms.dll.sources: Add
Jackson Harper [Thu, 11 Nov 2004 19:17:19 +0000 (19:17 -0000)]
* System.Windows.Forms.dll.sources: Add
TreeViewImageIndexConverter.cs to build

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

19 years ago * TreeViewImageIndexConverter.cs: Initial implementation
Jackson Harper [Thu, 11 Nov 2004 19:16:40 +0000 (19:16 -0000)]
* TreeViewImageIndexConverter.cs: Initial implementation

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

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

* class.c (mono_class_setup_vtable): In an explicit interface
implementation, the method name now includes the arity.

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

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

* typemanager.cs (TypeManager.GetMethodName): New method.

* class.cs (MethodData.Define): Include the generic arity in the
name of an explicit interface; also add it to the method name.

* pending.cs (PendingImplementation.InterfaceMethod): The method
name now includes the generic arity.

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

19 years agocalls GdiplusShutdown to propery signal GDI+ termination
Jordi Mas i Hernandez [Thu, 11 Nov 2004 18:39:25 +0000 (18:39 -0000)]
calls GdiplusShutdown to propery signal GDI+ termination

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

19 years agoThu Nov 11 20:17:17 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 11 Nov 2004 17:58:20 +0000 (17:58 -0000)]
Thu Nov 11 20:17:17 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, mini-ppc,h, cpu-g5.md, exceptions-ppc.c:
implemented OP_RETHROW (patch by Geoff Norton
<gnorton@customerdna.com>).

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

19 years agoRenamed!!! :)
Gonzalo Paniagua Javier [Thu, 11 Nov 2004 13:38:34 +0000 (13:38 -0000)]
Renamed!!! :)

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

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

* Makefile: Disable test-310.

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

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

* WebPart.cs: Don't use String.Empty in attributes.

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

19 years agoReverted this.
Martin Baulig [Thu, 11 Nov 2004 04:13:42 +0000 (04:13 -0000)]
Reverted this.
2004-10-24  Marek Safar  <marek.safar@seznam.cz>

Fixed bugs #63705, #67130
* decl.cs (MemberCache.MemberCache): Add parameter to distinguish
imported and defined interfaces.
(CacheEntry, EntryType): Changed to protected internal.

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

* typemanager.cs (LookupInterfaceContainer): New method.
Fills member container from base interfaces.

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

19 years agoThis accidentally got in again during the merge.
Martin Baulig [Thu, 11 Nov 2004 04:07:34 +0000 (04:07 -0000)]
This accidentally got in again during the merge.

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

19 years agoPut the merging back.
Martin Baulig [Thu, 11 Nov 2004 04:05:31 +0000 (04:05 -0000)]
Put the merging back.

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

19 years ago2004-11-11 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 11 Nov 2004 04:01:50 +0000 (04:01 -0000)]
2004-11-11  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Remove `public virtual' for interface methods.

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

19 years ago * ThemeWin32Classic.cs:
Jackson Harper [Thu, 11 Nov 2004 03:00:12 +0000 (03:00 -0000)]
* ThemeWin32Classic.cs:
* TabControl.cs: instead of moving tabs by the slider pos just
start drawing at the tab that is offset by the slider. This way
scrolling always moves by exactly one tab.

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

19 years agoReverted this.
Martin Baulig [Thu, 11 Nov 2004 02:53:05 +0000 (02:53 -0000)]
Reverted this.
2004-10-24  Marek Safar  <marek.safar@seznam.cz>

Fixed bugs #63705, #67130
* decl.cs (MemberCache.MemberCache): Add parameter to distinguish
imported and defined interfaces.
(CacheEntry, EntryType): Changed to protected internal.

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

* typemanager.cs (LookupInterfaceContainer): New method.
Fills member container from base interfaces.

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

19 years agotramp-ppc.c (ppc_magic_trampoline): Dont tramp methods between appdomains
Geoff Norton [Thu, 11 Nov 2004 02:42:22 +0000 (02:42 -0000)]
tramp-ppc.c (ppc_magic_trampoline): Dont tramp methods between appdomains
Fixes appdomain-unload on PPC.

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

19 years agoAdd libgc to mono
Miguel de Icaza [Thu, 11 Nov 2004 02:30:00 +0000 (02:30 -0000)]
Add libgc to mono

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

19 years agoAdded files removed during import
Miguel de Icaza [Thu, 11 Nov 2004 02:13:55 +0000 (02:13 -0000)]
Added files removed during import

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

19 years agoTest
Miguel de Icaza [Thu, 11 Nov 2004 02:00:36 +0000 (02:00 -0000)]
Test

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

19 years agoTest
Miguel de Icaza [Thu, 11 Nov 2004 01:56:41 +0000 (01:56 -0000)]
Test

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

19 years agoReverted everything until 24 hours ago.
Martin Baulig [Wed, 10 Nov 2004 20:26:04 +0000 (20:26 -0000)]
Reverted everything until 24 hours ago.

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

19 years agoReverted everything until 24 hours ago.
Martin Baulig [Wed, 10 Nov 2004 20:26:04 +0000 (20:26 -0000)]
Reverted everything until 24 hours ago.

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

19 years ago * TabControl.cs: You can only scroll left when the slider has
Jackson Harper [Wed, 10 Nov 2004 20:17:08 +0000 (20:17 -0000)]
* TabControl.cs: You can only scroll left when the slider has
already ben moved right.

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

19 years ago * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
Jackson Harper [Wed, 10 Nov 2004 20:10:38 +0000 (20:10 -0000)]
* ThemeWin32Classic.cs: Do not draw the selected tab if its not in
the clip area.

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

19 years ago * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
Jackson Harper [Wed, 10 Nov 2004 19:52:24 +0000 (19:52 -0000)]
* ThemeWin32Classic.cs: Do not draw the selected tab if its not in
the clip area.

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

19 years ago * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
Jackson Harper [Wed, 10 Nov 2004 19:22:26 +0000 (19:22 -0000)]
* ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
clip area.

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

19 years ago * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
Jackson Harper [Wed, 10 Nov 2004 19:13:22 +0000 (19:13 -0000)]
* ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
clip area.

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

19 years agoMinor correction.
Neale Ferguson [Wed, 10 Nov 2004 17:51:51 +0000 (17:51 -0000)]
Minor correction.

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

19 years ago2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 10 Nov 2004 16:50:09 +0000 (16:50 -0000)]
2004-11-10  Sebastien Pouliot  <sebastien@ximian.com>

* CipherSuiteFactory.cs: Activated RSA_WITH_AES_256_CBC_SHA as it is
supported by some browsers.
* ContentType.cs: Removed ClientHelloV2 from the enum as it is not a
"true" content type (it just looks so where we're processing it).
* Context.cs: Added support to switch protocol (e.g. SSL2->SSL3 or
SSL2->TLS1). Contributed by Carlos Guzman Alvarez.
* RecordProtocol.cs: Added support for ClientHelloV2 message
(contributed by Carlos Guzman Alvarez). This is a Handshake message
so it must be MACed. Also fixed the challenge length because some
browsers implementation don't interpret "This value must be 32." as
having 32 bytes.

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

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

* object.c (mono_array_full_copy): Fix warning.

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

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

* expression.cs (emit_late_call): Pop after Call or CallValue when
needed. (New.Emit) add emit_create_instance.

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

19 years ago2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 10 Nov 2004 13:12:25 +0000 (13:12 -0000)]
2004-11-10  Sebastien Pouliot  <sebastien@ximian.com>

* RC4.cs: Fixed RC4 for compatibility with .NET 2.0. The algorithm is
OK but the check for IV, unused for stream ciphers, has changed.

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

19 years ago2004-11-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 10 Nov 2004 12:53:09 +0000 (12:53 -0000)]
2004-11-10  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientFinished.cs: ProcessAsTls1 - get out of the loop if PRF are
different.

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

19 years ago2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 10 Nov 2004 12:20:12 +0000 (12:20 -0000)]
2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-parser.jay : correcting global attributes handling, because it was
   issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
* Makefile : adding testmbas/AssemblyInfo.vb to some test compilations

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

19 years agofixes dispose of non-used resouces
Jordi Mas i Hernandez [Wed, 10 Nov 2004 12:06:56 +0000 (12:06 -0000)]
fixes dispose of non-used resouces

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

19 years ago* cross-domain.cs: New tests for cross-domain calls.
Lluis Sanchez [Wed, 10 Nov 2004 12:04:38 +0000 (12:04 -0000)]
* cross-domain.cs: New tests for cross-domain calls.

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

19 years agoAdded information about the cross-app domain optimizations in the remoting doc.
Lluis Sanchez [Wed, 10 Nov 2004 12:02:50 +0000 (12:02 -0000)]
Added information about the cross-app domain optimizations in the remoting doc.

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

19 years ago * interp.c: Added MonoRemotingTarget parameter to signature
Lluis Sanchez [Wed, 10 Nov 2004 12:02:05 +0000 (12:02 -0000)]
* interp.c: Added MonoRemotingTarget parameter to signature
interp_create_remoting_trampoline.

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

19 years ago * exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
Lluis Sanchez [Wed, 10 Nov 2004 12:01:09 +0000 (12:01 -0000)]
* exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
mini-exceptions.c: handle the new wrapper types.
* mini.c: The CEE_ISINST and CEE_CASTCLASS opcodes now take the
token value as a MonoClass* when compiling a wrapper.
mono_jit_create_remoting_trampoline now takes an additional
MonoRemotingTarget parameter.

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

19 years ago * appdomain.c: Removed look_for_method_by_name(). Use the new method
Lluis Sanchez [Wed, 10 Nov 2004 11:59:32 +0000 (11:59 -0000)]
* appdomain.c: Removed look_for_method_by_name(). Use the new method
mono_class_get_method_from_name() instead.

* class-internals.h: Added two new types of wrappers.
Added MonoRemotingTarget enum. Added new trampoline function type, which
takes an additional MonoRemotingTarget value as parameter, so it is
possible to request a trampoline for a specific target.

* class.c: Added new mono_class_get_method_from_name() method.

* class.h: In MonoRemoteClass, we can have now to vtables, one for
general remoting sinks and one specific for cross domain calls.

* debug-helpers.c: Added new wrapper names.

* icall.c: Use the new method mono_remote_class_vtable() to get the vtable
of a remote class.

* image.c: Porperly delete value objects form the remoting invoke hashtable.

* marshal.c: Added mono_marshal_get_xappdomain_invoke(), which together
with several other methods (mono_marshal_get_xappdomain_dispatch,
mono_marshal_get_xappdomain_target, mono_marshal_get_serialize_exception,
and others) can generate a fast remoting wrapper for cross domain calls.
More information can be found in docs/remoting.
Other changes: Removed mono_find_method_by_name, and used
mono_class_get_method_from_name instead.
Remoting wrappers are now stored in a MonoRemotingMethods struct, which
is stored in the remoting invoke hashtable.

* marshal.h: published the new method for getting the xdomain wrapper,
and also added a method for getting the adequate wrapper for a given
method and target.

* object-internals.h, object.c: Added a couple of methods for capying and
cloning arrays.
Modified mono_install_remoting_trampoline, which takes the new remoting
trampoline that has a remoting target as parameter.
mono_class_proxy_vtable now also takes a remoting target as parameter, and
will return the most suitable vtable for the target.
Added mono_remote_class_vtable, which returns the vtable of a remote class
(which can be the normal remoting vtable or the xdomain vtable).

* threads.c: the xdomain invoke and dispatch wrappers must also be
protected against interruptions.

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

19 years ago * RemotingServices.cs: Added several serialization methods needed by
Lluis Sanchez [Wed, 10 Nov 2004 11:52:55 +0000 (11:52 -0000)]
* RemotingServices.cs: Added several serialization methods needed by
the cross app domain wrappers.
In GetOrCreateClientIdentity(), set the domain of the proxy if it
references an object in another domain.

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

19 years ago * CallContext.cs: In CreateLogicalCallContext, added parameter which
Lluis Sanchez [Wed, 10 Nov 2004 11:52:21 +0000 (11:52 -0000)]
* CallContext.cs: In CreateLogicalCallContext, added parameter which
specifies if an empty LogicalCallContext needs to be created if there are
no context values.

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

19 years ago * Context.cs: Added NeedsContextSink property, which returns TRUE if
Lluis Sanchez [Wed, 10 Nov 2004 11:51:30 +0000 (11:51 -0000)]
* Context.cs: Added NeedsContextSink property, which returns TRUE if
the current context has sinks that need to be executed when switching to
another context.

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

19 years ago* CrossAppDomainChannel.cs: Added getter for the target domain Id.
Lluis Sanchez [Wed, 10 Nov 2004 11:50:45 +0000 (11:50 -0000)]
* CrossAppDomainChannel.cs: Added getter for the target domain Id.

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

19 years ago * RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
Lluis Sanchez [Wed, 10 Nov 2004 11:49:50 +0000 (11:49 -0000)]
* RealProxy.cs: Added _targetDomainId and _targetUri fields, which are
used by the new xdomain wrappers. Added GetAppDomainTarget() method,
which returns the remote object referenced by the proxy.
* RemotingProxy.cs: Moved _targetUri to RealProxy.

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

19 years ago* Exception.cs: Added setter for StackTrace.
Lluis Sanchez [Wed, 10 Nov 2004 11:48:34 +0000 (11:48 -0000)]
* Exception.cs: Added setter for StackTrace.

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

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

* CustomDataClassGenerator.cs : generated foreign key constraint
  construction code was creating empty child columns and thus it
  was invalid. This fixes bug #69276 (patch by Martin Voelkle).

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

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

* XmlParserContext.cs : PushScope() was accessing list out of range.

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

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

 * System.Data.Sql/ISqlCommand.cs,
 System.Data.Sql/ISqlConnection.cs,
 System.Data.Sql/ISqlExecutionContext.cs,
 System.Data.Sql/ISqlParameterCollection.cs,
 System.Data.Sql/ISqlTransaction.cs: Added `new' modifiers where needed.

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

19 years ago(Select): Add 'override' to make it compile.
Raja R Harinath [Wed, 10 Nov 2004 07:03:08 +0000 (07:03 -0000)]
(Select): Add 'override' to make it compile.

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

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

* IDictionary.cs (IDictionary): `IsReadOnly' and `Clear' are
inherited from ICollection.

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

19 years agoOoops.
Martin Baulig [Wed, 10 Nov 2004 06:49:43 +0000 (06:49 -0000)]
Ooops.

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

19 years ago2004-11-10 Martin Baulig <martin@localhost>
Martin Baulig [Wed, 10 Nov 2004 06:48:55 +0000 (06:48 -0000)]
2004-11-10  Martin Baulig  <martin@localhost>

* DeflateStream.cs, GzipStream.cs: `System.IO.Stream.Length' doesn't
have any setter.

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

19 years agoMerged everything into GMCS.
Martin Baulig [Wed, 10 Nov 2004 06:19:57 +0000 (06:19 -0000)]
Merged everything into GMCS.

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

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 10 Nov 2004 06:18:26 +0000 (06:18 -0000)]
**** Merged from MCS ****

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

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 10 Nov 2004 05:43:58 +0000 (05:43 -0000)]
**** Merged from MCS ****

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

19 years ago**** Merged from MCS ****
Martin Baulig [Wed, 10 Nov 2004 04:49:53 +0000 (04:49 -0000)]
**** Merged from MCS ****

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

19 years ago2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 02:49:10 +0000 (02:49 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: use memmove in BlockCopyInternal when the source and
destination arrays are the same.

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

19 years ago * TabControl.cs (CalcXPos): New helper method so we can determine
Jackson Harper [Wed, 10 Nov 2004 01:04:28 +0000 (01:04 -0000)]
* TabControl.cs (CalcXPos): New helper method so we can determine
the proper place to start drawing vertical tabs.
* ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.

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

19 years agoEnable the new generic tests.
Martin Baulig [Wed, 10 Nov 2004 00:43:24 +0000 (00:43 -0000)]
Enable the new generic tests.

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

19 years agoForgot this
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 00:33:06 +0000 (00:33 -0000)]
Forgot this

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

19 years ago2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Nov 2004 00:26:30 +0000 (00:26 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChunkStream.cs: simplified condition for WantMore property.

* WebConnection.cs: in Connect(), finish any pending reads we might
have for chunked data. Ignore possible blank lines at the very
beginning of the server response. Honor user set KeepAlive in
HttpWebRequest for HTTP/1.1 connections. Thanks to Eyal Alayuf for
his suggestions and code.

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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:56:53 +0000 (23:56 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.BetterFunction): If two methods have
equal parameter types, but only one of them is generic, the
non-generic one wins.
(New.DoResolve): Don't set `is_struct' to false if we're a generic
instance; just use `Type.IsValueType' to determine whether
something is a struct or not.
(MemberAccess.DoResolveAsTypeStep): Don't modify the `args' field,
so we can be called multiple times.

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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:35:27 +0000 (23:35 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeParameter.DefineConstraints): New public method.
(TypeParameter.CheckAccessLevel): Override this and return true.
(ConstructedType.ResolveType): Renamed to DoResolveType(), don't
override ResolveType() anymore.
(ConstructedType.DoResolveAsTypeStep): Call DoResolveType() here.

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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:27:28 +0000 (23:27 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* rootcontext.cs (RootContext.LookupType): If we're a nested type,
call DeclSpace.ResolveNestedType() on it.

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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:24:20 +0000 (23:24 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters.ParameterModifier): If `gpd' is
non-null, call ParameterModifier() on it.

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

19 years agoAdded a null check and removed a debugging statement.
Martin Baulig [Tue, 9 Nov 2004 23:24:05 +0000 (23:24 -0000)]
Added a null check and removed a debugging statement.

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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:20:22 +0000 (23:20 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* iterators.cs
(Iterators): Added `current_type' and `this_type' fields.
(Iterators.DefineIterator): Create a new EmitContext and store it
in `ec'; compute `this_type'.

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

19 years agoOoops.
Martin Baulig [Tue, 9 Nov 2004 23:15:10 +0000 (23:15 -0000)]
Ooops.

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

19 years ago2004-11-10 Martin Baulig <martin@localhost>
Martin Baulig [Tue, 9 Nov 2004 23:13:17 +0000 (23:13 -0000)]
2004-11-10  Martin Baulig  <martin@localhost>

* typemanager.cs
(TypeManager.IsPrivateAccessible): New public method.
(Closure.Filter): Use IsPrivateAccessible() instead of IsEqual().

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

19 years ago2004-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 23:08:35 +0000 (23:08 -0000)]
2004-11-10  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.DefineType): Call
TypeBuilder.DefineGenericParameters() before resolving the type
parameters.
(MethodData.parent_method): New protected field.
(MethodData..ctor): Added `MethodInfo parent_method' argument.
(MethodData.Define): Compute `parent_method'.

* decl.cs
(MemberCore.GetObsoleteAttribute): Don't create a new EmitContext.
(MemberCore.GetClsCompliantAttributeValue): Likewise.
(DeclSpace.ec): New protected field; store the EmitContext here.
(DeclSpace.EmitContext): New public property.
(DeclSpace.ResolveType): Un-comment from the [Obsolte] attribute.
(DeclSpace.ResolveNestedType): New public method.
(DeclSpace.ResolveTypeExpr): Just call ResolveAsTypeTerminal() here.
(DeclSpace.NestedAccessible): Added `Type tb' argument.
(DeclSpace.FamilyAccessible): Likewise.
(DeclSpace.FindType): Call ResolveNestedType() for nested types.
(DeclSpace.GetClsCompliantAttributeValue): Don't create a new
EmitContext.

* delegate.cs (Delegate.Define): Store the EmitContext in the `ec'
field.

* enum.cs (Enum.Define): Store the EmitContext in the `ec' field.
(Enum.Emit): Don't create a new EmitContext.

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

19 years agoOP_RETHROW support; Fix global register allocations
Neale Ferguson [Tue, 9 Nov 2004 23:02:35 +0000 (23:02 -0000)]
OP_RETHROW support; Fix global register allocations

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

19 years agoPut the merging back.
Martin Baulig [Tue, 9 Nov 2004 22:32:25 +0000 (22:32 -0000)]
Put the merging back.

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

19 years ago2004-11-10 Martin Baulig <martin@localhost>
Martin Baulig [Tue, 9 Nov 2004 22:03:51 +0000 (22:03 -0000)]
2004-11-10  Martin Baulig  <martin@localhost>

* mini.c (mono_method_to_ir): Use `generic_container->context'
rather than creating a new one.

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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 21:47:58 +0000 (21:47 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericContainer): Removed `method' and
`signature', replaced them with `is_method' and `is_signature'
flags.  Added `context'.

* loader.c (method_from_methodspec): Take a `MonoGenericContext *'
instead of a `MonoGenericContainer *'.

* metadata.c (mono_metadata_generic_param_equal): Removed the hack
for dynamic type parameters.
(mono_metadata_load_generic_params): Setup `container->context'.

* reflection.c (mono_reflection_setup_generic_class): Setup
`tb->generic_container->context'.
(do_mono_reflection_bind_generic_parameters): Use
mono_class_inflate_generic_type() to correctly inflate types,
rather than using our own hack just for MONO_TYPE_VAR.

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

19 years ago * TabControl.cs: Calculate sizing and rects for left aligned tabs.
Jackson Harper [Tue, 9 Nov 2004 21:44:54 +0000 (21:44 -0000)]
* TabControl.cs: Calculate sizing and rects for left aligned tabs.
* ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
and Bottom, left and right are illegal values for this and
multiline is enabled when the alignment is set to left or right.
(DrawTab): Each alignment block should draw the text itself now
because Left requires special love. Also add rendering for Left
aligned tabs.

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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 21:31:28 +0000 (21:31 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_method): Small fix; don't
crash here.

* icall.c
(ves_icall_MonoType_GetGenericArguments): Don't ignore `byref' types.
(ves_icall_Type_get_IsGenericTypeDefinition): Likewise.
(ves_icall_Type_GetGenericTypeDefinition_impl): Likewise.
(ves_icall_Type_BindGenericParameters): Likewise.
(ves_icall_Type_get_IsGenericInstance): Likewise.
(ves_icall_Type_GetGenericParameterPosition): Likewise.
(ves_icall_MonoType_get_HasGenericArguments): Likewise.
(ves_icall_MonoType_get_IsGenericParameter): Likewise.
(ves_icall_MonoType_get_DeclaringMethod): Likewise.

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

19 years agogrrrrr
Duncan Mak [Tue, 9 Nov 2004 20:23:50 +0000 (20:23 -0000)]
grrrrr

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

19 years agoAdd XML_DEP, this should fix the build.
Duncan Mak [Tue, 9 Nov 2004 20:18:06 +0000 (20:18 -0000)]
Add XML_DEP, this should fix the build.

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