mono.git
19 years ago* decl.cs (AddMethods): Use the declaring type of the problem
Raja R Harinath [Tue, 19 Apr 2005 08:01:53 +0000 (08:01 -0000)]
* decl.cs (AddMethods): Use the declaring type of the problem
method to determine if we want to squash a warning.

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

19 years agoImporting tests from Mainsoft
Eyal Alalouf [Tue, 19 Apr 2005 07:42:12 +0000 (07:42 -0000)]
Importing tests from Mainsoft

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

19 years ago2005-04-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 19 Apr 2005 07:33:03 +0000 (07:33 -0000)]
2005-04-19  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs: Removed debug output.

* decl.cs (MemberCache.AddMethods): Fixed Finalize ignoring.

* driver.cs (Driver.parse): Synchronize parser ErrorOutput with
Report.Stderr.

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

19 years ago2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 19 Apr 2005 03:14:02 +0000 (03:14 -0000)]
2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: Begin/End Send/SendTo guarantee that all bytes are written
or an exception is thrown. Fixes bug #74475.

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

19 years agoRemoved warnings, and fixed the numbers reported
Miguel de Icaza [Tue, 19 Apr 2005 01:10:26 +0000 (01:10 -0000)]
Removed warnings, and fixed the numbers reported

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

19 years ago2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 18 Apr 2005 22:16:39 +0000 (22:16 -0000)]
2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: fix problem with the output CS8028.

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

19 years ago * TreeView.cs: buglet that caused node images to get drawn
Jackson Harper [Mon, 18 Apr 2005 20:27:41 +0000 (20:27 -0000)]
* TreeView.cs: buglet that caused node images to get drawn
regardless of whether or not they were in the clipping rectangle.

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

19 years ago2005-04-18 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 18 Apr 2005 18:16:17 +0000 (18:16 -0000)]
2005-04-18  Cesar Lopez Nataren  <cnataren@novell.com>

* Parser.cs: Build a StrictEquality object instead of a Equality
object, when we have === and !=== as operator.
* CodeGenerator.cs: (ft_emit_equality, fall_true) Take into account the
strict cases of equality.
* StrictEquality.cs: Add parent, left and right params to default
ctr. Implement Resolve and Emit.

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

19 years ago * CurrencyManager.cs: There are four rules for GetItemProperties:
Jackson Harper [Mon, 18 Apr 2005 17:13:22 +0000 (17:13 -0000)]
* CurrencyManager.cs: There are four rules for GetItemProperties:
- If the type is an array use the element type of the array
- If the type is a typed list, use the type
- If the list contains an Item property that is not an object, use
that property
- use the first element of the list if there are any elements in
the list.

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

19 years ago2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 18 Apr 2005 16:49:48 +0000 (16:49 -0000)]
2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* handles.c: fix handle returned in _wapi_handle_search_handle. Dick
pointed it out.

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

19 years ago**** Merged r42432 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 15:32:48 +0000 (15:32 -0000)]
**** Merged r42432 from MCS ****

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

19 years ago**** Merged r42431 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 15:32:18 +0000 (15:32 -0000)]
**** Merged r42431 from MCS ****

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

19 years ago**** Merged r42420-42429 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 15:31:34 +0000 (15:31 -0000)]
**** Merged r42420-42429 from MCS ****

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

19 years ago**** Merged r42383 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 15:31:11 +0000 (15:31 -0000)]
**** Merged r42383 from MCS ****

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

19 years ago * Syscall.cs: Update comment specifying which functions belong in Syscall.
Jonathan Pryor [Mon, 18 Apr 2005 15:13:45 +0000 (15:13 -0000)]
  * Syscall.cs: Update comment specifying which functions belong in Syscall.
    Add bindings for extended attribute manipulation
  * UnixConvert.cs: Add XattrFlags conversion functions.
  * UnixMarshal.cs: Remove warning about self-assignment.

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

19 years ago**** Merged r42373 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 14:43:02 +0000 (14:43 -0000)]
**** Merged r42373 from MCS ****

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

19 years ago2005-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 18 Apr 2005 14:24:19 +0000 (14:24 -0000)]
2005-04-18  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied another freebsd patch from Bill Middleton (flashdict@gmail.com).

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

19 years ago2005-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 18 Apr 2005 14:23:40 +0000 (14:23 -0000)]
2005-04-18  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied another freebsd patch from Bill Middleton (flashdict@gmail.com).

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

19 years agoUpdate
Raja R Harinath [Mon, 18 Apr 2005 13:52:24 +0000 (13:52 -0000)]
Update

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

19 years agoMon Apr 18 16:20:32 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 18 Apr 2005 13:50:05 +0000 (13:50 -0000)]
Mon Apr 18 16:20:32 CEST 2005 Paolo Molaro <lupus@ximian.com>

* exceptions-ppc.c: update code to handle stack traces (fixes bug #74452).

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

19 years ago2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 18 Apr 2005 13:45:35 +0000 (13:45 -0000)]
2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* Null.cs: New "null" symmetric encryption for debugging. This class
isn't (and shouldn't be) built by default.

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

19 years ago**** Merged r42367 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 13:38:26 +0000 (13:38 -0000)]
**** Merged r42367 from MCS ****

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

19 years agoFix #74481.
Raja R Harinath [Mon, 18 Apr 2005 13:25:06 +0000 (13:25 -0000)]
Fix #74481.
* mcs/expression.cs (Binary.EqualsNullIsReferenceEquals): New.
(Binary.DoResolveOperator): Use it to avoid blindly optimizing out
all null comparisons against reference types.
* tests/test-369.cs: New test based on #74481.

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

19 years ago2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 18 Apr 2005 12:54:46 +0000 (12:54 -0000)]
2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeFormatter.cs: Commented unused private constants to
remove compiler warnings.

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

19 years ago2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 18 Apr 2005 12:52:03 +0000 (12:52 -0000)]
2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fixed a division by zero if someone changes
the feedback value to 0.
* SHA224Managed.cs: Fixed warning about unused private constant.

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

19 years ago2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 18 Apr 2005 12:49:21 +0000 (12:49 -0000)]
2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricAlgorithm2Test.cs: Added a test case where the FeedBackSize
is set to 0 before starting encryption.

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

19 years ago2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 18 Apr 2005 12:47:47 +0000 (12:47 -0000)]
2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fixed a division by zero if someone changes
the feedback value to 0.

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

19 years ago**** Merged r42330-r42364 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 11:35:30 +0000 (11:35 -0000)]
**** Merged r42330-r42364 from MCS ****

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

19 years agoDatagrid uses System.Data namespace
Jordi Mas i Hernandez [Mon, 18 Apr 2005 11:14:20 +0000 (11:14 -0000)]
Datagrid uses System.Data namespace

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

19 years agoUpdate after #74565
Marek Safar [Mon, 18 Apr 2005 10:47:12 +0000 (10:47 -0000)]
Update after #74565

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

19 years ago2005-04-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 18 Apr 2005 10:45:39 +0000 (10:45 -0000)]
2005-04-18  Marek Safar  <marek.safar@seznam.cz>

Fix# 74565
* class.cs (TypeContainer.CircularDepException) New nested
exception class.
(GetPartialBases, GetNormalBases, GetClassBases): Removed error.
(TypeContainer.DefineType): Removed error, reset InTransit before
exit.
(Class.DefineType): Throw exception when is in Transit.
Catch exception and report error.
(Struct.DefineType): Throw exception when is in Transit.
Catch exception and report error.
(Interface.DefineType): Throw exception when is in Transit.
Catch exception and report error.

* codegen.cs: Add InCatch,InFinally to EmitContext to easily
handle nested exception handlers.

* flowanalysis.cs (InTryWithCatch): New method, search for try with
a catch.

* iterators.cs (Yield.CheckContext): Add CS1626 report. Updated
InFinally and InCatch storage.

* statement.cs (Throw.Resolve): Use InCatch, InFinally from ec.
(Catch.Resolve): Set and Restore ec.InCatch.
(Try.Resolve): Set and Restore ec.InFinally.
(Try.HasCatch): True when try has catch.

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

19 years agoSupport Conditional Constant Directives
Manjula GHM [Mon, 18 Apr 2005 08:49:03 +0000 (08:49 -0000)]
Support Conditional Constant Directives

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

19 years agoFixed test
Marek Safar [Mon, 18 Apr 2005 08:32:55 +0000 (08:32 -0000)]
Fixed test

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

19 years ago**** Merged r42306 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:52:06 +0000 (07:52 -0000)]
**** Merged r42306 from MCS ****

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

19 years ago**** Merged r42302 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:51:29 +0000 (07:51 -0000)]
**** Merged r42302 from MCS ****

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

19 years ago**** Merged r42257 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:48:35 +0000 (07:48 -0000)]
**** Merged r42257 from MCS ****

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

19 years ago**** Merged r42254 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:48:10 +0000 (07:48 -0000)]
**** Merged r42254 from MCS ****

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

19 years ago**** Merged r42095 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:47:33 +0000 (07:47 -0000)]
**** Merged r42095 from MCS ****

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

19 years ago**** Merged r42090 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:46:52 +0000 (07:46 -0000)]
**** Merged r42090 from MCS ****

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

19 years agoUpdated.
Martin Baulig [Mon, 18 Apr 2005 07:08:25 +0000 (07:08 -0000)]
Updated.

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

19 years ago**** Merged r42089 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 07:07:01 +0000 (07:07 -0000)]
**** Merged r42089 from MCS ****

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

19 years agofor (int i = 0; i < 100; i++) Console.WriteLine ("I will remove Console.WriteLines...
Gonzalo Paniagua Javier [Mon, 18 Apr 2005 06:08:42 +0000 (06:08 -0000)]
for (int i = 0; i < 100; i++) Console.WriteLine ("I will remove Console.WriteLines before every commit.");

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

19 years agoIn System.Data.Common:
Sureshkumar T [Mon, 18 Apr 2005 05:51:46 +0000 (05:51 -0000)]
In System.Data.Common:
2005-04-18  Sureshkumar T  <tsureshkumar@novell.com>

* DataAdapter.cs: Implemenetd OnFillError handler.

* DbDataAdapter.cs: BuildSchema (): the table to be filled might
contain few additional columns as well. so mapping length should
be columns' length + fields' length.

In System.Data:
2005-04-18  Sureshkumar T  <tsureshkumar@novell.com>

        * DataRow.cs: if there are no mapping fields, fill with default
  value.

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

19 years ago * TreeView.cs: Calculate plus minus and checkbox bounds when
Jackson Harper [Mon, 18 Apr 2005 04:56:03 +0000 (04:56 -0000)]
* TreeView.cs: Calculate plus minus and checkbox bounds when
there is a click. This handles offsets for scrolling properly
and reduces memory. Also fixed GetNode to not offset now that
TopNode works properly.
* TreeNode.cs: No longer need to track the plus minus or
checkbox bounds.

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

19 years ago**** Merged r42042 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:51:07 +0000 (04:51 -0000)]
**** Merged r42042 from MCS ****

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

19 years ago**** M erged r41979 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:50:44 +0000 (04:50 -0000)]
**** M erged r41979 from MCS ****

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

19 years ago**** Merged r41968 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:50:22 +0000 (04:50 -0000)]
**** Merged r41968 from MCS ****

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

19 years ago**** Merged r41955 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:50:04 +0000 (04:50 -0000)]
**** Merged r41955 from MCS ****

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

19 years ago**** Merged r41945 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:49:48 +0000 (04:49 -0000)]
**** Merged r41945 from MCS ****

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

19 years ago**** Merged r41944 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:49:32 +0000 (04:49 -0000)]
**** Merged r41944 from MCS ****

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

19 years ago**** Merged r41898 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 04:49:13 +0000 (04:49 -0000)]
**** Merged r41898 from MCS ****

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

19 years ago * TreeView.cs: Calculate plus minus bounds when there is a
Jackson Harper [Mon, 18 Apr 2005 04:41:13 +0000 (04:41 -0000)]
* TreeView.cs: Calculate plus minus bounds when there is a
click. This handles offsets for scrolling properly and reduces
memory. Also fixed GetNode to not offset now that TopNode works
properly.
* TreeNode.cs: No longer need to track the plus minus bounds.

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

19 years agoIn class/PEAPI:
Ankit Jain [Mon, 18 Apr 2005 04:17:27 +0000 (04:17 -0000)]
In class/PEAPI:
2005-04-18  Ankit Jain  <ankit@corewars.org>

* PEAPI.cs (ManifestResource.InitResource): New. Used by constructors
to initialize the resource.
(ManifestResource.ctor): New. Constructor to accept resource as a
byte array.
(ManifestResource.ctor): New. Constructor to accept an object of self.
(ManifestResource.BuildTables): Update.
(MetaData.AddResource): New. Add the resource to the list, adjust
resourcesSize.
(MetaData.WriteResource): New. Write resources to the FileImage.
(PEFile.AddExternalManagedResource): New. Add a new resource.
(PEFile.GetResource): New. Get resource by name.
(PEFile.GetResources): New. Get array of resources.

In ilasm/codegen:
2005-04-18  Ankit Jain  <ankit@corewars.org>

* CodeGen.cs (CodeGen.AddManifestResource): Add a
ManifestResource to manifestResources ArrayList.
(CodeGen.Write): Add all resources to the pefile.

In ilasm/parser:
2005-04-18  Ankit Jain  <ankit@corewars.org>

* ILParser.jay (manifestres_head): Read resource file and
add ManifestResource with CodeGen.
(manres_attr): Set visibility flag of the resource.

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

19 years ago**** Merged r41877 from MCS ****
Martin Baulig [Mon, 18 Apr 2005 03:26:31 +0000 (03:26 -0000)]
**** Merged r41877 from MCS ****

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

19 years ago2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 18 Apr 2005 02:38:44 +0000 (02:38 -0000)]
2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: no need for locking in Worker. The actual read / write for
Receive / Send is performed in the runtime time.

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

19 years ago2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 18 Apr 2005 02:38:39 +0000 (02:38 -0000)]
2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: recv/send are now performed before going back to managed
code to save one transition.

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

19 years ago2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 17 Apr 2005 23:07:26 +0000 (23:07 -0000)]
2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: if the BeginRead/BeginWrite is completed
synchronously, no need to create the ManualResetEvent to wait on.

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

19 years agoUpdate
Miguel de Icaza [Sun, 17 Apr 2005 20:08:37 +0000 (20:08 -0000)]
Update

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

19 years ago * CursorConverter.cs: Initial implementation.
Jackson Harper [Sun, 17 Apr 2005 18:49:56 +0000 (18:49 -0000)]
* CursorConverter.cs: Initial implementation.

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

19 years agonew test
Ben Maurer [Sun, 17 Apr 2005 18:20:47 +0000 (18:20 -0000)]
new test

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

19 years ago2005-04-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 17 Apr 2005 17:29:23 +0000 (17:29 -0000)]
2005-04-17  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_emit_stack_alloc): Initialize the whole allocated area not
just the last bytes.

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

19 years ago2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 17 Apr 2005 16:38:21 +0000 (16:38 -0000)]
2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>

* TextInfo.cs : extremely strict null check (which should not happen).

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

19 years ago2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 17 Apr 2005 12:39:24 +0000 (12:39 -0000)]
2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>

* cs-1574-6.cs, cs-0419.cs : added new tests (bug #71603 and #71605).

* xml-037.cs, xml-037-ref.xml,
  xml-038.cs, xml-038-ref.xml : added new tests for bug #74633.

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

19 years ago2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 17 Apr 2005 11:15:45 +0000 (11:15 -0000)]
2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : In some cases FilterName returns MonoEvent and MonoField
  for the same event member, so exclude such cases from warning 419.
  Fixed bug #74633.

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

19 years agoreverted. Copyin from/to int16/char is not allowed
Gonzalo Paniagua Javier [Sun, 17 Apr 2005 10:59:30 +0000 (10:59 -0000)]
reverted. Copyin from/to int16/char is not allowed

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

19 years ago2005-04-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 17 Apr 2005 10:30:18 +0000 (10:30 -0000)]
2005-04-17  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_compile_assembly): Fix warning.

* mini-exceptions.c (ves_icall_get_frame_info): Fix bug introduced
by the _MSC_VER stuff.

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

19 years ago2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 17 Apr 2005 04:57:40 +0000 (04:57 -0000)]
2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>

        * TextInfo.cs : Additional null check for Parent CultureInfo.

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

19 years ago2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 17 Apr 2005 04:06:34 +0000 (04:06 -0000)]
2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>

* DataView.cs : Delete() should not try to remove row twice.
  Fixed bug #74631.

* DataViewTest.cs : added more test for Delete() based on bug #74631.

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

19 years agobug #
Gonzalo Paniagua Javier [Sun, 17 Apr 2005 03:23:49 +0000 (03:23 -0000)]
bug #

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

19 years ago2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 17 Apr 2005 03:10:36 +0000 (03:10 -0000)]
2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* metadata/socket-io.c: fixed semantics in Socket.Blocking icall.

* io-layer/sockets.c: FIONBIO with a TRUE argument means we want
non-blocking IO, not the other way around.

* metadata/threadpool.c: removed hack to workaround the bug above.

Fixes bug #74618.

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

19 years ago2005-04-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 16 Apr 2005 23:01:31 +0000 (23:01 -0000)]
2005-04-16  Sebastien Pouliot  <sebastien@ximian.com>

* StackFrame.cs: Moved documentation comments (XML) to monodoc.
Removed unused method ObjectsEqual.

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

19 years ago2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 16 Apr 2005 22:15:09 +0000 (22:15 -0000)]
2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* handles.c:
* io.c:
* handles-private.h: GetFileType wasn't checking if we have memory
allocated for the handle before dereferencing it. Fixes a FileStream
nunit test.

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 21:59:05 +0000 (21:59 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 21:57:19 +0000 (21:57 -0000)]
reduce warnings when compiling unit tests

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

19 years agoahoy
Gonzalo Paniagua Javier [Sat, 16 Apr 2005 21:44:05 +0000 (21:44 -0000)]
ahoy

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

19 years ago2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 16 Apr 2005 21:41:05 +0000 (21:41 -0000)]
2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: call SetComplete in EndWrite when we're not
buffering the request body. Fixes bug #74673.

* WebAsyncResult.cs: renamed field.

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

19 years ago2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 16 Apr 2005 20:27:03 +0000 (20:27 -0000)]
2005-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* handles.c:
* processes.c:
* handles-private.h: we were calling g_renew to expand the handle array,
but that might move the memory and we might have pthread conditions or
mutexes in the original memory area that are being used. Now instead of
expanding an existing array, we just create new ones and keep a list of
them. Access to _wapi_private_handles had to be modified accordingly.

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

19 years ago2005-04-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 16 Apr 2005 19:30:08 +0000 (19:30 -0000)]
2005-04-16  Miguel de Icaza  <miguel@novell.com>

* expression.cs (Binary.ResolveOperator): Apply patch from John
Luke to fix bug 59864: operators &, | and ^ on enumerations
require that the same enum type on both sides.

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

19 years agoAdd new negative test case
Miguel de Icaza [Sat, 16 Apr 2005 19:28:59 +0000 (19:28 -0000)]
Add new negative test case

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

19 years ago2005-04-16 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 16 Apr 2005 19:26:15 +0000 (19:26 -0000)]
2005-04-16  Ben Maurer  <bmaurer@ximian.com>

* DateTimeTest.cs: Remove tests that fail durring DST.

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 19:07:08 +0000 (19:07 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 19:05:27 +0000 (19:05 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 19:04:13 +0000 (19:04 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 19:03:08 +0000 (19:03 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 19:02:11 +0000 (19:02 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:59:52 +0000 (18:59 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:59:07 +0000 (18:59 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:58:23 +0000 (18:58 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:57:35 +0000 (18:57 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:56:23 +0000 (18:56 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:55:17 +0000 (18:55 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:54:08 +0000 (18:54 -0000)]
reduce warnings when compiling unit tests

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

19 years agoreduce warnings when compiling unit tests
Sebastien Pouliot [Sat, 16 Apr 2005 18:52:32 +0000 (18:52 -0000)]
reduce warnings when compiling unit tests

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

19 years ago2005-04-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 16 Apr 2005 18:48:25 +0000 (18:48 -0000)]
2005-04-16  Miguel de Icaza  <miguel@novell.com>

* driver.cs: Add warnings to old flag usage, this is to assist
people who produce Makefiles and hope that the Makefiles will be

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

19 years agoAdd new test
Miguel de Icaza [Sat, 16 Apr 2005 17:59:23 +0000 (17:59 -0000)]
Add new test

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

19 years ago2005-04-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 16 Apr 2005 17:58:38 +0000 (17:58 -0000)]
2005-04-16  Miguel de Icaza  <miguel@novell.com>

* class.cs (TypeContainer.EmitType): Moved the definition of the
special $PRIVATE$ field from the resolve phase to the Emit phase.
During resolve we do not know if we are a struct with
HasExplicitLayout, we know this only after the attributes for the
type are emitted.

Set the FieldOffset to zero on the dummy field that we create for
the class.   Fixes 74590.

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

19 years agoNew test
Miguel de Icaza [Sat, 16 Apr 2005 17:54:33 +0000 (17:54 -0000)]
New test

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

19 years ago2005-04-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 16 Apr 2005 16:10:58 +0000 (16:10 -0000)]
2005-04-16  Zoltan Varga  <vargaz@freemail.hu>

* cs-parser.jay: Fix build.

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

19 years ago2005-04-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 16 Apr 2005 15:55:36 +0000 (15:55 -0000)]
2005-04-16  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilderTest.cs: Add test for parameter attributes.

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

19 years ago2005-04-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 16 Apr 2005 15:54:50 +0000 (15:54 -0000)]
2005-04-16  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c reflection.h: Fix handling of parameter defaults in dynamic
methods. Also fixes handling of parameter attributes. Fixes #74609.

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