mono.git
14 years ago* AssemblyInfo.cs: Don't make internals visible to System.Web_test.
Raja R Harinath [Mon, 6 Jul 2009 19:15:09 +0000 (19:15 -0000)]
* AssemblyInfo.cs: Don't make internals visible to System.Web_test.

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

14 years ago* UrlUtilsTest.cs: Use SystemWebTestShim.UriUtils.
Raja R Harinath [Mon, 6 Jul 2009 19:14:48 +0000 (19:14 -0000)]
* UrlUtilsTest.cs: Use SystemWebTestShim.UriUtils.

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

14 years agoExpose internal constructors of various Adapter types.
Raja R Harinath [Mon, 6 Jul 2009 18:54:18 +0000 (18:54 -0000)]
Expose internal constructors of various Adapter types.

In class/System.Web/Test/System.Web.UI.Adapters:

* PageAdapterTest.cs (MyPage): Derive from SystemWebTestShim.Page.
(MyPageAdapter): Derive from SystemWebTestShim.PageAdapter.
(MyPageAdapter.GetPostBAckFormReference): New forwarding method.

In class/System.Web/Test/System.Web.UI.WebControls.Adapters:

* DataBoundControlAdapterTest.cs: Derive from
SystemWebTestShim.DataBoundControlAdapter.
* HideDisabledControlAdapterTest.cs (Render): Use
SystemWebTestShim.HideDisabledControlAdapter.
* HierarchicalDataBoundControlAdapterTest.cs: Derive from
SystemWebTestShim.HierarchicalDataBoundControlAdapter.
* MenuAdapterTest.cs: Derive from SystemWebTestShim.MenuAdapter.
* WebControlAdapterTest.cs: Derive from
SystemWebTestShim.WebControlAdapter.cs.

In class/SystemWebTestShim:

* SystemWebTestShim.dll.sources: Add Adapters.cs

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

14 years agoMore forwarding methods
Raja R Harinath [Mon, 6 Jul 2009 18:32:33 +0000 (18:32 -0000)]
More forwarding methods

* PageAdapterTest.cs (MyPage.MyDeterminePostBackMode): New
forwarding method to expose protected method.
(MyPageAdapter): Change constructor argument to type 'MyPage'.

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

14 years ago* MenuAdapterTest.cs (MyMenuAdapter): Add new forwarding methods
Raja R Harinath [Mon, 6 Jul 2009 18:32:05 +0000 (18:32 -0000)]
* MenuAdapterTest.cs (MyMenuAdapter): Add new forwarding methods
to expose protected base methods.

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

14 years ago* HtmlFormTest.cs: Derive from SystemWebTestShim.Page to make
Raja R Harinath [Mon, 6 Jul 2009 18:02:16 +0000 (18:02 -0000)]
* HtmlFormTest.cs: Derive from SystemWebTestShim.Page to make
explicit the dependence on the internals of the Page class.

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

14 years ago2009-07-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 6 Jul 2009 17:40:28 +0000 (17:40 -0000)]
2009-07-06 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequestTest.cs: add tests for POST + redirect and 401.

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

14 years agoKill some un-necessary 'protected internal override'
Raja R Harinath [Mon, 6 Jul 2009 16:59:32 +0000 (16:59 -0000)]
Kill some un-necessary 'protected internal override'

* DataBoundControlAdapterTest.cs (PerformDataBinding): Don't use
'protected internal' when overriding a method from a different assembly.
* HideDisabledControlAdapterTest.cs (RenderContents): Likewise.
* HierarchicalDataBoundControlAdapterTest.cs (PerformDataBinding): Likewise.
* MenuAdapterTest.cs (OnInit, OnPreRender, RaisePostBackEvent)
(RenderContents): Likewise.
* WebControlAdapterTest.cs (RenderContents): Likewise.

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

14 years ago* ControlAdapterTest.cs: Use SystemWebTestShim to set
Raja R Harinath [Mon, 6 Jul 2009 16:02:42 +0000 (16:02 -0000)]
* ControlAdapterTest.cs: Use SystemWebTestShim to set
HttpCapabilitiesBase internal flag.

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

14 years agoUse ExpectedException(string) when referring to internal exception types
Raja R Harinath [Mon, 6 Jul 2009 16:02:16 +0000 (16:02 -0000)]
Use ExpectedException(string) when referring to internal exception types

In class/System.Web/Test/System.Web.Compilation:

* TemplateControlCompilerTest.cs (InvalidPropertyBindTest1):
Don't use 'typeof' on a System.Web internal exception type.
(InvalidPropertyBindTest3): Likewise.

In class/System.Web/Test/System.Web.UI:

* PageParserTest.cs (MissingMasterFile): Don't use 'typeof' on a
System.Web internal exception type.

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

14 years agoNew test.
Marek Safar [Mon, 6 Jul 2009 15:01:02 +0000 (15:01 -0000)]
New test.

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

14 years ago2009-07-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 6 Jul 2009 14:58:42 +0000 (14:58 -0000)]
2009-07-06  Marek Safar  <marek.safar@gmail.com>

A fix for bug #519005
* anonymous.cs: Use null_type as no return type placeholder.

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

14 years ago* AssemblyInfo.cs: Don't make internals visible to
Raja R Harinath [Mon, 6 Jul 2009 14:53:43 +0000 (14:53 -0000)]
* AssemblyInfo.cs: Don't make internals visible to
System.Web.Extensions_test and System.Web.DynamicData_test.

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

14 years ago* WebTest.cs (Run): Use SystemWebTestShim.BuildManager.
Raja R Harinath [Mon, 6 Jul 2009 14:53:19 +0000 (14:53 -0000)]
* WebTest.cs (Run): Use SystemWebTestShim.BuildManager.

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

14 years agoAdd SystemWebTestShim so that we can avoid InternalsVisibleTo(testsuite)
Raja R Harinath [Mon, 6 Jul 2009 14:52:54 +0000 (14:52 -0000)]
Add SystemWebTestShim so that we can avoid InternalsVisibleTo(testsuite)

class/Makefile (common_dirs): Add SystemWebTestShim.
class/System.Web/Makefile (TEST_MCS_FLAGS): Reference SystemWebTestShim.
class/System.Web.DynamicData/Makefile: Likewise.
class/System.Web.Extensions/Makefile: Likewise.

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

14 years agofix build: comment out non-checked-in files
Raja R Harinath [Mon, 6 Jul 2009 14:52:31 +0000 (14:52 -0000)]
fix build: comment out non-checked-in files

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

14 years agofix build
Raja R Harinath [Mon, 6 Jul 2009 14:52:09 +0000 (14:52 -0000)]
fix build

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

14 years agofix build break
Raja R Harinath [Mon, 6 Jul 2009 14:51:46 +0000 (14:51 -0000)]
fix build break

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

14 years ago* Makefile (net_1_1_dirs): Move Mono.Cecil ...
Raja R Harinath [Mon, 6 Jul 2009 13:04:54 +0000 (13:04 -0000)]
* Makefile (net_1_1_dirs): Move Mono.Cecil ...
(common_dirs): ... here.

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

14 years ago2009-07-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 5 Jul 2009 10:26:21 +0000 (10:26 -0000)]
2009-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: When computing the width of each tab page, use the
page's Font instead of the tab control one.
Fixes #514368.

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

14 years agoFix distcheck building on OS X
jonas [Sat, 4 Jul 2009 15:02:34 +0000 (15:02 -0000)]
Fix distcheck building on OS X

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

14 years ago2009-07-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 3 Jul 2009 15:07:04 +0000 (15:07 -0000)]
2009-07-03  Marek Habersack  <mhabersack@novell.com>

* Added some resources to WebPages - a test web page for
DynamicControlTest and the required DynamicData scaffolding.

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

* Makefile: added more resources to the test assembly

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

* DynamicControlTest.cs: added

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

* DynamicDataContainerModelProvider.cs,
DynamicDataContainerTableProvider.cs: are generic classes now.

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

* IDynamicDataContainer.cs: became a generic interface.

* DynamicDataSource.cs; some reformatting.
DynamicDataSourceView is a generic class now.

* DynamicDataContainer.cs: IDynamicDataContainer is a generic
interface now.

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

* TestsSetup.cs: custom WebTest setup for DynamicData

* TestsBasePage.cs: a base class for all the web pages used by the
tests.

* MiscExtensions.cs: added some helper extensions for fishing out
controls from control trees.

* ITestDataContext.cs: GetTableData gets full set of query
arguments.

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

* AssemblyInfo.cs: added. Necessary, because we need to set up
WebTest environment and it is done via an assembly-level custom
attribute.

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

14 years ago2009-07-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 3 Jul 2009 13:57:36 +0000 (13:57 -0000)]
2009-07-03  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (finish_gray_stack): Set the to_space pointer after
        processing the disappearing links, and process disappearing links
        in a loop until no new objects are copied.

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

14 years ago2009-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Jul 2009 13:42:48 +0000 (13:42 -0000)]
2009-07-03  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (get_unbox_trampoline): Add an rgctx trampoline
after the unbox trampoline in the full-aot case.

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

14 years ago2009-07-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Jul 2009 13:17:29 +0000 (13:17 -0000)]
2009-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MenuAPI.cs: When handling the Keys.Left key, don't close the menu if
the current menu is specifically a ContextMenu (this is what .net does
as well). This way we also avoid a crash caused by MenuTracker trying
to use the menu when it was already hidden.

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

14 years ago2009-07-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Jul 2009 05:12:05 +0000 (05:12 -0000)]
2009-07-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PrintPreviewDialog.cs: Remove the code used to handle the
DropDown menu, since we are now doing it by default in ToolBar, and
just call the base impl as needed.Also, deactivate the dropdown menu
before moving the focus to a different button in our toolbar, as .net
does.
* ContextMenu.cs:
* MenuAPI.cs: Make as internal the needed bits to deactivate a
ContextMenu, and also to keep some beauty in our api.

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

14 years agoAnother fixlet
Marek Habersack [Thu, 2 Jul 2009 23:40:29 +0000 (23:40 -0000)]
Another fixlet

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

14 years agotypo fix
Marek Habersack [Thu, 2 Jul 2009 23:22:38 +0000 (23:22 -0000)]
typo fix

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

14 years ago2009-07-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Jul 2009 23:05:02 +0000 (23:05 -0000)]
2009-07-03  Marek Habersack  <mhabersack@novell.com>

* WebTestResourcesSetupAttribute.cs: added. Can be used to specify
resources setup method alternative to the default
WebTest.CopyResources (). Useful in cases when WebTest is used
outside System.Web tests and different initial resources are
required.

* WebTest.cs: check whether the assembly WebTest is found in is
decorated with the WebTestResourcesSetup attribute and, if yes,
use handler specified by the attribute to perform initial
resources copying in EnsureHosting ().

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 23:03:11 +0000 (23:03 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: provide better error message when there's an error
writing.
* WebConnectionStream.cs: don't nullify the buffer until
CheckFinalStatus() decides that there are no more authentication
retries or redirects.

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

14 years ago2009-07-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 2 Jul 2009 22:41:39 +0000 (22:41 -0000)]
2009-07-03  Mark Probst  <mark.probst@gmail.com>

        * object.c (handle_enum): Invoke the write barrier when copying
        value type instances.

        * sgen-gc.c: Register remsets for unmanaged write barriers only
        when the address written to is actually on the heap.  This makes
        set_value() in object.c work without requiring that the result be
        on the heap.

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 22:39:54 +0000 (22:39 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpsClientStream.cs: if there's only an ICertificatePolicy and no
ServerCertificateValicationCallback, don't fail.

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

14 years ago2009-07-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Jul 2009 20:18:56 +0000 (20:18 -0000)]
2009-07-02 Rodrigo Kumpera  <rkumpera@novell.com>

The runtime wrappers are all bound to a given type that must
exist in the same image. For regular images we use the <Module>
type, which is required to exist for all images.

The <Module> type can't be used for dynamic images because it
might not exist at the time the wrapper is required, so we create
a synthetic type to use instead.

The current code works because of the 2 stage setup of MonoClass,
but once this is gone it will no longer work.

* icall-def.h: Add ModuleBuilder::set_wrappers_type.

* metadata-internals.h (MonoDynamicImage): Add wrappers_type.

* object-internals.h: Export mono_image_set_wrappers_type icall
as part of the internal API.

* marshal.c (get_wrapper_target_class): If the image is dynamic,
use MonoDynamicImage::wrappers_type instead of the <Module> type.

reflection.c: Add mono_image_set_wrappers_type qhixh sets the dynamic
image wrappers_type to the provided value.

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

14 years ago2009-07-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Jul 2009 20:18:39 +0000 (20:18 -0000)]
2009-07-01 Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c (deregister_reflection_info_roots): No need
to use the image lock here.

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

14 years ago2009-07-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Jul 2009 20:09:39 +0000 (20:09 -0000)]
2009-07-02 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyBuilder.cs: Add IsRun property that returns true if
any execute mode is enabled.

* ModuleBuilder.cs: Add set_wrappers_type icall to define which type
is to be bound to wrappers. Create a new abstract type and call it
when the assembly is build this way.

Replace explicit checks for global_type with calls to CreateGlobalType.

* TypeBuilder.cs: Internal ctor now takes an extra table_idx argument.

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

14 years ago2009-07-02 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 2 Jul 2009 18:49:19 +0000 (18:49 -0000)]
2009-07-02  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (collect_nursery): Also scan from write-barrier roots.

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

14 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 18:32:20 +0000 (18:32 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceBehaviorAttribute.cs : fill SingletonInstanceContext on
  opening the host.

* ChannelDispatcherTest.cs : add singleton instance context test
  (but disabled, for some weird conflict).

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

14 years agokick buildbot
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 17:59:43 +0000 (17:59 -0000)]
kick buildbot

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

14 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 16:07:53 +0000 (16:07 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : actually it had to fill all of
  the interface methods (and implementation methods).

* ContractDescriptionTest.cs : make sure the contract actually
  contains operations from the base types.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 16:05:40 +0000 (16:05 -0000)]
2009-07-02  Marek Safar <marek.safar@gmail.com>

* CSharpConversionKind.cs, CSharpArgumentInfo.cs,
CSharpInvokeMemberBinder.cs, CSharpCallFlags.cs: New files.

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

14 years agooops
Jb Evain [Thu, 2 Jul 2009 14:34:16 +0000 (14:34 -0000)]
oops

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

14 years agogrr
Jb Evain [Thu, 2 Jul 2009 13:42:37 +0000 (13:42 -0000)]
grr

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

14 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 13:05:39 +0000 (13:05 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexChannelBase.cs : some more async methods.

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

14 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 12:59:32 +0000 (12:59 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : do not reject derived service
  contract from another service contract type.

* ContractDescriptionTest.cs : added test for derived contract type.

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

14 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 12:55:33 +0000 (12:55 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: fix cecil's location.

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

14 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 12:54:50 +0000 (12:54 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: fix cecil's location.

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

14 years agoNew test.
Marek Safar [Thu, 2 Jul 2009 12:31:00 +0000 (12:31 -0000)]
New test.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 12:28:33 +0000 (12:28 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* generic.cs: Handle type inference of identical type parameters
with different bounds.

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

14 years agoFlush.
Marek Safar [Thu, 2 Jul 2009 12:21:47 +0000 (12:21 -0000)]
Flush.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 12:17:02 +0000 (12:17 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Makefile: Add System.Dynamic.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 12:13:06 +0000 (12:13 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Makefile: Initial commit.

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

14 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 11:59:18 +0000 (11:59 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: monolinker is now a 2.0 assembly.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:57:13 +0000 (11:57 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* net_4_0_System.Core.dll.sources: New file.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:50:24 +0000 (11:50 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Initial import, revision 25679.

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

14 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 11:48:59 +0000 (11:48 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: adjust to the linker build change.

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

14 years ago2009-07-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Jul 2009 11:48:38 +0000 (11:48 -0000)]
2009-07-02  Jb Evain  <jbevain@novell.com>

* Makefile: build the linker and the tuner in the net_2_0 profile.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:26:51 +0000 (11:26 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* ConditionalWeakTable.cs: New file.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:19:09 +0000 (11:19 -0000)]
2009-07-02  Marek Safar <marek.safar@gmail.com>

* StrongBox_T.cs: Add 4.0 bits.

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

14 years ago2009-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Jul 2009 11:07:29 +0000 (11:07 -0000)]
2009-07-02  Marek Safar  <marek.safar@gmail.com>

* Type.cs, AppDomain.cs: 4.0 bits.

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

14 years agoadd test
Jb Evain [Thu, 2 Jul 2009 10:58:16 +0000 (10:58 -0000)]
add test

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

14 years ago2009-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jul 2009 10:29:59 +0000 (10:29 -0000)]
2009-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : when service instance is provided to the
  ServiceHost, do not reject Type-less state.

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

14 years ago2009-07-02 jonas echterhoff <jonas@unity3d.com>
jonas [Thu, 2 Jul 2009 07:59:30 +0000 (07:59 -0000)]
2009-07-02  jonas echterhoff <jonas@unity3d.com>

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:44:14 +0000 (07:44 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* X509Certificate2.cs:
* X509Chain.cs: changes to make everything compile with latest changes
and fixed typo in IsChainComplete().

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

14 years agomake it compile
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:42:17 +0000 (07:42 -0000)]
make it compile

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:39:44 +0000 (07:39 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpsClientStream.cs: invoke the ServerCertificateValidationCallback
in the 2.0 profile. If there's a CertificatePolicy, it is run before
the 2.0 callback.

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:39:40 +0000 (07:39 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ServicePointManager.cs: implement ServerCertificateValidationCallback.
* DefaultCertificatePolicy.cs: if there's a SCVC registered, don't do
normal error checking.a

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

14 years agofix
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:34:09 +0000 (07:34 -0000)]
fix

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:33:12 +0000 (07:33 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: avoid duplicating Accept-Encoding if GetHeaders()
is called twice.
* WebConnectionStream.cs: don't send a 0 content length for non-write
requests.

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

14 years ago2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Jul 2009 07:22:59 +0000 (07:22 -0000)]
2009-07-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: must use the 'int' version in 1.1.

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

14 years ago2009-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 2 Jul 2009 04:05:41 +0000 (04:05 -0000)]
2009-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolBar.cs: When handling the key down message, if we are on a
drop down button, either show the DropDownMenu or pass the key to its
ProcessCmdKey method as needed.
Fixes the remaining bits of #509985.

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

14 years agoNew test.
Marek Safar [Wed, 1 Jul 2009 19:03:59 +0000 (19:03 -0000)]
New test.

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

14 years agoNew tests.
Marek Safar [Wed, 1 Jul 2009 19:03:25 +0000 (19:03 -0000)]
New tests.

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

14 years ago2009-07-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Jul 2009 19:02:50 +0000 (19:02 -0000)]
2009-07-01  Marek Safar  <marek.safar@gmail.com>

* expression.cs, class.cs: Events variance.

* cs-parser.jay: Interface events error messages.

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

14 years ago2009-07-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 1 Jul 2009 16:49:32 +0000 (16:49 -0000)]
2009-07-01 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs:
* ServicePoint.cs: UseNagleAlgorithm determines NoDelay value.

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

14 years agoNew test.
Marek Safar [Wed, 1 Jul 2009 16:27:30 +0000 (16:27 -0000)]
New test.

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

14 years agoNew tests.
Marek Safar [Wed, 1 Jul 2009 16:27:17 +0000 (16:27 -0000)]
New tests.

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

14 years ago2009-07-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Jul 2009 16:27:01 +0000 (16:27 -0000)]
2009-07-01  Marek Safar  <marek.safar@gmail.com>

* generic.cs, argument.cs: Updated type inference logic to C# 4.0.

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

14 years agoDisable sqlmetal nunit tests since they haven't compiled for some time
Raja R Harinath [Tue, 30 Jun 2009 15:23:05 +0000 (15:23 -0000)]
Disable sqlmetal nunit tests since they haven't compiled for some time

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

14 years ago* XPathNavigatorTests.cs (XPathDocumentMoveToId) [!NET_2_0]: Fix compile.
Raja R Harinath [Tue, 30 Jun 2009 15:15:39 +0000 (15:15 -0000)]
* XPathNavigatorTests.cs (XPathDocumentMoveToId) [!NET_2_0]: Fix compile.

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

14 years ago* errors/Makefile (run-test-local): Make parallel-make safe.
Raja R Harinath [Tue, 30 Jun 2009 15:15:17 +0000 (15:15 -0000)]
* errors/Makefile (run-test-local): Make parallel-make safe.

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

14 years ago2009-06-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 30 Jun 2009 09:06:16 +0000 (09:06 -0000)]
2009-06-30  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: TextParsed must remove client-side comments
from the passed text before attempting to parse the text for
server side controls and expressions. Fixes bug #517656

2009-06-30  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompilerTest.cs: added test for bug #517656

2009-06-30  Marek Habersack  <mhabersack@novell.com>

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

2009-06-30  Marek Habersack  <mhabersack@novell.com>

* NunitWebResources/ServerControlInClientSideComment.aspx: added

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

14 years ago * ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
Carlos Alberto Cortez [Tue, 30 Jun 2009 05:06:29 +0000 (05:06 -0000)]
* ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
set current_item when navigating with the keyboard, so we can use it
properly later. Finally, handle both Enter and Space to fire
OnButtonClick *only*, without any other impact, as .net does.
Fixes part of #509985.

2009-06-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 03:05:58 +0000 (03:05 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* IntPtrTest.cs: Disable a test whose corresponding fix was reverted.

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

14 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 02:57:09 +0000 (02:57 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* ReadOnlyCollectionBaseTest.cs NewArrayListTest.cs: Convert all tests
to new-style nunit classes/methods.

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

14 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 02:50:34 +0000 (02:50 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* DebugTest.cs TextWriterTraceListenerTest.cs: Convert all tests to
new-style nunit classes/methods.

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

14 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Jun 2009 02:34:35 +0000 (02:34 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods. Enable
some hidden tests.

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

14 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 23:32:45 +0000 (23:32 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* ObjectTest.cs RandomTest.cs SByteTest.cs SingleTest.cs
TimeZoneTest.cs UInt16Test.cs UInt32Test.cs UInt64Test.cs
UIntPtrTest.cs ValueTypeTest.cs: Convert all tests to new-style nunit
classes/methods. Enable some hidden tests.

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

14 years ago2009-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 22:53:45 +0000 (22:53 -0000)]
2009-06-30  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mini_regression): Handle loading errors. Fixes #508869.

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

14 years ago2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:10:45 +0000 (22:10 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Parameter.cs: add new DbType property.

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

14 years ago2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:02:41 +0000 (22:02 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* LicenseProviderAttribute.cs: avoid nullref when provider has not
been set or cannot be loaded.

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

14 years ago2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:01:19 +0000 (22:01 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TemplateControlCompiler.cs: use the 'Empty' field for Unit and
FontUnit.

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

14 years agoNew tests.
Marek Safar [Mon, 29 Jun 2009 19:46:12 +0000 (19:46 -0000)]
New tests.

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

14 years agoNew tests.
Marek Safar [Mon, 29 Jun 2009 19:45:19 +0000 (19:45 -0000)]
New tests.

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

14 years ago2009-06-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Jun 2009 19:44:26 +0000 (19:44 -0000)]
2009-06-29  Marek Safar  <marek.safar@gmail.com>

* parameter.cs, convert.cs, expression.cs, class.cs: Default
parameter expression can be value-type New.

* cs-parser.jay: Clean up too many parameter modifier boolean flags.

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

14 years ago2009-06-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 29 Jun 2009 17:16:30 +0000 (17:16 -0000)]
2009-06-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MenuAPI.cs: Close any active menu when we get a simple Alt.
Fixes #509299.

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

14 years ago2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Jun 2009 17:08:50 +0000 (17:08 -0000)]
2009-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : do not iterate extra channel acceptance
  and hence close channels a bit more gracefully.

* TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
  (almost) no time.
* TcpChannelListener.cs : accept multiple channels at a time.

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

14 years agoincrease timeouts to make this work on machines under load
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 15:52:42 +0000 (15:52 -0000)]
increase timeouts to make this work on machines under load

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

14 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 15:25:29 +0000 (15:25 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* generic-stack-traces.2.cs: Add a test for #509406.

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

14 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 15:25:22 +0000 (15:25 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (get_generic_context_from_stack_frame): Fix the case
when the generic instance is an instantiation of a subclass of the
methods class. Fixes #517166.

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

14 years ago2009-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Jun 2009 14:39:54 +0000 (14:39 -0000)]
2009-06-29  Zoltan Varga  <vargaz@gmail.com>

* threads.c: Store the thread start argument in a hash table instead of
registering it as a root, as libgc doesn't support unregistering roots
under windows, leading to 'too many root sets' errors when many threads
are created.

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