Robert Jordan [Sun, 22 Feb 2009 19:35:50 +0000 (19:35 -0000)]
2009-02-22 Robert Jordan <robertj@gmx.net>
* sockets.c: implement WSASend/WSARecv using sendmsg/recvmsg.
Fixes #470021.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=127664
Zoltan Varga [Sun, 22 Feb 2009 17:43:43 +0000 (17:43 -0000)]
2009-02-22 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_suspend_all_other_threads): Handle the case when
the a thread does not suspend within 100ms.
* monitor.c (mono_monitor_try_enter_internal): Handle SuspendRequested
in addition to StopRequested as well.
svn path=/trunk/mono/; revision=127661
Zoltan Varga [Sun, 22 Feb 2009 17:41:58 +0000 (17:41 -0000)]
2009-02-22 Zoltan Varga <vargaz@gmail.com>
* mono-debug.c: Call _mono_debug_get_image () while holding the debug lock.
* debug-mono-symfile.c (mono_debug_symfile_lookup_method): Actually
search the method_hash before inserting a new entry, to avoid crashes when
the same method is inserted multiple times, causing the old
MonoDebugMethodInfo structure to be freed by the value dtor function.
svn path=/trunk/mono/; revision=127660
Carlos Alberto Cortez [Sun, 22 Feb 2009 13:17:44 +0000 (13:17 -0000)]
2009-02-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: Some code lifting for AutoComplete's support. First,
when handling non-navigation keys, save the original Text typed by the
user, and don't motify it BEFORE. This was a design mistake, since the
re-assignation happens only when navigating the append/suggest list,
not while creating the matches. Also, process the Delete key just like
the backspace one. Finally, when handling WM_CHAR, ignore both Escape
and Enter keys.
Fixes some missing bits of #469967.
svn path=/trunk/mcs/; revision=127657
Gonzalo Paniagua Javier [Sun, 22 Feb 2009 06:42:46 +0000 (06:42 -0000)]
2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.c: support SO_MAXCONN, SO_USELOOPBACK and
SO_EXLUSIVEADDRUSE where available.
svn path=/trunk/mono/; revision=127650
Gonzalo Paniagua Javier [Sun, 22 Feb 2009 03:07:47 +0000 (03:07 -0000)]
fix
svn path=/trunk/mcs/; revision=127645
Zoltan Varga [Sun, 22 Feb 2009 00:55:34 +0000 (00:55 -0000)]
2009-02-22 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (fullaotcheck): Copy Mono.Simd.dll as well.
* image-writer.c: Make the binary writer less verbose.
svn path=/trunk/mono/; revision=127644
Ivan Zlatev [Sun, 22 Feb 2009 00:51:28 +0000 (00:51 -0000)]
2009-02-22 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix row removal in the data-bound scenario.
svn path=/trunk/mcs/; revision=127642
Gonzalo Paniagua Javier [Sat, 21 Feb 2009 23:30:00 +0000 (23:30 -0000)]
2009-02-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebResponse.cs: return a Null stream when there's no response to
be read.
* FtpWebRequest.cs: provide the error returned by the server in the
exception.
* WebClient.cs: set the correct method when doing a FTP upload.
Fixes bug #478451.
svn path=/trunk/mcs/; revision=127640
Zoltan Varga [Sat, 21 Feb 2009 21:31:56 +0000 (21:31 -0000)]
2009-02-21 Zoltan Varga <vargaz@gmail.com>
* invoke.cs: Add a test.
svn path=/trunk/mono/; revision=127639
Zoltan Varga [Sat, 21 Feb 2009 21:26:13 +0000 (21:26 -0000)]
2009-02-21 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Fix _another_ bug sharing
runtime invoke wrappers, this time it is string ctor wrappers, which
pass a dummy string as 'this' instead of their obj argument. Fixes
#478473.
svn path=/trunk/mono/; revision=127637
Zoltan Varga [Sat, 21 Feb 2009 21:22:25 +0000 (21:22 -0000)]
2009-02-21 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Don't assert if string ctors
are called from runtime invoke wrappers.
svn path=/trunk/mono/; revision=127635
Ankit Jain [Sat, 21 Feb 2009 20:59:40 +0000 (20:59 -0000)]
* BuildItem.cs: Iterate over XmlElements childnodes with XmlNode
instead of XmlElement. Eg. XmlComment
svn path=/trunk/mcs/; revision=127634
Jb Evain [Sat, 21 Feb 2009 17:10:44 +0000 (17:10 -0000)]
2009-02-21 Jb Evain <jbevain@novell.com>
* icall.c (ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
only get create_culture once.
svn path=/trunk/mono/; revision=127633
Jb Evain [Sat, 21 Feb 2009 16:17:01 +0000 (16:17 -0000)]
in System.Reflection:
2008-02-21 Jb Evain <jbevain@novell.com>
* Module.cs: add a new virtual GetModuleVersionId method,
and make the properties .MvId and ModuleVersionId call it.
This way, we can override it in ModuleBuilder.
Part of the fix for #471302.
in System.Reflection.Emit:
2008-02-21 Jb Evain <jbevain@novell.com>
* ModuleBuilder.cs: override GetModuleVersionId
so that we can get the module guid from Module.ModuleVersionId.
Part of the fix for #471302.
svn path=/trunk/mcs/; revision=127631
Jb Evain [Sat, 21 Feb 2009 16:16:33 +0000 (16:16 -0000)]
2009-02-21 Jb Evain <jbevain@novell.com>
* ModuleBuilderTest.cs: add a test accessing the property
Module.ModuleVersionId on a dynamic module.
Test for #471302.
svn path=/trunk/mcs/; revision=127630
Jb Evain [Sat, 21 Feb 2009 15:31:27 +0000 (15:31 -0000)]
2009-02-21 Jb Evain <jbevain@novell.com>
* MonoType.cs (InvokeMember): don't pass a null args to
Binder.BindToMethod. Fix for #471275.
svn path=/trunk/mcs/; revision=127628
Jb Evain [Sat, 21 Feb 2009 15:30:22 +0000 (15:30 -0000)]
2009-02-21 Jb Evain <jbevain@novell.com>
* BinderTests.cs: add test for bug #471257, where Type.InvokeMember
calls Binder.BindToMethod will a null args.
svn path=/trunk/mcs/; revision=127627
Ankit Jain [Sat, 21 Feb 2009 13:07:52 +0000 (13:07 -0000)]
Fix bug #458916.
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added CopyTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Fix bug #458916.
* Copy.cs: CopiedFiles and DestinationFiles should have target paths
instead of source. Also, the metadata should get retained from source
items. Based on a patch by Jeffrey Richardson <themann@indyfantasysports.net>
Refactor a bit to remove code duplication.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CopyTest.cs: New.
svn path=/trunk/mcs/; revision=127626
Marek Safar [Sat, 21 Feb 2009 10:19:13 +0000 (10:19 -0000)]
2009-02-21 Marek Safar <marek.safar@gmail.com>
* generic.cs, ecore.cs, class.cs: Removed redundant AsAccessible.
svn path=/trunk/mcs/; revision=127623
Ankit Jain [Sat, 21 Feb 2009 09:41:57 +0000 (09:41 -0000)]
* xbuild/xbuild.rsp: Add descriptive comments.
svn path=/trunk/mcs/; revision=127622
Ankit Jain [Sat, 21 Feb 2009 09:41:39 +0000 (09:41 -0000)]
* Parameters.cs (LoadResponseFile): Handle comments.
svn path=/trunk/mcs/; revision=127621
Kornél Pál [Sat, 21 Feb 2009 09:02:54 +0000 (09:02 -0000)]
EventHandlerList.cs: Fix profile 1.x build by not using HandlerEntry.
svn path=/trunk/mcs/; revision=127620
Ankit Jain [Sat, 21 Feb 2009 08:38:08 +0000 (08:38 -0000)]
* MSBuild.cs (SplitPropertiesToDictionary): Split into exactly 2 parts.
svn path=/trunk/mcs/; revision=127619
Gonzalo Paniagua Javier [Sat, 21 Feb 2009 07:34:55 +0000 (07:34 -0000)]
oops
svn path=/trunk/mcs/; revision=127617
Gonzalo Paniagua Javier [Sat, 21 Feb 2009 07:32:46 +0000 (07:32 -0000)]
2009-02-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* EventHandlerList.cs: there's no need for HandlerEntry here.
Just store the delegate.
svn path=/trunk/mcs/; revision=127615
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 23:34:12 +0000 (23:34 -0000)]
2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TemplateControl.cs: implement the other ReadStringResource method.
Patch from Kornel Pal.
svn path=/trunk/mcs/; revision=127596
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 22:56:52 +0000 (22:56 -0000)]
fix the 1.x build
svn path=/trunk/mcs/; revision=127588
Rodrigo Kumpera [Fri, 20 Feb 2009 22:50:45 +0000 (22:50 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* cpu-x86.md: Fix the sizes for long_conv_to_r_un and long_conv_to_r_un_2.
* mini-x86.c (mono_arch_output_basic_block): Use only 64bits of precision for
OP_LCONV_TO_R_UN.
Last fix for of #467201.
svn path=/trunk/mono/; revision=127585
Ankit Jain [Fri, 20 Feb 2009 21:40:37 +0000 (21:40 -0000)]
* Import.cs (GetFullPath): Use Utilities.FromMSBuildPath .
svn path=/trunk/mcs/; revision=127583
Zoltan Varga [Fri, 20 Feb 2009 21:39:28 +0000 (21:39 -0000)]
2009-02-20 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add minimal tests for user types + Ref.Emit.
svn path=/trunk/mcs/; revision=127582
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 21:30:58 +0000 (21:30 -0000)]
2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* System.Web/HttpWriter.cs: new Response property and WriteUTF8Ptr
method.
* System.Web/HttpResponseStream.cs: added support for writing from an
IntPtr. copied the memcpy method from String.cs.
* System.Web.Compilation/BuildManager.cs: updated comment.
* System.Web.UI/ResourceBasedLiteralControl.cs: new Control. It's just
like a LiteralControl but will render itself from the bytes pointed to
by an IntPtr and not create any string from the underlying data unless
needed.
* System.Web.UI/TemplateControl.cs: implemented a bunch of methods
that are used from the precompiled assemblies for a web project. The
most notable change needed is to be able to read a win32 resource from
the dll of the control. The resource is a concatenation of literals
with plain text for the control and a specialized LiteralControl is
generated from different chunks of the resource.
* System.Web.UI/HtmlTextWriter.cs: new method that returns the
HttpWriter in use.
* System.Web.dll.sources: added new file.
* System.Web.Util/ICalls.cs: new internal call to get a pointer to the
win32 resource associated with the control's assembly.
svn path=/trunk/mcs/; revision=127579
Zoltan Varga [Fri, 20 Feb 2009 21:22:58 +0000 (21:22 -0000)]
2009-02-20 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_setup_internal_class): Move the user type
check before the locking.
svn path=/trunk/mono/; revision=127578
Zoltan Varga [Fri, 20 Feb 2009 21:12:10 +0000 (21:12 -0000)]
2009-02-20 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_setup_internal_class): Check for user types.
(mono_reflection_create_runtime_class): Ditto.
(mono_reflection_sighelper_get_signature_local): Ditto.
(mono_reflection_sighelper_get_signature_field): Ditto.
* object-internals.h (CHECK_MONOTYPE): New macro to check that a Type object
is a System.MonoType object or similar.
(monotype_cast): New helper function to cast a MonoObject to a
MonoReflectionType object.
* object-internals.h: Change MonoReflectionType* members in structures to
MonoObject* members to force the usage of the monotype_cast () function.
* reflection.c icall.c: Use monotype_cast () for accessing Type members of
structures/arrays. This causes us to assert instead of crashing when
instances of user defined subclasses of System.Type are encountered.
svn path=/trunk/mono/; revision=127576
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 21:05:43 +0000 (21:05 -0000)]
2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* cil-coff.h:
* icall-def.h:
* icall.c: add new GetUnmanagedResourcePtr that returns a pointer to a
win32 resource loaded from a PE file.
* image.c: fix mono_image_lookup_resource.
svn path=/trunk/mono/; revision=127574
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:34:51 +0000 (20:34 -0000)]
ChangeLog
svn path=/trunk/mcs/; revision=127569
Zoltan Varga [Fri, 20 Feb 2009 20:28:26 +0000 (20:28 -0000)]
2009-02-20 Zoltan Varga <vargaz@gmail.com>
* cpu-ppc.md (store_memindex): Increase the size of this.
svn path=/trunk/mono/; revision=127566
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:24:37 +0000 (20:24 -0000)]
2009-02-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WaitHandle.cs: implemented SignalAndWait.
svn path=/trunk/mcs/; revision=127565
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:21:47 +0000 (20:21 -0000)]
ChangeLogs for previos commit.
svn path=/trunk/mono/; revision=127564
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 20:17:09 +0000 (20:17 -0000)]
Implement WaitHandle.SignalAndWait
Fixes bug #461123.
svn path=/trunk/mono/; revision=127563
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:51 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* cpu-x86.md: Fix the sizes for fcall(_reg,_membase), long_conv_to_r4_2
and long_conv_to_r8_2:
Fixed part of #467201.
svn path=/trunk/mono/; revision=127562
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:42 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* cpu-x86.md: Fix the sizes for fcall(_reg,_membase), long_conv_to_r4_2
and long_conv_to_r8_2:
svn path=/trunk/mono/; revision=127561
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:35 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* mini-x86.c (mono_arch_output_basic_block): Adjust precision of int to float
conversion to 32 bits.
* cpu-x86.md: Increase the size of int_conv_to_r4.
* basic-float.cs: Add a test for this.
Fixed part of #467201.
svn path=/trunk/mono/; revision=127560
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:28 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* mini-x86.c (emono_arch_output_basic_block): Adjust precision of long to double
conversion to 64 bits.
* basic-float.cs: Add a test for this.
Fixed part of #467201.
svn path=/trunk/mono/; revision=127559
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:18 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* mini-x86.c (emit_move_return_value): Don't reduce precision of functions returning float.
This behavior is compatible with MS.
* iltest.il.in: Add a test for this.
Fixed part of #467201.
svn path=/trunk/mono/; revision=127558
Rodrigo Kumpera [Fri, 20 Feb 2009 19:52:11 +0000 (19:52 -0000)]
2009-02-20 Rodrigo Kumpera <rkumpera@novell.com>
Extracted from a patch by Kornél Pál <kornelpal@gmail.com>.
* mini-x86.c (mono_arch_output_basic_block): Implement OP_FCONV_TO_R4, it must
change the precision of the value.
* cpu-x86.md: Define len for float_conv_to_r4.
* basic-float.cs: Add a test for this.
Fixed part of #467201.
svn path=/trunk/mono/; revision=127557
Ankit Jain [Fri, 20 Feb 2009 19:36:43 +0000 (19:36 -0000)]
* Utilities.cs (FromMSBuildPath): Copy from monodevelop.
* Project.cs (Load): Use FromMSBuildPath on the path.
(InitializeProperties): Set "MSBuildToolsPath" also.
svn path=/trunk/mcs/; revision=127553
Ankit Jain [Fri, 20 Feb 2009 18:46:15 +0000 (18:46 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* ConditionTokenizer.cs: Handle unquoted item references (with or w/o
transforms) in conditions.
* ConditionParser.cs: Parse unquoted item, property references.
eg. Condition = " @(Foo->'%(Extension)') == '.exe' "
* Token.cs (Token.ToString): Override.
(TokenType.Transform): Uncomment.
In class/Microsoft.Build.Engine/Test/various:
* Conditions.cs (TestCondition11): New. Test unquoted item/property
references in conditions.
svn path=/trunk/mcs/; revision=127549
Gonzalo Paniagua Javier [Fri, 20 Feb 2009 16:48:29 +0000 (16:48 -0000)]
remove warning. Either image or mp are not NULL
svn path=/trunk/mono/; revision=127545
Veerapuram Varadhan [Fri, 20 Feb 2009 15:48:25 +0000 (15:48 -0000)]
Added test for 419224.
svn path=/trunk/mcs/; revision=127544
Marek Safar [Fri, 20 Feb 2009 15:45:20 +0000 (15:45 -0000)]
Fixed broken test.
svn path=/trunk/mcs/; revision=127542
Miguel de Icaza [Fri, 20 Feb 2009 15:30:15 +0000 (15:30 -0000)]
Add debugging back
svn path=/trunk/mcs/; revision=127540
Jonathan Pryor [Fri, 20 Feb 2009 15:15:43 +0000 (15:15 -0000)]
* Mono.Unix/UnixSignal.cs: Add a pipecnt member to
UnixSignal.SignalIinfo. Patch thanks to tim.jenks@realtimeworlds.com.
* Test/Mono.Unix/UnixSignalTest.cs: Add tests to check for concurrent
UnixSignal.WaitOne() invocations. Tests thanks to
tim.jenks@realtimeworlds.com.
svn path=/trunk/mcs/; revision=127539
Jonathan Pryor [Fri, 20 Feb 2009 15:15:05 +0000 (15:15 -0000)]
* map.h: Flush (adds Mono_Unix_UnixSignal_SignalInfo::pipecnt, removes
functions no longer declared within Mono.Posix.dll).
* signal.c: Allow Mono_Unix_UnixSignal_WaitAny() to be called
concurrently from multiple threads w/o blocking each thread;
previously, calls to Mono_Unix_UnixSignal_WaitAny() would block
until the previous call completed. This required restructuring
Mono_Unix_UnixSignal_SignalInfo to hold a ref-counted
read_fd/write_fd pair (instead of allocating & releasing within
_WaitAny()) so that the pipes could be "shared" between threads.
Patch thanks to tim.jenks@realtimeworlds.com.
svn path=/trunk/mono/; revision=127538
Atsushi Eno [Fri, 20 Feb 2009 11:48:21 +0000 (11:48 -0000)]
2009-02-20 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactory_1.cs : it's not going to create ClientRuntime
anymore here. Moving to ServiceEndpoint.cs as the first stage.
* ClientBase.cs : some comment.
* ServiceEndpoint.cs : moved CreateRuntime() from ChannelFactory<T>.
svn path=/trunk/mcs/; revision=127531
Veerapuram Varadhan [Fri, 20 Feb 2009 11:40:42 +0000 (11:40 -0000)]
* OdbcDataReader.cs (GetValue): Handle null image data. Fixes
##419224. Patch by John Mortlock <johnm@hlaustralia.com.au>.
svn path=/trunk/mcs/; revision=127530
Marek Safar [Fri, 20 Feb 2009 11:16:55 +0000 (11:16 -0000)]
New test.
svn path=/trunk/mcs/; revision=127529
Marek Safar [Fri, 20 Feb 2009 11:16:35 +0000 (11:16 -0000)]
2009-02-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #477447
* statement.cs: Add reference to correct parent storey when this
is accessible from deep children storey (more than 1 level).
svn path=/trunk/mcs/; revision=127527
Ankit Jain [Fri, 20 Feb 2009 10:55:44 +0000 (10:55 -0000)]
Fix bug #475438.
* ToolTask.cs (RealExecute): Check whether the target executable exists.
Log any execution errors.
svn path=/trunk/mcs/; revision=127526
Ankit Jain [Fri, 20 Feb 2009 10:17:21 +0000 (10:17 -0000)]
* SolutionParser.cs (ParseSolution): Ignore solution folders.
svn path=/trunk/mcs/; revision=127524
Ankit Jain [Fri, 20 Feb 2009 09:44:01 +0000 (09:44 -0000)]
* SolutionParser.cs (ParseSolution): Ignore GlobalSection named
'NestedProjects'.
svn path=/trunk/mcs/; revision=127520
Ankit Jain [Fri, 20 Feb 2009 09:43:53 +0000 (09:43 -0000)]
* SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
project guids as Warnings and not errors. Report every missing guid only
once.
svn path=/trunk/mcs/; revision=127519
Ankit Jain [Fri, 20 Feb 2009 09:43:42 +0000 (09:43 -0000)]
* SolutionParser.cs (projectRegex): Use '\s' to match whitespace.
svn path=/trunk/mcs/; revision=127518
Jonathan Chambers [Fri, 20 Feb 2009 02:36:28 +0000 (02:36 -0000)]
2009-02-19 Jonathan Chambers <joncham@gmail.com>
* Microsoft.Build.Engine.csproj: Add.
* Microsoft.Build.Engine.Test.csproj: Update.
2009-02-19 Jonathan Chambers <joncham@gmail.com>
* xbuild.csproj: Add.
* xbuild.sln: Add.
svn path=/trunk/mcs/; revision=127495
Veerapuram Varadhan [Fri, 20 Feb 2009 02:32:16 +0000 (02:32 -0000)]
* TdsDataReader.cs: Access TdsDataColumn correctly for NET_2_0.
Fixes #466199. Patch by Tom Hindle <tom_hindle@sil.org>
svn path=/trunk/mcs/; revision=127494
Bill Holmes [Thu, 19 Feb 2009 22:48:30 +0000 (22:48 -0000)]
2009-02-19 Bill Holmes <billholmes54@gmail.com>
* cominterop.c : Adding cominterop_type_from_handle and
registering it as an icall. Replacing all references
to type_from_handle.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=127481
Rodrigo Kumpera [Thu, 19 Feb 2009 22:12:14 +0000 (22:12 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* LockTracerDecoder.cs: Initial version of the lock tracers decoder.
svn path=/trunk/mono/; revision=127477
Rodrigo Kumpera [Thu, 19 Feb 2009 22:12:03 +0000 (22:12 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile.am: Add lock-tracer.h and lock-trace.c.
* appdomain.c: Call the tracer init function.
* domain-internals.h: Enable the tracer for the domain locks.
* image.c: Enable the tracer for image locks.
* loader.c: Enable the trace for the loader lock.
* lock-tracer.h:
* lock-tracer.c: Initial implementation of the lock trace utility.
The tracer requires a compile time define to be enabled and a env var
to be enabled at runtime.
svn path=/trunk/mono/; revision=127476
Rodrigo Kumpera [Thu, 19 Feb 2009 22:11:54 +0000 (22:11 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* domain.c (mono_domain_code_foreach): Improve documentation.
svn path=/trunk/mono/; revision=127475
Marek Habersack [Thu, 19 Feb 2009 21:16:49 +0000 (21:16 -0000)]
2009-02-19 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: added support for the
__MONO_DOMAIN_ID_SUFFIX environment variable, used by mod_mono.
svn path=/trunk/mcs/; revision=127465
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 20:35:20 +0000 (20:35 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/gstr.c: use memset in g_strnfill.
svn path=/trunk/mono/; revision=127457
Jb Evain [Thu, 19 Feb 2009 20:17:53 +0000 (20:17 -0000)]
2009-02-19 Jb Evain <jbevain@novell.com>
* Mono.Tuner/InjectSecurityAttributes.cs: also remove existing
CAS security declarations before injecting CoreCLR security attributes.
svn path=/trunk/mcs/; revision=127453
Ivan Zlatev [Thu, 19 Feb 2009 20:14:15 +0000 (20:14 -0000)]
2009-02-19 Ivan N. Zlatev <contact@i-nz.net>
* DataGridViewCell.cs: Use strict equality comparison in order to
prevent superfluous CellValueChanged events.
svn path=/trunk/mcs/; revision=127450
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 20:13:58 +0000 (20:13 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: avoid errors when creating a temporary Uri to get
the local path.
* WebClient.cs: when setting up the request for downloading, use the
default method. Fixes bug #477611.
svn path=/trunk/mcs/; revision=127449
Rodrigo Kumpera [Thu, 19 Feb 2009 19:18:56 +0000 (19:18 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* SecurityManager.cs: Make core-clr work under non 2.1 profiles.
svn path=/trunk/mcs/; revision=127442
Sebastien Pouliot [Thu, 19 Feb 2009 18:53:32 +0000 (18:53 -0000)]
2008-02-19 Sebastien Pouliot <sebastien@ximian.com>
* detect-sc.cs, detect-ssc.cs: Accept multiple input directories
to find the platform assemblies (and deal with the current /mcs
and /moon locations).
* Makefile.am: Detect platform assemblies in {x}/mcs and {x}/moon
svn path=/trunk/mcs/; revision=127439
Sebastien Pouliot [Thu, 19 Feb 2009 18:52:46 +0000 (18:52 -0000)]
2009-02-19 Sebastien Pouliot <sebastien@ximian.com>
* System.Windows[.Browser].auto.[sc|scc]: New data files
* mscorlib.auto.ssc, System.Net.auto.ssc: Updated since adding
the first auto.sc generation cause new auto.ssc to be found.
svn path=/trunk/mcs/; revision=127438
Ivan Zlatev [Thu, 19 Feb 2009 18:23:01 +0000 (18:23 -0000)]
2009-02-19 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Do not reset the columns when the data list changes,
but only the rows. Fixes multiple bugs related to sorting, custom
column styles being reset and more.
svn path=/trunk/mcs/; revision=127434
Bill Holmes [Thu, 19 Feb 2009 18:13:05 +0000 (18:13 -0000)]
2009-01-19 Bill Holmes <billholmes54@gmail.com>
* src/gstr.c (g_strnfill): Fixing a warning for MSVC.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=127431
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:54 +0000 (18:07 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c: Adjust locking order to the new semantics where the loader lock
comes first.
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c:
* generic-sharing.c:
* object.c:
* reflection.c: Adjust locking order to the new semantics where the loader lock
comes first.
svn path=/trunk/mono/; revision=127430
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:39 +0000 (18:07 -0000)]
2009-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* aot-runtime.c:
* mini-amd64.c:
* mini-arm.c:
* mini-ia64.c:
* mini-mips.c:
* mini-ppc.c:
* mini-sparc.c:
* mini-trampolines.c:
* mini-x86.c:
* mini.c:
* tramp-alpha.c:
* tramp-amd64.c:
* tramp-arm.c:
* tramp-hppa.c:
* tramp-ia64.c:
* tramp-mips.c:
* tramp-ppc.c:
* tramp-s390.c:
* tramp-s390x.c:
* tramp-sparc.c:
* tramp-x86.c: Use mono_domain_code_* functions instead of using MonoDomain::code_mp directly.
svn path=/trunk/mono/; revision=127429
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:29 +0000 (18:07 -0000)]
2009-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* domain.c: Add mono_domain_code_* functions that perform locking
around the domain codeman.
* domain-internals.h: Export those functions.
* object.c: Use new functions instead of acquiring the domain lock.
svn path=/trunk/mono/; revision=127428
Jonathan Pobst [Thu, 19 Feb 2009 17:13:45 +0000 (17:13 -0000)]
2009-02-19 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Respect a PictureBox's Padding when
drawing the image.
svn path=/trunk/mcs/; revision=127426
Sebastien Pouliot [Thu, 19 Feb 2009 16:15:44 +0000 (16:15 -0000)]
2009-02-19 Sebastien Pouliot <sebastien@ximian.com>
* *.auto.sc: Data files for [SecurityCritical]
* *.auto.ssc: Data files for [SecuritySafeCritical]
svn path=/trunk/mcs/; revision=127417
Jonathan Pryor [Thu, 19 Feb 2009 15:49:07 +0000 (15:49 -0000)]
* Test/Mono.Unix/UnixSignalTest.cs: Disable the tests that use
RealTimeSignum on OS X, as OS X doesn't support real-time signals
(and thus these will always error, often for the "wrong" reason).
* Test/Mono.Unix.Native/RealTimeSignumTest.cs: Disable the tests on
Mac OS X, as OS X doesn't support real-time signals.
svn path=/trunk/mcs/; revision=127415
Atsushi Eno [Thu, 19 Feb 2009 15:03:40 +0000 (15:03 -0000)]
2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
* CodeTryBlock.cs : new statement support.
* System.ServiceModel.dll.sources,
net_2_1_raw_System.ServiceModel.dll.sources :
added CodeTryBlock.cs.
svn path=/trunk/mcs/; revision=127414
Atsushi Eno [Thu, 19 Feb 2009 15:01:00 +0000 (15:01 -0000)]
2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
* CodeCast.cs : fix PrintCode() for no-conversion case.
svn path=/trunk/mcs/; revision=127413
Sebastien Pouliot [Thu, 19 Feb 2009 14:56:48 +0000 (14:56 -0000)]
update for build 2.0.40115.0
svn path=/trunk/mcs/; revision=127412
Marek Safar [Thu, 19 Feb 2009 12:59:41 +0000 (12:59 -0000)]
2009-02-19 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: More verbosity needed for runtime crashes.
svn path=/trunk/mcs/; revision=127407
Marek Safar [Thu, 19 Feb 2009 12:25:44 +0000 (12:25 -0000)]
Updated with latest changes
svn path=/trunk/mcs/; revision=127404
Marek Safar [Thu, 19 Feb 2009 10:42:27 +0000 (10:42 -0000)]
New tests.
svn path=/trunk/mcs/; revision=127391
Marek Safar [Thu, 19 Feb 2009 10:41:56 +0000 (10:41 -0000)]
2009-02-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #475860 by David Mitchell <dmitchell@logos.com>
* class.cs: Define base type members before setting up member cache.
svn path=/trunk/mcs/; revision=127390
Raja R Harinath [Thu, 19 Feb 2009 10:34:45 +0000 (10:34 -0000)]
update known issues
svn path=/trunk/mcs/; revision=127389
Veerapuram Varadhan [Thu, 19 Feb 2009 08:10:32 +0000 (08:10 -0000)]
* Tds.cs: Tds 8 collation support
Tds80.cs: - ditto -
TdsComm.cs: - ditto -
TdsDataColumn.cs: - ditto -
TdsCollation.cs: New file. Based on patch from Dmitry S.
Kataev <dmitryskey@hotmail.com>
svn path=/trunk/mcs/; revision=127380
Veerapuram Varadhan [Thu, 19 Feb 2009 07:48:41 +0000 (07:48 -0000)]
* OracleParameter.cs (bind): Consider OciDataType.Float and
* .Integer as OciDataType.Number. Patch provided by Russell
<russell.kay@realtimeworlds.com>
svn path=/trunk/mcs/; revision=127379
Geoff Norton [Thu, 19 Feb 2009 07:09:22 +0000 (07:09 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* Fix the build, these all need to loose this #if guard.
svn path=/trunk/mcs/; revision=127378
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 06:47:31 +0000 (06:47 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* OleDbFactory.cs: New file.
svn path=/trunk/mcs/; revision=127374
Geoff Norton [Thu, 19 Feb 2009 05:46:09 +0000 (05:46 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* net_2_1_raw_System.Xml.dll.sources: Add a bunch of missing attributes
svn path=/trunk/mcs/; revision=127369
Geoff Norton [Thu, 19 Feb 2009 05:46:05 +0000 (05:46 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* SerializationSource.cs: KeyHelper is needed by
the 2.1 profile now.
svn path=/trunk/mcs/; revision=127368
Geoff Norton [Thu, 19 Feb 2009 05:15:28 +0000 (05:15 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* *.cs: The tuner takes care of the visibility of this for us, and it
is in fact needed. (Readd ReadAttributeValue to 2.1)
svn path=/trunk/mcs/; revision=127366