mono.git
19 years ago* expression.cs (Binary.CheckIsArguments): Added
Jambunathan K [Sat, 7 May 2005 20:50:53 +0000 (20:50 -0000)]
* expression.cs (Binary.CheckIsArguments): Added
(Binary.Emit, Binary.CheckArguments): Modified to support 'Is'
operator.

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

19 years ago* convert.cs:
Jambunathan K [Sat, 7 May 2005 19:19:49 +0000 (19:19 -0000)]
* convert.cs:
* expression.cs: Miscellaneous fixes relating to
type conversions.

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

19 years ago2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 18:54:36 +0000 (18:54 -0000)]
2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* metadata/socket-io.c:
* io-layer/sockets.c: on windows, getsockopt/setsockopt for send/receive
timeout use an integer in milliseconds. We were using a struct timeval.

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

19 years ago2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 7 May 2005 18:47:14 +0000 (18:47 -0000)]
2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatter.cs : roundtrip number is already rounded before
  FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
  bug #72955.

* DoubleTest.cs : added test for #72955.

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

19 years agoIn System:
Ben Maurer [Sat, 7 May 2005 16:15:33 +0000 (16:15 -0000)]
In System:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* Array.cs (BinarySearch): Patch from kazuki to pass arguments to
the comparer in the same order as msft. Fixes #70725

In Test/System:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* ArrayTest.cs: Test for #70725.

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

19 years ago2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 7 May 2005 16:11:07 +0000 (16:11 -0000)]
2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>

* MSXslScriptManager.cs : it should ignore compiler warnings. This
  fixes bug #74859.

* MSXslScriptTests.cs : added testcase for bug #74859.

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

19 years agoIn Test/System.Reflection:
Ben Maurer [Sat, 7 May 2005 15:24:06 +0000 (15:24 -0000)]
In Test/System.Reflection:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* EventInfoTest.cs: New file. Has a test case for #64191.

In System.Reflection:
2005-05-07  Ben Maurer  <bmaurer@ximian.com>

* MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.

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

19 years agoadd generic methods
César Natarén [Sat, 7 May 2005 10:27:44 +0000 (10:27 -0000)]
add generic methods

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

19 years agoadd interop class
César Natarén [Sat, 7 May 2005 09:37:03 +0000 (09:37 -0000)]
add interop class

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

19 years agoadd com interop classes
César Natarén [Sat, 7 May 2005 09:36:13 +0000 (09:36 -0000)]
add com interop classes

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

19 years ago`head -n 4 ChangeLog`
César Natarén [Sat, 7 May 2005 08:31:02 +0000 (08:31 -0000)]
`head -n 4 ChangeLog`

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

19 years ago`head -n 9 ChangeLog`
César Natarén [Sat, 7 May 2005 08:29:56 +0000 (08:29 -0000)]
`head -n 9 ChangeLog`

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

19 years agoadd missing CreateField method
César Natarén [Sat, 7 May 2005 06:26:31 +0000 (06:26 -0000)]
add missing CreateField method

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

19 years ago2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 06:22:46 +0000 (06:22 -0000)]
2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: see bug #74842, which is fixed with this patch for details
and test cases on the blocking behavior of accept() when close() is
called from another thread. The solution applied is to Abort the thread
that is blocking in Accept_internal() when someone calls Close (), then
reset the abort state if the socket is disposed and return the same
error as MS (10004 - interrupted).

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

19 years ago2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 7 May 2005 05:22:49 +0000 (05:22 -0000)]
2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs : Oops, correcting some find-and-replace mishaps

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

19 years ago2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 7 May 2005 05:22:00 +0000 (05:22 -0000)]
2005-05-07  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/Options.cs: new constructor adds possibility to not break parameter values at commas
* Mono.GetOptions/OptionDetail.cs: check Options.DontSplitOnCommas when parsing values.
* Mono.GetOptions.Useful/CommonCompilerOptions.cs ask base class to leave alone commas.

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 01:04:07 +0000 (01:04 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: the hashtable don't need to be synchronized any more, since
it's only accessed from withint a lock.

* Console.cs: stdin, stdout and stderr will never be finalized. Fixes
bug 74768.

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

19 years agooops
Gonzalo Paniagua Javier [Sat, 7 May 2005 00:46:57 +0000 (00:46 -0000)]
oops

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 00:18:21 +0000 (00:18 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CultureInfoTest.cs: added new test.

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 May 2005 00:09:11 +0000 (00:09 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: if the pattern is just a file name and it exists, return
it right away. Fixes bug #72143.

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

19 years ago2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 6 May 2005 23:37:58 +0000 (23:37 -0000)]
2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
        * driver.cs : Refactored to use Mono.GetOptions.Useful.CommonCompilerOptions

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

19 years ago2005-05-06:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 6 May 2005 23:37:19 +0000 (23:37 -0000)]
2005-05-06:3  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Adding Mono.GetOptions.Useful directory for new namespace
* Added Mono.GetOptions.Useful/CommonCompilerOptions.cs with useful option processing
for compilers targetting the managed world. mbas is the first client.

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

19 years ago2005-05-06 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 6 May 2005 23:05:54 +0000 (23:05 -0000)]
2005-05-06  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added Screen.cs, HelpNavigator.cs
  and HelpProvider.cs
* SWF.csproj: Updated

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

19 years ago2005-05-06 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 6 May 2005 23:01:18 +0000 (23:01 -0000)]
2005-05-06  Peter Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
* Screen.cs: Implemented
* HelpNavigator.cs: Added
* XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  property
* HelpProvider.cs: Implemented all we can do until we have a CHM
  help library (which means that "What's This" does work now)

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 22:27:50 +0000 (22:27 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* locales.c:
(internal_get_cultures): reserve the first slot of the array for the
InvariantCulture, which will be filled in managed code.

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 22:27:49 +0000 (22:27 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CultureInfo.cs: made a few variables 'volatile'. GetCultures now
returns the InvariantCulture in the array. Fixes bug #72081.

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 20:58:11 +0000 (20:58 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspComponentFoundry.cs: tagnames have precedence over types in
assemblies when they use the same prefix. Fixes bug #71855.

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 20:41:34 +0000 (20:41 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateParser.cs: LoadWithPartialName returns null if the assembly is
not found.

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

19 years agosave teh changelog from trouble
Ben Maurer [Fri, 6 May 2005 20:36:16 +0000 (20:36 -0000)]
save teh changelog from trouble

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

19 years agostupid eol
Ben Maurer [Fri, 6 May 2005 20:35:36 +0000 (20:35 -0000)]
stupid eol

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

19 years agofix eol
Ben Maurer [Fri, 6 May 2005 20:34:31 +0000 (20:34 -0000)]
fix eol

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

19 years agoIn Test/System.Text:
Ben Maurer [Fri, 6 May 2005 20:33:08 +0000 (20:33 -0000)]
In Test/System.Text:
2005-05-06  Ben Maurer  <bmaurer@ximian.com>

* StringBuilderTest.cs (MaxCapacity_Overflow3): Test for #72244.

In System.Text:
2005-05-06  Ben Maurer  <bmaurer@ximian.com>

* StringBuilder.cs (InternalEnsureCapacity): It is possible that
the size we attempt to grow to is more than the max capacity, but
that a smaller size will do. In this case, don't throw an
exception. Fixes #72244

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

19 years ago2005-05-06:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 6 May 2005 20:09:06 +0000 (20:09 -0000)]
2005-05-06:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Adding Samples directory with mcat Sample (changed main Makefile but didn't add to the SUBDIRS)
* Mono.GetOptions/Options.cs, Mono.GetOptions/OptionList
An overrideable DefaultArgumentProcessor was added to base class Options that just collects them
to the string[] RemainingArguments property as before. It is a virtual method, but it can also be
overriden by another method tagged with the ArgumentProcessorAttribute in the derived class
to stay binary compatible with old code.
* Added Mono.GetOptions/KillOptionAttribute.cs
This new attribute permit to hide (kill) an inherited option when overriding the virtual base member.
* Added Mono/AdditionalInfoAttribute.cs
This new attribute permit to add some extra text at the end of the automatically generated help screen
* Added Mono/ReportBugsToAttribute.cs
This new attribute adds a "Report bugs to <Url>" message at the end of the automatically generated help screen

* Mono.GetOptions/OptionList.cs: Corrected wrong assumption on string length that caused a exception when a
  single-dash argument was being normalized. Now a single-dash is returned a non-processed argument.

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

19 years agoIn Test/System.IO:
Ben Maurer [Fri, 6 May 2005 19:57:29 +0000 (19:57 -0000)]
In Test/System.IO:
2005-05-06  Ben Maurer  <bmaurer@ximian.com>

* FileTest.cs (OpenAppend): Test for #71088.

In System.IO:
2005-05-06  Ben Maurer  <bmaurer@ximian.com>

* File.cs (Open): If a stream is opened with Append access, you
only want Write access. Fixes bug #71088.

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

19 years agoCouldn't help removing those extra ^M
Gonzalo Paniagua Javier [Fri, 6 May 2005 19:34:32 +0000 (19:34 -0000)]
Couldn't help removing those extra ^M

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 19:25:59 +0000 (19:25 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SocketTest.cs: added test for setting a boolean socket option.

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

19 years ago2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 19:21:02 +0000 (19:21 -0000)]
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: match MS behavior on SetSocketOption with a boolean
argument. MS 1.1 throws an ArgumentException, but 2.0 turns true/false
into 1/0 and works fine. Fixes bug #71753. Added checks for disposed
in the 3 SetSocketOption.

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

19 years ago2005-05-06 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 6 May 2005 18:26:34 +0000 (18:26 -0000)]
2005-05-06  Cesar Lopez Nataren  <cnataren@novell.com>

* Add ArgumentsObject.cs to the build is used on code generated
when the implicit arguments object is used inside a method.

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

19 years ago2005-05-06 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 6 May 2005 18:25:54 +0000 (18:25 -0000)]
2005-05-06  Cesar Lopez Nataren  <cnataren@novell.com>

* Add ArgumentsObject.cs to the build is used on code generated
when the implicit arguments object is used inside a method.

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

19 years ago2005-05-06 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 6 May 2005 18:24:45 +0000 (18:24 -0000)]
2005-05-06  Cesar Lopez Nataren  <cnataren@novell.com>

* Binding.cs: add missing methods and fields.

2005-05-03  Cesar Lopez Nataren  <cnataren@novell.com>

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

19 years ago * XplatUIX11.cs: Fix waking up the main loop.
Jackson Harper [Fri, 6 May 2005 18:21:06 +0000 (18:21 -0000)]
* XplatUIX11.cs: Fix waking up the main loop.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 18:03:07 +0000 (18:03 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs: Update for beta 2.

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

19 years agoAvoid filling the GAC with almost identical versions of the same assembly.
Sebastien Pouliot [Fri, 6 May 2005 17:59:03 +0000 (17:59 -0000)]
Avoid filling the GAC with almost identical versions of the same assembly.

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

19 years ago2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 6 May 2005 16:42:50 +0000 (16:42 -0000)]
2005-05-06  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/CircleHotSpot.cs
System.Web.UI.WebControls/HotSpot.cs
System.Web.UI.WebControls/HotSpotCollection.cs
System.Web.UI.WebControls/ImageMap.cs
System.Web.UI.WebControls/PolygonHotSpot.cs
System.Web.UI.WebControls/RectangleHotSpot.cs
System.Web.UI.WebControls/Wizard.cs
System.Web.UI.WebControls/WizardStep.cs
System.Web.UI.WebControls/WizardStepBase.cs
System.Web.UI.WebControls/WizardStepCollection.cs

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

19 years ago2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 6 May 2005 16:41:50 +0000 (16:41 -0000)]
2005-05-06  Lluis Sanchez Gual <lluis@novell.com>

* TreeNode.cs:
* TreeView.cs:
* Menu.cs: Implemented some new properties from beta 2.

* DataControlButton.cs: Render the ControlStyle if it
is not empty.

* UnitConverter.cs:
* FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
It will now generate an object creation, instead of a Parse call.

* GridViewCommandEventArgs.cs: Added missing property.
* SubMenuStyleCollection.cs: This class is not sealed.
* MultiView.cs: Set Visible=false to all views that are not
shown. This ensures that it's view state is saved.

* BaseDataBoundControl.cs:
* GridViewDeletedEventArgs.cs: Minor api fixes.

* FormViewDeleteEventArgs.cs:
* DetailsViewDeletedEventArgs.cs:
* ListControl.cs: Fix warnings.

* CircleHotSpot.cs
* HotSpot.cs
* HotSpotCollection.cs
* ImageMap.cs
* PolygonHotSpot.cs
* RectangleHotSpot.cs
* WizardStepCollection.cs : Implemented.

* WizardStep.cs
* WizardStepBase.cs
* Wizard.cs: Initial implementation.

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

19 years ago2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 6 May 2005 16:26:08 +0000 (16:26 -0000)]
2005-05-06  Lluis Sanchez Gual <lluis@novell.com>

* HtmlHead.cs: Fix warning.

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

19 years ago2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 6 May 2005 16:24:33 +0000 (16:24 -0000)]
2005-05-06  Lluis Sanchez Gual <lluis@novell.com>

* ConnectionPoint.cs: Fix warning.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 16:17:05 +0000 (16:17 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 16:16:13 +0000 (16:16 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* Array.cs: Remove CLSCompliant (false) attributes.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 16:15:19 +0000 (16:15 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.

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

19 years ago2005-05-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 6 May 2005 16:01:51 +0000 (16:01 -0000)]
2005-05-06  Martin Baulig  <martin@ximian.com>

* attribute.cs
(Attributable.IsClsComplianceRequired): Fix typo in the method name.
(AttributeTester.AnalyzeTypeCompliance): Add generics support.

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

19 years ago2005-05-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 6 May 2005 15:59:45 +0000 (15:59 -0000)]
2005-05-06  Martin Baulig  <martin@ximian.com>

* Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
[CLSCompliant(true)] attribute.

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

19 years ago2005-05-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 6 May 2005 15:59:00 +0000 (15:59 -0000)]
2005-05-06  Martin Baulig  <martin@ximian.com>

* *.cs: Add CLSCompliant(true) where missing.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 15:53:52 +0000 (15:53 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* *.cs: Remove CLSCompliant(false) attributes.

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

19 years ago2005-05-06 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 6 May 2005 15:40:09 +0000 (15:40 -0000)]
2005-05-06  Dick Porter  <dick@ximian.com>

        * handles-private.h:
        * mutexes.c:
        * wapi-private.h:
        * shared.h:
        * shared.c:
        * wait.c:
        * handles.c:
        * collection.h: Use SysV semaphores for managing access to the
        shared memory - in return for the ludicrous api we get
        synchronisation primitives that can be cleaned up by the kernel
        even when a process quits unexpectedly.  This removes the
        timestamp issues.

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

19 years ago2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 6 May 2005 15:38:13 +0000 (15:38 -0000)]
2005-05-06  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/Options.cs
Added helper properties string FirstArgument, SecondArgument, ThirdArgument, FourthArgument,
FifthArgument and bool GotNoArguments
Added a helper property bool RunningOnWindows
Added new constructor Options(string[] args) and an overridable InitializeOtherDefaults method
to allow one-line construction and options processing
* Mono.GetOptions/OptionDetails.cs
Cleaning some logic to avoid throwing exceptions during option parsing
Corrected verbose message when setting a boolean option to show the real value being set

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

19 years agoRevert the last change as it breaks the build.
Zoltan Varga [Fri, 6 May 2005 15:30:37 +0000 (15:30 -0000)]
Revert the last change as it breaks the build.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 15:05:35 +0000 (15:05 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* MethodBody.cs Module.cs CustomAttributeData.cs: Remove unnecessary
CLSCompliant attributes now that generics is CLS compliant.

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

19 years agoFix warnings.
Martin Baulig [Fri, 6 May 2005 14:45:29 +0000 (14:45 -0000)]
Fix warnings.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 14:26:52 +0000 (14:26 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* main.c: Respect MONO_PATH when loading assemblies.

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

19 years ago* Makefile (with_mono_path): Define.
Raja R Harinath [Fri, 6 May 2005 13:22:02 +0000 (13:22 -0000)]
* Makefile (with_mono_path): Define.

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

19 years ago2005-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 6 May 2005 12:49:46 +0000 (12:49 -0000)]
2005-05-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_fill_module_table): Initialize the
GENERATION field as well.

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

19 years ago* Microsoft.VisualBasic.dll.resources: Change resource argument to
Ankit Jain [Fri, 6 May 2005 12:38:18 +0000 (12:38 -0000)]
* Microsoft.VisualBasic.dll.resources: Change resource argument to
Microsoft.VisualBasic.VBUtils.resources .

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

19 years ago2005-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 6 May 2005 11:52:26 +0000 (11:52 -0000)]
2005-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* declsec.c: Keep the appdomain information in the structure. Added a
missing "return FALSE" for Unmanaged if FullTrust is set (or else the
value gets overwritten).
* declsec.h: Set the default MonoArray for the the stack to 6. Added
an MonoAppDomain member to MonoSecurityFrame.
* mini-exceptions.c: Do not use a glist to keep GC allocated objects
used in the stack walk. Now use a MonoArray which grow (double) when
it gets full.

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

19 years ago2005-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 6 May 2005 11:40:40 +0000 (11:40 -0000)]
2005-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Reworked frames check to check only for
the stack modifiers. Throwing a SecurityException now calls Assembly.
UnprotectedGetName () to avoid throwing (recursively) other
SecurityExceptions.
* PermissionSet.cs: Reworked frames check to include Assembly (moved)
and AppDomain (new) transitions.
* SecurityFrame.cs: Added Domain member to match the runtime structure
definition. Removed debugging code (will be moved into the runtime
later) as it can cause SecurityException is some cases.
* SecurityManager.cs: Added a method to check if a PermissionSet is
granted by an AppDomain.

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

19 years ago* Makefile ($(makefrag)): Emit dependencies on $(build_lib).
Raja R Harinath [Fri, 6 May 2005 11:03:37 +0000 (11:03 -0000)]
* Makefile ($(makefrag)): Emit dependencies on $(build_lib).

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

19 years ago* Microsoft.VisualBasic.VBUtils.txt: Rename from ...
Raja R Harinath [Fri, 6 May 2005 10:59:02 +0000 (10:59 -0000)]
* Microsoft.VisualBasic.VBUtils.txt: Rename from ...
* Microsoft.VisualBasic/VBUtils.txt: ... this.
* Makefile (TXT_RES): Update.
(SUBDIRS): Remove.
(LIBRARY_NEEDS_POSTPROCESSING): Define.
(the_il, the_lib): New.  Move rules from fixup/Makefile.
* fixup/Makefile: Remove.

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

19 years ago* MethodDef.cs (MethodDef.GetNamedParamPos): Param num starts from 1 for instance
Ankit Jain [Fri, 6 May 2005 10:58:17 +0000 (10:58 -0000)]
* MethodDef.cs (MethodDef.GetNamedParamPos): Param num starts from 1 for instance
methods.
* CodeGen.cs (CodeGen.BeginTypeDef): Set current_customattrtarget when reopening a
class.

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

19 years agoRemove $(build_lib) during make clean
Raja R Harinath [Fri, 6 May 2005 10:50:34 +0000 (10:50 -0000)]
Remove $(build_lib) during make clean

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

19 years ago* library.make (LIBRARY_NEEDS_PREPROCESSING): New control.
Raja R Harinath [Fri, 6 May 2005 10:49:06 +0000 (10:49 -0000)]
* library.make (LIBRARY_NEEDS_PREPROCESSING): New control.
(build_lib): Name of library built.  Default to $(the_lib) unless
preprocessing.
($(build_lib)): Rename from '$(the_lib)'.

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

19 years ago2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 6 May 2005 10:28:37 +0000 (10:28 -0000)]
2005-05-06  Lluis Sanchez Gual  <lluis@novell.com>

* Context.cs: Fix unsafe double-check locks.

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

19 years ago* Makefile (uninstall-local): Use the basename.
Raja R Harinath [Fri, 6 May 2005 08:30:57 +0000 (08:30 -0000)]
* Makefile (uninstall-local): Use the basename.

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

19 years ago* Makefile (net_2_0_SUBDIRS): Add 'corcompare'.
Raja R Harinath [Fri, 6 May 2005 08:11:17 +0000 (08:11 -0000)]
* Makefile (net_2_0_SUBDIRS): Add 'corcompare'.
* corcompare/Makefile (ALL_PROGRAMS): Make 'mono-api-info.exe' profile-dependent.

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

19 years ago2005-05-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 6 May 2005 07:18:31 +0000 (07:18 -0000)]
2005-05-06  Marek Safar <marek.safar@seznam.cz>

* test-376.cs: New enum test.

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

19 years agonew tests
Marek Safar [Fri, 6 May 2005 07:11:06 +0000 (07:11 -0000)]
new tests

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

19 years ago2005-05-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 6 May 2005 07:06:58 +0000 (07:06 -0000)]
2005-05-06  Marek Safar  <marek.safar@seznam.cz>

* cfold (DoConstantNumericPromotions): Don't try to convert 0 enum.

* expression.cs (Binary.DoResolve): (x && 0) is always 0.

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

19 years ago2005-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 May 2005 05:45:14 +0000 (05:45 -0000)]
2005-05-06  Atsushi Enomoto <atsushi@ximian.com>

* XmlInputStream.cs : Now XmlStreamReader uses non-blocking TextReader
  that is mostly copied from StreamReader. It should fix bug #74161.

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

19 years ago2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 05:01:29 +0000 (05:01 -0000)]
2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonitorTest.cs: a pair of tests for Monitor.

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

19 years ago2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 May 2005 04:55:54 +0000 (04:55 -0000)]
2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monitor.c: ignore calls to Monitor.Exit even if no one ever called
Monitor.Enter on the object.

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

19 years ago- Oops
Peter Dennis Bartok [Fri, 6 May 2005 03:38:25 +0000 (03:38 -0000)]
- Oops

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

19 years ago2005-05-05 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 6 May 2005 03:29:41 +0000 (03:29 -0000)]
2005-05-05  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added AxHost.cs,
  ErrorProvider.cs, RichTextBoxFinds.cs, RichTextBoxScrollBars.cs,
  RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  RichTextBoxStreamType.cs, RichTextBoxWordPunctuations.cs
* SWF.csproj: Updated

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

19 years ago2005-05-05 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 6 May 2005 03:28:11 +0000 (03:28 -0000)]
2005-05-05  Peter Bartok  <pbartok@novell.com>
* XplatUI.cs: Updated revision
* Form.cs: Removed enless loop
* GroupBox.cs (OnPaint): Added call to base.OnPaint()
* Label.cs (OnPaint): Added call to base.OnPaint()
* ToolTip.cs: Made ToolTipWindow reusable for other controls
* LinkLabel.cs (OnPaint): Added call to base.OnPaint()
* UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
* AxHost.cs: Added
* ButtonBase.cs: Moved base.OnPaint() call to end of method
* ThemeWin32Classic.cs: Replaced references to ToolTip with references
  to ToolTip.ToolTipWindow for drawing and size methods; this allows
  reuse of ToolTipWindow by other controls
* SizeGrip.cs: Moved base.OnPaint() call to end of method
* XplatUIX11.cs: Now clipping drawing area (experimental)
* PictureBox.cs: Moved base.OnPaint() call to end of method
* Theme.cs: Fixed ToolTip abstracts to match new format
* ErrorProvider.cs: Implemented

2005-05-05  Jordi Mas i Hernandez <jordi@ximian.com>

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

19 years ago2005-05-05 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 6 May 2005 02:49:55 +0000 (02:49 -0000)]
2005-05-05  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.resx, System.Windows.Forms.en.resx,
  System.Windows.Forms.de.resx: Added errorProvider icon
* System.Windows.Forms.resources.prebuilt,
  System.Windows.Forms.en.resources.prebuilt,
  System.Windows.Forms.de.resources.prebuilt: Updated

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

19 years agoupdate
Miguel de Icaza [Thu, 5 May 2005 23:53:51 +0000 (23:53 -0000)]
update

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

19 years ago2005-05-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 5 May 2005 22:16:00 +0000 (22:16 -0000)]
2005-05-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
        * mb-parser.jay : Correction to allow optional type caracters in some situations.
        Now 6 more tests under mbas/Test/tests/types compile and 3 more compile and run.
        Patch contributed by Brazilian MonoBASIC Team:
                Aldo Monteiro do Nascimento <aldomonteiro@gmail.com>
                Alessandro de Oliveira Binhara <binhara@psl-pr.softwarelivre.org>
                Alexandre Rocha Lima e Marcondes <alexandre.marcondes@psl-pr.softwarelivre.org>
                Ramiro Batista da Luz <ramiroluz@gmail.com>
                Renato Suga <renatos@techresult.com.br>

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

19 years ago2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 5 May 2005 21:09:19 +0000 (21:09 -0000)]
2005-05-05  Lluis Sanchez Gual <lluis@novell.com>

* OrderedDictionary.cs: Don't crash when removing an item
that is not in the dictionary.

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

19 years ago2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 5 May 2005 20:49:52 +0000 (20:49 -0000)]
2005-05-05  Lluis Sanchez Gual  <lluis@novell.com>
* threads.c: Enable the wait for running threads when exiting.
* icall.c: Suspend all threads before exiting.

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

19 years ago2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 5 May 2005 20:49:34 +0000 (20:49 -0000)]
2005-05-05  Lluis Sanchez Gual  <lluis@novell.com>

* mini.c: Re-enabled runtime cleanup, since running threads should
now properly stop when exiting.

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

19 years ago2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 5 May 2005 20:49:12 +0000 (20:49 -0000)]
2005-05-05  Lluis Sanchez Gual  <lluis@novell.com>

* handles.c: Always use polling in the waits, since
mono_cond_timedwait can't be interruped by the thread abort signal.

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

19 years ago2005-05-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 5 May 2005 20:24:21 +0000 (20:24 -0000)]
2005-05-05  Miguel de Icaza  <miguel@novell.com>

* Bitmap.cs, Icon.cs (constructor): Use
GetManifestResourceStream(Type,string) in the constructor that
takes a type.

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

19 years ago2005-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 5 May 2005 16:36:58 +0000 (16:36 -0000)]
2005-05-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-codegen.c: New file contaning the arch-independent local
register allocator. Not used by any architectures yet.

* mini.h linear-scan.c: Merge some changes from the
mini-xp-local-regalloc branch.

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

19 years agoUpdate man page
Miguel de Icaza [Thu, 5 May 2005 15:11:25 +0000 (15:11 -0000)]
Update man page

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

19 years ago2005-05-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 5 May 2005 14:43:02 +0000 (14:43 -0000)]
2005-05-05  Atsushi Enomoto <atsushi@ximian.com>

* XmlNamespaceManagerTests.cs : removed more atomizedName tests.

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

19 years agoThu May 5 17:14:27 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 May 2005 14:39:51 +0000 (14:39 -0000)]
Thu May 5 17:14:27 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mono-debug.c: unlock properly: the interface with the debugger will likely
need to change.

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

19 years ago2005-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 5 May 2005 14:28:52 +0000 (14:28 -0000)]
2005-05-05  Zoltan Varga  <vargaz@freemail.hu>

* List.cs: Applied patch from Mart Roosmaa (roosmaa@gmail.com).
Fix Insert method. Fixes #74824.

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

19 years ago2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 5 May 2005 14:14:57 +0000 (14:14 -0000)]
2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : XPathAtomicValue.cs -> XmlAtomicValue.cs.

* XmlAtomicValue.cs : moved from XPathAtomicValue, removed some stuff.

* SubtreeXmlReader.cs :
  removed atomizedName related 2.0 member (deprecated).

* XPathAtomicValue.cs :
  it is now XmlAtomicValue and in sys.xml.schema.
* XPathNavigator.cs, Expression.cs :
  removed atomizedName related 2.0 members (deprecated).

* XsdValidatingReader.cs :
  removed atomicName related 2.0 members (deprecated in beta2).

* XmlNodeReader2.cs, XmlTextReader2.cs, XmlValidatingReader.cs,
  XmlNamespaceManager.cs, IXmlNamespaceResolver.cs,
  DTDValidatingReader.cs : Removed most of "atomizedName" related
  stuff that are obsoleted in 2.0 beta2.
* XQueryConvert.cs : XPathAtomicValue -> XmlAtomicValue.

* XmlNamespaceManagerTests.cs : removed atomizedName related tests.

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

19 years ago2005-05-5 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 5 May 2005 14:07:33 +0000 (14:07 -0000)]
2005-05-5  Jordi Mas i Hernandez <jordi@ximian.com>

* Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
* LinkLabel.cs:
- Adds cursors
- Handles focus
- Implements LinkBehavior
- Fixes many issues

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

19 years agoThu May 5 16:24:43 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 May 2005 14:06:58 +0000 (14:06 -0000)]
Thu May 5 16:24:43 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mono-debug-debugger.c, mono-debug-debugger.h, mono-debug.c: remove thread
unsafe code in the debugger lock/unlock functions and always init the debugger
lock since it's use also when the debugger is not connected.

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

19 years ago2005-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 5 May 2005 12:21:22 +0000 (12:21 -0000)]
2005-05-05  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_load_reference): Fix warning.

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

19 years ago2005-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 5 May 2005 12:19:21 +0000 (12:19 -0000)]
2005-05-05  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied patch from Jakub Bogusz <qboosh@pld-linux.org>.
Fix library names on sparc-linux and alpha-linux.

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