Paolo Molaro [Wed, 20 Apr 2005 13:38:21 +0000 (13:38 -0000)]
Wed Apr 20 16:09:06 CEST 2005 Paolo Molaro <lupus@ximian.com>
* file-io.c: fix alt dir separator char on unix systems
and cleanup (fixes bug #71214).
svn path=/trunk/mono/; revision=43327
Zoltan Varga [Wed, 20 Apr 2005 13:25:56 +0000 (13:25 -0000)]
2005-04-20 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Applied patch from "The Software Team" <software@solmersa.com>. Make AOT compilation
work on windows.
svn path=/trunk/mono/; revision=43326
Raja R Harinath [Wed, 20 Apr 2005 12:49:15 +0000 (12:49 -0000)]
Update after merge
svn path=/trunk/mcs/; revision=43325
Jonathan Pryor [Wed, 20 Apr 2005 11:29:20 +0000 (11:29 -0000)]
* Syscall.cs: Make all fork(2) and exec(2) functions `private`. It
currently isn't safe to call these under *any* circumstances.
svn path=/trunk/mcs/; revision=43324
Martin Baulig [Wed, 20 Apr 2005 11:16:05 +0000 (11:16 -0000)]
**** Merged r43204 from MCS ****
svn path=/trunk/mcs/; revision=43323
Martin Baulig [Wed, 20 Apr 2005 08:55:29 +0000 (08:55 -0000)]
**** Merged r43143 from MCS ****
svn path=/trunk/mcs/; revision=43322
Martin Baulig [Wed, 20 Apr 2005 08:55:07 +0000 (08:55 -0000)]
**** Merged r43126 from MCS ****
svn path=/trunk/mcs/; revision=43321
Martin Baulig [Wed, 20 Apr 2005 08:54:45 +0000 (08:54 -0000)]
**** Merged r43102 from MCS ****
svn path=/trunk/mcs/; revision=43320
Martin Baulig [Wed, 20 Apr 2005 08:54:17 +0000 (08:54 -0000)]
**** Merged r43100 from MCS ****
svn path=/trunk/mcs/; revision=43319
Martin Baulig [Wed, 20 Apr 2005 08:53:46 +0000 (08:53 -0000)]
**** Merged r43090 from MCS ****
svn path=/trunk/mcs/; revision=43318
Ritvik Mayank [Wed, 20 Apr 2005 08:04:47 +0000 (08:04 -0000)]
2005-04-20 Ritvik Mayank <mritvik@novell.com>
* AttributeAssemblyFlag1.vb
* AttributeAssemblyCulture1.vb
Added the above test cases
svn path=/trunk/mcs/; revision=43317
Ritvik Mayank [Wed, 20 Apr 2005 08:00:35 +0000 (08:00 -0000)]
2005-04-20 Ritvik Mayank <mritvik@novell.com>
* AttributeAssemblyVersion.vb
* AttributeCLSCompliant.vb
* AttributeAssemblyVersionMinor.vb
* AttributeAssemblyVersionRevision.vb
* AttributeAssemblyVersionBuild.vb
* AttributeAssemblyCompany.vb
* AttributesAssemblyCulture.vb
* AttributeAssemblyCopyRight.vb
* AttributeAssemblyFlagA.vb
* AttributeAssemblyVersionMajor.vb
* AttributesAssemblyMultiple.vb
* AttributeAssemblyName.vb
* AttributeAssemblyTitle.vb
* AttributeAssemblyDescription.vba
Added the above tets cases.
svn path=/trunk/mcs/; revision=43316
Marek Safar [Wed, 20 Apr 2005 07:20:29 +0000 (07:20 -0000)]
new tests + update
svn path=/trunk/mcs/; revision=43315
Marek Safar [Wed, 20 Apr 2005 07:19:47 +0000 (07:19 -0000)]
2005-04-20 Marek Safar <marek.safar@seznam.cz>
* codegen.cs (InRefOutArgumentResolving): New field.
* ecore.cs (FieldExpr.DoResolve): Check for assigning to readonly
fields outside contructor.
* expression.cs (Argument.Resolve): Set InRefOutArgumentResolving.
svn path=/trunk/mcs/; revision=43314
Gonzalo Paniagua Javier [Wed, 20 Apr 2005 07:05:26 +0000 (07:05 -0000)]
2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PerlTest.cs: split.
svn path=/trunk/mcs/; revision=43313
Gonzalo Paniagua Javier [Wed, 20 Apr 2005 05:59:32 +0000 (05:59 -0000)]
2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Compiler.cs: redirect standard error. Patch by Toby Miller that fixes
bug #74067.
svn path=/trunk/mcs/; revision=43312
Gonzalo Paniagua Javier [Wed, 20 Apr 2005 05:48:20 +0000 (05:48 -0000)]
2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
there from the time when Load wasn't working properly. First part of the
fix to 74500.
svn path=/trunk/mcs/; revision=43311
Manjula GHM [Wed, 20 Apr 2005 03:57:00 +0000 (03:57 -0000)]
Support expressions for directives
svn path=/trunk/mcs/; revision=43309
Miguel de Icaza [Wed, 20 Apr 2005 02:36:19 +0000 (02:36 -0000)]
Updated test
svn path=/trunk/mcs/; revision=43308
Gonzalo Paniagua Javier [Wed, 20 Apr 2005 02:13:49 +0000 (02:13 -0000)]
2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ServerVariablesCollection.cs: shuffled variables, added missing ones
and call a method in HttpRequest to set the HTTP_ variables.
* HttpRequest.cs: new method to add HTTP_ variables to a collection.
svn path=/trunk/mcs/; revision=43306
Miguel de Icaza [Tue, 19 Apr 2005 23:53:35 +0000 (23:53 -0000)]
2005-04-19 Miguel de Icaza <miguel@novell.com>
* anonymous.cs (CaptureContext.EmitParameterInstance): The
parameter code was not completed ever, so it was not as up-to-date
as local variables. Must finish it.
The bug fix was to compare the Toplevel of the block, not the
current block. Thanks for Ben for pointing this out.
svn path=/trunk/mcs/; revision=43304
Miguel de Icaza [Tue, 19 Apr 2005 23:53:17 +0000 (23:53 -0000)]
This was a duplicated error test with 368, update to test something new
svn path=/trunk/mcs/; revision=43303
Gonzalo Paniagua Javier [Tue, 19 Apr 2005 22:50:06 +0000 (22:50 -0000)]
2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: GetAllHeaders was returning the value twice instead
of 'name: value'. When HTTP_ is requested on the output, don't include
unknown headers.
svn path=/trunk/mcs/; revision=43302
Peter Dennis Bartok [Tue, 19 Apr 2005 22:40:44 +0000 (22:40 -0000)]
2005-04-19 Peter Bartok <pbartok@novell.com>
* LinkLabel.cs: (Re-)create the pieces when setting the Text
property. Fixes #74360.
svn path=/trunk/mcs/; revision=43301
Jackson Harper [Tue, 19 Apr 2005 20:55:21 +0000 (20:55 -0000)]
* PictureBox.cs: Call base OnPaint
svn path=/trunk/mcs/; revision=43297
Zoltan Varga [Tue, 19 Apr 2005 20:53:39 +0000 (20:53 -0000)]
2005-04-19 Zoltan Varga <vargaz@freemail.hu>
* Thread.cs: Add some unused fields.
svn path=/trunk/mcs/; revision=43296
Zoltan Varga [Tue, 19 Apr 2005 20:53:03 +0000 (20:53 -0000)]
2005-04-19 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=43295
Zoltan Varga [Tue, 19 Apr 2005 20:52:30 +0000 (20:52 -0000)]
2005-04-19 Zoltan Varga <vargaz@freemail.hu>
* object-internals.h (MonoThread): Add some unused fields.
* appdomain.c: Bump corlib version.
svn path=/trunk/mono/; revision=43294
Jackson Harper [Tue, 19 Apr 2005 20:52:09 +0000 (20:52 -0000)]
* XEventQueue.cs: Lock when getting the lockqueu size.
svn path=/trunk/mcs/; revision=43293
Peter Dennis Bartok [Tue, 19 Apr 2005 20:48:31 +0000 (20:48 -0000)]
2005-04-19 Peter Bartok <pbartok@novell.com>
* XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
messages were no longer being processed (this broke BeginInvoke)
svn path=/trunk/mcs/; revision=43291
Martin Baulig [Tue, 19 Apr 2005 19:14:58 +0000 (19:14 -0000)]
**** Merged r43047 from MCS ****
svn path=/trunk/mcs/; revision=43287
Martin Baulig [Tue, 19 Apr 2005 19:12:45 +0000 (19:12 -0000)]
**** Merged r42937 ****
svn path=/trunk/mcs/; revision=43286
Martin Baulig [Tue, 19 Apr 2005 19:12:06 +0000 (19:12 -0000)]
**** Merged r42921 from MCS ****
svn path=/trunk/mcs/; revision=43285
Martin Baulig [Tue, 19 Apr 2005 19:10:31 +0000 (19:10 -0000)]
**** Merged r42916 from MCS ****
svn path=/trunk/mcs/; revision=43284
Miguel de Icaza [Tue, 19 Apr 2005 19:09:54 +0000 (19:09 -0000)]
Second patch of patch from Zoltan Varga for bug:
http://bugzilla.ximian.com/show_bug.cgi?id=71274
svn path=/trunk/mcs/; revision=43283
Miguel de Icaza [Tue, 19 Apr 2005 19:09:37 +0000 (19:09 -0000)]
First part of commit of patch from Zoltan Varga from bug:
http://bugzilla.ximian.com/show_bug.cgi?id=71274
svn path=/trunk/mono/; revision=43282
Lluis Sanchez [Tue, 19 Apr 2005 18:21:25 +0000 (18:21 -0000)]
2005-04-19 Lluis Sanchez Gual <lluis@novell.com>
* AspParser.cs: Fixed parsing of data binding tags in server
tag attributes. Allow <%...%> blocks not assigned to
attributes in client tags.
* TagAttributes.cs: Make sure that data binding blocks in server
tags are always assigned to attributes.
* TemplateControlCompiler.cs: Implemented support for two-way
binding.
svn path=/trunk/mcs/; revision=43277
Martin Baulig [Tue, 19 Apr 2005 18:00:01 +0000 (18:00 -0000)]
**** Merged r42902 from MCS ****
svn path=/trunk/mcs/; revision=43276
Martin Baulig [Tue, 19 Apr 2005 17:55:36 +0000 (17:55 -0000)]
**** Merged r42898 from MCS ****
svn path=/trunk/mcs/; revision=43275
Martin Baulig [Tue, 19 Apr 2005 17:51:35 +0000 (17:51 -0000)]
**** Merged r42892 from MCS ****
svn path=/trunk/mcs/; revision=43274
Martin Baulig [Tue, 19 Apr 2005 17:51:12 +0000 (17:51 -0000)]
**** Merged r42890 from MCS ****
svn path=/trunk/mcs/; revision=43273
Martin Baulig [Tue, 19 Apr 2005 17:50:51 +0000 (17:50 -0000)]
**** Merged r42885 from MCS ****
svn path=/trunk/mcs/; revision=43272
Dick Porter [Tue, 19 Apr 2005 16:02:40 +0000 (16:02 -0000)]
2005-04-19 Dick Porter <dick@ximian.com>
* mutexes.c:
* wait.c:
* handles.c (_wapi_handle_count_signalled_handles)
* handles-private.h (_wapi_handle_shared_lock_handle): Use new
shared handle locks in critical sections.
* handles.c (_wapi_handle_new_for_existing_ns): Reuse old
handles if there is already one there.
* handles.c (_wapi_handle_ref): It was possible for a process to
exit before getting around to updating shared handle timestamps,
so do it here too.
svn path=/trunk/mono/; revision=43267
Paolo Molaro [Tue, 19 Apr 2005 15:53:09 +0000 (15:53 -0000)]
Update thread_hash hash/equals functions to operate on plain ints.
svn path=/trunk/mono/; revision=43266
Martin Baulig [Tue, 19 Apr 2005 14:57:41 +0000 (14:57 -0000)]
**** Merged r42760 from MCS ****
svn path=/trunk/mcs/; revision=43264
Martin Baulig [Tue, 19 Apr 2005 14:56:04 +0000 (14:56 -0000)]
**** Merged r42758 from MCS ****
svn path=/trunk/mcs/; revision=43263
Martin Baulig [Tue, 19 Apr 2005 14:54:33 +0000 (14:54 -0000)]
**** Merged r42687 from MCS ****
svn path=/trunk/mcs/; revision=43262
Martin Baulig [Tue, 19 Apr 2005 14:53:42 +0000 (14:53 -0000)]
**** Merged r42682 from MCS ****
svn path=/trunk/mcs/; revision=43261
Martin Baulig [Tue, 19 Apr 2005 14:52:55 +0000 (14:52 -0000)]
**** Merged r42679 from MCS ****
svn path=/trunk/mcs/; revision=43260
Martin Baulig [Tue, 19 Apr 2005 14:51:20 +0000 (14:51 -0000)]
**** Merged r42672 from MCS ****
svn path=/trunk/mcs/; revision=43259
Martin Baulig [Tue, 19 Apr 2005 14:47:33 +0000 (14:47 -0000)]
**** Merged r42635 from MCS ****
svn path=/trunk/mcs/; revision=43258
Paolo Molaro [Tue, 19 Apr 2005 13:55:08 +0000 (13:55 -0000)]
Tue Apr 19 16:25:47 CEST 2005 Paolo Molaro <lupus@ximian.com>
* threads.c: fix lookup of the thread id in the has table:
always use the id value, not the pointer to the id.
svn path=/trunk/mono/; revision=43257
Martin Baulig [Tue, 19 Apr 2005 13:49:53 +0000 (13:49 -0000)]
**** Merged r42622 from MCS ****
svn path=/trunk/mcs/; revision=43256
Martin Baulig [Tue, 19 Apr 2005 13:48:51 +0000 (13:48 -0000)]
**** Merged r42594 from MCS ****
svn path=/trunk/mcs/; revision=43255
Martin Baulig [Tue, 19 Apr 2005 13:48:06 +0000 (13:48 -0000)]
**** Merged r42573 from MCS ****
svn path=/trunk/mcs/; revision=43254
Martin Baulig [Tue, 19 Apr 2005 13:47:29 +0000 (13:47 -0000)]
**** Merged r42559 from MCS ****
svn path=/trunk/mcs/; revision=43253
Martin Baulig [Tue, 19 Apr 2005 13:45:44 +0000 (13:45 -0000)]
**** Merged r42554 from MCS ****
svn path=/trunk/mcs/; revision=43252
Martin Baulig [Tue, 19 Apr 2005 13:44:31 +0000 (13:44 -0000)]
**** Merged r42543-r42545 from MCS ****
svn path=/trunk/mcs/; revision=43251
Martin Baulig [Tue, 19 Apr 2005 13:43:52 +0000 (13:43 -0000)]
**** Merged r42503 from MCS ****
svn path=/trunk/mcs/; revision=43250
Satya Sudha K [Tue, 19 Apr 2005 13:27:19 +0000 (13:27 -0000)]
- Support for ParamArray args in late binding
- Some fixes to overload resolution part (in the previous checkin)
svn path=/trunk/mcs/; revision=43249
Satya Sudha K [Tue, 19 Apr 2005 13:24:03 +0000 (13:24 -0000)]
Fixed conversions from 'object' to double, float, decimal and long
svn path=/trunk/mcs/; revision=43248
Martin Baulig [Tue, 19 Apr 2005 12:52:54 +0000 (12:52 -0000)]
**** Merged r42485 from MCS ****
svn path=/trunk/mcs/; revision=43247
Martin Baulig [Tue, 19 Apr 2005 12:28:48 +0000 (12:28 -0000)]
**** Merged r42462 from MCS ****
svn path=/trunk/mcs/; revision=43246
Lluis Sanchez [Tue, 19 Apr 2005 11:37:56 +0000 (11:37 -0000)]
2005-04-19 Lluis Sanchez Gual <lluis@novell.com>
* marshal.c: Use CALLVIRT instead of CALL when dispatching
a call to a remote domain, since the method may be an
interface method in the client domain. This fixes bug #74192.
svn path=/trunk/mono/; revision=43245
Atsushi Eno [Tue, 19 Apr 2005 10:45:01 +0000 (10:45 -0000)]
2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
* DataRowView.cs : indexer should access to DataRow with proper
DataRowVersion. Fixed bug #74650.
* DataViewTest.cs : added more RowStateFilter test (bug #74650).
svn path=/trunk/mcs/; revision=43244
Jonathan Pryor [Tue, 19 Apr 2005 10:30:19 +0000 (10:30 -0000)]
* configure.in: Add check for <sys/xattr.h>.
Thanks to Daniel Drake <dsd@gentoo.org> for the patch.
* support/map.c, support/map.h: Added XattrFlags values, functions.
* support/sys-xattr.c: Added; <sys/xattr.h> wrapper functions.
Thanks to Daniel Drake for writing these.
* support/Makefile.am: Add sys-xattr.c to the build.
svn path=/trunk/mono/; revision=43243
Martin Baulig [Tue, 19 Apr 2005 09:09:41 +0000 (09:09 -0000)]
**** Merged r42461 from MCS ****
svn path=/trunk/mcs/; revision=43242
Martin Baulig [Tue, 19 Apr 2005 09:07:08 +0000 (09:07 -0000)]
**** Merged r42459 from MCS ****
svn path=/trunk/mcs/; revision=43241
Sureshkumar T [Tue, 19 Apr 2005 08:54:04 +0000 (08:54 -0000)]
2005-04-19 Sureshkumar T <tsureshkumar@novell.com>
* SqlDataReader.cs: NextResult (): Re-create schema table for each
result set. don't re-use, as it may be referenced from somewhere.
svn path=/trunk/mcs/; revision=43240
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
Eyal Alalouf [Tue, 19 Apr 2005 07:42:12 +0000 (07:42 -0000)]
Importing tests from Mainsoft
svn path=/trunk/mcs/; revision=43238
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
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
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
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
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
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
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
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
Martin Baulig [Mon, 18 Apr 2005 15:32:48 +0000 (15:32 -0000)]
**** Merged r42432 from MCS ****
svn path=/trunk/mcs/; revision=43226
Martin Baulig [Mon, 18 Apr 2005 15:32:18 +0000 (15:32 -0000)]
**** Merged r42431 from MCS ****
svn path=/trunk/mcs/; revision=43225
Martin Baulig [Mon, 18 Apr 2005 15:31:34 +0000 (15:31 -0000)]
**** Merged r42420-42429 from MCS ****
svn path=/trunk/mcs/; revision=43224
Martin Baulig [Mon, 18 Apr 2005 15:31:11 +0000 (15:31 -0000)]
**** Merged r42383 from MCS ****
svn path=/trunk/mcs/; revision=43223
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
Martin Baulig [Mon, 18 Apr 2005 14:43:02 +0000 (14:43 -0000)]
**** Merged r42373 from MCS ****
svn path=/trunk/mcs/; revision=43221
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
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
Raja R Harinath [Mon, 18 Apr 2005 13:52:24 +0000 (13:52 -0000)]
Update
svn path=/trunk/mcs/; revision=43218
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
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
Martin Baulig [Mon, 18 Apr 2005 13:38:26 +0000 (13:38 -0000)]
**** Merged r42367 from MCS ****
svn path=/trunk/mcs/; revision=43215
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
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
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
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
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
Martin Baulig [Mon, 18 Apr 2005 11:35:30 +0000 (11:35 -0000)]
**** Merged r42330-r42364 from MCS ****
svn path=/trunk/mcs/; revision=43207
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
Marek Safar [Mon, 18 Apr 2005 10:47:12 +0000 (10:47 -0000)]
Update after #74565
svn path=/trunk/mcs/; revision=43205
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