mono.git
14 years agoNew test.
Marek Safar [Tue, 8 Sep 2009 16:49:18 +0000 (16:49 -0000)]
New test.

svn path=/trunk/mcs/; revision=141533

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 16:48:53 +0000 (16:48 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

A fix for bug #537402
* generic.cs (CheckConstraint): Correctly inflate generic type
arguments when checking generic method.

svn path=/trunk/mcs/; revision=141532

14 years ago2009-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 8 Sep 2009 15:45:11 +0000 (15:45 -0000)]
2009-09-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When processing rtf, don't add a new line if we
already have one for that position. This way we avoid overriding by
mistake our lines when copying/pasting.
Fixes #513030.

svn path=/trunk/mcs/; revision=141531

14 years agoCheck in up-to-date version of RegexTest.cs. Somehow the previous
Raja R Harinath [Tue, 8 Sep 2009 15:12:38 +0000 (15:12 -0000)]
Check in up-to-date version of RegexTest.cs.  Somehow the previous
checkin got an untested preliminary version

svn path=/trunk/mcs/; revision=141530

14 years ago2009-09-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 8 Sep 2009 14:45:17 +0000 (14:45 -0000)]
2009-09-08  Jonathan Chambers  <joncham@gmail.com>

        * cominterop.cs libtest.c: Add support to run tests
        on all x86 and amd64 platforms.

svn path=/trunk/mono/; revision=141527

14 years ago- Fix System tests build. (There were two tests named Split_InvalidCount.)
Jonathan Pobst [Tue, 8 Sep 2009 14:26:08 +0000 (14:26 -0000)]
- Fix System tests build.  (There were two tests named Split_InvalidCount.)

svn path=/trunk/mcs/; revision=141525

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 14:24:54 +0000 (14:24 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* basic-calls.cs: Move the test_0_float_load_and_store_with_big_offset ()
test which depends on structs to objects.cs.

svn path=/trunk/mono/; revision=141524

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 14:21:25 +0000 (14:21 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* basic-calls.cs: Remove calls to Console.WriteLine and throws, since those
require object model related stuff working.

svn path=/trunk/mono/; revision=141523

14 years agoNew test.
Marek Safar [Tue, 8 Sep 2009 14:13:47 +0000 (14:13 -0000)]
New test.

svn path=/trunk/mcs/; revision=141522

14 years agoNew test.
Marek Safar [Tue, 8 Sep 2009 14:12:59 +0000 (14:12 -0000)]
New test.

svn path=/trunk/mcs/; revision=141521

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 14:12:29 +0000 (14:12 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

A fix for bug #536463
* decl.cs (AddToContainer): Don't report collision between explicit
and parameterless non-explicit members.

svn path=/trunk/mcs/; revision=141520

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 8 Sep 2009 11:48:49 +0000 (11:48 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: if total row count has been retrieved from the
view, don't reset it to the number of items returned from the data
source. Fixes bug #535701

svn path=/trunk/mcs/; revision=141509

14 years ago2009-09-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 8 Sep 2009 11:38:53 +0000 (11:38 -0000)]
2009-09-08  Marek Safar  <marek.safar@gmail.com>

* eval.cs: Reset more static stuff.

svn path=/trunk/mcs/; revision=141506

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 8 Sep 2009 11:25:09 +0000 (11:25 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* ProfileParser.cs: GetProfileGroupType creates type name with
"ProfileGroup" prefix instead of "ProfileCommon". Fixes bug
#535655

* ProfileBase.cs: typo fix - renamed CreateSettingsPropery to
CreateSettingsProperty

2009-09-08  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: HaveCustomProfile returns true for profiles
which don't contain top-level properties. Fixes bug #535655

svn path=/trunk/mcs/; revision=141504

14 years ago* ToolTask.cs (LogEventsFromTextOutput): Log message even if its not
Ankit Jain [Tue, 8 Sep 2009 10:29:05 +0000 (10:29 -0000)]
* ToolTask.cs (LogEventsFromTextOutput): Log message even if its not
identified as an error or a warning.

svn path=/trunk/mcs/; revision=141500

14 years agoIn class/Microsoft.Build.Engine/Test/various:
Ankit Jain [Tue, 8 Sep 2009 10:28:51 +0000 (10:28 -0000)]
In class/Microsoft.Build.Engine/Test/various:

* Items.cs (TestItems5):
(TestItems6): Remove 'NotWorking' attribute.

In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:

* ReservedNameUtils.cs (RelativeDir): Add a trailing \ .

svn path=/trunk/mcs/; revision=141499

14 years agodisable this optimization on monotouch
Geoff Norton [Tue, 8 Sep 2009 01:30:59 +0000 (01:30 -0000)]
disable this optimization on monotouch

svn path=/trunk/mcs/; revision=141479

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 01:11:50 +0000 (01:11 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* cpu-x86.md mini-x86.c: Remove more unused opcodes.

* mini-ops.h: Fix OP_BIGMUL instruction descriptions.

svn path=/trunk/mono/; revision=141478

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 01:03:47 +0000 (01:03 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* acinclude.m4 (dolt_supported): Enable this for mips.

svn path=/trunk/mono/; revision=141477

14 years ago2009-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 8 Sep 2009 01:03:39 +0000 (01:03 -0000)]
2009-09-08  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_local_regalloc): Validate the cpu description
against the instruction metadata in mini-ops.h. amd64 only for now.

* mini-ops.h: Fix some instruction descriptions.

* mini-ops.h mini-x86.c mini-amd64.c cpu-<ARCH>.md: Remove some
unused instructions.

svn path=/trunk/mono/; revision=141476

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 8 Sep 2009 00:13:00 +0000 (00:13 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: added IsPrecompiled internal property.

* AppResourcesCompiler.cs: load precompiled site local and global
resource assemblies from static constructor. Fixes bugs #536138
and #536143

svn path=/trunk/mcs/; revision=141474

14 years ago2009-09-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 Sep 2009 22:22:18 +0000 (22:22 -0000)]
2009-09-08  Marek Habersack  <mhabersack@novell.com>

* UrlRoutingModule.cs: store original request path in
PostResolveRequestCache and restore it in
PostMapRequestHandler. Fixes bug #537089

svn path=/trunk/mcs/; revision=141471

14 years ago2009-09-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 7 Sep 2009 21:00:00 +0000 (21:00 -0000)]
2009-09-07  Marek Safar  <marek.safar@gmail.com>

* repl.cs: Disabled Report.Stderr hacking.

svn path=/trunk/mcs/; revision=141470

14 years agoFixes pre 2.0 bootstrap
Marek Safar [Mon, 7 Sep 2009 20:43:55 +0000 (20:43 -0000)]
Fixes pre 2.0 bootstrap

svn path=/trunk/mcs/; revision=141469

14 years agoFixes build
Marek Safar [Mon, 7 Sep 2009 20:33:27 +0000 (20:33 -0000)]
Fixes build

svn path=/trunk/mcs/; revision=141468

14 years agoDist this one as well
Miguel de Icaza [Mon, 7 Sep 2009 20:13:00 +0000 (20:13 -0000)]
Dist this one as well

svn path=/trunk/mcs/; revision=141467

14 years agoCheck the test results.
Marek Safar [Mon, 7 Sep 2009 17:43:34 +0000 (17:43 -0000)]
Check the test results.

svn path=/trunk/mcs/; revision=141463

14 years agoNew tests.
Marek Safar [Mon, 7 Sep 2009 17:35:48 +0000 (17:35 -0000)]
New tests.

svn path=/trunk/mcs/; revision=141462

14 years ago2009-09-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 7 Sep 2009 17:31:56 +0000 (17:31 -0000)]
2009-09-07  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324625
* expression.cs, ecore.cs: Create nested generic type expression
using declaring and not current type.

svn path=/trunk/mcs/; revision=141461

14 years ago2009-09-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 7 Sep 2009 17:16:00 +0000 (17:16 -0000)]
2009-09-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextControl.cs: When inserting new lines, look for the end of file
char, and remove chars after it. This is unlikely to happeng either
loading a file, pasting text or pressing a char, but can happen using
the TextBox.Text property.
Fixes #535884.

svn path=/trunk/mcs/; revision=141460

14 years agoregex: A few more null and bounds checks
Raja R Harinath [Mon, 7 Sep 2009 17:14:37 +0000 (17:14 -0000)]
regex: A few more null and bounds checks

* Regex.cs (Escape, Unescape): Add null checks.
(validate_options): Add ECMAScript option checks.
(Replace, Split): Add a few bounds checks.

svn path=/trunk/mcs/; revision=141459

14 years agoAdd some null checks and bounds checks.
Raja R Harinath [Mon, 7 Sep 2009 16:25:50 +0000 (16:25 -0000)]
Add some null checks and bounds checks.

* Regex.cs (default_startat): New.  Replaces the fragment
'RightToLeft ?  input.Length : 0' with a null-safe variant.
(Replace) <string variant>: Add null checks for argument strings.
(Split): Likewise.
(.ctor): Likewise.  Validate regex options partially.
(Match): Add null check on string arguments, and bounds checks for
offset and length arguments.

svn path=/trunk/mcs/; revision=141457

14 years agoBetter description.
Marek Safar [Mon, 7 Sep 2009 15:40:45 +0000 (15:40 -0000)]
Better description.

svn path=/trunk/mcs/; revision=141442

14 years ago2009-09-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 7 Sep 2009 15:14:31 +0000 (15:14 -0000)]
2009-09-07  Marek Safar  <marek.safar@gmail.com>

* *.cs: Changed Report class to accept various ouput printers and
be an instance class.

svn path=/trunk/mcs/; revision=141436

14 years agoAdd WindowsBase to the build
Miguel de Icaza [Mon, 7 Sep 2009 15:01:09 +0000 (15:01 -0000)]
Add WindowsBase to the build

svn path=/trunk/mcs/; revision=141433

14 years agoCopy
Miguel de Icaza [Mon, 7 Sep 2009 14:59:40 +0000 (14:59 -0000)]
Copy

svn path=/trunk/mcs/; revision=141432

14 years ago2009-09-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 7 Sep 2009 13:11:23 +0000 (13:11 -0000)]
2009-09-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (runtest): Disable aot on some tests which contain loading
errors.

svn path=/trunk/mono/; revision=141427

14 years agoNew test.
Marek Safar [Mon, 7 Sep 2009 13:04:32 +0000 (13:04 -0000)]
New test.

svn path=/trunk/mcs/; revision=141426

14 years ago2009-09-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 Sep 2009 11:57:20 +0000 (11:57 -0000)]
2009-09-07  Marek Habersack  <mhabersack@novell.com>

* HttpContext.cs: when creating local resource provider, pass the
current file's virtual path to CreateLocalResourceProvider. Fixes
bug #536757

svn path=/trunk/mcs/; revision=141424

14 years agoMinor adjustment
Marek Habersack [Mon, 7 Sep 2009 11:19:10 +0000 (11:19 -0000)]
Minor adjustment

svn path=/trunk/mcs/; revision=141422

14 years ago2009-09-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 7 Sep 2009 11:07:43 +0000 (11:07 -0000)]
2009-09-07  Marek Habersack  <mhabersack@novell.com>

* HostingEnvironment.cs: MapPath checks if HttpContext.Request
actually exists before using it.

2009-09-07  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProviderTest.cs: added

* StaticSiteMapProviderTest.cs: added test for FindSiteMapNode

2009-09-07  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: do not allow the provider to be
intialized more than once.
Initialize throws if it finds unknown attributes in the
'attributes' collection.
AddNode checks its arguments and throws if they are null or aren't
from the same provider.
FindStartingNode throws exceptions in several erroneous situations
now.
Added private method GetConfigDocument which performs several
checks on the source .sitemap file and throws exceptions if it
finds any errors.
BuildSiteMap clears provider state before building the map.
BuildSiteMapRecursive correctly deals with custom providers. Fixes
bug #465696
FindSiteMapNode maps url before searching. Fixes bug #465696

* VirtualPathUtility.cs: Combine a bit more efficient

* StaticSiteMapProvider.cs: FindSiteMap node checks if rawUrl is
relative to application root and if yes, makes it absolute.
MapUrl converts both rooted and not rooted urls to absolute.

* SiteMapProvider.cs: check if HttpContext.Request exists before
using it in FindSiteMapnode

* SiteMap.cs: Providers collection must be read-only.

2009-09-07  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWeb/NunitWeb/Resources/sub_map_01.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_01.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_02.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_03.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_04.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_05.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_06.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_07.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_08.sitemap
Test/mainsoft/NunitWeb/NunitWeb/Resources/test_map_09.sitemap

2009-09-07  Marek Habersack  <mhabersack@novell.com>

* Tests/TestSiteMapProvider.cs: added

svn path=/trunk/mcs/; revision=141420

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 10:48:14 +0000 (10:48 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: add some WCF assemblies to centum_tests.

svn path=/trunk/mcs/; revision=141418

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 10:45:50 +0000 (10:45 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* X509CertificateClaimSetTest.cs : mark as Ignore (not working on
  .NET either).

svn path=/trunk/mcs/; revision=141417

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 10:40:07 +0000 (10:40 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlObjectSerializerTest.cs : fix (here too) bad serialization-
  compatibility-dependent test.

svn path=/trunk/mcs/; revision=141415

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 10:23:37 +0000 (10:23 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlObjectSerializerTest.cs : fixed wrong EOLs that resulted in
  failure in .NET.
* XsdDataContractExporterTest.cs : fix test that failed on .NET,
  and marked as NotWorking (no proceeding wsdl work yet).

svn path=/trunk/mcs/; revision=141414

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 09:47:23 +0000 (09:47 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractJsonSerializerTest.cs : fix non-datacontract
  serialization test. It depended on IPAddress field internals
  (runtime serialization incompatibility).

svn path=/trunk/mcs/; revision=141412

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 09:46:09 +0000 (09:46 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* JsonReaderWriterFactory.cs : check null stream (fix test failure).

svn path=/trunk/mcs/; revision=141411

14 years ago2008-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 08:58:58 +0000 (08:58 -0000)]
2008-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* UriTemplate.cs, UriTemplateMatch.cs : add support for wildcard.

* UriTemplateTest.cs : add test for wildcard.

svn path=/trunk/mcs/; revision=141410

14 years ago2008-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 08:21:16 +0000 (08:21 -0000)]
2008-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* UriTemplate.cs : implement IsEquivalentTo().
* UriTemplateEquivalenceComparer.cs : implement.

* UriTemplateEquivalenceComparerTest.cs : new test.

* System.ServiceModel.Web_test.dll.sources :
  added UriTemplateEquivalenceComparerTest.cs.

svn path=/trunk/mcs/; revision=141409

14 years ago2008-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 08:09:13 +0000 (08:09 -0000)]
2008-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* UriTemplate.cs : add BindByName() overloads with Dictionary.

svn path=/trunk/mcs/; revision=141408

14 years ago2009-09-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 7 Sep 2009 08:01:33 +0000 (08:01 -0000)]
2009-09-07  Ivan N. Zlatev  <contact@i-nz.net>

* DesignSurface.cs: Don't be so strict and allow for the users
to get the View even if the DesignSurface wasn't properly initialized
with a DesignerLoader. MS compatibility.
[Fixes bug #537131]

svn path=/trunk/mcs/; revision=141406

14 years ago2008-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 07:57:48 +0000 (07:57 -0000)]
2008-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* UriTemplate.cs : implemented Defaults and IgnoreTrailingSlash.

* UriTemplateTest.cs :
  added tests for IgnoreTrailingSlash and Defaults.

svn path=/trunk/mcs/; revision=141405

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 07:42:53 +0000 (07:42 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* net_2_1_System.Runtime.Serialization.dll.sources : ditto.

svn path=/trunk/mcs/; revision=141404

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 07:03:15 +0000 (07:03 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* UriTemplateTest.cs : fixed a couple of tests to match 3.5 SP1
  behavior.

* UriTemplate.cs : Fixed a couple of parse/match behavior to match
  3.5 SP1 (except for Defaults which misses implementation).

svn path=/trunk/mcs/; revision=141403

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 04:55:14 +0000 (04:55 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* Rss20FeedFormatter.cs, CategoriesDocument.cs,
  AtomPub10ServiceDocumentFormatter_1.cs,
  AtomPub10CategoriesDocumentFormatter.cs,
  AtomPub10ServiceDocumentFormatter.cs : a couple of corcompare fixes.

svn path=/trunk/mcs/; revision=141401

14 years agoforgot to add.
Atsushi Eno [Mon, 7 Sep 2009 04:08:09 +0000 (04:08 -0000)]
forgot to add.

svn path=/trunk/mcs/; revision=141400

14 years ago2009-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Sep 2009 04:06:00 +0000 (04:06 -0000)]
2009-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* System.Runtime.Serialization.dll.sources :
  added IgnoreDataMemberAttribute.cs.

* IgnoreDataMemberAttribute.cs : add missing type.
* SerializationMap.cs : support above.

* XmlObjectSerializerTest.cs : add test for [IgnoreDataMember].

svn path=/trunk/mcs/; revision=141399

14 years agoPut WindowsBase on mcs/class for System.IO.Packaging
Miguel de Icaza [Sun, 6 Sep 2009 23:19:06 +0000 (23:19 -0000)]
Put WindowsBase on mcs/class for System.IO.Packaging

svn path=/trunk/mcs/; revision=141398

14 years ago2009-09-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Sep 2009 17:20:10 +0000 (17:20 -0000)]
2009-09-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Line.cs: In DeleteCharacters, cache line.Length for every tag, since
tag.Start changes will modify it indirectly and then we would end up
with wrong values.
Fixes #512521.

svn path=/trunk/mcs/; revision=141397

14 years ago2009-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Sep 2009 14:59:29 +0000 (14:59 -0000)]
2009-09-06  Zoltan Varga  <vargaz@gmail.com>

* exceptions.cs: Add a new test.

svn path=/trunk/mono/; revision=141396

14 years ago2009-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Sep 2009 14:58:34 +0000 (14:58 -0000)]
2009-09-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Add a few more missing casts,
skip empty phi opcodes.

svn path=/trunk/mono/; revision=141395

14 years ago2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Sep 2009 10:32:38 +0000 (10:32 -0000)]
2009-09-06  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : default action name is prepended
  "urn:", and on the other hand do not add extra '/' in such case.

* HttpRequestChannel.cs : Fix message version member comparison.
  Double-quote SOAPAction. Remove extra Exception.
* HttpReplyChannel.cs : ditto for version comparison. Unquote above.
* HttpRequestContext.cs : when addressing is None, remove action
  from the message.

svn path=/trunk/mcs/; revision=141394

14 years ago2009-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Sep 2009 02:34:53 +0000 (02:34 -0000)]
2009-09-06  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : end method lookup should be
  done against the type that defines begin method.

* ClientProxyGenerator.cs : it missed end method argument on
  generating end method proxy.

svn path=/trunk/mcs/; revision=141393

14 years ago2009-09-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 6 Sep 2009 02:22:31 +0000 (02:22 -0000)]
2009-09-06 Rodrigo Kumpera  <rkumpera@novell.com>

* ConstructorOnTypeBuilderInst.cs (GetParameters): Make it work for
finished types.

svn path=/trunk/mcs/; revision=141392

14 years ago2009-09-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 6 Sep 2009 02:14:31 +0000 (02:14 -0000)]
2009-09-05  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-x86.c (needs_stack_frame): OSX requires full frames to keep proper alignment.

svn path=/trunk/mono/; revision=141391

14 years ago2009-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Sep 2009 02:06:29 +0000 (02:06 -0000)]
2009-09-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Handle unsigned volatile variables
correctly by zero extending after loads. Skip methods containing calls
to the monitor enter/exit trampolines.

svn path=/trunk/mono/; revision=141390

14 years ago2009-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Sep 2009 23:48:59 +0000 (23:48 -0000)]
2009-09-06  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c (mono_arch_create_trampoline_code): Align the stack
when calling mono_thread_force_interruption_checkpoint ().

svn path=/trunk/mono/; revision=141389

14 years ago2009-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Sep 2009 23:46:46 +0000 (23:46 -0000)]
2009-09-06  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Disable llvm when AOT compiling.

* tramp-amd64.c (mono_arch_patch_callsite): Add support for 32 bit ->
64 bit thunks.
(mono_arch_nullify_class_init_trampoline): Read 'buf' instead of 'code'.

* mini-llvm.c (mono_llvm_emit_method): Add a few missing conversions so a
bootstrap could run.

svn path=/trunk/mono/; revision=141388

14 years ago2009-09-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Sep 2009 18:22:35 +0000 (18:22 -0000)]
2009-09-05  Zoltan Varga  <vargaz@gmail.com>

* handles.c (_wapi_handle_real_new): Call _wapi_process_reap () when running
out of shared handes. Fixes #536776.

svn path=/trunk/mono/; revision=141381

14 years ago2009-09-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Sep 2009 18:22:29 +0000 (18:22 -0000)]
2009-09-05  Zoltan Varga  <vargaz@gmail.com>

* process-stress.cs: New stress test for spawning processes.

svn path=/trunk/mono/; revision=141380

14 years ago2009-09-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Sep 2009 17:22:42 +0000 (17:22 -0000)]
2009-09-05  Zoltan Varga  <vargaz@gmail.com>

* processes.c (CreateProcess): Return false and set the error to
ERROR_OUTOFMEMORY when a process handle cannot be created.
(ShellExecuteEx): Propagate an ERROR_OUTOFMEMORY error code. Fixes part of
#536776.

svn path=/trunk/mono/; revision=141379

14 years ago2009-09-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 22:31:10 +0000 (22:31 -0000)]
2009-09-05  Zoltan Varga  <vargaz@gmail.com>

* MemoryMappedFileTest.cs: Add a minimal test for CreateViewAccessor ().

svn path=/trunk/mcs/; revision=141377

14 years ago2009-09-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 22:22:58 +0000 (22:22 -0000)]
2009-09-05  Zoltan Varga  <vargaz@gmail.com>

* MemoryMappedViewAccessor.cs: New net 4.0 class.

* MemoryMappedViewStream.cs: Move the mmap code to MemoryMappedFile.cs,
so it can be used by ViewAccessor as well.

svn path=/trunk/mcs/; revision=141375

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:50:07 +0000 (21:50 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System.IO/UnmanagedMemoryAccessor.cs.

svn path=/trunk/mcs/; revision=141374

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:50:00 +0000 (21:50 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* UnmanagedMemoryAccessor.cs: New net 4.0 class.

svn path=/trunk/mcs/; revision=141373

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:49:51 +0000 (21:49 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* SafeBuffer.cs: Mark specific methods as non-cls compliant instead of
the whole class.

svn path=/trunk/mcs/; revision=141372

14 years ago2009-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Sep 2009 21:38:17 +0000 (21:38 -0000)]
2009-09-04  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: retrieve real Mono version from the runtime and
store it in the MonoVersion internal static property.

svn path=/trunk/mcs/; revision=141370

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:28:31 +0000 (21:28 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System.Runtime.InteropServices/SafeBuffer.cs.

svn path=/trunk/mcs/; revision=141369

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:28:17 +0000 (21:28 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* SafeBuffer.cs: New net 4.0 class.

svn path=/trunk/mcs/; revision=141368

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:23:36 +0000 (21:23 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Set callbacks.get_runtime_build_info ().

svn path=/trunk/mono/; revision=141367

14 years ago2009-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Sep 2009 21:23:29 +0000 (21:23 -0000)]
2009-09-04  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h (MonoRuntimeCallbacks): Add a 'get_runtime_build_info' callback.

* object.c (mono_get_runtime_callbacks): New helper function to return
the runtime callbacks.

* icall.c (ves_icall_Mono_Runtime_GetDisplayName): Use the result of
mono_get_runtime_build_info () as the display name.

svn path=/trunk/mono/; revision=141366

14 years ago * Makefile: Also rsync dblinq2007/examples sources.
Jonathan Pryor [Fri, 4 Sep 2009 20:50:26 +0000 (20:50 -0000)]
* Makefile: Also rsync dblinq2007/examples sources.
* build/DbLinq.Sqlite_test_mono_strict.dll.sources: Added; .sources
  file to build build/DbLinq.Sqlite_test_mono_strict.dll, the
  "end-to-end" unit tests for SQLite using Mono.Data.Sqlite.
* build/Makefile: Added; builds all "end-to-end" unit tests.
* examples/**/*: Sync with DbLinq r1217; includes sources needed for
  end-to-end tests located in 'build'.

svn path=/trunk/mcs/; revision=141365

14 years ago2009-09-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 4 Sep 2009 20:35:29 +0000 (20:35 -0000)]
2009-09-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: make the Sleep() alertable to prevent delays exiting
applications that take less than 2s to execute.
Bug #524984 fixed.

svn path=/trunk/mono/; revision=141363

14 years ago2009-09-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 4 Sep 2009 19:13:17 +0000 (19:13 -0000)]
2009-09-04  Miguel de Icaza  <miguel@novell.com>

* TermInfoDriver.cs: Handle a few more key combinations.

svn path=/trunk/mcs/; revision=141360

14 years ago2009-09-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 4 Sep 2009 17:35:08 +0000 (17:35 -0000)]
2009-09-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: if the request has already finished reading, don't
throw ObjectDisposedException here, just return as if nothing
happened. Fixes bug #312968.

svn path=/trunk/mcs/; revision=141346

14 years ago * src/**/*: Sync with DbLinq r1217. This removes a slew of
Jonathan Pryor [Fri, 4 Sep 2009 17:22:41 +0000 (17:22 -0000)]
* src/**/*: Sync with DbLinq r1217.  This removes a slew of
  FieldAccessExceptions when running the DbLinq unit tests.

svn path=/trunk/mcs/; revision=141344

14 years agodont crash is config is null
Geoff Norton [Fri, 4 Sep 2009 17:21:45 +0000 (17:21 -0000)]
dont crash is config is null

svn path=/trunk/mcs/; revision=141343

14 years ago2009-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Sep 2009 16:05:39 +0000 (16:05 -0000)]
2009-09-04  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: detect (and parse if possible) real Mono version
and make it available via internal, static property
MonoVersion. MonoVersionParsed property tells whether
Mono.Runtime.GetDisplayName returned string in a format we
understood.

* HttpException.cs: report real Mono version when backtrace is
displayed.

svn path=/trunk/mcs/; revision=141339

14 years agoAvoid nullref in 2.0 too
Gonzalo Paniagua Javier [Fri, 4 Sep 2009 15:15:05 +0000 (15:15 -0000)]
Avoid nullref in 2.0 too

svn path=/trunk/mcs/; revision=141334

14 years agoNew test.
Marek Safar [Fri, 4 Sep 2009 15:00:02 +0000 (15:00 -0000)]
New test.

svn path=/trunk/mcs/; revision=141332

14 years ago2009-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Sep 2009 14:59:38 +0000 (14:59 -0000)]
2009-09-04  Marek Safar  <marek.safar@gmail.com>

* statement.cs, ecore.cs: Removed error reporting from emit code.

svn path=/trunk/mcs/; revision=141331

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 13:51:22 +0000 (13:51 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* OperationInvokerHandler.cs, ReplyHandler.cs :
  - Eliminate ReplyHandler use. What is does is simple reply, while
    it brings inconsistency between sync and async models.
    What reply handler used to do are now integrated.
  - Support ErrorHandlers and InputSessionShutdownHandlers.
    Actually ErrorHandlers were processed at wrong place and they
    weren't called where they are expected.
* InputOrReplyRequestProcessor.cs : hence eliminated ReplyHandler.
* BaseRequestProcessor.cs : add FIXME notes on ErrorHandlers.

svn path=/trunk/mcs/; revision=141326

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 10:43:30 +0000 (10:43 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* OutgoingWebResponseContext.cs : add missing methods.

svn path=/trunk/mcs/; revision=141317

14 years agoNew test.
Marek Safar [Fri, 4 Sep 2009 10:42:13 +0000 (10:42 -0000)]
New test.

svn path=/trunk/mcs/; revision=141316

14 years ago2009-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Sep 2009 10:42:01 +0000 (10:42 -0000)]
2009-09-04  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay, parameter.cs: Moved parser check out of constructor

svn path=/trunk/mcs/; revision=141315

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 10:41:45 +0000 (10:41 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : remove obsoleted method.

svn path=/trunk/mcs/; revision=141314

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 09:55:04 +0000 (09:55 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : URI trailing '/' can be added only when the
  relative URI is non-empty. Do not make http://host/foo.svc as
  http://host/foo.svc/ , it's not a directory.

* SvcHttpHandler.cs : set Uri property based on baseAddresses and
  path, to pick those endpoints that are added at custom factories.

svn path=/trunk/mcs/; revision=141307

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 09:06:47 +0000 (09:06 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBaseTest.cs : a few more base address test.
  Remove NotWorking marks.

svn path=/trunk/mcs/; revision=141305

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 08:44:18 +0000 (08:44 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : add AddBaseAddress(). BaseAddresses must be
  non-null.

* ServiceHostBaseTest.cs : added test for AddBaseAddress().

svn path=/trunk/mcs/; revision=141301

14 years ago2009-09-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Sep 2009 07:45:49 +0000 (07:45 -0000)]
2009-09-04  Atsushi Enomoto  <atsushi@ximian.com>

* WebScriptServiceHostFactory.cs : endpoints are automatically added
  and if they are added through configuration, it is an error
  (as documented).

svn path=/trunk/mcs/; revision=141294