mono.git
13 years ago* xbuild/Microsoft.CSharp.targets (CoreCompile): Add
Ankit Jain [Thu, 22 Jul 2010 00:15:30 +0000 (00:15 -0000)]
* xbuild/Microsoft.CSharp.targets (CoreCompile): Add
$(MSBuildAllProjects) to inputs.
* xbuild/Microsoft.VisualBasic.targets (CoreCompile): Likewise.

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

13 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 21 Jul 2010 23:41:04 +0000 (23:41 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* ConsoleLogger.cs: Add support for parameter 'NoItemAndPropertyList'.

In tools/xbuild:
* Parameters.cs (ProcessConsoleLoggerParameters): Correctly split arg.

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

13 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 21 Jul 2010 23:40:32 +0000 (23:40 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Project.cs: Add reserved properties MSBuildProjectFullPath
and MSBuildProjectExtension .

In tools/xbuild:

* xbuild/*/Microsoft.Common.targets: Set MSBuildAllProjects property.
* xbuild/Microsoft.CSharp.targets: Likewise.

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

13 years ago2010-07-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 21 Jul 2010 22:53:58 +0000 (22:53 -0000)]
2010-07-21  Miguel de Icaza  <miguel@novell.com>

* HttpApplication.cs, HttpRuntime.cs, HttpApplicationFactory.cs:
Prepare for the runtime change that will terminate threadpool

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

13 years ago2010-07-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 21 Jul 2010 21:47:44 +0000 (21:47 -0000)]
2010-07-21  Miguel de Icaza  <miguel@novell.com>

* Array.cs: Fixes a couple of other cases where we were missing
the handling for null values, fixes a broken case of null
handling.

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

13 years ago2010-07-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 21 Jul 2010 18:38:29 +0000 (18:38 -0000)]
2010-07-21  Geoff Norton  <gnorton@novell.com>

* sgen-archdep.h: Fix the build on amd64-darwin.

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

13 years agoWed Jul 21 16:00:08 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 21 Jul 2010 14:01:13 +0000 (14:01 -0000)]
Wed Jul 21 16:00:08 CEST 2010 Paolo Molaro <lupus@ximian.com>

* SecurityRuleSet.cs: this enum is actually a byte, the msdn docs are
wrong.

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

13 years ago * Syscall.cs: Add bindings to the various epoll
Jackson Harper [Wed, 21 Jul 2010 13:41:47 +0000 (13:41 -0000)]
  * Syscall.cs: Add bindings to the various epoll
        functions. (epoll_create, epoll_ctl, epoll_wait).

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

13 years agoIn .:
Sebastien Pouliot [Wed, 21 Jul 2010 13:36:35 +0000 (13:36 -0000)]
In .:
2010-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Ensure SECURITY_DEP gets defined in our moonlight
raw profile

In System.Net:
2010-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* ServicePointManager.cs: Add special validation for Moonlight
* WebConnection.cs: Change a define to NET_2_1

In System.Net.Security:
2010-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* LocalCertificateSelectionCallback.cs:
* SslStream.cs:
Don't use alias in moonlight build (not needed and breaks
compilation otherwise)

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

13 years ago2010-07-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Jul 2010 13:28:22 +0000 (13:28 -0000)]
2010-07-21  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig_2_1.cs: Ensure Aes[Managed] can be created from
our managed SSL/TLS implementation

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

13 years ago2010-07-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 21 Jul 2010 12:58:22 +0000 (12:58 -0000)]
2010-07-21  Marek Habersack  <mhabersack@novell.com>

* Wizard.cs: made rendering 100% compliant with .NET (button IDs,
2.0+)
Implemented LayoutTemplate (4.0+)

* LinkButton.cs: render id first

* CreateUserWizard.cs: CreateUserNavigationContainer.UpdateState
doesn't add a previous button if we're on the first step.

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

13 years ago2010-07-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 21 Jul 2010 12:58:13 +0000 (12:58 -0000)]
2010-07-20  Marek Habersack  <mhabersack@novell.com>

* StyleCollection.cs: added

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

13 years ago2010-07-21 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 21 Jul 2010 09:03:28 +0000 (09:03 -0000)]
2010-07-21  Jb Evain  <jbevain@novell.com>

* AppDomain.cs: add IsFullyTrusted stub.

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

13 years ago* xbuild/Microsoft.Silverlight.Common.targets: Set AssemblySearchPaths
Ankit Jain [Wed, 21 Jul 2010 02:27:08 +0000 (02:27 -0000)]
* xbuild/Microsoft.Silverlight.Common.targets: Set AssemblySearchPaths
to the default value except PkgConfig and GAC. Suggested by Rolf.

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

13 years ago2009-07-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Jul 2010 01:32:51 +0000 (01:32 -0000)]
2009-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Add test case for #556181

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

13 years ago2010-07-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 20 Jul 2010 21:33:20 +0000 (21:33 -0000)]
2010-07-20  Miguel de Icaza  <miguel@novell.com>

* Array.cs: fast path for the case where the pivot is null;
Fixes the crash on the build.

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

13 years ago2010-07-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Jul 2010 21:20:35 +0000 (21:20 -0000)]
2010-07-20  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (op_to_op_src2_membase): Reorganize the amd64 op->op membase
code, it was missing a few 'break's.

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

13 years agoFix a warning.
Zoltan Varga [Tue, 20 Jul 2010 18:59:57 +0000 (18:59 -0000)]
Fix a warning.

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

13 years ago2010-07-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Jul 2010 18:59:52 +0000 (18:59 -0000)]
2010-07-20  Zoltan Varga  <vargaz@gmail.com>

* src/glib.h (G_LIKELY): Implement these for gcc properly.

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

13 years ago2010-07-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 20 Jul 2010 17:31:31 +0000 (17:31 -0000)]
2010-07-20  Miguel de Icaza  <miguel@novell.com>

* parser.cs (ParseEscape): Now parses with some context, whether
we are parsing inside a character range which can not contain
back-references or when we are parsing on a string context which
can contain back references.

This fixes bug #577346 which exposed a bug parsing this:

new Regex("[\\177-\\377]")

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

13 years ago2010-07-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 20 Jul 2010 14:39:59 +0000 (14:39 -0000)]
2010-07-20  Sebastien Pouliot  <sebastien@ximian.com>

* NoAccessPolicy.cs: Set default to SecurityException each time
IsAllowed is called since we share a single instance of this type

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

13 years agodocument patch
Jb Evain [Tue, 20 Jul 2010 14:02:49 +0000 (14:02 -0000)]
document patch

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

13 years agore introduce 153628
Jb Evain [Tue, 20 Jul 2010 14:01:42 +0000 (14:01 -0000)]
re introduce 153628

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

13 years ago2010-07-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 19 Jul 2010 23:51:35 +0000 (23:51 -0000)]
2010-07-20  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mini_emit_inst_for_method): Add Array.GetLength/GetLowerBound ().
Fixes #618176.

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

13 years ago2010-07-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Jul 2010 21:12:46 +0000 (21:12 -0000)]
2010-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* ClientCredentials.cs: Fix NET_2_1 builds

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

13 years ago2010-07-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 19 Jul 2010 20:49:04 +0000 (20:49 -0000)]
2010-07-19  Miguel de Icaza  <miguel@novell.com>

* src/gmisc-win32.c (g_getenv): Distinguish between variable not
found and an empty variable.

This should fix 566152

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

13 years ago2010-07-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Jul 2010 20:30:10 +0000 (20:30 -0000)]
2010-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* BaseDomainPolicy.cs:
* ICrossDomainPolicy.cs:
* NoAccessPolicy.cs:
* PolicyDownloadPolicy.cs:
* SiteOfOriginPolicy.cs:
Allow throwing something else than a SecurityException
which is pretty rare but we got a DRT for it

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

13 years ago2010-07-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 19 Jul 2010 18:15:13 +0000 (18:15 -0000)]
2010-07-19  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Remove width==height check when deserializing (uncommon
but valid icons). Fix bug #581400

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

13 years agoForward port this
Geoff Norton [Mon, 19 Jul 2010 17:17:53 +0000 (17:17 -0000)]
Forward port this

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

13 years ago2010-07-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 19 Jul 2010 16:12:47 +0000 (16:12 -0000)]
2010-07-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* UnixRegistryApi.cs: Remove the in-memmory approach to volatile keys,
as it becomes trickier to handle deep hiearchies, subkeys and values
in some scenarios. So for now we keep them in disk, we in an
alternative directory, so we can cleam them properly later.

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

13 years ago2010-07-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 19 Jul 2010 13:05:30 +0000 (13:05 -0000)]
2010-07-19  Marek Habersack  <mhabersack@novell.com>

* SqlDataSourceView.cs: added the RaiseUnsupportedCapabilityError
method (2.0+)

* RoleGroupCollection.cs: added OnValidate (undocumented) overload

* ParameterCollection.cs: added missing Add method overload (2.0+)

* LiteralControlBuilder.cs: added the AppendLiteralString method
override (2.0+)

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

13 years ago2010-07-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 19 Jul 2010 13:05:21 +0000 (13:05 -0000)]
2010-07-19  Marek Habersack  <mhabersack@novell.com>

* DataKey.cs: implemented IEquatable interface methods (4.0)

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

13 years ago2010-07-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 19 Jul 2010 13:05:12 +0000 (13:05 -0000)]
2010-07-19  Marek Habersack  <mhabersack@novell.com>

* XmlDataSource.cs: implemented CacheKeyContext property (4.0)

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

13 years ago2010-07-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 19 Jul 2010 13:05:03 +0000 (13:05 -0000)]
2010-07-19  Marek Habersack  <mhabersack@novell.com>

* MultilineStringConverter.cs: implemented

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

13 years agoFix for monotouch
Geoff Norton [Mon, 19 Jul 2010 01:41:34 +0000 (01:41 -0000)]
Fix for monotouch

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

13 years ago2010-07-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 19 Jul 2010 00:19:02 +0000 (00:19 -0000)]
2010-07-19  Zoltan Varga  <vargaz@gmail.com>

* src/glib.h (G_MAXUINT64): Define this. Fixes #623293.

* src/eglib-config.hw: Define UINT64_MAX.

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

13 years ago2010-07-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Jul 2010 20:38:39 +0000 (20:38 -0000)]
2010-07-17  Miguel de Icaza  <miguel@novell.com>

* Array.cs: Fix for bug #622101, this reverts portions of the
broken patch that was introduced as part of the fix for #351638
which was mostly a set of optimizations, but some were just
wrong.

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

13 years ago2010-07-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Jul 2010 23:51:18 +0000 (23:51 -0000)]
2010-07-16  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs (CopyFromScreen): Avoid crash if asked for a region
to big for XGetImage to return. Fix bug #582823

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

13 years ago2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 16 Jul 2010 19:02:59 +0000 (19:02 -0000)]
2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebClient.cs: ignore values set in CachePolicy and
UseDefaultCredentials instead of throwing NIEX.

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 18:49:03 +0000 (18:49 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Fix the arm build by passing a MonoGenericSharingContext to get_call_info.

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

13 years ago2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 16 Jul 2010 18:32:53 +0000 (18:32 -0000)]
2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* src/gmisc-unix.c: include config.h. Fixes bug #609632.
Use getpwuid_r instead of getpwent_r.

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

13 years ago2010-07-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Jul 2010 17:40:53 +0000 (17:40 -0000)]
2010-07-16  Marek Habersack  <mhabersack@novell.com>

* FolderLevelBuildProviderAppliesTo.cs,
FolderLevelBuildProviderAppliesToAttribute.cs: added

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

13 years agofill missing members in Mtom / ongoing sslnego WS-Trust work.
Atsushi Eno [Fri, 16 Jul 2010 17:31:30 +0000 (17:31 -0000)]
fill missing members in Mtom / ongoing sslnego WS-Trust work.

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

13 years ago2010-07-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Jul 2010 17:26:43 +0000 (17:26 -0000)]
2010-07-16  Marek Habersack  <mhabersack@novell.com>

* PasswordRecovery.cs: implemented RenderOuterTable
(4.0)

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

13 years ago2010-07-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Jul 2010 17:26:35 +0000 (17:26 -0000)]
2010-07-16  Marek Habersack  <mhabersack@novell.com>

* Login.cs: implemented RenderOuterTable (4.0)

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

13 years ago2010-07-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Jul 2010 17:26:21 +0000 (17:26 -0000)]
2010-07-16  Marek Habersack  <mhabersack@novell.com>

* FormViewRow.cs: added internal property RenderJustCellContents
which makes the control render only its children (4.0)

* FormView.cs: implemented RenderOuterTable property and the
ModifiedOuterTableStylePropertyName method (4.0)

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

13 years ago2010-07-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 16 Jul 2010 15:41:59 +0000 (15:41 -0000)]
2010-07-16  Sebastien Pouliot  <sebastien@ximian.com>

* MD2Managed.cs:
* MD4Managed.cs:
Increment ibStart in HashCore

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

13 years ago* xbuild/Microsoft.Silverlight.Common.targets: Set Inputs/Outputs
Ankit Jain [Fri, 16 Jul 2010 15:35:18 +0000 (15:35 -0000)]
* xbuild/Microsoft.Silverlight.Common.targets: Set Inputs/Outputs
for GenerateXap target.

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

13 years ago* XamlG.cs (Execute): Fix earlier commit, include the filename.
Ankit Jain [Fri, 16 Jul 2010 15:34:57 +0000 (15:34 -0000)]
* XamlG.cs (Execute): Fix earlier commit, include the filename.

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

13 years agoFlush
Miguel de Icaza [Fri, 16 Jul 2010 15:17:38 +0000 (15:17 -0000)]
Flush

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

13 years agoFlush
Miguel de Icaza [Fri, 16 Jul 2010 15:17:05 +0000 (15:17 -0000)]
Flush

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

13 years ago* Respack.cs (Execute): Skip if output file is up-to-date wrt
Ankit Jain [Fri, 16 Jul 2010 14:56:38 +0000 (14:56 -0000)]
* Respack.cs (Execute): Skip if output file is up-to-date wrt
the input files. Bug reported by Rolf.

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

13 years ago* XamlG.cs: Fix arg to XamlGCompiler, to use path relative to project
Ankit Jain [Fri, 16 Jul 2010 14:29:12 +0000 (14:29 -0000)]
* XamlG.cs: Fix arg to XamlGCompiler, to use path relative to project
dir. Bug uncovered by Rolf.

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

13 years ago* AbsoluteToRelativePath: New.
Ankit Jain [Fri, 16 Jul 2010 14:27:14 +0000 (14:27 -0000)]
* AbsoluteToRelativePath: New.
* RelativeToAbsolutePath: New. Taken from monodevelop.
* GetReservedMetadata: Correctly handle 'RelativeDir' .

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 10:34:38 +0000 (10:34 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Remove the 'LLVM backend is experimental' warning.

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 10:34:32 +0000 (10:34 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Add more SIMD instructions.

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 08:39:18 +0000 (08:39 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_print_unhandled_exception): Fix a warning.

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

13 years agoAdd documentation for System.Diagnostics.Contracts namespace.
Chris Bacon [Fri, 16 Jul 2010 08:28:50 +0000 (08:28 -0000)]
Add documentation for System.Diagnostics.Contracts namespace.

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

13 years agoFix a typo.
Zoltan Varga [Fri, 16 Jul 2010 08:16:50 +0000 (08:16 -0000)]
Fix a typo.

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

13 years ago2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 16 Jul 2010 05:10:35 +0000 (05:10 -0000)]
2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.c: fixes bug #622398 for real in OSX.
This was preventing the WSQ from working.

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

13 years agoSmall bug fix
Miguel de Icaza [Fri, 16 Jul 2010 04:44:17 +0000 (04:44 -0000)]
Small bug fix

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

13 years agorevert. Not needed
Gonzalo Paniagua Javier [Fri, 16 Jul 2010 03:52:00 +0000 (03:52 -0000)]
revert. Not needed

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

13 years agoMove
Miguel de Icaza [Fri, 16 Jul 2010 02:42:34 +0000 (02:42 -0000)]
Move

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

13 years agoUpdate man
Miguel de Icaza [Thu, 15 Jul 2010 22:34:31 +0000 (22:34 -0000)]
Update man

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

13 years ago2010-07-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Jul 2010 22:33:14 +0000 (22:33 -0000)]
2010-07-15  Miguel de Icaza  <miguel@novell.com>

* mini.c: Allow "casts" to be passed on MONO_DEBUG as well.

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

13 years ago2010-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 15 Jul 2010 22:11:19 +0000 (22:11 -0000)]
2010-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: use a monitor thread to start up new ones when needed.
Fixes bug #622398.

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

13 years ago2010-07-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Jul 2010 19:30:33 +0000 (19:30 -0000)]
2010-07-15  Marek Habersack  <mhabersack@novell.com>

* WebControl.cs: implemented verifying that no inline style
property is set for controls which support the RenderOuterTable
property (4.0)

* IRenderOuterTable.cs: internal helper interface for controls
which support the RenderOuterTable property (for now only
ChangePassword, 3 more to come)

* ChangePassword.cs: implemented RenderOuterTable property and the
corresponding behavior of not rendering surrounding table when the
property is set to false (4.0).
Modified BaseChangePasswordContainer to not inherit from Table
anymore. Table is an instance variable (always used as the
template container in 2.0) which is optionally (and by default)
used to contain the templates.

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

13 years ago2010-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Jul 2010 19:01:04 +0000 (19:01 -0000)]
2010-07-15  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c: Change the calling convention to pass this as first as on other
architectures. Remove some dead code from the get_vcall_slot() and the implementation
of the CALL_MEMBASE opcodes as a result.

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

13 years ago2010-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Jul 2010 19:00:55 +0000 (19:00 -0000)]
2010-07-15  Zoltan Varga  <vargaz@gmail.com>

* wthreads.c (CreateThread): Avoid an assert if the stack size specified by the
caller is smaller than the system minimum.

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

13 years ago2010-07-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Jul 2010 18:40:52 +0000 (18:40 -0000)]
2010-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* LinearGradientBrushTest.cs: Add test case for #537396 (empty rects)

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

13 years agoAdd Punycode encoder, to be used one day by Uri.cs
Miguel de Icaza [Thu, 15 Jul 2010 18:38:11 +0000 (18:38 -0000)]
Add Punycode encoder, to be used one day by Uri.cs

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

13 years agobatch commit from local git changes.
Atsushi Eno [Thu, 15 Jul 2010 17:09:35 +0000 (17:09 -0000)]
batch commit from local git changes.

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

13 years agoupdated to the latest code from Mono.Security.
Atsushi Eno [Thu, 15 Jul 2010 17:09:00 +0000 (17:09 -0000)]
updated to the latest code from Mono.Security.

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

13 years ago2010-07-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Jul 2010 16:51:09 +0000 (16:51 -0000)]
2010-07-15  Marek Habersack  <mhabersack@novell.com>

* PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
property

* MultiViewControlBuilder.cs: added

More 2.0/4.0 metadata updates

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

13 years agoThu Jul 15 18:44:44 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Jul 2010 16:47:18 +0000 (16:47 -0000)]
Thu Jul 15 18:44:44 CEST 2010 Paolo Molaro <lupus@ximian.com>

* reflection.c, class-internals.h, class.c, icall.c: support
reflection of default constant value for Re.Emit properties.

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

13 years agoApply CategoryAttribute fix to XamlDirectiveTest.cs too
Raja R Harinath [Thu, 15 Jul 2010 15:38:20 +0000 (15:38 -0000)]
Apply CategoryAttribute fix to XamlDirectiveTest.cs too

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

13 years ago2010-07-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Jul 2010 04:51:52 +0000 (04:51 -0000)]
2010-07-14  Miguel de Icaza  <miguel@novell.com>

* reflection.c (load_cattr_value): Add support for encoding
DateTime constants into the blob.    Turns out that this is
required by .NET, it was only documented post 1.0.

* icall.c (ves_icall_type_GetTypeCodeInternal): Guard test for
System.Decimal and System.DateTime inside a mono_is_corlib_image
call.   A sample program showed that we could return the wrong
TypeCode just by creating a class with those names.

* class.c (mono_is_corlib_image): Exposed this to other metadata/
code.

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

13 years ago2010-07-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Jul 2010 04:51:01 +0000 (04:51 -0000)]
2010-07-15  Miguel de Icaza  <miguel@novell.com>

* FieldBuilderTest.cs: Add new test that exercises encoding
datetime constants with SetConstant.

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

13 years agoremove extra package line and add it to each profile directory.
Atsushi Eno [Thu, 15 Jul 2010 03:56:26 +0000 (03:56 -0000)]
remove extra package line and add it to each profile directory.

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

13 years agothis too.
Atsushi Eno [Thu, 15 Jul 2010 03:53:36 +0000 (03:53 -0000)]
this too.

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

13 years agothis too.
Atsushi Eno [Thu, 15 Jul 2010 03:53:18 +0000 (03:53 -0000)]
this too.

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

13 years agoadd new 2.1-only directory.
Atsushi Eno [Thu, 15 Jul 2010 03:52:53 +0000 (03:52 -0000)]
add new 2.1-only directory.

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

13 years agoAn extra test, to give me peace of mind
Miguel de Icaza [Wed, 14 Jul 2010 23:30:51 +0000 (23:30 -0000)]
An extra test, to give me peace of mind

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

13 years ago2010-07-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Jul 2010 23:30:31 +0000 (23:30 -0000)]
2010-07-14  Miguel de Icaza  <miguel@novell.com>

* DateTime.cs: This is the Retina Display of DateTime structs.
Unlike our previous Chubby DateTime that took 16 bytes of memory,
this slim version of DateTime only uses 8 bytes.

This fixes a couple of bugs 592221 and 622127.   Additionally, it
turns out that the original Microsoft documentation did not spell
this out, but newer versions of the docs state that SetConstant on
a FieldBuilder should be capable of serializing DateTimes (which
is where this issue came from).

This is necessary to fix two crashers exposed by the CLR test
suite.

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

13 years ago2010-07-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Jul 2010 21:52:25 +0000 (21:52 -0000)]
2010-07-14  Miguel de Icaza  <miguel@novell.com>

* tests.make: Do not run the tests under the verifier until the
verifier bug is fixed so at least we can see what is going on in
our buildbots.

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

13 years ago2010-07-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Jul 2010 21:46:36 +0000 (21:46 -0000)]
2010-07-14  Sebastien Pouliot  <sebastien@ximian.com>

* WebHeaderCollection_2_1.cs: Fix IEnumerable.GetEnumerator

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

13 years ago2010-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 14 Jul 2010 20:30:22 +0000 (20:30 -0000)]
2010-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* IPAddress.cs: allow values out of range as MS does.

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

13 years ago4.0/2.0 metadata updates + some test updates
Marek Habersack [Wed, 14 Jul 2010 19:46:01 +0000 (19:46 -0000)]
4.0/2.0 metadata updates + some test updates

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

13 years ago2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Jul 2010 18:24:54 +0000 (18:24 -0000)]
2010-07-14  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageEncoder.cs : support Raw message in ReadMessage() too.
  Allow null content type.

* WebMessageFormatter.cs : do not depend on WebOperationContext.
  add support for Raw format request.

* WebMessageEncodingBindingElementTest.cs : add test for null
  content type for ReadMessage() (allowed),

* WebHttpBehaviorTest.cs : add test for deserializing Raw request
  message too.

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

13 years ago2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Jul 2010 18:20:24 +0000 (18:20 -0000)]
2010-07-14  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs, MessageEncoder.cs:
  The default content type value is null, not the ContentType value.

* HttpReplyChannel.cs : pass HTTP ContentType header value to
  MessageEncoder.ReadMessage().

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

13 years ago2010-07-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 14 Jul 2010 15:55:09 +0000 (15:55 -0000)]
2010-07-14  Marek Habersack  <mhabersack@novell.com>

* Menu.cs: fixed skip link rendering (no child controls are added
in the process, writing directly to HtmlTextWriter). Fixes tests
for 4.0
If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
16px as the value of the margin-left CSS attribute.

Fixed all failing tests (both 2.0 and 4.0)

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

13 years agoDon't print null on exit
Marek Safar [Wed, 14 Jul 2010 15:05:28 +0000 (15:05 -0000)]
Don't print null on exit

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

13 years ago2010-07-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Jul 2010 14:55:32 +0000 (14:55 -0000)]
2010-07-14  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Don't abort (only warn) if we cannot find
a caller for relfecting code (transparent is assumed). Fix
get_method_access_exception to accept a NULL caller.

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

13 years agoAllow completion without prefix
Marek Safar [Wed, 14 Jul 2010 14:54:54 +0000 (14:54 -0000)]
Allow completion without prefix

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

13 years agoNew tests.
Marek Safar [Wed, 14 Jul 2010 13:57:14 +0000 (13:57 -0000)]
New tests.

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

13 years ago2010-07-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Jul 2010 13:55:00 +0000 (13:55 -0000)]
2010-07-14  Marek Safar  <marek.safar@gmail.com>

* namespace.cs, import.cs: When importing nested type via type
arguments set their parent type correctly (Fixes #622051).

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

13 years ago2010-07-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Jul 2010 10:48:08 +0000 (10:48 -0000)]
2010-07-14  Marek Safar  <marek.safar@gmail.com>

A fix for bug #622104
* attribute.cs: Add default lookup flags.

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

13 years ago2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Jul 2010 08:43:31 +0000 (08:43 -0000)]
2010-07-14  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageFormatter.cs : add support for Raw format.

* WebMessageEncoder.cs : support Raw message. Fixed bug #619542.

* WebHttpBehaviorTest.cs : add test for bug #619542 (not sure if it
  works on mono; run-test is broken in trunk. Verified under .NET).

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

13 years agostyle
Jb Evain [Wed, 14 Jul 2010 08:17:12 +0000 (08:17 -0000)]
style

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

13 years ago2010-07-14 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 14 Jul 2010 08:16:50 +0000 (08:16 -0000)]
2010-07-14  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (Union): fix HashSet.Contains call.

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