mono.git
15 years ago2008-09-26 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-09-26 Bill Holmes <billholmes54@gmail.com>
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

15 years ago2008-09-26 Bill Holmes <billholmes54@gmail.com>
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

15 years agoFri Sep 26 17:00:46 CEST 2008 Paolo Molaro <lupus@ximian.com>
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

15 years ago2008-09-26 Juraj Skripsky <js@hotfeet.ch>
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

15 years agoFri Sep 26 16:46:23 CEST 2008 Paolo Molaro <lupus@ximian.com>
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

15 years agoFri Sep 26 16:34:37 CEST 2008 Paolo Molaro <lupus@ximian.com>
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

15 years ago2008-09-26 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-09-26 Daniel Nauck <dna@mono-project.de>
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

15 years agofix build
Daniel Nauck [Fri, 26 Sep 2008 12:12:17 +0000 (12:12 -0000)]
fix build

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

15 years ago2008-09-26 Daniel Nauck <dna@mono-project.de>
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

15 years ago2008-09-26 Daniel Nauck <dna@mono-project.de>
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

15 years ago2008-09-26 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-09-26 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-26 Zoltan Varga <vargaz@gmail.com>
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

15 years agoup
Miguel de Icaza [Fri, 26 Sep 2008 01:05:11 +0000 (01:05 -0000)]
up

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

15 years ago2008-09-25 Luis Ortiz <lortiz@interactivesupercomputing.com>
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

15 years ago2008-09-25 Miguel de Icaza <miguel@novell.com>
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

15 years ago2008-09-26 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-25 Miguel de Icaza <miguel@novell.com>
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

15 years ago2008-09-25 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-25 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-25 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-25 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-09-25 Dick Porter <dick@ximian.com>
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

15 years agoNew test.
Marek Safar [Thu, 25 Sep 2008 16:30:20 +0000 (16:30 -0000)]
New test.

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

15 years ago2008-09-25 Marek Safar <marek.safar@gmail.com>
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

15 years ago64 bits fix
Marek Safar [Thu, 25 Sep 2008 15:41:34 +0000 (15:41 -0000)]
64 bits fix

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

15 years ago2008-09-25 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-09-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago2008-09-25 Mark Probst <mark.probst@gmail.com>
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

15 years ago2008-09-25 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-09-25 Mark Probst <mark.probst@gmail.com>
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

15 years ago2008-09-25 Jb Evain <jbevain@novell.com>
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

15 years ago2008-09-25 Marek Safar <marek.safar@gmail.com>
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

15 years agoUpdate
Marek Safar [Thu, 25 Sep 2008 14:01:21 +0000 (14:01 -0000)]
Update

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

15 years agoUpdate.
Marek Safar [Thu, 25 Sep 2008 09:47:01 +0000 (09:47 -0000)]
Update.

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

15 years ago2008-09-25 Mark Probst <mark.probst@gmail.com>
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

15 years ago2008-09-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years agoFixed broken test profile
Marek Safar [Thu, 25 Sep 2008 08:22:02 +0000 (08:22 -0000)]
Fixed broken test profile

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

15 years ago2008-09-25 Mark Probst <mark.probst@gmail.com>
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

15 years agofix ToArray
Jb Evain [Thu, 25 Sep 2008 07:49:26 +0000 (07:49 -0000)]
fix ToArray

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

15 years ago2008-09-25 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Miguel de Icaza <miguel@novell.com>
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

15 years ago2008-09-24 Daniel Morgan <monodanmorg@yahoo.com>
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

15 years agoupdate
Miguel de Icaza [Thu, 25 Sep 2008 00:07:47 +0000 (00:07 -0000)]
update

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

15 years agoRevert
Miguel de Icaza [Wed, 24 Sep 2008 23:59:38 +0000 (23:59 -0000)]
Revert

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

15 years ago2008-09-25 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-25 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Miguel de Icaza <miguel@novell.com>
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

15 years ago2008-09-25 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-09-24 Miguel de Icaza <miguel@novell.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years agoDisable MS_COMPATIBILITY on Mono
Marek Safar [Wed, 24 Sep 2008 21:40:40 +0000 (21:40 -0000)]
Disable MS_COMPATIBILITY on Mono

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

15 years agoMissing error message
Marek Safar [Wed, 24 Sep 2008 21:32:51 +0000 (21:32 -0000)]
Missing error message

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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years agoFix a typo.
Zoltan Varga [Wed, 24 Sep 2008 20:21:36 +0000 (20:21 -0000)]
Fix a typo.

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

15 years ago2008-09-24 Jonathan Pobst <monkey@jpobst.com>
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

15 years agoFormat for api docs
Miguel de Icaza [Wed, 24 Sep 2008 20:10:15 +0000 (20:10 -0000)]
Format for api docs

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

15 years agoDocument attach, various other cleanups
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years agoAdd new Mono.Management assembly.
Zoltan Varga [Wed, 24 Sep 2008 19:36:04 +0000 (19:36 -0000)]
Add new Mono.Management assembly.

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

15 years ago2008-09-24 Michael Hutchinson <mhutchinson@novell.com>
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

15 years ago2008-09-24 Jb Evain <jbevain@novell.com>
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

15 years ago2008-09-24 Michael Hutchinson <mhutchinson@novell.com>
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

15 years ago2008-09-24 Jb Evain <jbevain@novell.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Jonathan Pobst <monkey@jpobst.com>
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

15 years ago2008-09-24 Jonathan Pobst <monkey@jpobst.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
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

15 years agoNew tests.
Marek Safar [Wed, 24 Sep 2008 16:34:06 +0000 (16:34 -0000)]
New tests.

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

15 years agoFixes the build
Marek Safar [Wed, 24 Sep 2008 16:32:55 +0000 (16:32 -0000)]
Fixes the build

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

15 years ago2008-09-24 Marek Safar <marek.safar@gmail.com>
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

15 years ago* AspParser.cs: When parsing text which contain xml tags that resemble
Andreia Gaita [Wed, 24 Sep 2008 15:56:08 +0000 (15:56 -0000)]
* AspParser.cs: When parsing text which contain xml tags that resemble
the end string, append the original text instead of the end string,
because the casing might not match between the two. Fixes #320445

2008-09-24  Andreia Gaita <avidigal@novell.com>

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

15 years ago2008-09-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 24 Sep 2008 15:51:14 +0000 (15:51 -0000)]
2008-09-24  Jonathan Pobst  <monkey@jpobst.com>

* TabControlPainter.cs: Add 1 pixel to the tab text rectangle
to keep the text from getting cut off on XP.
[Fixes bug #428116]

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

15 years ago2008-09-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Sep 2008 15:44:01 +0000 (15:44 -0000)]
2008-09-24  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_object_get_virtual_method): Fix an assertion introduced
by the previous change.

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

15 years agofix the build, for real
Jb Evain [Wed, 24 Sep 2008 15:09:22 +0000 (15:09 -0000)]
fix the build, for real

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

15 years agofix the build
Jb Evain [Wed, 24 Sep 2008 14:52:13 +0000 (14:52 -0000)]
fix the build

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

15 years ago * FileDialog.cs: Take into account Tile view when selecting the view
Carlos Alberto Cortez [Wed, 24 Sep 2008 14:49:13 +0000 (14:49 -0000)]
* FileDialog.cs: Take into account Tile view when selecting the view
(2.0 profile).

2008-09-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years agoremove wrong test
Jb Evain [Wed, 24 Sep 2008 14:39:21 +0000 (14:39 -0000)]
remove wrong test

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

15 years agoWed Sep 24 16:01:49 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Sep 2008 14:03:14 +0000 (14:03 -0000)]
Wed Sep 24 16:01:49 CEST 2008 Paolo Molaro <lupus@ximian.com>

* decompose.c, method-to-ir.c, mini-codegen.c, regalloc2.c: make
the -v option useful again.

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

15 years ago2008-09-24 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 24 Sep 2008 14:01:36 +0000 (14:01 -0000)]
2008-09-24  Jb Evain  <jbevain@novell.com>

* AppDomain.cs: implement the CreateDomain overload which
takes an AppDomain initializer. Fixes #429545.

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

15 years ago2008-09-24 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 24 Sep 2008 14:00:43 +0000 (14:00 -0000)]
2008-09-24  Jb Evain  <jbevain@novell.com>

* AppDomainTest.cs: add test for bug #429545.

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

15 years ago2008-09-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Sep 2008 13:49:20 +0000 (13:49 -0000)]
2008-09-24  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDocument.cs : it returns non-null Schemas by default (and
  returns non-empty set after being set null).

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

15 years ago2008-09-24 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 24 Sep 2008 13:34:05 +0000 (13:34 -0000)]
2008-09-24  Jb Evain  <jbevain@novell.com>

* Dictionary.cs: properly reset all compounds enumerators.
Fixes #429530.

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

15 years ago2008-09-24 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 24 Sep 2008 13:33:27 +0000 (13:33 -0000)]
2008-09-24  Jb Evain  <jbevain@novell.com>

* DictionaryTest.cs: add tests for bug #429530.

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

15 years agoUse unicode encoding instead of ASCII
Veerapuram Varadhan [Wed, 24 Sep 2008 13:31:28 +0000 (13:31 -0000)]
Use unicode encoding instead of ASCII

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

15 years agoHandle zero length stream and validate data before returning Value
Veerapuram Varadhan [Wed, 24 Sep 2008 13:27:30 +0000 (13:27 -0000)]
Handle zero length stream and validate data before returning Value
property

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

15 years ago2008-09-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 24 Sep 2008 13:07:58 +0000 (13:07 -0000)]
2008-09-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
the item bounds, since we can't iterate over them in virtual mode.
Also fix wrong calculation of the gridlines when using scrolling.
Fixes #400390.

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 24 Sep 2008 12:15:53 +0000 (12:15 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2008-09-24  Ankit Jain  <jankit@novell.com>

* Engine.cs: Add argument checks.
* Project.cs: Likewise.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2008-09-24  Ankit Jain  <jankit@novell.com>

* EngineTest.cs:
* ProjectTest.cs: Add tests for Build*

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

15 years agoAm I going get it right this time
Marek Safar [Wed, 24 Sep 2008 09:49:15 +0000 (09:49 -0000)]
Am I going get it right this time

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

15 years agoMove Mono.CompilerServices.SymbolWriter to build after 2.1 raw mscorlib
Marek Safar [Wed, 24 Sep 2008 09:27:23 +0000 (09:27 -0000)]
Move Mono.CompilerServices.SymbolWriter to build after 2.1 raw mscorlib

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

15 years agomicro optimization
Jb Evain [Wed, 24 Sep 2008 08:56:57 +0000 (08:56 -0000)]
micro optimization

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

15 years agoAdd Mono.CompilerServices.SymbolWriter to 2.1 bootstrap
Marek Safar [Wed, 24 Sep 2008 08:53:55 +0000 (08:53 -0000)]
Add Mono.CompilerServices.SymbolWriter to 2.1 bootstrap

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