mono.git
13 years ago2010-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 11 Jul 2010 19:56:18 +0000 (19:56 -0000)]
2010-07-11  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Kill some duplicated code.

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

13 years ago2010-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 11 Jul 2010 19:38:49 +0000 (19:38 -0000)]
2010-07-11  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.c (get_call_info): Call mini_type_get_underlying_type () before passing
a type to MONO_TYPE_IS_REFERENCE (), since the latter can't handle VAR/MVAR.
Fixes #620864.

* generics.cs: Add a test.

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

13 years ago2010-07-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 11 Jul 2010 16:46:16 +0000 (16:46 -0000)]
2010-07-11 Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mono_jit_compile_method_inner): Don't bomb out if we don't
support a given runtime implemented method.

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

13 years ago2010-07-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 11 Jul 2010 13:09:17 +0000 (13:09 -0000)]
2010-07-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RegistryKey.cs: Add 4.0 CreateSubKey overloads taking a RegistryOptions
parameter.
* IRegistryApi.cs: Add a new overload for CreateSubKey for the 4.0
profile. Not nice, but better than to change the signature for each
profile.
* Win32RegistryApi.cs: Properly recognize a handle where a volatile
key is requested.
* UnixRegistryApi.cs: Stubbed.

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

13 years ago * Makfile.am (test-process-exit): Expected output is in $srcdir.
Jonathan Pryor [Sun, 11 Jul 2010 02:43:43 +0000 (02:43 -0000)]
* Makfile.am (test-process-exit): Expected output is in $srcdir.

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

13 years ago2010-07-10 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Sat, 10 Jul 2010 10:35:56 +0000 (10:35 -0000)]
2010-07-10  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes 620860
* Tds70.cs (Precision): New virtual property to handle Precision
values across different Tds versions.
(WriteParameterInfo): Use defined Precision property instead of
constant value.  Also handle Ulong and long max/min values
properly.
* Tds80.cs (Precision): Override property to provide Tds 8
precision value.

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

13 years ago* Csc.cs: Quote -define: arguments.
Ankit Jain [Sat, 10 Jul 2010 10:03:36 +0000 (10:03 -0000)]
* Csc.cs: Quote -define: arguments.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 10 Jul 2010 01:59:24 +0000 (01:59 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* sgen-gray.c: Store only a pointer to one end of the gray queue.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 01:21:41 +0000 (01:21 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature_checked): Release the domain
lock on failure.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 01:15:55 +0000 (01:15 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_get_method_constrained): Properly unlock the
domain lock on failure. Use checked variant of
inflate_generic_signature.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 01:15:47 +0000 (01:15 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature_checked): Use checked
variant of inflate_generic_signature.

Fixes #606353.

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

13 years agoStore forwarding address in the same word as the forwarding bit.
Mark Probst [Sat, 10 Jul 2010 00:48:26 +0000 (00:48 -0000)]
Store forwarding address in the same word as the forwarding bit.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 10 Jul 2010 00:41:19 +0000 (00:41 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* gc.c, gc-internal.h, sgen-gc.c, sgen-gc.h, sgen-os-mach.c: An
interface to register our Mach exception thread which will not be
suspended by stop-the-world.

2010-07-10  Mark Probst  <mark.probst@gmail.com>

* mini-darwin.c: Register the exception thread with the GC.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 00:30:12 +0000 (00:30 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c (mono_metadata_parse_type_internal): Don't use
cannonical types when a transient type was requested.

Fixes #608626.

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

13 years agoAnother 4.0 test update
Marek Habersack [Sat, 10 Jul 2010 00:25:23 +0000 (00:25 -0000)]
Another 4.0 test update

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

13 years ago2010-07-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 10 Jul 2010 00:25:15 +0000 (00:25 -0000)]
2010-07-10  Marek Habersack  <mhabersack@novell.com>

* Control.cs: when setting ClientIDMode remember the value when
setting the property for the first time.

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

13 years agoRemoved debugging code
Marek Habersack [Sat, 10 Jul 2010 00:25:07 +0000 (00:25 -0000)]
Removed debugging code

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

13 years ago2010-07-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 10 Jul 2010 00:24:59 +0000 (00:24 -0000)]
2010-07-09  Marek Habersack  <mhabersack@novell.com>

* HtmlInputButton.cs: if ServerClick handler is found, do NOT
attribute-encode the onclick attribute.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 10 Jul 2010 00:17:13 +0000 (00:17 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* sgen-gray.c, sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c:
All functions that touch the gray queue directly or indirectly now
take it as an argument.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Jul 2010 23:58:30 +0000 (23:58 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* sgen-gray.c, sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c:
Put the gray queue data into a struct and pass it around.

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

13 years ago2010-07-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 9 Jul 2010 23:13:53 +0000 (23:13 -0000)]
2010-07-09 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_method_can_access_method_full): Handle type
accessibility with very deep nested types.

* class.c (mono_method_can_access_field_full): Ditto.

Fixes #619300.

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

13 years ago2010-07-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 9 Jul 2010 23:13:45 +0000 (23:13 -0000)]
2010-07-09 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_deep_nested_type_visibility.cs: Regression test
for #619300.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Jul 2010 22:59:55 +0000 (22:59 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c, sgen-los.c, sgen-major-copying.c, sgen-marksweep.c,
sgen-scan-object.h: Use a macro for rounding up sizes and
addresses to ALLOC_ALIGN.

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

13 years ago2010-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Jul 2010 22:48:07 +0000 (22:48 -0000)]
2010-07-10  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (set_metadata_flag): Set metadata flags only when using the LLVM
mono branch.

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

13 years agoFix the previous change.
Zoltan Varga [Fri, 9 Jul 2010 22:05:05 +0000 (22:05 -0000)]
Fix the previous change.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Jul 2010 22:00:13 +0000 (22:00 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_INST_HAS_CONSTANT_LOAD): New instruction flag marking loads which load
from constant memory.

* ir-emit.h: Clean up the _FAULT macros a bit.

* decompose.c: Mark some loads as constant.

* mini-llvm.c: Pass the constant-ness of loads to LLVM using custom metadata.

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

13 years ago2010-07-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 9 Jul 2010 21:40:36 +0000 (21:40 -0000)]
2010-07-09  Miguel de Icaza  <miguel@novell.com>

* driver.c (mini_usage): Change the name of the --sgen flag to be
--gc=sgen and also support --gc=boehm.   These flags can also be
set on MONO_ENV_OPTIONS to propagate this to children processes.

* main.c: Remove the MONO_VM_OPTIONS environment variable that
only supported "sgen" and "llvm" config options and instead parse
the MONO_ENV_OPTIONS as options that are parsed by the command
line parser.   Any command line option that Mono supports can be
passed in this environment variable.

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

13 years ago2010-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 9 Jul 2010 21:37:48 +0000 (21:37 -0000)]
2010-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TimeZoneInfo.cs: avoid nullref when there are no adjustment rules.
Fixes bug #619811.

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

13 years agoRevert
Geoff Norton [Fri, 9 Jul 2010 20:48:27 +0000 (20:48 -0000)]
Revert

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

13 years agoFix the monotouch build
Geoff Norton [Fri, 9 Jul 2010 20:41:50 +0000 (20:41 -0000)]
Fix the monotouch build

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

13 years ago2010-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 9 Jul 2010 20:05:39 +0000 (20:05 -0000)]
2010-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>

* file-io.c: fix GetFileSystemEntries for patterns containing
directories.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Jul 2010 19:54:26 +0000 (19:54 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Run abcrem uncoditionally when LLVM is used since
it can now eliminate more than just bounds checks.

* ir-emit.h: Add MAY_FAULT versions of the LOAD_MEMBASE macros which take
an extra 'fault' argument.

* method-to-ir.c: Set the MONO_INST_FAULT of the array opcodes which are decomposed
later.

* decompose.c: Propagate the MONO_INST_FAULT flag from the array opcodes to their
decomposition.

* mini-llvm.c: Remove support for the X86/AMD64 COMPARE_MEMBASE opcodes, they are
no longer generated when LLVM is used.

* abcremoval.c: Eliminate MONO_INST_FAULT flags if possible.

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

13 years agofix an embarassing typo
Andrew Jorgensen [Fri, 9 Jul 2010 18:31:54 +0000 (18:31 -0000)]
fix an embarassing typo

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 18:16:33 +0000 (18:16 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* PostReceiveRequestHandler.cs : don't replace correctly passed-by-
  reference Message with wrong, consumed Message.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 18:13:27 +0000 (18:13 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* SecurityRequestContext.cs : remove extraneous buffering.

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

13 years agominimal docs for MONO_LLVM
Miguel de Icaza [Fri, 9 Jul 2010 17:08:55 +0000 (17:08 -0000)]
minimal docs for MONO_LLVM

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 16:51:34 +0000 (16:51 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlNodeReaderImpl.cs : in GetNamespacesInScope(), avoid NREs under
  "no current node" situation. Also, look for attributes on iterated
  nodes, not current ones.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 16:34:18 +0000 (16:34 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* SecureMessageDecryptor.cs : avoid duplicate copy of headers into
  the decrypted message.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 16:24:09 +0000 (16:24 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* SignedXml.cs : avoid using LoadXml() to load xml element as in
  literal string. Use ImportNode() instead.
  Copy namespaces for a referenced node found in envelope document too.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 16:19:19 +0000 (16:19 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* Message.cs, MessageBufferImpl.cs, MessageImpl.cs: preserve and
  output attributes prefixes, to copy Body/@wsu:Id to successfully
  verify the xmldsig.

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

13 years agoFix make dist (IntAllocator.cs)
Andrew Jorgensen [Fri, 9 Jul 2010 16:14:30 +0000 (16:14 -0000)]
Fix make dist (IntAllocator.cs)

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

13 years agoClarify
Miguel de Icaza [Fri, 9 Jul 2010 15:27:05 +0000 (15:27 -0000)]
Clarify

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

13 years agoFix build with older LLVM versions.
Zoltan Varga [Fri, 9 Jul 2010 15:16:25 +0000 (15:16 -0000)]
Fix build with older LLVM versions.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Jul 2010 15:04:11 +0000 (15:04 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* ir-emit.h mini-llvm.c: Fix support for explicit-null-checks + LLVM.

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

13 years ago2010-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Jul 2010 15:03:02 +0000 (15:03 -0000)]
2010-07-09  Mark Probst  <mark.probst@gmail.com>

* sgen-marksweep.c (major_finish_major_collection): Don't free
major heap blocks on 32 bit platforms because it can lead to
address space fragmentation.  We'll figure this out later.

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

13 years agoCorrectly handle precedence of ToolsVersion value coming
Ankit Jain [Fri, 9 Jul 2010 14:56:14 +0000 (14:56 -0000)]
Correctly handle precedence of ToolsVersion value coming
from various points.
In class/Microsoft.Build.Engine:

* Microsoft.Build.Engine.dll.sources: Add
UnknownToolsVersionException.cs

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

Correctly handle precedence of ToolsVersion value coming
from various points.
* BuildEngine.cs (BuildProjectFile): Restore project.ToolsVersion .
* Engine.cs: Likewise. Also validate DefaultToolsVersion .
* Project.cs: Handle invalid tools version specified in the project
file, and fall back to engine's version.
* MSBuild.cs: Fix the precedence order, and validate.
* UnknownToolsVersionException.cs: New.

In class/Microsoft.Build.Tasks:

* Microsoft.Build.Tasks.dll.sources: Use
UnknownToolsVersionException.cs from Engine.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* MessageTest (TestExecution): Additional messages with 'low'
importance get emitted, so don't expect sequential messages.

In tools/xbuild:

* Main.cs: Use tools version specified on the command line, if
any.
* xbuild.exe.sources: Include UnknownToolsVersionException.cs from
MS.B.Engine

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

13 years ago2010-07-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 Jul 2010 14:41:04 +0000 (14:41 -0000)]
2010-07-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Win32RegistryApi.cs: Use RegCreateKeyEx instead of RegCreateKey, as
we need it to further support both the missing bits and the 4.0
features.

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

13 years agoNew test.
Marek Safar [Fri, 9 Jul 2010 13:39:36 +0000 (13:39 -0000)]
New test.

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

13 years ago2010-07-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 9 Jul 2010 13:39:10 +0000 (13:39 -0000)]
2010-07-09  Marek Safar  <marek.safar@gmail.com>

* property.cs, parameters.cs: Inflated IndexerSpec parameters.

* import.cs: Don't build unused parameters.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 13:03:19 +0000 (13:03 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* MessageFault.cs : MessageFault from Message could have empty
  detail. Have it return HasDetail as expected.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 13:01:59 +0000 (13:01 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* SecurityRequestChannel.cs : do not try to decrypt faults, they
  are not encrypted.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 12:36:21 +0000 (12:36 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : do not swallow exception during
  RequestContext.get_RequestMessage() and thus return SOAP Fault for
  MessageSecurityException to the client.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 11:33:07 +0000 (11:33 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeader.cs : to clone raw xml completely, avoid using
  ReadOuterXml() and text reader but use XmlNodeReader instaed.
* Message.cs : avoid extraneous xmlns:u attribute.

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

13 years ago2010-07-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 9 Jul 2010 09:44:32 +0000 (09:44 -0000)]
2010-07-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* driver.c: Moonlight: Force line buffering for stdout.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 09:17:26 +0000 (09:17 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeader.cs, MessageHeaderInfo.cs: add internal Prefix
  property and copy them from source to destination.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 07:35:11 +0000 (07:35 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* MessageImpl.cs : When XmlReaderMessage was writing its contents,
  it was dropping body attributes, including wsu:Id for WS-Security.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 05:37:14 +0000 (05:37 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* SecureMessageGenerator.cs : MessageBuffer was missing copy of
  Body wsu:Id attribute.
* HttpRequestChannel.cs : remove comment for resolved issue.

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

13 years ago2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Jul 2010 04:40:34 +0000 (04:40 -0000)]
2010-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : move another old code.

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

13 years ago2010-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Jul 2010 04:07:13 +0000 (04:07 -0000)]
2010-07-09  Mark Probst  <mark.probst@gmail.com>

* sgen-marksweep.c, sgen-gc.c, sgen-major-copying.c: Free major
heap blocks for mark&sweep eventually.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Jul 2010 02:40:24 +0000 (02:40 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_load): Revert the last changes, the load/store intrinsics
are only callable using invoke.

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

13 years ago2010-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Jul 2010 02:34:46 +0000 (02:34 -0000)]
2010-07-09  Mark Probst  <mark.probst@gmail.com>

* sgen-protocol.c: Fix build when binary protocol is disabled.

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

13 years ago2010-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Jul 2010 01:30:33 +0000 (01:30 -0000)]
2010-07-09  Mark Probst  <mark.probst@gmail.com>

* sgen-protocol.c, sgen-gc.c: Make binary protocol lock-freely
thread-safe.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Jul 2010 00:39:27 +0000 (00:39 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (process_bb): Use emit_load () in one more place.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 8 Jul 2010 23:20:58 +0000 (23:20 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm-cpp.cpp (force_pass_linking): Link in more function passes so
MONO_LLVM=xxx is actually usable.

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

13 years ago2010-07-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 8 Jul 2010 22:45:15 +0000 (22:45 -0000)]
2010-07-09  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_load): Use the mono specific load intrinsics even outside clauses
since LLVM might be able to hoist them out of loops.
(emit_store): Ditto.

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

13 years agoEnable sgen support for s390x
Neale Ferguson [Thu, 8 Jul 2010 21:38:52 +0000 (21:38 -0000)]
Enable sgen support for s390x

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

13 years ago2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 8 Jul 2010 21:25:17 +0000 (21:25 -0000)]
2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ThemeWin32Classic.cs: implement ResetDefaults.
Fixes bug #581956.

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

13 years ago2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 8 Jul 2010 21:04:45 +0000 (21:04 -0000)]
2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebClient.cs: handle compressed streams when automatic decompression
is turned on by a class derived from WebClient.

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

13 years ago2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 8 Jul 2010 19:06:56 +0000 (19:06 -0000)]
2010-07-08 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DateTime.cs: allow between 1 and 7 digits after the dot.
Fixes bug #594559.

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

13 years ago2010-07-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jul 2010 18:50:30 +0000 (18:50 -0000)]
2010-07-08 Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c (verify_image_file): Initialize the vtable as well.

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

13 years ago2010-07-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 8 Jul 2010 18:36:11 +0000 (18:36 -0000)]
2010-07-08  Zoltan Varga  <vargaz@gmail.com>

* xdebug.c (mono_save_trampoline_xdebug_info): Make this receive a MonoTrampInfo.

* tramp-<ARCH>.c: Move the calls to save_trampoline_xdebug_info () into
mini-trampolines.c/mini-exceptions.c. Use a more human readable name for
generic trampolines+rgctx fetch trampolines.

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

13 years ago2010-07-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jul 2010 18:29:24 +0000 (18:29 -0000)]
2010-07-08 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly.c (mono_assembly_load_reference): Replace a g_warning
with a mono_trace calls. This makes compiling MD a lot less
scary.

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

13 years ago2010-07-08 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 8 Jul 2010 16:18:43 +0000 (16:18 -0000)]
2010-07-08  Geoff Norton  <gnorton@novell.com>

        * genmdesc.pl: nacl is not a new inst slot, it just modifies the size slot.

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

13 years agoMore 4.0 test fixes
Marek Habersack [Thu, 8 Jul 2010 13:10:45 +0000 (13:10 -0000)]
More 4.0 test fixes

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

13 years ago2010-07-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jul 2010 13:10:35 +0000 (13:10 -0000)]
2010-07-08  Marek Habersack  <mhabersack@novell.com>

* CheckBoxList.cs: RepeatLayout property update for new values of
the RepeatLayout enum in 4.0

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

13 years ago2010-07-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jul 2010 13:10:25 +0000 (13:10 -0000)]
2010-07-08  Marek Habersack  <mhabersack@novell.com>

* TreeView.cs: in 4.0, checkbox renders the value of the current
node's ToolTip, if anything, and not Text.

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

13 years ago2010-07-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jul 2010 13:10:16 +0000 (13:10 -0000)]
2010-07-08  Marek Habersack  <mhabersack@novell.com>

* RepeatLayout.cs: added two new members, UnorderedList and
OrderedList (4.0)

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

13 years ago2010-07-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jul 2010 13:10:06 +0000 (13:10 -0000)]
2010-07-08  Marek Habersack  <mhabersack@novell.com>

* ImageMap.cs: implemented missing Enabled property (2.0+)
RaisePostBackEvent must be protected and virtual (2.0+)
NavigateUrl is ignored if the control is disabled (4.0)

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

13 years agoAnother 4.0 test update
Marek Habersack [Thu, 8 Jul 2010 13:09:56 +0000 (13:09 -0000)]
Another 4.0 test update

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

13 years ago4.0 test update
Marek Habersack [Thu, 8 Jul 2010 13:09:46 +0000 (13:09 -0000)]
4.0 test update

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

13 years ago2010-07-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jul 2010 13:09:32 +0000 (13:09 -0000)]
2010-07-08  Marek Habersack  <mhabersack@novell.com>

* Control.cs: if generating a predictable ID and the current
control is a naming container, ensure that an ID is generated if
not specified by user.

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

13 years agoRemoved unused overload
Marek Safar [Thu, 8 Jul 2010 12:07:48 +0000 (12:07 -0000)]
Removed unused overload

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

13 years ago2010-07-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Jul 2010 10:59:23 +0000 (10:59 -0000)]
2010-07-08  Marek Habersack  <mhabersack@novell.com>

* ScriptModule.cs: PostAcquireRequestState must check if the
current context and the current handler aren't null before
attempting to use them.

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

13 years ago2010-07-08 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 8 Jul 2010 10:35:27 +0000 (10:35 -0000)]
2010-07-08  Jb Evain  <jbevain@novell.com>

* Complex.cs: implement the different ToString overrides.

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

13 years ago2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Jul 2010 10:32:23 +0000 (10:32 -0000)]
2010-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestContext.cs : remove extra Action handling and old comment.

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

13 years ago2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Jul 2010 10:30:40 +0000 (10:30 -0000)]
2010-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : support ErrorHandlers.

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

13 years ago2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Jul 2010 10:29:45 +0000 (10:29 -0000)]
2010-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs : Set an a default DispatchOperation to throw
  EndpointNotFoundException instead of raising null Invoker error.
  And add error handler that converts the exception to HTTP 404.

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

13 years ago2010-07-08 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 8 Jul 2010 10:22:16 +0000 (10:22 -0000)]
2010-07-08  Jb Evain  <jbevain@novell.com>

* Complex.cs: Fix Phase. Implement Acos, Asin, Atan, Exp,
Log, Log10, Pow and Sqrt.

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

13 years ago2010-07-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 8 Jul 2010 09:53:53 +0000 (09:53 -0000)]
2010-07-08  Marek Safar  <marek.safar@gmail.com>

* expression.cs (Invocation): Don't recreate simple-name expression.

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

13 years ago2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Jul 2010 08:42:12 +0000 (08:42 -0000)]
2010-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestChannel.cs : remove extra code.

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

13 years ago2010-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 8 Jul 2010 08:37:05 +0000 (08:37 -0000)]
2010-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* KeyNameIdentifierClause.cs : warning cleanup and implement.

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

13 years agocouple of warning cleanups.
Atsushi Eno [Thu, 8 Jul 2010 08:17:17 +0000 (08:17 -0000)]
couple of warning cleanups.

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

13 years agofix the build
Geoff Norton [Thu, 8 Jul 2010 02:45:41 +0000 (02:45 -0000)]
fix the build

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

13 years ago2010-07-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 8 Jul 2010 02:45:38 +0000 (02:45 -0000)]
2010-07-07  Geoff Norton  <gnorton@novell.com>

        * sgen-gc.h:  Not every system has sys/signal.h.  Prefer the posix
        header.

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

13 years ago2010-07-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Jul 2010 00:42:11 +0000 (00:42 -0000)]
2010-07-08 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_stobj): Improve error message.

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

13 years ago2010-07-08 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 7 Jul 2010 22:32:54 +0000 (22:32 -0000)]
2010-07-08  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c (OBJ_COMPLEX_ARR_FOREACH_PTR): Don't load the vtable
from the object because it might have pinned/forwarding bits set.

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

13 years agoNew test.
Marek Safar [Wed, 7 Jul 2010 16:56:49 +0000 (16:56 -0000)]
New test.

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

13 years ago2010-07-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Jul 2010 16:55:07 +0000 (16:55 -0000)]
2010-07-07  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: Don't report NRE warning for lifted null.

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

13 years ago2010-07-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Jul 2010 15:51:33 +0000 (15:51 -0000)]
2010-07-07  Zoltan Varga  <vargaz@gmail.com>

* tramp-arm.c (mono_arch_create_rgctx_lazy_fetch_trampoline): Add xdebug info.

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

13 years ago2010-07-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Jul 2010 13:30:51 +0000 (13:30 -0000)]
2010-07-07  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (emit_imt_argument): Call add_outarg_reg even if MONO_ARCH_IMT_REG
is not defined in the LLVM case to keep the imt arg alive.

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