mono.git
14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:25 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-global-props-tests.md: Add test for typeref table.

* cli-tables-tests.md: Disable test that pass under MS.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:15 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the typeref table for duplicates.

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

14 years ago2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Sep 2009 21:03:05 +0000 (21:03 -0000)]
2009-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

This reverts r140936 and properly handles interfaces with static methods. The
right fix is to ensure vtables without bubles which is an easier to verify
constraint. We should avoid such special cases as of the reverted patch as those
only make the runtime more brittle.

* class.c (mono_class_setup_vtable_general): Revert previous change that handle
static methods on interfaces.

* class.c (setup_interface_offsets): Use the number of virtual methods when
calculating interface offsets instead of the number of methods. This way we
avoid bubles on the layout.

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

14 years agoRevert "2009-08-20 Geoff Norton <gnorton@novell.com>"
Geoff Norton [Tue, 1 Sep 2009 20:39:54 +0000 (20:39 -0000)]
Revert "2009-08-20  Geoff Norton  <gnorton@novell.com>"

This reverts commit c33ce01c93fcd9c03021dcd9613cdc8000d84330.

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

14 years ago2009-09-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Sep 2009 20:32:01 +0000 (20:32 -0000)]
2009-09-01  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (throw_exception): Fix the previous change by substracting
the alignment for the value of sp.

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

14 years agoadd spec file for monkeywrench
Andrew Jorgensen [Tue, 1 Sep 2009 19:28:15 +0000 (19:28 -0000)]
add spec file for monkeywrench

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

14 years ago2009-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 1 Sep 2009 19:24:40 +0000 (19:24 -0000)]
2009-09-01  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: LoadControlState must call OnTotalRowCountAvailable
after restoring the state, so that all parties subscribed to that
event are given chance to react accordingly.
SetPageProperties should use values stored in
PagePropertiesChangingEventArgs arguments after handler returns.

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

* ObjectDataSourceView.cs: ExecuteSelect must call
QueryTotalRowCount after executing the select method (that's what
.NET does)

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

14 years ago2009-09-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Sep 2009 13:42:08 +0000 (13:42 -0000)]
2009-09-01  Atsushi Enomoto  <atsushi@ximian.com>

* MustUnderstandBehavior.cs : fix build.

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

14 years ago2009-09-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Sep 2009 13:11:17 +0000 (13:11 -0000)]
2009-09-01  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs : on validation, check wrapped parameter style.

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

14 years ago2009-09-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Sep 2009 13:09:00 +0000 (13:09 -0000)]
2009-09-01  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory_1.cs : validate behaviors.

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

14 years ago2009-09-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Sep 2009 13:08:32 +0000 (13:08 -0000)]
2009-09-01  Atsushi Enomoto  <atsushi@ximian.com>

* ClientCredentials.cs, ClientViaBehavior.cs,
  MustUnderstandBehavior.cs : implement most of the methods.

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

14 years ago2009-09-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Sep 2009 12:28:44 +0000 (12:28 -0000)]
2009-09-01  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : add Extensions.

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

14 years agotypo
Gonzalo Paniagua Javier [Tue, 1 Sep 2009 10:49:34 +0000 (10:49 -0000)]
typo

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

14 years ago2009-09-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 1 Sep 2009 10:45:44 +0000 (10:45 -0000)]
2009-09-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichTextBox.cs: When saving the text to a file using SaveFile use
Environment.NewLine to separate the lines. This way we should be
saving the files according to the system.
Fixes the remaining part of #511515.

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

14 years agoFix bug #534965.
Ankit Jain [Tue, 1 Sep 2009 10:16:10 +0000 (10:16 -0000)]
Fix bug #534965.
* Project.cs (BuildTarget): Move caching of target outputs to ..
* Target.cs: .. here. Move LogTargetSkipped also here.
Ensure that caching happens for target dependencies also.

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

14 years agoFix #533572
Raja R Harinath [Tue, 1 Sep 2009 09:54:56 +0000 (09:54 -0000)]
Fix #533572

* Uri.cs (ParseNoExceptions): Don't look for '@' in absolute unix paths.

2009-09-01  Andres Aragoneses  <aaragoneses@novell.com>
* UriTest.cs: New tests from #533572.

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

14 years ago2009-09-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Sep 2009 07:07:30 +0000 (07:07 -0000)]
2009-09-01  Atsushi Enomoto  <atsushi@ximian.com>

* WebOperationContext.cs : Current is automatically created (even
  without WebHttpBehavior or WebChannelFactory).
* IncomingWebRequestContext.cs, IncomingWebResponseContext.cs:
  WebOperationContext could be created regardless of whether it is
  request or not. So do not premise incoming members existence.

* WebOperationContextTest.cs : new test.
* WebInvokeAttributeTest.cs : new test, not working.

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

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

14 years ago2009-09-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 1 Sep 2009 04:28:29 +0000 (04:28 -0000)]
2009-09-01  Geoff Norton  <gnorton@novell.com>

        * mini.c (mono_get_lmf_addr): Fix jit_thread_attach for native to
        managed wrappers in full aot.

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

14 years ago* ResolveAssemblyReference.cs (ResolveReference): targetFrameworkDirectories
Ankit Jain [Tue, 1 Sep 2009 04:04:29 +0000 (04:04 -0000)]
* ResolveAssemblyReference.cs (ResolveReference): targetFrameworkDirectories
can be null.

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

14 years ago* DirectoryScanner.cs (Scan): Ignore empty entries in includes and
Ankit Jain [Tue, 1 Sep 2009 04:04:11 +0000 (04:04 -0000)]
* DirectoryScanner.cs (Scan): Ignore empty entries in includes and
excludes.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Tue, 1 Sep 2009 04:00:38 +0000 (04:00 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Expression.cs (ParseOptions): New enum. Replace the bool params
of exression.Parse with this. Add option to control expansion of
metadata references.
(CopyToExpressionCollection): Track api changes.

Update all expr.Parse calls to use the new enum.
* BuildItem.cs, BuildProperty.cs, BuildTask.cs, Import.cs,
Target.cs, TargetBatchingImpl.cs, UsingTask.cs: Track api changes.

* BatchingImplBase.cs: Track api changes. Allow metadata refs
in task attributes.
* ConditionFactorExpression.cs: Allow metadata refs in conditions.
* ItemReference.cs: Allow metadata in transforms.
* TaskEngine.cs: Allow metadata refs.

* MetadataReference.cs (.ctor): Add a 'original string' param.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* TaskBatchingTest.cs: Add new tests for metadata refs found
in places other than task attributes.

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

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

* processes.c (EnumProcessModules): Applied patch from Romain Tartière
(romain@blogreen.org). Fix this on freebsd/OSX. Fixes #533893.

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

14 years ago2009-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 31 Aug 2009 20:56:59 +0000 (20:56 -0000)]
2009-08-31  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (get_throw_exception): Align the stack on osx.

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

14 years ago2009-08-31 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Mon, 31 Aug 2009 18:18:17 +0000 (18:18 -0000)]
2009-08-31  Michael Barker  <mike@middlesoft.co.uk>

        * Updated to version 1.6 of the RabbitMQ libraries

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

14 years ago2009-08-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 31 Aug 2009 17:42:41 +0000 (17:42 -0000)]
2009-08-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RichText.cs: Remove some unix new line characters and use
Environment.NewLine. Fixes part of #511515.

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

14 years ago2009-08-31 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 31 Aug 2009 13:33:01 +0000 (13:33 -0000)]
2009-08-31  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_metadata_header): Some very smart
obfuscators like to add extra stream headers. Ignore them.

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

14 years ago2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 Aug 2009 12:26:49 +0000 (12:26 -0000)]
2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelFactory.cs, HttpRequestChannel.cs,
  ChannelFactoryBase.cs : fix to previous one; allow null Via uri.
  Check ManualAddressing value and reject address-missing ones.

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

14 years ago2009-08-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 31 Aug 2009 12:10:33 +0000 (12:10 -0000)]
2009-08-31  Atsushi Enomoto  <atsushi@ximian.com>

* HttpChannelFactory.cs : reject URI mismatch cases when required.

* HttpTransportBindingElementTest.cs : test for URI mismatch case.

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

14 years agofix
Gonzalo Paniagua Javier [Mon, 31 Aug 2009 10:10:11 +0000 (10:10 -0000)]
fix

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

14 years agoPAtch by Adam Wendt
Gonzalo Paniagua Javier [Mon, 31 Aug 2009 09:47:49 +0000 (09:47 -0000)]
PAtch by Adam Wendt

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

14 years ago2009-08-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 31 Aug 2009 09:20:07 +0000 (09:20 -0000)]
2009-08-31 Gonzalo Paniagua Javier <gonzalo@novell.com>

* CustomizableFileSettingsProvider.cs: reset the property value
instead of using the DefaultValue.
* SettingsPropertyValue.cs: new Reset() method.
* ApplicationSettingsBase.cs: Reset happens in Reload().
Patch by Andrew Kurochka that fixes bug #532180.

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

14 years ago2009-08-30 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 30 Aug 2009 16:24:36 +0000 (16:24 -0000)]
2009-08-30  Jb Evain  <jbevain@novell.com>

* IsolatedStorageFileEnumerator.cs
* MoonIsolatedStorageFileStream.cs
* MoonIsolatedStorageFile.cs
* MoonIsolatedStorage.cs
* IsolatedStorageScope.cs
* IsolatedStorageFileStream.cs
* IsolatedStorage.cs
* IsolatedStorageFile.cs:
Use the traditional net_2_0 version of isolated storage
for MonoTouch.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Aug 2009 14:25:06 +0000 (14:25 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable_general): Verify interfaces with static
methods correctly.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Aug 2009 00:03:18 +0000 (00:03 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* MD5CngTest.cs: Update to new nunit style.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Aug 2009 00:03:10 +0000 (00:03 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* HashSetTest.cs: Fix warnings.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:34 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* System.Core_test.dll.sources: Add MemoryMappedFileTest.cs.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:26 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* MemoryMappedFileTest.cs: New file.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:20 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* Makefile: Pass -unsafe to gmcs.

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

14 years ago2009-08-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:13 +0000 (23:59 -0000)]
2009-08-30  Zoltan Varga  <vargaz@gmail.com>

* MemoryMappedViewStream.cs: Implement this for unix.

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

14 years ago2009-08-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:59:04 +0000 (23:59 -0000)]
2009-08-29  Zoltan Varga  <vargaz@gmail.com>

* net_4_0_System.Core.dll.sources: Add System.IO.MemoryMappedFiles/*.cs
and Microsoft.Win32.SafeHandles/SafeMemoryMappedFileHandle.cs.

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

14 years ago2009-08-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Aug 2009 23:58:51 +0000 (23:58 -0000)]
2009-08-29  Zoltan Varga  <vargaz@gmail.com>

* ObjectSecurity_T.cs: New file, empty stub for new net 4.0 class.

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

14 years ago2009-08-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 29 Aug 2009 21:18:32 +0000 (21:18 -0000)]
2009-08-29  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-global-props-tests.md: New tests for global
properties to check tables for.

* Makefile: Add new test source.

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

14 years ago2009-08-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 29 Aug 2009 21:18:23 +0000 (21:18 -0000)]
2009-08-29  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify for duplicated types.

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

14 years ago2009-08-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 29 Aug 2009 21:18:13 +0000 (21:18 -0000)]
2009-08-28  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_typedef_table): Verify for nested types
without an entry on the nested class table.

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

14 years ago2009-08-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 29 Aug 2009 21:09:20 +0000 (21:09 -0000)]
2009-08-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: HEAD response does not have a body even if the
response is an error. Fixes buf #535102.

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

14 years ago * man/mdoc.5: Document the new <format/> element.
Jonathan Pryor [Sat, 29 Aug 2009 20:32:54 +0000 (20:32 -0000)]
* man/mdoc.5: Document the new <format/> element.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Fri, 28 Aug 2009 21:55:29 +0000 (21:55 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Expression.cs (ExpressionOptions): New.

Introduce a ExpressionOptions argument to all ConvertTo*
methods. Implement the rule: in evaluation phase, expand
all items completely, but dont expand item refs in properties.
At other times, expand the item refs in the properties.
See comments in Expression.cs, for a full explanation.
* BuildItem.cs: Track api changes.
* BuildItemGroup.cs: Likewise.
* BuildProperty.cs: Track api changes. Handle self-references.
* BuildTask.cs: Track api changes.
* IReference.cs: Add ExpressionOptions param.
* ItemReference.cs: Track api changes.
* PropertyReference.cs: Likewise.
* MetadataReference.cs: Likewise.
* ExpressionCollection.cs: Track api changes. Add support for
converting all primitive types and DateTime, instead of a fixed
few.
* Project.cs (GetMetadataBatched): Use the evaluated metadata.
* TaskBatchingImpl.cs: Handle the case when batching is required,
but no items are available.

* TaskEngine.cs: Throw on unsupported types. Correctly handle
properties in case of empty values.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* BuildItemTest.cs (TestSetMetadata5a): New.
* ProjectTest.cs: Add tests for different property types
with required attribute. Also, check the values - null or
empty array.
* TestTasks.cs: Add new tasks for above.

In class/Microsoft.Build.Engine/Test/resources:

* TestTasks.cs: Add new tasks for different property types
with required attribute. Also, emit whether the value was
null or a zero length array.

In class/Microsoft.Build.Engine/Test/various:

* Items.cs: Add tests for property/item evaluation.

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

14 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Fri, 28 Aug 2009 21:53:50 +0000 (21:53 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* AssignCulture.cs, AssignTargetPath.cs,
CallTarget.cs, CombinePath.cs, Copy.cs,
CreateItem.cs, CreateManifestResourceName.cs,
Delete.cs, Error.cs, FindUnderPath.cs,
GenerateResource.cs, MSBuild.cs, MakeDir.cs,
Message.cs, RemoveDir.cs, RemoveDuplicates.cs,
ResolveAssemblyReference.cs, Touch.cs,
WriteLinesToFiles.cs: Add null checks and array
length checks.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* CopyTest.cs (TestCopy_EmptySources): New.
(TestCopy_EmptyDestFolder): New.

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

14 years ago2009-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 28 Aug 2009 20:33:21 +0000 (20:33 -0000)]
2009-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm-cpp.cpp mini-llvm.c: Update to latest llvm api.

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

14 years ago2009-08-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 28 Aug 2009 15:45:24 +0000 (15:45 -0000)]
2009-08-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextBoxTest.cs: Improve the ModifiedTest test.

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

14 years ago2009-08-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 28 Aug 2009 15:43:26 +0000 (15:43 -0000)]
2009-08-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextBoxBase.cs: Modified should *not* be modified from the Text
property, as our new tests show. It should be to false, however, in
Append and Clear; and Paste, Cut, Undo, and direct user input should set it
to true. Also, as opposed to what the .net docs say -but proven by our
tests-, the changes should be generating a ModifiedChanged event
(thus we set the property, instead of the field).
Fixes #511267.

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

14 years ago2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Aug 2009 10:51:46 +0000 (10:51 -0000)]
2009-08-28  Atsushi Enomoto  <atsushi@ximian.com>

* UnixEncodingTest.cs : upgrade to modern nunit style.

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

14 years ago2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Aug 2009 10:39:36 +0000 (10:39 -0000)]
2009-08-28  Atsushi Enomoto  <atsushi@ximian.com>

* upgraded to modern nunit style.

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

14 years ago2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Aug 2009 10:36:33 +0000 (10:36 -0000)]
2009-08-28  Atsushi Enomoto  <atsushi@ximian.com>

* DataGridViewCellTest.cs : nunit test upgrade to modern style.

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

14 years ago2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Aug 2009 10:28:08 +0000 (10:28 -0000)]
2009-08-28  Atsushi Enomoto  <atsushi@ximian.com>

* TestBlend.cs, TestMatrix.cs : nunit test upgrade to modern style.

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

14 years ago2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Aug 2009 10:22:46 +0000 (10:22 -0000)]
2009-08-28  Atsushi Enomoto  <atsushi@ximian.com>

* TestColor.cs, TestPoint.cs, TestGraphics.cs, TestSystemBrushes.cs,
  TestPens.cs, TestSize.cs, TestSystemPens.cs: nunit test upgrade.

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

14 years ago2009-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 27 Aug 2009 23:38:42 +0000 (23:38 -0000)]
2009-08-28  Zoltan Varga  <vargaz@gmail.com>

* cominterop.c (cominterop_get_ccw): Applied patch from tom hindle
<tom_hindle@sil.org>. Add locking around hash table accesses.

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

14 years ago2009-08-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Aug 2009 19:59:18 +0000 (19:59 -0000)]
2009-08-25  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_verifier_verify_class): Verify all interface if
really are interfaces. Fixes #534184.

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

14 years ago2009-08-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Aug 2009 19:59:07 +0000 (19:59 -0000)]
2009-08-27  Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c: Initialize all types during metadata validation so we report
errors only detected as part of class initialization.

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

14 years ago2009-08-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 27 Aug 2009 17:44:47 +0000 (17:44 -0000)]
2009-08-27  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Fire the CellDoubleClicked event.
[Fixes bug #533430]

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

14 years ago2009-08-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 27 Aug 2009 17:27:51 +0000 (17:27 -0000)]
2009-08-27  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Add support for column DataGridViewAutoSizeColumnMode
DisplayedCells and DisplayedCellsExceptHeader.
[Fixes bug #533435]

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

14 years agoadd monotouch sources file
Jb Evain [Thu, 27 Aug 2009 11:45:11 +0000 (11:45 -0000)]
add monotouch sources file

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

14 years ago2009-08-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Aug 2009 11:18:51 +0000 (11:18 -0000)]
2009-08-27  Atsushi Enomoto  <atsushi@ximian.com>

        * PipeStream.cs : add set_Stream.
        * PipeUnix.cs : some impl. code (not really functional).

        * Makefile : add -r:Mono.Posix on required profiles.

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

14 years ago2009-08-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 27 Aug 2009 11:02:51 +0000 (11:02 -0000)]
2009-08-27  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: when HttpRequest.FilePath is '/' in
GetAbsoluteVirtualPath, don't try to use
VirtualPathUtility.GetDirectory on it. Fixes bug #532679

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

14 years ago2009-08-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 27 Aug 2009 08:49:46 +0000 (08:49 -0000)]
2009-08-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextControl.cs: When removing a simple char, actually record the
action in the undo manager. This way we both support undoing the
removal of chars using backspace/delete, as well as keeping data
integrity when other undo tasks are performed.
Fixes #531983.

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

14 years ago2009-08-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 26 Aug 2009 21:36:04 +0000 (21:36 -0000)]
2009-08-26  Sebastien Pouliot  <sebastien@ximian.com>

* TimeSpanTest.cs: Add test case where seconds are not specified.

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

14 years agoTimeSpan.cs: Fix parsing when seconds are not specified.
Sebastien Pouliot [Wed, 26 Aug 2009 21:35:22 +0000 (21:35 -0000)]
TimeSpan.cs: Fix parsing when seconds are not specified.

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

14 years ago2009-08-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 26 Aug 2009 20:01:05 +0000 (20:01 -0000)]
2009-08-26  Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: Regression test for #534189

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

14 years ago2009-08-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 26 Aug 2009 20:00:55 +0000 (20:00 -0000)]
2009-08-26  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_method_table): PInvoke requires method to
be static. Fixes #534189

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

14 years ago2009-08-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 26 Aug 2009 19:18:49 +0000 (19:18 -0000)]
2009-08-26  Marek Habersack  <mhabersack@novell.com>

* IApplicationHost.cs: added

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

14 years agothis is internal
Gonzalo Paniagua Javier [Wed, 26 Aug 2009 18:05:19 +0000 (18:05 -0000)]
this is internal

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

14 years ago2009-08-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 26 Aug 2009 11:02:17 +0000 (11:02 -0000)]
2009-08-26  Marek Habersack  <mhabersack@novell.com>

* AspTokenizer.cs: when there's put back record and we're in
verbatim mode, get_token must be careful with what it returns - it
can't return Token.* values, instead it should look at Value and
retrieve the next token from it. Fixes bug #400807

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

* TemplateControlCompilerTest.cs: added test for bug #400807

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

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/OneLetterIdentifierInCodeRender.aspx

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

14 years ago2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Aug 2009 10:40:05 +0000 (10:40 -0000)]
2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs : When received Connect() from neighbor,
  add the peer to its internal list.
  Finally ChatApplication got working.

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

14 years ago2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Aug 2009 09:51:10 +0000 (09:51 -0000)]
2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs : since the channel factory is per instance,
  do not reuse factory that is tied to different callback instance.
  It resolved the issue that mono callback client didn't receive
  messages from the client itself.

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

14 years ago2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Aug 2009 08:24:36 +0000 (08:24 -0000)]
2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* SilverlightClientConfigLoader.cs : add (incomplete) binary
  encoder support at config layer. see:
  http://lists.ximian.com/pipermail/mono-list/2009-August/043245.html

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

14 years ago2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Aug 2009 07:16:25 +0000 (07:16 -0000)]
2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* PeerNode.cs : use ulong as same as Welcome message value.

* PeerDuplexChannel.cs : in the Welcome response, return the NodeId
  of the receiver, not the requestor. It resolved the issue that
  .NET client didn't send further messages to mono server.

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

14 years ago2009-08-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 26 Aug 2009 06:53:55 +0000 (06:53 -0000)]
2009-08-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* System.dll.sources:
* monotouch_System.dll.sources:
* System20.csproj: add Mono.Http/NtmlClient.cs

* Mono.Http/ChangeLog: New file.
* Mono.Http/NtlmClient.cs: copied from Mono.Http.
* System.Net/NtlmClient.cs: use Mono.Http.NtmlClient from System
instead of dynamically loading the one in Mono.Http.

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

14 years ago2009-08-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Aug 2009 05:00:42 +0000 (05:00 -0000)]
2009-08-26  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
  TcpReplyChannel.cs, TcpRequestChannel.cs,
  NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
  rename EndRecord handling method to appropriate one.
  Write EndRecord from recipient too.

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

14 years ago* xbuild/Microsoft.Common.targets: Remove dummy
Ankit Jain [Wed, 26 Aug 2009 01:56:25 +0000 (01:56 -0000)]
* xbuild/Microsoft.Common.targets: Remove dummy
@(_TargetPathItem), since we support item refs with transforms
as a property value.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 26 Aug 2009 01:56:11 +0000 (01:56 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Expression.cs: Correctly handle a item reference with transform
when allowItems is false. If item ref is ignored, then the transform
will get incorrectly matched as a metadata ref.
* ItemReference.cs (.ctor): Add a @original_string param.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateItemTest.cs (TestVariableExpansion): Update test to
use a transform with a item reference in a property.

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

14 years ago* Utilities.cs (UnescapeFromXml): New. From md.
Ankit Jain [Wed, 26 Aug 2009 01:55:56 +0000 (01:55 -0000)]
* Utilities.cs (UnescapeFromXml): New. From md.
* BuildProperty.cs (.ctor): Unescape xml codes from the InnerXml
of the property element.

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

14 years agoFix bug #533903.
Ankit Jain [Tue, 25 Aug 2009 23:53:01 +0000 (23:53 -0000)]
Fix bug #533903.
* xbuild/Microsoft.Common.targets: Support building projects
directly from command line. Builds referenced projects. Honors
$(BuildingSolutionFile) and $(BuildingInsideVisualStudio) now.
Also, clean referenced projects.

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

14 years agoEnsure that properties are fully expanded.
Ankit Jain [Tue, 25 Aug 2009 23:50:37 +0000 (23:50 -0000)]
Ensure that properties are fully expanded.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* BuildProperty.cs (ConvertToString): New.
(ConvertoToITaskItemArray): New. Parse the property value.
* PropertyReference.cs (ConvertToString): Use BuildProperty's
ConvertToString.
(ConvertoToITaskItemArray): Likewise.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* CreateItemTest.cs (TestVariableExpansion): New.
* CreatePropertyTest.cs (TestExecution2): New.

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

14 years ago2009-08-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Aug 2009 22:20:48 +0000 (22:20 -0000)]
2009-08-26  Zoltan Varga  <vargaz@gmail.com>

* threads.c (mono_thread_suspend_all_other_threads): Handle 'threads_starting_ip'
being NULL.

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

14 years ago2009-08-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 25 Aug 2009 21:04:51 +0000 (21:04 -0000)]
2009-08-25  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs:
Detect IE conditional comments when processing comment blocks in
TextParsed. Fixes bug #367273

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

* TemplateControlCompilerTest.cs:
Added test for bug #367273

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

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ConditionalClientComments.aspx

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

14 years ago2009-08-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 25 Aug 2009 17:50:45 +0000 (17:50 -0000)]
2009-08-25  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_setup_vtable_general): Verify the resulting vtable
for holes or bad methods. Fixes #525314.

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

14 years ago2009-08-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 25 Aug 2009 17:50:34 +0000 (17:50 -0000)]
2009-08-25  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (setup_interface_offsets): Don't allocate slot
for the same interface multiple times. This creates bubbles
that waster space and make vtable verification harder.

The same interface get a slot multiple times since we need
to get the closure of all implemented interfaces, which means
the same interface is reported multiple times.

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

14 years agoremove WCF from monotouch
Jb Evain [Tue, 25 Aug 2009 16:19:09 +0000 (16:19 -0000)]
remove WCF from monotouch

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

14 years ago2009-08-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 25 Aug 2009 15:19:50 +0000 (15:19 -0000)]
2009-08-25  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_verifier_verify_class): Don't check the fields
of generic instances since the context on which they got expanded
might lead to false positives.

Such thing happens when a generic type is inflated in the context
of a generic method and the inflated type of a field turns into a
generic method argument, which causes the checking code to think
it's an invalid class when it's not.

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

14 years agobring xpath to monotouch xlinq
Jb Evain [Tue, 25 Aug 2009 14:33:21 +0000 (14:33 -0000)]
bring xpath to monotouch xlinq

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

14 years agonew test case
Gonzalo Paniagua Javier [Tue, 25 Aug 2009 14:31:10 +0000 (14:31 -0000)]
new test case

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

14 years agoNew test, msg update.
Marek Safar [Tue, 25 Aug 2009 14:22:37 +0000 (14:22 -0000)]
New test, msg update.

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

14 years agoNew test.
Marek Safar [Tue, 25 Aug 2009 14:21:45 +0000 (14:21 -0000)]
New test.

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

14 years ago2009-08-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Aug 2009 14:20:34 +0000 (14:20 -0000)]
2009-08-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #533912
* generic.cs: Use correct context for constraints resolving.

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

14 years agoFixes a warning.
Marek Safar [Tue, 25 Aug 2009 14:10:02 +0000 (14:10 -0000)]
Fixes a warning.

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

14 years ago2009-08-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Aug 2009 11:34:26 +0000 (11:34 -0000)]
2009-08-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #532630
* driver.cs: Trim conditional symbols.

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

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

* AspGenerator.cs: correctly parse server-side tags nested in
client-side ones. Fixes bug #323719

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

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/TagsNestedInClientTag.aspx

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

* TemplateControlCompilerTest.cs: added test for bug #323719

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

14 years agobring a net_2_0 feature set to monotouch
Jb Evain [Tue, 25 Aug 2009 10:18:20 +0000 (10:18 -0000)]
bring a net_2_0 feature set to monotouch

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

14 years agoadd StringCollection to the monotouch profile
Jb Evain [Tue, 25 Aug 2009 10:17:10 +0000 (10:17 -0000)]
add StringCollection to the monotouch profile

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

14 years ago2009-08-25 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 25 Aug 2009 09:23:28 +0000 (09:23 -0000)]
2009-08-25  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #521951
* DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
DataTable/DataRelation obj instead of only DataRelation.

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