mono.git
19 years ago2004-11-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 15 Nov 2004 04:49:07 +0000 (04:49 -0000)]
2004-11-15  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberName.GetPartialName): Removed, use GetTypeName() instead.

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

19 years agoRemoved some old debugging code.
Martin Baulig [Mon, 15 Nov 2004 04:36:28 +0000 (04:36 -0000)]
Removed some old debugging code.

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

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

* class.c (mono_class_create_generic): Changed return type to void.
(mono_class_create_generic_2): New public function; setup
`class->method', `class->field' and `class->interfaces' here
instead of in mono_class_init().

* class.h (mono_class_create_generic): Moved to class-internals.h.

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

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

* runtime/net_2_0/Makefile.am (gac_assemblies_list): Added Mono.C5.

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

19 years ago2004-11-14 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 15 Nov 2004 00:18:19 +0000 (00:18 -0000)]
2004-11-14  Geoff Norton  <gnorton@customerdna.com>

        * Mono.Data.SqliteClient/SqliteConnection.cs:  Default to v2 not v3 if version
        isn't specified in the connection string.  Fixes a bug in F-Spot reported by Miguel

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

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

Importing version 0.5 of C5's test suite, http://www.itu.dk/research/c5/.

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

19 years ago2004-11-14 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 14 Nov 2004 19:33:47 +0000 (19:33 -0000)]
2004-11-14  Ben Maurer  <bmaurer@ximian.com>

* statement.cs: Avoid adding bools to a hashtable.

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

19 years ago2004-11-14 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 14 Nov 2004 15:22:40 +0000 (15:22 -0000)]
2004-11-14  Ben Maurer  <bmaurer@ximian.com>

* reflection.c (mono_image_create_pefile): take a file HANDLE.
rather than writing to memory, write to this file. Right now,
we are just writting into a buffer, and copying that. However
we can avoid the buffer later.

(mono_dynamic_stream_reset): new function

* icall.c, object-internals.h: update for the above.

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

19 years ago2004-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Nov 2004 06:35:48 +0000 (06:35 -0000)]
2004-11-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriterTests.cs : Added test for WriteAttributes().

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

19 years ago2004-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Nov 2004 05:44:56 +0000 (05:44 -0000)]
2004-11-14  Atsushi Enomoto <atsushi@ximian.com>

* XPathEditableDocument.cs : WriteStartElement() should not expect
  that there is an OwnerDocument (current node might be document).

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

19 years ago2004-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Nov 2004 05:39:35 +0000 (05:39 -0000)]
2004-11-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriter.cs : after WriteAttributes(), argument XmlReader must
  move to element. This fixes bug #69350.

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

19 years agoMove the configure.in entries back, enough ChangeLog hackery for tonight
Duncan Mak [Sun, 14 Nov 2004 04:19:37 +0000 (04:19 -0000)]
Move the configure.in entries back, enough ChangeLog hackery for tonight

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

19 years agoMove Jon's ChangeLog entries to the new ChangeLog in mono/support.
Duncan Mak [Sun, 14 Nov 2004 04:17:18 +0000 (04:17 -0000)]
Move Jon's ChangeLog entries to the new ChangeLog in mono/support.

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

19 years agoAdd ChangeLog for support/ specific changes.
Geoff Norton [Sun, 14 Nov 2004 04:10:30 +0000 (04:10 -0000)]
Add ChangeLog for support/ specific changes.
Reflect my last commit to mph.h to readd MPH_ON_BSD as unistd.c and sys-mount.c
still check this variable.  This allows mono to build on *BSD again.

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

19 years agoRevent a small part of jon's BSD configure.in patches.
Geoff Norton [Sun, 14 Nov 2004 04:00:16 +0000 (04:00 -0000)]
Revent a small part of jon's BSD configure.in patches.

MPH_ON_BSD still exists in unistd.c and sys-mount.c; this reversion allows mono to compile on *BSD again.

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

19 years ago * reflection.c: Remove *_ATOMIC macros. We really shouldn't
Ben Maurer [Sun, 14 Nov 2004 03:22:57 +0000 (03:22 -0000)]
* reflection.c: Remove *_ATOMIC macros. We really shouldn't
have been using gc'd memory. First it is slower, unlikely
the comment in the source code said, secondly, it increases
our footprint to do it in the gc.

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

19 years ago2004-11-13 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 14 Nov 2004 03:06:55 +0000 (03:06 -0000)]
2004-11-13  Ben Maurer  <bmaurer@ximian.com>

* icall.c (WriteToFile): rename of getDataChunk. Rewrite
the method so that it does not have to copy to managed code.

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

19 years ago2004-11-13 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 14 Nov 2004 03:06:33 +0000 (03:06 -0000)]
2004-11-13  Ben Maurer  <bmaurer@ximian.com>

* ModuleBuilder.cs (Save): Use new WriteToFile icall.

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

19 years agoUpdate
Miguel de Icaza [Sat, 13 Nov 2004 19:26:12 +0000 (19:26 -0000)]
Update

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

19 years ago2004-11-12 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 13 Nov 2004 00:38:16 +0000 (00:38 -0000)]
2004-11-12  Ben Maurer  <bmaurer@ximian.com>

* transform.c: Fix bug with delegates in interp.

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

19 years agoRemove property
Miguel de Icaza [Fri, 12 Nov 2004 22:21:43 +0000 (22:21 -0000)]
Remove property

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

19 years agoCommit
Miguel de Icaza [Fri, 12 Nov 2004 22:19:35 +0000 (22:19 -0000)]
Commit

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

19 years ago2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 12 Nov 2004 22:05:39 +0000 (22:05 -0000)]
2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: added internl SetHeadersSent.
* HttpRuntime.cs: don't throw the 'headers already sent' exception
if we're sending a runtime error.

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

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

* Makefile (SUBDIRS): Added Mono.C5.

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

19 years agoOoops, forgot this.
Martin Baulig [Fri, 12 Nov 2004 20:24:06 +0000 (20:24 -0000)]
Ooops, forgot this.

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

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

* Wrappers.cs: Added workaround for #69082.

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

19 years agoAdded a Makefile.
Martin Baulig [Fri, 12 Nov 2004 20:13:07 +0000 (20:13 -0000)]
Added a Makefile.

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

19 years ago2004-11-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 12 Nov 2004 20:10:48 +0000 (20:10 -0000)]
2004-11-12  Martin Baulig  <martin@ximian.com>

* linkedlists/LinkedList.cs: Added workaround for bug #57747.

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

19 years agochangelogs
César Natarén [Fri, 12 Nov 2004 17:46:24 +0000 (17:46 -0000)]
changelogs

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

19 years agoParser.cs, expression.cs: discriminate among =, +=, -=, etc. Add overload for ToJSToken.
César Natarén [Fri, 12 Nov 2004 17:44:53 +0000 (17:44 -0000)]
Parser.cs, expression.cs: discriminate among =, +=, -=, etc. Add overload for ToJSToken.

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

19 years ago2004-11-12 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 12 Nov 2004 17:43:30 +0000 (17:43 -0000)]
2004-11-12  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* TypeOf.cs, Plus.cs, Equality.cs:  implementation of
JScriptTypeOf, EvaluatePlus, EvaluateEquality.
* Convert.cs (ToString): use the IConvertible/TypeCode approach
for convertions. Add GetTypeCode.

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

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

* mini.c mini-*.h: Get rid of MONO_ARCH_HAVE_RETHROW since all architectures support it now.
(mini_init): Get rid of it from here too.

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

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

* loader.c (mono_method_get_header): Fix build for older glibs which does not define G_LIKELY.

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

19 years ago2004-11-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 12 Nov 2004 16:53:11 +0000 (16:53 -0000)]
2004-11-12  Zoltan Varga  <vargaz@freemail.hu>

* mini.c mini-*.h: Get rid of MONO_ARCH_HAVE_RETHROW since all architectures support it now.

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

19 years agoFri Nov 12 17:56:26 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Nov 2004 15:47:18 +0000 (15:47 -0000)]
Fri Nov 12 17:56:26 CET 2004 Paolo Molaro <lupus@ximian.com>

* configure.in, mono/mini/Makefile.am: control static
linking of the mono binary with a configure option.

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

19 years ago * Syscall.cs: Export time-related functions (gettimeofday, settimeofday,
Jonathan Pryor [Fri, 12 Nov 2004 15:12:54 +0000 (15:12 -0000)]
  * Syscall.cs: Export time-related functions (gettimeofday, settimeofday,
  utime, utimes), mknod.

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

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