mono.git
19 years ago2005-06-05 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 5 Jun 2005 23:00:10 +0000 (23:00 -0000)]
2005-06-05  Ben Maurer  <bmaurer@ximian.com>

* misc/Makefile: Remove --stacktrace to make the test log a bit
more plesent for everyone.

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

19 years agooops
Ben Maurer [Sun, 5 Jun 2005 22:54:44 +0000 (22:54 -0000)]
oops

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

19 years agofix failure
Ben Maurer [Sun, 5 Jun 2005 22:42:05 +0000 (22:42 -0000)]
fix failure

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

19 years ago2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Jun 2005 21:56:19 +0000 (21:56 -0000)]
2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UpDownBase.cs: remove duplicate addition of event, enable some code
that was commented out.
* NumericUpDown.cs: added missing attributes and Hexadecimal property.
Validate input when a key is pressed. It works fine now for every
combination of Hexadecimal. Only missing some drawing love when sharing
space with other controls.

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

19 years agoRuntime.cs: Added GetDisplayName
Kornél Pál [Sun, 5 Jun 2005 21:12:39 +0000 (21:12 -0000)]
Runtime.cs: Added GetDisplayName

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

19 years agoicall.c: Added ves_icall_Mono_Runtime_GetDisplayName
Kornél Pál [Sun, 5 Jun 2005 21:08:59 +0000 (21:08 -0000)]
icall.c: Added ves_icall_Mono_Runtime_GetDisplayName

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

19 years agoHttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
Kornél Pál [Sun, 5 Jun 2005 19:42:45 +0000 (19:42 -0000)]
HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.

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

19 years ago2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Jun 2005 17:08:25 +0000 (17:08 -0000)]
2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BaseCompiler.cs: when the OutputAssembly is null, we can still have
the assembly file there and be able to load it. Thanks to Rogerio and
Mark.

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

19 years ago* VBCodeProviderTest.cs: moved to using NUNit 2.x Assert class, improved
Gert Driesen [Sun, 5 Jun 2005 16:37:39 +0000 (16:37 -0000)]
* VBCodeProviderTest.cs: moved to using NUNit 2.x Assert class, improved
failure output of CreateCompiler test.

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

19 years ago * map-icalls.h, map.h: Change header comment so it matches what
Jonathan Pryor [Sun, 5 Jun 2005 16:26:50 +0000 (16:26 -0000)]
* map-icalls.h, map.h: Change header comment so it matches what
  `make refresh` generates.
* map.c: Add <sys/xattr.h> header.

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

19 years ago * make-map.cs: Change automatic "ifdef HAVE_<header>" support prefix to
Jonathan Pryor [Sun, 5 Jun 2005 16:25:28 +0000 (16:25 -0000)]
* make-map.cs: Change automatic "ifdef HAVE_<header>" support prefix to
  "ah:" from ">".  I hadn't known about ">", and "ah:" is (somewhat) more
  obvious.
* Syscall.cs: Change IncludeAttribute to put all headers/defines one/line.
  It's easier to read this way.  Add "ah:sys/xattr.h" to the headers.

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

19 years ago* CodeGeneratorFromCompileUnitTest.cs: Re-enabled tests as IntentedTextWriter
Gert Driesen [Sun, 5 Jun 2005 12:14:29 +0000 (12:14 -0000)]
* CodeGeneratorFromCompileUnitTest.cs: Re-enabled tests as IntentedTextWriter
now matches MS.NET

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

19 years ago* AssemblyTest.cs: Enabled test for bug #74958.
Gert Driesen [Sun, 5 Jun 2005 10:31:50 +0000 (10:31 -0000)]
* AssemblyTest.cs: Enabled test for bug #74958.

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

19 years agoPerform correct name encoding
Konstantin Triger [Sun, 5 Jun 2005 09:14:27 +0000 (09:14 -0000)]
Perform correct name encoding

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

19 years ago* OptionList.cs: Supported quoted arguments in response files.
Gert Driesen [Sun, 5 Jun 2005 09:11:59 +0000 (09:11 -0000)]
* OptionList.cs: Supported quoted arguments in response files.
Fixes bug #65484.

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

19 years agoClose WebResponse to free resources
Konstantin Triger [Sun, 5 Jun 2005 09:04:32 +0000 (09:04 -0000)]
Close WebResponse to free resources

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

19 years agomoving static fields to AppDomain in Java builds
Konstantin Triger [Sun, 5 Jun 2005 07:38:47 +0000 (07:38 -0000)]
moving static fields to AppDomain in Java builds

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

19 years ago2005-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 5 Jun 2005 06:56:00 +0000 (06:56 -0000)]
2005-06-05  Martin Baulig  <martin@ximian.com>

* statement.cs (LocalInfo.CompilerGenerated): New flag.
(Block.AddTemporaryVariable): New public method; creates a new
`LocalInfo' for a temporary variable.
(Block.EmitMeta): Create the LocalBuilders for all the temporary
variables here.
(Foreach.TemporaryVariable): Use Block.AddTemporaryVariable() for
non-iterator variables.

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

19 years ago2005-06-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 5 Jun 2005 06:00:51 +0000 (06:00 -0000)]
2005-06-05  Martin Baulig  <martin@ximian.com>

* statement.cs (Foreach.TemporaryVariable): Create the
LocalBuilder in the Emit phase and not in Resolve since in some
situations, we don't have an ILGenerator during Resolve; see
2test-19.cs for an example.

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

19 years agoOoops.
Martin Baulig [Sun, 5 Jun 2005 06:00:36 +0000 (06:00 -0000)]
Ooops.

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

19 years agoNew test.
Martin Baulig [Sun, 5 Jun 2005 05:46:13 +0000 (05:46 -0000)]
New test.

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

19 years ago* expression.cs : Allowing '()' for property invocation with no args.
Satya Sudha K [Sun, 5 Jun 2005 04:31:33 +0000 (04:31 -0000)]
* expression.cs : Allowing '()' for property invocation with no args.
* typemanager.cs :
                - Caching a property's arguments (as 'NoTypes') while registering a property
                - If a name resolves to a field as well as a property, treat it as a field
                - If a name resolves to a field as well as a event, giving preference to event
* parameters.cs : Case-insensitive search/comparison of parameter/arg names

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

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

* TemplateParser.cs: ignore empty assembly.Location for in-memory
generated assemblies.

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

19 years ago* Win32Exception.cs: improve error message for error 10047.
Gert Driesen [Sat, 4 Jun 2005 21:29:41 +0000 (21:29 -0000)]
* Win32Exception.cs: improve error message for error 10047.

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

19 years ago* SocketTest.cs: added test for bug #75158.
Gert Driesen [Sat, 4 Jun 2005 21:26:32 +0000 (21:26 -0000)]
* SocketTest.cs: added test for bug #75158.

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

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

* AspParser.cs: InvariantCulture love.

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

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

* System.Web.UI/Page.cs: added AddContentTemplate method.
* System.Web.Compilation/TemplateControlCompiler.cs: use the Page
AddContentTemplate method, as the one in Master is protected. Fixes
bug #75157.

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

19 years ago2005-06-04 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 4 Jun 2005 20:29:39 +0000 (20:29 -0000)]
2005-06-04  Peter Bartok  <pbartok@novell.com>

* Control.cs:
  - We need to pass a window for DragDrop, so enable callback events
  - Added DnD callback events when being a DragSource
* XplatUI.cs (StartDrag): Added window handle argument
* XplatUIDriver.cs (StartDrag): Added window handle argument
* QueryContinueDragEventArgs: Made fields internally accessible so
  drivers can set them
* GiveFeedbackEventArgs: Made fields internally accessible so drivers
  can set them

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

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

* System/Environment.cs:
* System/AppDomain.cs:
* System.Reflection/Assembly.cs: if the assembly is loaded from a byte
array, Location returns "". Fixes bug #74958.

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

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

* appdomain.c: bump corlib version.
* object-internals.h: new field in MonoReflectionAssembly.

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

19 years ago* TypeDescriptor.cs: in .NET 2.0, GetComponentName returns null if object is
Gert Driesen [Sat, 4 Jun 2005 19:34:20 +0000 (19:34 -0000)]
* TypeDescriptor.cs: in .NET 2.0, GetComponentName returns null if object is
not an IComponent or has no Site. In .NET 2.0, GetDefaultEvent does not
fallback to first defined event if the default event is filtered out.
GetDefaultProperty did not take filtering into account. Fixes bug #75152.
* TypeDescriptorTests.cs: added tests for bug #75152. Fixed tests to pass on
both Mono and MS.NET.

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

19 years ago * corlib.dll.sources: IEqualityComparer, etc
Ben Maurer [Sat, 4 Jun 2005 19:08:27 +0000 (19:08 -0000)]
* corlib.dll.sources: IEqualityComparer, etc

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

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

* *.cs: 2.0 api fixups

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

19 years ago * *.cs: More 2.0 API fixups
Ben Maurer [Sat, 4 Jun 2005 18:18:17 +0000 (18:18 -0000)]
* *.cs: More 2.0 API fixups

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

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