mono.git
18 years agoAdded a bulk of tests from Mainsoft repository.
Boris Kirzner [Mon, 2 Jan 2006 12:45:40 +0000 (12:45 -0000)]
Added a bulk of tests from Mainsoft repository.

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

18 years ago2006-01-02 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 2 Jan 2006 05:30:07 +0000 (05:30 -0000)]
2006-01-02  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleConnection.cs: dispose of the
connection string and other fields

* Test/TestOracleClient.cs: tests for Intergrated Security
and Persist Secuirty Info connection string parameters

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

18 years ago2006-01-01 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 2 Jan 2006 04:20:45 +0000 (04:20 -0000)]
2006-01-01  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleConnection.cs: implement
support for connection parameter PERSIST SECURITY INFO and
correct what Clone() does

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

18 years ago2006-01-01 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 1 Jan 2006 21:07:11 +0000 (21:07 -0000)]
2006-01-01  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.Common/DbDataAdapter.cs: fix
regression for NET_2_0 causing NotImplementedException.
Fixes bug #77105.

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

18 years ago2006-01-01 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sun, 1 Jan 2006 11:40:03 +0000 (11:40 -0000)]
2006-01-01  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Breathe some life into "last open"/"recently used"
  button
* MimeIcon.cs: Do a check for the top level media type also

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

18 years ago2005-12-31 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sat, 31 Dec 2005 22:27:07 +0000 (22:27 -0000)]
2005-12-31  Daniel Morgan <danielmorgan@verizon.net>

* test/test.exe.config
* app.config: add new ADO.NET providers, remove obsolete providers, and
add more sample connection strings

* Provider.cs: load providers internal to System.Data differently than those
that are external, better error handling for assembly or connection class not found

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

18 years ago * ThemeClearlooks.cs:
Alexander Olk [Sat, 31 Dec 2005 14:27:13 +0000 (14:27 -0000)]
* ThemeClearlooks.cs:
  - Added CPDrawStringDisabled
  - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
    some chars if the text doesn't fit into text_rect
  - DrawListViewItem: If View = View.LargeIcon center the image;
    rewrote the drawing of ListViewItem.Text if View =
    View.LargeIcon

2005-12-31  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2005-12-31 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 31 Dec 2005 13:19:46 +0000 (13:19 -0000)]
2005-12-31  Alexander Olk  <alex.olk@googlemail.com>

* MimeIcon.cs: Use default KDE icon theme if there is no
  "48x48" directory for the current icon theme, fixes #77114
* Mime.cs: Disable not working and actually not used code.
* ThemeWin32Classic.cs:
  - Replace "new SolidBrush" in GetControlBackBrush and
    GetControlForeBrush with ResPool.GetSolidBrush
  - Changed DrawListViewItem from private to protected virtual
* FileDialog.cs:
  - Added form.MaximizeBox = true
  - Don't throw an exception if there is a broken symbolic link

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

18 years agotest test for bug 77119
Miguel de Icaza [Fri, 30 Dec 2005 19:37:43 +0000 (19:37 -0000)]
test test for bug 77119

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

18 years agoApply on gmcs as well.
Miguel de Icaza [Fri, 30 Dec 2005 19:35:21 +0000 (19:35 -0000)]
Apply on gmcs as well.

2005-12-30  Miguel de Icaza  <miguel@novell.com>

        * expression.cs (ParameterReference.DoResolveBase): Allow
        reference parameters if they are local to this block.

        This allows the ref and out parameters of a delegate to be used in
        an anonymous method, for example:

        delegate void set (out int x);

        set s = delegate (out int x){
                x = 0;
        };

        This is used by functionality introduced late in the C#
language.

        * anonymous.cs (AnonymousMethod.Compatible): Allow anonymous
        method that take ref and out parameters.

        Fixes #77119 which was a late change in the spec.

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

18 years agoRemove these tests, they are no longer valid
Miguel de Icaza [Fri, 30 Dec 2005 19:31:22 +0000 (19:31 -0000)]
Remove these tests, they are no longer valid

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

18 years ago2005-12-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 30 Dec 2005 19:30:44 +0000 (19:30 -0000)]
2005-12-30  Miguel de Icaza  <miguel@novell.com>

* expression.cs (ParameterReference.DoResolveBase): Allow
reference parameters if they are local to this block.

This allows the ref and out parameters of a delegate to be used in
an anonymous method, for example:

delegate void set (out int x);

set s = delegate (out int x){
x = 0;
};

This is used by functionality introduced late in the C# language.

* anonymous.cs (AnonymousMethod.Compatible): Allow anonymous
method that take ref and out parameters.

Fixes #77119 which was a late change in the spec.

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

18 years ago * map-icalls.h: Flush (add utimes_bad, lutimes, futimes).
Jonathan Pryor [Fri, 30 Dec 2005 01:35:40 +0000 (01:35 -0000)]
  * map-icalls.h: Flush (add utimes_bad, lutimes, futimes).
  * sys-time.c: Add lutimes(2) and futimes(2) wrapper.

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

18 years ago * make-map.cs: Properly handle managed arrays in argument lists.
Jonathan Pryor [Fri, 30 Dec 2005 01:34:24 +0000 (01:34 -0000)]
  * make-map.cs: Properly handle managed arrays in argument lists.
  * Syscall.cs: Properly bind utimes(2) (the Linux man pages are vague on what
    it does; the BSD ones are much better).  Bind lutimes(2) and futimes(2).

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

18 years ago* Regex.cs: Added support for regular expressions compiled to assemblies by compiling...
Kornél Pál [Thu, 29 Dec 2005 19:34:27 +0000 (19:34 -0000)]
* Regex.cs: Added support for regular expressions compiled to assemblies by compiling the pattern. This solution ignores existing CIL code but provides full support for regular expression classes compiled by MS.NET.

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

18 years ago* XmlSchemaExporterTests.cs: Added tests for exporting structs, and
Gert Driesen [Thu, 29 Dec 2005 18:50:09 +0000 (18:50 -0000)]
* XmlSchemaExporterTests.cs: Added tests for exporting structs, and
arrays. Added tests for bug #77117. Refactored some existing tests.

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

18 years ago* XmlTextWriterTests.cs: Do not yet enable tests for WriteWhitespace
Gert Driesen [Thu, 29 Dec 2005 18:45:36 +0000 (18:45 -0000)]
* XmlTextWriterTests.cs: Do not yet enable tests for WriteWhitespace
with null or zero-length value (await approval for XmlTextWriter
change from Atsushi).

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

18 years ago* mini-s390.c (mono_arch_get_inst_for_method): Add memory_barrier support.
Neale Ferguson [Thu, 29 Dec 2005 14:46:40 +0000 (14:46 -0000)]
* mini-s390.c (mono_arch_get_inst_for_method): Add memory_barrier support.

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

18 years ago * inssel-s390.brg: Correct register assignment; Rework L[ADD|SUB]_OVF[_UN] for s390.
Neale Ferguson [Thu, 29 Dec 2005 14:36:34 +0000 (14:36 -0000)]
* inssel-s390.brg: Correct register assignment; Rework L[ADD|SUB]_OVF[_UN] for s390.

* cpu-s390.md: Fix lengths of a couple of long instructions; Add memory_barrier.

* mini-s390.c: Fix long add/sub overflow instructions; Fix displacement handling in
instrument_prolog; Add memory_barrier instruction.

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

18 years ago * FileHandleOperations.cs: Check for null references.
Jonathan Pryor [Wed, 28 Dec 2005 16:53:02 +0000 (16:53 -0000)]
  * FileHandleOperations.cs: Check for null references.

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

18 years ago * UnixMarshal.cs: Errno.EBADF should also trigger a ArgumentException.
Jonathan Pryor [Wed, 28 Dec 2005 15:54:19 +0000 (15:54 -0000)]
  * UnixMarshal.cs: Errno.EBADF should also trigger a ArgumentException.

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

18 years ago* XmlSchemaExporterTests.cs: Correct mistake.
Gert Driesen [Wed, 28 Dec 2005 14:56:22 +0000 (14:56 -0000)]
* XmlSchemaExporterTests.cs: Correct mistake.

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

18 years ago2005-12-18 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
Alexandre Rocha Lima e Marcondes [Wed, 28 Dec 2005 14:34:34 +0000 (14:34 -0000)]
2005-12-18 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>

        * mkbundle.cs: Updated obsolete Alloc and Free (now its
AllocHeap and FreeHeap).

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

18 years ago* XmlSerializerTests.cs: Added serialization test for XmlSchema.
Gert Driesen [Wed, 28 Dec 2005 14:33:50 +0000 (14:33 -0000)]
* XmlSerializerTests.cs: Added serialization test for XmlSchema.
* XmlSchemaExporterTests.cs: Added tests for class, IXmlSerializable
and primitives.
* System.Xml_test.dll.sources: Added XmlSchemaExporterTests.cs.

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

18 years ago* runtime/Makefile.am (all-local): Enclose CC by apostrophes to fix build when CC...
Kornél Pál [Wed, 28 Dec 2005 14:13:28 +0000 (14:13 -0000)]
* runtime/Makefile.am (all-local): Enclose CC by apostrophes to fix build when CC contains spaces.

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

18 years ago2005-12-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 28 Dec 2005 07:38:46 +0000 (07:38 -0000)]
2005-12-28  Atsushi Enomoto <atsushi@ximian.com>

* README : updated the status.

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

18 years ago2005-12-21 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Wed, 28 Dec 2005 03:46:25 +0000 (03:46 -0000)]
2005-12-21 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
        * ecore.cs, cfold.cs: Changed for reflecting correct Error
Number/Message with Implict Convertions when Option Strict is On.

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

18 years ago * configure.in: Add check for <sys/mman.h>. Fixes #77091.
Jonathan Pryor [Wed, 28 Dec 2005 03:25:10 +0000 (03:25 -0000)]
* configure.in: Add check for <sys/mman.h>.  Fixes #77091.
  Thanks to Ben Gamari for the patch.
* support/map.c: Include <sys/mman.h>.  Fixes #77091.  Thanks to Ben Gamari.

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

18 years ago * Syscall.cs: Include <sys/mman.h> for map.c generation. Fixes #77091.
Jonathan Pryor [Wed, 28 Dec 2005 03:07:34 +0000 (03:07 -0000)]
* Syscall.cs: Include <sys/mman.h> for map.c generation.  Fixes #77091.

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

18 years ago * Mono.Unix/FileHandleOperations.cs, Mono.Unix/FileTypes.cs,
Jonathan Pryor [Wed, 28 Dec 2005 03:05:34 +0000 (03:05 -0000)]
* Mono.Unix/FileHandleOperations.cs, Mono.Unix/FileTypes.cs,
  Mono.Unix/Stdlib.cs, Mono.Unix/Syscall.cs, Mono.Unix/UnixConvert.cs,
  Mono.Unix/UnixDirectory.cs, Mono.Unix/UnixDirectoryInfo.cs,
  Mono.Unix/UnixDriveInfo.cs, Mono.Unix/UnixEnvironment.cs,
  Mono.Unix/UnixFile.cs, Mono.Unix/UnixFileInfo.cs,
  Mono.Unix/UnixFileSystemInfo.cs, Mono.Unix/UnixGroup.cs,
  Mono.Unix/UnixGroupInfo.cs, Mono.Unix/UnixIOException.cs,
  Mono.Unix/UnixMarshal.cs, Mono.Unix/UnixPath.cs, Mono.Unix/UnixPipes.cs,
  Mono.Unix/UnixProcess.cs, Mono.Unix/UnixStream.cs,
  Mono.Unix/UnixSymbolicLinkInfo.cs, Mono.Unix/UnixUser.cs,
  Mono.Unix/UnixUserInfo.cs: Mark to-be-removed API with [Obsolete(IsError=true)]
  (permits compiler assistance for finding obsolete code); Migrate to the
  Mono.Unix.Native API.
* Mono.Unix/StdioFileStream.cs: Add non-Obsolete overloads for
  SaveFilePosition & RestoreFilePosition (oops).  Migrate to Mono.Unix.Native API.

* Mono.Unix.Native/make-map.cs: Always include 2nd parameter of [Obsolete]
  attributes; mark the [DllImport]ed method with [Obsolete] if the underlying
  type is [Obsolete].
* Mono.Unix.Native/NativeConvert.generated.cs: Flush.

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

18 years ago * mono-service.cs: Use non-obsolete Mono.Posix.dll types.
Jonathan Pryor [Wed, 28 Dec 2005 02:47:06 +0000 (02:47 -0000)]
* mono-service.cs: Use non-obsolete Mono.Posix.dll types.

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

18 years ago * SqliteCommand.cs: Use non-obsolete UnixMarshal members.
Jonathan Pryor [Wed, 28 Dec 2005 02:39:18 +0000 (02:39 -0000)]
* SqliteCommand.cs: Use non-obsolete UnixMarshal members.

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

18 years ago * FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix -- it's faster.
Jonathan Pryor [Wed, 28 Dec 2005 02:01:44 +0000 (02:01 -0000)]
* FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix -- it's faster.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 19:06:07 +0000 (19:06 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* Util.cs RdpObjects.cs RdpContentType.cs RdpNameClasses.cs
  RdpPatterns.cs :

  ... and svn:eol-style as well, since there is exactly no one else
  who develops this assembly and messes no one else.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 19:04:55 +0000 (19:04 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* Util.cs RdpObjects.cs RdpContentType.cs RdpNameClasses.cs
  RdpPatterns.cs :

  Ugh, seems like svn server shows different diffs than that of
  client. Anyways here I fixed all mixed line endings.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 18:58:15 +0000 (18:58 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* Misc.cs RelaxngDatatype.cs RelaxngPattern.cs RelaxngException.cs
  RelaxngMergedProvider.cs RelaxngPatternType.cs RelaxngReader.cs
  RelaxngDefaultDatatypes.cs XsdDatatypeProvider.cs
  RelaxngValidatingReader.cs RelaxngDatatypeProvider.cs
  RelaxngGrammar.cs RelaxngNameClass.cs :

  This is the smarter way to set eol-style without messing code
  history.

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

18 years ago* XmlSerializerTests.cs: Number individual tests.
Gert Driesen [Tue, 27 Dec 2005 18:58:11 +0000 (18:58 -0000)]
* XmlSerializerTests.cs: Number individual tests.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 18:55:36 +0000 (18:55 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngDatatype.cs RelaxngPattern.cs RelaxngException.cs
  RelaxngMergedProvider.cs RelaxngPatternType.cs RelaxngReader.cs
  RelaxngDefaultDatatypes.cs XsdDatatypeProvider.cs
  RelaxngValidatingReader.cs RelaxngDatatypeProvider.cs
  RelaxngGrammar.cs RelaxngNameClass.cs :
  turned out that they all have LF on copyright lines while they are
  written to have CRLF.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 18:51:07 +0000 (18:51 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* Misc.cs : it has inconsistent newlines. Removed unused code.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 18:21:21 +0000 (18:21 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngGrammar.cs : A constraint in 4.18 that grammar must have at
  least one start element was missing. This fixes test #199 and #200.

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

18 years ago* XslTransformTests.cs: Extended html indentation test (and marked it
Gert Driesen [Tue, 27 Dec 2005 18:20:07 +0000 (18:20 -0000)]
* XslTransformTests.cs: Extended html indentation test (and marked it
NotWorking). Added tests for MS bugs (that have been fixed since).

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 17:49:56 +0000 (17:49 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs : validate whitespaces as text nodes. It
  rather invalidated some valid documents incorrectly (since it kept
  text pattern remaining). This fixed following tests: 237/2.v.xml,
  256/2.i.xml, 258/2.i.xml, 261/1.v.xml, 261/3.v.xml, 261/4.v.xml,
  268/2.v.xml and 269/2.v.xml, while it exposed bugs on 260/2.i.xml
  and 261/6.i.xml (they are not regressions).

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 14:41:39 +0000 (14:41 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RdpPatterns.cs : in ValueMatch() it should not strip whitespaces
  which could be validated. This fixes test #256/2.i.xml.

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

18 years ago* XmlAttributesTests.cs: No longer derive from Assertion, number
Gert Driesen [Tue, 27 Dec 2005 11:56:00 +0000 (11:56 -0000)]
* XmlAttributesTests.cs: No longer derive from Assertion, number
individual tests.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 11:48:33 +0000 (11:48 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* XsdDatatypeProvider.cs : Namespace remapping was required to make
  simple type restriction work fine. This fixes test #261/1.v.xml,
  #268/2.v.xml and #269/2.v.xml.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 11:29:23 +0000 (11:29 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngValidatingReader.cs : it needs to cache text nodes to allow
  split texts by such nodes as comments or processing instructions.
  This fixes test #268 and #269.

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

18 years ago* XmlTextWriterTests.cs: Do not yet enable tests for WriteNmToken
Gert Driesen [Tue, 27 Dec 2005 11:23:36 +0000 (11:23 -0000)]
* XmlTextWriterTests.cs: Do not yet enable tests for WriteNmToken
with null or zero-length value (await approval for XmlTextWriter
change from Atsushi).

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

18 years ago* XmlTextWriterTests.cs: Added tests for WriteWhitespace and WriteNmToken.
Gert Driesen [Tue, 27 Dec 2005 11:17:32 +0000 (11:17 -0000)]
* XmlTextWriterTests.cs: Added tests for WriteWhitespace and WriteNmToken.

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

18 years ago* NameTableTests.cs: Added additional tests for Add and Get methods.
Gert Driesen [Tue, 27 Dec 2005 11:03:12 +0000 (11:03 -0000)]
* NameTableTests.cs: Added additional tests for Add and Get methods.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 10:47:32 +0000 (10:47 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RdpPatterns.cs : oneOrMore ancestor check for anyName/nsName in
  section 7.3 was missing. This fixes test #357, #358 and #359.
* RdpNameClass.cs : added HasInfiniteName property to RdpNameClass.

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 10:30:27 +0000 (10:30 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RdpPattern.cs, RdpUtil.cs : reimplemented name class analysis to
  not create extraneous QName instances. This also fixes some weird
  bugs (test #362 and #363).

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 10:28:05 +0000 (10:28 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngGrammar.cs : expand refs before checking content pattern.

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

18 years ago2005-12-27 Alp Toker <alp@atoker.com>
Alp Toker [Tue, 27 Dec 2005 09:32:06 +0000 (09:32 -0000)]
2005-12-27  Alp Toker  <alp@atoker.com>

  * cilc.cs: Start work on GInterface support
  * Test.cs: Update tests

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

18 years ago2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Dec 2005 09:29:12 +0000 (09:29 -0000)]
2005-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RdpPattern.cs : Checking interleave restriction in section 7.4 with
  PatternType was not insufficient. Now I use ContainsText(). It fixes
  testcase #371.

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

18 years ago* XmlTextWriterTests.cs: Allow all tests to pass on .NET 1.1.
Gert Driesen [Tue, 27 Dec 2005 08:37:50 +0000 (08:37 -0000)]
* XmlTextWriterTests.cs: Allow all tests to pass on .NET 1.1.

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

18 years ago2005-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Dec 2005 21:45:11 +0000 (21:45 -0000)]
2005-12-26  Zoltan Varga  <vargaz@gmail.com>

* TimeZoneTest.cs: Fix CET tests.

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

18 years ago2005-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Dec 2005 20:09:37 +0000 (20:09 -0000)]
2005-12-26  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add support for solaris/x86.

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

18 years ago2005-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Dec 2005 18:45:29 +0000 (18:45 -0000)]
2005-12-26  Zoltan Varga  <vargaz@gmail.com>

* include/private/gcconfig.h: Disable PROC_VDB on solaris/x86 as it
doesn't seem to work.

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

18 years ago2005-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Dec 2005 18:43:15 +0000 (18:43 -0000)]
2005-12-26  Zoltan Varga  <vargaz@gmail.com>

* runtime/Makefile.am (all-local): Pass CC tothe mcs makefile.

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

18 years ago2005-12-26 John Luke <john.luke@gmail.com>
John Luke [Mon, 26 Dec 2005 18:21:47 +0000 (18:21 -0000)]
2005-12-26  John Luke  <john.luke@gmail.com>

        * ContentDisposition.cs: Size is -1 by default
        throw ArgumentNullException and ArgumentException for
        set_DispositionType
        * ContentType.cs: throw ArgumentNullException, ArgumentException,
        and FormatException for set_MediaType
        don't print Boundary,Name in ToString() if they are ""

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

18 years ago2005-12-26 John Luke <john.luke@gmail.com>
John Luke [Mon, 26 Dec 2005 17:14:08 +0000 (17:14 -0000)]
2005-12-26  John Luke  <john.luke@gmail.com>

        * AttachmentCollection.cs: mark sealed
        * DeliveryNotificationOptions.cs: fix values

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

18 years ago2005-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Dec 2005 14:57:23 +0000 (14:57 -0000)]
2005-12-26  Atsushi Enomoto <atsushi@ximian.com>

        * XmlTextWriter.cs : when namespaceURI is String.Empty, Prefix
          should be just ignored (it is likely to happen that DOM nodes
          with empty namespace URI are specified non-empty prefix by
          users, which had better be just ignored). Fixed bug #77095.

        * XmlTextWriterTests.cs : enabled
          WriteStartElement_Prefix_EmptyNamespace() and
          NamespacesPrefixWithEmptyAndNullNamespaceEmpty().

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

18 years ago2005-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Dec 2005 14:33:20 +0000 (14:33 -0000)]
2005-12-26  Atsushi Enomoto <atsushi@ximian.com>

        * XmlElement.cs : patch for Prefix property by Vorobiev Maksim.
          - null should cause ArgumentNullException.
          - "" should not raise an error.
          - throws ArgumentException when it is readonly.

        * XmlElementTests.cs : Patch by Vorobiev Maksim.
          - setting null to Prefix should raise ArgumentNullException.
          - setting String.Empty to Prefix should be allowed.

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

18 years ago2005-12-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 26 Dec 2005 14:16:44 +0000 (14:16 -0000)]
2005-12-26  Atsushi Enomoto <atsushi@ximian.com>

        * XsdValidatingReader.cs : Fixed the bug that only the last
        * schema
          URL in a schemaLocation was processed. Patch by Vorobiev
Maksim.

        * XsdValidatingReaderTests.cs : test for multi URLs in
          schemaLocation. Test by Vorobiev Maskim.

        * multi-schemaLocation.xml,
          x-net-config-storage-factory-provider-schema.xsd,
          x-net-config-schema.xsd :
          test support files for XsdValidatingReaderTests
          .MultipleSchemaInSchemaLocation() by Vorobiev Maskim.

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

18 years ago* XmlElementTests.cs: Fixed line endings.
Gert Driesen [Mon, 26 Dec 2005 13:58:20 +0000 (13:58 -0000)]
* XmlElementTests.cs: Fixed line endings.

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

18 years ago* XmlTextWriterTests.cs: Renamed tests to avoid ambiguity, and
Gert Driesen [Mon, 26 Dec 2005 12:39:40 +0000 (12:39 -0000)]
* XmlTextWriterTests.cs: Renamed tests to avoid ambiguity, and
renumbered some tests. Added tests for WriteStartElement and
WriteElementString for zero-length and null local names.
Added tests for bugs #77093, #77094 and #77095.

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

18 years ago* XmlNamespaceManagerTests.cs: Added tests for xml prefix.
Gert Driesen [Mon, 26 Dec 2005 11:50:00 +0000 (11:50 -0000)]
* XmlNamespaceManagerTests.cs: Added tests for xml prefix.

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

18 years ago2005-12-25 John Luke <john.luke@gmail.com>
John Luke [Mon, 26 Dec 2005 04:39:36 +0000 (04:39 -0000)]
2005-12-25  John Luke  <john.luke@gmail.com>

        * SmtpStatusCode.cs: OK > Ok
        * AttachmentBase.cs: ContentID > ContentId,
        add set_ContentType
        * AlternateViewCollection.cs: remove destructor,
        make default ctor internal
        * MailMessage.cs: add default ctor,
        remove destructor
        * Attachment.cs: add (string, string) ctor,
        add set_NameEncoding
        * LinkedResourceCollection.cs: remove destructor,
        make default ctor internal
        * AttachmentCollection.cs: mark Dispose virtual,
        add ISerializable, make default ctor internal

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

18 years ago2005-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 26 Dec 2005 03:11:54 +0000 (03:11 -0000)]
2005-12-26  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c mini-x86.h: Fix solaris/x86 exception handling.

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

18 years ago2005-12-25 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 26 Dec 2005 00:30:25 +0000 (00:30 -0000)]
2005-12-25  Daniel Morgan <danielmorgan@verizon.net>

* SqlSharpCli.cs: make the MySQL Connector/Net the default mysql provider.
If people still need to use ByteFX, they can use bytefx.  Update assembly
version for Firebird SQL.

* README: update MySQL provider info

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

18 years agoupdate man page sqlsharp.1 for the mysql provider
Daniel Morgan [Mon, 26 Dec 2005 00:20:15 +0000 (00:20 -0000)]
update man page sqlsharp.1 for the mysql provider

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

18 years ago2005-12-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 25 Dec 2005 22:43:00 +0000 (22:43 -0000)]
2005-12-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FtpStatusCode.cs: New 2.0 enum.

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

18 years ago* XslTransformTests.cs: Enabled forwards compatible tests.
Gert Driesen [Sun, 25 Dec 2005 15:38:08 +0000 (15:38 -0000)]
* XslTransformTests.cs: Enabled forwards compatible tests.
* XslOutput.cs: Do not report error for unknown value for "standalone"
and "omit-xml-declaration" attributes, and extranous attributes if
stylesheet version is not "1.0".

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

18 years agoadd missing classes in System.Net.Mail
John Luke [Sun, 25 Dec 2005 03:37:02 +0000 (03:37 -0000)]
add missing classes in System.Net.Mail
update many things to the 2.0 final API
and add some tests

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

18 years ago2005-12-24 John Luke <john.luke@gmail.com>
John Luke [Sat, 24 Dec 2005 17:13:57 +0000 (17:13 -0000)]
2005-12-24  John Luke  <john.luke@gmail.com>

        * MailMessage.cs: use text/plain by default,
        patch by Andy Waddell <awaddell@fnfr.com>,
        fixes bug #76972

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

18 years ago2005-12-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 24 Dec 2005 16:22:09 +0000 (16:22 -0000)]
2005-12-24  Atsushi Enomoto  <atsushi@ximian.com>

        * Compiler.cs : pass stylesheet version to XslOutput to
        * determine
          "indent" value validity.
        * XslOutput.cs, HtmlEmitter.cs, GenericOutputter.cs : Reverted
          buggy changes on "indent" attribute handling.
          http://www.w3.org/TR/xslt#section-HTML-Output-Method

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

18 years ago* XslTransformTests.cs: Added forwards compatible tests.
Gert Driesen [Sat, 24 Dec 2005 14:58:10 +0000 (14:58 -0000)]
* XslTransformTests.cs: Added forwards compatible tests.

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

18 years agoFileStream.cs: Set buf_start to actual initial position when creating FileStreams...
Kornél Pál [Sat, 24 Dec 2005 09:00:02 +0000 (09:00 -0000)]
FileStream.cs: Set buf_start to actual initial position when creating FileStreams from handles.

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

18 years ago2005-12-24 Jb Evain <jbevain@gmail.com>
Jb Evain [Sat, 24 Dec 2005 07:37:26 +0000 (07:37 -0000)]
2005-12-24  Jb Evain  <jbevain@gmail.com>

* main.c (dis_property_signature): read the hasthis flag.

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

18 years agoin parser:
Jb Evain [Sat, 24 Dec 2005 07:34:39 +0000 (07:34 -0000)]
in parser:
2005-12-24  Jb Evain  <jbevain@gmail.com>

* ILParser.jay (prop_attr): Activate instance keyword on properties.

in codegen:
2005-12-24  Jb Evain  <jbevain@gmail.com>

* FeatureAttr.cs: tag as Flags, add an Instance value.
* PropertyDef.cs (PropertyDef.Resolve): Tag the property as instance or class.

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

18 years ago2005-12-24 Jb Evain <jbevain@gmail.com>
Jb Evain [Sat, 24 Dec 2005 07:26:47 +0000 (07:26 -0000)]
2005-12-24  Jb Evain  <jbevain@gmail.com>

* Metadata.cs (Property): Add a new 'instance' field.
(Property.SetInstance): New mutator for the instance field.
(Property.BuildTables): Emit the correct property tag depending on the instance field.

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

18 years agoAdd test
Miguel de Icaza [Sat, 24 Dec 2005 04:08:19 +0000 (04:08 -0000)]
Add test

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

18 years ago2005-12-23 John Luke <john.luke@gmail.com>
John Luke [Sat, 24 Dec 2005 03:31:21 +0000 (03:31 -0000)]
2005-12-23  John Luke  <john.luke@gmail.com>

        * ContentDisposition.cs: override GetHashCode and
        Equals, implement ToString,
        fix Size to be long not int,
        implement Inline property,
        implement the ctors
        * ContentType.cs: override GetHashCode and Equals
        implement ToString, implement the ctors

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

18 years ago* ToolBar.cs: Remove some of the poor mans double buffering.
Jackson Harper [Sat, 24 Dec 2005 03:08:04 +0000 (03:08 -0000)]
* ToolBar.cs: Remove some of the poor mans double buffering.

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

18 years ago- We need these key events also.
Jackson Harper [Sat, 24 Dec 2005 01:15:44 +0000 (01:15 -0000)]
- We need these key events also.

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

18 years ago Make JIT parse default config files before init
Alp Toker [Sat, 24 Dec 2005 01:08:25 +0000 (01:08 -0000)]
  Make JIT parse default config files before init

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

18 years ago2005-12-24 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 24 Dec 2005 00:40:33 +0000 (00:40 -0000)]
2005-12-24  Alp Toker  <alp@atoker.com>

  * cilc.cs: Fix generation of mono method signature a bit (still needs work)

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

18 years ago* TabControl.cs: Give the panels focus, keyboard navigation is
Jackson Harper [Sat, 24 Dec 2005 00:21:06 +0000 (00:21 -0000)]
* TabControl.cs: Give the panels focus, keyboard navigation is
        fixed so this works correctly now.

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

18 years ago2005-12-24 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sat, 24 Dec 2005 00:05:58 +0000 (00:05 -0000)]
2005-12-24  Alexander Olk  <alex.olk@googlemail.com>

* ComboBox.cs: The internal TextBox now returns the focus.

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

18 years ago* ThemeWin32Classic.cs: Draw the text for all tab appearances.
Jackson Harper [Fri, 23 Dec 2005 23:40:31 +0000 (23:40 -0000)]
* ThemeWin32Classic.cs:  Draw the text for all tab appearances.

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

18 years ago2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 23 Dec 2005 22:33:59 +0000 (22:33 -0000)]
2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Removed debug code
* XplatUIX11.cs: Changed DestroyChildWindows to also consider
  implicit children

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

18 years ago2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 23 Dec 2005 21:56:11 +0000 (21:56 -0000)]
2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: When creating the control, update the Z-order after
  all it's children are created, too. (Fixes nexxia not showing
  picturebox bug)

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

18 years ago* XslTransformTests.cs: Added working XML/HTML indentation tests.
Gert Driesen [Fri, 23 Dec 2005 20:42:46 +0000 (20:42 -0000)]
* XslTransformTests.cs: Added working XML/HTML indentation tests.

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

18 years ago2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 23 Dec 2005 20:38:12 +0000 (20:38 -0000)]
2005-12-23  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Do not update the anchoring distances if layout is
  suspended, instead do it once layout is resumed

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

18 years ago2005-12-23 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 23 Dec 2005 20:29:06 +0000 (20:29 -0000)]
2005-12-23  Dick Porter  <dick@ximian.com>

        * EventWaitHandle.cs:
        * Mutex.cs: Implement OpenExisting

        * NativeEventCalls.cs: Add OpenEvent icall for OpenExisting in
        2.0.  Add a "created" boolean out parameter to CreateEvent icall.

        * ManualResetEvent.cs:
        * AutoResetEvent.cs: Update CreateEvent icall signature (now has
        "created" boolean out parameter.)

2005-12-23  Dick Porter  <dick@ximian.com>

        * Semaphore.cs: Implement OpenExisting

2005-12-23  Dick Porter  <dick@ximian.com>

        * MutexRights.cs: New for 2.0 profile

2005-12-23  Dick Porter  <dick@ximian.com>

        * SemaphoreRights.cs: Make the [Flags] enum more obvious

2005-12-23  Dick Porter  <dick@ximian.com>

        * SemaphoreTest.cs: Enable another test

2005-12-23  Dick Porter  <dick@ximian.com>

        * corlib.dll.sources: Added System.Security.AccessControl.MutexRights

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

18 years ago2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 23 Dec 2005 20:28:23 +0000 (20:28 -0000)]
2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Bump corlib version to 46.
* TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
(like MS). This allows serialization roundtrip to work in Mono but
there's still an issue when deserializing a stream from MS.

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

18 years ago2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 23 Dec 2005 20:28:13 +0000 (20:28 -0000)]
2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Fixed #75950. The icall has been changed to accept a
boolean so it can return a non-escaped code base.

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

18 years agoicall.c: get_code_base can now return a non-escaped path. CurrentTimeZone renamed...
Sebastien Pouliot [Fri, 23 Dec 2005 20:28:05 +0000 (20:28 -0000)]
icall.c: get_code_base can now return a non-escaped path. CurrentTimeZone renamed to CurrentSystemTimeZone for serialization interoperability. Bumped corlib version in appdomain.c

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

18 years ago2005-12-23 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 23 Dec 2005 20:26:48 +0000 (20:26 -0000)]
2005-12-23  Dick Porter  <dick@ximian.com>

        * icall.c:
        * threads-types.h:
        * threads.c: Added OpenMutex, OpenSemaphore and OpenEvent icalls.
        CreateEvent icall now returns "created" boolean parameter.

2005-12-23  Dick Porter  <dick@ximian.com>

        * semaphores.h:
        * semaphores.c: Implement OpenSemaphore

        * mutexes.c:
        * mutexes.h: Implement OpenMutex

        * wapi-private.h:
        * handles.c:
        * events.c:
        * events.h:
        * event-private.h: Implement named events.  Implement OpenEvent.

2005-12-23  Dick Porter  <dick@ximian.com>

        * hps.c: Add named event support

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

18 years ago2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 23 Dec 2005 20:25:51 +0000 (20:25 -0000)]
2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>

* TimeZoneTest.cs: Added test cases for serialization interop.

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