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

15 years ago* xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.
Ankit Jain [Tue, 24 Feb 2009 19:55:12 +0000 (19:55 -0000)]
* xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.

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

15 years ago* MSBuild.cs (Execute): Reset current directory back after every
Ankit Jain [Tue, 24 Feb 2009 19:52:21 +0000 (19:52 -0000)]
* MSBuild.cs (Execute): Reset current directory back after every
project's execution.

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

15 years ago* SolutionParser.cs (ParseSolution): Report warning instead of error
Ankit Jain [Tue, 24 Feb 2009 19:48:11 +0000 (19:48 -0000)]
* SolutionParser.cs (ParseSolution): Report warning instead of error
for unknown global sections.

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

15 years agoIn class/Microsoft.Build.Utilities:
Ankit Jain [Tue, 24 Feb 2009 19:41:52 +0000 (19:41 -0000)]
In class/Microsoft.Build.Utilities:

* Microsoft.Build.Utilities.dll.sources: Add ProcessService.cs,
ProcessWrapper.cs, IAsyncOperation.cs and IProcessAsyncOperation.cs

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:

* ProcessService.cs, IAsyncOperation.cs, IProcessAsyncOperation.cs,
ProcessWrapper.cs: Brought in from monodevelop.
* ToolTask.cs: Use the new ProcessService to execute the tool. Honor
SkipTaskExecution (). Use response files, but log the contents of the
response file instead of "@foo.rsp". Support environmentOverrides.
(LogEventsFromTextOutput): Add null check.
* Exec.cs (GetWorkingDirectory): Use the workingDirectory property.

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

15 years ago2009-02-24 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Tue, 24 Feb 2009 18:20:22 +0000 (18:20 -0000)]
2009-02-24  Alan McGovern  <amcgovern@novell.com>

        * System.Net/WebClient_2_1.cs: If we're getting text, ensure we
        strip out the byte order mark if it exists.

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

15 years ago2009-02-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Feb 2009 18:12:35 +0000 (18:12 -0000)]
2009-02-24  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: Path.Combine must not be passed null first
parameter.

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

15 years ago2009-02-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Feb 2009 18:10:38 +0000 (18:10 -0000)]
2009-02-24  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: made the HttpException (int httpCode, string
message, Exception innerException, string resourceName) internal.

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

15 years ago2009-02-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 24 Feb 2009 17:54:52 +0000 (17:54 -0000)]
2009-02-24  Marek Habersack  <mhabersack@novell.com>

* ResXFileRef.cs: the class must be internal when compiled as part
of System.Web

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

15 years agowe're passing the enum comparison tests
Jb Evain [Tue, 24 Feb 2009 17:13:09 +0000 (17:13 -0000)]
we're passing the enum comparison tests

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

15 years ago2009-02-24 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 24 Feb 2009 17:09:23 +0000 (17:09 -0000)]
2009-02-24  Jb Evain  <jbevain@novell.com>

* Expression.cs (BinaryCoreCheck): fix comparison of enums

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

15 years agonew enums tests
Jb Evain [Tue, 24 Feb 2009 17:01:11 +0000 (17:01 -0000)]
new enums tests

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

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

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

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

A fix for bug #476295
* convert.cs: Avoid wrapping implicitly convertible reference type.

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

15 years ago2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 24 Feb 2009 13:19:52 +0000 (13:19 -0000)]
2009-02-24  Sebastien Pouliot  <sebastien@ximian.com>

* SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
new unit tests in moonlight).

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

15 years ago * *Fixes #377146 - in a better way
Veerapuram Varadhan [Tue, 24 Feb 2009 09:27:32 +0000 (09:27 -0000)]
    * *Fixes #377146 - in a better way
        * XmlDataReader.cs (ReadElementElement): For reference types
          that implements IXmlSerializable, call the corresponding ReadXml.
        * DataSet.cs (WriteColumnAsElement): For reference types that
          implements IXmlSerializable, call the corresponding WriteXml.

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

15 years agoIgnore all failing-under-dotnet tests.
Atsushi Eno [Tue, 24 Feb 2009 07:33:41 +0000 (07:33 -0000)]
Ignore all failing-under-dotnet tests.

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

15 years ago * OracleException: 2.0 changes - patch submitted by
Veerapuram Varadhan [Tue, 24 Feb 2009 05:18:07 +0000 (05:18 -0000)]
* OracleException:  2.0 changes - patch submitted by
        Jay Wren <jrwren@xmtp.net>

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

15 years ago * Fixes #476523
Veerapuram Varadhan [Tue, 24 Feb 2009 04:58:27 +0000 (04:58 -0000)]
    * Fixes #476523
        * DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
        Patch by Jay Wren <jrwren@xmtp.net>

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

15 years agoLazily load UsingTask tasks.
Ankit Jain [Tue, 24 Feb 2009 00:12:25 +0000 (00:12 -0000)]
Lazily load UsingTask tasks.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

Lazily load UsingTask tasks.
* UsingTask.cs (Evaluate): Register 'this' with task database,
but don't load it yet. Register only if condition evaluates to true.
Move the load logic to ..
(Load): .. here. Register with the specified task database.
* TaskDatabase.cs (RegisterUsingTask): Store the UsingTask instance
in a table keyed by task name, but don't load it yet.
(GetTypeFromClassName): Try to load UsingTask if task is not already
loaded. Move loading logic to ..
(GetTypeFromClassNameInternal): .. here.
(CopyTasks): Copy the usingTasks table also.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* UsingTaskTest.cs (TestLazyLoad{1,2,3}): New.
(TestAssemblyNameOrAssemblyFileConditionFalse): New.
(TestDuplicate1): New.
* TargetTest (CheckLoggedMessageHead): Moved to TestMessageLogger,
use that.

In class/Microsoft.Build.Engine/Test/resources:

* TestTasks.cs (Another.SameTask): New.
(Other.SameTask): New.

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

* TestMessageLogger.cs (CheckLoggedMessageHead): Move here from
* TaskBatchingTest.cs: .. here. Track api change.

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

15 years ago2009-02-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 23 Feb 2009 22:56:04 +0000 (22:56 -0000)]
2009-02-23  Marek Safar  <marek.safar@gmail.com>

* iterators.cs: Create global MemberName correctly.

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

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

* Enumerable.cs (IterateNullable): Compare unwrapped values.

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

15 years ago2009-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 23 Feb 2009 22:29:50 +0000 (22:29 -0000)]
2009-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MaskedTextBox.cs: In OnKeyPress the IsOverwriteMode check is
actually inversed, so put it the right way. Also, don't automatically
look for the next editable item after adding a new one, but way for
the next insertion (this is what .net does) - this is not needed when
MaskedTextProvider.InsertAt is called however, since it already looks for the
next editable position.
Fixes the remaining bits of #477383.

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

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

* os_dep.c (GC_init_linux_data_start): Avoid the call to GC_find_limit ()
if GC_no_dls is TRUE, as it is not needed and it complicates debugging since
it causes a SIGSEGV.

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

15 years ago2009-02-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Feb 2009 21:19:23 +0000 (21:19 -0000)]
2009-02-23  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Replace the
nop code by patching the call address to point to the nullified class init
trampoline, as the former does not seem to be safe on SMP machines.

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

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

* MaskedTextBox.cs: In OnKeyPress handle backspace by calling
MaskedTextProvider.RemoveAt method. Also for setting the SelectionStart
property after the text was modified, adjust the testPosition value
depending on what method was called.
Fixes part of #477383.

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

15 years ago2009-02-23 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 23 Feb 2009 19:18:29 +0000 (19:18 -0000)]
2009-02-23  Jb Evain  <jbevain@novell.com>

* XAttributeTest.cs: add test for XAttribute holding DateTimes.

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

15 years ago2009-02-23 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 23 Feb 2009 19:17:31 +0000 (19:17 -0000)]
2009-02-23  Jb Evain  <jbevain@novell.com>

* XUtil.cs (ToString): properly stringify datetimes.

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

15 years ago2009-02-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Feb 2009 18:51:11 +0000 (18:51 -0000)]
2009-02-23  Mark Probst  <mark.probst@gmail.com>

* mini-ops.h: Fix the argument types for a few x86 opcodes where
they were wrong.

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

15 years agowe pass those
Jb Evain [Mon, 23 Feb 2009 18:13:22 +0000 (18:13 -0000)]
we pass those

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

15 years ago2009-02-23 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 23 Feb 2009 18:12:55 +0000 (18:12 -0000)]
2009-02-23  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (IterateNullable): fix initial value
for nullables.

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

15 years ago2009-02-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 23 Feb 2009 17:51:58 +0000 (17:51 -0000)]
2009-02-23  Marek Safar  <marek.safar@gmail.com>

* iterators.cs: Create MemberName correctly.

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

15 years agomore tests
Jb Evain [Mon, 23 Feb 2009 17:20:53 +0000 (17:20 -0000)]
more tests

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

15 years agonew tests
Jb Evain [Mon, 23 Feb 2009 17:16:54 +0000 (17:16 -0000)]
new tests

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

15 years agowe pass those
Jb Evain [Mon, 23 Feb 2009 17:03:44 +0000 (17:03 -0000)]
we pass those

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

15 years ago2009-02-23 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 23 Feb 2009 17:03:21 +0000 (17:03 -0000)]
2009-02-23  Jb Evain  <jbevain@novell.com>

* Expression.cs (IsNumber): actually decimal is rather a special
case, and not a primitive number.

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

15 years agotests for unary operations on decimal
Jb Evain [Mon, 23 Feb 2009 16:54:10 +0000 (16:54 -0000)]
tests for unary operations on decimal

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