mono.git
19 years agoargh
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:20:11 +0000 (21:20 -0000)]
argh

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 21:17:51 +0000 (21:17 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Environment_Exit): Suspend all managed
threads before shutting down the runtime.

* threads.c (mono_thread_suspend_all_other_threads): New helper function.

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

19 years ago2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:16:28 +0000 (21:16 -0000)]
2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monoresgen.cs: s/monoresgen/resgen/. Open the destination file with
FileMode.Truncate, just in case it exists. Fixes bug #52105.

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 20:25:00 +0000 (20:25 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* jni.c: Fix compilation on PPC.

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

19 years ago2005-01-13 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 13 Jan 2005 20:00:13 +0000 (20:00 -0000)]
2005-01-13  Cesar Lopez Nataren  <cnataren@novell.com>

* Makefile (SUBDIRS): added Microsoft.JScript to the default build.

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 19:58:04 +0000 (19:58 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_output_basic_block): Fix OP_ATOMIC_ADD_NEW_I4.

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 19:36:29 +0000 (19:36 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* configure.in Makefile.am: Resurrect ikvm-jni.

* ikvm-native: New directory which contains a copy of the 'native'
module in IKVM cvs.

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

19 years ago2005-01-13 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 13 Jan 2005 18:32:34 +0000 (18:32 -0000)]
2005-01-13  Geoff Norton  <gnorton@customerdna.com>

        * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE).  Fixes
        #71242

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

19 years agoForgot to add the file
Miguel de Icaza [Thu, 13 Jan 2005 17:10:21 +0000 (17:10 -0000)]
Forgot to add the file

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

19 years agoThu Jan 13 18:15:32 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 13 Jan 2005 17:09:11 +0000 (17:09 -0000)]
Thu Jan 13 18:15:32 CET 2005 Paolo Molaro <lupus@ximian.com>

* Thread.cs: implement stacksize and parameterized
start functionality (requires matching runtime).

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

19 years agoThu Jan 13 18:16:35 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 13 Jan 2005 17:08:32 +0000 (17:08 -0000)]
Thu Jan 13 18:16:35 CET 2005 Paolo Molaro <lupus@ximian.com>

* object-internal.h, threads.c: implement stacksize and
parameterized thread start functionality (requires
matching corlib). Marked broken code for later removal.

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

19 years agofixes dropstyle
Jordi Mas i Hernandez [Thu, 13 Jan 2005 16:50:25 +0000 (16:50 -0000)]
fixes dropstyle

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

19 years agoIn Test/tests:
Ritvik Mayank [Thu, 13 Jan 2005 16:03:28 +0000 (16:03 -0000)]
In Test/tests:
2005-01-13  Ritvik Mayank  <mritvik@novell.com>

*ExpConversionBoolToByteA1.vb:
*ExpConversionBoolToByteA2.vb:
*ExpConversionBoolToDecimalA1.vb:
*ExpConversionBoolToDecimalA2.vb:
*ExpConversionBoolToDoubleA1.vb:
*ExpConversionBoolToDoubleA2.vb:
*ExpConversionBoolToIntA1.vb:
*ExpConversionBoolToIntA2.vb:
*ExpConversionBoolToLongA1.vb:
*ExpConversionBoolToLongA2.vb:
*ExpConversionBoolToShortA1.vb:
*ExpConversionBoolToShortA2.vb:
*ExpConversionBoolToSingleA1.vb:
*ExpConversionBoolToSingleA2.vb:
*ExpConversionByteToBoolA1.vb:
*ExpConversionDecimalToBoolA1.vb:
*ExpConversionDoubleToBoolA1.vb:
*ExpConversionIntToBoolA1.vb:
*ExpConversionLongToBoolA1.vb:
*ExpConversionShortToBoolA1.vb:
*ExpConversionSingleToBoolA1.vb:

Above Test cases are for Explicit Conversion from Boolean to different Numeric type and form different Numeric type to Boolean

2005-01-13  Ritvik Mayank  <mritvik@novell.com>

*ImpConversionBoolToByteA1.vb:
*ImpConversionBoolToByteA2.vb:
*ImpConversionBoolToDecimalA1.vb:
*ImpConversionBoolToDecimalA2.vb:
*ImpConversionBoolToDoubleA1.vb:
*ImpConversionBoolToDoubleA2.vb:
*ImpConversionBoolToIntA1.vb:
*ImpConversionBoolToIntA2.vb:
*ImpConversionBoolToLongA1.vb:
*ImpConversionBoolToLongA2.vb:
*ImpConversionBoolToShortA1.vb:
*ImpConversionBoolToShortA2.vb:
*ImpConversionBoolToSingleA1.vb:
*ImpConversionBoolToSingleA2.vb:
*ImpConversionByteToBoolA1.vb:
*ImpConversionDecimalToBoolA1.vb:
*ImpConversionDoubleToBoolA1.vb:
*ImpConversionIntToBoolA1.vb:
*ImpConversionLongToBoolA1.vb:
*ImpConversionShortToBoolA1.vb:
*ImpConversionSingleToBoolA1.vb:

Above Test cases are for Implicit Conversion from Boolean to different Numeric type and form different Numeric type to Boolean

In .:
2005-01-13  Ritvik Mayank  <mritvik@novell.com>

* mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .

* mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 .

2005-01-13  Ritvik Mayank  <mritvik@novell.com>

* ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .

* expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .

2005-01-13  Ritvik Mayank  <mritvik@novell.com>
* statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .

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

19 years ago * Mono.Posix_test.dll.sources: Added Test/Mono.Unix/StdlibTest.cs.
Jonathan Pryor [Thu, 13 Jan 2005 14:00:37 +0000 (14:00 -0000)]
  * Mono.Posix_test.dll.sources: Added Test/Mono.Unix/StdlibTest.cs.
  * Test/Mono.Unix/StdlibTest.cs: Added tests for signal(3) and snprintf(3).

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

19 years ago * Stdlib.cs: Use Stdlib.LIBC instead of "libc".
Jonathan Pryor [Thu, 13 Jan 2005 13:58:33 +0000 (13:58 -0000)]
  * Stdlib.cs: Use Stdlib.LIBC instead of "libc".
  * StdioFileStream.cs: Add FilePosition property (not that I expect anyone to
    use it) and Rewind() method.

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

19 years ago2005-01-13 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 13 Jan 2005 12:40:08 +0000 (12:40 -0000)]
2005-01-13  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: Implement NextResultSet for multiple result
set queries.

* OdbcDataReader.cs: build column schema once creating reader and
then for each Next result set. Thanks to
sebastien.robitaille@croesus.com (Sebastien Robitaille) for
pointing out this optimization (bugzilla #70530).

* libodbc.cs: Added library calls SQLFreeStmt and SQLMoreResults
for mutiple resultsets.

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

19 years ago* profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use $(EXTERNAL_MBAS).
Raja R Harinath [Thu, 13 Jan 2005 12:34:22 +0000 (12:34 -0000)]
* profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use $(EXTERNAL_MBAS).
Reported by Nick Drochak.

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

19 years ago- Changes and fixes to implement focus and keyboard traversal; still very incomplete
Peter Dennis Bartok [Thu, 13 Jan 2005 11:59:43 +0000 (11:59 -0000)]
- Changes and fixes to implement focus and keyboard traversal; still very incomplete
  and missing most associated events

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

19 years agoIn mcs:
Raja R Harinath [Thu, 13 Jan 2005 11:56:23 +0000 (11:56 -0000)]
In mcs:
Fix test-335.cs (bug #58126).
* cs-parser.jay (argument): Split out non-expression parts of the
rule into 'non_simple_argument'.
(invocation_expression): Support parenthesized invocations with
multiple arguments, and with single non-simple arguments.

In tests:
* test-335.cs: New test, from #58126.

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

19 years agomissing properties, fixed bugs
Jordi Mas i Hernandez [Thu, 13 Jan 2005 11:26:05 +0000 (11:26 -0000)]
missing properties, fixed bugs

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

19 years ago * fstab.c: Fix HPUX support. HPUX includes both <fstab.h> and
Jonathan Pryor [Thu, 13 Jan 2005 11:23:37 +0000 (11:23 -0000)]
* fstab.c: Fix HPUX support.  HPUX includes both <fstab.h> and
  <checkpoint.h>, so we need to give preference to <checkpoint.h>.

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

19 years ago- Setting Selectable window style for controls that cannot have focus to off
Peter Dennis Bartok [Thu, 13 Jan 2005 10:27:47 +0000 (10:27 -0000)]
- Setting Selectable window style for controls that cannot have focus to off

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 09:11:04 +0000 (09:11 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderCommonTests.cs : added labels for tests.
  Marked MoveToXmlDeclAttributes() as [Ignore] again because there is
  no consistent reference implementation to follow.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 08:20:37 +0000 (08:20 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlResolver.cs : throw ArgumentException in ResolveUri().

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

19 years agoIn mcs:
Raja R Harinath [Thu, 13 Jan 2005 07:42:50 +0000 (07:42 -0000)]
In mcs:
* cs-tokenizer.cs (xtoken): Reset 'comments_seen' in a couple more
places.

In tests:
* Makefile (TEST_EXCLUDES_win32): Add test-74.  See #71200.
* harness.mk: Fix indentation.
* test-332.cs: Update with more issues.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 07:26:04 +0000 (07:26 -0000)]
2005-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConsoleWriter.cs : Flush() should call that of input writer.

* ConsoleUI.cs : at least it should flush stream, even though it
  cannot close the stream (due to the behavioral difference between
  Console.Out and usual StreamWriter).

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

19 years agoRemove unlogged change.
Raja R Harinath [Thu, 13 Jan 2005 07:10:38 +0000 (07:10 -0000)]
Remove unlogged change.

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

19 years agooops.
Raja R Harinath [Thu, 13 Jan 2005 07:08:59 +0000 (07:08 -0000)]
oops.

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

19 years agoremove unlogged change.
Raja R Harinath [Thu, 13 Jan 2005 06:44:38 +0000 (06:44 -0000)]
remove unlogged change.

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

19 years agoAdd cs1540-6.cs.
Raja R Harinath [Thu, 13 Jan 2005 05:38:20 +0000 (05:38 -0000)]
Add cs1540-6.cs.

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

19 years ago2005-01-11 Peter Bartok <pbartok@novell.com>
Miguel de Icaza [Thu, 13 Jan 2005 04:53:07 +0000 (04:53 -0000)]
2005-01-11  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.Sources: Added OSXStructs.cs

2005-01-05  Peter Bartok  <pbartok@novell.com>

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:37:22 +0000 (04:37 -0000)]
2005-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* MsxslScriptTests.cs : actually it was not testing stylesheet.
* XslTransformTests.cs : marked MSXslNodeSetRejectsNodeSet() as
  NotDotNet.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:31:40 +0000 (04:31 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* NamedNodeMap.cs : more NotDotNet.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:26:25 +0000 (04:26 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlValidatingReaderTests.cs,
  XmlReaderCommonTests.cs,
  XmlTextWriterTests.cs,
  XmlUrlResolverTests.cs :
  Marked as NotDotNet for those tests that fails under MS.NET.
  Commented out some XmlTextWriter implementation-dependent assertions.
  Fixed ResolveUriWithNullArgs () expected return type.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:22:43 +0000 (04:22 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* Attr.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* CharacterData.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* Element.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* Document.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* NamedNodeMap.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* Text.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

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

19 years ago * TreeView.cs: Refresh the tree after sorting the nodes. Always
Jackson Harper [Wed, 12 Jan 2005 23:49:09 +0000 (23:49 -0000)]
* TreeView.cs: Refresh the tree after sorting the nodes. Always
draw the connecting node lines (when ShowLines is true).
* TreeNode.cs: The nodes index can now be updated. This is used
when a node collection is sorted.
* TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
insert or an existing unsorted node collection can be sorted.

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

19 years ago- Implemented ProcessDialogKey()
Peter Dennis Bartok [Wed, 12 Jan 2005 23:27:11 +0000 (23:27 -0000)]
- Implemented ProcessDialogKey()
- Bug fixes

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

19 years ago- Implemented SelectNextControl() method
Peter Dennis Bartok [Wed, 12 Jan 2005 23:24:09 +0000 (23:24 -0000)]
- Implemented SelectNextControl() method
- Several focus related bug fixes
- Fixed Docking calculations to match MS documentation and behaviour

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

19 years ago2005-01-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 12 Jan 2005 22:42:40 +0000 (22:42 -0000)]
2005-01-12  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericClass): Moved the `initialized'
flag to MonoDynamicGenericClass, removed `init_pending'.
(MonoGenericInst): Added `is_reference' flag.

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

19 years ago2005-01-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 12 Jan 2005 22:23:29 +0000 (22:23 -0000)]
2005-01-12  Martin Baulig  <martin@ximian.com>

* class.c (mono_get_shared_generic_class): Use the cache for
non-dynamic generic classes.

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

19 years ago2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jan 2005 21:43:05 +0000 (21:43 -0000)]
2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BaseNumberConverter.cs: when the culture we get is null, set it to the
default. Fixes bug #67033. Thanks to Sander Rijken.

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

19 years ago2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jan 2005 20:25:19 +0000 (20:25 -0000)]
2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ThreadAbortException.cs: added private serialization .ctor.

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

19 years agokeyboard navigation and bug fixes
Jordi Mas i Hernandez [Wed, 12 Jan 2005 16:22:58 +0000 (16:22 -0000)]
keyboard navigation and bug fixes

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

19 years ago2005-01-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 12 Jan 2005 14:56:26 +0000 (14:56 -0000)]
2005-01-12  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_create_pefile): Only set the pe_offset
inside the MSDOS header. Fixes #71201.

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

19 years ago2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Wed, 12 Jan 2005 14:02:12 +0000 (14:02 -0000)]
2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
                         to support delemeter ':' along with "EOL" as end of statement

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

19 years agoFix cs0038-1.cs, cs1640-6.cs.
Raja R Harinath [Wed, 12 Jan 2005 13:59:44 +0000 (13:59 -0000)]
Fix cs0038-1.cs, cs1640-6.cs.
* ecore.cs (Expression.Resolve): Remove special-case for
SimpleName in error-handling.
(Expression.almostMatchedMembers): Relax access permission to
protected.
(Expression.MemberLookupFailed): Handle duplicates in
almostMatchedMembers list.
(SimpleName.DoSimpleNameResolve): Catch CS0038 errors earlier.
* expression.cs (New.DoResolve): Report CS1540 for more cases.
* typemanager.cs (GetFullNameSignature): Use the MethodBase
overload if the passed in MemberInfo is a MethodBase.

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

19 years ago2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 13:53:23 +0000 (13:53 -0000)]
2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : When serializing DataTable, BuildSchema() is passed
  null relation collections.
  Quick fix for XmlSerializer deserialization. It does not require
  XML Schema included.

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

19 years ago2005-01-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 12 Jan 2005 13:51:40 +0000 (13:51 -0000)]
2005-01-12  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_gc_cleanup): Handle the case when this is called from the
gc thread.
(mono_domain_finalize): Ditto.

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

19 years ago2005-01-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 12 Jan 2005 12:52:20 +0000 (12:52 -0000)]
2005-01-12  Marek Safar <marek.safar@seznam.cz>

* test-311.cs: Incorporated test for #70749.

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

19 years agoremoved (wrong TC)
Marek Safar [Wed, 12 Jan 2005 12:50:17 +0000 (12:50 -0000)]
removed (wrong TC)

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

19 years ago2005-01-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 12 Jan 2005 12:50:01 +0000 (12:50 -0000)]
2005-01-12  Marek Safar  <marek.safar@seznam.cz>

Fix #70749
* attribute.cs (ExtractSecurityPermissionSet): Don't report error
for non-CAS & merge permission sets properly.

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

19 years ago* Makefile (DISTFILES): Distribute *.inc, *.pub, and *.response files too.
Raja R Harinath [Wed, 12 Jan 2005 12:28:30 +0000 (12:28 -0000)]
* Makefile (DISTFILES): Distribute *.inc, *.pub, and *.response files too.
* cs2023.response: Rename from CS2023.
* cs2023.cs: Update.

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

19 years ago(DISTFILES): Distribute *.inc files too.
Raja R Harinath [Wed, 12 Jan 2005 12:21:46 +0000 (12:21 -0000)]
(DISTFILES): Distribute *.inc files too.

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:46:10 +0000 (11:46 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : WriteXmlSchema2() and WriteXmlSchema3() didn't pass
  on run-test-ondotnet. Removed extraneous Console output.
  modified WriteXmlSchema4(),WriteXmlSchema5() and WriteXmlSchema6()
  to use xmlserializer-based comparison.
  Fixed SerializeDataSet() to use ordinal MS result (it's not simple
  to compare results unless we have another WriteXmlSchema()
  implementation.)

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:28:45 +0000 (11:28 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetAssertion.cs : forgot one required update for refreshed tests.

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:19:44 +0000 (11:19 -0000)]
2005-01-12  Atsushi Enomoto <atsushi@ximian.com>

* test103.xsd : added.

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:18:46 +0000 (11:18 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetReadXmlSchemaTest.cs : added test for bug #58744.
* DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
* DataSetTest.cs :
  Now use XmlSerializer based output, to avoid silly attribute order in
  OwnWriteXmlSchema(),WriteXmlSchema(),ReadWriteXmlSchemaIgnoreSchema(),
  ReadWriteXmlSchema() and WriteDifferentNamespaceSchema().
  Added SerializeDataSet2(),SerializeDataSet3(),DeserializeDataSet(),
  ReadWriteXml3(),WriteXmlSchema2(),WriteXmlSchema3(),WriteXmlSchema4(),
  WriteXmlSchema5(),WriteXmlSchema6(),WriteXmlSchema7(),
  WriteXmlExtendedProperties() and WriteXmlModeSchema().

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

19 years ago- Fixed broken Contains() method
Peter Dennis Bartok [Wed, 12 Jan 2005 09:26:10 +0000 (09:26 -0000)]
- Fixed broken Contains() method
- Implemented GetNextControl() method. Finally. This is the prerequisite
  for focus handling.

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 08:23:40 +0000 (08:23 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* genxs.1 : added description on the new features: "noReader",
  "noWriter" and "generateAsInternal".

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

19 years ago* Makefile (run-generics-tests): Fix quoting to better work in
Raja R Harinath [Wed, 12 Jan 2005 06:33:01 +0000 (06:33 -0000)]
* Makefile (run-generics-tests): Fix quoting to better work in
Windows.  Remove some stray code leftover from testing.

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

19 years ago2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Wed, 12 Jan 2005 06:11:42 +0000 (06:11 -0000)]
2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
        * statement.cs: Another trivial correction

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

19 years ago- Fixed copyright
Peter Dennis Bartok [Wed, 12 Jan 2005 06:01:55 +0000 (06:01 -0000)]
- Fixed copyright

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

19 years ago- Added OSXStructs.cs
Peter Dennis Bartok [Wed, 12 Jan 2005 06:00:53 +0000 (06:00 -0000)]
- Added OSXStructs.cs

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

19 years ago- Added OSXStructs.cs
Peter Dennis Bartok [Wed, 12 Jan 2005 05:59:44 +0000 (05:59 -0000)]
- Added OSXStructs.cs

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

19 years ago2005-01-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 12 Jan 2005 05:31:39 +0000 (05:31 -0000)]
2005-01-12  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
        button mouse).

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 04:33:28 +0000 (04:33 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGeneratorConfiguration.cs,
  SerializationCodeGenerator.cs : Added some generation configuration:
<generateAsInternal>
write custom reader/writer as internal classes.
<noreader>, <nowriter>
They make generation of reader and/or writer optional.
* XmlSerializerNamespaces.cs :
  Now it uses ListDictionary instead of Hashtable.
* XmlSerializationWriter.cs : entries in XmlSerializerNamespaces are
  written unless there is already the same prefix-ns mapping.

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

19 years ago2005-01-11 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 12 Jan 2005 02:44:10 +0000 (02:44 -0000)]
2005-01-11  Cesar Lopez Nataren  <cnataren@novell.com>

* StringConstructor.cs: implement CreateInstance.

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

19 years ago * TreeView.cs: Still need to draw lines to siblings even if out of
Jackson Harper [Wed, 12 Jan 2005 01:39:37 +0000 (01:39 -0000)]
* TreeView.cs: Still need to draw lines to siblings even if out of
the current node is out of the clip.

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

19 years ago- Implemented Z-Ordering (Control.UpdateZOrder())
Peter Dennis Bartok [Wed, 12 Jan 2005 01:15:49 +0000 (01:15 -0000)]
- Implemented Z-Ordering (Control.UpdateZOrder())
- Implemented Control.UpdatStyles()
- Moved PeekMessageFlags to make them accessible to all drivers
- Fixed XplatUIX11.SetZOrder() bug

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

19 years ago2005-01-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 12 Jan 2005 00:55:05 +0000 (00:55 -0000)]
2005-01-12  Lluis Sanchez Gual  <lluis@novell.com>

* XmlTypeMapElementInfo.cs: Added new IndexOfElement method.
* XmlSchemaImporter.cs: When importing a base type of a complex type,
make sure that the base class is always imported as a class and not
as an array. If it has been imported as array, import it again.
This fixes bug #70839. Other minor fixes as well.
* XmlSerializationWriter.cs: Fixed warning.

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

19 years ago2005-01-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 12 Jan 2005 00:51:48 +0000 (00:51 -0000)]
2005-01-12  Martin Baulig  <martin@ximian.com>

* class-internals.h (mono_class_create_generic_2): Removed
function prototype, this function is now static inside class.c.

* class.c (mono_class_create_generic_2): Made this static, only
call it from mono_class_init() and mono_class_setup_parent().
(collect_implemented_interfaces_aux): Call mono_class_init() on
the interfaces we collect.
(mono_class_setup_vtable): Call mono_class_init (class->parent).

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

19 years ago2005-01-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 12 Jan 2005 00:42:00 +0000 (00:42 -0000)]
2005-01-12  Lluis Sanchez Gual  <lluis@novell.com>

* CSharpCodeGenerator.cs: Avoid keywords when writing enum members.
Removed the GetSafeTypeName method. It was a wrong bug fix. Type names
are expected to always use the full name form, never the alias.

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

19 years agofix
Gonzalo Paniagua Javier [Tue, 11 Jan 2005 23:32:20 +0000 (23:32 -0000)]
fix

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

19 years ago * driver.cs: Make sure the actual assembly file exists when
Jackson Harper [Tue, 11 Jan 2005 22:41:53 +0000 (22:41 -0000)]
* driver.cs: Make sure the actual assembly file exists when
listing assemblies. Some packages don't remove the entire
directory so we get existing directories without assemblies in
them.

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

19 years agoAdd new diff target
Miguel de Icaza [Tue, 11 Jan 2005 22:07:54 +0000 (22:07 -0000)]
Add new diff target

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

19 years agoRemove unused files
Miguel de Icaza [Tue, 11 Jan 2005 22:05:33 +0000 (22:05 -0000)]
Remove unused files

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

19 years agoAdd new BMCS: based on Jambu's code but migrated to 'gmcs' so we get generics support
Miguel de Icaza [Tue, 11 Jan 2005 22:05:11 +0000 (22:05 -0000)]
Add new BMCS: based on Jambu's code but migrated to 'gmcs' so we get generics support

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

19 years ago2005-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 11 Jan 2005 22:03:34 +0000 (22:03 -0000)]
2005-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Text/StringBuilder.cs: when creating the StringBuilder from a
string, the maximum capacity remains Int32.MaxValue.

* Test/System.Text/StringBuilderTest.cs: new tests for capacity when
the StringBuilder is created from a string.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 21:00:14 +0000 (21:00 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_thread_attach): Call DuplicateHandle on the thread handle on win32 to make
it a real thread handle.

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 20:28:39 +0000 (20:28 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* Hash.cs: Fix regression in 2.0 to load default (hash) evidences.

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

19 years agoUpdate to __Internal
Miguel de Icaza [Tue, 11 Jan 2005 20:06:01 +0000 (20:06 -0000)]
Update to __Internal

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 20:01:35 +0000 (20:01 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSetAttribute.cs: Throw proper exception if XML cannot be
decoded. Actually load (not just creates) the XML permissions.

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 20:00:07 +0000 (20:00 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: Simplified GetHashCode as two exact copies may
have different hash codes (documented as such). This fix some unit
tests for 2.0.

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 19:58:23 +0000 (19:58 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* DSAManaged.cs: PublicOnly now reports false when a key hasn't yet
been generated.
* RSAManaged.cs: PublicOnly now reports false when a key hasn't yet
been generated.

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 19:56:12 +0000 (19:56 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
* DSACryptoServiceProvider.cs: Import|ExportCspBlob throws
NotImplementedException (CryptoConvert class doesn't support DSA yet).
* RSACryptoServiceProvider.cs: SignHash/VerifyHash defaults to SHA-1
in 2.0. VerifyHash throw appropriate exception when no OID is
specified (1.0/1.1). Import|ExportCspBlob implemented using the
CryptoConvert class.
* RSAOAEPKeyExchangeDeformatter.cs: Throw exception if no key is
specified.
* RSAOAEPKeyExchangeFormatter.cs: Throw exception if no key is
specified.
* RSAPKCS1KeyExchangeFormatter.cs: Throw exception if no key is
specified.
* SymmetricAlgorithm.cs: More strict IV length checks on 2.0.

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 19:43:46 +0000 (19:43 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
have been removed from 2.0.

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 19:42:44 +0000 (19:42 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
* DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
ensure that Mono didn't create the key before starting verification.
* RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
constructor tests and for VerifyHash with a null OID.
* RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
(working only in Mono) can't be used because 2.0 use new OID for those
hash algorithms. Note that this still only works with Mono in 2.0!

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

19 years ago2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 11 Jan 2005 19:31:44 +0000 (19:31 -0000)]
2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomainTest.cs: Removed tests for Activate and ActivateNewProcess
as the methods have been removed from fx 2.0.

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

19 years ago2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Jan 2005 18:31:14 +0000 (18:31 -0000)]
2005-01-11  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : Write() should handle carefully output
  namespace/prefix mapping.

* XmlSchemaTests.cs : added TestWriteNamespaces2 ().

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 17:45:15 +0000 (17:45 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* thread6.cs: Add test for rethrowing abort exceptions.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 17:44:11 +0000 (17:44 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-exceptions.c exceptions-ppc.c aot.c: Cope with MonoJitInfo
changes.

* mini.h: Bump AOT version.

* mini.h (MonoCompile): Change exvar to a hash table.

* mini.c: Allocate a separate exvar for each handler block.

* mini.c: Get rid of the computation of filter_lengths, its not needed.

* mini.c inssel.brg: Change OP_THROW_OR_NULL to compare the current
ex var with the pending exception and only throw if the two are equal.
Fixes #68552.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 17:35:30 +0000 (17:35 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* domain-internals.h: Move exvar_offset from MonoJitInfo to
MonoJitExceptionInfo, since each catch clause needs its own variable.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 17:32:18 +0000 (17:32 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* exceptions.cs: Add tests for rethrow and nested catch clauses.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 16:54:11 +0000 (16:54 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: Fix warnings.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 16:49:44 +0000 (16:49 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (common_sources): Move mini-exceptions.c here as it is
used by all the ports now.

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

19 years ago2005-01-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Jan 2005 16:46:31 +0000 (16:46 -0000)]
2005-01-11  Zoltan Varga  <vargaz@freemail.hu>

* aot.c: Add write-symbols and save-temps options.

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

19 years ago2005-01-11 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 11 Jan 2005 16:39:38 +0000 (16:39 -0000)]
2005-01-11  Dick Porter  <dick@ximian.com>

        * image.c (mono_pe_file_open): New variant on mono_image_open()
        that does not set up the CLI metadata; used for FileVersionInfo so
        it can get the data for windows binaries too.

        * process.c (process_read_string_block): Don't read off the end
        of the StringTable block.

        These both fix bug 70766.

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

19 years ago2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Jan 2005 16:19:25 +0000 (16:19 -0000)]
2004-01-11  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs,
  CustomDataClassGenerator.cs :
  In DataSet class, IXmlSerializable.GetSchema() returns null.
  In strongly-typed class, it returns schema.

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

19 years ago2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Jan 2005 16:04:50 +0000 (16:04 -0000)]
2005-01-11  Atsushi Enomoto <atsushi@ximian.com>

* XmlDataDocumentTest2.cs : Added re-Load()ing test.
  Added TypedDataDocument().

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

19 years ago2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Jan 2005 16:00:05 +0000 (16:00 -0000)]
2005-01-11  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter.cs : WriteComment() was outputting extraneous EOL.

* XmlTextWriterTests.cs : added Indent2() to test WriteComment EOL.

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