Miguel de Icaza [Tue, 3 May 2005 22:19:49 +0000 (22:19 -0000)]
Fix for OSX
svn path=/trunk/mono/; revision=43987
Miguel de Icaza [Tue, 3 May 2005 20:59:32 +0000 (20:59 -0000)]
1.1.7
svn path=/trunk/mono/; revision=43979
Jackson Harper [Tue, 3 May 2005 20:57:40 +0000 (20:57 -0000)]
* ListView.cs: Calculate the scrollbar positioning on resize and
paint, so they get put in the correct place.
svn path=/trunk/mcs/; revision=43978
Alexander Olk [Tue, 3 May 2005 19:55:33 +0000 (19:55 -0000)]
2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
* ColorDialogs.cs: The small color panels are now handled by
SmallColorControl. This fixes drawing of the focus rectangle
and adds a 3D border.
svn path=/trunk/mcs/; revision=43977
Peter Dennis Bartok [Tue, 3 May 2005 19:38:48 +0000 (19:38 -0000)]
2005-05-03 Peter Bartok <pbartok@novell.com>
* Control.cs: Modified version of Jonathan Chamber's fix for
double-buffering
svn path=/trunk/mcs/; revision=43976
Sebastien Pouliot [Tue, 3 May 2005 17:58:08 +0000 (17:58 -0000)]
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
* System.Security_test.dll.sources: Added unit tests for System.
Security.Cryptography.Pkcs.SignerInfoCollection class.
svn path=/trunk/mcs/; revision=43972
Sebastien Pouliot [Tue, 3 May 2005 17:56:59 +0000 (17:56 -0000)]
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
* AsnEncodedData.cs: Allow CopyFrom to work even without an OID.
svn path=/trunk/mcs/; revision=43971
Sebastien Pouliot [Tue, 3 May 2005 17:55:44 +0000 (17:55 -0000)]
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
* CmsSigner.cs: Removed old FIXME.
* ContentInfo.cs: Better detection (but still less strict than MS).
* EnvelopedCms.cs: Avoid possible NullReferenceException in Encrypt.
* KeyTransRecipientInfo.cs: Minor editing updates.
* Pkcs9ContentType.cs: Added encoding/decoding of the content
information (OID).
* Pkcs9MessageDigest.cs: Added encoding/decoding of the digest.
* SignedCms.cs: Version set to 0 (default). Serial numbers are
reversed here (Fx isn't very consistant in this regard).
* SignerInfo.cs: Convert the hash name to an OID.
* SignerInfoCollection.cs: Completed class.
svn path=/trunk/mcs/; revision=43970
César Natarén [Tue, 3 May 2005 17:53:51 +0000 (17:53 -0000)]
ChangeLog entries
svn path=/trunk/mcs/; revision=43969
César Natarén [Tue, 3 May 2005 17:53:43 +0000 (17:53 -0000)]
ChangeLog entries
svn path=/trunk/mcs/; revision=43968
César Natarén [Tue, 3 May 2005 17:52:20 +0000 (17:52 -0000)]
add VSAITEMTYPE2.cs to the build.
svn path=/trunk/mcs/; revision=43967
Gonzalo Paniagua Javier [Tue, 3 May 2005 17:51:42 +0000 (17:51 -0000)]
2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ServicePoint.cs: HostEntry needs to be thread safe.
svn path=/trunk/mcs/; revision=43966
César Natarén [Tue, 3 May 2005 17:51:19 +0000 (17:51 -0000)]
api compliance
svn path=/trunk/mcs/; revision=43965
César Natarén [Tue, 3 May 2005 17:50:37 +0000 (17:50 -0000)]
add to the build, api compliance addition
svn path=/trunk/mcs/; revision=43964
César Natarén [Tue, 3 May 2005 17:49:42 +0000 (17:49 -0000)]
fixes for api compliance
svn path=/trunk/mcs/; revision=43963
Sebastien Pouliot [Tue, 3 May 2005 17:49:30 +0000 (17:49 -0000)]
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
* ContentInfoTest.cs: Addd test cases for data, envelopedData and
other "bad" cases.
* EnvelopedCmsTest.cs: Added [Category ("NotWorking")] to tests for
which Mono isn't complete enough to execute.
* KeyTransRecipientInfoTest.cs: Added test for EncryptedKey (reference
not copy).
* Pkcs9ContentTypeTest.cs: Removed FIXME (fixed in beta2). Added
CopyFrom tests.
* Pkcs9DocumentDescriptionTest.cs: Removed FIXME (fixed in beta2).
* Pkcs9MessageDigestTest.cs: Added CopyFrom tests.
* SignerInfoCollectionTest.cs: New. Tests for SignerInfoCollection.
* SignerInfoTest.cs: Mark some method/data internal so they can be
reused for other tests.
svn path=/trunk/mcs/; revision=43962
César Natarén [Tue, 3 May 2005 17:47:24 +0000 (17:47 -0000)]
fixes for api compliance
svn path=/trunk/mcs/; revision=43961
Gonzalo Paniagua Javier [Tue, 3 May 2005 17:25:49 +0000 (17:25 -0000)]
2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConnection.cs: removed a 'slightly' important line by mistake.
* WebConnectionStream.cs: if the transfer encoding is chunked, ignore
content-length header if present.
svn path=/trunk/mcs/; revision=43952
Lluis Sanchez [Tue, 3 May 2005 17:16:22 +0000 (17:16 -0000)]
2005-05-03 Lluis Sanchez Gual <lluis@novell.com>
* WebServiceCompiler.cs: Create the temp directory before
creating the web service source code file.
svn path=/trunk/mcs/; revision=43951
Jackson Harper [Tue, 3 May 2005 16:12:53 +0000 (16:12 -0000)]
* ListView.cs: Remove redraw variable. Control now handles whether
or not a redraw needs to be done, and will only raise the paint
event if redrawing is needed.
svn path=/trunk/mcs/; revision=43945
César Natarén [Tue, 3 May 2005 16:08:30 +0000 (16:08 -0000)]
ChangeLog entries
svn path=/trunk/mcs/; revision=43943
César Natarén [Tue, 3 May 2005 15:56:41 +0000 (15:56 -0000)]
add to the build
svn path=/trunk/mcs/; revision=43940
César Natarén [Tue, 3 May 2005 15:56:05 +0000 (15:56 -0000)]
add to the build
svn path=/trunk/mcs/; revision=43939
César Natarén [Tue, 3 May 2005 15:54:52 +0000 (15:54 -0000)]
add interop interfaces to the build
svn path=/trunk/mcs/; revision=43938
César Natarén [Tue, 3 May 2005 15:53:41 +0000 (15:53 -0000)]
Add more COM, interop and debug interfaces
svn path=/trunk/mcs/; revision=43937
Jackson Harper [Tue, 3 May 2005 15:52:56 +0000 (15:52 -0000)]
* Splitter.cs: No decorations for the splitter form. Cache the
hatch brush.
svn path=/trunk/mcs/; revision=43936
Ritvik Mayank [Tue, 3 May 2005 15:14:21 +0000 (15:14 -0000)]
2005-05-03 Ritvik Myank <mritvik@novell.com>
* rerrors_btest.dll.sources: Added new test cases
svn path=/trunk/mcs/; revision=43935
Lluis Sanchez [Tue, 3 May 2005 15:06:58 +0000 (15:06 -0000)]
2004-05-03 Lluis Sanchez <lluis@ximian.com>
* Assembly.cs: Don't remove version and culture information from
the name, since it will be used by load_with_partial_name.
svn path=/trunk/mcs/; revision=43934
Zoltan Varga [Tue, 3 May 2005 15:05:33 +0000 (15:05 -0000)]
2005-05-03 Zoltan Varga <vargaz@freemail.hu>
* os.c: Update from the official version.
svn path=/trunk/mono/; revision=43933
Lluis Sanchez [Tue, 3 May 2005 15:02:55 +0000 (15:02 -0000)]
2005-05-03 Lluis Sanchez Gual <lluis@novell.com>
* appdomain.c: Moved methods for parsing and freeing assembly
names to assembly.c.
* assembly.c, domain-internals.h: Created public methods for parsing
assembly names. Fixed mono_assembly_load_with_partial_name:
it now finds the best match, taking into account the version,
token and culture specified in the partial name. Also return
the latest version if no version information is specified.
svn path=/trunk/mono/; revision=43932
Jackson Harper [Tue, 3 May 2005 14:49:18 +0000 (14:49 -0000)]
* TreeView.cs: Use dashed lines to connect nodes. Use the
ControlPaint method for drawing the focus rect instead of doing
that in treeview.
svn path=/trunk/mcs/; revision=43931
Martin Baulig [Tue, 3 May 2005 14:16:37 +0000 (14:16 -0000)]
Ooops, renamed.
svn path=/trunk/mcs/; revision=43930
Martin Baulig [Tue, 3 May 2005 14:14:48 +0000 (14:14 -0000)]
New test.
svn path=/trunk/mcs/; revision=43929
Martin Baulig [Tue, 3 May 2005 14:13:35 +0000 (14:13 -0000)]
2005-05-03 Martin Baulig <martin@ximian.com>
* expression.cs (ArrayAccess.EmitGetLength): New public method.
* statement.cs (Foreach.ArrayForeach): New nested class.
(Foreach.TemporaryVariable): New nested class.
(Foreach.EmitArrayForeach): Removed; this is now in the new
ArrayForeach class.
svn path=/trunk/mcs/; revision=43928
Martin Baulig [Tue, 3 May 2005 14:10:46 +0000 (14:10 -0000)]
2005-05-03 Martin Baulig <martin@ximian.com>
* expression.cs (ArrayAccess.EmitGetLength): New public method.
* statement.cs (Foreach.ArrayForeach): New nested class.
(Foreach.TemporaryVariable): New nested class.
(Foreach.EmitArrayForeach): Removed; this is now in the new
ArrayForeach class.
svn path=/trunk/mcs/; revision=43927
Paolo Molaro [Tue, 3 May 2005 13:54:00 +0000 (13:54 -0000)]
Tue May 3 16:28:26 CEST 2005 Paolo Molaro <lupus@ximian.com>
* os_dep.c: remove usage of libc private symbol.
svn path=/trunk/mono/; revision=43924
Raja R Harinath [Tue, 3 May 2005 13:38:47 +0000 (13:38 -0000)]
* pending.cs (BaseImplements): Move the #74773 fix here. This is
more conservative.
(VerifyPendingMethods): Revert change below.
svn path=/trunk/mcs/; revision=43923
Marek Safar [Tue, 3 May 2005 13:30:01 +0000 (13:30 -0000)]
2005-05-03 Marek Safar <marek.safar@seznam.cz>
* Console.cs: CancelKeyPress is stubbed.
svn path=/trunk/mcs/; revision=43922
Raja R Harinath [Tue, 3 May 2005 11:39:55 +0000 (11:39 -0000)]
In mcs:
* typemanager.cs (IsOverride, RegisterNonOverride): New.
* decl.cs (MemberCache.AddMethod): Register "non-override" methods
that used to trigger warning -28. Remove warning -28.
* expression.cs (Invocation.OverloadResolve): Use
TypeManager.IsOverride to distinguish override methods.
In errors:
* errors.txt (warning -28): Remove.
svn path=/trunk/mcs/; revision=43921
Raja R Harinath [Tue, 3 May 2005 11:32:22 +0000 (11:32 -0000)]
Fix #74773.
* mcs/pending.cs (VerifyPendingMethods): If a base type implements the
requested interface, don't bother checking individual methods of
the base type. As a side-effect, this prevents the creation of
unnecessary proxies.
* tests/test-372.cs: New test from #74773.
svn path=/trunk/mcs/; revision=43920
Sebastien Pouliot [Tue, 3 May 2005 11:09:31 +0000 (11:09 -0000)]
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
* XmlDsigXsltTransform.cs: Fixed 2 test cases (that nows throws
ArgumentNullException) in 2.0.
svn path=/trunk/mcs/; revision=43919
Gonzalo Paniagua Javier [Tue, 3 May 2005 10:00:01 +0000 (10:00 -0000)]
leftover
svn path=/trunk/mcs/; revision=43918
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
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
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
Miguel de Icaza [Tue, 3 May 2005 04:25:59 +0000 (04:25 -0000)]
Fix make distcheck
svn path=/trunk/mono/; revision=43914
Miguel de Icaza [Tue, 3 May 2005 03:26:02 +0000 (03:26 -0000)]
up
svn path=/trunk/mono/; revision=43912
Miguel de Icaza [Tue, 3 May 2005 02:41:17 +0000 (02:41 -0000)]
Fix build
svn path=/trunk/mcs/; revision=43911
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
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
César Natarén [Mon, 2 May 2005 20:49:14 +0000 (20:49 -0000)]
ChangeLog entries
svn path=/trunk/mcs/; revision=43903
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
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
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
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
Martin Baulig [Mon, 2 May 2005 16:41:50 +0000 (16:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=43892
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
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
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
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
Martin Baulig [Mon, 2 May 2005 14:05:01 +0000 (14:05 -0000)]
New error tests.
svn path=/trunk/mcs/; revision=43885
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
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
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
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
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
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
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
Raja R Harinath [Mon, 2 May 2005 11:11:15 +0000 (11:11 -0000)]
* Makefile (BOOTSTRAP_MCS): Fix.
svn path=/trunk/mcs/; revision=43876
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
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
Martin Baulig [Mon, 2 May 2005 09:11:46 +0000 (09:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=43873
Martin Baulig [Mon, 2 May 2005 09:11:17 +0000 (09:11 -0000)]
**** Resolved r43830 from MCS ****
svn path=/trunk/mcs/; revision=43872
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
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
Jordi Mas i Hernandez [Mon, 2 May 2005 08:05:05 +0000 (08:05 -0000)]
add TODO
svn path=/trunk/mcs/; revision=43868
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
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
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
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
Ritvik Mayank [Mon, 2 May 2005 04:56:25 +0000 (04:56 -0000)]
Added Test for Control
svn path=/trunk/mcs/; revision=43861
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
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
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
Gonzalo Paniagua Javier [Sat, 30 Apr 2005 23:27:05 +0000 (23:27 -0000)]
added new test
svn path=/trunk/mcs/; revision=43835
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
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
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
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
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
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
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
César Natarén [Sat, 30 Apr 2005 14:07:46 +0000 (14:07 -0000)]
fix infinite recursion
svn path=/trunk/mcs/; revision=43826
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
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
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
Martin Baulig [Sat, 30 Apr 2005 09:28:29 +0000 (09:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=43821
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
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
Martin Baulig [Sat, 30 Apr 2005 07:54:19 +0000 (07:54 -0000)]
**** Merged r43640 from MCS ****
svn path=/trunk/mcs/; revision=43818