mono.git
20 years ago * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
Lluis Sanchez [Tue, 23 Mar 2004 17:33:49 +0000 (17:33 -0000)]
* FloatingPointFormatter.cs: Made the class thread safe. Had to move some
  internal variables to structures that are moved around methods.
  Factorized some common formatting code into FormatNumberInternal.

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

20 years ago2004-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 23 Mar 2004 17:27:09 +0000 (17:27 -0000)]
2004-03-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
Jaros.

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

20 years ago2004-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 23 Mar 2004 17:21:21 +0000 (17:21 -0000)]
2004-03-23  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix GNU ld check.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 17:19:20 +0000 (17:19 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 17:11:32 +0000 (17:11 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Added exception for null and bad parameters.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 16:38:40 +0000 (16:38 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvertTest.cs: New. Unit tests for CryptoConvert.

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

20 years ago2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 16:19:47 +0000 (16:19 -0000)]
2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Emit shorter il code for array init.

newarr
dup
// set 1

// set 2

newarr
stloc.x

ldloc.x
// set 1

ldloc.x
// set 2

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 15:55:37 +0000 (15:55 -0000)]
2004-03-23  Atsushi Enomoto <atsushi@ximian.com>

* SignedInfo.cs : It holds input element and directly returns it
  unless the properties are not set.
  Throw CryptographicException when Reference is empty *and* GetXml()
  is *created*. (when just returning input element, no exception is
  thrown).

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 15:55:14 +0000 (15:55 -0000)]
2004-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* SignedInfoTest.cs : assure the owner document object equality /
  inequality with related to LoadXml() and setting properties.

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

20 years ago2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 23 Mar 2004 15:39:36 +0000 (15:39 -0000)]
2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs :  being more carefull with null arguments in some places,
null checking in GetPertinentStandardModules() loop
* namespace.cs : a helper ToString override
* ecore.cs : Dealing with finding more than a pertinent standard module having a global member
* testmbas/WriteOk.vb : Exercising correct standard module resolution
    NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working

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

20 years ago2004-03-23 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 23 Mar 2004 15:29:47 +0000 (15:29 -0000)]
2004-03-23  Dick Porter  <dick@ximian.com>

* DateTime.cs: Check the date string for too many digits when
parsing.  Fixes bugs 53023 and 53025.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 13:23:05 +0000 (13:23 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* mswse.pub: New. Microsoft WSE public key to be used for
strongnaming the Microsoft.Web.Service assembly.

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

20 years ago2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Mar 2004 13:21:28 +0000 (13:21 -0000)]
2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>

* ecma.pub: New. ECMA key to be used for strongnaming assemblies.
* msfinal.pub: New. Microsoft public key to be used for strongnaming
assemblies.

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 13:05:03 +0000 (13:05 -0000)]
2004-03-23  Atsushi Enomoto <atsushi@ximian.com>

* DataObject.cs : It now hold element instead of each parameters.
  Avoid loading element content to different document unless its
  properties were modified (to keep namespace node context).

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

20 years ago2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Mar 2004 13:04:06 +0000 (13:04 -0000)]
2004-03-23  Atsushi Enomoto  <atsushi@ximian.com>

* DataObjectTest.cs : assure that owner document object are different
  after setting properties.

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

20 years ago2004-03-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Tue, 23 Mar 2004 12:03:35 +0000 (12:03 -0000)]
2004-03-19 Carlos Guzman Alvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

- Fixed cipher suite selection.

* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

- Added new CertificateRSA property.

- Added new UpdateCErtfificateRSA method.

* Mono.Security.Protocol.Tls/CipherSuite.cs:

- Removed CertificateRSA() method.

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

20 years ago2004-03-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 23 Mar 2004 11:30:08 +0000 (11:30 -0000)]
2004-03-23  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs: Disable argument checking since it causes
regressions.

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

20 years ago * mb-parser.jay: handled implicit static modifier for module members in const
Anirban Bhattacharjee [Tue, 23 Mar 2004 11:14:22 +0000 (11:14 -0000)]
 * mb-parser.jay: handled implicit static modifier for module members in const
 * const.cs: changed supported modifiers

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

20 years agomodifiers.cs: Return name of modifiers changed to vb specific
Anirban Bhattacharjee [Tue, 23 Mar 2004 11:03:17 +0000 (11:03 -0000)]
modifiers.cs: Return name of modifiers changed to vb specific

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

20 years ago2004-03-23 Umadevi S (sumadevi@novell.com)
Umadevi S [Tue, 23 Mar 2004 10:41:16 +0000 (10:41 -0000)]
2004-03-23 Umadevi S (sumadevi@novell.com)
* implemented Attributes, methods in OleDbError.cs & OleDbErrorCollection.cs

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

20 years agoImplementing LinearGradientBrush.cs public methods.
Ravindra [Tue, 23 Mar 2004 08:23:43 +0000 (08:23 -0000)]
Implementing LinearGradientBrush.cs public methods.

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

20 years agoAdded few P/Invoke calls for LinearGradientBrush.
Ravindra [Tue, 23 Mar 2004 08:21:07 +0000 (08:21 -0000)]
Added few P/Invoke calls for LinearGradientBrush.

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

20 years ago2004-03-23 Umadevi S (sumadevi@novell.com)
Umadevi S [Tue, 23 Mar 2004 08:06:50 +0000 (08:06 -0000)]
2004-03-23  Umadevi S (sumadevi@novell.com)
* OleDbException.cs - implemented Attributes, GetObjectData Method

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

20 years ago2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 23 Mar 2004 01:36:45 +0000 (01:36 -0000)]
2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
        * Npgsql/NpgsqlAsciiRow.cs
        * Npgsql/NpgsqlBinaryRow.cs
        * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.

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

20 years ago2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 23 Mar 2004 01:35:54 +0000 (01:35 -0000)]
2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlAsciiRow.cs
* Npgsql/NpgsqlBinaryRow.cs
* Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.

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

20 years ago2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 01:34:02 +0000 (01:34 -0000)]
2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* mono-todo: I finished the vtable task :-).

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

20 years ago2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 23 Mar 2004 01:31:25 +0000 (01:31 -0000)]
2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.

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

20 years ago2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 23 Mar 2004 01:31:08 +0000 (01:31 -0000)]
2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* class.c: do not insert non-virtual methods in the vtable.
* icall.c, mono-debug-debugger.c, object.c: if method->slot == -1,
that means the method is non-virtual. This never would have
happened before.

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

20 years agodelegate test ....
Martin Baulig [Mon, 22 Mar 2004 23:10:46 +0000 (23:10 -0000)]
delegate test ....

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

20 years agoDon't dispose the handler
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:55:44 +0000 (21:55 -0000)]
Don't dispose the handler

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

20 years ago2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:45:17 +0000 (21:45 -0000)]
2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monoresgen.cs:  don't create the output file on error reading the
input. Fixes bug #55916.

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

20 years ago2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:36:03 +0000 (21:36 -0000)]
2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: support EnableRaisingEvents + Exited event.

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

20 years ago2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Mar 2004 21:35:17 +0000 (21:35 -0000)]
2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* daemon.c: turned a warning into a DEBUG statement. Now we may hit it.

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

20 years agoRavi fixed this in July 2003, but somehow it didn't make it into gmcs ....
Martin Baulig [Mon, 22 Mar 2004 20:57:05 +0000 (20:57 -0000)]
Ravi fixed this in July 2003, but somehow it didn't make it into gmcs ....

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:52:45 +0000 (20:52 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Added /nowarn to cleanup display when building.

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:46:38 +0000 (20:46 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* PublisherMembershipCondition.cs: Now use CryptoConvert for
Hexadecimal convertions.

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:44:30 +0000 (20:44 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* PublisherIdentityPermission.cs: Now use CryptoConvert for Hexadecimal
convertions.
* PublisherIdentityPermissionAttribute.cs: Now use CryptoConvert for
Hexadecimal convertions.

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

20 years ago2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 22 Mar 2004 20:39:39 +0000 (20:39 -0000)]
2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
new version of FromCapiPublicKeyBlob with an integer offset.

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

20 years ago2004-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 22 Mar 2004 20:15:01 +0000 (20:15 -0000)]
2004-03-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.

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

20 years ago2004-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 22 Mar 2004 20:03:53 +0000 (20:03 -0000)]
2004-03-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Disable -version-script if not using GNU ld. Fixes
#55910.

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

20 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Mar 2004 18:36:28 +0000 (18:36 -0000)]
2004-03-22 Atsushi Enomoto <atsushi@ximian.com>

* XslApplyTemplates.cs,
  XslAvt.cs,
  XslCallTemplate.cs,
  XslChoose.cs,
  XslIf.cs,
  XslMessage.cs,
  XslNumber.cs,
  XslVariable.cs :
  Throw XsltCompileException instead of Exception.
* XslVariable.cs : Reject invalid attributes.

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

20 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Mar 2004 18:35:34 +0000 (18:35 -0000)]
2004-03-22 Atsushi Enomoto <atsushi@ximian.com>

* Compiler.cs,
  XslAttributeSet.cs,
  XslFunctions,
  XslTransformProcessor.cs :
  Throw specific types of exceptions instead of Exception.
* XslFunctions.cs, XsltCompiledContext.cs :
  added node argument for XsltExtensionFunction ctor() etc.

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

20 years ago * mini-ppc.c, tramp-ppc.c: Added lock for accessing the domain code manager.
Lluis Sanchez [Mon, 22 Mar 2004 17:51:15 +0000 (17:51 -0000)]
* mini-ppc.c, tramp-ppc.c: Added lock for accessing the domain code manager.
* mini.c: Removed domain lock from mono_jit_compile_method_with_opt. Use
  domain lock only to protect puntual access to data structures.
  Added access lock for sighash, jit_icall_hash_name,
  jit_icall_hash_addr and domain->code_mp.

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

20 years agoprofiler.c: Added lock for accessing coverage_hash.
Lluis Sanchez [Mon, 22 Mar 2004 17:48:46 +0000 (17:48 -0000)]
profiler.c: Added lock for accessing coverage_hash.

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

20 years ago2004-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 22 Mar 2004 17:45:35 +0000 (17:45 -0000)]
2004-03-22  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs (Initialize): Add more argument checking.
Fixes #55793.

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

20 years agoAdded params argument.
Martin Baulig [Mon, 22 Mar 2004 17:33:10 +0000 (17:33 -0000)]
Added params argument.

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

20 years ago2004-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Mar 2004 17:32:02 +0000 (17:32 -0000)]
2004-03-22  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.InferParamsTypeArguments): New static
method; does type inference for params arguments.

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

20 years agopie sample
Jordi Mas i Hernandez [Mon, 22 Mar 2004 17:00:13 +0000 (17:00 -0000)]
pie sample

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

20 years ago2004-03-22 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 22 Mar 2004 16:58:33 +0000 (16:58 -0000)]
2004-03-22  Dick Porter  <dick@ximian.com>

* String.cs (System): Use the provider when converting strings to
other types.

* DateTime.cs (System): Add MM-dd-yyyy to the list of standard
date parsing formats.  Fixes bug 54721.

2004-03-22  Dick Porter  <dick@ximian.com>

* DateTimeTest.cs (System): Test the MM-dd-yyyy date parse format.

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

20 years ago2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 22 Mar 2004 16:13:32 +0000 (16:13 -0000)]
2004-03-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Console.cs: Styled, optimized calls
* CrossAppDomainDelegate.cs: Small header fix
* Buffer.cs: Style, improve errors
* BitConverter.cs: Style, improve errors, remove obsolete comment
* Attribute.cs: Style, improve errors, small fix
* Array.cs: Style, improve errors, small fix, added TODOs
* Activator.cs: Style, localized errors, added error checks
* Byte.cs: Style, localized errors, fixed wrong exception parameters
* Char.cs: Style
* Boolean.cs: Style
* AppDomainSetup.cs: Style
* AppDomain.cs: Style, implemented two methods (redirect)

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

20 years ago * parser.cs: Use the group number as the name in mapping. Patch by Gert Driesen.
Jackson Harper [Mon, 22 Mar 2004 16:09:39 +0000 (16:09 -0000)]
    * parser.cs: Use the group number as the name in mapping. Patch by Gert Driesen.
* regex.cs: Fix off by one error. Patch by Gert Driesen.

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

20 years ago * RegexBugs.cs: Add test case for multiple matches.
Jackson Harper [Mon, 22 Mar 2004 16:02:15 +0000 (16:02 -0000)]
    * RegexBugs.cs: Add test case for multiple matches.

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

20 years ago2004-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 22 Mar 2004 15:51:54 +0000 (15:51 -0000)]
2004-03-22  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilderTest.cs: Call GetCustomAttributes with false
so custom attributes on Object do not screw the results.

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

20 years ago2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 22 Mar 2004 15:42:23 +0000 (15:42 -0000)]
2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067

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

20 years ago2004-03-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 22 Mar 2004 15:40:42 +0000 (15:40 -0000)]
2004-03-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Speedup successful sigaltstack test.

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

20 years agoImplementing LinearGradientBrush.cs and fixing PathGradientBrush.cs.
Ravindra [Mon, 22 Mar 2004 12:21:04 +0000 (12:21 -0000)]
Implementing LinearGradientBrush.cs and fixing PathGradientBrush.cs.

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

20 years agoAdded few P/Invoke calls for LinearGradientBrush and couple of coding style fixes.
Ravindra [Mon, 22 Mar 2004 12:08:55 +0000 (12:08 -0000)]
Added few P/Invoke calls for LinearGradientBrush and couple of coding style fixes.

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

20 years agoone more test case for constant
Anirban Bhattacharjee [Mon, 22 Mar 2004 10:50:24 +0000 (10:50 -0000)]
one more test case for constant

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

20 years agomb-parser.jay: One more negative scenario is addressed in const grammar
Anirban Bhattacharjee [Mon, 22 Mar 2004 10:44:04 +0000 (10:44 -0000)]
mb-parser.jay: One more negative scenario is addressed in const grammar

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

20 years agoVariablesB.vb: small correction in test case
Anirban Bhattacharjee [Mon, 22 Mar 2004 08:22:09 +0000 (08:22 -0000)]
VariablesB.vb: small correction in test case

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

20 years agoTest cases for constant
Anirban Bhattacharjee [Mon, 22 Mar 2004 08:15:52 +0000 (08:15 -0000)]
Test cases for constant

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

20 years agoconst.cs: Change type of constant to the type of its value if no explicit type declar...
Anirban Bhattacharjee [Mon, 22 Mar 2004 07:22:15 +0000 (07:22 -0000)]
const.cs: Change type of constant to the type of its value if no explicit type declaration found

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

20 years ago * DoubleFormatterTest.cs: test setting the number of decimal
Jackson Harper [Mon, 22 Mar 2004 07:17:41 +0000 (07:17 -0000)]
    * DoubleFormatterTest.cs: test setting the number of decimal
digits.

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

20 years agomb-parser.jay: Grammar for declaring constant inside block is changed
Anirban Bhattacharjee [Mon, 22 Mar 2004 07:00:54 +0000 (07:00 -0000)]
mb-parser.jay: Grammar for declaring constant inside block is changed

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

20 years ago * FloatingPointFormatter.cs: Set precision from number format info
Jackson Harper [Mon, 22 Mar 2004 06:57:06 +0000 (06:57 -0000)]
    * FloatingPointFormatter.cs: Set precision from number format info
when it is not specified. This fixes bug #54983.

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

20 years ago * Uri.cs: Equals should be case insensitive for all parts except
Jackson Harper [Mon, 22 Mar 2004 06:16:01 +0000 (06:16 -0000)]
    * Uri.cs: Equals should be case insensitive for all parts except
the path.

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

20 years ago * TestUri.cs: Make sure Uri::Equals is case insensitive for
Jackson Harper [Mon, 22 Mar 2004 06:11:25 +0000 (06:11 -0000)]
    * TestUri.cs: Make sure Uri::Equals is case insensitive for
everything but paths.

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

20 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Mar 2004 05:47:56 +0000 (05:47 -0000)]
2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>

* XsltException.cs, XsltCompileException.cs : They had used
  message field which were never set.

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

20 years ago2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Mar 2004 05:45:07 +0000 (05:45 -0000)]
2004-03-22 Atsushi Enomoto <atsushi@ximian.com>

* ScriptCompilerInfo.cs : Modified compilation processing. Now it uses
  CodeDom. Compilation error should be caught. This fixes bug #55875.

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

20 years agoconst.cs: Changed exception numbers
Anirban Bhattacharjee [Mon, 22 Mar 2004 05:02:44 +0000 (05:02 -0000)]
const.cs: Changed exception numbers

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

20 years agoChanged grammar for constant
Anirban Bhattacharjee [Mon, 22 Mar 2004 04:58:27 +0000 (04:58 -0000)]
Changed grammar for constant

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

20 years ago2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 22 Mar 2004 04:52:05 +0000 (04:52 -0000)]
2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* test-234.cs: test for 25885.

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

20 years ago2004-03-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Mar 2004 04:48:22 +0000 (04:48 -0000)]
2004-03-21  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.IsGenericMethod): New public static
method; checks whether a method is a generic method.

* expression.cs (Invocation.InferTypeArguments): New static method;
infer type arguments for generic method invocation.

* ecore.cs (MethodGroupExpr.HasTypeArguments): New public
property; we set this to true if we're resolving a generic method
invocation and the user specified type arguments, ie. we're not
doing type inference.

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

20 years ago2004-03-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 22 Mar 2004 04:47:45 +0000 (04:47 -0000)]
2004-03-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* statement.cs: Before, two switch blocks would be merged if the
total size of the blocks (end_item - begin_item + 1) was less than
two times the combined sizes of the blocks.

Now, it will only merge if after the merge at least half of the
slots are filled.

fixes 55885.

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

20 years ago2004-03-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Mar 2004 04:47:31 +0000 (04:47 -0000)]
2004-03-22  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_MethodInfo_get_IsGenericMethod): Use
`method->method->signature->generic_param_count != 0' to make it
work for interface methods.

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

20 years agoDon't crash here ;-)
Martin Baulig [Mon, 22 Mar 2004 04:47:22 +0000 (04:47 -0000)]
Don't crash here ;-)

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

20 years ago2004-03-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Mar 2004 00:44:09 +0000 (00:44 -0000)]
2004-03-21  Martin Baulig  <martin@ximian.com>

* gen-45.cs: New generics test for type inference.

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

20 years ago2004-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 21 Mar 2004 14:09:24 +0000 (14:09 -0000)]
2004-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* ChangeLog: commited missing ChangeLog entries.

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

20 years ago2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Mar 2004 07:56:15 +0000 (07:56 -0000)]
2004-03-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: when Dispose (bool) is called from the finalizer, always
do the cleanup. Fixes yet another nullref with xsp.

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

20 years ago2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Mar 2004 07:38:16 +0000 (07:38 -0000)]
2004-03-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ThreadAbortException.cs: use same HResult as MS.
* Timer.cs: abort the running thread when disposing the Timer. This
fixes NullRefs when finishing xsp.

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

20 years ago2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Mar 2004 06:43:13 +0000 (06:43 -0000)]
2004-03-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: this test for sigaltstack works.

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

20 years ago2004-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 21 Mar 2004 06:02:29 +0000 (06:02 -0000)]
2004-03-21  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
  This fixes bug #55856.

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

20 years ago2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 21 Mar 2004 01:05:21 +0000 (01:05 -0000)]
2004-03-20  Sebastien Pouliot  <sebastien@ximian.com>

* SignedXmlTest.cs: Renamed GetPublicKey to PublicGetPublicKey to
remove warning.

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

20 years ago2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 21 Mar 2004 01:03:10 +0000 (01:03 -0000)]
2004-03-20 Sebastien Pouliot  <sebastien@ximian.com>

* SignedXml.cs: Removed unused (and commented) ComputeHash method.

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

20 years ago2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 20 Mar 2004 23:59:33 +0000 (23:59 -0000)]
2004-03-20  Sebastien Pouliot  <sebastien@ximian.com>

* .cvsignore: Ignore Phaos test suite files.

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

20 years ago2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 20 Mar 2004 23:52:53 +0000 (23:52 -0000)]
2004-03-20  Sebastien Pouliot  <sebastien@ximian.com>

* crypto: Updated status after 0.31 release.

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

20 years ago2004-03-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Mar 2004 22:41:57 +0000 (22:41 -0000)]
2004-03-20  Martin Baulig  <martin@ximian.com>

* gen-44.cs: New generics test for operators.

* gen-21.cs: Use the new `default(T)' syntax.

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

20 years ago2004-03-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Mar 2004 22:38:30 +0000 (22:38 -0000)]
2004-03-20  Martin Baulig  <martin@ximian.com>

* class.cs (MethodData.DeclaringType): New public property.
(MethodData.Define): Set DeclaringType here.
(Operator.Define): Use OperatorMethod.MethodData.DeclaringType
instead of OperatorMethodBuilder.DeclaringType.

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

20 years ago2004-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Mar 2004 22:24:04 +0000 (22:24 -0000)]
2004-03-20  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Disable sigaltstack test for now since it can hang.

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

20 years ago2004-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Mar 2004 22:02:47 +0000 (22:02 -0000)]
2004-03-20  Zoltan Varga  <vargaz@freemail.hu>

* driver.c: Print SIGSEGV handling method.

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

20 years ago2004-03-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Mar 2004 22:00:41 +0000 (22:00 -0000)]
2004-03-20  Martin Baulig  <martin@ximian.com>

* cs-tokenizer.cs (xtoken): Return a special
Token.DEFAULT_OPEN_PARENS for "`default' followed by open parens".

* cs-parser.jay (default_value_expression): Switch to the new
syntax (14.5.13).

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

20 years ago2004-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Mar 2004 21:41:08 +0000 (21:41 -0000)]
2004-03-20  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add test for working sigaltstack.

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

20 years ago2004-03-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Mar 2004 21:15:39 +0000 (21:15 -0000)]
2004-03-19  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberName): New class.  We use this to "construct"
namespace_or_type_name's.

* generics.cs (TypeArguments.GetDeclarations): New public method;
returns the type arguments as a string[] and reports a CS0081 if
one of them is not an identifier.

* class.cs (MemberBase): The .ctor now takes the name as a
MemberName instead of a string.
(MemberBase.ExplicitInterfaceName): Changed type from string to
Expression.
(MemberBase.DoDefine): If we're an explicit implementation, the
InterfaceType may be a generic instance.

* cs-parser.jay (namespace_or_type_name): Return a MemberName.
(namespace_name): Call MemberName.GetName () to transform the
MemberName into a string and ensure we don't have any type
arguments.
(type_name): Call MemberName.GetTypeExpression() to transfrom the
MemberName into an expression.
(method_header): Use namespace_or_type_name instead of member_name.

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

20 years agobuild fixie for 1.2
Ben Maurer [Sat, 20 Mar 2004 20:19:49 +0000 (20:19 -0000)]
build fixie for 1.2

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

20 years ago2004-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Mar 2004 20:16:13 +0000 (20:16 -0000)]
2004-03-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_free_jit_tls_data): Add missing ifdef.

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

20 years ago2004-03-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 20 Mar 2004 19:51:06 +0000 (19:51 -0000)]
2004-03-20  Atsushi Enomoto  <atsushi@ximian.com>

* class.cs : csc build fix for GetMethods(). See bug #52503.

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

20 years agotest for fp comparison
Ben Maurer [Sat, 20 Mar 2004 19:49:57 +0000 (19:49 -0000)]
test for fp comparison

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

20 years ago2004-03-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Mar 2004 19:49:24 +0000 (19:49 -0000)]
2004-03-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Make sure fp comparisons work with NaN.
This fixes bug #54303. Mig approved this patch a long
time ago, but we were not able to test b/c the runtime
had a related bug.

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

20 years ago2004-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Mar 2004 19:05:57 +0000 (19:05 -0000)]
2004-03-20  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (setup_jit_tls_data): Handle case when this is called
multiple times for a thread.

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

20 years ago2004-03-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Mar 2004 17:54:20 +0000 (17:54 -0000)]
2004-03-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c cpu-pentium.md: Fix floating point branch opcodes so fbxx
is different from fbxx_un. Fixes #54303. Also use constants instead of
magic numbers in a lot of places.

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