Mark Probst [Sat, 27 Sep 2008 13:02:48 +0000 (13:02 -0000)]
2008-09-27 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: A few typecasts to fix compiler warnings.
2008-09-27 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c: Compiler warning fixes.
svn path=/trunk/mono/; revision=114279
Mark Probst [Sat, 27 Sep 2008 12:25:22 +0000 (12:25 -0000)]
2008-09-27 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c: Special handling for 1/2 byte structs on Darwin only
for pinvokes.
svn path=/trunk/mono/; revision=114277
Mark Probst [Sat, 27 Sep 2008 09:41:53 +0000 (09:41 -0000)]
2008-09-27 Mark Probst <mark.probst@gmail.com>
* exceptions-ppc.c, mini-ppc.h: Compile
mono_arch_handle_altstack_exception() on Darwin, too.
svn path=/trunk/mono/; revision=114272
Mark Probst [Sat, 27 Sep 2008 08:57:24 +0000 (08:57 -0000)]
2008-09-27 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_emit_rgctx_method_call_full): Must also
work on archs which don't have generic sharing implemented, only
without the vtable_arg.
svn path=/trunk/mono/; revision=114271
Miguel de Icaza [Sat, 27 Sep 2008 06:55:34 +0000 (06:55 -0000)]
update tuner file to the expanded C# compiler API
svn path=/trunk/mcs/; revision=114269
Miguel de Icaza [Sat, 27 Sep 2008 06:53:07 +0000 (06:53 -0000)]
2008-09-27 Miguel de Icaza <miguel@novell.com>
* eval.cs (Evaluator): Introduce Compile method, to allow compiled
code to be invoked without having to reparse.
svn path=/trunk/mcs/; revision=114268
Miguel de Icaza [Sat, 27 Sep 2008 06:35:45 +0000 (06:35 -0000)]
Fix the test setup, Run was using the wrong test
svn path=/trunk/mcs/; revision=114267
Miguel de Icaza [Sat, 27 Sep 2008 06:29:21 +0000 (06:29 -0000)]
Update tests
svn path=/trunk/mcs/; revision=114266
Miguel de Icaza [Sat, 27 Sep 2008 06:29:15 +0000 (06:29 -0000)]
Update tests
svn path=/trunk/mcs/; revision=114265
Miguel de Icaza [Sat, 27 Sep 2008 06:25:03 +0000 (06:25 -0000)]
2008-09-27 Miguel de Icaza <miguel@novell.com>
* ecore.cs: The recent changes to FieldExpr broke this as well.
Fixes LINQ queries in the interactive shell.
svn path=/trunk/mcs/; revision=114264
Miguel de Icaza [Sat, 27 Sep 2008 06:11:20 +0000 (06:11 -0000)]
2008-09-27 Miguel de Icaza <miguel@novell.com>
* Multiple files: indentation fixing for the Mono coding
guidelines for the switch statement.
svn path=/trunk/mcs/; revision=114263
Miguel de Icaza [Sat, 27 Sep 2008 06:02:32 +0000 (06:02 -0000)]
Indentation
svn path=/trunk/mcs/; revision=114262
Miguel de Icaza [Sat, 27 Sep 2008 05:18:15 +0000 (05:18 -0000)]
2008-09-27 Miguel de Icaza <miguel@novell.com>
* eval.cs: Make the Evaluator API thread safe.
svn path=/trunk/mcs/; revision=114261
Raja R Harinath [Fri, 26 Sep 2008 20:00:41 +0000 (20:00 -0000)]
* DataView.cs: Convert into a partial class and sequester
interface-implementations and NET_2_0 pieces into separate parts.
svn path=/trunk/mcs/; revision=114232
Raja R Harinath [Fri, 26 Sep 2008 20:00:05 +0000 (20:00 -0000)]
style nits
svn path=/trunk/mcs/; revision=114231
Raja R Harinath [Fri, 26 Sep 2008 19:08:27 +0000 (19:08 -0000)]
update known-issues-smcs
svn path=/trunk/mcs/; revision=114222
Raja R Harinath [Fri, 26 Sep 2008 19:08:07 +0000 (19:08 -0000)]
style nits
svn path=/trunk/mcs/; revision=114221
Raja R Harinath [Fri, 26 Sep 2008 19:07:48 +0000 (19:07 -0000)]
update known issues
svn path=/trunk/mcs/; revision=114220
Raja R Harinath [Fri, 26 Sep 2008 19:07:30 +0000 (19:07 -0000)]
style nits
svn path=/trunk/mcs/; revision=114219
Mark Probst [Fri, 26 Sep 2008 17:27:48 +0000 (17:27 -0000)]
2008-09-26 Mark Probst <mark.probst@gmail.com>
* mini.c: Added comment explaining why delegate ctor icall
wrappers are compiled.
svn path=/trunk/mono/; revision=114207
Mark Probst [Fri, 26 Sep 2008 16:50:00 +0000 (16:50 -0000)]
2008-09-26 Mark Probst <mark.probst@gmail.com>
* mini.c: Don't produce trampolines to delegate ctor icall
wrappers but compile them upfront.
2008-09-26 Mark Probst <mark.probst@gmail.com>
* generic-delegate-ctor.2.cs: Test case for delegate ctor icall
wrappers.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114206
Marek Habersack [Fri, 26 Sep 2008 16:46:40 +0000 (16:46 -0000)]
2008-09-26 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: when creating a cache entry for a virtual path,
make it depend on a list of files built recursively from all the
virtual path's dependencies. Fixes bug #430114
svn path=/trunk/mcs/; revision=114205
Bill Holmes [Fri, 26 Sep 2008 16:24:02 +0000 (16:24 -0000)]
2008-09-26 Bill Holmes <billholmes54@gmail.com>
* libmono.vcproj : Adding attach.c to the VC project.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=114202
Bill Holmes [Fri, 26 Sep 2008 16:18:44 +0000 (16:18 -0000)]
2008-09-26 Bill Holmes <billholmes54@gmail.com>
* attach.c : Fixing the Windows builds.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=114198
Paolo Molaro [Fri, 26 Sep 2008 15:02:35 +0000 (15:02 -0000)]
Fri Sep 26 17:00:46 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mini-amd64.c, mini-amd64.h, tramp-amd64.c: amd64 support code for calling a
runtime-set function when going back to managed code. Currently this
is used to set back the protection on the soft ovf pages and/or to
throw the stack overflow exception that happened in unmanaged code.
svn path=/trunk/mono/; revision=114190
Juraj Skripsky [Fri, 26 Sep 2008 14:56:10 +0000 (14:56 -0000)]
2008-09-26 Juraj Skripsky <js@hotfeet.ch>
* OutputCacheModule.cs: Consistently use InternalCache for
CachedRawResponse items and Cache for CachedVaryBy items.
Partial fix for bug #429926.
svn path=/trunk/mcs/; revision=114189
Paolo Molaro [Fri, 26 Sep 2008 14:53:27 +0000 (14:53 -0000)]
Fri Sep 26 16:46:23 CEST 2008 Paolo Molaro <lupus@ximian.com>
* tramp-x86.c, mini-x86.h, mini-x86.c: x86 support code for calling a
runtime-set function when going back to managed code. Currently this
is used to set back the protection on the soft ovf pages and/or to
throw the stack overflow exception that happened in unmanaged code.
svn path=/trunk/mono/; revision=114188
Paolo Molaro [Fri, 26 Sep 2008 14:45:58 +0000 (14:45 -0000)]
Fri Sep 26 16:34:37 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mini.h, mini.c, mini-trampolines.c, mini-exceptions.c: added
the support code for restoring stack protection after stack overflows
that happen in unmanaged code. Don't set the exec permission on the
soft overflow area.
svn path=/trunk/mono/; revision=114186
Marek Safar [Fri, 26 Sep 2008 13:56:29 +0000 (13:56 -0000)]
2008-09-26 Marek Safar <marek.safar@gmail.com>
* anonymous.cs, statement.cs, class.cs, cs-parser.jay: Simplified
constructor parsing.
svn path=/trunk/mcs/; revision=114182
Daniel Nauck [Fri, 26 Sep 2008 13:16:01 +0000 (13:16 -0000)]
2008-09-26 Daniel Nauck <dna@mono-project.de>
* de.po : update
svn path=/trunk/mono/; revision=114180
Daniel Nauck [Fri, 26 Sep 2008 12:12:17 +0000 (12:12 -0000)]
fix build
svn path=/trunk/mono/; revision=114177
Daniel Nauck [Fri, 26 Sep 2008 11:44:57 +0000 (11:44 -0000)]
2008-09-26 Daniel Nauck <dna@mono-project.de>
* de.po : update
svn path=/trunk/mono/; revision=114176
Daniel Nauck [Fri, 26 Sep 2008 10:06:42 +0000 (10:06 -0000)]
2008-09-26 Daniel Nauck <dna@mono-project.de>
* de.po : added german translation
* LINGUAS : added de
svn path=/trunk/mono/; revision=114172
Marek Safar [Fri, 26 Sep 2008 09:33:40 +0000 (09:33 -0000)]
2008-09-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #325326
* statement.cs: Check possible mistaken empty statement using
explicit blocks only.
svn path=/trunk/mcs/; revision=114170
Zoltan Varga [Fri, 26 Sep 2008 02:57:55 +0000 (02:57 -0000)]
2008-09-26 Zoltan Varga <vargaz@gmail.com>
* delegate9.cs: New test.
svn path=/trunk/mono/; revision=114164
Zoltan Varga [Fri, 26 Sep 2008 02:56:59 +0000 (02:56 -0000)]
2008-09-26 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_delegate_trampoline): Add wrappers even if
delegate->method_ptr is set. Fixes #428054.
svn path=/trunk/mono/; revision=114163
Miguel de Icaza [Fri, 26 Sep 2008 01:05:11 +0000 (01:05 -0000)]
up
svn path=/trunk/mcs/; revision=114158
Miguel de Icaza [Fri, 26 Sep 2008 01:04:15 +0000 (01:04 -0000)]
2008-09-25 Luis Ortiz <lortiz@interactivesupercomputing.com>
* configure.in: Big arrays are only supported on 64 bit systems.
Fixes #430022
svn path=/trunk/mono/; revision=114157
Miguel de Icaza [Fri, 26 Sep 2008 01:01:28 +0000 (01:01 -0000)]
2008-09-25 Miguel de Icaza <miguel@novell.com>
* eval.cs (LoadAssembly, ReferenceAssembly): Call
RootNamespace.ComputeNamespaces to update the internal list of
namespaces, this is no longer done for us.
(InteractiveBase): Use the Evaluator APIs instead of calling into
Driver directly
svn path=/trunk/mcs/; revision=114156
Zoltan Varga [Thu, 25 Sep 2008 22:24:31 +0000 (22:24 -0000)]
2008-09-26 Zoltan Varga <vargaz@gmail.com>
* mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
svn path=/trunk/mono/; revision=114137
Miguel de Icaza [Thu, 25 Sep 2008 20:39:14 +0000 (20:39 -0000)]
2008-09-25 Miguel de Icaza <miguel@novell.com>
* repl.cs: On errors, return null.
svn path=/trunk/mcs/; revision=114123
Zoltan Varga [Thu, 25 Sep 2008 18:44:16 +0000 (18:44 -0000)]
2008-09-25 Zoltan Varga <vargaz@gmail.com>
* tests.cs: Rename to ratests.cs.
svn path=/trunk/mono/; revision=114112
Zoltan Varga [Thu, 25 Sep 2008 18:40:49 +0000 (18:40 -0000)]
2008-09-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Merge the emit_get_rgctx () calls into the
emit_get_rgctx_... functions.
svn path=/trunk/mono/; revision=114111
Zoltan Varga [Thu, 25 Sep 2008 17:52:47 +0000 (17:52 -0000)]
2008-09-25 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_generic_sharing_enabled): Experimentally change
the default generic sharing mode to 'all'.
svn path=/trunk/mono/; revision=114108
Marek Habersack [Thu, 25 Sep 2008 17:42:59 +0000 (17:42 -0000)]
2008-09-25 Marek Habersack <mhabersack@novell.com>
* WebUIValidation_2.0.js: do not trim the control value in
CompareValidatorEvaluateIsValid.
svn path=/trunk/mcs/; revision=114105
Dick Porter [Thu, 25 Sep 2008 17:01:52 +0000 (17:01 -0000)]
2008-09-25 Dick Porter <dick@ximian.com>
* wait.c: Make sure we keep references to handles we're waiting
for. Fixes bug 424851.
svn path=/trunk/mono/; revision=114097
Marek Safar [Thu, 25 Sep 2008 16:30:20 +0000 (16:30 -0000)]
New test.
svn path=/trunk/mcs/; revision=114091
Marek Safar [Thu, 25 Sep 2008 16:29:45 +0000 (16:29 -0000)]
2008-09-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #429264
* expression.cs: Missing mutator for access to multidimensional
arrays.
svn path=/trunk/mcs/; revision=114090
Marek Safar [Thu, 25 Sep 2008 15:41:34 +0000 (15:41 -0000)]
64 bits fix
svn path=/trunk/mcs/; revision=114084
Marek Safar [Thu, 25 Sep 2008 15:39:54 +0000 (15:39 -0000)]
2008-09-25 Marek Safar <marek.safar@gmail.com>
* class.cs, statement: Emit DebuggerHidden attribute for iterator
entry wrapper.
* driver.cs: Missing input argument check.
svn path=/trunk/mcs/; revision=114083
Carlos Alberto Cortez [Thu, 25 Sep 2008 15:33:59 +0000 (15:33 -0000)]
2008-09-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* FileDialog.cs: Implement basic support for sorting by columns in
Details view. Patch by Eric Petit.
Fixes #428006.
svn path=/trunk/mcs/; revision=114082
Mark Probst [Thu, 25 Sep 2008 15:30:40 +0000 (15:30 -0000)]
2008-09-25 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: Eliminated macro EMIT_GET_RGCTX.
svn path=/trunk/mono/; revision=114081
Marek Habersack [Thu, 25 Sep 2008 15:29:43 +0000 (15:29 -0000)]
2008-09-25 Marek Habersack <mhabersack@novell.com>
* DoubleTest.cs: added a test for TryParse invoked with various
strings, including strings with embedded whitespace.
svn path=/trunk/mcs/; revision=114080
Mark Probst [Thu, 25 Sep 2008 15:28:59 +0000 (15:28 -0000)]
2008-09-25 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Unwrap wrappers
before asserting that method is sharable.
2008-09-25 Mark Probst <mark.probst@gmail.com>
* generic-synchronized.2.cs: Test case for synchronized generic
methods.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=114079
Jb Evain [Thu, 25 Sep 2008 15:13:22 +0000 (15:13 -0000)]
2008-09-25 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Binary/MemoryBinaryWriter.cs: Make sure QuadAlign
properly enlarge the memory stream if needed.
Patch by Regis Vaquette <rvaquette@yahoo.fr>.
svn path=/trunk/mcs/; revision=114078
Marek Safar [Thu, 25 Sep 2008 14:17:34 +0000 (14:17 -0000)]
2008-09-25 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, generic.cs, eval.cs, decl.cs, anonymous.cs,
expression.cs, statement.cs, rootcontext.cs, class.cs,
cs-parser.jay, driver.cs, generic-mcs.cs, enum.cs: Removed obsolete
DefineMembers.
svn path=/trunk/mcs/; revision=114077
Marek Safar [Thu, 25 Sep 2008 14:01:21 +0000 (14:01 -0000)]
Update
svn path=/trunk/mcs/; revision=114076
Marek Safar [Thu, 25 Sep 2008 09:47:01 +0000 (09:47 -0000)]
Update.
svn path=/trunk/mcs/; revision=114065
Mark Probst [Thu, 25 Sep 2008 09:43:46 +0000 (09:43 -0000)]
2008-09-25 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c, class-internals.h: New function for checking
whether a method needs a static RGCTX invoke wrapper. A few
funtions moved from mini/generic-sharing.c.
* icall.c: New function used.
2008-09-25 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c, mini.c, jit-icalls.c: New function for checking
whether method needs a static RGCTX wrapper used instead of
complex conditions.
* generic-sharing.c, mini.h: A few functions moved to
metadata/generic-sharing.c.
svn path=/trunk/mono/; revision=114064
Carlos Alberto Cortez [Thu, 25 Sep 2008 09:39:34 +0000 (09:39 -0000)]
2008-09-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ThemeWin32Classis.cs: When drawing gridlines take into account the
case where ListView.ItemSize hasn't been computed, and provide a
fallback as well. This prevents a division by 0.
svn path=/trunk/mcs/; revision=114063
Marek Safar [Thu, 25 Sep 2008 08:22:02 +0000 (08:22 -0000)]
Fixed broken test profile
svn path=/trunk/mcs/; revision=114062
Mark Probst [Thu, 25 Sep 2008 07:51:31 +0000 (07:51 -0000)]
2008-09-25 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c, mini.c, mini-exceptions.c, mini-trampolines.c:
Generic code sharing for value types, which essentially means
treating value type methods like static methods. The RGCTX is
passed in the same way.
2008-09-25 Mark Probst <mark.probst@gmail.com>
* icall.c (ves_icall_System_Delegate_CreateDelegate_internal):
Static RGCTX invoke wrapping applies to value type methods, too.
* class.c (mono_class_setup_vtable_general): In generic-shared
value types, wrap methods with a static RGCTX invoke wrapper.
svn path=/trunk/mono/; revision=114061
Jb Evain [Thu, 25 Sep 2008 07:49:26 +0000 (07:49 -0000)]
fix ToArray
svn path=/trunk/mcs/; revision=114060
Zoltan Varga [Thu, 25 Sep 2008 02:51:10 +0000 (02:51 -0000)]
2008-09-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Avoid an assert in the NEWOBJ
opcode when creating multi-dimensional arrays of open types.
* generic-sharing.c (mono_method_check_context_used): Handle arrays of
open generic types.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=114052
Miguel de Icaza [Thu, 25 Sep 2008 01:58:31 +0000 (01:58 -0000)]
2008-09-24 Miguel de Icaza <miguel@novell.com>
* ecore.cs (FieldExpr): Only initialize eclass when we return a
fully constructed FieldExpr, fixes the regression introduced in
the last commit.
svn path=/trunk/mcs/; revision=114051
Daniel Morgan [Thu, 25 Sep 2008 01:46:57 +0000 (01:46 -0000)]
2008-09-24 Daniel Morgan <monodanmorg@yahoo.com>
* Test/testblob.cs
* Test/TestOracleClient.cs: update tests for parameter type of blob
* System.Data.OracleClient/OracleLob.cs: position was never
being reset to the offset causing the reading of a Blob to
be out of range
* System.Data.OracleClient/OracleParameter.cs: fixes for
character and blob types
svn path=/trunk/mcs/; revision=114050
Miguel de Icaza [Thu, 25 Sep 2008 00:07:47 +0000 (00:07 -0000)]
update
svn path=/trunk/mono/; revision=114044
Miguel de Icaza [Wed, 24 Sep 2008 23:59:38 +0000 (23:59 -0000)]
Revert
svn path=/trunk/mcs/; revision=114043
Zoltan Varga [Wed, 24 Sep 2008 23:33:08 +0000 (23:33 -0000)]
2008-09-25 Zoltan Varga <vargaz@gmail.com>
* attach.c (ipc_connect): Use AF_UNIX instead of AF_FILE to fix the
osx build.
svn path=/trunk/mono/; revision=114038
Zoltan Varga [Wed, 24 Sep 2008 23:13:34 +0000 (23:13 -0000)]
2008-09-25 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Use macros everywhere for checking floats instead of == 'f'.
svn path=/trunk/mono/; revision=114035
Miguel de Icaza [Wed, 24 Sep 2008 23:11:15 +0000 (23:11 -0000)]
2008-09-24 Miguel de Icaza <miguel@novell.com>
* eval-test.cs: Add an evaluation test, to test the basic
primitives of the expression evaluator.
svn path=/trunk/mcs/; revision=114034
Marek Habersack [Wed, 24 Sep 2008 22:53:16 +0000 (22:53 -0000)]
2008-09-25 Marek Habersack <mhabersack@novell.com>
* Page.cs: make sure view state is loaded for PreviousPage during
cross-page postback.
svn path=/trunk/mcs/; revision=114033
Miguel de Icaza [Wed, 24 Sep 2008 22:49:42 +0000 (22:49 -0000)]
2008-09-24 Miguel de Icaza <miguel@novell.com>
* ecore.cs, expression.cs: Plug back the eclass initialization as
otherwise it regresses `csharp'.
svn path=/trunk/mcs/; revision=114032
Zoltan Varga [Wed, 24 Sep 2008 21:50:15 +0000 (21:50 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoCompile): Add 'disable_vreg_to_lvreg' flag.
* mini.c (mini_method_compile): Set it when running under the debugger.
* method-to-ir.c (mono_handle_global_vregs): Disable global->local
vreg optimization if the flag is set.
svn path=/trunk/mono/; revision=114026
Marek Safar [Wed, 24 Sep 2008 21:40:40 +0000 (21:40 -0000)]
Disable MS_COMPATIBILITY on Mono
svn path=/trunk/mcs/; revision=114023
Marek Safar [Wed, 24 Sep 2008 21:32:51 +0000 (21:32 -0000)]
Missing error message
svn path=/trunk/mcs/; revision=114021
Zoltan Varga [Wed, 24 Sep 2008 21:06:37 +0000 (21:06 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* AssemblyInfo.cs ChangeLog: New files.
svn path=/trunk/mcs/; revision=114019
Zoltan Varga [Wed, 24 Sep 2008 20:38:37 +0000 (20:38 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* AssemblyInfo.cs ChangeLog: New files.
svn path=/trunk/mcs/; revision=114016
Zoltan Varga [Wed, 24 Sep 2008 20:21:36 +0000 (20:21 -0000)]
Fix a typo.
svn path=/trunk/mono/; revision=114013
Jonathan Pobst [Wed, 24 Sep 2008 20:21:29 +0000 (20:21 -0000)]
2008-09-24 Jonathan Pobst <monkey@jpobst.com>
* ThemeVisualStyles.cs: Use ClientRectangle instead of Bounds to
correctly draw tooltip backgrounds.
svn path=/trunk/mcs/; revision=114012
Miguel de Icaza [Wed, 24 Sep 2008 20:10:15 +0000 (20:10 -0000)]
Format for api docs
svn path=/trunk/mono/; revision=114011
Miguel de Icaza [Wed, 24 Sep 2008 20:10:06 +0000 (20:10 -0000)]
Document attach, various other cleanups
svn path=/trunk/mono/; revision=114010
Zoltan Varga [Wed, 24 Sep 2008 20:01:50 +0000 (20:01 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* Makefile repl.cs: Add support for attaching to arbitrary mono
processes.
svn path=/trunk/mcs/; revision=114007
Zoltan Varga [Wed, 24 Sep 2008 20:00:38 +0000 (20:00 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* Makefile (net_2_0_dirs): Add Mono.Management.
svn path=/trunk/mcs/; revision=114005
Marek Habersack [Wed, 24 Sep 2008 19:52:51 +0000 (19:52 -0000)]
2008-09-24 Marek Habersack <mhabersack@novell.com>
* Double.cs: check whether decimal_separator, group_separator and
currency_symbol strings aren't empty before trying to index them
in Parse ().
svn path=/trunk/mcs/; revision=114004
Zoltan Varga [Wed, 24 Sep 2008 19:38:05 +0000 (19:38 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add --enable-minimal=attach option.
svn path=/trunk/mono/; revision=114003
Zoltan Varga [Wed, 24 Sep 2008 19:36:04 +0000 (19:36 -0000)]
Add new Mono.Management assembly.
svn path=/trunk/mcs/; revision=114002
Michael Hutchinson [Wed, 24 Sep 2008 19:32:52 +0000 (19:32 -0000)]
2008-09-24 Michael Hutchinson <mhutchinson@novell.com>
* HttpServerChannelTests.cs: Don't check for a chunked response from
the Mono HTTP server; it no longer chunks since that was breaking
other tests.
svn path=/trunk/mcs/; revision=114001
Jb Evain [Wed, 24 Sep 2008 19:31:26 +0000 (19:31 -0000)]
2008-09-24 Jb Evain <jbevain@novell.com>
* AppDomain.cs (CreateDomain): call the domain initializer in
the newly created AppDomain. Fixes #429545.
svn path=/trunk/mcs/; revision=114000
Michael Hutchinson [Wed, 24 Sep 2008 19:30:33 +0000 (19:30 -0000)]
2008-09-24 Michael Hutchinson <mhutchinson@novell.com>
* HttpServerTransportSink.cs: Disable chunking on the server, as
for some reason it was breaking the tests. This reduces efficiency
but right now is unavoidable.
* HttpServerChannel.cs: Implement AddHookChannelUri. Thanks to
Lluis for the patch.
svn path=/trunk/mcs/; revision=113999
Jb Evain [Wed, 24 Sep 2008 19:29:59 +0000 (19:29 -0000)]
2008-09-24 Jb Evain <jbevain@novell.com>
* AppDomainSetupTest.cs: fix domain initializer test to actually
assert that the initializer delegate is called in the new domain.
Test for #429545.
svn path=/trunk/mcs/; revision=113998
Zoltan Varga [Wed, 24 Sep 2008 19:04:08 +0000 (19:04 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* driver.c (mono_main): Add --attach= option to pass options to
the attach agent.
* mini.c (sigquit_signal_handler): Start the attach agent.
svn path=/trunk/mono/; revision=113993
Zoltan Varga [Wed, 24 Sep 2008 19:02:12 +0000 (19:02 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* gc.c (mono_gc_add_finalizer_thread_callback): New function to
register a callback which is called when the finalizer thread is woken
up.
(finalizer_thread): Call the callback if it exists.
* attach.h attach.c: New files, implementing the attach mechanism.
* appdomain.c: Init/cleanup the attach mechanism on startup/shutdown.
svn path=/trunk/mono/; revision=113991
Jonathan Pobst [Wed, 24 Sep 2008 18:44:24 +0000 (18:44 -0000)]
2008-09-24 Jonathan Pobst <monkey@jpobst.com>
* ImageList.cs: Change CopyTo implementation to ensure clones are
created of our images.
[Fixes bug #409169]
svn path=/trunk/mcs/; revision=113987
Jonathan Pobst [Wed, 24 Sep 2008 17:13:31 +0000 (17:13 -0000)]
2008-09-24 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: When setting fonts, we need to ensure we change our
reference to the new font object, even if it represents the same
font as before. If we don't, the original font can get disposed
and we will still try to use it.
[Fixes bug #386450]
2008-09-24 Jonathan Pobst <monkey@jpobst.com>
* ControlTest.cs: Add test for bug #386450.
svn path=/trunk/mcs/; revision=113982
Zoltan Varga [Wed, 24 Sep 2008 16:56:28 +0000 (16:56 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* ssapre.c: Disable this to save space since it is not yet ported to
linear IR.
* regalloc2.c: Disable this to save space.
svn path=/trunk/mono/; revision=113979
Zoltan Varga [Wed, 24 Sep 2008 16:50:46 +0000 (16:50 -0000)]
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* mini.h (MonoJitStats): Remove unused analyze_stack_repeat.
svn path=/trunk/mono/; revision=113978
Marek Safar [Wed, 24 Sep 2008 16:34:06 +0000 (16:34 -0000)]
New tests.
svn path=/trunk/mcs/; revision=113977
Marek Safar [Wed, 24 Sep 2008 16:32:55 +0000 (16:32 -0000)]
Fixes the build
svn path=/trunk/mcs/; revision=113976
Marek Safar [Wed, 24 Sep 2008 16:32:38 +0000 (16:32 -0000)]
2008-09-24 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, decl.cs, convert.cs, assign.cs, expression.cs,
ecore.cs, attribute.cs: Moved obsolete method checks from emit
phase to resolve phase. It resolves problems with expression trees
and fixes bugs #323796, #325156
svn path=/trunk/mcs/; revision=113975