Ankit Jain [Tue, 24 Feb 2009 19:55:12 +0000 (19:55 -0000)]
* xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.
svn path=/trunk/mcs/; revision=127889
Ankit Jain [Tue, 24 Feb 2009 19:52:21 +0000 (19:52 -0000)]
* MSBuild.cs (Execute): Reset current directory back after every
project's execution.
svn path=/trunk/mcs/; revision=127888
Ankit Jain [Tue, 24 Feb 2009 19:48:11 +0000 (19:48 -0000)]
* SolutionParser.cs (ParseSolution): Report warning instead of error
for unknown global sections.
svn path=/trunk/mcs/; revision=127887
Ankit Jain [Tue, 24 Feb 2009 19:41:52 +0000 (19:41 -0000)]
In class/Microsoft.Build.Utilities:
* Microsoft.Build.Utilities.dll.sources: Add ProcessService.cs,
ProcessWrapper.cs, IAsyncOperation.cs and IProcessAsyncOperation.cs
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* ProcessService.cs, IAsyncOperation.cs, IProcessAsyncOperation.cs,
ProcessWrapper.cs: Brought in from monodevelop.
* ToolTask.cs: Use the new ProcessService to execute the tool. Honor
SkipTaskExecution (). Use response files, but log the contents of the
response file instead of "@foo.rsp". Support environmentOverrides.
(LogEventsFromTextOutput): Add null check.
* Exec.cs (GetWorkingDirectory): Use the workingDirectory property.
svn path=/trunk/mcs/; revision=127886
Alan McGovern [Tue, 24 Feb 2009 18:20:22 +0000 (18:20 -0000)]
2009-02-24 Alan McGovern <amcgovern@novell.com>
* System.Net/WebClient_2_1.cs: If we're getting text, ensure we
strip out the byte order mark if it exists.
svn path=/trunk/mcs/; revision=127880
Marek Habersack [Tue, 24 Feb 2009 18:12:35 +0000 (18:12 -0000)]
2009-02-24 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: Path.Combine must not be passed null first
parameter.
svn path=/trunk/mcs/; revision=127878
Marek Habersack [Tue, 24 Feb 2009 18:10:38 +0000 (18:10 -0000)]
2009-02-24 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: made the HttpException (int httpCode, string
message, Exception innerException, string resourceName) internal.
svn path=/trunk/mcs/; revision=127877
Marek Habersack [Tue, 24 Feb 2009 17:54:52 +0000 (17:54 -0000)]
2009-02-24 Marek Habersack <mhabersack@novell.com>
* ResXFileRef.cs: the class must be internal when compiled as part
of System.Web
svn path=/trunk/mcs/; revision=127875
Jb Evain [Tue, 24 Feb 2009 17:13:09 +0000 (17:13 -0000)]
we're passing the enum comparison tests
svn path=/trunk/mcs/; revision=127873
Jb Evain [Tue, 24 Feb 2009 17:09:23 +0000 (17:09 -0000)]
2009-02-24 Jb Evain <jbevain@novell.com>
* Expression.cs (BinaryCoreCheck): fix comparison of enums
svn path=/trunk/mcs/; revision=127871
Jb Evain [Tue, 24 Feb 2009 17:01:11 +0000 (17:01 -0000)]
new enums tests
svn path=/trunk/mcs/; revision=127869
Marek Safar [Tue, 24 Feb 2009 16:58:37 +0000 (16:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=127868
Marek Safar [Tue, 24 Feb 2009 16:57:53 +0000 (16:57 -0000)]
2009-02-24 Marek Safar <marek.safar@gmail.com>
A fix for bug #476295
* convert.cs: Avoid wrapping implicitly convertible reference type.
svn path=/trunk/mcs/; revision=127867
Sebastien Pouliot [Tue, 24 Feb 2009 13:19:52 +0000 (13:19 -0000)]
2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
* SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
new unit tests in moonlight).
svn path=/trunk/mcs/; revision=127861
Veerapuram Varadhan [Tue, 24 Feb 2009 09:27:32 +0000 (09:27 -0000)]
* *Fixes #377146 - in a better way
* XmlDataReader.cs (ReadElementElement): For reference types
that implements IXmlSerializable, call the corresponding ReadXml.
* DataSet.cs (WriteColumnAsElement): For reference types that
implements IXmlSerializable, call the corresponding WriteXml.
svn path=/trunk/mcs/; revision=127849
Atsushi Eno [Tue, 24 Feb 2009 07:33:41 +0000 (07:33 -0000)]
Ignore all failing-under-dotnet tests.
svn path=/trunk/mcs/; revision=127845
Veerapuram Varadhan [Tue, 24 Feb 2009 05:18:07 +0000 (05:18 -0000)]
* OracleException: 2.0 changes - patch submitted by
Jay Wren <jrwren@xmtp.net>
svn path=/trunk/mcs/; revision=127839
Veerapuram Varadhan [Tue, 24 Feb 2009 04:58:27 +0000 (04:58 -0000)]
* Fixes #476523
* DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
Patch by Jay Wren <jrwren@xmtp.net>
svn path=/trunk/mcs/; revision=127836
Ankit Jain [Tue, 24 Feb 2009 00:12:25 +0000 (00:12 -0000)]
Lazily load UsingTask tasks.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Lazily load UsingTask tasks.
* UsingTask.cs (Evaluate): Register 'this' with task database,
but don't load it yet. Register only if condition evaluates to true.
Move the load logic to ..
(Load): .. here. Register with the specified task database.
* TaskDatabase.cs (RegisterUsingTask): Store the UsingTask instance
in a table keyed by task name, but don't load it yet.
(GetTypeFromClassName): Try to load UsingTask if task is not already
loaded. Move loading logic to ..
(GetTypeFromClassNameInternal): .. here.
(CopyTasks): Copy the usingTasks table also.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* UsingTaskTest.cs (TestLazyLoad{1,2,3}): New.
(TestAssemblyNameOrAssemblyFileConditionFalse): New.
(TestDuplicate1): New.
* TargetTest (CheckLoggedMessageHead): Moved to TestMessageLogger,
use that.
In class/Microsoft.Build.Engine/Test/resources:
* TestTasks.cs (Another.SameTask): New.
(Other.SameTask): New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* TestMessageLogger.cs (CheckLoggedMessageHead): Move here from
* TaskBatchingTest.cs: .. here. Track api change.
svn path=/trunk/mcs/; revision=127830
Marek Safar [Mon, 23 Feb 2009 22:56:04 +0000 (22:56 -0000)]
2009-02-23 Marek Safar <marek.safar@gmail.com>
* iterators.cs: Create global MemberName correctly.
svn path=/trunk/mcs/; revision=127822
Marek Safar [Mon, 23 Feb 2009 22:34:17 +0000 (22:34 -0000)]
2009-02-23 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs (IterateNullable): Compare unwrapped values.
svn path=/trunk/mcs/; revision=127820
Carlos Alberto Cortez [Mon, 23 Feb 2009 22:29:50 +0000 (22:29 -0000)]
2009-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextBox.cs: In OnKeyPress the IsOverwriteMode check is
actually inversed, so put it the right way. Also, don't automatically
look for the next editable item after adding a new one, but way for
the next insertion (this is what .net does) - this is not needed when
MaskedTextProvider.InsertAt is called however, since it already looks for the
next editable position.
Fixes the remaining bits of #477383.
svn path=/trunk/mcs/; revision=127819
Zoltan Varga [Mon, 23 Feb 2009 21:26:49 +0000 (21:26 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* os_dep.c (GC_init_linux_data_start): Avoid the call to GC_find_limit ()
if GC_no_dls is TRUE, as it is not needed and it complicates debugging since
it causes a SIGSEGV.
svn path=/trunk/mono/; revision=127807
Zoltan Varga [Mon, 23 Feb 2009 21:19:23 +0000 (21:19 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Replace the
nop code by patching the call address to point to the nullified class init
trampoline, as the former does not seem to be safe on SMP machines.
svn path=/trunk/mono/; revision=127806
Carlos Alberto Cortez [Mon, 23 Feb 2009 20:19:01 +0000 (20:19 -0000)]
2009-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextBox.cs: In OnKeyPress handle backspace by calling
MaskedTextProvider.RemoveAt method. Also for setting the SelectionStart
property after the text was modified, adjust the testPosition value
depending on what method was called.
Fixes part of #477383.
svn path=/trunk/mcs/; revision=127798
Jb Evain [Mon, 23 Feb 2009 19:18:29 +0000 (19:18 -0000)]
2009-02-23 Jb Evain <jbevain@novell.com>
* XAttributeTest.cs: add test for XAttribute holding DateTimes.
svn path=/trunk/mcs/; revision=127785
Jb Evain [Mon, 23 Feb 2009 19:17:31 +0000 (19:17 -0000)]
2009-02-23 Jb Evain <jbevain@novell.com>
* XUtil.cs (ToString): properly stringify datetimes.
svn path=/trunk/mcs/; revision=127784
Mark Probst [Mon, 23 Feb 2009 18:51:11 +0000 (18:51 -0000)]
2009-02-23 Mark Probst <mark.probst@gmail.com>
* mini-ops.h: Fix the argument types for a few x86 opcodes where
they were wrong.
svn path=/trunk/mono/; revision=127781
Jb Evain [Mon, 23 Feb 2009 18:13:22 +0000 (18:13 -0000)]
we pass those
svn path=/trunk/mcs/; revision=127773
Jb Evain [Mon, 23 Feb 2009 18:12:55 +0000 (18:12 -0000)]
2009-02-23 Jb Evain <jbevain@novell.com>
* Enumerable.cs (IterateNullable): fix initial value
for nullables.
svn path=/trunk/mcs/; revision=127772
Marek Safar [Mon, 23 Feb 2009 17:51:58 +0000 (17:51 -0000)]
2009-02-23 Marek Safar <marek.safar@gmail.com>
* iterators.cs: Create MemberName correctly.
svn path=/trunk/mcs/; revision=127771
Jb Evain [Mon, 23 Feb 2009 17:20:53 +0000 (17:20 -0000)]
more tests
svn path=/trunk/mcs/; revision=127758
Jb Evain [Mon, 23 Feb 2009 17:16:54 +0000 (17:16 -0000)]
new tests
svn path=/trunk/mcs/; revision=127757
Jb Evain [Mon, 23 Feb 2009 17:03:44 +0000 (17:03 -0000)]
we pass those
svn path=/trunk/mcs/; revision=127755
Jb Evain [Mon, 23 Feb 2009 17:03:21 +0000 (17:03 -0000)]
2009-02-23 Jb Evain <jbevain@novell.com>
* Expression.cs (IsNumber): actually decimal is rather a special
case, and not a primitive number.
svn path=/trunk/mcs/; revision=127754
Jb Evain [Mon, 23 Feb 2009 16:54:10 +0000 (16:54 -0000)]
tests for unary operations on decimal
svn path=/trunk/mcs/; revision=127752
Jb Evain [Mon, 23 Feb 2009 16:45:35 +0000 (16:45 -0000)]
passing those
svn path=/trunk/mcs/; revision=127751
Marek Safar [Mon, 23 Feb 2009 16:45:12 +0000 (16:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=127750
Marek Safar [Mon, 23 Feb 2009 16:44:53 +0000 (16:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=127749
Marek Safar [Mon, 23 Feb 2009 16:44:10 +0000 (16:44 -0000)]
2009-02-23 Marek Safar <marek.safar@gmail.com>
A fix for bug #478655
* literal.cs: Check also underlying null type conversion.
svn path=/trunk/mcs/; revision=127747
Jb Evain [Mon, 23 Feb 2009 16:41:59 +0000 (16:41 -0000)]
2009-02-23 Jb Evain <jbevain@novell.com>
* Expression.cs (BinaryCoreCheck): add decimal operations
are provided by custom operators.
svn path=/trunk/mcs/; revision=127746
Jb Evain [Mon, 23 Feb 2009 16:39:18 +0000 (16:39 -0000)]
add new tests for decimal add
svn path=/trunk/mcs/; revision=127745
Jonathan Pryor [Mon, 23 Feb 2009 14:44:43 +0000 (14:44 -0000)]
Oops; mention correct bugzilla numbers.
svn path=/trunk/mcs/; revision=127741
Alan McGovern [Mon, 23 Feb 2009 14:33:20 +0000 (14:33 -0000)]
2009-02-23 Alan McGovern <amcgovern@novell.com>
* XmlTextReader.cs: Under the SL2 profile, the default resolver
is a XmlXapResolver.
svn path=/trunk/mcs/; revision=127740
Zoltan Varga [Mon, 23 Feb 2009 13:48:09 +0000 (13:48 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* basic-float.cs basic-calls.cs: Fix warnings.
svn path=/trunk/mono/; revision=127736
Ankit Jain [Mon, 23 Feb 2009 11:06:52 +0000 (11:06 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* BuildItem.cs (AddMetadata): Allow overwriting older values.
In class/Microsoft.Build.Engine/Test/various:
* Items.cs (TestItemsInTarget8): New.
(TestItemsInTarget9): New.
svn path=/trunk/mcs/; revision=127727
Atsushi Eno [Mon, 23 Feb 2009 10:56:37 +0000 (10:56 -0000)]
2009-02-23 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : ReadContentAsXxx() should not advance XmlReader
when it is on attribute *value* text.
svn path=/trunk/mcs/; revision=127725
Carlos Alberto Cortez [Mon, 23 Feb 2009 10:03:42 +0000 (10:03 -0000)]
2009-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: For EnsureVisible, adjust the view port bounds based on
the existence of the column headers, as well as using this information
to adjust the vscrollbar value, so items never get hidden by the
column headers.
Fixes #478498.
svn path=/trunk/mcs/; revision=127720
Ivan Zlatev [Mon, 23 Feb 2009 09:34:51 +0000 (09:34 -0000)]
2009-02-23 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Make the ScrollBars property work properly.
svn path=/trunk/mcs/; revision=127716
Atsushi Eno [Mon, 23 Feb 2009 07:02:52 +0000 (07:02 -0000)]
2009-02-23 Atsushi Enomoto <atsushi@ximian.com>
* xmltool.cs : Enabled new error recovery feature in RELAX NG
validation. It should continue error reporting until the end of
the document.
svn path=/trunk/mcs/; revision=127704
Atsushi Eno [Mon, 23 Feb 2009 07:01:05 +0000 (07:01 -0000)]
2009-02-23 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs : implemented error recovery feature.
Use InvalidNodeFound event (of type RelaxngValidationEventHandler)
to handle validation error like ValidationEventHandler in
System.Xml.XmlSchema.
* RdpPattern.cs : added "Anything" which is used in error recovery
support.
* relaxngtest.cs : added --skip-error option to test error recovery.
svn path=/trunk/mcs/; revision=127703
Gonzalo Paniagua Javier [Mon, 23 Feb 2009 05:10:10 +0000 (05:10 -0000)]
2009-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebClient.cs: append the QueryString in DownloadData.
Fixes bug #323788.
svn path=/trunk/mcs/; revision=127699
Zoltan Varga [Mon, 23 Feb 2009 00:40:51 +0000 (00:40 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* reflection.c (encode_locals): Add checks for user types.
(method_encode_clauses): Ditto.
(method_encode_code): Ditto.
(mono_image_create_token): Ditto.
* object-internals.h: Change the type of more fields from MonoReflectionType*
to MonoObject*.
svn path=/trunk/mono/; revision=127683
Zoltan Varga [Mon, 23 Feb 2009 00:38:55 +0000 (00:38 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add more tests for user types.
svn path=/trunk/mcs/; revision=127682
Zoltan Varga [Mon, 23 Feb 2009 00:37:34 +0000 (00:37 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* ILGenerator.cs SignatureHelper.cs: Add checks for user types.
svn path=/trunk/mcs/; revision=127681
Zoltan Varga [Mon, 23 Feb 2009 00:36:13 +0000 (00:36 -0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* Type.cs: Add IsUserType internal property.
svn path=/trunk/mcs/; revision=127680
Gonzalo Paniagua Javier [Mon, 23 Feb 2009 00:22:31 +0000 (00:22 -0000)]
2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpServerUtility.cs: allow Transfer to static files too.
svn path=/trunk/mcs/; revision=127677
Mark Probst [Sun, 22 Feb 2009 20:49:26 +0000 (20:49 -0000)]
2009-02-22 Mark Probst <mark.probst@gmail.com>
* tramp-ppc.c (mono_arch_create_trampoline_code): Store the
correct frame pointer in the LMF. Should fix #478394.
svn path=/trunk/mono/; revision=127665
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