mono.git
22 years agoadded linear scan to mono (use --ls to enable it)
Dietmar Maurer [Thu, 9 May 2002 11:16:20 +0000 (11:16 -0000)]
added linear scan to mono (use --ls to enable it)

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

22 years ago * Rewrote IPAddress.Parse method, passing all unit tests
Lawrence Pit [Thu, 9 May 2002 10:43:34 +0000 (10:43 -0000)]
* Rewrote IPAddress.Parse method, passing all unit tests

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

22 years agoadded call to System.AllTests
Lawrence Pit [Thu, 9 May 2002 09:06:27 +0000 (09:06 -0000)]
added call to System.AllTests

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

22 years ago * Added tests to IPAddressTest.cs
Lawrence Pit [Thu, 9 May 2002 09:04:02 +0000 (09:04 -0000)]
* Added tests to IPAddressTest.cs
* Fixed tests in CookieTest.cs, SocketPermissionsTest.cs, IPEndPointTest.cs

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

22 years agofix for Uri.GetLeftPart
Lawrence Pit [Thu, 9 May 2002 08:57:13 +0000 (08:57 -0000)]
fix for Uri.GetLeftPart

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

22 years ago2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
Lawrence Pit [Thu, 9 May 2002 07:53:17 +0000 (07:53 -0000)]
2002-05-09  Lawrence Pit <loz@cable.a2000.nl>

* fixed bug in IPEndPoint.Equals method
* fixed bug in IPAddress.Parse method
* fixed bug in IPAddress.SwapLong method
* fixed several bugs in Cookie.cs

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

22 years ago2002-05-09 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 9 May 2002 02:30:28 +0000 (02:30 -0000)]
2002-05-09  Tim Coleman <tim@timcoleman.com>
        * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
        addition, subtraction, and multiplication for the
        SqlDecimal type, as well as modification of some other
        operations.  More to come on this one.

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

22 years ago 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Thu, 9 May 2002 00:33:27 +0000 (00:33 -0000)]
 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes <dennish@raytek.com>
Checking in new System.Windows.forms classe for Paul Osman <paul.osmand@sympatico.ca>

* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* NotifyIcon.cs
Stubbed and commented out

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

22 years ago 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Thu, 9 May 2002 00:25:16 +0000 (00:25 -0000)]
 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes <dennish@raytek.com>
Checking in new System.Windows.forms classe for John Rebbeck <john@rebent.com>

* UserControl.cs
Stubbed and commented out

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

22 years ago 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Wed, 8 May 2002 23:58:51 +0000 (23:58 -0000)]
 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes <dennish@raytek.com>
Checking in new System.Windows.forms classes (a* to c*) for
Jaak Simm <jaaksimm@firm.ee>
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContentsResizedEventArgs.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlPaint.cs
* ConvertEventArgs.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* Classes stubbed and commented out.

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

22 years ago 2002-5-8 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Wed, 8 May 2002 22:10:19 +0000 (22:10 -0000)]
 2002-5-8 Dennis Hayes <dennish@raytek.com>
* RichTextBoxFinds.cs
* RichTextBoxScrollBars.cs
* RichTextBoxSelectionAttribute.cs
* RichTextBoxSelectionTypes.cs
* RichTextBoxStreamType.cs
* RichTextBoxWordPunctuations.cs
* RightToLeft.cs
* ScrollBars.cs
* ScrollButton.cs
* ScrollEventType.cs
* SecurityIDType.cs
* SelectionMode.cs
* Shortcut.cs
* SizeGripStyle.cs
* SortOrder.cs
* StatusBarPanelAutoSize.cs
* StatusBarPanelBorderStyle.cs
* StatusBarPanelStyle.cs
* StructFormat.cs
* TabAlignment.cs
* TabAppearance.cs
* TabDrawMode.cs
* TabSizeMode.cs
* TickStyle.cs
* ToolBarAppearance.cs
* ToolBarButtonStyle.cs
* ToolBarTextAlign.cs
* TreeViewAction.cs
* UICues.cs
* View.cs
* Added enums.
* All System.Windows.Forms enums complete with correct values.

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

22 years ago2002-05-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 8 May 2002 21:24:02 +0000 (21:24 -0000)]
2002-05-08  Miguel de Icaza  <miguel@ximian.com>

* cfold.cs (BinaryFold): During an enumeration evaluation context,
we actually unwrap the expression to allow for extra information
to be extracted.

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

22 years ago2002-05-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 8 May 2002 19:59:16 +0000 (19:59 -0000)]
2002-05-08  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Use Shr_Un on unsigned operations.

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

22 years ago2002-05-08 Mike Kestner <mkestner@speakeasy.net>
Mike Kestner [Wed, 8 May 2002 19:31:22 +0000 (19:31 -0000)]
2002-05-08  Mike Kestner  <mkestner@speakeasy.net>

* XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.

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

22 years agoAdded stubbs from Scroll* to StatusBar.cs
Daniel Carrera [Wed, 8 May 2002 14:58:07 +0000 (14:58 -0000)]
Added stubbs from Scroll* to StatusBar.cs

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

22 years agoAdded new files from Martin Adoue <martin@cwanet.com>
Miguel de Icaza [Wed, 8 May 2002 14:51:40 +0000 (14:51 -0000)]
Added new files from Martin Adoue <martin@cwanet.com>

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

22 years agoRevert broken changes.
Paolo Molaro [Wed, 8 May 2002 14:01:29 +0000 (14:01 -0000)]
Revert broken changes.

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

22 years ago*** empty log message ***
Dick Porter [Wed, 8 May 2002 13:42:57 +0000 (13:42 -0000)]
*** empty log message ***

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

22 years ago2002-05-08 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 8 May 2002 13:26:30 +0000 (13:26 -0000)]
2002-05-08  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (FindMostEncompass*): Fix trivial bug where the set of
applicable operators was not being considered correctly. This closes
the bug Miguel reported.

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

22 years agoAdd.
Ravi Pratap M [Wed, 8 May 2002 13:25:57 +0000 (13:25 -0000)]
Add.

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

22 years agoMiscellaneous minor compliancy fixes:
Piers Haken [Wed, 8 May 2002 13:21:13 +0000 (13:21 -0000)]
Miscellaneous minor compliancy fixes:

* System/System/UriBuilder.cs: use visible EscapeString
* corlib/System.Reflection/ManifestResourceInfo.cs: constructor access, define fields
* corlib/System/Convert.cs: remove erroneous CLSCompliant attributes
* corlib/System/Math.cs: remove erroneous CLSCompliant attribute

Fix enum values:
* System/System.CodeDom/CodeBinaryOperatorType.cs
* System/System.Net.Sockets/ProtocolFamily.cs
* corlib/System.Globalization/CultureTypes.cs
* corlib/System.Reflection/FieldAttributes.cs
* corlib/System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
* corlib/System.Security.Cryptography/CipherMode.cs
* corlib/System.Security.Cryptography/CspProviderFlags.cs
* corlib/System.Security.Cryptography/PaddingMode.cs
* corlib/System.Security.Permissions/IsolatedStorageContainment.cs
* corlib/System.Security.Permissions/ReflectionPermissionFlag.cs
* corlib/System.Security.Permissions/SecurityPermissionFlag.cs
* corlib/System.Security/PolicyLevelType.cs
* corlib/System.Security/SecurityZone.cs
* corlib/System/AttributeTargets.cs
* corlib/System/Environment.cs

Remove redundant overrides:
* corlib/System.Reflection.Emit/EnumBuilder.cs
* corlib/System.Reflection.Emit/TypeBuilder.cs
* corlib/System/MissingFieldException.cs
* corlib/System/MissingMemberException.cs
* corlib/System/MissingMethodException.cs

Fix visibility and access modifiers:
* System/System.CodeDom.Compiler/CodeGenerator.cs
* System/System.Collections.Specialized/NameObjectCollectionBase.cs
* System/System.Collections.Specialized/NameValueCollection.cs
* System/System.ComponentModel/EventDescriptor.cs
* System/System.ComponentModel/EventDescriptorCollection.cs
* System/System.Diagnostics/ProcessStartInfo.cs
* System/System.Net/DnsPermission.cs
* System/System.Net/SocketPermission.cs
* System/System/Uri.cs
* corlib/System.IO/StreamReader.cs
* corlib/System.IO/StringReader.cs
* corlib/System.IO/StringWriter.cs
* corlib/System.IO/TextWriter.cs
* corlib/System.Reflection.Emit/ConstructorBuilder.cs
* corlib/System.Reflection.Emit/MethodBuilder.cs
* corlib/System.Reflection.Emit/OpCodes.cs
* corlib/System.Reflection/Assembly.cs
* corlib/System.Runtime.Remoting.Messaging/ReturnMessage.cs
* corlib/System.Runtime.Serialization/SerializationException.cs
* corlib/System/Activator.cs
* corlib/System/Array.cs
* corlib/System/Boolean.cs
* corlib/System/Byte.cs
* corlib/System/Char.cs
* corlib/System/DateTime.cs
* corlib/System/DivideByZeroException.cs
* corlib/System/Double.cs
* corlib/System/Int16.cs
* corlib/System/Int32.cs
* corlib/System/Int64.cs
* corlib/System/SByte.cs
* corlib/System/Single.cs
* corlib/System/Type.cs
* corlib/System/UInt16.cs
* corlib/System/UInt32.cs
* corlib/System/UInt64.cs

Fix IDisposable, Dispose() mess
* corlib/System.IO/BinaryWriter.cs
* corlib/System.IO/BufferedStream.cs
* corlib/System.IO/FileStream.cs
* corlib/System.IO/MemoryStream.cs
* corlib/System.IO/Stream.cs

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

22 years ago2002-05-08 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Wed, 8 May 2002 12:42:49 +0000 (12:42 -0000)]
2002-05-08  Dan Lewis  <dihlewis@yahoo.co.uk>

* interpreter.cs: Moved to an array-based stack representation
for faster captures.

* match.cs, collections.cs: Decoupled capture representation from
interpreter internals.

* cache.cs: Changed Key type from struct to class for speed.

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

22 years ago2002-05-09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 8 May 2002 11:45:42 +0000 (11:45 -0000)]
2002-05-09  Nick Drochak  <ndrochak@gol.com>

* File.cs (Delete): Do not throw an exception if the file does not
exist.

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

22 years ago2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 8 May 2002 11:20:36 +0000 (11:20 -0000)]
2002-05-08  Rodrigo Moya <rodrigo@ximian.com>

* Test/System.Data_test.build: excluded TestDataColumn, which
should be replaced with a nunit test.

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

22 years ago2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 8 May 2002 11:17:45 +0000 (11:17 -0000)]
2002-05-08  Rodrigo Moya <rodrigo@ximian.com>

* Test/TestDataColumn.cs: added basic test for DataColumn.cs.

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

22 years agoWed May 8 16:48:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 May 2002 11:00:54 +0000 (11:00 -0000)]
Wed May 8 16:48:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* test-118.cs: test alternate type lookup for attributes.

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

22 years agoWed May 8 16:40:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 May 2002 10:54:55 +0000 (10:54 -0000)]
Wed May 8 16:40:50 CEST 2002 Paolo Molaro <lupus@ximian.com>

* attribute.cs: check that the type derives from System.Attribute
and report the correct error in that case (moved the duplicate code to
its own method, too).

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

22 years agoTest case for the use of attributes that don'r derive from System.Attribute.
Paolo Molaro [Wed, 8 May 2002 10:52:10 +0000 (10:52 -0000)]
Test case for the use of attributes that don'r derive from System.Attribute.

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

22 years ago2002-05-08 Mike Gray <mikeg@mikegray.org>
Mike Gray [Wed, 8 May 2002 08:12:55 +0000 (08:12 -0000)]
2002-05-08  Mike Gray     <mikeg@mikegray.org>

* File.cs: According to ECMA spec and MS docs Copy(src, dest)
        should not overwrite dest by default.

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

22 years agoWed May 8 12:28:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 May 2002 06:42:38 +0000 (06:42 -0000)]
Wed May 8 12:28:28 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: support ContructorBuilders in attribute blob creation.

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

22 years agoWed May 8 12:06:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 May 2002 06:19:14 +0000 (06:19 -0000)]
Wed May 8 12:06:14 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: some changes to build a binary that can be run
directly in windows.

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

22 years agoWed May 8 11:50:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 May 2002 06:04:30 +0000 (06:04 -0000)]
Wed May 8 11:50:31 CEST 2002 Paolo Molaro <lupus@ximian.com>

* attribute.cs: lookup attribute type name as the spec says: first the
bare attribute name and then name + "Attribute" (nant compiles with
mcs after this fix).

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

22 years ago2002/05/08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 8 May 2002 03:41:14 +0000 (03:41 -0000)]
2002/05/08  Nick Drochak <ndrochak@gol.com>

* FileTest.cs: Use "resources" directory and use OS friendly
directory separator characters.  This makes the tests run correctly
against MS.NET, but not yet in mono on Linux.

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

22 years ago2002-05-08 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 8 May 2002 00:50:45 +0000 (00:50 -0000)]
2002-05-08  Tim Coleman <tim@timcoleman.com>
        * XPathDocument.cs:
        * XPathException.cs: New stub files added.

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

22 years agoOld code
Rafael Teixeira [Wed, 8 May 2002 00:18:48 +0000 (00:18 -0000)]
Old code

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

22 years ago2002-05-07 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 8 May 2002 00:03:56 +0000 (00:03 -0000)]
2002-05-07  Duncan Mak  <duncan@ximian.com>

* HttpBrowserCapabilities.cs: Added, replacing
HttpBrowserCapabilites because of typo.

* HttpBrowserCapabilites.cs: Removed, replaced by above.

* HttpRequest.cs (Browser): Fixed typo.

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

22 years ago* 5-6-2002 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Tue, 7 May 2002 22:41:49 +0000 (22:41 -0000)]
* 5-6-2002 Dennis Hayes <dennish@raytek.com>
* LeftRightAlignment.cs
* LinkBehavior.cs
* LinkState.cs
* ListViewAlignment.cs
* MdiLayout.cs
* MenuGlyph.cs
* MenuMerge.cs
* MessageBoxButtons.cs
* MessageBoxDefaultButton.cs
* MessageBoxIcon.cs
* MessageBoxOptions.cs
* MouseButtons.cs
* Orientation.cs
* PictureBoxSizeMode.cs
* PropertySort.cs
* Added some more enums. All have correct values.

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

22 years ago* Dennis hayes <dennish@raytek.com>
Dennis Hayes [Tue, 7 May 2002 22:33:51 +0000 (22:33 -0000)]
* Dennis hayes <dennish@raytek.com>
* Added duplicate values
* System.Windows.Forms.Keys.cs

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

22 years ago2002-05-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 7 May 2002 21:33:14 +0000 (21:33 -0000)]
2002-05-07  Tim Coleman <tim@timcoleman.com>
        * SqlBinary.cs:
        * SqlBoolean.cs:
        * SqlByte.cs:
        * SqlDateTime.cs:
        * SqlDecimal.cs:
        * SqlDouble.cs:
        * SqlGuid.cs:
        * SqlInt16.cs:
        * SqlInt32.cs:
        * SqlInt64.cs:
        * SqlMoney.cs:
        * SqlSingle.cs:
        * SqlString.cs:
                Fix the broken build I made before.  Bad
                me.

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

22 years ago2002-05-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 7 May 2002 20:42:03 +0000 (20:42 -0000)]
2002-05-07  Tim Coleman <tim@timcoleman.com>
        * SqlString.cs:
                Fix a symantic error I made in SqlString
                Equals where I copied and pasted wrongly

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

22 years ago2002-05-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 May 2002 20:11:19 +0000 (20:11 -0000)]
2002-05-07  Miguel de Icaza  <miguel@ximian.com>

* handles.c (shared_init): Disable SHM for now, people have too
many problems with this, and the diagnostics are not helping.

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

22 years ago2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 7 May 2002 20:03:16 +0000 (20:03 -0000)]
2002-05-07  Rodrigo Moya <rodrigo@ximian.com>

* EventDescriptor.cs: added missing constructors.

* EventDescriptorCollection.cs: fixed interface methods implementation

* IDataErrorInfo.cs:
* IEditableObject.cs: new interfaces.

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

22 years ago2002-05-07 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Tue, 7 May 2002 19:47:55 +0000 (19:47 -0000)]
2002-05-07  Tim Coleman <tim@timcoleman.com>
        * INullable.cs:
        * SqlBinary.cs:
        * SqlBoolean.cs:
        * SqlByte.cs:
        * SqlCompareOptions.cs:
        * SqlDateTime.cs:
        * SqlDecimal.cs:
        * SqlDouble.cs:
        * SqlGuid.cs:
        * SqlInt16.cs:
        * SqlInt32.cs:
        * SqlInt64.cs:
        * SqlMoney.cs:
        * SqlSingle.cs:
        * SqlString.cs:
                Implement CompareTo, Equals, and String conversions
                for many types

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

22 years ago2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 7 May 2002 19:15:10 +0000 (19:15 -0000)]
2002-05-07  Rodrigo Moya <rodrigo@ximian.com>

* CompareInfo.cs: new basic stub (compiles on Linux, so I assume
it does not break the build on windows. Sorry if it does).

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

22 years agoFixety fix
Miguel de Icaza [Tue, 7 May 2002 17:37:37 +0000 (17:37 -0000)]
Fixety fix

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

22 years agoUse $@ instead of $*
Miguel de Icaza [Tue, 7 May 2002 17:30:38 +0000 (17:30 -0000)]
Use $@ instead of $*

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

22 years ago2002-05-07 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 7 May 2002 17:09:32 +0000 (17:09 -0000)]
2002-05-07  Ravi Pratap  <ravi@ximian.com>

* parameter.cs (ParameterType): Make it a property for now although the
purpose really isn't anything immediate.

* expression.cs (Is*Applicable): Do better checking on the parameter type
of a ref/out parameter. The ones from the system assemblies are already
marked with the correct type so we don't need to do any correction.

* ecore.cs (StandardConversionExists): Conversion from Interface types to
the object type is standard too so include that.

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

22 years ago2002-05-07 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 7 May 2002 17:07:36 +0000 (17:07 -0000)]
2002-05-07  Ravi Pratap  <ravi@ximian.com>

* test-117.cs : Add.

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

22 years agoFix windows build
Dick Porter [Tue, 7 May 2002 16:32:32 +0000 (16:32 -0000)]
Fix windows build

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

22 years ago2002-05-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 May 2002 15:36:17 +0000 (15:36 -0000)]
2002-05-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Unary.TryReduceNegative): Ah!  Tricky!  Tricky!
Because of the way we parse things, we should try to see if a
UIntConstant can fit in an integer.

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

22 years ago2002-05-07 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 7 May 2002 14:30:13 +0000 (14:30 -0000)]
2002-05-07  Ravi Pratap  <ravi@ximian.com>

(ConvertReferenceExplicit): When converting from Iface type S to Class
T make sure the rules are implemented as an OR.

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

22 years ago*** empty log message ***
Daniel Carrera [Tue, 7 May 2002 14:22:05 +0000 (14:22 -0000)]
*** empty log message ***

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

22 years agoRemove debug messages
Ravi Pratap M [Tue, 7 May 2002 13:51:22 +0000 (13:51 -0000)]
Remove debug messages

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

22 years agoAdd copyright headers
Miguel de Icaza [Tue, 7 May 2002 13:50:04 +0000 (13:50 -0000)]
Add copyright headers

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

22 years ago2002-05-07 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 7 May 2002 13:49:53 +0000 (13:49 -0000)]
2002-05-07  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (GetConversionOperators): Do not pick up op_True operators
when we are in an explicit context.

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

22 years agoAdded new classes.
Daniel Carrera [Tue, 7 May 2002 13:24:44 +0000 (13:24 -0000)]
Added new classes.

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

22 years agoFixed "extra byte" problem (see ChangeLong)
Daniel Carrera [Tue, 7 May 2002 13:23:16 +0000 (13:23 -0000)]
Fixed "extra byte" problem (see ChangeLong)

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

22 years agoFixed "extra byte" problem (see ChangeLong)
Daniel Carrera [Tue, 7 May 2002 13:17:05 +0000 (13:17 -0000)]
Fixed "extra byte" problem (see ChangeLong)

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

22 years ago2002-05-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 May 2002 12:58:23 +0000 (12:58 -0000)]
2002-05-08  Nick Drochak  <ndrochak@gol.com>

* StreamWriter.cs: Wrap a try-catch around block of code to find out
what exception is being thrown when it shouldn't.

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

22 years ago2002-05-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 May 2002 12:56:36 +0000 (12:56 -0000)]
2002-05-08  Nick Drochak  <ndrochak@gol.com>

* StreamWriter.cs: Add paramter check to constructors and throw
exceptions where appropriate.

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

22 years agoFix bug
Miguel de Icaza [Tue, 7 May 2002 11:20:33 +0000 (11:20 -0000)]
Fix bug

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

22 years ago2002-05-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 May 2002 10:27:53 +0000 (10:27 -0000)]
2002-05-07  Nick Drochak  <ndrochak@gol.com>

* FileTest.cs: Added TestOpen() from Mike Gray.
* AllTests.cs: Added missing FileTest.Suite as pointed out by Mike
as well.

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

22 years ago2002-05-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 May 2002 10:03:15 +0000 (10:03 -0000)]
2002-05-07  Nick Drochak  <ndrochak@gol.com>

* ExceptionTest.cs: New File. Provided by Linus Upson.

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

22 years agoTue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 May 2002 06:01:18 +0000 (06:01 -0000)]
Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>

* StreamReader.cs: return the number of chars read even if we diddn't
fill the whole buffer (makes Sergey's ilasm work with mono).

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

22 years ago2002/05/07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 May 2002 04:09:05 +0000 (04:09 -0000)]
2002/05/07  Nick Drochak <ndrochak@gol.com>

* AllTests.cs: Do not run the System.Net tests from here, they belong
in the System assembly tests.

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

22 years ago2002/05/07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 7 May 2002 04:07:58 +0000 (04:07 -0000)]
2002/05/07  Nick Drochak <ndrochak@gol.com>

* AllTests.cs: Run the System.Net tests from here.

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

22 years agoSmall update
Miguel de Icaza [Tue, 7 May 2002 02:33:03 +0000 (02:33 -0000)]
Small update

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

22 years agoImprove docs, links, menu
Miguel de Icaza [Tue, 7 May 2002 02:17:05 +0000 (02:17 -0000)]
Improve docs, links, menu

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

22 years agoGet rid of the old status page
Miguel de Icaza [Tue, 7 May 2002 02:12:22 +0000 (02:12 -0000)]
Get rid of the old status page

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

22 years agoAn attempt at making the howto look passable
Miguel de Icaza [Tue, 7 May 2002 01:59:05 +0000 (01:59 -0000)]
An attempt at making the howto look passable

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

22 years agoremove System.Net test directory from corlib
Miguel de Icaza [Tue, 7 May 2002 01:49:03 +0000 (01:49 -0000)]
remove System.Net test directory from corlib

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

22 years agoFix the mono howto mess once and for all
Miguel de Icaza [Tue, 7 May 2002 01:48:25 +0000 (01:48 -0000)]
Fix the mono howto mess once and for all

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

22 years ago2002-05-07 Mike Gray <mikeg_us@hotmail.com>
Miguel de Icaza [Tue, 7 May 2002 01:41:03 +0000 (01:41 -0000)]
2002-05-07  Mike Gray     <mikeg_us@hotmail.com>

* FileInfo.cs (Create): Implement missing method.

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

22 years ago2002-05-07 Mike Gray <mikeg_us@hotmail.com>
Miguel de Icaza [Tue, 7 May 2002 01:39:48 +0000 (01:39 -0000)]
2002-05-07  Mike Gray     <mikeg_us@hotmail.com>

* File.cs: Implemented CreateText method, and fixed dst compares
to compare against "" instead of null twice.

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

22 years ago2002-05-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 May 2002 22:53:24 +0000 (22:53 -0000)]
2002-05-06  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (StandardConversionExists): Augment with missing code:
deal with IntConstant, LongConstants and Enumerations.

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

22 years ago2002-05-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 May 2002 22:38:32 +0000 (22:38 -0000)]
2002-05-06  Miguel de Icaza  <miguel@ximian.com>

* assign.cs: Report the error, instead of failing silently

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

22 years ago* Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Mon, 6 May 2002 22:22:16 +0000 (22:22 -0000)]
* Dennis Hayes <dennish@raytek.com>
* Added enums
*  GridItemType.cs
*  HelpNavigator.cs
*  HorizontalAlignment.cs
*  ImeMode.cs
*  ItemActivation.cs
*  ItemBoundsPortion.cs
*  Keys.cs
* All correct execpt for Keys.cs which is missing a half dozen
* duplicate entries that need correcting.

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

22 years ago2002-05-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 May 2002 22:06:43 +0000 (22:06 -0000)]
2002-05-06  Miguel de Icaza  <miguel@ximian.com>

* rootcontext.cs (AddGlobalAttributes): Track attributes on the
typecontainer that they are declared, because the
typecontainer/namespace will have the list of using clauses that
need to be applied.

Assembly Attributes were escaping the normal registration
mechanism.

(EmitCode): Apply attributes within an EmitContext that represents
the container they were declared on.

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

22 years ago2002-05-06 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Mon, 6 May 2002 20:34:59 +0000 (20:34 -0000)]
2002-05-06  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (FindMostEncompassingType, FindMostEncompassedType):
Revamp completely - make much cleaner as we now operate only
on a set of Types.

(FindMostSpecificSource, FindMostSpecificTarget): New methods
to implement the logic detailed in the spec more correctly.

(UserDefinedConversion): Update accordingly.

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

22 years agoChanged step 3, since we need to be compatible with MS .NET
Rodrigo Moya [Mon, 6 May 2002 19:18:53 +0000 (19:18 -0000)]
Changed step 3, since we need to be compatible with MS .NET

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

22 years ago2002-05-06 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 6 May 2002 19:17:41 +0000 (19:17 -0000)]
2002-05-06  Duncan Mak  <duncan@ximian.com>

* Queue.cs (TrimToSize): Implemented.

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

22 years ago2002-05-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 May 2002 19:06:23 +0000 (19:06 -0000)]
2002-05-06  Miguel de Icaza  <miguel@ximian.com>

* statement.cs: Return flow analysis information up.

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

22 years agoFix
Miguel de Icaza [Mon, 6 May 2002 16:46:46 +0000 (16:46 -0000)]
Fix

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

22 years agoLogged changes to x86-codegen.h
Sergey Chaban [Mon, 6 May 2002 16:39:01 +0000 (16:39 -0000)]
Logged changes to x86-codegen.h

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

22 years ago * x86-codegen.h: added missing shifts;
Sergey Chaban [Mon, 6 May 2002 16:33:54 +0000 (16:33 -0000)]
 * x86-codegen.h: added missing shifts;
   8-bit ALU operations;
   FPU ops with integer operand;
   FIST (without pop);

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

22 years agoadded windows binaries
Johannes Roith [Mon, 6 May 2002 16:32:25 +0000 (16:32 -0000)]
added windows binaries

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

22 years agoDIV_UN: fixed typo - increment EAX, not tree->reg1;
Sergey Chaban [Mon, 6 May 2002 15:22:56 +0000 (15:22 -0000)]
DIV_UN: fixed typo - increment EAX, not tree->reg1;

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

22 years ago*** empty log message ***
Johannes Roith [Mon, 6 May 2002 15:15:05 +0000 (15:15 -0000)]
*** empty log message ***

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

22 years agoAdd more tests
Miguel de Icaza [Mon, 6 May 2002 15:12:43 +0000 (15:12 -0000)]
Add more tests

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

22 years ago2002-05-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 May 2002 15:12:27 +0000 (15:12 -0000)]
2002-05-06  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs (adjust_real): Share code between LITERAL_DOUBLE
and the default.

(token): Do not consume an extra character before calling
decimal_digits.

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

22 years ago * cs-parser.jay: add 'override' attribute to System.Object.Finalize
Piers Haken [Mon, 6 May 2002 13:55:19 +0000 (13:55 -0000)]
* cs-parser.jay: add 'override' attribute to System.Object.Finalize

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

22 years agoPiers Haken <piersh@friskit.com>
Piers Haken [Mon, 6 May 2002 13:54:32 +0000 (13:54 -0000)]
Piers Haken <piersh@friskit.com>

* cs-parser.jay: add 'override' attribute to System.Object.Finalize

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

22 years ago2002-05-06 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 6 May 2002 13:40:54 +0000 (13:40 -0000)]
2002-05-06  Martin Baulig  <martin@gnome.org>

* MonoSymbolWriter.cs (MonoSymbolWriter.Close): Use Assembly.LoadFrom (), not
AppDomain.Load () to load the assembly.

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

22 years agoMon May 6 15:38:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 May 2002 09:52:03 +0000 (09:52 -0000)]
Mon May 6 15:38:15 CEST 2002 Paolo Molaro <lupus@ximian.com>

* jit.h, jit.c, emit-x86.c: x86 cpu detection code from Sergey.

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

22 years ago2002-05-06 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Mon, 6 May 2002 08:37:39 +0000 (08:37 -0000)]
2002-05-06  Dan Lewis  <dihlewis@yahoo.co.uk>

* io.c: CreateFile sets win32 last error.

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

22 years agoMon May 6 13:10:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 May 2002 07:23:27 +0000 (07:23 -0000)]
Mon May 6 13:10:34 CEST 2002 Paolo Molaro <lupus@ximian.com>

* loader.c: print a big message when an icall can't be found.

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

22 years ago2002-05-06 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Mon, 6 May 2002 04:52:33 +0000 (04:52 -0000)]
2002-05-06  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlTypes.SqlInt32Test.cs: missing
declaration for SqlInt32 z which was a test build blocker

* PostgresTest.cs: got rid of warning about missing e

* Test/PostgresTest.cs: exclude PostgresTest.cs
from test build

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

22 years agoAdd another error test
Miguel de Icaza [Mon, 6 May 2002 02:03:09 +0000 (02:03 -0000)]
Add another error test

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

22 years ago2002-05-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 May 2002 02:03:03 +0000 (02:03 -0000)]
2002-05-06  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Constructor.Emit): Set the IsStatic flag in the
EmitContext during the instance constructor initializer
resolution, to stop access to instance variables.

This is mandated by the spec, last paragraph of the `constructor
initializers' section.

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

22 years ago2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Mon, 6 May 2002 01:44:00 +0000 (01:44 -0000)]
2002-05-05  Daniel Morgan <danmorg@sc.rr.com>

* doc/ado-net: correct formatting
* doc/index: added credit i forgot to add

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