mono.git
13 years agoMore fix for handling SqlServer DateTime MinValue
Veerapuram Varadhan [Wed, 7 Jul 2010 06:47:18 +0000 (06:47 -0000)]
More fix for handling SqlServer DateTime MinValue

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

13 years ago2010-07-07 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 7 Jul 2010 06:30:55 +0000 (06:30 -0000)]
2010-07-07  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #609109 - DateTime part
* TdsComm.cs (Append[DateTime]): More fix for handling SqlServer
* MinValue for DateTime.

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

13 years agoRemove some obsolete FIXMEs.
Zoltan Varga [Tue, 6 Jul 2010 21:51:38 +0000 (21:51 -0000)]
Remove some obsolete FIXMEs.

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

13 years ago2010-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 6 Jul 2010 21:47:06 +0000 (21:47 -0000)]
2010-07-06  Zoltan Varga  <vargaz@gmail.com>

* exceptions-<ARCH>.c mini-llvm.c: Clean up the naming of the llvm related trampoline
functions, now its 'llvm_<FOO>_trampoline'.

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

13 years ago2010-07-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 6 Jul 2010 18:39:07 +0000 (18:39 -0000)]
2010-07-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Process.cs: allow the exit callback to be used more than once. Fixes
bug #614909.

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

13 years ago2010-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 6 Jul 2010 17:37:19 +0000 (17:37 -0000)]
2010-07-06  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (sgen_sources): Add missing sgen files.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 15:53:46 +0000 (15:53 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlInputStream.cs : it had been failing to retrieve correct
  encoding due to insufficient buffer reading. Fixed bug #615499.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 15:52:35 +0000 (15:52 -0000)]
2010-07-06  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentWriter2.cs : implement some writer methods.

(I think it was slipped down from some bugfixes, but not sure.)

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

13 years ago2010-07-06 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 6 Jul 2010 15:12:32 +0000 (15:12 -0000)]
2010-07-06  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #609109
* TdsComm.cs (Append[DateTime]): Handle datetime values sanely
that are less than epoch.
(Append[string]): Fix boundary checking for availability of
enough buffer

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

13 years agoUpdate
Miguel de Icaza [Tue, 6 Jul 2010 14:41:25 +0000 (14:41 -0000)]
Update

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 14:13:06 +0000 (14:13 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs : add OnDeserializing/OnDeserialized support.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 13:41:08 +0000 (13:41 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* TypeMap.cs :
  Do not try to add static members as serialization targets.
  Support OnDeserializing and OnDeserialized. Fixed bug #615800.

* DataContractJsonSerializerTest.cs : add test for bug #615800.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 09:21:34 +0000 (09:21 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* JsonSerializationWriter.cs : it cannot serialize DateTime in
  double, which causes crash in deserializer.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 09:08:57 +0000 (09:08 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* TypeMap.cs : when an object is null, return null, not just an
  uninitialized object.

* DataContractJsonSerializerTest.cs : add test for bug #615801.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 08:59:28 +0000 (08:59 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractJsonSerializer_2_1.cs : add extra methods for
  Sys.SM.Web.Extensions build.

* WebMessageFormatter.cs : add NET_2_1 profile build.

* AssemblyInfo.cs : InternalVisibleTo System.ServiceModel.Web.Extensions.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 08:53:58 +0000 (08:53 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* JsonReader.cs : do not keep Attribute state once Read() is called.

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

13 years ago2010-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Jul 2010 04:24:32 +0000 (04:24 -0000)]
2010-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactoryBase.cs : null via uri parameter is not allowed.

* ClientRuntimeChannel.cs : give non-null Via uri.

* HttpTransportBindingElementTest.cs : add test for
  ChannelFactoryBase`1.CreateChannel() with null via uri.

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

13 years ago * ResourceWriter.cs: Implement 4.0 TypeNameConverter.
Carlos Alberto Cortez [Tue, 6 Jul 2010 03:56:45 +0000 (03:56 -0000)]
* ResourceWriter.cs: Implement 4.0 TypeNameConverter.

2010-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

13 years ago2010-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 6 Jul 2010 02:42:14 +0000 (02:42 -0000)]
2010-07-06  Zoltan Varga  <vargaz@gmail.com>

* bug-81691.cs: Fix this test by catching FileNotFoundException as well.

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

13 years ago2010-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 6 Jul 2010 01:12:10 +0000 (01:12 -0000)]
2010-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ResourceWriterTest.cs: New tests for our new 4.0 AddResource
overloads.

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

13 years ago2010-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 6 Jul 2010 01:10:45 +0000 (01:10 -0000)]
2010-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ResourceWriter.cs: Implement 4.0 AddResource overloads taking a
Stream, as well as implement the same support in our AddResource that
takes an object too.

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

13 years ago2010-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 5 Jul 2010 23:28:56 +0000 (23:28 -0000)]
2010-07-06  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (emit_imt_argument): Fix llvm support.

* mini-llvm.c: Use only one mono specific LLVM calling convention since imt/rgctx
cannot be passed in the same call.

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

13 years ago2010-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 5 Jul 2010 23:02:55 +0000 (23:02 -0000)]
2010-07-06  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h mini-amd64.c tramp-amd64.c aot-compiler.c: Change the IMT
register to be the same as the RGCTX register, the two can't be used together on
the same call.

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

13 years ago2010-07-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 5 Jul 2010 22:58:13 +0000 (22:58 -0000)]
2010-07-05  Miguel de Icaza  <miguel@novell.com>

* driver.c (mono_main), main.c: Add support for MONO_VM_CONFIG
that allows the user to force the VM to use llvm or sgen.

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

13 years ago2010-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 5 Jul 2010 20:21:10 +0000 (20:21 -0000)]
2010-07-05  Zoltan Varga  <vargaz@gmail.com>

* exceptions-ppc.c (mono_arch_handle_exception): Resume from the signal handler
before processing the exception on PPC too.

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

13 years ago2010-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 5 Jul 2010 19:51:07 +0000 (19:51 -0000)]
2010-07-05  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.h (MONO_CONTEXT_SET_SP): Define this to fix the PPC build.

* mini-ppc.c tramp-ppc.c aot-compiler.c: Change the managed calling convention so
'this' is always passed as the first argument, before the vtype ret arg. This
simplifies get_this_arg_reg () and LLVM integration.

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

13 years ago2010-07-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 5 Jul 2010 18:30:41 +0000 (18:30 -0000)]
2010-07-05 Gonzalo Paniagua Javier <gonzalo@novell.com>

* NetworkInterface.cs: avoid endless loop when a bad length is
received for AF_PACKET. Fixes bug #601783.

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

13 years ago2010-07-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 5 Jul 2010 18:22:25 +0000 (18:22 -0000)]
2010-07-05 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TimeSpan.cs: two consecutive colons produce an error now.
Fixes bug #598467.

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

13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 17:39:40 +0000 (17:39 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestContext.cs, HttpChannelListener.cs, HttpReplyChannel.cs:
  rename unnecessary "Standalone" (removed).

* HttpTransportbindingElement.cs : remove "Standalone".

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

13 years agomove old code to temporary dir (keep them for a while for reference.)
Atsushi Eno [Mon, 5 Jul 2010 17:33:04 +0000 (17:33 -0000)]
move old code to temporary dir (keep them for a while for reference.)

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

13 years agoNew test.
Marek Safar [Mon, 5 Jul 2010 17:31:51 +0000 (17:31 -0000)]
New test.

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

13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 17:29:24 +0000 (17:29 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs :
  moved IChannelDispatcherBoundListener from HttpChannelListener.cs.

* SvcHttpHandler.cs : removed old code and #if blocks.

* HttpStandaloneReplyChannel.cs
  HttpStandaloneRequestContext.cs
  HttpStandaloneChannelListener.cs
  HttpReplyChannel.cs
  HttpRequestContext.cs
  HttpChannelListener.cs : renamed former 3 files to latter 3 files.

* System.ServiceModel.dll.sources :
  renamed new HTTP channel listener implementation sources, and
  removed old sources.

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

13 years agoNew test.
Marek Safar [Mon, 5 Jul 2010 17:29:06 +0000 (17:29 -0000)]
New test.

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

13 years ago2010-07-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 5 Jul 2010 17:28:32 +0000 (17:28 -0000)]
2010-07-05  Marek Safar  <marek.safar@gmail.com>

* context.cs, expression.cs, ecore.cs: BaseThis is fully based on
this expression (Fixes #619904).

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

13 years agoDocument MONO_GC_DEBUG
Miguel de Icaza [Mon, 5 Jul 2010 17:08:18 +0000 (17:08 -0000)]
Document MONO_GC_DEBUG

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

13 years ago2010-07-05 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 5 Jul 2010 16:58:13 +0000 (16:58 -0000)]
2010-07-05  Jb Evain  <jbevain@novell.com>

* TypeTest.cs: prefixed TypedReference with global:: to
remove confusion with the test suite namespace.

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

13 years agoMore tests.
Marek Safar [Mon, 5 Jul 2010 14:49:00 +0000 (14:49 -0000)]
More tests.

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

13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 14:48:32 +0000 (14:48 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs, HttpChannelListenerEntry.cs,
  HttpContextInfo.cs, HttpListenerManager.cs,
  HttpStandaloneRequestContext.cs, HttpListenerManagerTable.cs:
  Fixed wsdl support in the new codebase, so enabled it again, and
  made significant changes for ASP.NET integration. Now ASP.NET
  implementation switched to the new one.

* SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
  Support for new and old stack (both) are temporarily enabled.
* HttpTransportBindingElement.cs : switch to new ASP.NET stack.

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

13 years ago2010-07-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 5 Jul 2010 14:47:35 +0000 (14:47 -0000)]
2010-07-05  Marek Safar  <marek.safar@gmail.com>

* membercache.cs, class.cs: Don't use base member to check for
property or indexer base implementation.

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

13 years agoAdd mono_debugger_get_thread_abort_signal() helper function.
Martin Baulig [Mon, 5 Jul 2010 14:35:02 +0000 (14:35 -0000)]
Add mono_debugger_get_thread_abort_signal() helper function.
2010-06-07  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c (mono_debugger_get_thread_abort_signal):
New helper function since mono_thread_get_abort_signal() is now
internal.

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

13 years agoKill glib dependencies from debug-mono.h and debug-mono-symfile.h.
Martin Baulig [Mon, 5 Jul 2010 14:34:53 +0000 (14:34 -0000)]
Kill glib dependencies from debug-mono.h and debug-mono-symfile.h.
2010-06-07  Martin Baulig  <martin@ximian.com>

* mono-debug.h, debug-mono-symfile.h: Kill glib dependencies.

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

13 years agoNew tests.
Marek Safar [Mon, 5 Jul 2010 14:24:16 +0000 (14:24 -0000)]
New tests.

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

13 years agoApply r159782 from the mono-2-6-branch.
Martin Baulig [Mon, 5 Jul 2010 14:06:09 +0000 (14:06 -0000)]
Apply r159782 from the mono-2-6-branch.
2010-07-05  Martin Baulig  <martin@ximian.com>

* exceptions-x86.c (mono_arch_handle_exception): Port this to
Windows; apply my patch from r159782 in the mono-2-6 branch.

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

13 years agoAdd missing Clone
Marek Safar [Mon, 5 Jul 2010 12:44:56 +0000 (12:44 -0000)]
Add missing Clone

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

13 years ago2010-07-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 5 Jul 2010 12:01:21 +0000 (12:01 -0000)]
2010-07-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AssemblyInfo.cs: Re-remove [StringFreezing], [DefaultDependency] and
[InternalsVisibleTo] from NET_2_1 builds.

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

13 years agoIn .:
Rolf Bjarne Kvinge [Mon, 5 Jul 2010 10:50:44 +0000 (10:50 -0000)]
In .:
2010-07-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* configure.in: Restore the AM_CONDITIONAL debugger supported, we need it to
include/exclude assembler files from the build in the makefile.

In mono/mini:
2010-07-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Makefile.am: Don't build the debug assembler files if we're building without
debugger support.

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

13 years ago2010-07-05 Dick Porter <dporter@codicesoftware.com>
Dick Porter [Mon, 5 Jul 2010 10:38:25 +0000 (10:38 -0000)]
2010-07-05  Dick Porter  <dporter@codicesoftware.com>

* MenuAPI.cs: Only handle mnemonic key shortcuts when the context
menu is visible.  Fixes bug 616739.

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

13 years agoMore tests.
Marek Safar [Mon, 5 Jul 2010 09:43:44 +0000 (09:43 -0000)]
More tests.

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

13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 09:31:51 +0000 (09:31 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs
  HttpContextInfo.cs
  HttpListenerManager.cs
  HttpStandaloneRequestContext.cs
  HttpListenerManagerTable.cs : revert previous changes, regression
  on wsdl support.

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

13 years ago2010-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 22:31:28 +0000 (22:31 -0000)]
2010-07-05  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (arch_emit_unbox_trampoline): Fix this after the callconv changes.

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

13 years ago2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 21:31:42 +0000 (21:31 -0000)]
2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Process.cs: ignore processes that finish while we are looking for
processes by name. Fixes bug #596779.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 21:04:42 +0000 (21:04 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* tramp-arm.c (mono_arch_create_generic_trampoline): Fix the max trampoline
length.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 20:38:50 +0000 (20:38 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.h (MonoContext): Get rid of the 'ebp' field, use
regs [ARMREG_FP] instead.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 20:07:56 +0000 (20:07 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (decode_lsda): Use read32 for reading 32 bit quantities.

* tramp-arm.c (mono_arch_create_generic_trampoline): Save the original sp to
lmf->iregs [ARMREG_IP] to be consistent with mono_arch_emit_prolog ().

* mini-arm.h (MonoLMF): Remove unused fregs field, add comments for other fields.

* exceptions-arm.c: Clean up the handling of LMFs. Add LLVM exception trampolines.

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

13 years ago2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 16:47:49 +0000 (16:47 -0000)]
2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* metadata/file-io.c: don't prepend anything to the names returned
from FindFirst/FindNext.
* io-layer/io.c: don't strip out directory paths in the pattern.

Second half of the fix for 580090.

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

13 years ago2010-05-27 William Holmes <billholmes54@gmail.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 16:41:33 +0000 (16:41 -0000)]
2010-05-27  William Holmes  <billholmes54@gmail.com>

* Directory.cs (ValidateDirectoryListing): Removing an unnecessary
Path.Combine call. Part of the fix for bug #580090.

Code is contributed under MIT/X11 license.

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

13 years ago2010-05-27 William Holmes <billholmes54@gmail.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 16:39:26 +0000 (16:39 -0000)]
2010-05-27  William Holmes  <billholmes54@gmail.com>

* DirectoryTest.cs: Adding test for bug 580090.

Code is contributed under MIT/X11 license.

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

13 years agoFix the build.
Zoltan Varga [Sun, 4 Jul 2010 00:50:48 +0000 (00:50 -0000)]
Fix the build.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 00:48:13 +0000 (00:48 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Always use V5 for passing IMT/RGCTX when running under LLVM.

* method-to-ir.c (emit_imt_argument): Fix LLVM support for architectures
without IMT_REG defined (ARM).

* exceptions-arm.c: Add LLVM throw exception trampolines, add xdebug info for
the trampolines.

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

13 years ago2010-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 3 Jul 2010 17:24:37 +0000 (17:24 -0000)]
2010-07-03  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (process_bb): Disable OP_MEMORY_BARRIER on arm.

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

13 years agoeol-style
Marek Safar [Sat, 3 Jul 2010 16:01:57 +0000 (16:01 -0000)]
eol-style

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

13 years agoNew test.
Marek Safar [Sat, 3 Jul 2010 15:42:27 +0000 (15:42 -0000)]
New test.

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

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

** Fixes #609935
* TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of
Size property to calculate the length of a nvarchar param.

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

13 years ago2010-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 3 Jul 2010 15:33:19 +0000 (15:33 -0000)]
2010-07-03  Marek Safar  <marek.safar@gmail.com>

* membercache.cs: Copy Membercache member state flags for 2 stage
inflate (Fixes #619555).

* ecore.cs: Use resolved accessors everywhere.

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

13 years agoFix the build
Geoff Norton [Sat, 3 Jul 2010 15:06:41 +0000 (15:06 -0000)]
Fix the build

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

13 years agoExport mono_object_to_string and mono_string_to_utf8_checked.
Michael Hutchinson [Fri, 2 Jul 2010 22:02:32 +0000 (22:02 -0000)]
Export mono_object_to_string and mono_string_to_utf8_checked.

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

13 years ago2010-07-02 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Fri, 2 Jul 2010 21:41:02 +0000 (21:41 -0000)]
2010-07-02  Michael Hutchinson  <mhutchinson@novell.com>

* object-internals.h, object.h: Make mono_string_to_utf_8_checked
public, as mono_string_to_utf_8 is deprecated.

* object.(c|h): Added mono_object_to_string, a public helper function
that calls ToString on a MonoObject and returns a MonoString.

* object.c (mono_print_unhandled_exception): Use mono_object_to_string.

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

13 years ago2010-07-02 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Fri, 2 Jul 2010 21:39:06 +0000 (21:39 -0000)]
2010-07-02  Michael Hutchinson  <mhutchinson@novell.com>

* Makefile.am: Add mono-error.h to public headers.
* mono-error.h: Use public version of API.

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

13 years ago This commit introduces a few 4.0 rendering changes which break some tests. The...
Marek Habersack [Fri, 2 Jul 2010 19:12:31 +0000 (19:12 -0000)]
This commit introduces a few 4.0 rendering changes which break some tests. The broken tests
    fail to work on .NET 4.0 as well, for the most part. I will fix them next week.

    2010-07-02  Marek Habersack  <mhabersack@novell.com>

     * TemplateControlParser.cs: added support for ClientIDMode
     property

     * Control.cs: implemented 4.0 features - ClientIDMode and
     RenderingCompatibility.

     * ClientIDMode.cs, IDataKeysControl.cs: added

    2010-07-02  Marek Habersack  <mhabersack@novell.com>

     * Menu.cs: 4.0 API updates.

     * GridView.cs: implemented 4.0 properties -
     SortedAscendingCellStyle, SortedAscendingHeaderStyle,
     SortedDescendingCellStyle, SortedDescendingHeaderStyle,
     ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
     along with associated rendering changes.

     * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
     renamed ShowPage to SetPageIndex and made it public.
     Added 4.0 interfaces to inheritance list and implemented them.

     * DataKeyArray.cs: added internal constructor which accepts IList
     instead of ArrayList. Changed the 'keys' field type to IList.

     * ContainedTable.cs: the 'id' attribute must be rendered last.

     * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
     TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.

     * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
     Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
     Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
     added new 4.0 property, SupportsDisabledAttribute.

    2010-07-02  Marek Habersack  <mhabersack@novell.com>

     * VersionConverter.cs: added support for checking whether the
     passed version is equal or more than a specified minimal version.

     * PagesSection.cs: added two 4.0 properties - ClientIDMode and
     ControlRenderingCompatibilityVersion

    2010-07-02  Marek Habersack  <mhabersack@novell.com>

     * TemplateControlCompiler.cs: added support for ClientIDMode 4.0
     property

     * PageCompiler.cs, UserControlCompiler.cs: AddStatementsToInitTop
     must call the base implementation.

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

13 years agoFix Windows build by adding mono-publib.c to MSVC project.
Michael Hutchinson [Fri, 2 Jul 2010 16:58:10 +0000 (16:58 -0000)]
Fix Windows build by adding mono-publib.c to MSVC project.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 16:28:03 +0000 (16:28 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* MessageProcessingContext.cs : update possibly-updated ReplyMessage
  to send, by message inspectors. Fix by Clovis Ribeiro, should fix
  bug #619534.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 16:10:21 +0000 (16:10 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs, HttpStandaloneRequestContext.cs:
  add more code that the asp.net stuff will become like.

* SvcHttpHandlerFactory.cs : remove unused code.
* SvcHttpHandler.cs : ditto. Add some code for what new asp.net
  support will look like.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 15:47:08 +0000 (15:47 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs, HttpListenerManager.cs,
  HttpStandaloneRequestContext.cs :
  refactoring, to add ASP.NET implementation. (not in use yet)

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

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

* mini.h: Applied patch from Elijah Taylor (elijahtaylor@google.com). Fix some
definitions to match their declarations and vice-versa.

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

13 years ago2010-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 Jul 2010 14:38:47 +0000 (14:38 -0000)]
2010-07-02  Zoltan Varga  <vargaz@gmail.com>

* src/glib.h: Define gboolean as int32_t to match mono_bool.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 11:29:23 +0000 (11:29 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpContextInfo.cs, HttpListenerManager.cs,
  HttpListenerManagerTable.cs : add implementation for ASP.NET, not
  in use yet.

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

13 years ago2010-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Jul 2010 11:18:25 +0000 (11:18 -0000)]
2010-07-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #360820
* membercache.cs, property.cs: Check accessors of base property and
not the closest one.

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

13 years ago2010-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 2 Jul 2010 10:55:16 +0000 (10:55 -0000)]
2010-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: The images drawn in the column header must be
vertically centered. Fixes #616432.
Patch by Thomas Goldstein (stifu@free.fr).

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

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

* modifiers.cs, membercache.cs, import.cs, class.cs: Moved imported
override method checks into import.

* expression.cs: Removed redundant check.

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

13 years agoAdd definitions to sgen-archdep so that sgen will build cleanly
Neale Ferguson [Fri, 2 Jul 2010 01:48:38 +0000 (01:48 -0000)]
Add definitions to sgen-archdep so that sgen will build cleanly
Eliminate a couple of warnings

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Jul 2010 22:55:20 +0000 (22:55 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
  XML attributes on s:Body are handled appropriately, not limited to
  wsu:Id. Added several required overrides to Message and
  MessageBuffer implementation classes.
* SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
  specific case but still fallback.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Jul 2010 22:51:33 +0000 (22:51 -0000)]
2010-07-02  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentBuilder2.cs : update in sync with sys.xml.

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

13 years agoNew test.
Marek Safar [Thu, 1 Jul 2010 14:44:31 +0000 (14:44 -0000)]
New test.

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

13 years ago2010-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Jul 2010 14:34:11 +0000 (14:34 -0000)]
2010-07-01  Zoltan Varga  <vargaz@gmail.com>

* filewatcher.h filewatcher.h decimal.c threads-types.h: Applied patch
from Elijah Taylor (elijahtaylor@google.com). Fix some definitions to
match their declarations and vice-versa.

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

13 years agoWed Jun 30 12:08:36 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 1 Jul 2010 12:33:40 +0000 (12:33 -0000)]
Wed Jun 30 12:08:36 CEST 2010 Paolo Molaro <lupus@ximian.com>

* class-internals.h, domain-internals.h: mark functions that are
needed by the llvm module.

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

13 years agoRemoved explicit casts
Marek Safar [Thu, 1 Jul 2010 08:04:05 +0000 (08:04 -0000)]
Removed explicit casts

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

13 years ago2010-07-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 1 Jul 2010 07:58:51 +0000 (07:58 -0000)]
2010-07-01  Marek Habersack  <mhabersack@novell.com>

* WebRequest.cs: DefaultCachePolicy and CachePolicy return a
NoCacheNoStore policy in all cases now. Workaround for bug #583934

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

13 years ago2010-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Jul 2010 00:16:35 +0000 (00:16 -0000)]
2010-07-01  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (common_sources): Add mini-llvm.h.

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

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

* unwind.c (mono_unwind_decode_fde): Fix the decoding of the lsda offset.

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

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

* assembly.c (framework_assemblies): Add 3.5 assemblies.

* domain-internals.h (MonoRuntimeInfo): Increase version_sets
by one to have room to remap 3.5 assemblies.

* domain.c (supported_runtimes): Add 3.5 remapping information.

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

13 years ago2010-06-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Jun 2010 17:36:59 +0000 (17:36 -0000)]
2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_create_token): Handle a
FieldBuilder from a different assembly.

Fixes #611836.

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

13 years ago2010-06-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Jun 2010 17:36:51 +0000 (17:36 -0000)]
2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

13 years agoDoc stub flush for the net_4_0 profile.
Jonathan Pryor [Wed, 30 Jun 2010 16:05:31 +0000 (16:05 -0000)]
Doc stub flush for the net_4_0 profile.

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

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

* mini.c (mini_cleanup): Avoid calling mono_runtime_shutdown () if cross
compiling.

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

13 years agoFixed.
Marek Safar [Wed, 30 Jun 2010 14:51:01 +0000 (14:51 -0000)]
Fixed.

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

13 years ago2010-06-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 30 Jun 2010 14:50:48 +0000 (14:50 -0000)]
2010-06-30  Marek Safar  <marek.safar@gmail.com>

* nullable.cs, expression.cs, statement.cs, method.cs, ecore.cs,
delegate.cs, cs-parser.jay, visit.cs: Use MemberAccess to resolve
base access expression, it has all bits done correctly.

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

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

* support.cs: Removed unused code.

* ecore.cs: Don't use memberlookup for operators.

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

13 years agoWed Jun 30 12:10:57 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Jun 2010 10:13:49 +0000 (10:13 -0000)]
Wed Jun 30 12:10:57 CEST 2010 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mini-llvm.h, mini-unwind.h, mini.c, mini.h, xdebug.c:
implemt the option of loading the llvm backend from a module so
that we can have a single binary and the bloat from llvm is
only experienced when it is actually loaded.

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

13 years agoWed Jun 30 12:06:33 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Jun 2010 10:07:29 +0000 (10:07 -0000)]
Wed Jun 30 12:06:33 CEST 2010 Paolo Molaro <lupus@ximian.com>

* mono-compiler.h: define MONO_LLVM_INTERNAL for internal functions
that may be needed by the llvm backend module.

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

13 years agotyping too much today
Marek Safar [Wed, 30 Jun 2010 10:06:04 +0000 (10:06 -0000)]
typing too much today

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