mono.git
14 years agoMake changes so it is easy to build on Windows
Miguel de Icaza [Tue, 27 Apr 2010 23:06:28 +0000 (23:06 -0000)]
Make changes so it is easy to build on Windows

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

14 years agoAdd solution
Miguel de Icaza [Tue, 27 Apr 2010 23:05:46 +0000 (23:05 -0000)]
Add solution

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

14 years agoFix the build
Marek Habersack [Tue, 27 Apr 2010 23:05:02 +0000 (23:05 -0000)]
Fix the build

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

14 years ago2010-04-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 27 Apr 2010 22:49:20 +0000 (22:49 -0000)]
2010-04-28  Marek Habersack  <mhabersack@novell.com>

* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <mhabersack@novell.com>

* KeyedList.cs: do not implement IStateManager in 4.0

2010-04-28  Marek Habersack  <mhabersack@novell.com>

* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <mhabersack@novell.com>

* Makefile (LIB_MCS_FLAGS): added a reference to
System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <mhabersack@novell.com>

* Makefile (OTHER_LIB_MCS_FLAGS): added a reference to
System.Web.ApplicationServices in the 4.0 profile.

2010-04-28  Marek Habersack  <mhabersack@novell.com>

* Makefile (common_dirs): added System.Web.ApplicationServices

2010-04-28  Marek Habersack  <mhabersack@novell.com>

* RolePrincipal.cs: class is not sealed in 4.0

* MembershipUser.cs: type forwarded to
System.Web.ApplicationServices in 4.0.
In the 4.0 profile, a MembershipHelper instance is created using
reflection, so that the Membership class and password
encryption/decryption services can be accessed without referencing
System.Web

* MembershipProvider.cs: type forwarded to
System.Web.ApplicationServices in 4.0.
{Encrypt,Decrypt}Password implementations moved to
MembershipHelper.
Added new EncryptPassword overload for 4.0

* MembershipHelper.cs: a helper class to handle password
encryption/decryption and to forward requests for certain
Membership properties in 4.0. It is used also in 2.0 to keep code
cleaner. System.Web.ApplicationServices uses it to access the
Membership class without having to reference System.Web

* MembershipCreateStatus.cs, MembershipCreateUserException.cs,
MembershipPasswordException.cs, MembershipPasswordFormat.cs,
MembershipProviderCollection.cs, MembershipUserCollection.cs,
MembershipValidatePasswordEventHandler.cs, RoleProvider.cs,
ValidatePasswordEventArgs.cs:
types forwarded to System.Web.ApplicationServices in 4.0

* FormsIdentity.cs: class is not sealed in 4.0

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

14 years ago2010-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 22:46:12 +0000 (22:46 -0000)]
2010-04-28  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_got_info): Double the buffer size to avoid an assert.

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

14 years agoDisable per Zoltan's suggestion
Miguel de Icaza [Tue, 27 Apr 2010 21:35:52 +0000 (21:35 -0000)]
Disable per Zoltan's suggestion

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

14 years ago2010-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 21:04:30 +0000 (21:04 -0000)]
2010-04-27  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c (emit_line_number_info): Get rid of the usage of GArray, so
line number support works with eglib.

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

14 years ago2010-04-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 27 Apr 2010 21:01:06 +0000 (21:01 -0000)]
2010-04-27  Miguel de Icaza  <miguel@novell.com>

* repl.cs: Improvements to run better on Windows.

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

14 years ago2010-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 20:48:52 +0000 (20:48 -0000)]
2010-04-27  Zoltan Varga  <vargaz@gmail.com>

* load-missing.il: Make BrokenClass inherit from a class in t, not mscorlib, so
mcs can load load-missing.dll as a reference.

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

14 years ago2010-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 20:35:40 +0000 (20:35 -0000)]
2010-04-27  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (DISABLED_TESTS): Add gc-altstack.exe since it randomly fails
under Boehm, which can't handle threads which are executing on an altstack during
stack marking.

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

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 19:25:27 +0000 (19:25 -0000)]
2010-05-27  Marek Safar  <marek.safar@gmail.com>

* attribute.cs: Ensure Obsolete members are defined before doing
ctor look-up.

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

14 years ago2010-04-27 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 27 Apr 2010 18:48:23 +0000 (18:48 -0000)]
2010-04-27  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Support
        heap-dump for mark&sweep.

2010-04-27  Mark Probst  <mark.probst@gmail.com>

        * scripts/mono-heapviz: If the major sections are too small, use a
        larger width.

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

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 18:42:16 +0000 (18:42 -0000)]
2010-05-27  Marek Safar  <marek.safar@gmail.com>

* visit.cs: Add DOM visitor skeleton.

* *.cs: Updated.

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

14 years ago2010-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 18:35:55 +0000 (18:35 -0000)]
2010-04-27  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Switch to eglib by default.

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

14 years agoFix win32 build.
Zoltan Varga [Tue, 27 Apr 2010 18:29:30 +0000 (18:29 -0000)]
Fix win32 build.

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

14 years ago2010-04-27 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Tue, 27 Apr 2010 17:58:39 +0000 (17:58 -0000)]
2010-04-27  Ivan Zlatev  <ivan@ivanz.com>

* DataGridView.cs: Fix multiple issues when inserting and adding new
columns.

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

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 17:27:27 +0000 (17:27 -0000)]
2010-05-27  Marek Safar  <marek.safar@gmail.com>

* attribute.cs, codegen.cs: Drop COMPILER_ACCESS hack.

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

14 years agoNew tests.
Marek Safar [Tue, 27 Apr 2010 17:24:23 +0000 (17:24 -0000)]
New tests.

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

14 years ago2010-04-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 17:23:59 +0000 (17:23 -0000)]
2010-04-27  Marek Safar  <marek.safar@gmail.com>

* TypeBuilder.cs: StructLayoutAttribute ctor can be builder when
compiling corlib.

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

14 years ago2010-04-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 27 Apr 2010 16:48:21 +0000 (16:48 -0000)]
2010-04-27  Miguel de Icaza  <miguel@novell.com>

        * driver.c, mini.c: Since linking with LLVM makes the default Mono
        dirty an extra 70kb pages on startup we are now going to choose a
        different strategy: ship mono and mono-llvm binaries, with the
        second being the one that links with LLVM and defaults to LLVM
        being enabled.

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

14 years ago2010-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 16:07:30 +0000 (16:07 -0000)]
2010-04-27  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_method_get_header): Move the is_inflated case before the
wrapper case, as a method can be both.

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

14 years ago2010-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 27 Apr 2010 15:55:08 +0000 (15:55 -0000)]
2010-04-27  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c exceptions-x86.c mini-x86.c aot-compiler.c aot-runtime.c:
Implement full-aot support on x86.

* method-to-ir.c: Always use a got var on x86 too, just like on ppc, because the
trampolines depend on it. Use MONO_ARCH_GOT_REG as the got register, instead of
the first register returned by get_global_int_regs ().

* cpu-x86.md: Fix the length of insertx_u1_slow.

* iltests.il.in: Disable tail call tests when running with full-aot.

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

14 years agoNew tests.
Marek Safar [Tue, 27 Apr 2010 12:33:26 +0000 (12:33 -0000)]
New tests.

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

14 years ago2010-04-27 Lluis Sanchez <lluis@novell.com>
Lluis Sanchez [Tue, 27 Apr 2010 10:21:34 +0000 (10:21 -0000)]
2010-04-27  Lluis Sanchez  <lluis@novell.com>

* ITargetProcess.cs:
* VirtualMachine.cs:
* VirtualMachineManager.cs:
Restored old API. Renamed IProcess to ITargetProcess everywhere
to avoid naming conflicts.

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

14 years agoproperties
Marek Safar [Tue, 27 Apr 2010 09:03:55 +0000 (09:03 -0000)]
properties

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

14 years agoFlush (work in progress)
Marek Safar [Tue, 27 Apr 2010 08:40:02 +0000 (08:40 -0000)]
Flush (work in progress)

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

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 08:20:18 +0000 (08:20 -0000)]
2010-05-27  Marek Safar  <marek.safar@gmail.com>

* *.cs: Sync with the latest gmcs.

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

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 08:18:27 +0000 (08:18 -0000)]
2010-05-27  Marek Safar  <marek.safar@gmail.com>

* repl.cs: Sync with the latest gmcs

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

14 years agoForget this one
Marek Safar [Tue, 27 Apr 2010 08:05:51 +0000 (08:05 -0000)]
Forget this one

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

14 years agoflush
Marek Safar [Tue, 27 Apr 2010 08:05:06 +0000 (08:05 -0000)]
flush

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

14 years agoNew tests.
Marek Safar [Tue, 27 Apr 2010 08:01:17 +0000 (08:01 -0000)]
New tests.

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

14 years ago2010-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 27 Apr 2010 07:59:41 +0000 (07:59 -0000)]
2010-05-27  Marek Safar  <marek.safar@gmail.com>

* *.cs: Major rewrite of compiler internals to better work with
unmodified System.Reflection.Emit. Some of the key changes are
- TypeSpec replaces reflection specific System.Type.
- All Type(TypeSpec) operations are now done in compiler therefore
no dependency on SRE to inflate generic members and types or to
query unclosed types.
- MemberCache is now the only and full hierarchical topology.
- Generic constraints are implemented properly.
- And as a bonus compilation is on average 30% faster.

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

14 years ago2010-04-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 27 Apr 2010 07:27:34 +0000 (07:27 -0000)]
2010-04-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripSplitButton.cs:
* ToolStripDropDownItem.cs:
* ToolStripMenuItem.cs: Update overrides.
* ToolStripItem.cs: Pass the number of clicks to HandleClick when
firing OnMouseUp, so we can later fire either OnClick or
OnDoubleClick.

Fixes #558632.

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

14 years ago2010-04-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 27 Apr 2010 01:21:32 +0000 (01:21 -0000)]
2010-04-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When emitting the complete RTF value escape chars
above 0x80, at .Net seems to do. This way we are able to make
round-trip assignations between the setter and getter of the
RichTextBox.Rtf property.
Fixes part of #586901.

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

14 years ago2010-04-27 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 26 Apr 2010 23:55:22 +0000 (23:55 -0000)]
2010-04-27  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Don't do a
        separate pass to scan pinned and large object but use the gray
        queue like for regular objects.

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

14 years ago2010-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Apr 2010 23:38:29 +0000 (23:38 -0000)]
2010-04-27  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: implemented 4.0 property WebEventCode, also
made it available in the 2.0 profile as internal.
Added a method with several overloads, NewWithCode, which creates
an instance of HttpException and sets the web error code.

* HttpApplication.cs, HttpRequest.cs, HttpRuntime.cs: use
HttpException.NewWithCode for some exceptions.

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

14 years ago2010-04-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Apr 2010 23:38:17 +0000 (23:38 -0000)]
2010-04-26  Marek Habersack  <mhabersack@novell.com>

* HttpContextWrapper.cs: implemented two 4.0 methods: RemapHandler
and SetSessionStateBehavior

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

14 years ago2010-04-26 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Mon, 26 Apr 2010 21:57:47 +0000 (21:57 -0000)]
2010-04-26  Ivan Zlatev  <ivan@ivanz.com>

* DataGridView.cs: Handle all possible cases for when a new column is
added and there are existing rows with existing cells both in the
non-databound and the databound scenario.
[Fixes bug #583387]

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

14 years agoFix the build
Miguel de Icaza [Mon, 26 Apr 2010 20:16:17 +0000 (20:16 -0000)]
Fix the build

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

14 years ago2010-04-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 26 Apr 2010 19:39:32 +0000 (19:39 -0000)]
2010-04-26  Marek Habersack  <mhabersack@novell.com>

* MemoryCacheTest.cs: added tests for LRU removal of entries.

2010-04-26  Marek Habersack  <mhabersack@novell.com>

* MemoryCacheLRU.cs: added

* MemoryCacheContainer.cs: added LRU entry cache.

* MemoryCache.cs: added option to emulate one CPU on SMP machines
(for testing purposes) - "__MonoEmulateOneCPU"

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

14 years ago2010-04-26 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 26 Apr 2010 18:10:42 +0000 (18:10 -0000)]
2010-04-26  Geoff Norton  <gnorton@novell.com>

        * configure.in: Allow cross compiling osx for 64-bit

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

14 years ago2010-04-26 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 26 Apr 2010 18:10:31 +0000 (18:10 -0000)]
2010-04-26  Geoff Norton  <gnorton@novell.com>

        * processes.c: Fix this for 64-bit darwin.

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

14 years agoFixed warning
Marek Safar [Mon, 26 Apr 2010 17:17:50 +0000 (17:17 -0000)]
Fixed warning

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

14 years ago2010-04-26 Lluis Sanchez <lluis@novell.com>
Lluis Sanchez [Mon, 26 Apr 2010 16:41:13 +0000 (16:41 -0000)]
2010-04-26  Lluis Sanchez  <lluis@novell.com>

* IProcess.cs:
* VirtualMachine.cs:
* VirtualMachineManager.cs:
Added new IProcess interface which wraps the debugged process.
This abstraction makes it easier to support debugging processes
for which we don't have a direct Process reference (for example,
if the process is remote).

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

14 years ago2010-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Apr 2010 12:03:24 +0000 (12:03 -0000)]
2010-04-26  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Applied patch from Robert Nagy (robert@openbsd.org). Add
sys/param.h dependencies to a few checks.

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

14 years ago2010-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Apr 2010 11:55:13 +0000 (11:55 -0000)]
2010-04-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c: Applied patch from Robert Nagy (robert@openbsd.org). Include
string.h for memmove.

socket-io.c: Applied patch from Robert Nagy (robert@openbsd.org).
ipaddress_to_struct_in6_addr() is only needed when
defined(HAVE_STRUCT_IP_MREQN) || defined(HAVE_STRUCT_IP_MREQ).

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

14 years ago2010-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Apr 2010 11:55:05 +0000 (11:55 -0000)]
2010-04-26  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_op_to_op_imm_noemul): Fix a warning.

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

14 years ago2010-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Apr 2010 09:00:07 +0000 (09:00 -0000)]
2010-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* XamlMember.cs : hack GetHashCode().

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

14 years ago2010-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Apr 2010 08:59:40 +0000 (08:59 -0000)]
2010-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReaderTest.cs : more test use cases.

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

14 years ago2010-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Apr 2010 08:29:02 +0000 (08:29 -0000)]
2010-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReader.cs : now it can look into values and pick up
  more required namespace prefixes.

* XamlObjectReaderTest.cs : enable working tests.
* XamlTypeTest.cs : added a test for GetAliasedProperty().

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

14 years ago2010-04-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 26 Apr 2010 06:08:53 +0000 (06:08 -0000)]
2010-04-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: When retrieving data from the x11 clipboard and we
are using either XA_STRING or OEMTEXT try to detect if we have escaped
unicode chars, and unescape them as needed. This us used by some
(gnome) applications to pass unicode chars in a non-unicode context.
Fixes #596402.

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

14 years ago * Monodoc/ecma-provider.cs: Support the full set of possible operator
Jonathan Pryor [Mon, 26 Apr 2010 02:43:42 +0000 (02:43 -0000)]
* Monodoc/ecma-provider.cs: Support the full set of possible operator
  names within EcmaHelpSource.MakeOperatorSignature() (where "full" is
  "whatever is included in ECMA-335 §10.3.1 through §10.3.3").
  Fixes InvalidOperationException reported to mono-docs-list.

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

14 years ago2010-04-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 25 Apr 2010 23:15:38 +0000 (23:15 -0000)]
2010-04-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpanTest.cs: New test for ToString using custom formats.

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

14 years ago2010-04-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 25 Apr 2010 23:14:36 +0000 (23:14 -0000)]
2010-04-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: Support custom formats in ToString().

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

14 years agoeglib: Fix iconv check for GNU libiconv
Andreas Färber [Sun, 25 Apr 2010 15:26:55 +0000 (15:26 -0000)]
eglib: Fix iconv check for GNU libiconv

* configure.ac: The iconv function may be libiconv_open.
Fixes linking with GNU libiconv.

This commit is licensed under the MIT X11 license.

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

14 years agoFix bug #599486.
Ankit Jain [Sun, 25 Apr 2010 08:51:02 +0000 (08:51 -0000)]
Fix bug #599486.
* xbuild/Microsoft.CSharp.targets:
* xbuild/Microsoft.VisualBasic.targets: Add $(CoreCompileDependsOn)
for the CoreCompile target.

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

14 years ago2010-04-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sun, 25 Apr 2010 02:21:54 +0000 (02:21 -0000)]
2010-04-25  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Properly
        separate copy_object functions for major vs nursery.  Allows us to
        get rid of a few checks and the start and end parameters for many
        functions.

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

14 years ago2010-04-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sun, 25 Apr 2010 01:51:35 +0000 (01:51 -0000)]
2010-04-25  Mark Probst  <mark.probst@gmail.com>

        * sgen-marksweep.c, sgen-gc.c, sgen-major-copying.c,
        sgen-protocol.c, sgen-protocol.h, Makefile.am: Major Mark&Sweep
        collector.

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

        * tools/sgen/sgen-grep-binprot.c: Support for major Mark&Sweep
        collector.

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

14 years agoAdd a test.
Zoltan Varga [Sat, 24 Apr 2010 23:49:00 +0000 (23:49 -0000)]
Add a test.

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

14 years ago2010-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Apr 2010 23:48:06 +0000 (23:48 -0000)]
2010-04-25  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_create_from_typedef): Initialize class->nested_in after
calling setup_mono_type () since the nested parent could recursively reference
the nested class using generic constraints. Fixes #599469.

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

14 years ago2010-04-25 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Sat, 24 Apr 2010 23:39:28 +0000 (23:39 -0000)]
2010-04-25  Ivan Zlatev  <ivan@ivanz.com>

* DataGridViewCellCollection.cs, DataGridView.cs:
Ensure column cell templates are properly applied.
[Fixes bug #583404]

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

14 years ago2010-04-24 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Sat, 24 Apr 2010 21:57:46 +0000 (21:57 -0000)]
2010-04-24  Ivan Zlatev  <ivan@ivanz.com>

* DataGridViewColumnCollection.cs: When adding a column also
set the DisplayIndex if its now set by the user already.
        * DataGridViewColumnCollectionTest.cs: Add tests for bug #583387.
[Fixes bug #583387]

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

14 years ago2010-04-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 24 Apr 2010 17:57:40 +0000 (17:57 -0000)]
2010-04-24  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-pinning.c, sgen-major-copying.c: Major
        collector abstraction.

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

14 years agoPut back check_object () function.
Zoltan Varga [Sat, 24 Apr 2010 17:51:14 +0000 (17:51 -0000)]
Put back check_object () function.

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

14 years ago2010-04-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 24 Apr 2010 16:22:36 +0000 (16:22 -0000)]
2010-04-24  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Remove more unneeded code.

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

14 years ago2010-04-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 24 Apr 2010 15:51:02 +0000 (15:51 -0000)]
2010-04-24  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Disable managed allocator and wbarrier when the
        binary protocol is enabled.

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

14 years ago2010-04-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 24 Apr 2010 15:32:26 +0000 (15:32 -0000)]
2010-04-24  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Put nursery-fragment-cleaning into its own function.

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

14 years ago2010-04-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 24 Apr 2010 15:28:39 +0000 (15:28 -0000)]
2010-04-24  Mark Probst  <mark.probst@gmail.com>

        * mini.c, driver.c: Initialize mono_use_llvm in mono_main(), not
        in the initializer, because it's non-constant.

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

14 years ago2010-04-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 24 Apr 2010 14:58:51 +0000 (14:58 -0000)]
2010-04-24  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Remove a few commented out and unneeded bits.

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

14 years ago2010-04-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 24 Apr 2010 07:11:05 +0000 (07:11 -0000)]
2010-04-24  Atsushi Enomoto  <atsushi@ximian.com>

        * JsonSerializationReader.cs : use List<T> if the contract
          member type is interface.

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

14 years ago2010-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 24 Apr 2010 00:52:39 +0000 (00:52 -0000)]
2010-04-23  Miguel de Icaza  <miguel@novell.com>

* mono.1: Sort environment variables, update a couple of docs.

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

14 years agoUpdate man page
Miguel de Icaza [Sat, 24 Apr 2010 00:46:34 +0000 (00:46 -0000)]
Update man page

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

14 years ago2010-04-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 24 Apr 2010 00:44:24 +0000 (00:44 -0000)]
2010-04-23  Miguel de Icaza  <miguel@novell.com>

* mini.c: Use MONO_USE_LLVM as an environment flag to turn the use
of LLVM on by default.   Used for buildbots and other setups.

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

14 years ago2010-04-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Apr 2010 00:34:17 +0000 (00:34 -0000)]
2010-04-24  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Set mono_use_llvm to FALSE even if mono is compiled with LLVM.

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

14 years ago2010-04-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Apr 2010 23:54:57 +0000 (23:54 -0000)]
2010-04-24  Marek Habersack  <mhabersack@novell.com>

* MemoryCacheTest.cs, ObjectCacheTest.cs: added

* HostFileChangeMonitorTest.cs: added more tests.

2010-04-24  Marek Habersack  <mhabersack@novell.com>

* AppDomainTools.cs, AssertExtensions.cs, PokerChangeMonitor.cs,
PokerMemoryCache.cs, PokerObjectCache.cs,
TestNotificationSystem.cs: added

2010-04-24  Marek Habersack  <mhabersack@novell.com>

* ObjectCache.cs: implemented all the non-abstract methods.

* MemoryCacheContainer.cs, MemoryCacheEntry.cs,
MemoryCacheEntryChangeMonitor.cs,
MemoryCacheEntryPriorityQueue.cs,
MemoryCachePerformanceCounters.cs: added

* MemoryCache.cs: implemented physical memory size detection, item
expiration timer, indexer, reading of configuration values from
config files, cache memory limit calculation, the
AddOrGetExisting, Set, Get, Contains,
CreateCacheEntryChangeMonitor, Dispose, GetCacheItem, GetCount,
GetEnumerator, GetValues, Remove and Trim methods.
Implemented support for per-cpu item containers.
Modified parameters of several methods to match .NET 4.0 release.

* HostFileChangeMonitor.cs: implemented according to tests.

* Helpers.cs: added new properties, StringComparer and Is64bit

* FileChangeNotificationSystemEntry.cs: added

* FileChangeNotificationSystem.cs: implemented

* ChangeMonitor.cs: NotifyOnChanged now properly throws an
exception if it was called more than once.

* CacheEntryRemovedReason.cs: renamed from
CacheEntryRemoveReason.cs

* CacheEntryChangeMonitor.cs: renamed from CacheEntryMonitor.cs

2010-04-24  Marek Habersack  <mhabersack@novell.com>

* MemoryCacheSettingsCollection.cs: added and implemented methods
which appeared in .NET 4.0 final.

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

14 years ago2010-04-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 23 Apr 2010 19:57:40 +0000 (19:57 -0000)]
2010-04-23  Jonathan Pobst  <monkey@jpobst.com>

* XAttributeTest.cs, XElementTest.cs: Try to standardize DST usage
to fix failing tests in buildbot.

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

14 years agoSet eol:native.
Jonathan Pobst [Fri, 23 Apr 2010 19:56:57 +0000 (19:56 -0000)]
Set eol:native.

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

14 years ago2010-04-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 23 Apr 2010 19:37:26 +0000 (19:37 -0000)]
2010-04-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpDataStream.cs:
* FtpWebRequest.cs: use streams instead of sockets as soon as
possible. Correctly initialize the control connection when SSL
is used.
Fixes bug #598908.

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

14 years ago2010-04-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 23 Apr 2010 19:33:29 +0000 (19:33 -0000)]
2010-04-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Context.cs:
* SslStreamBase.cs:
* RecordProtocol.cs: differentiate a received 'CloseNotify' alert from
one that we sent. Disposing the stream will try to send the
'CloseNotify' alert, if it hasn't already, and ignore any errors. This
is needed for FTPS to work.

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

14 years agorevert last changes, gacutil depends on that
Jb Evain [Fri, 23 Apr 2010 18:40:23 +0000 (18:40 -0000)]
revert last changes, gacutil depends on that

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

14 years agofix the build
Jb Evain [Fri, 23 Apr 2010 17:31:44 +0000 (17:31 -0000)]
fix the build

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

14 years ago2010-04-23 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 23 Apr 2010 17:26:10 +0000 (17:26 -0000)]
2010-04-23  Geoff Norton  <gnorton@novell.com>

        * mini-amd64.h: Darwin x86_64 support.

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

14 years ago2010-04-23 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 23 Apr 2010 17:26:07 +0000 (17:26 -0000)]
2010-04-23  Geoff Norton  <gnorton@novell.com>

* mono-sigcontext.h: Darwin x86_64 support.

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

14 years ago2010-04-23 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 23 Apr 2010 17:26:05 +0000 (17:26 -0000)]
2010-04-23  Geoff Norton  <gnorton@novell.com>

        * configure.ac: The iconv function is iconv_open.

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

14 years ago2010-04-23 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 23 Apr 2010 17:21:39 +0000 (17:21 -0000)]
2010-04-23  Geoff Norton  <gnorton@novell.com>

* include/private/gcconfig.h: Darwin x86-64 bit support.
* darwin_stop_world.c: Ditto

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

14 years ago2010-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 23 Apr 2010 17:00:56 +0000 (17:00 -0000)]
2010-04-23  Jb Evain  <jbevain@novell.com>

* domain.c (get_runtime_by_version): renamed to
mono_get_runtime_by_version.

* domain-internals.h: expose mono_get_runtime_by_version as
an internal function.

* assembly.c (mono_assembly_load_from_full): check if the image
references a newer runtime than the current executing one, and
mark it as invalid if it's the case.

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

14 years ago* method-to-ir.c (mono_method_to_ir): Enable inlining of pointer-sized unmanaged...
Kornél Pál [Fri, 23 Apr 2010 16:57:33 +0000 (16:57 -0000)]
* method-to-ir.c (mono_method_to_ir): Enable inlining of pointer-sized unmanaged initonly static fields when using moving GC.  Contributed under MIT/X11 license.

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

14 years ago2010-04-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 23 Apr 2010 16:37:47 +0000 (16:37 -0000)]
2010-04-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: patch from Robert Nagy that fixes a nullref and
uses mono_sem_wait instead of mono_sem_timedwait for openbsd.

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

14 years ago2010-04-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 23 Apr 2010 14:53:17 +0000 (14:53 -0000)]
2010-04-23  Marek Safar <marek.safar@gmail.com>

* Complex.cs: Add explicit BigInteger operator.

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

14 years agoRemoved explicit COM reference and made sealed
Marek Safar [Fri, 23 Apr 2010 14:41:32 +0000 (14:41 -0000)]
Removed explicit COM reference and made sealed

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

14 years agoFixed typo and 4.0 file version
Marek Safar [Fri, 23 Apr 2010 14:16:52 +0000 (14:16 -0000)]
Fixed typo and 4.0 file version

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

14 years ago2010-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 23 Apr 2010 12:59:05 +0000 (12:59 -0000)]
2010-04-23  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs: fix writing of exported types.

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

14 years agocleol
Jb Evain [Fri, 23 Apr 2010 12:57:34 +0000 (12:57 -0000)]
cleol

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

14 years ago2010-04-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 23 Apr 2010 12:04:05 +0000 (12:04 -0000)]
2010-04-23  Sebastien Pouliot  <sebastien@ximian.com>

* moonlight_raw_System.dll.sources: Add new (for SL4) types
to moonlight build

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

14 years ago2010-04-23 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Apr 2010 10:36:37 +0000 (10:36 -0000)]
2010-04-23  Astushi Enomoto  <atsushi@ximian.com>

* Http_listener_notes.txt: update comment, as I have fixed one issue
  with lengthy explanation.

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

14 years ago2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Apr 2010 10:28:49 +0000 (10:28 -0000)]
2010-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : fixed the issue that mex_info is never
  retrieved from the latest channel listener (which could be other
  listener than the one which was set mex info).

* ServiceMetadataExtension.cs : raise an error if it failed to set
  mex info. (Make it safer.)

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

14 years agoIn class/System.Core:
Rolf Bjarne Kvinge [Fri, 23 Apr 2010 09:28:47 +0000 (09:28 -0000)]
In class/System.Core:
2010-04-23  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* moonlight_raw_System.Core.dll.sources: Include Lazy.cs and
LazyThreadSafetyMode.cs from corlib in here.

In class/corlib:
2010-04-23  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* moonlight_raw_corlib.dll.sources: Don't include Lazy.cs here. It's in
System.Core.dll.

In class/corlib/System.Threading:
2010-04-23  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* LazyThreadSafetyMode.cs: Include in Moonlight build.

In class/corlib/System:
2010-04-23  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Lazy.cs: Include in Moonlight build.

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

14 years ago2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Apr 2010 09:26:26 +0000 (09:26 -0000)]
2010-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelListener.cs, HttpListenerManager.cs :
  actually it should be ChannelDispatcher-to-HttpChannelListener,
  to identify which dispatcher to send reqs.

* ServiceHostBase.cs: (ditto)

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

14 years ago2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Apr 2010 07:05:56 +0000 (07:05 -0000)]
2010-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs : remove old Http Keep-Alive workaround.

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

14 years ago2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Apr 2010 05:26:17 +0000 (05:26 -0000)]
2010-04-23  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : add host-to-http-listener mapping so that
  they can be managed per host.

* HttpTransportBindingElement.cs,
  HttpChannelListener.cs,
  HttpListenerManager.cs : add host-to-http-listener mapping so that
  they can be managed per host.

* ServiceMetadataExtension.cs : reflect DispatcherBuilder change.

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