mono.git
13 years agoEOL handling
Raja R Harinath [Sun, 25 Jul 2010 14:39:25 +0000 (20:09 +0530)]
EOL handling

This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.

13 years ago2010-07-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jul 2010 10:31:47 +0000 (12:31 +0200)]
2010-07-25  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (common_call_trampoline): Fix a warning.

13 years ago2010-07-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 25 Jul 2010 10:30:26 +0000 (12:30 +0200)]
2010-07-25  Zoltan Varga  <vargaz@gmail.com>

* configure.ac src/eglib-config.h.in src/eglib-config.hw: Define G_GINT64_FORMAT.

13 years agoMake the internal allocator fast.
Mark Probst [Thu, 22 Jul 2010 19:53:47 +0000 (21:53 +0200)]
Make the internal allocator fast.

2010-07-24  Mark Probst  <mark.probst@gmail.com>

* sgen-internal.c, sgen-gc.h, sgen-major-copying.c: Make the
internal allocator fast by keeping free-lists of chunks, not only
within chunks.  Align the chunks, so that on freeing we can get
the chunk without searching.

13 years agoFunctions for allocing fixed-size blocks in internal allocator.
Mark Probst [Thu, 22 Jul 2010 19:53:41 +0000 (21:53 +0200)]
Functions for allocing fixed-size blocks in internal allocator.

2010-07-24  Mark Probst  <mark.probst@gmail.com>

* sgen-internal.c, sgen-gc.c, sgen-gc.h, sgen-gray.c,
sgen-major-copying.c, sgen-marksweep.c, sgen-pinning-stats.c,
sgen-pinning.c: Allocate fixed-size structs without specifying the
size, instead registering it once with its type.
Dynamically-sized need their size specified when being freed.

13 years agoMake major copying allocator use the internal allocator via public API.
Mark Probst [Thu, 22 Jul 2010 19:53:33 +0000 (21:53 +0200)]
Make major copying allocator use the internal allocator via public API.

2010-07-24  Mark Probst  <mark.probst@gmail.com>

* sgen-major-copying.c, sgen-internal.c, sgen-gc.c, sgen-gc.h,
sgen-pinning.c: Copying major collector doesn't mess around with
internals of the internal allocator anymore, instead using public
functions.

13 years agoSeparate internal allocator in its own C file.
Mark Probst [Thu, 22 Jul 2010 19:53:04 +0000 (21:53 +0200)]
Separate internal allocator in its own C file.

2010-07-24  Mark Probst  <mark.probst@gmail.com>

* sgen-internal.c: Internal allocator in its own module.

* sgen-gc.c, sgen-gc.h, sgen-gray.c, sgen-los.c,
sgen-major-copying.c, sgen-marksweep.c, sgen-pinning.c,
sgen-pinning-stats.c: Remove internal allocator and call the
public functions now.

* Makefile.am: Added new file.

13 years agoTest
Geoff Norton [Sat, 24 Jul 2010 18:13:48 +0000 (14:13 -0400)]
Test

13 years ago2010-07-24 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sat, 24 Jul 2010 18:05:04 +0000 (14:05 -0400)]
2010-07-24  Geoff Norton  <gnorton@novell.com>

* mini-darwin.c: Having reviewed xnu-1504.7.4 it is safe to call fork directly
here, it seems the old implementation was a hold over from the linux behaviour
This fixed gdb backtrace on amd64 and ppc.

13 years ago2010-07-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jul 2010 17:08:18 +0000 (19:08 +0200)]
2010-07-24  Zoltan Varga  <vargaz@gmail.com>

* sgen-archdep.h (ARCH_COPY_SIGCTX_REGS): Fix warnings on amd64.

13 years ago2010-07-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jul 2010 16:47:00 +0000 (18:47 +0200)]
2010-07-24  Zoltan Varga  <vargaz@gmail.com>

* mini-s390x.c: Change the calling convention to pass this as first as on other
architectures. Remove some dead code from the get_vcall_slot().

13 years agoRemove warnings in sgen-gc.h.
Sanjoy Das [Fri, 23 Jul 2010 02:50:05 +0000 (08:20 +0530)]
Remove warnings in sgen-gc.h.

2010-07-24  Sanjoy Das <sanjoy@playingwithpointers.com>

* sgen-gc.h: Removed 'foo defined but not used' warnings for the
  *_signal_num variables.

13 years agoxbuild: Collect and dump timing information.
Ankit Jain [Sat, 24 Jul 2010 00:42:40 +0000 (06:12 +0530)]
xbuild: Collect and dump timing information.

* ConsoleLogger.cs: Collect and dump timing information.

13 years ago* ConsoleLogger.cs: Honor LoggerVerbosity.Quiet .
Ankit Jain [Fri, 23 Jul 2010 20:52:35 +0000 (02:22 +0530)]
* ConsoleLogger.cs: Honor LoggerVerbosity.Quiet .

13 years ago2010-07-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Jul 2010 19:44:54 +0000 (21:44 +0200)]
2010-07-23  Zoltan Varga  <vargaz@gmail.com>

* file-io.c (ves_icall_System_IO_MonoIO_Read): Add a null check.
(ves_icall_System_IO_MonoIO_Write): Ditto.

13 years agoTEST 5
Gonzalo Paniagua Javier [Fri, 23 Jul 2010 18:58:11 +0000 (14:58 -0400)]
TEST 5

13 years agoMerge branch 'master' of github.com:mono/mono
Gonzalo Paniagua Javier [Fri, 23 Jul 2010 18:57:37 +0000 (14:57 -0400)]
Merge branch 'master' of github.com:mono/mono

13 years agoTEST 4
Gonzalo Paniagua Javier [Fri, 23 Jul 2010 18:57:19 +0000 (14:57 -0400)]
TEST 4

13 years agoMerge branch 'master' of github.com:mono/mono
Zoltan Varga [Fri, 23 Jul 2010 18:50:42 +0000 (20:50 +0200)]
Merge branch 'master' of github.com:mono/mono

13 years ago2010-07-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Jul 2010 18:50:26 +0000 (20:50 +0200)]
2010-07-23  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_loader_cleanup): Delete loader_mutex, the shutdown races should
be fixed now.

13 years agoTEST 3
Gonzalo Paniagua Javier [Fri, 23 Jul 2010 18:45:16 +0000 (14:45 -0400)]
TEST 3

13 years agoTEST 2
Gonzalo Paniagua Javier [Fri, 23 Jul 2010 18:36:40 +0000 (14:36 -0400)]
TEST 2

13 years agoTEST
Gonzalo Paniagua Javier [Fri, 23 Jul 2010 18:27:09 +0000 (14:27 -0400)]
TEST

13 years agosimplify code for Moonlight profile
Sebastien Pouliot [Fri, 23 Jul 2010 18:10:47 +0000 (14:10 -0400)]
simplify code for Moonlight profile

13 years agoFix check order and throw NSE on invalid headers
Sebastien Pouliot [Fri, 23 Jul 2010 18:01:39 +0000 (14:01 -0400)]
Fix check order and throw NSE on invalid headers

13 years ago2010-07-23 Veerapuram Varadhan <v.varadhan@gmail.com>
vvaradhan [Fri, 23 Jul 2010 16:58:47 +0000 (22:28 +0530)]
2010-07-23  Veerapuram Varadhan  <v.varadhan@gmail.com>

** Fixes #623451
* DataColumnCollection.cs (MoveColumn): Fix shifting of
DataColumn according to the direction of movement.

13 years agoMerge branch 'master' of github.com:mono/mono
Marek Habersack [Fri, 23 Jul 2010 16:41:15 +0000 (18:41 +0200)]
Merge branch 'master' of github.com:mono/mono

* 'master' of github.com:mono/mono:
  Funcs.cs: Fixed typo in Func`15.

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

* ClientScriptManager.cs: 4.0 adds a class="aspNetHidden"
attribute to the div element surrounding the hidden elements.

13 years ago Funcs.cs: Fixed typo in Func`15.
Paolo Molaro [Fri, 23 Jul 2010 16:14:57 +0000 (18:14 +0200)]
Funcs.cs: Fixed typo in Func`15.

Fri Jul 23 16:46:38 CEST 2010 Paolo Molaro <lupus@ximian.com>

* Funcs.cs: Fixed typo in Func`15.

13 years agoMerge branch 'master' of github.com:mono/mono
Atsushi Eno [Fri, 23 Jul 2010 15:10:43 +0000 (00:10 +0900)]
Merge branch 'master' of github.com:mono/mono

13 years ago2010-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jul 2010 14:42:47 +0000 (23:42 +0900)]
2010-07-23  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngPattern.cs : inherit XmlResolver to parsed rng component.
  Fixed bug #622630.

13 years ago2010-07-23 Veerapuram Varadhan <v.varadhan@gmail.com>
Veerapuram Varadhan [Fri, 23 Jul 2010 13:25:50 +0000 (18:55 +0530)]
2010-07-23  Veerapuram Varadhan  <v.varadhan@gmail.com>

** Fixes #565616 - Based on Patch by Hubert FONGARNAND
* DataContainer.cs (GetContainerData): If typecode is string,
call Convert.ToString() irrespective of whether value is
IConvertible or not.

13 years ago2010-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Jul 2010 11:28:15 +0000 (13:28 +0200)]
2010-07-23  Marek Habersack  <mhabersack@novell.com>

* MenuItemBindingCollection.cs: added the OnClear,
OnRemoveComplete and OnValidate methods (2.0+)

13 years ago2010-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Jul 2010 11:21:48 +0000 (13:21 +0200)]
2010-07-23  Marek Habersack  <mhabersack@novell.com>

* TreeNodeStyleCollection.cs: added the OnInsert method (2.0+)

* TreeNodeBindingCollection.cs: added the OnClear,
OnRemoveComplete and OnValidate methods (2.0+)

13 years ago2010-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Jul 2010 11:16:09 +0000 (13:16 +0200)]
2010-07-23  Marek Habersack  <mhabersack@novell.com>

* ValidationSummary.cs: implemented OnInit (4.0)

13 years ago2010-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Jul 2010 11:10:23 +0000 (13:10 +0200)]
2010-07-23  Marek Habersack  <mhabersack@novell.com>

* WizardStepBase.cs: added the LoadViewState, OnLoad and
RenderChildren methods (2.0+)

13 years ago2010-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jul 2010 07:00:51 +0000 (16:00 +0900)]
2010-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* ContractAssertTest.cs
  ContractAssumeTest.cs
  ContractHelperTest.cs
  ContractMustUseRewriterTest.cs:
  Mark couple of runtime breaking tests (on .NET 4.0) as [Ignore].

13 years ago2010-07-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jul 2010 23:55:44 +0000 (01:55 +0200)]
2010-07-23  Zoltan Varga  <vargaz@gmail.com>

* xdebug.c (mono_save_trampoline_xdebug_info): Call
mono_loader_lock/unlock_if_inited () to avoid asserts on some platforms during
startup.

13 years ago2010-07-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jul 2010 23:54:53 +0000 (01:54 +0200)]
2010-07-23  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_loader_lock_if_inited): New helper function which can be called
during startup before the loader lock is initialized.
(mono_loader_unlock_if_inited): Ditto.

13 years ago2010-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Jul 2010 23:29:32 +0000 (01:29 +0200)]
2010-07-23  Marek Habersack  <mhabersack@novell.com>

* Makefile.am (version.h): generate version using GIT commit info,
removed the old svn and git-svn code.

13 years agoEmit tool's output as it is received, instead of waiting for it to end.
Ankit Jain [Thu, 22 Jul 2010 22:07:23 +0000 (03:37 +0530)]
Emit tool's output as it is received, instead of waiting for it to end.

* ToolTask.cs: Don't wait for the process to end, before emitting
it's stdout/stderr, emit as it is received. This helps with time
consuming tools.

13 years agoReduce the branch inlining cost from 100 to 10.
jbevain [Thu, 22 Jul 2010 20:32:42 +0000 (22:32 +0200)]
Reduce the branch inlining cost from 100 to 10.

2010-07-22  Jb Evain  <jbevain@novell.com>

* method-to-ir.c (BRANCH_COST): change from 100 to 10.

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

* MenuItemBinding.cs:
Implemented ToString (4.0)

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

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

* MenuItemBinding.cs: made code a bit more compact.

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

13 years ago2010-07-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Jul 2010 10:38:45 +0000 (10:38 -0000)]
2010-07-22  Marek Habersack  <mhabersack@novell.com>

* MenuRenderingMode.cs: added (4.0)

* Menu.cs: added the IncludeStyleBlock and RenderingMode 4.0
properties (not used in the code yet).

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

13 years agoThu Jul 22 11:05:04 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 22 Jul 2010 09:05:43 +0000 (09:05 -0000)]
Thu Jul 22 11:05:04 CEST 2010 Paolo Molaro <lupus@ximian.com>

* Module.cs: added == and != operators for 4.0.

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

13 years ago* xbuild/Microsoft.Silverlight.Common.targets(GenerateMoonlightManifest):
Ankit Jain [Thu, 22 Jul 2010 00:15:48 +0000 (00:15 -0000)]
* xbuild/Microsoft.Silverlight.Common.targets(GenerateMoonlightManifest):
Set Inputs/Outputs for the target.

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

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