mono.git
13 years ago2010-06-27 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Sun, 27 Jun 2010 13:33:46 +0000 (13:33 -0000)]
2010-06-27  Michael Barker  <mike@middlesoft.co.uk>

* docs/specs/Makefile: Added uninstall-local

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

13 years ago2010-06-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 27 Jun 2010 10:12:48 +0000 (10:12 -0000)]
2010-06-27  Marek Habersack  <mhabersack@novell.com>

* HttpUtility.cs: if IHtmlString instance is passed to HtmlEncode
(object), use IHtmlString.ToHtmlString () to return the value
without encoding it.

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

13 years ago2010-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jun 2010 22:00:58 +0000 (22:00 -0000)]
2010-06-27  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (common_call_trampoline): Make the last change work for LLVM
as well.

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

13 years ago2010-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jun 2010 17:46:19 +0000 (17:46 -0000)]
2010-06-26  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Fix a few problems exposed by make check.

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

13 years ago2010-06-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 26 Jun 2010 17:01:45 +0000 (17:01 -0000)]
2010-06-25  Mark Probst  <mark.probst@gmail.com>

* mini-trampolines.c (common_call_trampoline): An ugly hack to
work around a potentially very hard to fix problem with inflating
generic methods.

2010-06-25  Mark Probst  <mark.probst@gmail.com>

* class.c (mono_class_inflate_generic_method_full_checked): Added
a comment regarding a hack in mini-trampolines.c.

2010-06-26  Mark Probst  <mark.probst@gmail.com>

* bug-616463.cs: New test.

* Makefile.am: Test added to generic tests.

This is a corrected re-commit of r159532.

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

13 years ago2010-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jun 2010 13:41:37 +0000 (13:41 -0000)]
2010-06-26  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Make sgen_supported default to false to fix non-x86 builds.

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

13 years ago2010-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jun 2010 03:09:30 +0000 (03:09 -0000)]
2010-06-26  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_emit_wb_aware_memcpy): Remove the workaround as the core
problem has been fixes.

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

13 years ago2010-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jun 2010 03:09:23 +0000 (03:09 -0000)]
2010-06-26  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c (mono_gc_wbarrier_value_copy_bitmap): Use SIZEOF_VOID_P instead of
sizeof(SIZEOF_VOID_P) which is 4.

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

13 years agoAdd some comments about why some structures are allocated from GC memory.
Zoltan Varga [Sat, 26 Jun 2010 02:47:53 +0000 (02:47 -0000)]
Add some comments about why some structures are allocated from GC memory.

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

13 years ago2010-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 26 Jun 2010 00:03:49 +0000 (00:03 -0000)]
2010-06-26  Zoltan Varga  <vargaz@gmail.com>

* gc.c (mono_gc_init): Move the GC disabled check to *-gc.c.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 19:08:22 +0000 (19:08 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Add an 'SGEN' make variable to allow tests to be run with SGEN.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 19:08:15 +0000 (19:08 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Add an 'SGEN' make variable to allow tests to be run with SGEN.

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

13 years agoFix a warning.
Zoltan Varga [Fri, 25 Jun 2010 18:55:57 +0000 (18:55 -0000)]
Fix a warning.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:53:09 +0000 (18:53 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* mini-gc.c (mini_gc_init_cfg): Use mono_gc_is_moving () instead of HAVE_SGEN_GC.
It might be be better to define a MonoGCJitOptions structure later and have the
GC return that.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:35:45 +0000 (18:35 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* mini-darwin.c: Don't undefine pthread_ calls for SGEN, they are no longer defined.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:35:08 +0000 (18:35 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Avoid redefining pthread_ calls for SGEN, no longer needed.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:31:59 +0000 (18:31 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile: Don't build an sgen aware version, it is no longer needed.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:27:20 +0000 (18:27 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* wait.c handles.c wthreads.c: Call the mono_gc_ wrapper functions of some pthread
apis. This breaks the compile time dependency between io-layer and the GC.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:27:14 +0000 (18:27 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* null-gc.c boehm-gc.c: Define the mono_gc_ pthread wrapper functions for these
GCs too.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 18:27:07 +0000 (18:27 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Define the mono_gc_ wrappers for Boehm too, runtime code should
call these instead of the pthread_ variants.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 17:33:23 +0000 (17:33 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* Array.cs (SortImpl): Fix the 'fast path' which used 'as' to cast objects so
it never sorted the items array if it was not a object[]. Fixes #616416.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 17:26:03 +0000 (17:26 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* *-gc.c (mono_gc_wbarrier_value_copy_bitmap): Implement this for all GCs.

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

13 years agoRevert "2010-06-25 Mark Probst <mark.probst@gmail.com>"
Zoltan Varga [Fri, 25 Jun 2010 17:07:16 +0000 (17:07 -0000)]
Revert "2010-06-25  Mark Probst  <mark.probst@gmail.com>"

This reverts commit e2642bcfd2edf769c190a6348a0bd7a182e31be1.

Reverted this because it breaks the build.

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

13 years ago2010-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 25 Jun 2010 16:44:02 +0000 (16:44 -0000)]
2010-06-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControlPainter.cs: Use TabControl.Font instead of the values of
TabPage.Font.
Fixes bits of #551032.

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

13 years ago2010-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 25 Jun 2010 16:40:56 +0000 (16:40 -0000)]
2010-06-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControlPainter.cs: Use TabControl.Font to draw instead of
TabPage.Font values.
Fixes bits of #551032.

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

13 years ago2010-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 25 Jun 2010 16:22:37 +0000 (16:22 -0000)]
2010-06-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: Don't use the Font property of our TabPages - use our
own Font property instead, as .Net does.
Fixes some bits of #551032.

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

13 years ago2010-06-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 25 Jun 2010 07:35:58 +0000 (07:35 -0000)]
2010-06-25  Marek Safar  <marek.safar@gmail.com>

* statement.cs, cs-parser.jay: Don't create expensive block for
simple statements.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 04:37:55 +0000 (04:37 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (get_objref): Implement support for sgen.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 04:37:47 +0000 (04:37 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c (mono_gc_is_moving): New function returning whenever this GC can move
objects.

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

13 years ago2010-06-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Jun 2010 03:34:58 +0000 (03:34 -0000)]
2010-06-25  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngReader.cs : don't use Name, use LocalName. Fixed bug #617264.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 01:07:57 +0000 (01:07 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* driver.c: Remove the unused gc_wrapper.h include.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 00:44:13 +0000 (00:44 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Delegate the --desktop mode optimizations to the GC
implementation.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 00:44:06 +0000 (00:44 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* *-gc.c (mono_gc_set_desktop_mode): New function setting up the GC to work in
desktop mode.

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

13 years ago2010-06-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 25 Jun 2010 00:32:34 +0000 (00:32 -0000)]
2010-06-25  Mark Probst  <mark.probst@gmail.com>

* mini-trampolines.c (common_call_trampoline): An ugly hack to
work around a potentially very hard to fix problem with inflating
generic methods.

I feel ashamed.

2010-06-25  Mark Probst  <mark.probst@gmail.com>

* class.c (mono_class_inflate_generic_method_full_checked): Added
a comment regarding a hack in mini-trampolines.c.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 00:28:47 +0000 (00:28 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Use mono_gc_get_description () to print the GC name.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 00:28:38 +0000 (00:28 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* *-gc.c (mono_gc_get_description): New function returning a human readable
description of the current GC.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 25 Jun 2010 00:11:58 +0000 (00:11 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* mini-gc.c (mini_gc_init_cfg): New function to initialize GC specific flags
in MonoCompile.

* method-to-ir.c mini.c: Remove usage of HAVE_SGEN_GC and use runtime checks
instead.

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

13 years ago2010-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 24 Jun 2010 23:35:46 +0000 (23:35 -0000)]
2010-06-25  Zoltan Varga  <vargaz@gmail.com>

* scripts/patch-quiet.sh: Fix this up after the build changes.

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

13 years agoChange the path
Miguel de Icaza [Thu, 24 Jun 2010 23:18:19 +0000 (23:18 -0000)]
Change the path

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

13 years agoFix windows build
Miguel de Icaza [Thu, 24 Jun 2010 23:02:56 +0000 (23:02 -0000)]
Fix windows build

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

13 years agoRemove
Miguel de Icaza [Thu, 24 Jun 2010 22:17:29 +0000 (22:17 -0000)]
Remove

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

13 years agoFix after moving the file
Miguel de Icaza [Thu, 24 Jun 2010 18:44:55 +0000 (18:44 -0000)]
Fix after moving the file

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

13 years ago2010-06-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 24 Jun 2010 18:21:12 +0000 (18:21 -0000)]
2010-06-23  Miguel de Icaza  <miguel@novell.com>

       * configure.in: By default, we will now also buils an SGen-aware
       VM by default.   This can be turned off by using the
       --with-sgen=no command line option.

2010-06-23  Miguel de Icaza  <miguel@novell.com>

       * Makefile.am: Add support for building a sgen-aware versions of
       the libraries: libmonoruntimesgen.la
libmonoruntimesgen-static.la,
       they share all the components of the default, but use a differen
       set of CFLAGS to enable SGEN instead.

2010-06-23  Miguel de Icaza  <miguel@novell.com>

       * Makefile.am: Build the mono-sgen binary a Mono VM with the Sgen
       GC enabled as well as libmono-sgen-2.0 and libomonosgen-static

       * metadata: Move the mono-hash code here, as mono-hash is GC
        aware, but the mono/utils directory is not

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

13 years ago2010-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 24 Jun 2010 18:00:55 +0000 (18:00 -0000)]
2010-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (mono_emit_wb_aware_memcpy): Don't emit bitmap
wb for now on 64bits systems while issues with valuetype returns
are not fixed.

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

13 years ago2010-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 24 Jun 2010 16:21:29 +0000 (16:21 -0000)]
2010-06-24  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm-cpp.cpp (mono_llvm_create_ee): Add support for using a standard set of
passes by calling createStandardFunctionPasses ().

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

13 years ago * TabControl.cs: Call Invalidate when removing a tab page. We were
Carlos Alberto Cortez [Thu, 24 Jun 2010 15:59:25 +0000 (15:59 -0000)]
* TabControl.cs: Call Invalidate when removing a tab page. We were
depending on the redraw routines of SelectedIndex, which could be not
enough to detect the real affected area.

2010-06-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

13 years ago2010-06-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 24 Jun 2010 15:39:52 +0000 (15:39 -0000)]
2010-06-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControlTest.cs: New test to assert that getting focus is not
setting SelectedTabIndex.

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

13 years ago2010-06-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 24 Jun 2010 15:38:55 +0000 (15:38 -0000)]
2010-06-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: Don't set SelectedTabIndex when getting the focus *at
all*.
Fixes #613765.

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

13 years ago2010-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jun 2010 14:38:46 +0000 (14:38 -0000)]
2010-06-24  Marek Safar  <marek.safar@gmail.com>

* statement.cs, report.cs: Rethrow internal error when reporting is
disabled.

* ecore.cs: Check for identical name only when simple name is set.
Fixes #616667

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

13 years agoMore tests.
Marek Safar [Thu, 24 Jun 2010 14:21:32 +0000 (14:21 -0000)]
More tests.

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

13 years ago2010-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jun 2010 14:08:19 +0000 (14:08 -0000)]
2010-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #616809
* generic.cs, expression.cs, ecore.cs: Added a new type expression
for open generic type to pass unbound type arguments to typeof
expression.

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

13 years ago2010-06-24 Dick Porter <dporter@codicesoftware.com>
Dick Porter [Thu, 24 Jun 2010 14:01:36 +0000 (14:01 -0000)]
2010-06-24  Dick Porter  <dporter@codicesoftware.com>

* Fix NullReferenceException when keyboard shortcut activates
disabled context menu item.  Fixes bug 615940.

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

13 years agoFixes to a bunch of unit tests which would fail when running on .NET and few updates to
Marek Habersack [Thu, 24 Jun 2010 12:55:00 +0000 (12:55 -0000)]
Fixes to a bunch of unit tests which would fail when running on .NET and few updates to
our system.web controls.

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

13 years ago2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Jun 2010 12:07:13 +0000 (12:07 -0000)]
2010-06-24  Atsushi Enomoto  <atsushi@ximian.com>

* HttpTransportBindingElement.cs :
  Use new HTTP channel listener implementation.

* ChannelDispatcher.cs : enable service throttling again.
  This time Http(Listener), ASP.NET and TCP listeners all work.

* System.ServiceModel.dll.sources :
  add new HTTP channel listener implementation sources.

  Old sources will be kept for a while, won't entirely vanish as
  ASP.NET support will live there.

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

13 years ago2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Jun 2010 11:58:49 +0000 (11:58 -0000)]
2010-06-24  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : finish pending wait handle when closing
  a listener. Fixed the issue on closing host/listener/channels.

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

13 years ago2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Jun 2010 11:53:20 +0000 (11:53 -0000)]
2010-06-24  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs : do not try to enter close loop
  between request context and this.

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

13 years ago2010-06-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Jun 2010 11:24:45 +0000 (11:24 -0000)]
2010-06-24  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataExchangeBindingsTest.cs : make sure that the target port
  of the Uri is available (as some other tests do).

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

13 years agoNew tests.
Marek Safar [Thu, 24 Jun 2010 10:32:45 +0000 (10:32 -0000)]
New tests.

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

13 years agoNew test.
Marek Safar [Thu, 24 Jun 2010 10:32:33 +0000 (10:32 -0000)]
New test.

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

13 years ago2010-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 24 Jun 2010 10:32:15 +0000 (10:32 -0000)]
2010-06-24  Marek Safar  <marek.safar@gmail.com>

* statement.cs: Foreach collection implementation refactoring to
search for GetEnumerator more preciselly. Fixes #431453 and more
unreported bugs.

* linq.cs, decl.cs, ecore.cs, delegate.cs: Update methodgroup api.

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

13 years agoflush
Marek Safar [Thu, 24 Jun 2010 08:29:01 +0000 (08:29 -0000)]
flush

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

13 years agoDelete
Miguel de Icaza [Thu, 24 Jun 2010 05:18:22 +0000 (05:18 -0000)]
Delete

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

13 years agoRevert my changes, they break the build
Miguel de Icaza [Thu, 24 Jun 2010 02:22:43 +0000 (02:22 -0000)]
Revert my changes, they break the build

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

13 years agoAdd this dep back
Miguel de Icaza [Thu, 24 Jun 2010 01:53:32 +0000 (01:53 -0000)]
Add this dep back

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

13 years agoFix the build
Geoff Norton [Thu, 24 Jun 2010 01:16:42 +0000 (01:16 -0000)]
Fix the build

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

13 years agoUpdate man page
Miguel de Icaza [Thu, 24 Jun 2010 00:13:13 +0000 (00:13 -0000)]
Update man page

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

13 years ago2010-06-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 24 Jun 2010 00:11:13 +0000 (00:11 -0000)]
2010-06-23  Miguel de Icaza  <miguel@novell.com>

* configure.in: By default, we will now also buils an SGen-aware
VM by default.   This can be turned off by using the
--with-sgen=no command line option.

2010-06-23  Miguel de Icaza  <miguel@novell.com>

* Makefile.am: Add support for building a sgen-aware versions of
the libraries: libmonoruntimesgen.la libmonoruntimesgen-static.la,
they share all the components of the default, but use a differen
set of CFLAGS to enable SGEN instead.

2010-06-23  Miguel de Icaza  <miguel@novell.com>

* Makefile.am: Build the mono-sgen binary a Mono VM with the Sgen
GC enabled as well as libmono-sgen-2.0 and libomonosgen-static

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

13 years ago2010-06-23: Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Wed, 23 Jun 2010 21:39:05 +0000 (21:39 -0000)]
2010-06-23:  Michael Barker  <mike@middlesoft.co.uk>

* Upgrade to RabbitMQ.Client 1.8.

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

13 years ago2010-06-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 23 Jun 2010 21:05:32 +0000 (21:05 -0000)]
2010-06-23  Miguel de Icaza  <miguel@novell.com>

* configure.in: Remove redundant setting of variables in non-Boehm
cases.

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

13 years ago2010-06-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 23 Jun 2010 21:00:58 +0000 (21:00 -0000)]
2010-06-23  Miguel de Icaza  <miguel@novell.com>

* configure.in: First pass at supporting the compilation of both

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

13 years ago2010-06-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 23 Jun 2010 20:59:38 +0000 (20:59 -0000)]
2010-06-23  Miguel de Icaza  <miguel@novell.com>

* configure.in: First pass at supporting the compilation of both
the Boehm-powered Mono VM and the Sgen-powered one.

The Boehm configuration flags are no longer part of the config.h
that we generate, but instead they are part of the CFLAGS
variables that are used for the following components:

* io-layer/ because it uses the pthread APIs that are
wrapped by using utils/gc_wrapper.h

* metatada/ because we have plenty of GC-specific code

* mini/ the VM itself

The patch currently only changes the way that Boehm is compiled,
no changes for Sgen have been done yet.

We now pass Boehm CFLAG settings as "BOEHM_DEFINES" which need to
be added to the three Makefiles above.

When building the bundled and modified libgc, we also need to pass
MONO_DEBUGGER_SUPPORTED as it triggers some special features in
the libgc.

Simplify the build also by removing the AM_CONDITIONAL debugger
supported, we now merely check this on the source file and wrap
the entire debug-debugger.c in an ifdef.

2010-06-23  Miguel de Icaza  <miguel@novell.com>

* Makefile.am: Put the BOEHM defines in the CFLAGS definition.

* domain-internals.h (MonoJitInfo): this structure used to have
different sizes depending on the GC that was configured (Boehm vs
SGen).   I have removed this difference for the sake of avoiding
the complexity of dealing with the mono/arch directory requiring
GC-specific changes to their Makefiles.

2010-06-23  Miguel de Icaza  <miguel@novell.com>

* debug-debugger.c: Wrap the entire file with an #ifdef
MONO_DEBUGGER_SUPPORTED to simplify the build.

* Makefile.am: Fix the opcodes build issue by including the
source, not by including the .lo file directly

Always bring the MDB sources into the build, to drop the
dependency on the AM_CONDITIONAL from configure.in as the hard
debugger supports Boehm, but not Sgen, this simplifies the build.

* Renamed the *.s files into *.S

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

13 years ago2010-06-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Jun 2010 20:54:56 +0000 (20:54 -0000)]
2010-06-23  Sebastien Pouliot  <sebastien@ximian.com>

* XmlFormatterDeserializer.cs: Fix some issues in Moonlight when
some referenced assemblies cannot be found or loaded

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

13 years ago2010-06-23 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 23 Jun 2010 18:59:31 +0000 (18:59 -0000)]
2010-06-23  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #581679
* DataRelationCollection.cs (Add, Remove): Use DataRelation obj
instead of this when raising OnCollectionChang(ing, ed) events.

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

13 years agoFix make dist
Marek Habersack [Wed, 23 Jun 2010 18:06:20 +0000 (18:06 -0000)]
Fix make dist

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

13 years agoFix warning, which fixes msvc build.
Jonathan Pobst [Wed, 23 Jun 2010 17:29:56 +0000 (17:29 -0000)]
Fix warning, which fixes msvc build.

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

13 years ago2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Jun 2010 17:09:10 +0000 (17:09 -0000)]
2010-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneChannelListener.cs
  HttpStandaloneReplyChannel.cs
  HttpStandaloneRequestContext.cs
  HttpListenerManagerTable.cs
  HttpChannelListenerEntry.cs
  HttpContextInfo.cs
  HttpListenerManager.cs :
  Refresh implementation for HTTP channel listener in new namespace,
  which works fine with throttling.

  It still has some issue in closing channels or listeners, so it
  does not replace existing implementation yet.

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

13 years ago2010-06-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 23 Jun 2010 09:38:39 +0000 (09:38 -0000)]
2010-06-23  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Track more locations.

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

13 years ago2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Jun 2010 08:17:16 +0000 (08:17 -0000)]
2010-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : cosmetic code formatting fix.

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

13 years ago2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Jun 2010 08:03:17 +0000 (08:03 -0000)]
2010-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataExtension.cs : Reduced not a few lines of code,
  now that we know wsdl and help do not have to be differentiated,
  this extension support can be a lot simpler.

* HttpListenerManager.cs :
  No need to get messed around MetadataPublishingInfo anymore.

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

13 years ago2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Jun 2010 07:46:06 +0000 (07:46 -0000)]
2010-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : remove extra different code paths for
  channel dispatchers with or without mex endpoints.

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

13 years ago2010-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 23 Jun 2010 07:42:16 +0000 (07:42 -0000)]
2010-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : simplify FilterHttpContext().

* ServiceMetadataExtension.cs : add Instance field for simplification.

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

13 years agoRemoved runtime crash workaround
Marek Safar [Wed, 23 Jun 2010 07:26:37 +0000 (07:26 -0000)]
Removed runtime crash workaround

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

13 years ago2010-06-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 23 Jun 2010 02:15:02 +0000 (02:15 -0000)]
2010-06-23  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_INS_HAS_NO_SIDE_EFFECT): Add OP_LDADDR.

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

13 years agoFix dependency specification for CoreCompile target. Log better messages
Ankit Jain [Wed, 23 Jun 2010 01:08:04 +0000 (01:08 -0000)]
Fix dependency specification for CoreCompile target. Log better messages
for dependency checks for targets.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* TargetBatchingImpl.cs (BuildTargetNeeded): Fix var names to
correctly reflect what they track. Log messages when skipping
or building a target.

In tools/xbuild:

* xbuild/Microsoft.CSharp.targets (CoreCompile): Fix inputs.
* xbuild/Microsoft.VisualBasic.targets (CoreCompile): Fix inputs.

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

13 years ago2010-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 23 Jun 2010 00:22:01 +0000 (00:22 -0000)]
2010-06-23  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c, sgen-los.c, sgen-marksweep.c: Fix warnings.

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

13 years ago2010-06-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 22 Jun 2010 22:22:02 +0000 (22:22 -0000)]
2010-06-22  Rodrigo Kumpera  <rkumpera@novell.com>

* src/ghashtable.c: Add code to sanity check the
hashtable contents. This is invaluable, for example,
to catch bugs where a key hashcode changes after
insertion.

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

13 years ago2010-06-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 22 Jun 2010 22:21:53 +0000 (22:21 -0000)]
2010-06-22 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c (mono_metadata_type_hash): Don't hash
the type kind for dynamic types since it can change.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 21:42:15 +0000 (21:42 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Don't mark loads from OP_LDADDR with
MONO_INST_FAULT.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 21:20:18 +0000 (21:20 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Recalculate MONO_INST_INDIRECT flags to
allow better optimization if the OP_LDADDR which caused the flag to be set was
optimized away.

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

13 years ago2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 22 Jun 2010 21:19:06 +0000 (21:19 -0000)]
2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UriTest.cs: exclude 2 tests in 4.0.

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

13 years ago2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 22 Jun 2010 21:18:33 +0000 (21:18 -0000)]
2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Uri.cs: change of behavior un 4.0.
Fixes bug #602411.

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

13 years agoBetter error recovery.
Marek Safar [Tue, 22 Jun 2010 20:35:53 +0000 (20:35 -0000)]
Better error recovery.

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

13 years ago2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 22 Jun 2010 20:10:26 +0000 (20:10 -0000)]
2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Ping.cs: we need to read the output to give the process time
to start. Fixes bug #591136.

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

13 years agoUpdate
Miguel de Icaza [Tue, 22 Jun 2010 19:00:56 +0000 (19:00 -0000)]
Update

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 18:36:56 +0000 (18:36 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (get_throw_trampoline): Align the stack properly.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 17:32:03 +0000 (17:32 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_exceptions): Pass only the type token index, not
the type token.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 17:29:14 +0000 (17:29 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_entry_bb): Save the this argument only in gshared methods.

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

13 years agofix the build
Geoff Norton [Tue, 22 Jun 2010 16:30:31 +0000 (16:30 -0000)]
fix the build

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

13 years ago2010-06-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 22 Jun 2010 16:30:28 +0000 (16:30 -0000)]
2010-06-22  Geoff Norton  <gnorton@novell.com>

* mach-support-arm.c: Add arm support.

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

13 years agoin utils:
Geoff Norton [Tue, 22 Jun 2010 16:19:33 +0000 (16:19 -0000)]
in utils:

2010-06-22 Geoff Norton  <gnorton@novell.com>

        * mach-support-*.(c|h): We cannot allocate from the gc, so make
        these functions alloc-less.

in metadata:

2010-06-22 Geoff Norton  <gnorton@novell.com>

        * sgen-os-mach.c: We cannot call malloc from the gc, so we need to use
        alloca instead to prevent a deadlock.

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