mono.git
15 years agoAdd .gitignore.
Martin Baulig [Sat, 28 Feb 2009 14:37:10 +0000 (14:37 -0000)]
Add .gitignore.

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

15 years agoCreate .gitignore's.
Martin Baulig [Sat, 28 Feb 2009 14:36:50 +0000 (14:36 -0000)]
Create .gitignore's.

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

15 years ago2009-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 28 Feb 2009 12:39:44 +0000 (12:39 -0000)]
2009-02-28  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In our MouseDown handler in ItemControl use the item in
the very specific *real* position where the mouse was pressed, using
GetItemAtDisplayIndex for that purpose, instead of directly accessing
Items - this is specially useful when groups with Details view is
used. This is what we do in other places when using groups.
Fixes part of #478689.

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

15 years ago2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 28 Feb 2009 06:21:53 +0000 (06:21 -0000)]
2008-02-28  Rodrigo Kumpera  <rkumpera@novell.com>

* MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.

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

15 years ago2009-02-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 28 Feb 2009 02:15:28 +0000 (02:15 -0000)]
2009-02-28  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: make sure no nrex happens in
GetSectionCacheKey ()

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

15 years ago2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Marek Habersack [Sat, 28 Feb 2009 01:37:27 +0000 (01:37 -0000)]
2009-02-28  Gonzalo Paniagua Javier <gonzalo@novell.com>

* Control.cs: Avoid double OnInit in scenarios with two master
pages.

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

15 years ago2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Feb 2009 23:20:03 +0000 (23:20 -0000)]
2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>

* UInt16.cs (CompareTo/short): Make it return the
same values as the /object version.

* Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
This avoids two allocations and reduce the number of trips to unmanaged land
by one.

The performance improvement is up to 3.5x with the bonus of reducing the generated
garbage.

2009-02-27  Rodrigo Kumpera  <rkumpera@novell.com>

EnumTest.cs: Tests for CompareTo.

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

15 years ago2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Feb 2009 23:19:58 +0000 (23:19 -0000)]
2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>

* icall.c: New icall ves_icall_System_Enum_compare_value_to that
helps Enum::CompareTo to be implemented without reboxing all enums
to their underlying type.

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

15 years ago * System.Text.RegularExpressions/Regex.cs (Replace): Check that input &
Jonathan Pryor [Fri, 27 Feb 2009 21:40:17 +0000 (21:40 -0000)]
* System.Text.RegularExpressions/Regex.cs (Replace): Check that input &
  evaluator are not null, as documented in MSDN (and the variance found
  while testing DbLinq).
* Test/System.Text.RegularExpressions/RegexReplace.cs: Add null
  argument checks for Regex.Replace().

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

15 years ago2009-02-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Feb 2009 18:35:39 +0000 (18:35 -0000)]
2009-02-27  Zoltan Varga  <vargaz@gmail.com>

* domain.c (SET_APPDOMAIN): Avoid calling TlsSetValue () on some platforms,
since it acquires a global lock leading to scalability problems.

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

15 years ago2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Feb 2009 18:07:36 +0000 (18:07 -0000)]
2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>

* ReflectionPropertyDescriptor.cs: Don't cache getter and
setter properties. Cache instead the PropertyInfo objects
that defined them.

PropertyInfo::Get/SetValue is faster than calling the method
throught reflection.

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

15 years ago2009-02-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Feb 2009 18:04:08 +0000 (18:04 -0000)]
2009-02-27  Zoltan Varga  <vargaz@gmail.com>

* iltests.il.in (test_0_implicit_float_to_double_conversion): Disable this
too until it can be made to run on amd64.

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

15 years ago2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Feb 2009 16:13:11 +0000 (16:13 -0000)]
2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>

        * SerializationMap.cs : look for unordered members first, in
          different iteration. Got SL OpenStreetMap working.

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

15 years ago2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Feb 2009 16:10:20 +0000 (16:10 -0000)]
2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>

        * ClientBase.cs : give successful WCF call completion info.

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

15 years ago2009-02-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 27 Feb 2009 15:41:14 +0000 (15:41 -0000)]
2009-02-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MaskedTextBox.cs: Properly replace selection when a new valid key
is pressed - even when IsOverwriteMode is false. This is what .net
does.

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

15 years agooops
Jb Evain [Fri, 27 Feb 2009 15:02:56 +0000 (15:02 -0000)]
oops

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

15 years ago2009-02-27 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 27 Feb 2009 15:01:17 +0000 (15:01 -0000)]
2009-02-27  Jb Evain  <jbevain@novell.com>

* Makefile: don't tune net_2_1 assemblies here.
moon takes care of that now.

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

15 years ago2009-02-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 27 Feb 2009 17:32:18 +0000 (17:32 -0000)]
2009-02-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ResourceSet.cs: populating the resource should be locked because the
resourceset could be shared.

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

15 years agoproperty MonoProperty completely
Jb Evain [Fri, 27 Feb 2009 12:46:07 +0000 (12:46 -0000)]
property MonoProperty completely

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

15 years agoNew test.
Marek Safar [Fri, 27 Feb 2009 12:29:22 +0000 (12:29 -0000)]
New test.

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

15 years ago2009-02-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Feb 2009 12:29:07 +0000 (12:29 -0000)]
2009-02-27  Marek Safar  <marek.safar@gmail.com>

* class.cs: Add external constructor error.

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

15 years ago2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Feb 2009 09:05:12 +0000 (09:05 -0000)]
2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>

        * Message.cs : (in CreateBufferedCopy) do not pass the entire
          message as BodyWriter.
          (in GetReaderAtBodyContents) just write body contents.
        * MessageImpl.cs : do not try to read body at ctor (fixed tons
          of test failures).
          Add some state check in GetReaderAtBodyContents().
        * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.

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

15 years ago2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Feb 2009 09:04:00 +0000 (09:04 -0000)]
2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>

        * XmlReader.cs : do not try to read at non-readable state in
          MoveToContent().

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

15 years ago2009-02-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Feb 2009 06:21:52 +0000 (06:21 -0000)]
2009-02-27  Zoltan Varga  <vargaz@gmail.com>

* arm/{arm_fpamacros.h, arm_vfpmacros.h}: Remove these files, they are
autogenerated.

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

15 years ago2009-02-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Feb 2009 05:08:10 +0000 (05:08 -0000)]
2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>

        * ClientBase.cs : diagnose more precisely.

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

15 years ago2009-02-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Feb 2009 02:42:42 +0000 (02:42 -0000)]
2009-02-27  Zoltan Varga  <vargaz@gmail.com>

* profiler.c: Make the stat profiler work with multiple appdomains, this
currently only works when no appdomains are unloaded.

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

15 years ago2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Feb 2009 01:50:58 +0000 (01:50 -0000)]
2008-02-26  Rodrigo Kumpera  <rkumpera@novell.com>

* MonoProperty.cs (GetValue): Optimize getters for properties without arguments.

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

15 years ago2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Feb 2009 01:46:32 +0000 (01:46 -0000)]
2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>

* MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
The optimization is to create a pair of chained delegates that duplicate the workings
on MethodBase::Invoke without all the aditional overhead and without doing two
managed/native transitions.

Simple Getter performance is up to 17x faster.

This patch reduces contention on domain and domain jit code hash locks, which
can be very hot on asp.net applications.

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

15 years ago2009-02-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 27 Feb 2009 01:29:20 +0000 (01:29 -0000)]
2009-02-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MaskedTextBoxTest.cs: Yet a new Text test case.

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

15 years ago2009-02-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 27 Feb 2009 01:26:49 +0000 (01:26 -0000)]
2009-02-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MaskedTextBox.cs: When setting Text use the very precise algorithm
that .net uses: iterate over every char of the new value, trying to
use every char, and use a normal call to MaskedTextProvider.Replace
call if RejectInputOnFirstFailure is true. Fire OnMaskInputRejected
in case of error in both cases, as well.
Fixes #477408.

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

15 years ago2009-02-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Feb 2009 23:24:42 +0000 (23:24 -0000)]
2009-02-27  Zoltan Varga  <vargaz@gmail.com>

* BaseMachine.cs (LTRReplace): Initialize the StringBuilder with an
appropriate initial length.

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

15 years ago * Monodoc/provider.cs: Revert; Don't check for Tree.Nodes == null, as it
Jonathan Pryor [Thu, 26 Feb 2009 18:24:25 +0000 (18:24 -0000)]
* Monodoc/provider.cs: Revert; Don't check for Tree.Nodes == null, as it
  happens in numerous places.  Instead, take a page out of the "I
  never should have invented `null'" book, and ensure that Tree.Nodes
  can never be null.  This fixes the "HelpSource has 0 items" issue
  and several other related ones.

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

15 years ago * Mono.Documentation/assembler.cs: When processing an empty directory,
Jonathan Pryor [Thu, 26 Feb 2009 18:03:52 +0000 (18:03 -0000)]
* Mono.Documentation/assembler.cs: When processing an empty directory,
  it's possible for HelpSource.Tree to be null; avoid an NRE.

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

15 years ago * Monodoc/provider.cs: It's possible for a HelpSource to have 0
Jonathan Pryor [Thu, 26 Feb 2009 18:01:56 +0000 (18:01 -0000)]
* Monodoc/provider.cs: It's possible for a HelpSource to have 0
  elements (which can be done by e.g. running `mdoc assemble' on an
  empty directory), in which case HelpSource.Tree.Nodes will be null.
  Make sure that we don't get a NullReferenceException.
  Patch thanks to Theerud Lawtrakul.  Fixes #443699.

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

15 years ago2009-02-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Feb 2009 17:56:57 +0000 (17:56 -0000)]
2009-02-26  Marek Safar  <marek.safar@gmail.com>

* Nullable.cs: Inline GetValueOrDefault.

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

15 years agotypo
Gonzalo Paniagua Javier [Thu, 26 Feb 2009 17:44:46 +0000 (17:44 -0000)]
typo

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

15 years ago2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 26 Feb 2009 17:41:29 +0000 (17:41 -0000)]
2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* appdomain.c: make the check to avoid copying when the assembly is
already shadow copied actually work.

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

15 years agoUpdate docs as usual
Miguel de Icaza [Thu, 26 Feb 2009 17:30:53 +0000 (17:30 -0000)]
Update docs as usual

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

15 years ago2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 26 Feb 2009 17:24:22 +0000 (17:24 -0000)]
2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConfigurationManager.cs: generate a hash from the string hsah
codes instead of concatenating them.

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

15 years agoNew test.
Marek Safar [Thu, 26 Feb 2009 17:05:03 +0000 (17:05 -0000)]
New test.

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

15 years ago2009-02-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Feb 2009 17:03:47 +0000 (17:03 -0000)]
2009-02-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #475354
* convert.cs, nullable.cs, expression.cs, statement.cs: Emit
correctly user defined nullable equality operators.

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

15 years ago2009-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Feb 2009 16:32:52 +0000 (16:32 -0000)]
2009-02-26  Zoltan Varga  <vargaz@gmail.com>

* String.cs (FormatHelper): If all the arguments are strings, compute an
initial length for the stringbuilder to avoid reallocations.

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 15:45:58 +0000 (15:45 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

        * ClientProxyGenerator.cs : fix wrong argument index.

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 15:45:27 +0000 (15:45 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

        * ClientBase.cs : use overridable CreateChannel().

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

15 years ago2009-02-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Feb 2009 14:16:20 +0000 (14:16 -0000)]
2009-02-26  Marek Habersack  <mhabersack@novell.com>

* TagAttributes.cs: modified ToString to return string formatted
in a more helpful way.

* AspParser.cs: added ToString, helpful when debugging.

* AspGenerator.cs: properly print leading and trailing plain text
when looking for embedded tags in ProcessTagsInAttributes.

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

15 years ago2008-02-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Feb 2009 13:37:32 +0000 (13:37 -0000)]
2008-02-26  Sebastien Pouliot  <sebastien@ximian.com>

* merge.cs: Smarter merge to avoid duplicate (or unneeded) attributes
on methods when a type is decorated with SC or SSC.

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

15 years ago2009-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Feb 2009 13:23:25 +0000 (13:23 -0000)]
2009-02-26  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_this_arg_from_call): Avoid expensive calls
to  get_generic_context_from_code () + get_call_info () if possible.

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

15 years ago* xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
Ankit Jain [Thu, 26 Feb 2009 11:52:46 +0000 (11:52 -0000)]
* xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
ManifestNonResxWithCultureOnDisk instead of ManifestResourceWithNoCultureOnDisk.

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

15 years agofix the build
Gonzalo Paniagua Javier [Thu, 26 Feb 2009 07:29:03 +0000 (07:29 -0000)]
fix the build

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 05:26:53 +0000 (05:26 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ClientBase.cs : make it work with SL2 UI threading model.

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 05:26:20 +0000 (05:26 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ClientProxyGenerator.cs : simply use CodeMethod.GetArg().

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 05:14:17 +0000 (05:14 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs, ClientProxyGenerator.cs,
  ClientBase.cs, ChannelFactory_1.cs, DuplexClientBase.cs:
  now ClientBase<TChannel>.InnerChannel became ChannelBase<T> as
  SL2 does. This change required several internal changes in
  proxy code generation. Also, now TChannel must be class.

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 05:06:53 +0000 (05:06 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs : ClientBase<> argument type must be
  class (the class itself is to be fixed soon as well).

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

15 years ago2009-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Feb 2009 05:04:48 +0000 (05:04 -0000)]
2009-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntime.cs : fill contractType in .ctor().

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

15 years ago * Tds.cs (ProcessLoginAck): Set TdsVersion to the version
Veerapuram Varadhan [Thu, 26 Feb 2009 04:18:02 +0000 (04:18 -0000)]
    * Tds.cs (ProcessLoginAck): Set TdsVersion to the version
        supported by the server.
        (GetColumnValue): lcid and sortId are available only from Tds 8.

        * Tds80.cs (ProcessColumnInfo, ProcessOutputParam): Call base
        methods if the server version is less than Tds 8.

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

15 years agoAdd support for platforms without rewinddir
Miguel de Icaza [Thu, 26 Feb 2009 04:00:13 +0000 (04:00 -0000)]
Add support for platforms without rewinddir

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

15 years ago * Makefile:
Jonathan Pryor [Thu, 26 Feb 2009 03:20:13 +0000 (03:20 -0000)]
* Makefile:
  - s/TEST_FILES/MAN_TEST_FILES/g: $(TEST_FILES) is used by the normal
    build process, so the local definition is lost (and thus ignored).
    Result: Test/* isn't actually copied.  Oops.  Changing to
    MAN_TEST_FILES allows things to be copied.
  - Fix the filenames within $(MAN_TEST_FILES) so `make dist-local'
    works without error.
  - Fixes #479753.

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

15 years ago2009-02-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Feb 2009 02:33:14 +0000 (02:33 -0000)]
2009-02-26  Marek Habersack  <mhabersack@novell.com>

* HttpResponse.cs: added DisableKernelCache and TransmitFile
methods.

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

15 years ago2009-02-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Feb 2009 02:33:04 +0000 (02:33 -0000)]
2009-02-26  Marek Habersack  <mhabersack@novell.com>

* FileLevelControlBuilderAttribute.cs,
DataSourceCacheDurationConverter: hush the gmcs warnings

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

15 years ago2009-02-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Feb 2009 02:32:53 +0000 (02:32 -0000)]
2009-02-26  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added System.Web/IisTraceListener.cs

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

* IisTraceListener.cs: added + implemented

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

15 years ago2009-02-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Feb 2009 02:32:28 +0000 (02:32 -0000)]
2009-02-25  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: let the current context known that
MapRequestHandler is done.

* HttpContext.cs: implemented RemapHandler

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

15 years agoAdded UIA Framwork Property: UIASelectedSmallColorControl.
Neville Gao [Thu, 26 Feb 2009 02:26:51 +0000 (02:26 -0000)]
Added UIA Framwork Property: UIASelectedSmallColorControl.

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

15 years ago2009-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Feb 2009 02:08:32 +0000 (02:08 -0000)]
2009-02-26  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

* object-internals.h (struct _MonoReflectionGenericClass): Sync with
changes to the managed side.

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

15 years ago2009-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Feb 2009 02:07:46 +0000 (02:07 -0000)]
2009-02-26  Zoltan Varga  <vargaz@gmail.com>

* MonoType.cs (FullName): Cache the result of this in a field, as
computing it is expensive.

* Environment.cs: Bump corlib version.

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

15 years ago2009-02-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Feb 2009 02:02:29 +0000 (02:02 -0000)]
2009-02-26  Marek Habersack  <mhabersack@novell.com>

* data/mono.web.pc.in: added. Fixes bug #479760

* data/Makefile.am:  added mono.pc{.in} wherever necessary

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

15 years ago* xbuild/Microsoft.Common.targets: Make targets extensible. Add
Ankit Jain [Wed, 25 Feb 2009 21:20:19 +0000 (21:20 -0000)]
* xbuild/Microsoft.Common.targets: Make targets extensible. Add
before/after hooks.

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

15 years ago* MakeDir.cs (Execute): Don't create+log if dir already exists.
Ankit Jain [Wed, 25 Feb 2009 21:20:15 +0000 (21:20 -0000)]
* MakeDir.cs (Execute): Don't create+log if dir already exists.

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

15 years ago* Target.cs: Handle target with no tasks. Log errors.
Ankit Jain [Wed, 25 Feb 2009 21:20:06 +0000 (21:20 -0000)]
* Target.cs: Handle target with no tasks. Log errors.

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

15 years ago* xbuild/Microsoft.Common.targets: Use obj/$(Config) as the default intermediate
Ankit Jain [Wed, 25 Feb 2009 21:19:46 +0000 (21:19 -0000)]
* xbuild/Microsoft.Common.targets: Use obj/$(Config) as the default intermediate
output path, instead of just obj/

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

15 years ago * MaskedTextBox.cs: Forgot to update the call of the new method
Carlos Alberto Cortez [Wed, 25 Feb 2009 17:38:16 +0000 (17:38 -0000)]
* MaskedTextBox.cs: Forgot to update the call of the new method
introduces in the previous patch.

2009-02-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years agoNew test.
Marek Safar [Wed, 25 Feb 2009 16:46:43 +0000 (16:46 -0000)]
New test.

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

15 years ago2009-02-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 25 Feb 2009 16:36:34 +0000 (16:36 -0000)]
2009-02-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #479532
* expression.cs: Implement NewInitialize::AddressOf.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 15:27:32 +0000 (15:27 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* metadata-internals.h (struct _MonoImage): Add a new cache for szarray
classes + a separate lock for it, as it is used frequently at runtime, not
just during metadata loading/JIT compilation.

* class.c (mono_bounded_array_class_get): Use the separate cache + lock
for szarrays.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 15:25:28 +0000 (15:25 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h (mono_class_from_name_cached): New macro to cache
the results of the lookup locally without having to declare a static
variable to hold it.
(mono_class_get_field_from_name_cached): Ditto.
(mono_array_class_get_cached): Ditto.

* threadpool.c threads.c locales.c icall.c reflection.c socket-io.c: Use
the new macros.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 15:22:11 +0000 (15:22 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_get_delegate_invoke): Call setup_methods () to avoid the
slower search in metadata.

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

15 years ago2008-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Feb 2009 15:19:31 +0000 (15:19 -0000)]
2008-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* merge.cs: Avoid duplicates in the merged files (e.g. an SC from
both compatibility and automatic).

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

15 years ago2009-02-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 25 Feb 2009 14:42:20 +0000 (14:42 -0000)]
2009-02-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MaskedTextBox.cs: Handle OnKeyDown to properly process the Delete
key. Also create a new method to avoid code duplication between
OnKeyDown and OnKeyPress.
Fixes #477388.

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

15 years ago* AL.cs (Execute): Use ToolTask.Execute instead of doing our own.
Ankit Jain [Wed, 25 Feb 2009 14:07:59 +0000 (14:07 -0000)]
* AL.cs (Execute): Use ToolTask.Execute instead of doing our own.

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

15 years agoNew test.
Marek Safar [Wed, 25 Feb 2009 11:40:21 +0000 (11:40 -0000)]
New test.

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

15 years ago2009-02-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 25 Feb 2009 11:39:03 +0000 (11:39 -0000)]
2009-02-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #413633
* expression.cs: Iterate all base class-constraint types.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 04:43:30 +0000 (04:43 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_native_sigsegv): Implement the
suspend-on-sigsegv functionality.

* mini.c (mini_parse_debug_options): Add a new 'suspend-on-sigsegv' option
to suspend when a native SIGSEGV is received. This is useful for debugging
crashes which don't happen under gdb, since a live process contains more
information than a core file.

* mini-exceptions.c (mono_print_thread_dump): Use
MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX instead of platform defines.

* mini-x86.h (MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX): New define.

* mini-amd64.h (MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX): Ditto.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 04:43:09 +0000 (04:43 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_native_sigsegv): Implement the
suspend-on-sigsegv functionality.

* mini.c (mini_parse_debug_options): Add a new 'suspend-on-sigsegv' option
to suspend when a native SIGSEGV is received. This is useful for debugging
crashes which don't happen under gdb, since a live process contains more
information than a core file.

* mini-exceptions.c (mono_print_thread_dump): Use
MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX instead of platform defines.

* mini-x86.h (MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX): New define.

* mini-amd64.h (MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX): Ditto.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 04:34:37 +0000 (04:34 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* basic-float.cs: Disable the tests which currently fail on amd64.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 04:33:10 +0000 (04:33 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Pass a non-null
value to mono_arch_patch_callsite () to fix crashes.

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

15 years ago* AssemblyResolver.cs:
Ankit Jain [Wed, 25 Feb 2009 04:03:55 +0000 (04:03 -0000)]
* AssemblyResolver.cs:
* ResolveAssemblyReference.cs: Honor SpecificVersion. Emit detailed error
messages incase assembly resolution fails. Make specific version
strict.

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

15 years agoIn class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Ankit Jain [Wed, 25 Feb 2009 03:14:13 +0000 (03:14 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* ManagedCompiler.cs (AddResponseFileCommands): Use LogicalName for
embedded resources, wherever available.
* CreateCSharpManifestResourceName.cs (GetResourceIdFromFileName): Use
Path.Combine instead of hardcoding "\".

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

* CreateCSharpManifestResourceNameTest.cs (CheckResourceNames):
Refactor a bit to improve error reporting.
Update to use Path.Combine instead of hardcoding "\".

In tools/xbuild:
* xbuild/Microsoft.Common.targets (CopyNonResxEmbeddedResources): New.
(GenerateSatelliteAssemblies): Update to use the new ManifestNonResxWithCultureOnDisk
instead of NonResxWithCulture.
* xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
the new on disk file names instead of original filenames.

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

15 years ago2009-02-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 25 Feb 2009 02:49:25 +0000 (02:49 -0000)]
2009-02-25  Marek Habersack  <mhabersack@novell.com>

* AspTokenizer.cs: put_back now uses a stack and allows more than
one invocation when called inside a tag.

* AspGenerator.cs: when a nested parser is used, pay attention to
server tags found inside client tags and add them to the control
tree.

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

15 years ago2009-02-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 25 Feb 2009 02:48:53 +0000 (02:48 -0000)]
2009-02-24  Marek Habersack  <mhabersack@novell.com>

* TempFileStream.cs: the class is internal

* VirtualPathUtility.cs: ToAbsolute (string, string, bool) is
internal

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

15 years agochangelog..
Andrés G. Aragoneses [Wed, 25 Feb 2009 02:33:30 +0000 (02:33 -0000)]
changelog..

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

15 years ago* Test/System.Diagnostics/ProcessTest.cs: New tests for bug 477943.
Andrés G. Aragoneses [Wed, 25 Feb 2009 02:28:14 +0000 (02:28 -0000)]
* Test/System.Diagnostics/ProcessTest.cs: New tests for bug 477943.

* System.Diagnostics/Process.cs: Throw IOEs instead of normal
exceptions. Fixes bug 477943.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 01:56:48 +0000 (01:56 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* Enum.cs (GetInfo): Add a global cache in addition to the thread-local
caches to accomodate short living threads like threadpool threads.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 00:57:17 +0000 (00:57 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Fix a warning.

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

15 years ago2009-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Feb 2009 00:35:07 +0000 (00:35 -0000)]
2009-02-25  Zoltan Varga  <vargaz@gmail.com>

* pedump.c: Fix a warning.

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

15 years ago2009-02-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 24 Feb 2009 23:49:51 +0000 (23:49 -0000)]
2009-02-24 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StringReaderTest.cs: new test for ReadLine.

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

15 years ago2009-02-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 24 Feb 2009 23:48:36 +0000 (23:48 -0000)]
2009-02-24 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StringReader.cs: LF followed by CR is 2 lines.

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

15 years ago * docs/Makefile: Remove and don't install nunit-docs.source. As
Jonathan Pryor [Tue, 24 Feb 2009 22:01:18 +0000 (22:01 -0000)]
* docs/Makefile: Remove and don't install nunit-docs.source.  As
  Atsushi Enomoto said on 2008-11-26, Mono's NUnit is for internal use
  only, and installing nunit-docs.source causes an warning message
  during monodoc startup.
* docs/nunit-docs.source: Remove.

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

15 years agoNew test.
Marek Safar [Tue, 24 Feb 2009 20:37:52 +0000 (20:37 -0000)]
New test.

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

15 years ago2009-02-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Feb 2009 20:34:33 +0000 (20:34 -0000)]
2009-02-24  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Partially inline calls to Char.ToLower () to speed
up ignorecase matching.

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

15 years ago2009-02-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Feb 2009 20:23:34 +0000 (20:23 -0000)]
2009-02-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #479209
* literal.cs: Mutate null underlying type.

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

15 years ago2009-02-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 24 Feb 2009 19:56:46 +0000 (19:56 -0000)]
2009-02-24  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: Invalidate the datagrid when the cell is selected
or deselected.
[Fixes bug #479124]

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