Miguel de Icaza [Fri, 9 Jul 2010 15:27:05 +0000 (15:27 -0000)]
Clarify
svn path=/trunk/mono/; revision=160140
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
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
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
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
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
Marek Safar [Fri, 9 Jul 2010 13:39:36 +0000 (13:39 -0000)]
New test.
svn path=/trunk/mcs/; revision=160129
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Neale Ferguson [Thu, 8 Jul 2010 21:38:52 +0000 (21:38 -0000)]
Enable sgen support for s390x
svn path=/trunk/mono/; revision=160087
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
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
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
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
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
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
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
Marek Habersack [Thu, 8 Jul 2010 13:10:45 +0000 (13:10 -0000)]
More 4.0 test fixes
svn path=/trunk/mcs/; revision=160057
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
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
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
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
Marek Habersack [Thu, 8 Jul 2010 13:09:56 +0000 (13:09 -0000)]
Another 4.0 test update
svn path=/trunk/mcs/; revision=160052
Marek Habersack [Thu, 8 Jul 2010 13:09:46 +0000 (13:09 -0000)]
4.0 test update
svn path=/trunk/mcs/; revision=160051
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
Marek Safar [Thu, 8 Jul 2010 12:07:48 +0000 (12:07 -0000)]
Removed unused overload
svn path=/trunk/mcs/; revision=160045
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
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
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
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
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
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
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
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
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
Atsushi Eno [Thu, 8 Jul 2010 08:17:17 +0000 (08:17 -0000)]
couple of warning cleanups.
svn path=/trunk/mcs/; revision=160034
Geoff Norton [Thu, 8 Jul 2010 02:45:41 +0000 (02:45 -0000)]
fix the build
svn path=/trunk/mono/; revision=160032
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
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
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
Marek Safar [Wed, 7 Jul 2010 16:56:49 +0000 (16:56 -0000)]
New test.
svn path=/trunk/mcs/; revision=160015
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
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
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
Carlos Alberto Cortez [Wed, 7 Jul 2010 13:20:13 +0000 (13:20 -0000)]
2010-07-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4.0 updates.
* ResourceManager.cs: Mark ResourceSets as obsolete.
* ResourceReader.cs: New public Dispose method.
svn path=/trunk/mcs/; revision=160005
Jérémie Laval [Wed, 7 Jul 2010 13:14:27 +0000 (13:14 -0000)]
2010-07-07 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Threading.Tasks/:
* Parallel.cs: Fix Parallel.Invoke to use all data supplied in
ParallelOptions
* ParallelOptions.cs: Use CancellationToken.None for initialization
svn path=/trunk/mcs/; revision=160004
Marek Habersack [Wed, 7 Jul 2010 13:04:50 +0000 (13:04 -0000)]
2010-07-07 Marek Habersack <mhabersack@novell.com>
* TreeView.cs:
When using registered CSS classes, the node style must use them in
reverse order.
More 4.0 test updates (disabled some Menu tests until its rendering is updated)
svn path=/trunk/mcs/; revision=160003
Marek Safar [Wed, 7 Jul 2010 11:44:56 +0000 (11:44 -0000)]
New tests.
svn path=/trunk/mcs/; revision=160000
Marek Safar [Wed, 7 Jul 2010 11:44:41 +0000 (11:44 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159999
Marek Safar [Wed, 7 Jul 2010 11:43:53 +0000 (11:43 -0000)]
2010-07-07 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, convert.cs, expression.cs: Another reference
equality implementation attack (Fixes #620025, #579058).
svn path=/trunk/mcs/; revision=159998
Marek Habersack [Wed, 7 Jul 2010 11:29:34 +0000 (11:29 -0000)]
This code must be enabled for 2.0 as well
svn path=/trunk/mcs/; revision=159997
Marek Habersack [Wed, 7 Jul 2010 11:29:23 +0000 (11:29 -0000)]
2010-07-07 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: 4.0 rendering changes.
Another batch of 4.0 test updates
svn path=/trunk/mcs/; revision=159996
Marek Habersack [Wed, 7 Jul 2010 11:29:09 +0000 (11:29 -0000)]
2010-07-06 Marek Habersack <mhabersack@novell.com>
* HyperLink.cs: the associated image is not rendered using the
Image control.
4.0 updates for several tests (HTML rendering changes)
svn path=/trunk/mcs/; revision=159995
Carlos Alberto Cortez [Wed, 7 Jul 2010 11:12:34 +0000 (11:12 -0000)]
2010-07-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ResourceWriterTest.cs: In our new AddResource_Stream_Default test
store the resource file under Test/resources/, instead of the base
dir, so we avoid filling the dir with not needed files.
svn path=/trunk/mcs/; revision=159992
Veerapuram Varadhan [Wed, 7 Jul 2010 07:07:30 +0000 (07:07 -0000)]
Ugh.. ugh.. final fix for handling MinValue for DateTime.
svn path=/trunk/mcs/; revision=159988
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
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
Zoltan Varga [Tue, 6 Jul 2010 21:51:38 +0000 (21:51 -0000)]
Remove some obsolete FIXMEs.
svn path=/trunk/mono/; revision=159983
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
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
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
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
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
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
Miguel de Icaza [Tue, 6 Jul 2010 14:41:25 +0000 (14:41 -0000)]
Update
svn path=/trunk/mono/; revision=159960
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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