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

15 years agopassing those
Jb Evain [Mon, 23 Feb 2009 16:45:35 +0000 (16:45 -0000)]
passing those

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

15 years agoNew test.
Marek Safar [Mon, 23 Feb 2009 16:45:12 +0000 (16:45 -0000)]
New test.

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

15 years agoNew test.
Marek Safar [Mon, 23 Feb 2009 16:44:53 +0000 (16:44 -0000)]
New test.

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

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

A fix for bug #478655
* literal.cs: Check also underlying null type conversion.

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

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

* Expression.cs (BinaryCoreCheck): add decimal operations
are provided by custom operators.

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

15 years agoadd new tests for decimal add
Jb Evain [Mon, 23 Feb 2009 16:39:18 +0000 (16:39 -0000)]
add new tests for decimal add

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

15 years agoOops; mention correct bugzilla numbers.
Jonathan Pryor [Mon, 23 Feb 2009 14:44:43 +0000 (14:44 -0000)]
Oops; mention correct bugzilla numbers.

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

15 years ago2009-02-23 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Mon, 23 Feb 2009 14:33:20 +0000 (14:33 -0000)]
2009-02-23  Alan McGovern  <amcgovern@novell.com>

        * XmlTextReader.cs: Under the SL2 profile, the default resolver
        is a XmlXapResolver.

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

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

* basic-float.cs basic-calls.cs: Fix warnings.

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Mon, 23 Feb 2009 11:06:52 +0000 (11:06 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* BuildItem.cs (AddMetadata): Allow overwriting older values.

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

* Items.cs (TestItemsInTarget8): New.
(TestItemsInTarget9): New.

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

15 years ago2009-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 23 Feb 2009 10:56:37 +0000 (10:56 -0000)]
2009-02-23  Atsushi Enomoto  <atsushi@ximian.com>

        * XmlReader.cs : ReadContentAsXxx() should not advance XmlReader
          when it is on attribute *value* text.

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

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

* ListView.cs: For EnsureVisible, adjust the view port bounds based on
the existence of the column headers, as well as using this information
to adjust the vscrollbar value, so items never get hidden by the
column headers.
Fixes #478498.

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

15 years ago2009-02-23 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 23 Feb 2009 09:34:51 +0000 (09:34 -0000)]
2009-02-23  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Make the ScrollBars property work properly.

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

15 years ago2009-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 23 Feb 2009 07:02:52 +0000 (07:02 -0000)]
2009-02-23  Atsushi Enomoto  <atsushi@ximian.com>

* xmltool.cs : Enabled new error recovery feature in RELAX NG
  validation. It should continue error reporting until the end of
  the document.

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

15 years ago2009-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 23 Feb 2009 07:01:05 +0000 (07:01 -0000)]
2009-02-23  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs : implemented error recovery feature.
  Use InvalidNodeFound event (of type RelaxngValidationEventHandler)
  to handle validation error like ValidationEventHandler in
  System.Xml.XmlSchema.

* RdpPattern.cs : added "Anything" which is used in error recovery
  support.

* relaxngtest.cs : added --skip-error option to test error recovery.

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

15 years ago2009-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 23 Feb 2009 05:10:10 +0000 (05:10 -0000)]
2009-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebClient.cs: append the QueryString in DownloadData.
Fixes bug #323788.

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

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

* reflection.c (encode_locals): Add checks for user types.
(method_encode_clauses): Ditto.
(method_encode_code): Ditto.
(mono_image_create_token): Ditto.

* object-internals.h: Change the type of more fields from MonoReflectionType*
to MonoObject*.

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

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

* TypeBuilderTest.cs: Add more tests for user types.

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

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

* ILGenerator.cs SignatureHelper.cs: Add checks for user types.

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

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

* Type.cs: Add IsUserType internal property.

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

15 years ago2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 23 Feb 2009 00:22:31 +0000 (00:22 -0000)]
2009-02-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpServerUtility.cs: allow Transfer to static files too.

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