mono.git
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

14 years agoRemoved no longer used DeclContainer
Marek Safar [Tue, 25 Aug 2009 09:17:26 +0000 (09:17 -0000)]
Removed no longer used DeclContainer

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

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

* WebColorConverter.cs: inform the user that the might need to
check if libgdiplus is installed when parsing a color name
fails. Fixes bug #533749

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

14 years agoRequires gmcs
Marek Safar [Tue, 25 Aug 2009 08:33:13 +0000 (08:33 -0000)]
Requires gmcs

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

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

* context.cs: New file.

* *.exe.sources, *.csproj: Updated.

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

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

* generic.cs, parameter.cs, decl.cs, statement.cs, namespace.cs,
class.cs, generic-mcs.cs, codegen.cs: Add GetSignatureForError to
IMembercontext, some small cleanups.

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

14 years ago2009-08-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 25 Aug 2009 01:26:46 +0000 (01:26 -0000)]
2009-08-24  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_verifier_verify_class): Check fields for
invalid generic arguments.

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

14 years ago2009-08-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Aug 2009 00:54:41 +0000 (00:54 -0000)]
2009-08-25  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_exception_debug_info): Emit ei->flags too.

* aot-runtime.c (decode_exception_debug_info): Decode ei->flags from the
saved info.

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

14 years ago2009-08-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Aug 2009 23:41:36 +0000 (23:41 -0000)]
2009-08-24  Rodrigo Kumpera  <rkumpera@novell.com>

* load-exceptions.cs:
* load-missing.il: Test for virtual and static methods.

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

14 years ago2009-08-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Aug 2009 23:41:27 +0000 (23:41 -0000)]
2009-08-24  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (verify_class_overrides): Verify if for static
and non virtual methods.

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

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

* icaa.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor):
Check for errors after retrieving the vtable.

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

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

* load-exceptions.cs:
* load-missing.il: Test for invalid method overrides.

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

14 years ago2009-08-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Aug 2009 22:30:55 +0000 (22:30 -0000)]
2009-08-24  Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_setup_vtable_general): Verify
if method overrides are valid before processing them.

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

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

* mini.h (MONO_AOT_FILE_VERSION): Bump this.

* aot-runtime.c aot-compiler.c: Emit exception causes fully so we don't
depend on the info MonoMethodHeader which could be missing in IL stripped
assemblies.

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

14 years ago2009-08-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Aug 2009 22:25:36 +0000 (22:25 -0000)]
2009-08-25  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (add_general): Fix the passing of 64 bit values on darwin, where
they are only 4 byte aligned.

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

14 years ago2009-08-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 24 Aug 2009 22:18:38 +0000 (22:18 -0000)]
2009-08-24  Marek Safar  <marek.safar@gmail.com>

* *.cs: Split ResolveContext and EmitContext.

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

14 years ago2009-08-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 24 Aug 2009 20:34:57 +0000 (20:34 -0000)]
2009-08-24  Marek Habersack  <mhabersack@novell.com>

* PageParser.cs: 2.0 profile takes advantage of the inputFile
parameter to GetCompiledPageInstance. A check is made whether the
file pointed to by this parameter is inside the application's
virtual path and if not, the compilation request is assumed to
refer to a fake location. Part of fix for bug #463813

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

* PageBuildProvider.cs: MapPath now takes a VirtualPath
instance. Part of fix for bug #463813

* BuildManager.cs: public APIs which take virtual path strings as
their parameters got internal counterparts accepting a VirtualPath
instance in place of string. Part of fix for bug #463813

* GenericBuildProvider.cs:
MapPath now takes a VirtualPath instance. Part of fix for bug
#463813

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

* SoapDocumentationHandler.cs: get rid of the ugly fake virtual
path hack when creating the helper page. Part of fix for bug
#463813

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

* VirtualPath.cs: Added new constructor which takes virtual and
physical paths as well as a boolean marking the instance as
referring to a fake location. Part of fix for bug #463813

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

14 years ago * Control.cs: Remove the ancient code in ResetText, which was setting
Carlos Alberto Cortez [Mon, 24 Aug 2009 18:45:35 +0000 (18:45 -0000)]
* Control.cs: Remove the ancient code in ResetText, which was setting
the internal field to String.Empty, instead of doing it for our Text
property, as .net does (which also causes a TextChanged event and all
the other related routines).
Fixes #531587.

2009-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years agofix take 2
Gonzalo Paniagua Javier [Mon, 24 Aug 2009 18:34:51 +0000 (18:34 -0000)]
fix take 2

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

14 years ago* LibraryPcFileCache.cs: New. From monodevelop.
Ankit Jain [Mon, 24 Aug 2009 18:13:42 +0000 (18:13 -0000)]
* LibraryPcFileCache.cs: New. From monodevelop.
* PcFileCache.cs: Update from monodevelop, see r140528.
* AssemblyResolver.cs: Track api changes.

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

14 years ago * TreeNodeCollection.cs: Correctly implement Contains by using a
Carlos Alberto Cortez [Mon, 24 Aug 2009 18:01:10 +0000 (18:01 -0000)]
* TreeNodeCollection.cs: Correctly implement Contains by using a
linear search - there's no possible way to use a binary search, since
the node instances are not implementing IComparable, nor have a
specific order.
Fixes #529927.

2009-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Mon, 24 Aug 2009 17:42:15 +0000 (17:42 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* CreateManifestResourceName.cs (GetResourceIdFromFileName): Spaces
in folder names should be converted to '_'.

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

* CreateCSharpManifestResourceNameTest.cs:
* CreateVisualBasicManifestResourceNameTest.cs: Add tests for
folder name with spaces in it.

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

14 years ago2009-08-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Aug 2009 16:58:23 +0000 (16:58 -0000)]
2009-08-24  Rodrigo Kumpera  <rkumpera@novell.com>

* marshal.c (mono_array_to_lparray): Fix minimal build with
cominterop disabled.

* marshal.c (mono_free_lparray): Same.

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

14 years agofix packaging
Gonzalo Paniagua Javier [Mon, 24 Aug 2009 15:26:02 +0000 (15:26 -0000)]
fix packaging

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

14 years ago2009-08-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 24 Aug 2009 15:13:20 +0000 (15:13 -0000)]
2009-08-24  Marek Safar  <marek.safar@gmail.com>

* *.cs: Only ResolveContext implements IMemberContext.

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

14 years ago * DataGrid.cs: If we are *not* changing a row
Carlos Alberto Cortez [Mon, 24 Aug 2009 15:02:57 +0000 (15:02 -0000)]
* DataGrid.cs: If we are *not* changing a row
already added to the source, and thus we are adding a new
row instead, try to move to the previous row when Esc is
pressed -if possible-.
Fixes some bits of #322974.

2009-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years ago2009-08-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 24 Aug 2009 12:34:56 +0000 (12:34 -0000)]
2009-08-24  Marek Habersack  <mhabersack@novell.com>

* TemplateBuildProvider.cs: ExtractDependencies checks if the
input has already been parsed/compiled and, if yes, adds
dependencies from the TemplateParser to the list of the ones
extracted locally. Fixes bug #377915

* GenericBuildProvider.cs: added Parsed property.

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

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

* PeerDuplexChannel.cs : add PeerFlooder header (see comment).
  Process PeerTo header to upgrade Message To header. Now mono
  service accepts mono client (somehow not true for .NET client).

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

14 years ago2009-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 Aug 2009 09:54:17 +0000 (09:54 -0000)]
2009-08-24  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs, TcpRequestChannel.cs,
  NamedPipeRequestChannel.cs : no need to add ReplyTo headers.

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

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

* PeerDuplexChannel.cs : fix PeerTo/PeerVia header namespace.

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

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

* Constants.cs : p2p constants should rather go here.

* IPeerConnectorContract.cs : use common Constants class.

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

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

* ClientRuntimeChannel.cs, DuplexClientRuntimeChannel.cs : split out
  from former to latter and implemented most part of listener part.
  Make sure to open internal channel at base ClientRuntimeChannel.
* ClientProxyGenerator.cs : minimize !NET_2_1 to here.

* System.ServiceModel.dll.sources: added
  DuplexClientRuntimeChannel.cs and CallbackInstanceContextProvider.cs.

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

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

* CallbackInstanceContextProvider.cs : new instance context provider
  used by duplex client dispatcher.

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

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

* SecurityHandler.cs : skip callback duplex blocker.

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

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

* EndpointDispatcher.cs, ChannelDispatcher.cs : differentiate
  service dispatch and callback client dispatch at initialization.

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

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

* TcpDuplexSessionChannel.cs : check channel state before processing
  Send and Receive.

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

14 years ago2009-08-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 24 Aug 2009 04:38:25 +0000 (04:38 -0000)]
2009-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGridTextBoxColumn.cs:
* DataGrid.cs: Moving the cell to the add row (the last one) should
not immediately add a new row - this should happen until the very
first change happens in that textbox.
Fixes part of #322974.

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

14 years ago2009-08-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 23 Aug 2009 06:14:52 +0000 (06:14 -0000)]
2009-08-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* deflate.c:
* gzio.c:
* deflate.h:
* zutil.h:
* crc32.c:
* trees.c:
* zconf.h:
* inffast.c:
* compress.c:
* zlib.h:
* inftrees.c:
* inflate.c:
* inflate.h:
* adler32.c:
* infback.c: updated to 1.2.3.3

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

14 years ago2009-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Aug 2009 22:46:42 +0000 (22:46 -0000)]
2009-08-21  Marek Safar  <marek.safar@gmail.com>

* *.cs: Detached ResolveContext from EmitContext.

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

14 years ago2009-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Aug 2009 21:42:23 +0000 (21:42 -0000)]
2009-08-21  Marek Safar  <marek.safar@gmail.com>

* *.cs: Detached ResolveContext from EmitContext.

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

14 years ago2009-08-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 21 Aug 2009 20:55:44 +0000 (20:55 -0000)]
2009-08-21  Marek Habersack  <mhabersack@novell.com>

* Menu.cs: separator image is rendered next to the item in
horizontal layout and is preceeded by 3px spacer (unless
itemSpacing is set) to make output match .NET. Fixes bug #474716

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

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

* mini-arm.c (mono_arch_allocate_vars): Use FP as the frame pointer as
was done previously, since using SP causes too many problems.

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

14 years ago2009-08-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 21 Aug 2009 19:52:11 +0000 (19:52 -0000)]
2009-08-21  Marek Habersack  <mhabersack@novell.com>

* GenericBuildProvider.cs: added internal property LanguageName
override which calls GetParserLanguage to get language name
instead of using the application default one.

* BuildManagerDirectoryBuilder.cs: removed CodeDOM provider cache,
provider types are retrieved from build providers while assigning
them to groups. Fixes bug #533166

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

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

* exceptions-arm.c: Fix the handling of sp/fp so unwinding through
frames without a frame pointer works.

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

14 years ago2009-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Aug 2009 17:45:42 +0000 (17:45 -0000)]
2009-08-21  Marek Safar  <marek.safar@gmail.com>

* *.cs: Renamed IResolveContext to IMemberContext.

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

14 years ago2009-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Aug 2009 17:33:38 +0000 (17:33 -0000)]
2009-08-21  Marek Safar  <marek.safar@gmail.com>

* *.cs: Detached ResolveContext from EmitContext.

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

14 years ago2009-08-21 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 21 Aug 2009 16:52:46 +0000 (16:52 -0000)]
2009-08-21  Mark Probst  <mark.probst@gmail.com>

* mono-hash.c: When creating a hash table, if the keys are managed
objects, assert that we have a hash function.  Remove the
rehashing after GC marking.

2009-08-21  Mark Probst  <mark.probst@gmail.com>

* threadpool.c (mono_thread_pool_init): Use mono_object_hash() as
the hash function for the ares_htable.

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

14 years ago2009-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Aug 2009 16:19:41 +0000 (16:19 -0000)]
2009-08-21  Marek Safar  <marek.safar@gmail.com>

* codegen.cs: Moved flow-analysis to BlockContext.

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

14 years agoUpdated.
Marek Safar [Fri, 21 Aug 2009 14:08:12 +0000 (14:08 -0000)]
Updated.

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

14 years ago2009-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 21 Aug 2009 14:07:18 +0000 (14:07 -0000)]
2009-08-21  Marek Safar  <marek.safar@gmail.com>

* *.cs: Detached BlockContext from EmitContext.

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

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

* ChannelDispatcher.cs : also made reference to host optional.

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

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

* ChannelDispatcher.cs : isolated loop manager class from parent,
  as well as moved some code from parent.

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

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

* ServiceHostBase.cs : some refactoring to reduce weird limitation
  to apply behaviors to endpoints. (no need to limit to [0]).

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

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

* ServiceHostBase.cs : some refactoring to isolate dispatcher
  builder code from here.

* ServiceMetadataExtension.cs:
  some dependent changes to ServiceHostBase.

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

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

* ChannelDispatcherCollection.cs : remove extra members.

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

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

* ChannelDispatcher.cs, EndpointDispatcher.cs :
  moved some initialization code from ServiceHostBase, to start
  reducing dependencies on ServiceHostBase.

* ServiceHostBase.cs : moved some code to channel/endpoint dispatcher
  to reduce their dependencies on this type.

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

14 years agoChanged max depth of call chains to 128.
Massimiliano Mantione [Fri, 21 Aug 2009 06:06:22 +0000 (06:06 -0000)]
Changed max depth of call chains to 128.

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

14 years agoReport all wrapper types.
Massimiliano Mantione [Fri, 21 Aug 2009 06:06:19 +0000 (06:06 -0000)]
Report all wrapper types.

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