Zoltan Varga [Tue, 15 Feb 2005 21:23:07 +0000 (21:23 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am (libtest_la_LDFLAGS): Add -Wl,--kill-at so the names exported from the DLL
can be found by the runtime.
svn path=/trunk/mono/; revision=40719
Zoltan Varga [Tue, 15 Feb 2005 21:18:52 +0000 (21:18 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* loader.c (mono_lookup_pinvoke_call): Fix stdcall name mangling.
svn path=/trunk/mono/; revision=40718
Gonzalo Paniagua Javier [Tue, 15 Feb 2005 21:14:24 +0000 (21:14 -0000)]
2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WindowsConsoleDriver.cs: implemented MoveBufferArea.
svn path=/trunk/mcs/; revision=40717
Alexander Olk [Tue, 15 Feb 2005 20:55:11 +0000 (20:55 -0000)]
Added some more functionality
svn path=/trunk/mcs/; revision=40714
Alexander Olk [Tue, 15 Feb 2005 20:36:19 +0000 (20:36 -0000)]
- Changed dialog height to 332
- Fixed size of colorBaseLabel
- Fixed drawing of the dialog after hiding the dialog and showing it again
svn path=/trunk/mcs/; revision=40713
Alexander Olk [Tue, 15 Feb 2005 18:11:12 +0000 (18:11 -0000)]
Changing local method variables doesn't make sense.
Fixes TextBox.Width being always 100.
svn path=/trunk/mcs/; revision=40711
Zoltan Varga [Tue, 15 Feb 2005 18:07:20 +0000 (18:07 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_ftnptr_to_delegate): If the delegate has the
UnmanagedFunctionPointerAttribute, use it for determining calling convention
etc. Fixes #71471.
* reflection.c (mono_custom_attrs_get_attr): New helper function.
* object-internals.h: Add MonoReflectionUnmanagedFunctionPointerAttribute.
svn path=/trunk/mono/; revision=40710
Zoltan Varga [Tue, 15 Feb 2005 18:00:51 +0000 (18:00 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* pinvoke13.cs: Fix test.
svn path=/trunk/mono/; revision=40709
Zoltan Varga [Tue, 15 Feb 2005 17:46:05 +0000 (17:46 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* libtest.c pinvoke13.cs: Fix test on big-endian machines.
svn path=/trunk/mono/; revision=40708
Atsushi Eno [Tue, 15 Feb 2005 17:31:25 +0000 (17:31 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* XslMessage.cs, XslOperation.cs, XslAttribute.cs, XslComment.cs,
XslProcessingInstruction.cs : simplified code by using
XslOperation.EvaluateAsString(). It will also help optimization.
svn path=/trunk/mcs/; revision=40707
Paolo Molaro [Tue, 15 Feb 2005 17:03:17 +0000 (17:03 -0000)]
Tue Feb 15 18:19:11 CET 2005 Paolo Molaro <lupus@ximian.com>
* Thread.cs: make the slothash a field in MonoThread.
svn path=/trunk/mcs/; revision=40706
Paolo Molaro [Tue, 15 Feb 2005 16:48:04 +0000 (16:48 -0000)]
Tue Feb 15 18:03:41 CET 2005 Paolo Molaro <lupus@ximian.com>
* domain.c, appdomain.c, appdomain.h, object-internals.h, object.h:
changes to make the current context a field in MonoThread.
svn path=/trunk/mono/; revision=40705
Zoltan Varga [Tue, 15 Feb 2005 16:38:41 +0000 (16:38 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* pinvoke3.cs: Remove an error handling test which no longer fails in
2.0.
svn path=/trunk/mono/; revision=40704
Zoltan Varga [Tue, 15 Feb 2005 16:37:10 +0000 (16:37 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_native_wrapper): Fix a crash caused by
the last change.
svn path=/trunk/mono/; revision=40703
Ritvik Mayank [Tue, 15 Feb 2005 16:30:33 +0000 (16:30 -0000)]
2005-02-15 Ritvik Mayank <mritvik@novell.com>
* ConversionWithNEqlOperator.vb
* ConversionWithOrOperatorNumD.vb
* ConversionWithGTOperatorCharA.vb
* ConversionWithShiftOperatorI.vb
* ConversionWithOrOperatorBoolC.vb
* ConversionWithEqualOperatorLnInt.vb
* ImpConversionEnumToIntA.vb
* ConversionWithOrOperatorNumE.vb
* ConversionWithShiftOperatorJ.vb
* ConversionWithOrOperatorBoolD.vb
* ConversionWithGTOperatorString.vb
* ConversionWithXorOperatorA.vb
* ImpConversionEnumToIntB.vb
* ConversionWithShiftOperatorK.vb
* ConversionWithXorOperatorB.vb
* ConversionWithShiftOperatorA.vb
* ConversionWithGEOperatorA.vb
* ConversionWithAndOperatorNumA.vb
* ConversionWithLEOperatorA.vb
* ConversionWithXorOperatorC.vb
* ConversionWithShiftOperatorB.vb
* ConversionWithEqualOperatorsA.vb
* ConversionWithAndOperatorA.vb
* ConversionWithNotOperatorFalseA.vb
* ConversionWithAndOperatorNumB.vb
* ConversionWithGEoperatorB.vb
* ConversionWithAndOperatorBool.vb
* ConversionWithShiftOperatorC.vb
* ConversionWithNotOperatorTrueA.vb
* ConversionWithOrOperatorA.vb
* ConversionWithAndOperatorB.vb
* ConversionWithAndOperatorNumC.vb
* ConversionWithXorOperatorBoolA.vb
* ConversionWithShiftOperatorD.vb
* ConversionWithOrOperatorB.vb
* ConversionWithAndOperatorC.vb
* ConversionWithXorOperatorBoolB.vb
* ConversionWithAndOperatorNumD.vb
* ConversionWithShiftOperatorE.vb
* ConversionWithXorOperatorNumA.vb
* ExplicitConversionEnumToIntA.vb
* ConversionWithOrOperatorC.vb
* ConversionWithAndOperatorD.vb
* ConversionWithAndOperatorNumE.vb
* ConversionWithXorOperatorBoolC.vb
* ConversionWithGTOperatorsA.vb
* ConversionWithOrOperatorNumA.vb
* ConversionWithShiftOperatorF.vb
* ConversionWithGEOperatorDateA.vb
* ConversionWithXorOperatorNumB.vb
Added Tests for Conversion (with different Operators: Logical,Relational,Shift)
svn path=/trunk/mcs/; revision=40702
Zoltan Varga [Tue, 15 Feb 2005 15:44:25 +0000 (15:44 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* marshal.cs libtest.c: Add new test for GetDelegateForFunctionPointer.
svn path=/trunk/mono/; revision=40701
Zoltan Varga [Tue, 15 Feb 2005 15:43:35 +0000 (15:43 -0000)]
2005-02-15 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_emit_native_wrapper): New helper function
extracted from mono_marshal_get_native_wrapper.
* marshal.c (mono_marshal_get_native_func_wrapper): New helper function
to create wrappers around native functions.
* marshal.c (mono_ftnptr_to_delegate): Add support for creating
delegates for arbitrary function pointers. Fixes #71472.
svn path=/trunk/mono/; revision=40700
Raja R Harinath [Tue, 15 Feb 2005 13:50:09 +0000 (13:50 -0000)]
In mcs:
Fix #71992.
* namespace.cs (NamespaceEntry.LookupNamespaceOrType): Add
'ignore_cs0104' parameter. Pass it to ...
(NamespaceEntry.Lookup): ... this.
* decl.cs (DeclSpace.LookupType): Add 'ignore_cs0104' parameter.
* ecore.cs (SimpleName.ResolveAsTypeStep): Update.
(TypeLookupExpression.DoResolveAsTypeStep): Update.
* expression.cs (MemberAccess.IdenticalNameAndTypeName):
Update. Request that cs0104 errors be ignored.
(ComposedCast.ResolveAsTypeStep): Update.
In tests:
* test-347.cs: New test from #71992.
svn path=/trunk/mcs/; revision=40699
Sebastien Pouliot [Tue, 15 Feb 2005 13:31:19 +0000 (13:31 -0000)]
2005-02-15 Sebastien Pouliot <sebastien@ximian.com>
* SecurityException.cs: Show the method informations when displaying a
SecurityException.
* SecurityManager.cs: Reworked InheritanceDemand implementation. Added
a new method to throw a SecurityException for an InheritanceDemand.
svn path=/trunk/mcs/; revision=40698
Sebastien Pouliot [Tue, 15 Feb 2005 13:29:03 +0000 (13:29 -0000)]
2005-02-15 Sebastien Pouliot <sebastien@ximian.com>
* mini.c: Fixed 2 cases where I sent a MonoMethod to managed code
instead of a MonoReflectionMethod. The method information wasn't used
when displaying SecurityException details (but will be now).
svn path=/trunk/mono/; revision=40697
Raja R Harinath [Tue, 15 Feb 2005 12:53:23 +0000 (12:53 -0000)]
* scripts/Makefile.am ($(bin_SCRIPTS)): Depend on Makefile, so
that it picks up any changes in $prefix.
($(bin2_SCRIPTS)): Likewise.
svn path=/trunk/mono/; revision=40696
Sureshkumar T [Tue, 15 Feb 2005 12:44:04 +0000 (12:44 -0000)]
In .:
2005-02-15 Sureshkumar T <tsureshkumar@novell.com>
* MySqlTestBed.cs: fix for namespace collision MonoTests.System &
corlib System.
In System.Data.Odbc:
2005-02-15 Sureshkumar T <tsureshkumar@novell.com>
* OdbcParameterCollectionTest.cs: fix for namespace collision
MonoTests.System & corlib System.
* OdbcDataReaderTest.cs: --do--
svn path=/trunk/mcs/; revision=40695
Raja R Harinath [Tue, 15 Feb 2005 12:32:46 +0000 (12:32 -0000)]
updates
svn path=/trunk/mcs/; revision=40694
Atsushi Eno [Tue, 15 Feb 2005 11:54:41 +0000 (11:54 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlElementTests.cs : assertion numbering on
RemoveDoesNotRemoveDefaultAttributes().
svn path=/trunk/mcs/; revision=40693
Atsushi Eno [Tue, 15 Feb 2005 11:52:47 +0000 (11:52 -0000)]
Incorrectly edited ChangeLogs.
svn path=/trunk/mcs/; revision=40692
Atsushi Eno [Tue, 15 Feb 2005 11:51:00 +0000 (11:51 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttribute.cs : For default attributes, WriteTo() writes nothing
under MS.NET.
* DTDValidatingReader.cs : reduced indentation using Linus trick
(it was too deep in nest).
svn path=/trunk/mcs/; revision=40691
Atsushi Eno [Tue, 15 Feb 2005 11:41:32 +0000 (11:41 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* System.Data.dll.sources : added XmlSchemaWriter.cs.
* XmlSchemaWriter.cs : new file for outputting XmlSchema.
* DataSet.cs : removed rewritten code in XmlSchemaWriter.
* XmlConstants.cs : added UseCurrentCulture constant.
* DataTable.cs :
Use new Xml Schema writer.
Use XmlSchemaDataImporter as we use in DataSet.
* DataSetAssertion.cs : don't exclude those attribute whose namespace
URI is not empty from sort target.
* DataSetTest.cs : removed GetNormalizedSchema() dependency from some
tests (i.e. DataSet now emits more MS-closer schemas).
* DataViewTest.cs : implemented test for RowFilter.
svn path=/trunk/mcs/; revision=40690
Atsushi Eno [Tue, 15 Feb 2005 11:33:18 +0000 (11:33 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* catalog.diff : changed diff format to unified style.
svn path=/trunk/mcs/; revision=40689
Peter Dennis Bartok [Tue, 15 Feb 2005 11:15:25 +0000 (11:15 -0000)]
- Added Mnemonic support to GroupBox and Label, this should complete
mnemonic support for SWF
svn path=/trunk/mcs/; revision=40688
Atsushi Eno [Tue, 15 Feb 2005 10:47:29 +0000 (10:47 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* Makefile.am : windows build fix.
svn path=/trunk/mono/; revision=40687
Manjula GHM [Tue, 15 Feb 2005 10:37:44 +0000 (10:37 -0000)]
Fixed conversion from char[] to String
svn path=/trunk/mcs/; revision=40686
Peter Dennis Bartok [Tue, 15 Feb 2005 10:33:44 +0000 (10:33 -0000)]
- Implemented RadioButton.ProcessMnemonic
- Implemented CheckBox.ProcessMnemonic
- Added handling of WM_SYSxxx keyboard messages to support mnemonic handling
- Added internal method to allow calling ProcessMnemonic from other controls
- Started support for handling validation chain handling
- Implemented ProcessMnemonic support
- Added Select() call to ContainerControl.ActiveControl, to make sure the
active control receives focus
- Marking Forms as TopLevel
- Fixed CheckBox and RadioButton to show hotkeys
- Removed WndProc override in CommonDialog, not needed
- Added various missing attributes
svn path=/trunk/mcs/; revision=40684
Sureshkumar T [Tue, 15 Feb 2005 10:15:43 +0000 (10:15 -0000)]
2005-02-15 Sureshkumar T <tsureshkumar@novell.com>
* OracleDataReader.cs : GetBytes: return the length of the data if
output buffer is null. if not, copy the values to buffer and
return the bytes actually read.
fixes bug #72472.
svn path=/trunk/mcs/; revision=40683
Peter Dennis Bartok [Tue, 15 Feb 2005 09:45:30 +0000 (09:45 -0000)]
- Fix, as suggested by Harinath
svn path=/trunk/mcs/; revision=40681
Paolo Molaro [Tue, 15 Feb 2005 09:45:10 +0000 (09:45 -0000)]
Tue Feb 15 11:01:09 CET 2005 Paolo Molaro <lupus@ximian.com>
* threads.c: cleaned up the code a little.
svn path=/trunk/mono/; revision=40680
Peter Dennis Bartok [Tue, 15 Feb 2005 09:33:31 +0000 (09:33 -0000)]
- Removed libgdiplus build dependency
svn path=/trunk/mcs/; revision=40679
Peter Dennis Bartok [Tue, 15 Feb 2005 09:24:42 +0000 (09:24 -0000)]
- compiled version of .resx files
svn path=/trunk/mcs/; revision=40678
Duncan Mak [Tue, 15 Feb 2005 08:28:25 +0000 (08:28 -0000)]
2005-02-15 Duncan Mak <duncan@novell.com>
* Bytetype.cs, StaticLocalInitFlags.cs:
* StandardModuleAttribute.cs:
* OptionTextAttribute.cs:
* OptionCompareAttribute.cs:
* IvbHost.cs, IntegerType.cs:
* IncompleteInitialization.cs
* HostServices.cs, DecimalType.cs:
* DateType.cs: Removed extraneous semicolon. Spotted by Dennis
Hayes <denisraytek@yahoo.com>.
svn path=/trunk/mcs/; revision=40677
Manjula GHM [Tue, 15 Feb 2005 07:04:43 +0000 (07:04 -0000)]
Fixed concat of string and char using '+" operator
svn path=/trunk/mcs/; revision=40674
Raja R Harinath [Tue, 15 Feb 2005 05:51:57 +0000 (05:51 -0000)]
* cs1502-3.cs: New test from #72554.
svn path=/trunk/mcs/; revision=40673
Raja R Harinath [Tue, 15 Feb 2005 05:33:53 +0000 (05:33 -0000)]
* platforms/win32.make (RESGEN): Point to in-tree version of
resgen.exe. The .NET 1.1 SDK doesn't appear to come with one.
(cf. http://www.ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html?page=2,
and the shenanigans with resgen.exe)
svn path=/trunk/mcs/; revision=40671
Atsushi Eno [Tue, 15 Feb 2005 05:23:39 +0000 (05:23 -0000)]
2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : more tiny rm -f fix.
svn path=/trunk/mcs/; revision=40669
Martin Baulig [Tue, 15 Feb 2005 03:51:27 +0000 (03:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=40668
Martin Baulig [Tue, 15 Feb 2005 03:50:54 +0000 (03:50 -0000)]
2005-02-15 Martin Baulig <martin@ximian.com>
* generic.cs (ConstructedType.Constraints): Correctly check
constraints if the argument type is a type parameter; fixes
#72326.
svn path=/trunk/mcs/; revision=40667
Martin Baulig [Tue, 15 Feb 2005 03:25:43 +0000 (03:25 -0000)]
Silently ignore this; this may happen on .NET 2.0.
svn path=/trunk/mono/; revision=40666
Martin Baulig [Tue, 15 Feb 2005 03:12:42 +0000 (03:12 -0000)]
2005-02-15 Martin Baulig <martin@ximian.com>
* mono-debug.h (MonoSymbolTable): Allow variable-length chunks in
the data table.
* mono-debug.c (DATA_TABLE_CHUNK_SIZE): Set to 32768; we may now
allocate larger chunks if needed.
svn path=/trunk/mono/; revision=40663
Peter Dennis Bartok [Tue, 15 Feb 2005 00:59:58 +0000 (00:59 -0000)]
- Added back missing properties
svn path=/trunk/mcs/; revision=40662
Miguel de Icaza [Tue, 15 Feb 2005 00:51:47 +0000 (00:51 -0000)]
Add more attributes
svn path=/trunk/mcs/; revision=40661
Miguel de Icaza [Tue, 15 Feb 2005 00:49:52 +0000 (00:49 -0000)]
2005-02-14 Miguel de Icaza <miguel@novell.com>
* NumericUpDown.cs (Increment, ToString): Add.
(DecimalPlaces): implement.
Add attributes.
* UpDownBase.cs: Add the designer attributes.
svn path=/trunk/mcs/; revision=40660
Peter Dennis Bartok [Tue, 15 Feb 2005 00:12:45 +0000 (00:12 -0000)]
- Made PropertyTab class abstract
svn path=/trunk/mcs/; revision=40658
Zoltan Varga [Mon, 14 Feb 2005 21:50:28 +0000 (21:50 -0000)]
2005-02-14 Zoltan Varga <vargaz@freemail.hu>
* threads.c (start_wrapper): Remove #ifdef PLATFORM_WIN32 probably left
in by mistake.
svn path=/trunk/mono/; revision=40654
Sebastien Pouliot [Mon, 14 Feb 2005 21:15:20 +0000 (21:15 -0000)]
2005-02-14 Sebastien Pouliot <sebastien@ximian.com>
* cas1.cs: New. StrongNameIdentityPermission at class level;
* cas2.cs: New. StrongNameIdentityPermission on virtual method;
* cas3.cs: New. StrongNameIdentityPermission on interface method;
* cas.snk: New. StrongName keypair to sign cas#.cs test cases.
* Makefile: New. Makefile to build and execute tests.
* noncas1.cs: New. PrincipalPermission on class level (work);
* noncas2.cs: New. PrincipalPermission on class level (fail);
* noncas3.cs: New. PrincipalPermission at method level (work);
* noncas4.cs: New. PrincipalPermission at method level (fail);
* notused.cs: New. Inheritance demands on non-used class/methods and
to non-applicable targets (work).
* README: New. Instruction and details about the tests.
svn path=/trunk/mono/; revision=40653
Atsushi Eno [Mon, 14 Feb 2005 20:34:21 +0000 (20:34 -0000)]
2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
* DTDValidatingReader.cs : Namespaces and prefixes are not properly
handled (it incorrectly assumed DTD definitions and thus always
assumed empty namespace/prefixes).
svn path=/trunk/mcs/; revision=40649
Paolo Molaro [Mon, 14 Feb 2005 19:55:14 +0000 (19:55 -0000)]
another try.
svn path=/trunk/mono/; revision=40646
Paolo Molaro [Mon, 14 Feb 2005 19:09:11 +0000 (19:09 -0000)]
more c*****y windows issues.
svn path=/trunk/mono/; revision=40642
Paolo Molaro [Mon, 14 Feb 2005 18:41:27 +0000 (18:41 -0000)]
Should fix the cygwin build.
svn path=/trunk/mono/; revision=40641
Atsushi Eno [Mon, 14 Feb 2005 16:57:04 +0000 (16:57 -0000)]
2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorTests.cs : new test code was broken.
svn path=/trunk/mcs/; revision=40638
Atsushi Eno [Mon, 14 Feb 2005 16:27:14 +0000 (16:27 -0000)]
2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
* DTDValidatingReader.cs : element name stack might be empty when the
input XmlReader contains fragments. Patch by Andrew Skiba.
svn path=/trunk/mcs/; revision=40637
Atsushi Eno [Mon, 14 Feb 2005 16:24:52 +0000 (16:24 -0000)]
2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorTests.cs : added SignificantWhitespaceConstruction().
svn path=/trunk/mcs/; revision=40636
Atsushi Eno [Mon, 14 Feb 2005 16:23:35 +0000 (16:23 -0000)]
2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
* DTMXPathDocumentBuilder2.cs : in some cases, significant whitespace
is incorrectly regarded as Text. Patch by Andrew Skiba.
* XslApplyTemplates.cs : significant whitespace should not be regarded
as invalid element. Patch by Andrew Skiba.
svn path=/trunk/mcs/; revision=40635
Paolo Molaro [Mon, 14 Feb 2005 15:33:35 +0000 (15:33 -0000)]
Mon Feb 14 16:48:24 CET 2005 Paolo Molaro <lupus@ximian.com>
* domain.c: keep the domains in an array and ensure the domain ids
are kept small, so they can be used as indexes to domain-specific data
with a small memory overhead.
svn path=/trunk/mono/; revision=40633
Zoltan Varga [Mon, 14 Feb 2005 15:23:57 +0000 (15:23 -0000)]
2005-02-14 Zoltan Varga <vargaz@freemail.hu>
* TypeTest.cs: Add tests for byref types.
svn path=/trunk/mcs/; revision=40631
Zoltan Varga [Mon, 14 Feb 2005 15:06:44 +0000 (15:06 -0000)]
2005-02-14 Zoltan Varga <vargaz@freemail.hu>
* icall.c: Handle byref types in Type icalls. Fixes #72544.
svn path=/trunk/mono/; revision=40629
Zoltan Varga [Mon, 14 Feb 2005 14:41:44 +0000 (14:41 -0000)]
2005-02-14 Zoltan Varga <vargaz@freemail.hu>
* iltests.il: Add new regression test.
svn path=/trunk/mono/; revision=40628
Zoltan Varga [Mon, 14 Feb 2005 14:32:26 +0000 (14:32 -0000)]
2005-02-14 mono-HEAD-vs-fx-2 <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Allocate a GOT var in CEE_NEWOBJ. Fixes
#72522.
svn path=/trunk/mono/; revision=40627
Raja R Harinath [Mon, 14 Feb 2005 14:31:32 +0000 (14:31 -0000)]
* Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
See #72015.
svn path=/trunk/mcs/; revision=40626
Raja R Harinath [Mon, 14 Feb 2005 14:26:04 +0000 (14:26 -0000)]
Fix #59209.
* mcs/expression.cs (Invocation.BetterFunction): Remove support for
comparing virtual functions and their overrides.
(Invocation.IsOverride): New.
(Invocation.OverloadResolve): Don't consider 'override' functions
during candidate selection. Store them in a lookaside list.
If the selected method is a 'virtual' function, use the list to
find any overrides that are closer to the LHS type.
* tests/test-346.cs: New test from #59209.
svn path=/trunk/mcs/; revision=40625
Paolo Molaro [Mon, 14 Feb 2005 14:24:02 +0000 (14:24 -0000)]
Mon Feb 14 15:39:56 CET 2005 Paolo Molaro <lupus@ximian.com>
* Makefile.am: remove libmetadata: we build just libmonoruntime now.
svn path=/trunk/mono/; revision=40624
Paolo Molaro [Mon, 14 Feb 2005 14:11:25 +0000 (14:11 -0000)]
Link the utils against libmono.
svn path=/trunk/mono/; revision=40623
Rafael Teixeira [Mon, 14 Feb 2005 12:39:05 +0000 (12:39 -0000)]
2005-02-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* FileSystem.cs, CompilerServices/FlowControl.cs : killed unneeded local variables (warnings).
* CompilerServices/ObjectType.cs : killed unneeded private method (diagnosed from warnings on local vars)
svn path=/trunk/mcs/; revision=40622
Atsushi Eno [Mon, 14 Feb 2005 10:46:08 +0000 (10:46 -0000)]
2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
* Makefile.mstest : removed old file.
* XmlNormalizer.cs,
cleanup-output.pl,
Makefile :
Added make distclean.
Added normalization support using Andrew Skiba's xmlnorm.
Updated ExpectedResults archive as to be normalized in sync with
this patch (the archive was renamed.)
svn path=/trunk/mcs/; revision=40620
Manjula GHM [Mon, 14 Feb 2005 10:41:17 +0000 (10:41 -0000)]
Fixed all String to char conversions
svn path=/trunk/mcs/; revision=40619
Anil Bhatia [Mon, 14 Feb 2005 10:26:02 +0000 (10:26 -0000)]
Fixed search scope in DirectorySearcher DoSearch method.
svn path=/trunk/mcs/; revision=40617
Satya Sudha K [Mon, 14 Feb 2005 10:22:03 +0000 (10:22 -0000)]
Testcases for conversions with overloaded functions - contributed by
Sudharsan V
svn path=/trunk/mcs/; revision=40615
Satya Sudha K [Mon, 14 Feb 2005 10:17:55 +0000 (10:17 -0000)]
* expression.cs:
- Fixed one of my previous checkin, which was breaking some test cases.
* ecore.cs :
- Fixed the explicit conversion of float/double to integral types in some places.
svn path=/trunk/mcs/; revision=40614
Marek Safar [Mon, 14 Feb 2005 09:08:47 +0000 (09:08 -0000)]
2005-02-14 Marek Safar <marek.safar@seznam.cz>
* expression.cs (New.DoResolve): Add complex core type reduction.
(New.Constantify): Converts complex core type syntax like 'new int ()'
to simple constant.
svn path=/trunk/mcs/; revision=40612
Raja R Harinath [Mon, 14 Feb 2005 08:54:23 +0000 (08:54 -0000)]
* decl.cs (EntryType.EntryType): New constructor to create an
updated copy of a cache entry.
(MemberCache.AddMethods): Use it.
(MemberCache.ClearDeclaredOnly): Remove.
(MemberCache.MemberCache): Update.
svn path=/trunk/mcs/; revision=40611
César Natarén [Mon, 14 Feb 2005 08:20:25 +0000 (08:20 -0000)]
enable building mjs again
svn path=/trunk/mcs/; revision=40609
Duncan Mak [Mon, 14 Feb 2005 08:13:45 +0000 (08:13 -0000)]
2005-02-14 Duncan Mak <duncan@ximian.com>
* Collection.cs:
* ComClassAttibute.cs:
* SpcInfo.cs:
* TabInfo.cs:
* VBFixedStringAttribute.cs:
* VBMath.cs: Remove extraneous semicolon at the end of the class
declaration. Spotted by Dennis Hayes <denisraytek@yahoo.com>.
svn path=/trunk/mcs/; revision=40608
César Natarén [Mon, 14 Feb 2005 08:03:31 +0000 (08:03 -0000)]
2005-02-14 Cesar Lopez Nataren <cnataren@novell.com>
* Token.cs, TokenStream.cs, Parser.cs: make this classes internal.
svn path=/trunk/mcs/; revision=40607
César Natarén [Mon, 14 Feb 2005 08:01:36 +0000 (08:01 -0000)]
2005-02-14 Cesar Lopez Nataren <cnataren@novell.com>
* Added this file.
* Makefile: add reference to Microsoft.Vsa.
* mjs.cs (Main): As we can't directly create a Context outside of
Microsoft.JScript, we use the VsaEngine to add the code items and
after that guide the compilation, added method
GetCodeFromFile. Added class MonoEngineSite.
svn path=/trunk/mcs/; revision=40606
César Natarén [Mon, 14 Feb 2005 07:57:29 +0000 (07:57 -0000)]
2005-02-14 Cesar Lopez Nataren <cnataren@novell.com>
* BaseVsaEngine.cs (Compile): Guide the compilation process when
the VsaItem is a VsaCodeItem.
svn path=/trunk/mcs/; revision=40605
César Natarén [Mon, 14 Feb 2005 07:26:26 +0000 (07:26 -0000)]
2005-02-14 Cesar Lopez Nataren <cnataren@novell.com>
* Context.cs: delete wrongly exposed ctr.
svn path=/trunk/mcs/; revision=40604
César Natarén [Mon, 14 Feb 2005 04:59:42 +0000 (04:59 -0000)]
disable the building of mjs while I solve the problem with the unexposed ctr of Context
svn path=/trunk/mcs/; revision=40603
Ben Maurer [Mon, 14 Feb 2005 03:16:45 +0000 (03:16 -0000)]
fix hang
svn path=/trunk/mcs/; revision=40600
Peter Dennis Bartok [Mon, 14 Feb 2005 02:08:25 +0000 (02:08 -0000)]
- I really try to check all in at once :-(
svn path=/trunk/mcs/; revision=40599
Gonzalo Paniagua Javier [Mon, 14 Feb 2005 01:06:36 +0000 (01:06 -0000)]
2005-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DigestClient.cs: fix for digest auth. and URIs containing query. Patch
by James Wilcox. Fixes bug #72571.
svn path=/trunk/mcs/; revision=40597
Peter Dennis Bartok [Sun, 13 Feb 2005 22:02:46 +0000 (22:02 -0000)]
- Fix
svn path=/trunk/mcs/; revision=40595
Peter Dennis Bartok [Sun, 13 Feb 2005 21:33:27 +0000 (21:33 -0000)]
2005-02-13 Peter Bartok <pbartok@novell.com>
* System.Windows.Forms.dll.sources: Added SelectionRangeConverter.cs,
OpacityConverter.cs, KeysConverter.cs, Hwnd.cs
* System.Windows.Forms.dll.resources: Added
* Makefile: Added support for generating resources
svn path=/trunk/mcs/; revision=40591
Zoltan Varga [Sun, 13 Feb 2005 21:32:55 +0000 (21:32 -0000)]
2005-02-13 Zoltan Varga <vargaz@freemail.hu>
* libtest.c (NameManglingAuto): Fix test. Fixes #72559.
svn path=/trunk/mono/; revision=40590
Peter Dennis Bartok [Sun, 13 Feb 2005 21:29:41 +0000 (21:29 -0000)]
- Forgot in last checkin
svn path=/trunk/mcs/; revision=40589
Peter Dennis Bartok [Sun, 13 Feb 2005 21:27:41 +0000 (21:27 -0000)]
2005-02-13 Peter Bartok <pbartok@novell.com>
- MouseButtons.cs: Added missing attributes
- XplatUIStructs.cs: Added enumeration for title styles
- LeftRightAlignment.cs: Added missing attributes
- Hwnd.cs: Switched to use client_window as handle (slower, but makes
it compatible with Graphics.FromHwnd()
- SelectedGridItemChangedEventArgs.cs: Fixed property type
- Keys.cs: Added missing attributes
- SelectionRange.cs: Added missing attributes
- SelectionRangeConverter.cs: Added
- XplatUI.cs:
- Introduced SetBorderStyle, SetMenu, GetMenuDC and
ReleaseMenuDC methods
- Renamed ReleaseWindow to UngrabWindow
- Added proper startup notice to allow version identification
- Form.cs:
- Added missing attributes
- Removed FormParent concept
- Label.cs: Removed border_style field, now in Control
- RadioButton.cs: Now properly selects RadioButton when focus is
received
- ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
- Control.cs:
- Added missing attributes
- Added borderstyle handling
- Removed FormParent concept support
- Fixed calls to XplatUI to match changed APIs
- Fixed bug that would case us to use disposed Graphics objects
- Removed unneeded internal methods
- PerformLayout(): Fixed to handle DockStyle.Fill properly
- SelectNextControl(): Fixed to properly check common parents
- TextBoxBase.cs: Removed border_style field (now in Control)
- MessageBox.cs:
- Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
fixed calculations for form size
- Added support for localized strings and icons
- Improved form size calculations, added border
- ListView.cs: Removed border_style field (now in Control)
- X11Structs.cs: Moved several structs from X11 driver here
- X11Keyboard.cs: Changed debug message
- Application.cs: Removed FormParent concept support
- CommonDialog.cs:
- Resetting end_modal flag
- Removed FormParent concept support
- NativeWindow.cs: Removed FormParent concept support
- XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
Client area and Non-Client whole window to allow support for WM_NC
messages
- XplatUIOSX.cs: Updated to match latest driver spec; added exception
prevent using it until it supports Hwnd as per Geoff Norton's request
- ToolBar.cs: Fixed drawing, was not doing proper drawing
- PictureBox.cs: Removed border_style field, now in Control
- XplatUIWin32.cs: Added new driver methods
svn path=/trunk/mcs/; revision=40588
Peter Dennis Bartok [Sun, 13 Feb 2005 21:25:01 +0000 (21:25 -0000)]
- Added resources, containing images for MessageBox class
svn path=/trunk/mcs/; revision=40587
Peter Dennis Bartok [Sun, 13 Feb 2005 21:24:25 +0000 (21:24 -0000)]
- Added support for reading resources from assembly
svn path=/trunk/mcs/; revision=40586
Sebastien Pouliot [Sun, 13 Feb 2005 20:40:41 +0000 (20:40 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* mini.c: Moved linkdemand check into helper function check_linkdemand
to allow reuse for all intructions (CALL, CALLVIRT, NEWOBJ, JMP,
LDFTN, LDVIRTFTN).
svn path=/trunk/mono/; revision=40585
Sebastien Pouliot [Sun, 13 Feb 2005 20:34:24 +0000 (20:34 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* declsec.c: Added statistics counter for different kinds of
LinkDemands.
* mini.h: Added CAS statistic counters to MonoJitStats. Removed unused
(and commented) declaration.
* mini.c: Added statistics counter for security Demand code
generation. Added display of security statistics.
svn path=/trunk/mono/; revision=40584
Zoltan Varga [Sun, 13 Feb 2005 20:20:38 +0000 (20:20 -0000)]
2005-02-13 Zoltan Varga <vargaz@freemail.hu>
* main.c: Output managed resources as well. Fixes #72033.
svn path=/trunk/mono/; revision=40583
Zoltan Varga [Sun, 13 Feb 2005 20:19:18 +0000 (20:19 -0000)]
2005-02-13 Zoltan Varga <vargaz@freemail.hu>
* tabledefs.h (MANIFEST_RESOURCE_VISIBILITY_MASK): Add flags for ManifestResource.
svn path=/trunk/mono/; revision=40582
Zoltan Varga [Sun, 13 Feb 2005 19:38:34 +0000 (19:38 -0000)]
2005-02-13 Zoltan Varga <vargaz@freemail.hu>
* dtd2xsd: Remove generated file from SVN.
svn path=/trunk/mono/; revision=40581
Zoltan Varga [Sun, 13 Feb 2005 19:35:51 +0000 (19:35 -0000)]
2005-02-13 Zoltan Varga <vargaz@freemail.hu>
* libtest.c: Applied patch from robertj@gmx.net (Robert Jordan). Work around gcc-2.95.3
bugs.
svn path=/trunk/mono/; revision=40580