mono.git
19 years ago2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 3 May 2005 09:54:10 +0000 (09:54 -0000)]
2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: if there are outstanding aio requests and one of them gets
an ObjectDisposedException, throw the same exception for the rest.

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

19 years ago2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 3 May 2005 09:41:51 +0000 (09:41 -0000)]
2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: no need to use an AutoResetEvent.
* WebConnectionStream.cs: don't start any more reads on the socket
after getting a 0 signalling the end. This fixes Ben's infamous foo.cs
test.

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

19 years agoSupport Reference Parameter - when argument and parameter are different
Manjula GHM [Tue, 3 May 2005 07:24:27 +0000 (07:24 -0000)]
Support Reference Parameter - when argument and parameter are different

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

19 years agoFix make distcheck
Miguel de Icaza [Tue, 3 May 2005 04:25:59 +0000 (04:25 -0000)]
Fix make distcheck

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

19 years agoup
Miguel de Icaza [Tue, 3 May 2005 03:26:02 +0000 (03:26 -0000)]
up

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

19 years agoFix build
Miguel de Icaza [Tue, 3 May 2005 02:41:17 +0000 (02:41 -0000)]
Fix build

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

19 years ago2005-05-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 3 May 2005 01:38:34 +0000 (01:38 -0000)]
2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Bump security tools version to 1.1.7.

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

19 years ago2005-05-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 2 May 2005 22:41:21 +0000 (22:41 -0000)]
2005-05-02  Miguel de Icaza  <miguel@novell.com>

* pthread_stop_world.c (GC_restart_handler, GC_suspend_handler):
Wrap the original routines into methods that preserve the value of
errno.  Fixes #74740

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

19 years agoChangeLog entries
César Natarén [Mon, 2 May 2005 20:49:14 +0000 (20:49 -0000)]
ChangeLog entries

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

19 years ago2005-05-02 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 2 May 2005 20:47:42 +0000 (20:47 -0000)]
2005-05-02  Cesar Lopez Nataren  <cnataren@novell.com>

* Microsoft.JScript.dll.sources: COMMemberInfo.cs,
IAuthorServices.cs, IColorizeText.cs, IDebugConvert.cs,
IDebuggerObject.cs, IDebugScriptScope.cs, IErrorHandler.cs,
IParseText.cs, ITokenColorInfo.cs, ITokenEnumerator.cs,
IVsaFullErrorInfo.cs, SourceState.cs, TokenColor.cs,

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

19 years ago2005-05-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 May 2005 20:10:57 +0000 (20:10 -0000)]
2005-05-02  Zoltan Varga  <vargaz@freemail.hu>

* Context.cs: Remove process_id field to sync with the unmanaged
structure.

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

19 years ago2005-05-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 May 2005 19:02:30 +0000 (19:02 -0000)]
2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyTest.cs, FieldInfoTest.cs, MethodInfoTest.cs: Disabled
ReflectionOnly tests as they break every tests afterward. Calberto
is looking for the problem...

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

19 years ago2005-05-02 Joe Shaw <joeshaw@novell.com>
Joe Shaw [Mon, 2 May 2005 18:23:04 +0000 (18:23 -0000)]
2005-05-02  Joe Shaw  <joeshaw@novell.com>

* UnixListener.cs (Init): Remove the call to Cleanup() and the
method itself, which was not supposed to be here.  We try to
connect to the socket if it exists instead of deleting it
undconditionally.

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

19 years agoNew test.
Martin Baulig [Mon, 2 May 2005 16:41:50 +0000 (16:41 -0000)]
New test.

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

19 years ago2005-05-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 May 2005 16:40:35 +0000 (16:40 -0000)]
2005-05-02  Martin Baulig  <martin@ximian.com>

Fix #70182.

* flowanalysis.cs (FlowBranching.UsageVector.MergeJumpOrigins):
Also `And' the locals if the old vector is null.
(FlowBranching.UsageVector.BitVector.And): Allow `vector' being
null; in this case we basically reset all the variables.

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

19 years ago2005-05-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 May 2005 16:40:08 +0000 (16:40 -0000)]
2005-05-02  Martin Baulig  <martin@ximian.com>

Fix #70182.

* flowanalysis.cs (FlowBranching.UsageVector.MergeJumpOrigins):
Also `And' the locals if the old vector is null.
(FlowBranching.UsageVector.BitVector.And): Allow `vector' being
null; in this case we basically reset all the variables.

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

19 years ago2005-05-02 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Mon, 2 May 2005 14:30:58 +0000 (14:30 -0000)]
2005-05-02  Ritvik Mayank  <mritvik@novell.com>
* ControlTest.cs : Minor modifications

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

19 years ago2005-05-02 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 2 May 2005 14:20:43 +0000 (14:20 -0000)]
2005-05-02  Peter Bartok  <pbartok@novell.com>

* LinkLabel.cs: Fixed the fixes from r43566 and 43521

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

19 years agoNew error tests.
Martin Baulig [Mon, 2 May 2005 14:05:01 +0000 (14:05 -0000)]
New error tests.

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

19 years agoAdded a testcase for #74529 where we must not report an error.
Martin Baulig [Mon, 2 May 2005 14:02:53 +0000 (14:02 -0000)]
Added a testcase for #74529 where we must not report an error.

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

19 years ago2005-05-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 May 2005 14:01:58 +0000 (14:01 -0000)]
2005-05-02  Martin Baulig  <martin@ximian.com>

Fix #74529.

* flowanalysis.cs (FlowBranching.UsageVector.MergeBreakOrigins):
Added `FlowBranching branching' argument; always `and' the
variables instead of `or'ing them unless we're an infinite loop.

* statement.cs (While.Resolve): Create a new sibling unless we're
infinite.

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

19 years ago2005-05-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 May 2005 14:01:35 +0000 (14:01 -0000)]
2005-05-02  Martin Baulig  <martin@ximian.com>

Fix #74529.

* flowanalysis.cs (FlowBranching.UsageVector.MergeBreakOrigins):
Added `FlowBranching branching' argument; always `and' the
variables instead of `or'ing them unless we're an infinite loop.

* statement.cs (While.Resolve): Create a new sibling unless we're
infinite.

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

19 years agoIn tests/expressions:
Ritvik Mayank [Mon, 2 May 2005 13:26:28 +0000 (13:26 -0000)]
In tests/expressions:
    2005-05-02  Ritvik Mayank  <mritvik@novell.com>
            Patch submitted by Sudharsan V <vsudharsan@novell.com>

Following Test cases were modified
* RelationalOperatorsA.vb
* LikeOperator.vb
* LikeOperatorA.vb
* LogicalOperatorsA.vb
* ShiftOperators.vb
* ShiftOperatorsA.vb
* ArithmeticOperators.vb
* ArithmeticOperatorsA.vb
* RelationalOperators.vb
* ConcatenationOperator.vb
* AssignmentOperators.vb
In tests/statements:

2005-05-02  Ritvik Mayank  <mritvik@novell.com>
    Patch submitted by Sudharsan V <vsudharsan@novell.com>

Following tests were modified
* BlockStatementsA.vb
* WithStatementA.vb
* WithStatementB.vb
* ForA.vb
     Following tests were moved to rerrors
* ExceptionHandlingB.vb
In tests/typemembers:

2005-05-02  Ritvik Mayank  <mritvik@novell.com>
    Patch submitted by Sudharsan V <vsudharsan@novell.com>

Following tests were modified
* ConstructorC.vb
* EventC.vb
* EventD.vb
* Interface.vb
* PropertyA.vb
* PropertyB.vb
Following tests were moved to rerrors
* OptionalArgFunction1.vb
* OptionalArgument1.vb

In tests/types:
2005-05-02  Ritvik Mayank  <mritvik@novell.com>
            Patch submitted by Sudharsan V <vsudharsan@novell.com>

Following Tests were modified
* BoolLiteralA.vb
* BoolLiteralTest.vb
* DecimalLiteralB.vb
* DecimalLiteral.vb
* DecimalTypeCharTestB.vb
* DecimalTypeCharTest.vb
* DoubleLiteralA.vb
* DoubleLiteralB.vb
* DoubleLiteral.vb
* DoubleTypeCharTestB.vb
* DoubleTypeCharTest.vb
* EnumC1.vb
* IntegerLiteral1Test.vb
* IntegerLiteral2Test.vb
* IntegerLiteralA.vb
* IntegerLiteralB.vb
* IntegerLiteralTestC4.vb
* IntegerLiteralTest.vb
* IntegerTypeCharTestB.vb
* IntegerTypeCharTest.vb
* LongLiteralA.vb
* LongLiteralB.vb
* LongTypeCharTestB.vb
* LongTypeCharTest.vb
* SingleLiteralA.vb
* SingleLiteralB.vb
* SingleLiteral.vb
* SingleTypeCharTestB.vb
* SingleTypeCharTest.vb
* StringLiteralsA.vb
* StringTypeCharTestB.vb
* StringTypeCharTest.vb
Following tests were moved to errors
* TypeValRefVoidA1.vb

In tests/general:

2005-05-02  Ritvik Mayank  <mritvik@novell.com>
    Sudharsan V <vsudharsan@novell.com>

Modified the following test cases
* LocalVariablesA.vb
* ScopeB.vb
* ScopeC.vb
Moved the following to rerrors
* Scope1.vb
* Variables1.vb
* Override1.vb
* Inheritance2.vb

In errors:
2005-05-02  Ritvik Mayank <mritvik@novell.vom>

Removed Executable Property from the files

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

19 years agoMon May 2 15:47:57 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 2 May 2005 13:20:13 +0000 (13:20 -0000)]
Mon May 2 15:47:57 CEST 2005 Paolo Molaro <lupus@ximian.com>

* threadpool.c: replace check for SocketAsyncCall class.

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

19 years ago2005-05-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 May 2005 13:00:05 +0000 (13:00 -0000)]
2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* SignedXml.cs: Throw ArgumentNullException in AddObject and
AddReference methods in 2.0.
* XmlDsigC14NTransform.cs: Throw ArgumentException when loading from
an unknown type in 2.0 (it was simply ignored in 1.x).

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

19 years ago2005-05-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 May 2005 12:51:40 +0000 (12:51 -0000)]
2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* SignedXmlTest.cs: AddObject and AddReference now throws
ArgumentNullException in 2.0.
* XmlDsigC14NWithCommentsTransformTest.cs: InputType was fixed in 2.0.
* XmlDsigC14NTransformTest.cs: InputType was fixed in 2.0.
* XmlDsigXsltTransformTest.cs: Fixed tests for 2.0, InputType, Empty
XSLT and invalid XSLT (new exception).

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

19 years ago* Makefile (BOOTSTRAP_MCS): Fix.
Raja R Harinath [Mon, 2 May 2005 11:11:15 +0000 (11:11 -0000)]
* Makefile (BOOTSTRAP_MCS): Fix.

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

19 years agoFix my previous commit; it broke an error test.
Martin Baulig [Mon, 2 May 2005 10:18:16 +0000 (10:18 -0000)]
Fix my previous commit; it broke an error test.

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

19 years agoFix my previous commit; it broke an error test.
Martin Baulig [Mon, 2 May 2005 10:17:42 +0000 (10:17 -0000)]
Fix my previous commit; it broke an error test.

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

19 years agoNew test.
Martin Baulig [Mon, 2 May 2005 09:11:46 +0000 (09:11 -0000)]
New test.

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

19 years ago**** Resolved r43830 from MCS ****
Martin Baulig [Mon, 2 May 2005 09:11:17 +0000 (09:11 -0000)]
**** Resolved r43830 from MCS ****

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

19 years ago2005-05-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 May 2005 09:07:16 +0000 (09:07 -0000)]
2005-05-02  Martin Baulig  <martin@ximian.com>

Fix #70140.

* class.cs (ConstructorInitializer.Resolve): Added `Block block'
arguments; use it instead of creating a new TopLevelBlock.
(Constructor.Emit): Call `block.ResolveMeta ()' before resolving
our ConstructorInitializer.

* statement.cs (Block.IsConstructor): New public property.
(TopLevelBlock.TopLevelBranching): New public property.
(TopLevelBlock.ResolveMeta): New public method; call ResolveMeta()
and create our `TopLevelBranching'.

* codegen.cs (EmitContext.ResolveTopBlock): If we're not an
anonymous method host, use `block.TopLevelBranching' rather than
creating a new branching.

* expression.cs (This.DoResolve): Don't report a CS0188 if we're
inside the constructor.

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

19 years ago2005-05-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 May 2005 09:06:34 +0000 (09:06 -0000)]
2005-05-02  Martin Baulig  <martin@ximian.com>

Fix #70140.

* class.cs (ConstructorInitializer.Resolve): Added `Block block'
arguments; use it instead of creating a new TopLevelBlock.
(Constructor.Emit): Call `block.ResolveMeta ()' before resolving
our ConstructorInitializer.

* statement.cs (Block.IsConstructor): New public property.
(TopLevelBlock.TopLevelBranching): New public property.
(TopLevelBlock.ResolveMeta): New public method; call ResolveMeta()
and create our `TopLevelBranching'.

* codegen.cs (EmitContext.ResolveTopBlock): If we're not an
anonymous method host, use `block.TopLevelBranching' rather than
creating a new branching.

* expression.cs (This.DoResolve): Don't report a CS0188 if we're
inside the constructor.

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

19 years agoadd TODO
Jordi Mas i Hernandez [Mon, 2 May 2005 08:05:05 +0000 (08:05 -0000)]
add TODO

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

19 years ago2005-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 2 May 2005 06:58:59 +0000 (06:58 -0000)]
2005-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: removed hack added to fix bug #53229 (more than a year ago)
that kept sockets opened until all AIO operations where finished. If
the socket is closed, Receive returns 0 in EndReceive, the rest throw
the ObjectDisposedException. Set the socket handle to -1 when closing.

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

19 years ago2005-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 2 May 2005 06:54:57 +0000 (06:54 -0000)]
2005-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool-internals.h:
* Makefile.am: added threadpool-internals.h

* threadpool.c: call mono_unhandled_exception on exceptions not handled
that happen in threadpool threads (tested on MS).
(mono_thread_pool_remove_socket): new function that dispatch any pending
AIO call on a socket that is closing. By now only epoll really needs it,
as select/poll wake up when the socket closes.

* socket-io.c: call mono_thread_pool_remove_socket in Close_internal.

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

19 years agoIn Test/System.Windows.Forms:
Ritvik Mayank [Mon, 2 May 2005 06:00:00 +0000 (06:00 -0000)]
In Test/System.Windows.Forms:
2005-05-02  Ritvik Mayank  <mritvik@novell.com>

* ControlTest.cs : Test for Control

In .:
2005-05-02  Ritvik Mayank  <mritvik@novell.com>

* System.Windows.Forms_test.dll.sources : Added ControlTest.cs for Label Test

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

19 years ago2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 2 May 2005 05:57:08 +0000 (05:57 -0000)]
2005-05-02  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
  This fixes bug #74784.

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

19 years agoAdded Test for Control
Ritvik Mayank [Mon, 2 May 2005 04:56:25 +0000 (04:56 -0000)]
Added Test for Control

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

19 years ago2005-05-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 1 May 2005 13:24:58 +0000 (13:24 -0000)]
2005-05-01  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c (mono_test_marshal_cdecl_delegate): New test for changing the calling convention of
a delegate.

* pinvoke-2.cs: New file for 2.0 pinvoke tests.

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

19 years ago2005-05-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 1 May 2005 13:23:22 +0000 (13:23 -0000)]
2005-05-01  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Handle changing the calling convention.

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

19 years ago2005-05-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Sun, 1 May 2005 12:20:36 +0000 (12:20 -0000)]
2005-05-01  Lluis Sanchez Gual  <lluis@novell.com>

* gc.c: In mono_gc_cleanup(), wait for 2 seconds, not 2000 seconds.

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

19 years agoadded new test
Gonzalo Paniagua Javier [Sat, 30 Apr 2005 23:27:05 +0000 (23:27 -0000)]
added new test

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

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

* AutoResetEventTest.cs: test for AutoResetEvent.

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

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

* events.c: calling Set on AutoResetEvent several times has the same
effect as calling it only once if no thread is waiting for it.

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

19 years ago2005-04-30 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Sat, 30 Apr 2005 16:54:12 +0000 (16:54 -0000)]
2005-04-30  Lluis Sanchez Gual  <lluis@novell.com>

* threads.c: In mono_thread_suspend_all_other_threads, if a thread
has an abort request, convert it into a suspend request.

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

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

* anonymous.cs (ScopeInfo.AddChild): when adding a new child to
a ScopeInfo, if any of the current children is a child of the new
entry, move those children there.

Fixes 71783

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

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

* marshal.c (mono_marshal_get_managed_wrapper): give a friendly
warning for the usage of `UnmanagedFunctionPointerAttribute' which
is not supported yet.

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

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

* Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It
isn't supported in the runtime -- it throws an assert -- so better
not to use it at all for now.

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

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

* TypeBuilderTest.cs: Don't write to a specific path in /tmp --
breaks multiple users.

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

19 years agofix infinite recursion
César Natarén [Sat, 30 Apr 2005 14:07:46 +0000 (14:07 -0000)]
fix infinite recursion

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

19 years ago * stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
Jonathan Pryor [Sat, 30 Apr 2005 12:45:59 +0000 (12:45 -0000)]
* stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
  "dump" of a fpos_t.  This is used for Mono.Unix.FilePosition.ToString().

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

19 years ago* ILParser.jay (event_decl): Add custom attribute.
Ankit Jain [Sat, 30 Apr 2005 09:32:40 +0000 (09:32 -0000)]
* ILParser.jay (event_decl): Add custom attribute.

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

19 years ago* PEAPI.cs (InterfaceImpl.SortKey): New.
Ankit Jain [Sat, 30 Apr 2005 09:31:35 +0000 (09:31 -0000)]
* PEAPI.cs (InterfaceImpl.SortKey): New.
(MetaData.BuildMetaData): Sort InterfaceImpl table.
(MethodSemantics.SortKey): Compute key correctly.

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

19 years agoNew test.
Martin Baulig [Sat, 30 Apr 2005 09:28:29 +0000 (09:28 -0000)]
New test.

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

19 years ago2005-04-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 30 Apr 2005 09:26:58 +0000 (09:26 -0000)]
2005-04-30  Martin Baulig  <martin@ximian.com>

* statement.cs (Switch.SimpleSwitchEmit): Reset `default_at_end'
at the beginning of a SwitchSection.  Fix #73335.

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

19 years ago2005-04-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 30 Apr 2005 09:26:31 +0000 (09:26 -0000)]
2005-04-30  Martin Baulig  <martin@ximian.com>

* statement.cs (Switch.SimpleSwitchEmit): Reset `default_at_end'
at the beginning of a SwitchSection.  Fix #73335.

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

19 years ago**** Merged r43640 from MCS ****
Martin Baulig [Sat, 30 Apr 2005 07:54:19 +0000 (07:54 -0000)]
**** Merged r43640 from MCS ****

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

19 years ago**** Merged r43579 from MCS ****
Martin Baulig [Sat, 30 Apr 2005 07:54:00 +0000 (07:54 -0000)]
**** Merged r43579 from MCS ****

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

19 years ago**** Merged r43570 from MCS ****
Martin Baulig [Sat, 30 Apr 2005 07:53:37 +0000 (07:53 -0000)]
**** Merged r43570 from MCS ****

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

19 years ago**** Merged r43450 from MCS ****
Martin Baulig [Sat, 30 Apr 2005 07:53:08 +0000 (07:53 -0000)]
**** Merged r43450 from MCS ****

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

19 years ago**** Merged r43373 from MCS ****
Martin Baulig [Sat, 30 Apr 2005 07:44:41 +0000 (07:44 -0000)]
**** Merged r43373 from MCS ****

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

19 years ago2005-04-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 30 Apr 2005 07:41:13 +0000 (07:41 -0000)]
2005-04-30  Martin Baulig  <martin@ximian.com>

* attribute.cs (Attribute.CheckSecurityActionValidity): Correctly
handle the .NET 2.x security attributes.

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

19 years agoRemoved, this is not an error anymore.
Martin Baulig [Sat, 30 Apr 2005 06:46:14 +0000 (06:46 -0000)]
Removed, this is not an error anymore.

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

19 years ago2005-04-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 30 Apr 2005 06:42:06 +0000 (06:42 -0000)]
2005-04-30  Martin Baulig  <martin@ximian.com>

* typemanager.cs
(TypeManager.ExpandInterfaces): Don't add things twice.

* class.cs
(TypeContainer.VerifyClsCompliance): Allow generic instances.

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

19 years agoNew test.
Martin Baulig [Sat, 30 Apr 2005 06:41:57 +0000 (06:41 -0000)]
New test.

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

19 years ago2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 22:58:25 +0000 (22:58 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* image.c: register assemblies loaded from data (bundles) in the loaded
assemblies hash. Fixes bug #74772.

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

19 years ago * ThemeWin32Classic.cs: Don't clear the GC that will clear the
Jackson Harper [Fri, 29 Apr 2005 21:48:47 +0000 (21:48 -0000)]
* ThemeWin32Classic.cs: Don't clear the GC that will clear the
entire image buffer. Just clear the clipping rectangle.

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

19 years ago * UnixConvert.cs: Fix time_t -> DateTime conversions. time_t should be
Jonathan Pryor [Fri, 29 Apr 2005 20:33:45 +0000 (20:33 -0000)]
  * UnixConvert.cs: Fix time_t -> DateTime conversions.  time_t should be
    assumed to be in the local time zone, so don't mess with UTC shifts.
    This allows Mono.Unix to produce sane output (e.g. identical to ls(1) or
    stat(1), instead of several hours different).

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

19 years ago * Makefile: Ignore warnings 0219 (variable declared and never used) and
Jonathan Pryor [Fri, 29 Apr 2005 20:29:24 +0000 (20:29 -0000)]
* Makefile: Ignore warnings 0219 (variable declared and never used) and
  0618 (member is obsolete): this is test code, which produces lots of
  unused variables and tests [Obsolete] members.
* Test/Mono.Unix/StdioFileStreamTest.cs: Add FilePosition tests; remove
  `var = var` lines (added to remove warnings, but now produces other warnings).
* Mono.Unix/Stdlib.cs: Make FilePosition slightly more useful by providing a
  ToString() override which dumps the fpos_t structure contents into a
  hex string.  Add Equals(), GetHashCode(), operator==, and operator!=
  so FilePosition behaves like a value type.

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

19 years ago2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 19:30:51 +0000 (19:30 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BasicClient.cs: firefox/IE just send latin1, stripping the high byte
from unicode >= 256 characters.

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

19 years ago2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 18:40:04 +0000 (18:40 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: OnDayRender can toggle IsSelectable on our back.

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

19 years ago2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Apr 2005 18:29:26 +0000 (18:29 -0000)]
2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BasicClient.cs: use latin1 when encoding the username/domain/password.
Fixes bug #74745.

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

19 years ago * ThemeWin32Classic.cs: Don't draw list view items that are
Jackson Harper [Fri, 29 Apr 2005 16:55:27 +0000 (16:55 -0000)]
* ThemeWin32Classic.cs: Don't draw list view items that are
outside the clipping rectangle.

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

19 years ago2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 29 Apr 2005 16:47:31 +0000 (16:47 -0000)]
2005-04-29  Jordi Mas i Hernandez <jordi@ximian.com>

* ListBox.cs: added horizontal item scroll

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

19 years ago * ThemeWin32Classic.cs: Remove some old debug code that was
Jackson Harper [Fri, 29 Apr 2005 16:26:05 +0000 (16:26 -0000)]
* ThemeWin32Classic.cs: Remove some old debug code that was
causing flicker with the new double buffering code.

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

19 years ago2005-04-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 29 Apr 2005 15:54:58 +0000 (15:54 -0000)]
2005-04-29  Ben Maurer  <bmaurer@ximian.com>

* profiles/basic.make: The test for mcs was broken on jails where
we got a warning due to /proc not being mounted. Remove hackish wc
usage.

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

19 years agoNew tests.
Martin Baulig [Fri, 29 Apr 2005 14:03:33 +0000 (14:03 -0000)]
New tests.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 13:50:38 +0000 (13:50 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.ResolveTypes): Expand interfaces.

* anonymous.cs: Added support for anonymous generic methods.

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

19 years ago2005-04-29 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 29 Apr 2005 13:17:48 +0000 (13:17 -0000)]
2005-04-29  Dick Porter  <dick@ximian.com>

        * processes.c (EnumProcesses): Use a GArray instead of a GPtrArray
        now it's storing pids not handles, also fixes memory leak caused
        by unclear glib documentation.

        * sockets.c (WSACleanup): Remove unused variable

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

19 years ago2005-04-29 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 29 Apr 2005 12:39:43 +0000 (12:39 -0000)]
2005-04-29  Dick Porter  <dick@ximian.com>

        * handles.c (_wapi_handle_check_share_by_pid): For systems that
        don't have file descriptor info in /proc check that the original
        opener of a file is still there, if a share violation would
        otherwise happen.

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

19 years agoSupport for 'lateSet', 'LateIndexGet', 'LateIndexSet'
Satya Sudha K [Fri, 29 Apr 2005 12:00:08 +0000 (12:00 -0000)]
Support for 'lateSet', 'LateIndexGet', 'LateIndexSet'

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

19 years agoSupport for 'LateSet', 'LateIndexGet', 'LateIndexSet'
Satya Sudha K [Fri, 29 Apr 2005 11:58:58 +0000 (11:58 -0000)]
Support for 'LateSet', 'LateIndexGet', 'LateIndexSet'

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

19 years ago Ctor: Copy DataTable [] to local array so that not to be disturbed.
Sureshkumar T [Fri, 29 Apr 2005 11:15:32 +0000 (11:15 -0000)]
Ctor: Copy DataTable [] to local array so that not to be disturbed.

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

19 years agoUpdated.
Martin Baulig [Fri, 29 Apr 2005 10:38:13 +0000 (10:38 -0000)]
Updated.

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

19 years agoNew tests.
Martin Baulig [Fri, 29 Apr 2005 09:21:03 +0000 (09:21 -0000)]
New tests.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 09:19:47 +0000 (09:19 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

Reflect latest API changes.

* Collections.cs (EnumerableBase): Explicitly implement
System.Collections.IEnumerable.GetEnumerator().

* Makefile: Add `nowarn:169'.

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

19 years agoReflect latest API changes.
Martin Baulig [Fri, 29 Apr 2005 09:17:24 +0000 (09:17 -0000)]
Reflect latest API changes.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 09:16:52 +0000 (09:16 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

Reflect latest spec changes.

* IEnumerable.cs (IEnumerable<T>): Implement IEnumerable.
* IEnumerator.cs (IEnumerator<T>): Implement IEnumerator.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 09:09:46 +0000 (09:09 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

* gen-73.cs, gen-115.cs: Reflect latest API changes.

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

19 years agoRemove unneccessary using.
Martin Baulig [Fri, 29 Apr 2005 09:06:38 +0000 (09:06 -0000)]
Remove unneccessary using.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 09:05:39 +0000 (09:05 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetInterfaces): Correctly handle
generic instances.

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

19 years ago2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 29 Apr 2005 09:03:57 +0000 (09:03 -0000)]
2005-04-29  Sureshkumar T  <tsureshkumar@novell.com>
* Test/System.Data/DataTableReaderTest.cs: Added few more tests.
* System.Data/DataTableReader.cs: removed use of _first. throw if given index
is out of range of columns.

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

19 years agoMonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdown
John BouAntoun [Fri, 29 Apr 2005 07:31:47 +0000 (07:31 -0000)]
MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdown
behave like combobox and comboboxlist (still not sure if this is
correct though).

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

19 years agoRemove FIXME.
Raja R Harinath [Fri, 29 Apr 2005 06:29:56 +0000 (06:29 -0000)]
Remove FIXME.
* Dictionary.cs (Slot<K,V>): Move to ...
(Dictionary<K,V>.Slot): ... here.

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

19 years agoNew test.
Martin Baulig [Fri, 29 Apr 2005 06:23:35 +0000 (06:23 -0000)]
New test.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 05:59:16 +0000 (05:59 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

* class.c (mono_type_get_name_recurse): Update to the new naming
schema from the latest .NET 2.x beta2.
(mono_class_setup_vtable_general): If we're a generic instance,
copy the vtable from our generic type definition and inflate all
the methods in it.

* loader.c (find_method): Update to the new naming schema from the
latest .NET 2.x beta2.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 05:55:41 +0000 (05:55 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.HasConstructorConstraint): Removed.

* expression.cs (New.DoResolve): Fix the CS0304 check.

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

19 years ago2005-04-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 29 Apr 2005 05:52:54 +0000 (05:52 -0000)]
2005-04-29  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetFullName): Updated to the new
naming schema.

* class.cs (MethodCore.IsDuplicateImplementation): If we're an
explicit interface implementation, compare the interface types.
(MethodData.Define): Use the new naming scheme from the latest
.NET 2.x beta2.
(MemberBase.DoDefineBase): Resolve `InterfaceType' here.

* decl.cs (MemberName.GetMemberName): Removed.
(MemberName.MethodName, FullName): New properties.

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

19 years agoRemoved LateBinding12.vb so that it compiles
Satya Sudha K [Fri, 29 Apr 2005 04:51:45 +0000 (04:51 -0000)]
Removed LateBinding12.vb so that it compiles

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