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
Martin Baulig [Mon, 15 Nov 2004 04:36:28 +0000 (04:36 -0000)]
Removed some old debugging code.
svn path=/trunk/mcs/; revision=36114
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sat, 13 Nov 2004 19:26:12 +0000 (19:26 -0000)]
Update
svn path=/trunk/mono/; revision=36092
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
Miguel de Icaza [Fri, 12 Nov 2004 22:21:43 +0000 (22:21 -0000)]
Remove property
svn path=/trunk/mcs/; revision=36077
Miguel de Icaza [Fri, 12 Nov 2004 22:19:35 +0000 (22:19 -0000)]
Commit
svn path=/trunk/mcs/; revision=36076
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
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
Martin Baulig [Fri, 12 Nov 2004 20:24:06 +0000 (20:24 -0000)]
Ooops, forgot this.
svn path=/trunk/mcs/; revision=36070
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
Martin Baulig [Fri, 12 Nov 2004 20:13:07 +0000 (20:13 -0000)]
Added a Makefile.
svn path=/trunk/mcs/; revision=36068
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
César Natarén [Fri, 12 Nov 2004 17:46:24 +0000 (17:46 -0000)]
changelogs
svn path=/trunk/mcs/; revision=36066
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
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Fri, 12 Nov 2004 03:06:18 +0000 (03:06 -0000)]
New tests.
svn path=/trunk/mcs/; revision=36046
Miguel de Icaza [Fri, 12 Nov 2004 02:52:06 +0000 (02:52 -0000)]
Fix
svn path=/trunk/mcs/; revision=36045
Miguel de Icaza [Fri, 12 Nov 2004 02:50:50 +0000 (02:50 -0000)]
Update
svn path=/trunk/mcs/; revision=36044
Miguel de Icaza [Thu, 11 Nov 2004 22:06:42 +0000 (22:06 -0000)]
properties
svn path=/trunk/mcs/; revision=36043
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
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
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
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
Peter Dennis Bartok [Thu, 11 Nov 2004 21:21:54 +0000 (21:21 -0000)]
- Added Visible property
svn path=/trunk/mcs/; revision=36035
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
Peter Dennis Bartok [Thu, 11 Nov 2004 21:20:25 +0000 (21:20 -0000)]
- Updated
svn path=/trunk/mcs/; revision=36033
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
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
Miguel de Icaza [Thu, 11 Nov 2004 20:47:44 +0000 (20:47 -0000)]
Test
svn path=/trunk/mcs/; revision=36028
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
Jackson Harper [Thu, 11 Nov 2004 20:01:44 +0000 (20:01 -0000)]
* OwnerDrawPropertyBag.cs: Initial implementation
svn path=/trunk/mcs/; revision=36022
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
Jackson Harper [Thu, 11 Nov 2004 19:16:40 +0000 (19:16 -0000)]
* TreeViewImageIndexConverter.cs: Initial implementation
svn path=/trunk/mcs/; revision=36020
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
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
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
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
Gonzalo Paniagua Javier [Thu, 11 Nov 2004 13:38:34 +0000 (13:38 -0000)]
Renamed!!! :)
svn path=/trunk/mcs/; revision=36006
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
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
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
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
Martin Baulig [Thu, 11 Nov 2004 04:05:31 +0000 (04:05 -0000)]
Put the merging back.
svn path=/trunk/mcs/; revision=36001
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
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
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
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
Miguel de Icaza [Thu, 11 Nov 2004 02:30:00 +0000 (02:30 -0000)]
Add libgc to mono
svn path=/trunk/mono/; revision=35994
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
Miguel de Icaza [Thu, 11 Nov 2004 02:00:36 +0000 (02:00 -0000)]
Test
svn path=/trunk/mcs/; revision=35992
Miguel de Icaza [Thu, 11 Nov 2004 01:56:41 +0000 (01:56 -0000)]
Test
svn path=/trunk/mcs/; revision=35991
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
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
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
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
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
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
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
Neale Ferguson [Wed, 10 Nov 2004 17:51:51 +0000 (17:51 -0000)]
Minor correction.
svn path=/trunk/mono/; revision=35983
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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