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
Rodrigo Kumpera [Thu, 4 Jun 2009 02:27:57 +0000 (02:27 -0000)]
2009-06-03 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Implement property signature check.
svn path=/trunk/mono/; revision=135384
Mark Probst [Wed, 3 Jun 2009 23:08:48 +0000 (23:08 -0000)]
SGen register saving support for PPC.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* sgen-gc.h: Register saving support for PPC.
svn path=/trunk/mono/; revision=135371
Mark Probst [Wed, 3 Jun 2009 23:06:30 +0000 (23:06 -0000)]
Fixed a pthread TLS screwup.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Fixed a pthread TLS screwup.
svn path=/trunk/mono/; revision=135370
Mark Probst [Wed, 3 Jun 2009 23:02:01 +0000 (23:02 -0000)]
Do TLS using pthreads if __thread keyword not supported.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Do TLS using pthread API if __thread keyword is not
supported.
svn path=/trunk/mono/; revision=135368
Mark Probst [Wed, 3 Jun 2009 22:59:23 +0000 (22:59 -0000)]
Disable TLA and managed allocation if __thread not supported.
2009-06-04 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Disable TLA and managed allocation if the __thread
keyword is not supported.
svn path=/trunk/mono/; revision=135367
Marek Habersack [Wed, 3 Jun 2009 21:37:00 +0000 (21:37 -0000)]
Forgotten ChangeLog
svn path=/trunk/mcs/; revision=135359
Marek Habersack [Wed, 3 Jun 2009 21:34:22 +0000 (21:34 -0000)]
Mono changes:
- renamed all public classes from SQLite* to Sqlite*
- re-added Mono compatibility code for command string parsing
- re-applied several patches from the past
svn path=/trunk/mcs/; revision=135357
Marek Habersack [Wed, 3 Jun 2009 21:33:40 +0000 (21:33 -0000)]
- Moved all classes to the Mono.Data.Sqlite namespace.
- Applied changes to make the sources compile (added using statements, modified code to use fully qualified type names in some places)
- Modified AssemblyInfo.cs to reference correct public key, commented out InternalsVisibleTo for the upstream Linq library, changed the
version to 2.0.0.0
svn path=/trunk/mcs/; revision=135356
Marek Habersack [Wed, 3 Jun 2009 21:33:04 +0000 (21:33 -0000)]
Build will use per-profile source lists
svn path=/trunk/mcs/; revision=135355
Marek Habersack [Wed, 3 Jun 2009 21:32:15 +0000 (21:32 -0000)]
Imported version 1.0.61.0 of SQLite.NET
svn path=/trunk/mcs/; revision=135354
Michael Barker [Wed, 3 Jun 2009 18:57:25 +0000 (18:57 -0000)]
2009-05-23 Michael Barker <mike@middlesoft.co.uk>
* MessageEnumerator.cs: Added calls to the delegate IMessageEnumerator
for methods that use a timeout and added exception handling.
* MessageEnumeratorTest.cs: Added tests for timeout methods.
* MessageFactory.cs: Moved TimeSpanToInt32 method to here.
* RabbitMQMessageEnumerator.cs: Added Remove/MoveNext methods that include
timeouts.
* RabbitMQMessageQueue.cs: Updated to cater for moved TimeSpanToInt32 method
* MessageEnumeratorExceptionTest.cs: New
* QueueReferenceTest.cs: Incorrect namespace for test
* IMessageEnumerator.cs: Added additional methods to support operations
specified by the System.Messaging version.
* Mono.Messaging_test.dll.sources: Added MessageEnumeratorExceptionTest.cs
* Makefile: Added nunit-mocks.dll to build
svn path=/trunk/mcs/; revision=135338
Jb Evain [Wed, 3 Jun 2009 18:56:22 +0000 (18:56 -0000)]
2009-06-03 Jb Evain <jbevain@novell.com>
* main.c (dis_code): don't try to locate invalid entry points.
svn path=/trunk/mono/; revision=135337
Jb Evain [Wed, 3 Jun 2009 18:42:49 +0000 (18:42 -0000)]
2009-06-03 Jb Evain <jbevain@novell.com>
* main.c (dis_type): espace namespaces.
svn path=/trunk/mono/; revision=135334
Marek Habersack [Wed, 3 Jun 2009 17:55:10 +0000 (17:55 -0000)]
2009-06-03 Marek Habersack <mhabersack@novell.com>
* MonoSettingsSection.cs: added new property,
verificationCompatibility, which serves the same purpose as the
registry key described in http://support.microsoft.com/kb/932552
(when set to 1 it turns off virtual path validity
verification). Fixes bug #509163
2009-06-03 Marek Habersack <mhabersack@novell.com>
* VirtualPathUtility.cs: IsValidVirtualPath now checks the value
of the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility
registry key when running on Windows and also consults the
mono-specific system.web/monoSettings configuration section to see
what is the verificationCompatibility property set to. If either
of the two is set to 1, Mono will not verify the validity of
the current request's path. Fixes bug #509163
svn path=/trunk/mcs/; revision=135328
Marek Safar [Wed, 3 Jun 2009 17:46:12 +0000 (17:46 -0000)]
Add handling of new net_4_0 profile
svn path=/trunk/mcs/; revision=135326
Marek Safar [Wed, 3 Jun 2009 17:32:14 +0000 (17:32 -0000)]
2009-06-03 Marek Safar <marek.safar@gmail.com>
* Func.cs: Add 4.0 forwarders.
svn path=/trunk/mcs/; revision=135323
Marek Habersack [Wed, 3 Jun 2009 16:32:10 +0000 (16:32 -0000)]
2009-06-03 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: OnFileChanged must check whether the
modified location is a directory before it decides to ignore it
when watcher's filter is "?eb.?config". Fixes bug #509450 (see
also bug #495011)
svn path=/trunk/mcs/; revision=135313
Marek Habersack [Wed, 3 Jun 2009 15:44:01 +0000 (15:44 -0000)]
2009-06-03 Marek Habersack <mhabersack@novell.com>
* HttpForbiddenHandler.cs: updated the error message to match
.NET, added requested path and description. Fixes bug #509092
* HttpException.cs: if trace is not requested, don't output <!--
following the version information in WriteFileBottom. Fixes bug
#509475
GetDefaultErrorMessage appends trace only if showTrace is
true. Fixes bug #509092
svn path=/trunk/mcs/; revision=135307
Veerapuram Varadhan [Wed, 3 Jun 2009 15:28:59 +0000 (15:28 -0000)]
2009-06-03 Veerapuram Varadhan <vvaradhan@novell.com>
* OracleParameterTest.cs: Mark tests for bug #424908 as NotWorking
as it requires some more thorough debugging.
svn path=/trunk/mcs/; revision=135305