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
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
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
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
Neville Gao [Thu, 26 Feb 2009 02:26:51 +0000 (02:26 -0000)]
Added UIA Framwork Property: UIASelectedSmallColorControl.
svn path=/trunk/mcs/; revision=128044
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
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
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
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
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
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
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
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
Marek Safar [Wed, 25 Feb 2009 16:46:43 +0000 (16:46 -0000)]
New test.
svn path=/trunk/mcs/; revision=128017
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
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
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
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
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
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
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
Marek Safar [Wed, 25 Feb 2009 11:40:21 +0000 (11:40 -0000)]
New test.
svn path=/trunk/mcs/; revision=127991
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
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
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
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
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
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
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
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
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
Andrés G. Aragoneses [Wed, 25 Feb 2009 02:33:30 +0000 (02:33 -0000)]
changelog..
svn path=/trunk/mcs/; revision=127933
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
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
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
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
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
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
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
Marek Safar [Tue, 24 Feb 2009 20:37:52 +0000 (20:37 -0000)]
New test.
svn path=/trunk/mcs/; revision=127899
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Tue, 24 Feb 2009 17:01:11 +0000 (17:01 -0000)]
new enums tests
svn path=/trunk/mcs/; revision=127869
Marek Safar [Tue, 24 Feb 2009 16:58:37 +0000 (16:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=127868
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Mon, 23 Feb 2009 18:13:22 +0000 (18:13 -0000)]
we pass those
svn path=/trunk/mcs/; revision=127773
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
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
Jb Evain [Mon, 23 Feb 2009 17:20:53 +0000 (17:20 -0000)]
more tests
svn path=/trunk/mcs/; revision=127758
Jb Evain [Mon, 23 Feb 2009 17:16:54 +0000 (17:16 -0000)]
new tests
svn path=/trunk/mcs/; revision=127757
Jb Evain [Mon, 23 Feb 2009 17:03:44 +0000 (17:03 -0000)]
we pass those
svn path=/trunk/mcs/; revision=127755
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
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
Jb Evain [Mon, 23 Feb 2009 16:45:35 +0000 (16:45 -0000)]
passing those
svn path=/trunk/mcs/; revision=127751
Marek Safar [Mon, 23 Feb 2009 16:45:12 +0000 (16:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=127750
Marek Safar [Mon, 23 Feb 2009 16:44:53 +0000 (16:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=127749
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
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
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
Jonathan Pryor [Mon, 23 Feb 2009 14:44:43 +0000 (14:44 -0000)]
Oops; mention correct bugzilla numbers.
svn path=/trunk/mcs/; revision=127741
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
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
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
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
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
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
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
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
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
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
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
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
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
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