Zoltan Varga [Mon, 8 Jun 2009 01:22:02 +0000 (01:22 -0000)]
2009-06-08 Zoltan Varga <vargaz@gmail.com>
* image-writer.c: Improve support for the osx assembler.
* dwarfwriter.c: Avoid the usage of subsections if the assembler doesn't
support them.
svn path=/trunk/mono/; revision=135624
Ankit Jain [Mon, 8 Jun 2009 00:37:00 +0000 (00:37 -0000)]
* standalone/Project01: Fix location for lib2.deploy.txt
svn path=/trunk/mcs/; revision=135622
Ankit Jain [Mon, 8 Jun 2009 00:36:41 +0000 (00:36 -0000)]
* ResolvedReference.cs: Add missing file.
svn path=/trunk/mcs/; revision=135621
Ankit Jain [Mon, 8 Jun 2009 00:06:11 +0000 (00:06 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* AssignCulture.cs (TrySplitResourceName): Reset culture arg to null
if returning false.
* CreateCSharpManifestResourceName.cs: Set culture to null if the
culture was invalid.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateCSharpManifestResourceNameTest.cs (TestInvalidCulture): New.
svn path=/trunk/mcs/; revision=135619
Ankit Jain [Sun, 7 Jun 2009 23:36:52 +0000 (23:36 -0000)]
Add support for resolving project and other assembly references, including
their dependant files.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest (TestBuildSolutionProject): New. Disabled for now.
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
ResolvedReference.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* ResolvedReference.cs: New.
* AssemblyResolver.cs (GetResolvedReference): New. Honor's the
'Private' metadata and sets CopyLocal.
(SearchPath): New. Used to track how the reference was resolved.
(IsStrongNamed): Fix potential null ref.
All the assembly resolution methods now return ResolvedReference
instead of strings, to aid in proper CopyLocal behavior and
dependency resolution.
* ResolveAssemblyReference.cs: Add support for finding related files,
satellite files, resolving dependencies, copy local files.
Resolve files specified in "AssemblyFiles" param also, used to resolve
project references and dependencies.
In tools/xbuild:
* xbuild/Microsoft.Common.targets: Use ResolveAssemblyReference
to find satellite assemblies, dependent assemblies, dependent
files, copy local files etc.
Add targets to fetch all this info for all referenced projects,
and copy them to the target locations. Also, copy the debug (.mdb)
files. Honor, "CopyToOutputDirectory" metadata.
In tools/xbuild/tests:
* standalone/Project01: New. Solution with interdependent multiple projects,
with deploy files, satellite assemblies etc.
svn path=/trunk/mcs/; revision=135618
Carlos Alberto Cortez [Sun, 7 Jun 2009 15:42:17 +0000 (15:42 -0000)]
2009-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataObjectTest.cs: New assertions for the text functionality.
svn path=/trunk/mcs/; revision=135612
Zoltan Varga [Sun, 7 Jun 2009 14:26:58 +0000 (14:26 -0000)]
2009-06-07 Zoltan Varga <vargaz@gmail.com>
* image-writer.c (append_subsection): Don't align subsections of the
debug_line section as a workaround.
* dwarfwriter.c: Emit line number info in the AOT case as well.
svn path=/trunk/mono/; revision=135611
Ankit Jain [Sun, 7 Jun 2009 12:57:52 +0000 (12:57 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* Csc.cs (AddResponseFileCommands): Split DefineConstants on space also.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CscTest.cs (TestDefineConstants): Update DefineConstants to include
spaces also.
svn path=/trunk/mcs/; revision=135610
Ankit Jain [Sun, 7 Jun 2009 12:57:34 +0000 (12:57 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* AssignTargetPath.cs (Execute): Expand incoming path to absolute
path, and correctly extract relative path (skipping over the preceding
dir separator).
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* AssignTargetPathTest.cs: Update tests to not depend on a fixed
root (C:\) or cur dir.
svn path=/trunk/mcs/; revision=135609
Ankit Jain [Sun, 7 Jun 2009 12:57:17 +0000 (12:57 -0000)]
* Copy.cs (CopyFile): Don't copy if the source and dest are the same.
svn path=/trunk/mcs/; revision=135608
Ankit Jain [Sun, 7 Jun 2009 12:57:01 +0000 (12:57 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Target.cs (Outputs): Use ITaskItem[] for conversion, to retain
the metadata.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* TargetTest (TestTargetOutputsIncludingMetadata): New.
svn path=/trunk/mcs/; revision=135607
Ankit Jain [Sun, 7 Jun 2009 12:56:43 +0000 (12:56 -0000)]
* Parameters.cs (ProcessProperty): Handle invalid syntax.
svn path=/trunk/mcs/; revision=135606
Ankit Jain [Sun, 7 Jun 2009 12:51:34 +0000 (12:51 -0000)]
* SolutionParser.cs (AddGeneralSettings): Don't hardcode the default
config/platform. Move to ..
(AddDefaultSolutionConfiguration): .. here.
(AddCurrentSolutionConfigurationContents): Use the first solution target
as the default config/platform or use Debug/anycpu if no config is available.
svn path=/trunk/mcs/; revision=135605
Carlos Alberto Cortez [Sun, 7 Jun 2009 10:34:05 +0000 (10:34 -0000)]
2009-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
to match them in all the cases, as this is exactly what .net does.
Fixes #510728.
svn path=/trunk/mcs/; revision=135604
Marek Safar [Sun, 7 Jun 2009 10:22:16 +0000 (10:22 -0000)]
2009-06-07 Marek Safar <marek.safar@gmail.com>
* Makefile: Add net_4_0* profiles.
svn path=/trunk/mcs/; revision=135603
Marek Safar [Sun, 7 Jun 2009 09:13:16 +0000 (09:13 -0000)]
2009-06-07 Marek Safar <marek.safar@gmail.com>
* runtime/Makefile.am: Enabled net_4_0 for compilation.
svn path=/trunk/mono/; revision=135602
Zoltan Varga [Sun, 7 Jun 2009 01:37:17 +0000 (01:37 -0000)]
2009-06-06 Steven Munroe <munroesj@us.ibm.com>
This patch is contributed under the terms of the MIT/X11 license
* mini-ppc.c (mono_arch_emit_exceptions): Change assert to
code_len <= code_size
svn path=/trunk/mono/; revision=135601
Zoltan Varga [Sat, 6 Jun 2009 20:22:57 +0000 (20:22 -0000)]
2009-06-06 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: Fix handling of powerpc and the selection of
threads. Delete commented out stuff.
svn path=/trunk/mono/; revision=135600
Zoltan Varga [Sat, 6 Jun 2009 20:05:21 +0000 (20:05 -0000)]
2009-06-06 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: CMake build file for libgc.
svn path=/trunk/mono/; revision=135599
Gert Driesen [Sat, 6 Jun 2009 17:07:34 +0000 (17:07 -0000)]
* ContextStack.cs: Added argument check to Type indexer, avoiding a
NRE. Modify System.Int32 indexer to throw ArgumentOutOfRangeException
instead of ArgumentException. Reduce number of times that item count
must be obtained.
* ContextStackTest.cs: Added unit tests for indexers, and argument
(null) checks.
svn path=/trunk/mcs/; revision=135596
Carlos Alberto Cortez [Sat, 6 Jun 2009 12:25:13 +0000 (12:25 -0000)]
2009-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelperTest.cs: New assertion for GetListItemType, as well
as a new helper collection class.
svn path=/trunk/mcs/; revision=135594
Carlos Alberto Cortez [Sat, 6 Jun 2009 12:22:51 +0000 (12:22 -0000)]
2009-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: In GetListItemType handle gracefully the case
where an instance of IEnumerator returns a null value for its Current
property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
Fixes #507120.
svn path=/trunk/mcs/; revision=135593
Zoltan Varga [Sat, 6 Jun 2009 01:16:19 +0000 (01:16 -0000)]
2009-06-06 Zoltan Varga <vargaz@gmail.com>
* mini-mips.c (mips_emit_exc_by_name): Fix the mips build.
svn path=/trunk/mono/; revision=135583
Gert Driesen [Fri, 5 Jun 2009 23:31:33 +0000 (23:31 -0000)]
* bug-508538.cs: New regression test for bug #508538.
svn path=/trunk/mono/; revision=135575
Gert Driesen [Fri, 5 Jun 2009 23:20:31 +0000 (23:20 -0000)]
* HttpWebRequestTest.cs: Added tests for bugs #465613, #510661,
#510642 and #508027.
svn path=/trunk/mcs/; revision=135573
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:52 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for szarray.
* assembly-with-types.il: Fix the szarray field.
svn path=/trunk/mono/; revision=135571
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:41 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_type): Check szarray.
svn path=/trunk/mono/; revision=135570
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:27 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for fnptr instance.
svn path=/trunk/mono/; revision=135569
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:16 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_type): Check fnptr.
svn path=/trunk/mono/; revision=135568
Rodrigo Kumpera [Fri, 5 Jun 2009 21:57:00 +0000 (21:57 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for generic instance.
* assembly-with-types.il: Add some generic instances.
svn path=/trunk/mono/; revision=135567
Rodrigo Kumpera [Fri, 5 Jun 2009 21:56:49 +0000 (21:56 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_type): Check generic instances.
svn path=/trunk/mono/; revision=135566
Rodrigo Kumpera [Fri, 5 Jun 2009 21:56:35 +0000 (21:56 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for array shape.
svn path=/trunk/mono/; revision=135565
Rodrigo Kumpera [Fri, 5 Jun 2009 21:56:24 +0000 (21:56 -0000)]
2009-06-05 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_type): Check array shape.
svn path=/trunk/mono/; revision=135564
Marek Habersack [Fri, 5 Jun 2009 21:10:03 +0000 (21:10 -0000)]
Fix the 1.1 build
svn path=/trunk/mcs/; revision=135560
Marek Habersack [Fri, 5 Jun 2009 20:53:26 +0000 (20:53 -0000)]
2009-06-05 Marek Habersack <mhabersack@novell.com>
* VirtualPathUtility.cs: IsValidVirtualPath no longer uses
WebConfigurationManager.GetSection to retrieve the verification
setting. Instead, the setting is retrieved in the static
constructor.
* HttpRequest.cs: ApplyUrlMapping must not use
WebConfigurationManager.GetSection as it would cause a recursive
call loop. Code to detect whether url mappings are in effect has
been moved to a static constructor.
2009-06-05 Marek Habersack <mhabersack@novell.com>
* Page.cs: InitializeTheme uses WebConfigurationManager.GetSection
to retrieve page theme name. GetWebApplicationSection cannot be
used because the system.web/pages section is valid also in
subdirectories. Fixes bug #510302
2009-06-05 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: OpenWebConfiguration caches
configurations with a key generated from all the parameters passed
to it, not just from path.
Added internal GetSection method which takes HttpContext as its
third parameter - used in calling OpenWebConfiguration.
FindWebConfig is no longer used in GetSection - it breaks handling
of <location> elements in config files. Fixes bug #510302
svn path=/trunk/mcs/; revision=135558
Jb Evain [Fri, 5 Jun 2009 20:47:20 +0000 (20:47 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/MarkStep.cs: fix a nre.
Based on patch by Andres G. Aragoneses <aaragoneses@novell.com>.
svn path=/trunk/mcs/; revision=135557
Ivan Zlatev [Fri, 5 Jun 2009 18:37:42 +0000 (18:37 -0000)]
2008-06-05 Ivan N. Zlatev <contact@i-nz.net>
* ContextStack.cs: Also check for subclasses in the Type-based
indexter property.
[Fixes bug #509151]
svn path=/trunk/mcs/; revision=135546
Sebastien Pouliot [Fri, 5 Jun 2009 18:19:16 +0000 (18:19 -0000)]
In System/System.Net:
2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
* DownloadStringCompletedEventArgs.cs: Call RaiseExceptionIfNecessary
* OpenReadCompletedEventArgs.cs: Remove Address property since it's
not part of SL2. Call RaiseExceptionIfNecessary
* OpenWriteCompletedEventArgs.cs: Call RaiseExceptionIfNecessary
* UploadStringCompletedEventArgs.cs: Call RaiseExceptionIfNecessary
In System.Net/System.Net:
2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
* WebClient_2_1.cs: Make sure *CompletedEventArgs gets called
even in case an exception occurs before the BeginGetResponse
call. Adjust API for OpenReadCompletedEventArgs.
svn path=/trunk/mcs/; revision=135545
Sebastien Pouliot [Fri, 5 Jun 2009 18:19:00 +0000 (18:19 -0000)]
2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
* SecurityPermissionFlag.cs: Add [Obsolete] on NET_2_1 since CAS
stuff is not available in Moonlight.
svn path=/trunk/mcs/; revision=135544
Jb Evain [Fri, 5 Jun 2009 17:54:00 +0000 (17:54 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/ResolveFromXmlStep.cs: more ways of choosing fields.
svn path=/trunk/mcs/; revision=135543
Marek Safar [Fri, 5 Jun 2009 16:27:11 +0000 (16:27 -0000)]
2009-06-05 Marek Safar <marek.safar@gmail.com>
* Makefile: Fixed NET_2_0 conditional to actually handle Mono.Security
dependency.
svn path=/trunk/mcs/; revision=135540
Jb Evain [Fri, 5 Jun 2009 15:09:56 +0000 (15:09 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* Mono.Cecil/BaseAssemblyResolver.cs: properly look for the 4.0 corlib
when running on Mono.
svn path=/trunk/mcs/; revision=135536
Robert Jordan [Fri, 5 Jun 2009 14:53:24 +0000 (14:53 -0000)]
2009-06-05 Robert Jordan <robertj@gmx.net>
* WebClient.cs (UploadValuesCore): Encode POST arguments with UTF-8.
Fixes bug #484795.
svn path=/trunk/mcs/; revision=135532
Marek Safar [Fri, 5 Jun 2009 14:21:49 +0000 (14:21 -0000)]
2009-06-05 Marek Safar <marek.safar@gmail.com>
* NetConfigurationHandler.cs, DefaultProxyHandler.cs,
NetAuthenticationModuleHandler.cs, ConnectionManagementHandler.cs,
WebRequestModuleHandler.cs: Always build
IConfigurationSectionHandler.
svn path=/trunk/mcs/; revision=135529
Marek Safar [Fri, 5 Jun 2009 14:20:21 +0000 (14:20 -0000)]
2009-06-05 Marek Safar <marek.safar@gmail.com>
* DictionarySectionHandler.cs, NameValueSectionHandler.cs,
NameValueFileSectionHandler.cs, SingleTagSectionHandler.cs,
IConfigurationSectionHandler.cs, IgnoreSectionHandler.cs: Always
build IConfigurationSectionHandler.
svn path=/trunk/mcs/; revision=135528
Jb Evain [Fri, 5 Jun 2009 14:04:44 +0000 (14:04 -0000)]
oops
svn path=/trunk/mcs/; revision=135526
Robert Jordan [Fri, 5 Jun 2009 13:50:02 +0000 (13:50 -0000)]
2009-06-05 Robert Jordan <robertj@gmx.net>
* class.c (mono_class_create_from_typedef): Check only for
mscorlib's System.Array.
svn path=/trunk/mono/; revision=135525
Jb Evain [Fri, 5 Jun 2009 13:12:52 +0000 (13:12 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/ResolveFromXmlStep.cs: give us more
possibilities to detail the xml descriptors.
svn path=/trunk/mcs/; revision=135523
Jb Evain [Fri, 5 Jun 2009 13:02:28 +0000 (13:02 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* driver.cs (EmbededResource): avoid using an internal method
in gmcs to embed manifest resources.
svn path=/trunk/mcs/; revision=135520
Jb Evain [Fri, 5 Jun 2009 12:59:31 +0000 (12:59 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* ModuleBuilder.cs (DefineManifestResource): expose during
BOOTSTRAP_NET_2_0 as well.
svn path=/trunk/mcs/; revision=135519
Atsushi Eno [Fri, 5 Jun 2009 12:41:56 +0000 (12:41 -0000)]
2009-06-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : fix GetAttribute() that returns
attributes from cache that are *not* in current element.
svn path=/trunk/mcs/; revision=135517
Sebastien Pouliot [Fri, 5 Jun 2009 12:03:47 +0000 (12:03 -0000)]
In System.ServiceModel.Channels:
2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
* ClientAccessPolicy.cs: Removed
* CrossDomainAccessManager.cs: Removed
* CrossDomainPolicy.cs: Removed
* HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
since this is now done inside the BeginGetResponse call (outside
this assembly) for Moonlight (NET_2_1)
In .:
2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_System.ServiceModel.dll.sources: Remove
ClientAccessPolicy.cs, CrossDomainPolicy.cs and
CrossDomainAccessManager.cs since the code and checks is now done
inside System.Windows.Browser.dll, by BrowserHttpWebRequest, for
every non-site-or-origin web connection - i.e. http[s]
svn path=/trunk/mcs/; revision=135513
Atsushi Eno [Fri, 5 Jun 2009 11:51:35 +0000 (11:51 -0000)]
2009-06-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : there was wrong reusage of nodes
when the node was at the top of the stack. It was added twice and
call to reset resulted in end element with empty names.
* XmlBinaryDictionaryReaderTest.cs : verify that end element has
non-empty local name.
svn path=/trunk/mcs/; revision=135512
Jb Evain [Fri, 5 Jun 2009 07:45:28 +0000 (07:45 -0000)]
2009-06-05 Jb Evain <jbevain@novell.com>
* Makefile: fix the 2.1 build.
svn path=/trunk/mcs/; revision=135503
Carlos Alberto Cortez [Fri, 5 Jun 2009 04:43:57 +0000 (04:43 -0000)]
2009-06-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: Properly detect whether we need to use our vertical
scrollbar or not, specially for DropDownList/DropDown styles,
depending on the value of DropDownHeight.
Fixes #508541.
svn path=/trunk/mcs/; revision=135501
Rodrigo Kumpera [Fri, 5 Jun 2009 01:20:10 +0000 (01:20 -0000)]
2009-06-04 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: Tests for type encoding.
* assembly-with-types.il: Input file with all
sorts of type encodings.
* Makefile: Add new dependency.
svn path=/trunk/mono/; revision=135497
Rodrigo Kumpera [Fri, 5 Jun 2009 01:20:02 +0000 (01:20 -0000)]
2009-06-04 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Implement locals signature check.
2009-06-04 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (parse_type): Check pointer, class/valuetype
and generic params.
* metadata-verify.c (parse_field): Check the signature.
svn path=/trunk/mono/; revision=135496
Rodrigo Kumpera [Fri, 5 Jun 2009 01:19:49 +0000 (01:19 -0000)]
2009-06-04 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: LocalsSig tests.
* assembly-with-locals.il: File with all sort
of locals sig.
* Makefile: Add new dependency.
svn path=/trunk/mono/; revision=135495
Rodrigo Kumpera [Fri, 5 Jun 2009 01:19:41 +0000 (01:19 -0000)]
2009-06-04 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Implement locals signature check.
svn path=/trunk/mono/; revision=135494
Marek Safar [Thu, 4 Jun 2009 21:52:42 +0000 (21:52 -0000)]
Revert last 2 chances
svn path=/trunk/mcs/; revision=135490
Marek Habersack [Thu, 4 Jun 2009 21:22:44 +0000 (21:22 -0000)]
2009-06-04 Marek Habersack <mhabersack@novell.com>
* HttpException.cs:
Don't generate trace for 403. Fixes bug #509092
svn path=/trunk/mcs/; revision=135488
Marek Habersack [Thu, 4 Jun 2009 21:18:21 +0000 (21:18 -0000)]
2009-06-04 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: if plain text is parsed and it contains
server-side controls, parse and process them. Fixes bug #508888
2009-06-04 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ServerSideControlsInScriptBlock.aspx
2009-06-04 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompilerTest.cs: added test for bug #508888
svn path=/trunk/mcs/; revision=135486
Marek Safar [Thu, 4 Jun 2009 21:12:26 +0000 (21:12 -0000)]
This should work
svn path=/trunk/mcs/; revision=135485
Marek Safar [Thu, 4 Jun 2009 19:52:11 +0000 (19:52 -0000)]
Fixes build.
svn path=/trunk/mcs/; revision=135475
Marek Habersack [Thu, 4 Jun 2009 18:47:55 +0000 (18:47 -0000)]
2009-06-04 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: version header configuration is read lazily
now.
svn path=/trunk/mcs/; revision=135471
Sebastien Pouliot [Thu, 4 Jun 2009 18:42:48 +0000 (18:42 -0000)]
2009-06-04 Sebastien Pouliot <sebastien@ximian.com>
* generic.cs, parameter.cs: Avoid using 'var' so we can bootstrap
the compiler from older mono versions (like moon's bots)
svn path=/trunk/mcs/; revision=135470
Alan McGovern [Thu, 4 Jun 2009 18:06:00 +0000 (18:06 -0000)]
2009-06-04 Alan McGovern <amcgovern@novell.com>
* HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
instead of the sync apis. Prevents a possible deadlock condition in
moonlight.
svn path=/trunk/mcs/; revision=135467
Zoltan Varga [Thu, 4 Jun 2009 18:01:37 +0000 (18:01 -0000)]
Get rid of all references to STATIC_RGCTX_INVOKE to fix the build.
svn path=/trunk/mono/; revision=135466
Marek Habersack [Thu, 4 Jun 2009 17:45:05 +0000 (17:45 -0000)]
2009-06-04 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: do not show version info if custom errors are
in effect. Fixes bug #509092
svn path=/trunk/mcs/; revision=135464
Sebastien Pouliot [Thu, 4 Jun 2009 17:40:24 +0000 (17:40 -0000)]
2009-06-04 Sebastien Pouliot <sebastien@ximian.com>
* WebClient_2_1.cs: Remove the creation of threads and use the
async methods provided by WebRequest (and its friends). Use an
internal object to lock on (not this). Remove comments from the
original (mono) WebClient since the code has diverged so much.
Fix DRT#326 (hopefully others too or at least more than it breaks)
svn path=/trunk/mcs/; revision=135463
Marek Habersack [Thu, 4 Jun 2009 17:33:52 +0000 (17:33 -0000)]
2009-06-04 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: OnFileChanged ignores the directory
part of the file triggering the event. Fixes bug #509998
2009-06-04 Marek Habersack <mhabersack@novell.com>
* InotifyWatcher.cs: filter pattern should be matched on file name
alone, not on the relative path of the file triggering the
event. Fixes bug #509998
svn path=/trunk/mcs/; revision=135460
Zoltan Varga [Thu, 4 Jun 2009 17:30:02 +0000 (17:30 -0000)]
In metadata/
2009-06-04 Zoltan Varga <vargaz@gmail.com>
* wrapper-types.h: Delete STATIC_RGCTX_INVOKE.
* marshal.c (mono_marshal_ret_static_rgctx_invoke): Remove, no longer
used.
* icall.c (ves_icall_System_Delegate_CreateDelegate_internal): Avoid
adding a static-rgctx invoke wrapper, it is done by the runtime trampolines.
* generic-sharing.c (inflate_other_data): Ditto.
In mini/
2009-06-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Delete references to static rgctx
invoke wrappers, we now use trampolines instead.
svn path=/trunk/mono/; revision=135459
Marek Safar [Thu, 4 Jun 2009 17:10:56 +0000 (17:10 -0000)]
2009-06-04 Marek Safar <marek.safar@gmail.com>
* domain.c: Add .NET 4.0 Beta 1 version.
svn path=/trunk/mono/; revision=135457
Marek Safar [Thu, 4 Jun 2009 17:08:28 +0000 (17:08 -0000)]
More work on 4.0 profile
svn path=/trunk/mcs/; revision=135456
Marek Safar [Thu, 4 Jun 2009 16:56:17 +0000 (16:56 -0000)]
More work on 4.0 profile
svn path=/trunk/mcs/; revision=135454
Marek Safar [Thu, 4 Jun 2009 16:54:04 +0000 (16:54 -0000)]
Distribute the profiles
svn path=/trunk/mcs/; revision=135453
Marek Safar [Thu, 4 Jun 2009 16:26:04 +0000 (16:26 -0000)]
Distribute new files
svn path=/trunk/mcs/; revision=135449
Marek Safar [Thu, 4 Jun 2009 16:10:11 +0000 (16:10 -0000)]
New test.
svn path=/trunk/mcs/; revision=135448
Marek Safar [Thu, 4 Jun 2009 16:08:28 +0000 (16:08 -0000)]
2009-06-04 Marek Safar <marek.safar@gmail.com>
* namespace.cs (LookupTypeReflection): Ignore collisions between
forwarded types.
svn path=/trunk/mcs/; revision=135447
Andrés G. Aragoneses [Thu, 4 Jun 2009 16:01:59 +0000 (16:01 -0000)]
r:jb
2009-06-04 Andrés G. Aragoneses <aaragoneses@novell.com>
* Mono.Tuner.dll.sources:
* Mono.Tuner.csproj: Update.
* Mono.Tuner/InjectSecurityAttributes.cs:
* Mono.Tuner/MoonlightAssemblyStep.cs: Change some accessibility
keywords, to be able to override and inherit.
* Mono.Tuner/MoonlightA11yProcessor.cs:
* Mono.Tuner/MoonlightA11yAssemblyStep.cs: New steps for a11y.
svn path=/trunk/mcs/; revision=135446
Marek Safar [Thu, 4 Jun 2009 15:37:09 +0000 (15:37 -0000)]
Removed enabled test.
svn path=/trunk/mcs/; revision=135444
Andrés G. Aragoneses [Thu, 4 Jun 2009 15:37:04 +0000 (15:37 -0000)]
Use better name for variables.
svn path=/trunk/mcs/; revision=135443
Marek Safar [Thu, 4 Jun 2009 15:36:26 +0000 (15:36 -0000)]
New test.
svn path=/trunk/mcs/; revision=135441
Marek Safar [Thu, 4 Jun 2009 15:34:14 +0000 (15:34 -0000)]
2009-06-04 Marek Safar <marek.safar@gmail.com>
* codegen.cs: Enabled generic type forwarders.
svn path=/trunk/mcs/; revision=135440
Marek Habersack [Thu, 4 Jun 2009 15:31:02 +0000 (15:31 -0000)]
2009-06-04 Marek Habersack <mhabersack@novell.com>
* RouteValueDictionaryExtensions.cs: if both values are strings in
Has (string, value), compare them case-insensitively. Fixes bug
#502555
2009-06-04 Marek Habersack <mhabersack@novell.com>
* RouteCollectionTest.cs: added two more test cases to the bug
#502555 test. They check whether url generation matches defaults
case-insensitively.
svn path=/trunk/mcs/; revision=135438
Bill Holmes [Thu, 4 Jun 2009 15:26:11 +0000 (15:26 -0000)]
2009-06-04 Bill Holmes <billholmes54@gmail.com>
* cominterop.c (cominterop_ccw_queryinterface): Fix for bug 499566.
For QueryInterface on CCWs consider the base class
interfaces as well.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=135434
Marek Safar [Thu, 4 Jun 2009 15:14:23 +0000 (15:14 -0000)]
Add net_4_0_bootstrap
svn path=/trunk/mcs/; revision=135428
Veerapuram Varadhan [Thu, 4 Jun 2009 15:12:40 +0000 (15:12 -0000)]
2009-06-04 Veerapuram Varadhan <vvaradhan@novell.com>
* OracleParameter.cs: Infer size only for 2.0 profile when only
value is passed. Fixes test failure under 1.1 profile.
svn path=/trunk/mcs/; revision=135427
Marek Safar [Thu, 4 Jun 2009 15:11:19 +0000 (15:11 -0000)]
2009-06-04 Marek Safar <marek.safar@gmail.com>
* dmcs.*: Add another version of SRE compiler.
svn path=/trunk/mcs/; revision=135426
Marek Safar [Thu, 4 Jun 2009 15:08:38 +0000 (15:08 -0000)]
Add BOOTSTRAP_NET_4_0
svn path=/trunk/mcs/; revision=135425
Jb Evain [Thu, 4 Jun 2009 15:02:16 +0000 (15:02 -0000)]
2009-06-04 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/ResolveFromXmlStep.cs: fix handling
of wildcards constructors.
svn path=/trunk/mcs/; revision=135423
Zoltan Varga [Thu, 4 Jun 2009 14:53:02 +0000 (14:53 -0000)]
2009-06-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c metadata.c: Applied patch from Ulrich Weigand
<uweigand@de.ibm.com>: Free the wrappers of inflated generic methods when
the inflated method is freed. Fixes #508389.
The code is contributed under the MIT/X11 license.
svn path=/trunk/mono/; revision=135422
Mark Probst [Thu, 4 Jun 2009 14:49:37 +0000 (14:49 -0000)]
Make SGen work on Darwin.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* sgen-gc.h: Support for Darwin by using named semaphores and
pthread conditions instead of unnamed semaphores.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* mini-darwin.c: The exception thread must not be registered with
the GC.
svn path=/trunk/mono/; revision=135421
Marek Safar [Thu, 4 Jun 2009 14:39:59 +0000 (14:39 -0000)]
Fixes build.
svn path=/trunk/mcs/; revision=135417
Jb Evain [Thu, 4 Jun 2009 13:17:25 +0000 (13:17 -0000)]
2009-06-04 Jb Evain <jbevain@novell.com>
* Makefile: fix the 2.1 profile version.
svn path=/trunk/mcs/; revision=135413
Marek Safar [Thu, 4 Jun 2009 11:33:57 +0000 (11:33 -0000)]
2009-06-04 Marek Safar <marek.safar@gmail.com>
* Consts.cs.in: Add NET_4_0 constants.
svn path=/trunk/mcs/; revision=135408
Mark Probst [Thu, 4 Jun 2009 11:28:49 +0000 (11:28 -0000)]
Disable mini-gc.c because it makes SGen crash.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* mini-gc.c: Disable the code because it makes SGen crash.
svn path=/trunk/mono/; revision=135405
Marek Safar [Thu, 4 Jun 2009 08:42:04 +0000 (08:42 -0000)]
Should fixed the build.
svn path=/trunk/mcs/; revision=135398
Jb Evain [Thu, 4 Jun 2009 07:27:57 +0000 (07:27 -0000)]
2009-06-04 Jb Evain <jbevain@novell.com>
* resources/SR.resx: adjust file names.
* Mono.Data.Sqlite.dll.sources: rename from
net_2_0_Mono.Data.Sqlite.dll.sources.
Hopefully fixes the build.
svn path=/trunk/mcs/; revision=135395
Rodrigo Kumpera [Thu, 4 Jun 2009 02:28:05 +0000 (02:28 -0000)]
2009-06-03 Rodrigo Kumpera <rkumpera@novell.com>
* cli-blob-tests.md: PropertySig tests.
* assembly-with-properties.cs: Add property with
parameters.
svn path=/trunk/mono/; revision=135385