Jackson Harper [Fri, 14 Jan 2005 12:11:56 +0000 (12:11 -0000)]
* Control.cs: When erasing backgrounds use FromHwnd instead of
FromHdc when there is a null wparam. The X11 driver sets the
wparam as null.
svn path=/trunk/mcs/; revision=38932
Atsushi Eno [Fri, 14 Jan 2005 11:31:55 +0000 (11:31 -0000)]
2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
* library.make : output TestResult-ondotnet-(profile).log instead of
TestResult-(profile).log for run-test-ondotnet.
svn path=/trunk/mcs/; revision=38930
Atsushi Eno [Fri, 14 Jan 2005 10:56:37 +0000 (10:56 -0000)]
2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
* DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
FindRows() is still not implemented, so marked as [Ignore].
svn path=/trunk/mcs/; revision=38929
Atsushi Eno [Fri, 14 Jan 2005 10:43:18 +0000 (10:43 -0000)]
2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
* ForeignKeyConstraintTest.cs : Fixed Ctor5() to pass under MS.NET 1.1.
Design time ctor() needs more love.
* DataRelationCollectionTest.cs,
DataTableCollectionTest.cs : Made Remove() pass under MS.NET 1.1.
When index is out of range, IndexOutOfRangeException is thrown.
DataRelationCollectionTest.AddException1() was invalid.
svn path=/trunk/mcs/; revision=38928
Atsushi Eno [Fri, 14 Jan 2005 10:22:57 +0000 (10:22 -0000)]
2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
* DataTableMappingCollectionTest.cs,
DataColumnMappingCollectionTests.cs : Equals() and Remove() contains
invalid attempt to add one map to two collections, which is rejected
under MS.NET 1.1 sp1.
svn path=/trunk/mcs/; revision=38927
Jackson Harper [Fri, 14 Jan 2005 10:05:52 +0000 (10:05 -0000)]
* PictureBox.cs: Implement missing methods (except ToString, need
to test that on windows) and events. When visibility is changed
we need to redraw the image because the buffers are killed. When
size is changed refresh if the sizemode needs it.
svn path=/trunk/mcs/; revision=38926
Atsushi Eno [Fri, 14 Jan 2005 09:05:35 +0000 (09:05 -0000)]
2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
* ConstraintCollectionTest.cs : Fixed run-test-ondotnet. MS.NET does
not fill Table property even after EndInit().
* DataRelationTest.cs : Fixed run-test-ondotnet. ExpectedException
is missing.
* TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
run-test-ondotnet and run-test.
svn path=/trunk/mcs/; revision=38925
Peter Dennis Bartok [Fri, 14 Jan 2005 03:28:37 +0000 (03:28 -0000)]
- Was using wrong method to select a control
svn path=/trunk/mcs/; revision=38921
Sebastien Pouliot [Fri, 14 Jan 2005 03:12:50 +0000 (03:12 -0000)]
2005-01-13 Sebastien Pouliot <sebastien@ximian.com>
* AsnEncodedDataTest.cs: Added tests for Oid, RawData properties and
for CopyFrom method.
* CryptographicAttributeTest.cs: Updated to NUnit 2.2 tests.
svn path=/trunk/mcs/; revision=38920
Sebastien Pouliot [Fri, 14 Jan 2005 03:09:05 +0000 (03:09 -0000)]
2005-01-13 Sebastien Pouliot <sebastien@ximian.com>
* AsnEncodedData.cs: Completed/fixed implementation.
* CryptographicAttribute.cs: Fixed implementation with updated unit
tests.
* Oid.cs: Fixed implementation with updated unit tests.
svn path=/trunk/mcs/; revision=38919
César Natarén [Fri, 14 Jan 2005 01:50:25 +0000 (01:50 -0000)]
don't need the instance
svn path=/trunk/mcs/; revision=38917
Miguel de Icaza [Fri, 14 Jan 2005 01:11:45 +0000 (01:11 -0000)]
remove test 334, as that one fails
svn path=/trunk/mcs/; revision=38916
Miguel de Icaza [Fri, 14 Jan 2005 01:05:05 +0000 (01:05 -0000)]
Updates
svn path=/trunk/mcs/; revision=38915
Miguel de Icaza [Fri, 14 Jan 2005 01:00:56 +0000 (01:00 -0000)]
Back in
svn path=/trunk/mcs/; revision=38914
Miguel de Icaza [Fri, 14 Jan 2005 00:58:26 +0000 (00:58 -0000)]
Another pass
svn path=/trunk/mcs/; revision=38913
Miguel de Icaza [Fri, 14 Jan 2005 00:55:59 +0000 (00:55 -0000)]
Remove invalid error
svn path=/trunk/mcs/; revision=38912
Miguel de Icaza [Fri, 14 Jan 2005 00:46:58 +0000 (00:46 -0000)]
Flush
svn path=/trunk/mcs/; revision=38911
Miguel de Icaza [Fri, 14 Jan 2005 00:35:52 +0000 (00:35 -0000)]
2005-01-13 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (IsAccessorAccessible): Accessibility to private fields
of a different type is only allowed to private fields of a
containing type, not on fields of a base class.
See test-174.cs and error cs0122-9.cs
svn path=/trunk/mcs/; revision=38910
Miguel de Icaza [Fri, 14 Jan 2005 00:35:33 +0000 (00:35 -0000)]
Add new error
svn path=/trunk/mcs/; revision=38909
Miguel de Icaza [Fri, 14 Jan 2005 00:20:13 +0000 (00:20 -0000)]
Remove until we fix it
svn path=/trunk/mcs/; revision=38908
Miguel de Icaza [Fri, 14 Jan 2005 00:02:07 +0000 (00:02 -0000)]
Fix pass 1
svn path=/trunk/mcs/; revision=38907
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 22:33:28 +0000 (22:33 -0000)]
2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CultureInfo.cs: the InvariantCulture returns false for
IsNeutralCulture. Fixes bug #59716.
svn path=/trunk/mcs/; revision=38903
Jonathan Pryor [Thu, 13 Jan 2005 22:00:27 +0000 (22:00 -0000)]
* DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
thread-safe (double-checked locking isn't thread safe on .NET without
using a volatile variable, and setting the variable in the static
constructor is easier anyway).
* Switch.cs (GetConfigFileSetting): If the setting is non-numeric, set the
attribute value to the string "0". This is apparently what .NET 1.1 does,
and allows the SwitchTest NUnit test to work w/o failures.
svn path=/trunk/mcs/; revision=38902
Mike Kestner [Thu, 13 Jan 2005 21:48:22 +0000 (21:48 -0000)]
man page updates for gacutil
svn path=/trunk/mono/; revision=38900
Mike Kestner [Thu, 13 Jan 2005 21:47:51 +0000 (21:47 -0000)]
2005-01-13 Mike Kestner <mkestner@novell.com>
* driver.cs: use relative symlinks for the package dir.
svn path=/trunk/mcs/; revision=38899
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:25:04 +0000 (21:25 -0000)]
last but not least
svn path=/trunk/mcs/; revision=38898
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:20:11 +0000 (21:20 -0000)]
argh
svn path=/trunk/mcs/; revision=38896
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
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
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
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
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
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
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
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
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
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
Jordi Mas i Hernandez [Thu, 13 Jan 2005 16:50:25 +0000 (16:50 -0000)]
fixes dropstyle
svn path=/trunk/mcs/; revision=38878
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Raja R Harinath [Thu, 13 Jan 2005 07:10:38 +0000 (07:10 -0000)]
Remove unlogged change.
svn path=/trunk/mcs/; revision=38854
Raja R Harinath [Thu, 13 Jan 2005 07:08:59 +0000 (07:08 -0000)]
oops.
svn path=/trunk/mcs/; revision=38853
Raja R Harinath [Thu, 13 Jan 2005 06:44:38 +0000 (06:44 -0000)]
remove unlogged change.
svn path=/trunk/mcs/; revision=38850
Raja R Harinath [Thu, 13 Jan 2005 05:38:20 +0000 (05:38 -0000)]
Add cs1540-6.cs.
svn path=/trunk/mcs/; revision=38848
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
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
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
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
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
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
Peter Dennis Bartok [Wed, 12 Jan 2005 23:27:11 +0000 (23:27 -0000)]
- Implemented ProcessDialogKey()
- Bug fixes
svn path=/trunk/mcs/; revision=38836
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 12 Jan 2005 12:50:17 +0000 (12:50 -0000)]
removed (wrong TC)
svn path=/trunk/mcs/; revision=38778
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
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
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
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
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
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
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
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
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
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
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
Peter Dennis Bartok [Wed, 12 Jan 2005 06:01:55 +0000 (06:01 -0000)]
- Fixed copyright
svn path=/trunk/mcs/; revision=38765
Peter Dennis Bartok [Wed, 12 Jan 2005 06:00:53 +0000 (06:00 -0000)]
- Added OSXStructs.cs
svn path=/trunk/mcs/; revision=38764
Peter Dennis Bartok [Wed, 12 Jan 2005 05:59:44 +0000 (05:59 -0000)]
- Added OSXStructs.cs
svn path=/trunk/mcs/; revision=38763
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Tue, 11 Jan 2005 23:32:20 +0000 (23:32 -0000)]
fix
svn path=/trunk/mcs/; revision=38744
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