mono.git
19 years agoenable test as 75154 is fixed now
Gonzalo Paniagua Javier [Sat, 4 Jun 2005 18:09:43 +0000 (18:09 -0000)]
enable test as 75154 is fixed now

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

19 years ago2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 Jun 2005 18:08:19 +0000 (18:08 -0000)]
2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: disallow connecting to .Any addresses. Fixes bug #75154.

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

19 years ago2005-06-04 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 4 Jun 2005 18:00:46 +0000 (18:00 -0000)]
2005-06-04  Ben Maurer  <bmaurer@ximian.com>

* *.cs: In beta 2, generics are no longer non-cls-compliant.

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

19 years ago2005-06-04 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 4 Jun 2005 17:56:24 +0000 (17:56 -0000)]
2005-06-04  Ben Maurer  <bmaurer@ximian.com>

* corlib.dll.sources: IEquatable

* */*.cs: .NET 2.0 fixups

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

19 years ago2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 4 Jun 2005 17:23:53 +0000 (17:23 -0000)]
2005-06-05  Kazuki Oikawa  <kazuki@panicode.com>

* Decimal.cs: Changed to use NumberFormatter in ToString.
* NumberFormatter.cs: Implemented decimal formatter.

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

19 years ago2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 4 Jun 2005 17:00:52 +0000 (17:00 -0000)]
2005-06-05  Kazuki Oikawa  <kazuki@panicode.com>

* String.cs: Fixed IndexOfAny thrown an exception
when startIndex of arguments equals Length. (Closes bug #75083.)

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

19 years ago2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 4 Jun 2005 16:36:39 +0000 (16:36 -0000)]
2005-06-05  Kazuki Oikawa  <kazuki@panicode.com>

* NumberFormatter.cs: modified the output
of 0.ToString("00.00E00") that was different from MSFT.

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

19 years ago* CodeGeneratorFromNamespaceTest.cs: re-enabled SimpleNamespaceTest and
Gert Driesen [Sat, 4 Jun 2005 14:05:26 +0000 (14:05 -0000)]
* CodeGeneratorFromNamespaceTest.cs: re-enabled SimpleNamespaceTest and
InvalidNamespaceTest as IndentedTextWriter now matches MS.NET

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

19 years ago* IndentedTextWriter.cs: also output tabs in WriteLine () to match MS.NET.
Gert Driesen [Sat, 4 Jun 2005 13:55:23 +0000 (13:55 -0000)]
* IndentedTextWriter.cs: also output tabs in WriteLine () to match MS.NET.

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

19 years ago* SocketTest.cs: use IPAddress.Loopback in IPEndPoint to allow
Gert Driesen [Sat, 4 Jun 2005 13:00:56 +0000 (13:00 -0000)]
* SocketTest.cs: use IPAddress.Loopback in IPEndPoint to allow
AcceptBlockingStatus test to pass on both Mono and MS.NET.

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

19 years ago* SocketTest.cs: added test for bug #75154.
Gert Driesen [Sat, 4 Jun 2005 12:55:09 +0000 (12:55 -0000)]
* SocketTest.cs: added test for bug #75154.

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

19 years ago* TcpListenerTest.cs: removed NotDotNet category from TcpListener test as its
Gert Driesen [Sat, 4 Jun 2005 12:03:55 +0000 (12:03 -0000)]
* TcpListenerTest.cs: removed NotDotNet category from TcpListener test as its
working just fine on both MS.NET 1.x and 2.0.

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

19 years ago2005-06-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Jun 2005 11:20:50 +0000 (11:20 -0000)]
2005-06-04  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.c mini-ia64.h: Fix cleanup of memory stack.

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

19 years ago2005-06-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 4 Jun 2005 06:35:03 +0000 (06:35 -0000)]
2005-06-04  Martin Baulig  <martin@ximian.com>

The big Foreach rewrite - Part II.

* typemanager.cs (TypeManager.object_getcurrent_void): Replaced
with `PropertyInfo ienumerator_getcurrent'.

* codegen.cs (VariableStorage): Removed.

* statement.cs
(Foreach): Derive from Statement, not ExceptionStatement.
(Foreach.CollectionForeach): New nested class.  Moved all the code
dealing with collection foreach here.
(Foreach.ForeachHelperMethods): Removed.
(Foreach.TemporaryVariable): Implement IMemoryLocation.

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 22:15:41 +0000 (22:15 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: send the right header/user/password in
PreAuthenticate in presence of a proxy.

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 21:03:09 +0000 (21:03 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* object-internals.h: Carlos forgot to add this field.

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

19 years agoSome formatting love for MONO_DEBUG suboptions
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 20:39:12 +0000 (20:39 -0000)]
Some formatting love for MONO_DEBUG suboptions

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

19 years ago2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Jun 2005 19:46:09 +0000 (19:46 -0000)]
2005-06-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AssemblyName.cs: Changes to support the creation of version
instance from icalls. This change also helps to keep the
AssemblyName tests running fine.

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

19 years ago2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 3 Jun 2005 19:45:51 +0000 (19:45 -0000)]
2005-06-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* icall.c: Added create_version to create instances
of Version of MonoReflectionAssemblyName. This change helps
the AssemblyName tests to keep running fine.

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

19 years agosvn path=/trunk/mono/; revision=45382
Carlos Alberto Cortez [Fri, 3 Jun 2005 19:38:48 +0000 (19:38 -0000)]
svn path=/trunk/mono/; revision=45382

19 years ago * Stdlib.cs: Add sanity checking to snprintf(3) to avoid buffer overflows.
Jonathan Pryor [Fri, 3 Jun 2005 19:36:42 +0000 (19:36 -0000)]
  * Stdlib.cs: Add sanity checking to snprintf(3) to avoid buffer overflows.

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

19 years ago2005-06-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 3 Jun 2005 19:05:56 +0000 (19:05 -0000)]
2005-06-03  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs CustomAttributeBuilder.cs: Rework DllImportAttribute
decoding to improve compatibility with MS.NET.

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

19 years ago* UriTest.cs: modified tests to reflect fixes in .NET 2.0.
Gert Driesen [Fri, 3 Jun 2005 18:30:24 +0000 (18:30 -0000)]
* UriTest.cs: modified tests to reflect fixes in .NET 2.0.
Added test for bug #75144.

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

19 years ago* UriTest: fixed test failures introduced by bug fixes for #75125 and
Gert Driesen [Fri, 3 Jun 2005 16:50:43 +0000 (16:50 -0000)]
* UriTest: fixed test failures introduced by bug fixes for #75125 and
#75128.

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

19 years ago2005-06-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 3 Jun 2005 16:22:37 +0000 (16:22 -0000)]
2005-06-03  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (emit_call): Fix yet another bug in the near call optimization.

* mini-amd64.c (amd64_patch): Add an assert to check that the destination
of a call is callable by a near call.

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

19 years ago* Uri.cs: throw UriFormatException if URI starts with colon.
Gert Driesen [Fri, 3 Jun 2005 16:14:25 +0000 (16:14 -0000)]
* Uri.cs: throw UriFormatException if URI starts with colon.
Fixes bug #75124.
* UriTest.cs: added test for bug #75124.

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

19 years ago2005-06-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 3 Jun 2005 14:18:21 +0000 (14:18 -0000)]
2005-06-03  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs (SetCustomAttribute): Set PinvokeImpl attribute if
a DllImportAttribute is present.

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

19 years ago * mono-shlib-cop.cs: Add MessageInfo, MessageCollection, & Report classes to
Jonathan Pryor [Fri, 3 Jun 2005 14:02:24 +0000 (14:02 -0000)]
  * mono-shlib-cop.cs: Add MessageInfo, MessageCollection, & Report classes to
    support message merging.  Remove AssemblyCheckResults; AssemblyChecker
    uses Report directly to add messages.  Add .config file parsing support.
  * README: flush.

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 13:08:06 +0000 (13:08 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPAddressTest.cs: cleanup and added loopback IPv6 test.

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

19 years ago2005-06-03 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 3 Jun 2005 13:07:19 +0000 (13:07 -0000)]
2005-06-03  Lluis Sanchez Gual  <lluis@novell.com>

* object.c (mono_method_return_message_restore): A somehow less
intrusive fix for #75138.

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 12:26:31 +0000 (12:26 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPv6Address.cs: fix IsLoopback. Closes bug #75128.

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 12:08:42 +0000 (12:08 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
address. Fixes bug #75125.

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 12:03:45 +0000 (12:03 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TcpListenerTest.cs: actually connect the socket to the listener. Fixes
the test.

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

19 years ago* mcs/ecore.cs (Expression.Resolve): Emit CS0654 error when -langversion:ISO-1.
Raja R Harinath [Fri, 3 Jun 2005 11:40:37 +0000 (11:40 -0000)]
* mcs/ecore.cs (Expression.Resolve): Emit CS0654 error when -langversion:ISO-1.
* errors/cs0654.cs: New test.

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

19 years ago* Makefile (TEST_SOURCES_common): Re-enable test-183: the runtime
Raja R Harinath [Fri, 3 Jun 2005 11:28:53 +0000 (11:28 -0000)]
* Makefile (TEST_SOURCES_common): Re-enable test-183: the runtime
has been fixed.

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

19 years ago* object.c (mono_method_return_message_restore): Fix computation
Raja R Harinath [Fri, 3 Jun 2005 11:28:06 +0000 (11:28 -0000)]
* object.c (mono_method_return_message_restore): Fix computation
of expected number of out args.

(fixes several test failures)

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

19 years ago2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 3 Jun 2005 10:07:56 +0000 (10:07 -0000)]
2005-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ServicePointManager.cs: when going through a proxy, use 2 different
service points depending on the scheme. Fixes bug #75135.

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

19 years ago2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 3 Jun 2005 09:09:38 +0000 (09:09 -0000)]
2005-06-03  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: column text editing
* DataGridTableStyle.cs: Respect columns styles created by the user
* DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
* DataGridBoolColumn.cs: bool column editing
* DataGrid.cs: fixes to scrolling, properties, etc
* DataGridTextBox.cs: handle keyboard
* DataGridColumnStyle.cs: fixes

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

19 years ago * ImageListStreamer.cs: Somewhat broken implementation of
Jackson Harper [Fri, 3 Jun 2005 08:49:58 +0000 (08:49 -0000)]
* ImageListStreamer.cs: Somewhat broken implementation of
GetObjectData. The RLE needs some work to match MS properly.

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

19 years ago2005-06-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Jun 2005 05:52:04 +0000 (05:52 -0000)]
2005-06-03  Martin Baulig  <martin@ximian.com>

* Makefile: Disable test-183; someone broke it.

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

19 years agoSomeone fix this.
Martin Baulig [Fri, 3 Jun 2005 05:35:06 +0000 (05:35 -0000)]
Someone fix this.

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

19 years ago2005-06-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 3 Jun 2005 05:30:46 +0000 (05:30 -0000)]
2005-06-03  Martin Baulig  <martin@ximian.com>

* CharEnumerator.cs: Reverting Ben's latest change (r45312/45313)
for the moment since it breaks the build; see #75136.

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

19 years ago * X11Dnd.cs: Attempting to keep at least one file in MWF
Jackson Harper [Fri, 3 Jun 2005 04:34:54 +0000 (04:34 -0000)]
    * X11Dnd.cs: Attempting to keep at least one file in MWF
        monostyled.

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Jun 2005 04:01:31 +0000 (04:01 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  that way

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

19 years ago- flush
Peter Dennis Bartok [Fri, 3 Jun 2005 03:32:26 +0000 (03:32 -0000)]
- flush

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 3 Jun 2005 03:10:21 +0000 (03:10 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
* XplatUI.cs: Added DoDragDrop() method
* XplatUIDriver.cs: Added DoDragDrop() method

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

19 years ago* System.Windows.Forms.dll.sources: Add X11Dnd.cs
Jackson Harper [Fri, 3 Jun 2005 02:10:14 +0000 (02:10 -0000)]
* System.Windows.Forms.dll.sources: Add X11Dnd.cs

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

19 years ago * Splitter.cs: Implement BorderStyle.
Jackson Harper [Fri, 3 Jun 2005 01:51:34 +0000 (01:51 -0000)]
    * Splitter.cs: Implement BorderStyle.

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

19 years ago XplatUIX11.cs: Tie into the X11Dnd subsystem.
Jackson Harper [Thu, 2 Jun 2005 23:41:14 +0000 (23:41 -0000)]
    XplatUIX11.cs: Tie into the X11Dnd subsystem.
        * X11Dnd.cs: New file. A subsystem that handles drag and drop on
        X11 using XDND.

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 2 Jun 2005 22:12:49 +0000 (22:12 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* DataObject.cs:
  - Added Data setter
  - Fixed broken insertion code for SetData, now also
    overwrites any existing entry of the same format name
* Hwnd.cs: Added list of pointers that automatically gets
  freed when the window is disposed
* XplatUI.cs: Call driver initialization method when loading
  a driver
* Control.cs:
  - OnDragLeave takes EventArgs, not DragEventArgs
  - Added setting of WS_EX_ACCEPTFILES style when dropping is
    supported
  - Forces style update when drop state changes
* XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  not perfect since we cannot (yet) call the IDataObject.GetData()
  method, we keep getting 0x80004005 error, dunno why)

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

19 years ago2005-06-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Jun 2005 20:37:32 +0000 (20:37 -0000)]
2005-06-02  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs (SetCustomAttribute): Handle the case when the
calling convention inside the DllImportAttribute is empty.

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

19 years ago2005-06-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Jun 2005 20:36:13 +0000 (20:36 -0000)]
2005-06-02  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_method_info): Fix the case when the
charset is empty.

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

19 years ago2005-06-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 2 Jun 2005 20:28:23 +0000 (20:28 -0000)]
2005-06-02  Peter Bartok  <pbartok@novell.com>

* DragEventArgs.cs: Make fields internal so we can cache the
  object and re-set the fields from XplatUI

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

19 years ago * StdioFileStream.cs: Remove FilePosition property & replace with
Jonathan Pryor [Thu, 2 Jun 2005 19:37:27 +0000 (19:37 -0000)]
  * StdioFileStream.cs: Remove FilePosition property & replace with
    SaveFilePosition/RestoreFilePosition methods.  Since FilePosition has a
    finalizer, it's not right to have implicitly created instances.
  * Stdlib.cs:
    - FilePosition: GC.SuppressFinalize() should be last in Dispose()
      (following .NET guidelines).
    - Syscall: Add locking around functions most likely to be thread unsafe.
      This should provide some level of thread-safety to managed code.
  * Syscall.cs: Add locking around functions most likely to be thread unsafe;
    add mkstemp(3) export.
  * UnixEnvironment.cs: GetUserShells should be atomic (from managed code).
  * UnixGroup.cs: GetLocalGroups should be atomic (from managed code).
  * UnixGroupInfo.cs: Add ToGroup() method to retrieve underlying Group info.
  * UnixUser.cs: GetLocalUsers should be atomic (from managed code).
  * UnixUserInfo.cs: Add ToPasswd () method to retrieve underlying Passwd info.
  * UnixDriveInfo.cs: GetDrives should be atomic (from managed code).

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

19 years ago * Control.cs: Add some internal methods so the DnD subsystem can
Jackson Harper [Thu, 2 Jun 2005 18:48:16 +0000 (18:48 -0000)]
    * Control.cs: Add some internal methods so the DnD subsystem can
        raise DnD events. Also call into the driver when AllowDrop is
set.
        * XplatUI.cs:
        * XplatUIDriver.cs: New method for setting whether or not a
        * window
        is allowed to accept drag and drop messages.

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

19 years ago2005-06-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Jun 2005 16:53:33 +0000 (16:53 -0000)]
2005-06-02  Lluis Sanchez Gual  <lluis@novell.com>

* object.c: Added missing null check in
  mono_method_return_message_restore.

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

19 years agoi need a cold shower
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 16:15:10 +0000 (16:15 -0000)]
i need a cold shower

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 15:56:10 +0000 (15:56 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeTest.cs: new test for null in Type [] for GetConstructor().

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

19 years agowrong bug number
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 15:51:38 +0000 (15:51 -0000)]
wrong bug number

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 15:49:09 +0000 (15:49 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Type.cs: reverted wrong fix for bug #73100 in r45150. This makes SSL
support in System.Net work again.

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

19 years ago2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jun 2005 14:06:37 +0000 (14:06 -0000)]
2005-06-02  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaConstants.cs,
  XmlSchemaDataImporter.cs,
  XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
  George Barbarosie. Fixed bug #75121.
* XmlSchemaMapper.cs : it is not used anymore, so just removed.

* DataSetReadXmlSchemaTest.cs : testcase for bug #75121.

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

19 years ago2005-06-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 2 Jun 2005 14:00:50 +0000 (14:00 -0000)]
2005-06-02  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_method_info): Handle the case when
dllentry is empty.

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

19 years ago2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Jun 2005 11:41:00 +0000 (11:41 -0000)]
2005-06-02  Atsushi Enomoto <atsushi@ximian.com>

* XmlEntityReference.cs, XmlNode.cs : For entity references, BaseURI
  resolution should be different from that of parent since they might
  differ. Patch by Andrew Skiba.

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

19 years agoworkaround cygwin ambiguity
Andrew Skiba [Thu, 2 Jun 2005 11:29:03 +0000 (11:29 -0000)]
workaround cygwin ambiguity

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

19 years agoFix #75080, cs0119.cs.
Raja R Harinath [Thu, 2 Jun 2005 11:05:41 +0000 (11:05 -0000)]
Fix #75080, cs0119.cs.
* mcs/ecore.cs (Expression.ExprClassToResolveFlags): New.  Broken out of ...
(Expression.Resolve): ... this.  Use it.  Remove bogus code
allowing ExprClass.Type and ExprClass.Namespace for
ResolveFlags.VariableOrValue.
(Expression.Resolve) [1-argument variant]: Change default resolve
flags based on language version.
(Expression.Error_UnexpectedKind): Use a simple string array
rather than an ArrayList.
* mcs/expression.cs (TypeOf.DoResolve): Set eclass to ExprClass.Value,
not ExprClass.Type.
(TypeOfVoid.DoResolve): Likewise.
(MemberAccess.DoResolve) [3-argument variant]: Make private.  Drop
flags argument -- it always has the same value.
* errors/cs0119-2.cs: New test from #75080.

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

19 years ago2005-06-02 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 2 Jun 2005 10:12:56 +0000 (10:12 -0000)]
2005-06-02  Lluis Sanchez Gual  <lluis@novell.com>

* object.c: When creating the vtable for a proxy, take into account
all inherited interfaces, not only the ones registered in
iclass->interfaces. This fixs bug #74996.
Also, in mono_method_return_message_restore, verify that the array
of out args has the expected lengh.

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 07:48:30 +0000 (07:48 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* socket-io.c: update the timeout in Poll when the call is interrupte.

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 07:42:46 +0000 (07:42 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* socket-io.c: support abort/suspend in Select_internal after last
change.

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 07:30:40 +0000 (07:30 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: modified HtmlDecode so that it does not need to call
Int32.Parse and handles improper &# sequences. Fixes bug #74907.

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

19 years agoremove
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 06:20:23 +0000 (06:20 -0000)]
remove

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

19 years ago2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 2 Jun 2005 05:33:31 +0000 (05:33 -0000)]
2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: remove warning.

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

19 years ago2005-06-01 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 2 Jun 2005 02:04:50 +0000 (02:04 -0000)]
2005-06-01  Ben Maurer  <bmaurer@ximian.com>

* mono-api-info.cs: Hack to support generics better

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

19 years agoDUH
Ben Maurer [Thu, 2 Jun 2005 01:52:52 +0000 (01:52 -0000)]
DUH

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

19 years ago2005-06-01 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 1 Jun 2005 22:31:39 +0000 (22:31 -0000)]
2005-06-01  Ben Maurer  <bmaurer@ximian.com>

* CharEnumerator.cs: add IEnumerable <char> support

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

19 years ago2005-06-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 1 Jun 2005 19:37:12 +0000 (19:37 -0000)]
2005-06-01  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs (SetCustomAttribute): Handle DllImportAttribute
as well.

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

19 years ago2005-06-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 1 Jun 2005 19:36:34 +0000 (19:36 -0000)]
2005-06-01  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs: Add a decode_cattr helper method.

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

19 years ago2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Jun 2005 18:52:56 +0000 (18:52 -0000)]
2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionBuilder.cs: Removed unification stuff. This is done at a
lower level.
* SecurityManager.cs: Split loading PolicyLevel in two phases. The
PolicyHierarchy is now available after phase 1 which ensures we can
load permission from outside corlib.

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

19 years ago2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Jun 2005 18:52:46 +0000 (18:52 -0000)]
2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>

* DefaultPolicies.cs: Added a method to create the default FullTrust
assemblies in the policy configuration files.
* PolicyLevel.cs: Splitted loading/initializing of PolicyLevel so it's
now possible to load permissions outside corlib when resolving a
policy. However FullTrustAssemblies is still ignored at this stage.

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

19 years ago2005-06-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 1 Jun 2005 15:49:33 +0000 (15:49 -0000)]
2005-06-01  Lluis Sanchez Gual  <lluis@novell.com>

* TransportHeaders.cs: This collection turns out to be case insensitive
AND culture insensitive.

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

19 years ago2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Jun 2005 14:10:17 +0000 (14:10 -0000)]
2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c:
* socket-io.[ch]: Select_internal uses poll() now when available, thus
removing the 1024 limit from select(). Runtime part of the fix for
bug #71203.

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

19 years ago2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Jun 2005 14:10:13 +0000 (14:10 -0000)]
2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: adapted Select to the new Select_internal that uses poll()
instead of select(). Managed part of the fix for bug #71203.

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

19 years ago2005-06-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Jun 2005 12:30:57 +0000 (12:30 -0000)]
2005-06-01  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryServicesPermissionTest.cs: IsSubset(null) has a different
result in 2.0 compared to 1.x.

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

19 years agoTODO list
Andrew Skiba [Wed, 1 Jun 2005 12:23:45 +0000 (12:23 -0000)]
TODO list

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

19 years agotouch the catalog to avoid unnecessary unzip operation
Andrew Skiba [Wed, 1 Jun 2005 12:07:15 +0000 (12:07 -0000)]
touch the catalog to avoid unnecessary unzip operation

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

19 years agolist of failures for _current_ GH and mono
Andrew Skiba [Wed, 1 Jun 2005 12:06:14 +0000 (12:06 -0000)]
list of failures for _current_ GH and mono

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

19 years ago2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 1 Jun 2005 09:46:54 +0000 (09:46 -0000)]
2005-06-01  Jordi Mas i Hernandez <jordi@ximian.com>

* ScrollBar.cs: Make sure that values sent in Scroll events
are always between Maximum and Minimum.

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

19 years ago2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 1 Jun 2005 09:06:08 +0000 (09:06 -0000)]
2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
the build.

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

19 years ago2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 1 Jun 2005 08:29:39 +0000 (08:29 -0000)]
2005-06-01  Sureshkumar T  <tsureshkumar@novell.com>

* SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
framework type to pass to TDS layer. Fixes bug #75044.

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

19 years agotestsuite is ready for use
Andrew Skiba [Wed, 1 Jun 2005 08:12:24 +0000 (08:12 -0000)]
testsuite is ready for use

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

19 years ago* mono-service.cs (MonoServiceRunner.Main): Replace LockFlags with
Raja R Harinath [Wed, 1 Jun 2005 07:55:04 +0000 (07:55 -0000)]
* mono-service.cs (MonoServiceRunner.Main): Replace LockFlags with
LockfCommand to reflect the rename in Mono.Posix.dll.

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

19 years ago2005-06-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 1 Jun 2005 07:34:35 +0000 (07:34 -0000)]
2005-06-01  Marek Safar  <marek.safar@seznam.cz>

* Menu.cs: Call MenuChanged when menuitem visibility has been
changed.
* MenuItem.cs: Rebuild menu when item is (not) visible.
* MainMenu.cs: MainMenu has special MenuChanged.
* Theme.cs: Caption and FrameBorderSize are not fixed.
* XplatUI.cs: Added CaptionHeight,FrameBorderSize.
* XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
* XplatUIX11.cs,
* XplatUIOSX: Caption and FrameBorderSize not implemented yet.
* XplatUIWin32.cs: Get Caption and FrameBorderSize from system.

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

19 years ago2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 1 Jun 2005 04:33:12 +0000 (04:33 -0000)]
2005-06-01  Sureshkumar T  <tsureshkumar@novell.com>

* Tds50.cs: add a special case for datetime parameters to convert
to invariant culture. fixes bug #74910.

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

19 years ago * Stdlib.cs: Add comment for atexit(3) so I don't try to add it.
Jonathan Pryor [Wed, 1 Jun 2005 00:30:40 +0000 (00:30 -0000)]
* Stdlib.cs: Add comment for atexit(3) so I don't try to add it.
* Syscall.cs: Add fcntl(2) overload which takes DirectoryNotifyFlags (so
  that *something* accepts a DirectoryNotifyFlags); Fix IncludeAttribute
header files (">sys/poll.h" doesn't exist);
  Add additional <sys/mman.h> functions mmap, munmap, msync, mlock, munlock,
  mlockall, munlockall, mremap, mincore, remap_file_pages.
* UnixConvert.cs: Add conversion functions for MmapFlags, MmapProt, MsyncFlags,
  MlockallFlags, MremapFlags.

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

19 years ago * sys-mman.c: Add wrappers for mmap, munmap, mprotect, msync, mlock,
Jonathan Pryor [Wed, 1 Jun 2005 00:23:52 +0000 (00:23 -0000)]
* sys-mman.c: Add wrappers for mmap, munmap, mprotect, msync, mlock,
  munlock, mremap, mincore, remap_file_pages.
* map-icalls.h: Update to latest shared interface.
* map.c, map.h: Add {To,From} pairs for MmapFlags, MmapProt, MsyncFlags,
  MlockallFlags, MremapFlags.
* mph.h: Add mph_return_*_if_ssize_t_overflow macros.

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

19 years ago * unistd.c: Oops -- deal with s/LockFlags/LockfCommand/ change.
Jonathan Pryor [Wed, 1 Jun 2005 00:19:54 +0000 (00:19 -0000)]
* unistd.c: Oops -- deal with s/LockFlags/LockfCommand/ change.

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

19 years agoFlush (oops).
Jonathan Pryor [Tue, 31 May 2005 23:26:49 +0000 (23:26 -0000)]
Flush (oops).

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

19 years agoFlush (oops).
Jonathan Pryor [Tue, 31 May 2005 23:26:17 +0000 (23:26 -0000)]
Flush (oops).

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

19 years ago * map.h, map.c, map-icalls.h: Rename LockFlags to LockfCommand.
Jonathan Pryor [Tue, 31 May 2005 23:24:31 +0000 (23:24 -0000)]
* map.h, map.c, map-icalls.h: Rename LockFlags to LockfCommand.

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

19 years ago * Syscall.cs, UnixConvert.cs: Rename LockFlags to LockfCommand. This is a more
Jonathan Pryor [Tue, 31 May 2005 23:23:49 +0000 (23:23 -0000)]
* Syscall.cs, UnixConvert.cs: Rename LockFlags to LockfCommand.  This is a more
  consistent naming, and it's more correct (they weren't flags in the first place).

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

19 years ago2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 31 May 2005 20:05:51 +0000 (20:05 -0000)]
2005-05-31  Lluis Sanchez Gual  <lluis@novell.com>

* TcpServerTransportSink.cs: Remove the channel uri from the
received uri.

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