mono.git
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

14 years ago2010-04-23 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 22 Apr 2010 23:09:35 +0000 (23:09 -0000)]
2010-04-23  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System.Core/Test/System.Linq/:
   * ParallelEnumerableTests.cs: Fix namespace, add NET_4_0 #ifdef
   * ParallelTestHelper.cs: Fix namespace

In class/System/Test/System.Collections.Concurrent/:
   * BlockingCollectionTests.cs: Add IsCompletedEmptyTestCase,
   fix namespace

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

14 years agoFifth patch from: Damien Diederen <dd@crosstwine.com>
Miguel de Icaza [Thu, 22 Apr 2010 21:26:25 +0000 (21:26 -0000)]
Fifth patch from: Damien Diederen <dd@crosstwine.com>

For bug: https://bugzilla.novell.com/show_bug.cgi?id=480152

* Normalization.cs: Really apply canonical reordering "recursively."

Before this, a sequence of code points with the combining
classes (22, 33, 11) would be reordered to (22, 11, 33) instead of
the correct (11, 22, 33).  This is because the 'i--' would be
directly cancelled by the 'i++' in the for loop.

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

14 years agoFourth patch from: Damien Diederen <dd@crosstwine.com>
Miguel de Icaza [Thu, 22 Apr 2010 21:25:59 +0000 (21:25 -0000)]
Fourth patch from: Damien Diederen <dd@crosstwine.com>

For bug: https://bugzilla.novell.com/show_bug.cgi?id=480152

     * Normalization.cs: The correct "checkType" argument to
Decompose() is NKD or NKFD when normalizing to NKC resp. NKFC.

* StringTest.cs: More NFC test cases.

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

14 years agoThird patch from: Damien Diederen <dd@crosstwine.com>
Miguel de Icaza [Thu, 22 Apr 2010 21:25:34 +0000 (21:25 -0000)]
Third patch from: Damien Diederen <dd@crosstwine.com>

For bug: https://bugzilla.novell.com/show_bug.cgi?id=480152

* Normalization.cs: Implement algorithmic Hangul composition.
Calling Normalize(NormalizationForm.FormC) on Korean characters
now works properly (bnc#480152).

* StringTest.cs: Add test cases for Hangul composition.

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

14 years agoSecond patch from: Damien Diederen <dd@crosstwine.com>
Miguel de Icaza [Thu, 22 Apr 2010 21:25:04 +0000 (21:25 -0000)]
Second patch from: Damien Diederen <dd@crosstwine.com>

For bug: https://bugzilla.novell.com/show_bug.cgi?id=480152

* Normalization.cs: Follow the spec when checking composition pairs.

Figure 7 in section 1.3 of http://unicode.org/reports/tr15/ shows
how when doing composition, one has to examine the successive
(starter, candidate) pairs, and combine if a matching canonical
decomposition exists.

The original algorithm was, instead, iterating on canonical
decompositions, and, for each one, trying to match a sequence
of (starter, non-starter, ...).  This, however, does not produce
the same results as it is violating some implicit ordering
constraints in the Unicode tables.

E.g., when composing the following sequence of codepoints, the
original algorithm was picking:

  03B7 0313 0300 0345
  ^^^^     ^^^^
  1F74 0313  0345
  ^^^^          ^^^^
  1FC2 0313

and would stop at 1FC2 0313 as there is no decomposition matching
it.  The new algorithm, which follows the guidance of the pretty
figure 7, ends up doing:

  03B7 0313 0300 0345
  ^^^^ ^^^^
  1F20     0300 0345
  ^^^^     ^^^^
  1F22          0345
  ^^^^          ^^^^
  1F92

resulting in the correct 1F92.

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

14 years agoFirst patch from: Damien Diederen <dd@crosstwine.com>
Miguel de Icaza [Thu, 22 Apr 2010 21:24:18 +0000 (21:24 -0000)]
First patch from: Damien Diederen <dd@crosstwine.com>

For bug: https://bugzilla.novell.com/show_bug.cgi?id=480152

* Normalization.cs: Recursively apply the Unicode decomposition mapping.

According to http://www.unicode.org/reports/tr15/tr15-31.html,
section 1.3:

"To transform a Unicode string into a given Unicode Normalization
Form, the first step is to fully decompose the string. [...] Full
decomposition involves recursive application of the
Decomposition_Mapping values, because in some cases a complex
composite character may have a Decomposition_Mapping into a
sequence of characters, one of which may also have its own
non-trivial Decomposition_Mapping value."

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

14 years ago2010-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 22 Apr 2010 20:50:27 +0000 (20:50 -0000)]
2010-04-22  Miguel de Icaza  <miguel@novell.com>

* SerialPort.cs: Try to detect serial devices in other Unix
systems.

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

14 years ago2010-04-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 22 Apr 2010 19:42:15 +0000 (19:42 -0000)]
2010-04-22  Miguel de Icaza  <miguel@novell.com>

* SerialPort.cs: Try to detect serial devices in other Unix
systems.

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

14 years ago2010-04-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 22 Apr 2010 17:01:36 +0000 (17:01 -0000)]
2010-04-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpanTest.cs: Update our test after the 4.0 release.

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

14 years ago2010-04-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 22 Apr 2010 16:59:03 +0000 (16:59 -0000)]
2010-04-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: The final 4.0 release removed the restriction of
preceding zeroes when parsing, and it also added 't' and 'T' as valid
formats equivalent to 'c' (default).

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

14 years ago2010-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Apr 2010 12:13:16 +0000 (12:13 -0000)]
2010-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XamlMemberInvoker.cs : make sure GetValue() is not supported
  on directives.

* XamlMemberInvokerTest.cs : make sure GetValue() is not supported
  on directives.

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

14 years ago2010-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Apr 2010 11:54:12 +0000 (11:54 -0000)]
2010-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReader.cs, TypeExtensionMethods.cs : now it can return
  Type name correctly, with INamespacePrefixLookup implementation.

* XamlObjectReaderTest.cs : enabled working tests. Add decent
  namespace declaration node assertions in the next tests.

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

14 years ago2010-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Apr 2010 10:47:03 +0000 (10:47 -0000)]
2010-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReader.cs, TypeExtensionMethods.cs : handle System.Type
  as predefined type that returns Value instead of StartObject.
  Rename some member getter methods to explicitly limit the scope to
  object readers so far.

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

14 years ago2010-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Apr 2010 10:44:45 +0000 (10:44 -0000)]
2010-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XamlMemberInvokerTest.cs : make sure that the invoker returns Type
  for Type member here. (XamlObjectReader returns string for some
  cases, so I wanted to make sure it is *not* here.)

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

14 years ago2010-04-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Apr 2010 10:18:48 +0000 (10:18 -0000)]
2010-04-22  Atsushi Enomoto  <atsushi@ximian.com>

* XamlObjectReader.cs
  XamlMember.cs
  TypeExtensionMethods.cs
  XamlType.cs : handle PositionalParameters, for Type type support.

* XamlObjectReaderTest.cs : add another MarkupExtension test.

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

14 years agoDon't attempt to keep processing after processing all types.
Geoff Norton [Wed, 21 Apr 2010 23:36:19 +0000 (23:36 -0000)]
Don't attempt to keep processing after processing all types.
Don't attempt to get interfaces of GenericParameters.

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

14 years agoAdd new option -a to print out all the types
Miguel de Icaza [Wed, 21 Apr 2010 21:20:44 +0000 (21:20 -0000)]
Add new option -a to print out all the types

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

14 years agoUpdate
Miguel de Icaza [Wed, 21 Apr 2010 21:20:41 +0000 (21:20 -0000)]
Update

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

14 years ago2010-04-21 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 21 Apr 2010 20:21:41 +0000 (20:21 -0000)]
2010-04-21  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #595918
* Tds70.cs (WriteParameterInfo): Write updated decimal value
according to specified scale value.

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

14 years ago2010-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Apr 2010 14:43:20 +0000 (14:43 -0000)]
2010-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* XDocument.cs: Don't use XmlReaderSettings.ProhibitDtd when
building Moonlight SDK assemblies

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

14 years agoupdate System.Net.dll for SL4 API
Sebastien Pouliot [Wed, 21 Apr 2010 14:03:45 +0000 (14:03 -0000)]
update System.Net.dll for SL4 API

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

14 years ago2010-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Apr 2010 13:25:55 +0000 (13:25 -0000)]
2010-04-21  Sebastien Pouliot  <sebastien@ximian.com>
* FileSystemInfo.cs: Ensure elevated trust when calling [Creation
|LastAccess|LastWrite]Time setters

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

14 years ago2010-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Apr 2010 12:40:57 +0000 (12:40 -0000)]
2010-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* FileInfo.cs: Ensure elevated trust when calling Delete on
Moonlight.

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

14 years ago2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Apr 2010 10:54:55 +0000 (10:54 -0000)]
2010-04-21  Atsushi Enomoto  <atsushi@ximian.com>

* AsyncCallTest.cs : disable it again, it somehow does not work with
  the latest code from trunk (ThreadPool?).

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

14 years ago2010-04-21 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Apr 2010 09:48:27 +0000 (09:48 -0000)]
2010-04-21  Astushi Enomoto  <atsushi@ximian.com>

* Http_listener_notes.txt: more comment.

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