mono.git
19 years ago2005-04-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Apr 2005 14:21:51 +0000 (14:21 -0000)]
2005-04-06  Zoltan Varga  <vargaz@freemail.hu>

* solaris_pthreads.c (GC_pthread_detach): Add locking.

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

19 years ago2005-04-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Apr 2005 14:04:22 +0000 (14:04 -0000)]
2005-04-06  Zoltan Varga  <vargaz@freemail.hu>

* include/gc_pthread_redirects.h (pthread_detach): Override pthread_detach too.

* solaris_pthreads.c (GC_pthread_detach): Override pthread_detach too. Fixes
#74223.

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

19 years agoAdd man page
Miguel de Icaza [Wed, 6 Apr 2005 14:02:14 +0000 (14:02 -0000)]
Add man page

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

19 years ago2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Apr 2005 13:01:37 +0000 (13:01 -0000)]
2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>

* locales.c,
  icall.c : removed InternalToUpper_Comp() and
  InternalToLower_Comp().

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

19 years ago2005-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 6 Apr 2005 12:55:25 +0000 (12:55 -0000)]
2005-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* postecho.cs: Fix some strings.
* sendback.aspx: ASP.NET version of the server script.
* README: updated instructions with the new script.

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

19 years agoAdd checks for libsupport
Miguel de Icaza [Wed, 6 Apr 2005 12:46:43 +0000 (12:46 -0000)]
Add checks for libsupport

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

19 years agoAdd
Miguel de Icaza [Wed, 6 Apr 2005 11:38:14 +0000 (11:38 -0000)]
Add

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

19 years agoVerbose usage message.
Joerg Rosenkranz [Wed, 6 Apr 2005 09:32:30 +0000 (09:32 -0000)]
Verbose usage message.

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

19 years ago2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Apr 2005 09:04:24 +0000 (09:04 -0000)]
2005-04-06  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngPattern.cs : fixed incorrect use of virtual.

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

19 years ago2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Apr 2005 09:03:05 +0000 (09:03 -0000)]
2005-04-06  Atsushi Enomoto <atsushi@ximian.com>

* NvdlValidator.cs : fixed warning.

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

19 years ago2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Apr 2005 08:46:21 +0000 (08:46 -0000)]
2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>

* Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.

* TextInfo.cs : To make new CultureInfo (127) as invariant, it should
  not compare object Equals() against InvariantCulture.

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

19 years ago2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Apr 2005 08:44:49 +0000 (08:44 -0000)]
2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>

* char-conversions.h : The tables were incorrectly generated. Should
  be generated against invariant culture.

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

19 years ago2005-04-06 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Wed, 6 Apr 2005 08:25:07 +0000 (08:25 -0000)]
2005-04-06 Ritvik Mayank <mritvik@novell.com>
      by Sudharsan V <vsudharsan@novell.com>
* class.cs: correction for reflecting the correct Line No. in the Error message

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

19 years ago2005-04-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 6 Apr 2005 07:50:36 +0000 (07:50 -0000)]
2005-04-06  Marek Safar  <marek.safar@seznam.cz>

* class.cs (VerifyMembers): Doesn't need EmitContext argument.
Warning CS0169 is back at level 3.
(IMethodData.SetMemberIsUsed): New method.

* decl.cs (IsUsed): New value; moved from FieldBase.Status
(SetMemberIsUsed, IsUsed): New methods, encapsulate IsUsed.

* delegate.cs (ResolveMethodGroupExpr): Call SetMemberIsUsed.

* ecore.cs (FieldExpr.ResolveMemberAccess): Call SetMemberIsUsed for
contants.
(PropertyExpr.ResolveAccessors): Call SetMemberIsUsed when delegate
is used.

* expression.cs (OverloadResolve): Call SetMemberIsUsed. when method
is used.

* rootcontext.cs (RootContext.EmitCode): Call VerifyMembers in extra run
to avoid the problems with nested types.

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

19 years agoOops
Miguel de Icaza [Wed, 6 Apr 2005 01:30:07 +0000 (01:30 -0000)]
Oops

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

19 years agoAdd properly ifdefed stuff
Miguel de Icaza [Tue, 5 Apr 2005 23:52:09 +0000 (23:52 -0000)]
Add properly ifdefed stuff

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

19 years agoAdd optional handling features
Miguel de Icaza [Tue, 5 Apr 2005 23:51:47 +0000 (23:51 -0000)]
Add optional handling features

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

19 years agoMONO_DISABLE_SHM and redirects
Miguel de Icaza [Tue, 5 Apr 2005 23:39:06 +0000 (23:39 -0000)]
MONO_DISABLE_SHM and redirects

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

19 years agoRemove unmanaged monod
Miguel de Icaza [Tue, 5 Apr 2005 23:36:39 +0000 (23:36 -0000)]
Remove unmanaged monod

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

19 years agoAdd script for mono-service
Miguel de Icaza [Tue, 5 Apr 2005 23:35:52 +0000 (23:35 -0000)]
Add script for mono-service

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

19 years agoAdd mono-service
Miguel de Icaza [Tue, 5 Apr 2005 23:35:36 +0000 (23:35 -0000)]
Add mono-service

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

19 years ago2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Apr 2005 22:44:39 +0000 (22:44 -0000)]
2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* Hash.cs: Added Assert for FileIOPermission to GetData so it's
possible to get the Hash evidence under partial trust.

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

19 years ago2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Apr 2005 22:43:35 +0000 (22:43 -0000)]
2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Added Assert for FileIOPermission to LoadConfig so
the configuration can be read under partial trust.

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

19 years agoCommit refresh of the API from running 'make refresh'
Miguel de Icaza [Tue, 5 Apr 2005 22:14:10 +0000 (22:14 -0000)]
Commit refresh of the API from running 'make refresh'

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

19 years ago2005-04-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 5 Apr 2005 22:13:41 +0000 (22:13 -0000)]
2005-04-05  Miguel de Icaza  <miguel@novell.com>

* Syscall.cs: Set entry point for sys_syslog to be syslog.
Include the syslog.h header in the generated map so that we
actually do the mapping.

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

19 years ago * BindingContext.cs: Use weak references so these bad actors don't
Jackson Harper [Tue, 5 Apr 2005 21:32:15 +0000 (21:32 -0000)]
* BindingContext.cs: Use weak references so these bad actors don't
stay alive longer then they need to.

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

19 years ago2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Apr 2005 19:57:20 +0000 (19:57 -0000)]
2005-04-05  Atsushi Enomoto  <atsushi@ximian.com>

* TextInfo.cs : Fixed ToTitleCase() so that
  - handle some titlecase characters in Latin ang Greek.
  - it keeps "all title case" word as is ("ABC" does not become "Abc").
  - it can handle such string like "1ABc".

* TextInfoTest.cs : added further ToTitleCase() tests.

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

19 years ago * ListControl.cs: Basic implementation of complex databinding.
Jackson Harper [Tue, 5 Apr 2005 19:27:46 +0000 (19:27 -0000)]
* ListControl.cs: Basic implementation of complex databinding.
* ComboBox.cs:
* ListBox.cs: Add calls to ListControl databinding methods.

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

19 years agoAdded Novell.Directory.Ldap.Rfc2251/RfcLdapSuperDN.cs to sources.
Boris Kirzner [Tue, 5 Apr 2005 15:27:55 +0000 (15:27 -0000)]
Added Novell.Directory.Ldap.Rfc2251/RfcLdapSuperDN.cs to sources.

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

19 years agoLdapModifyDNRequest.cs : create RfcModifyDNRequest with RfcLdapSuperDN instead of...
Boris Kirzner [Tue, 5 Apr 2005 15:24:45 +0000 (15:24 -0000)]
LdapModifyDNRequest.cs : create RfcModifyDNRequest with RfcLdapSuperDN instead of RfcLdapDN.

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

19 years agoFix for : According to RFC 2251 newSuperior should be sent as context-specific 0...
Boris Kirzner [Tue, 5 Apr 2005 15:22:59 +0000 (15:22 -0000)]
Fix for : According to RFC 2251 newSuperior should be sent as context-specific 0 type rather than octet string.
RfcLdapSuperDN.cs : added new class that represents context-specific 0 type.
RfcModifyDNRequest.cs : constructor now receives RfcLdapSuperDN.

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

19 years agoIn mcs:
Raja R Harinath [Tue, 5 Apr 2005 15:03:54 +0000 (15:03 -0000)]
In mcs:
2005-04-05  Abin Thomas  <projectmonokochi@rediffmail.com>
    Anoob V.E  <projectmonokochi@rediffmail.com>
    Harilal P.R  <projectmonokochi@rediffmail.com>
    Raja R Harinath  <rharinath@novell.com>

Fix #73820.
* delegate.cs (Define): Emit ParamArrayAttribute for 'params'
attribute.
* typemanager (GetConstructor): Make public.

In tests:
* mtest-8-dll.cs, mtest-8-exe.cs: New test from #73820.

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

19 years ago2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Tue, 5 Apr 2005 15:02:48 +0000 (15:02 -0000)]
2005-04-05  Alexander Olk  <xenomorph2@onlinehome.de>

* FileDialog.cs:
  - Don't change PopupButtonState to Normal when the
    PopupButton gets pressed several times.
  - Renamed ButtonPanel to PopupButtonPanel

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

19 years ago2005-04-05 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Tue, 5 Apr 2005 14:48:17 +0000 (14:48 -0000)]
2005-04-05 Ritvik Mayank <mritvik@novell.com>
      Patch Submitted by Sudharsan V <vsudharsan@novell.com>
* mb-parser.jay : correction for reflecting the correct Line No. in the Error message

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

19 years ago2005-04-05 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Tue, 5 Apr 2005 14:25:04 +0000 (14:25 -0000)]
2005-04-05 Ritvik Mayank <mritvik@novell.com>
* test-mbas.make : Minor change .

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

19 years ago2005-04-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 5 Apr 2005 14:12:22 +0000 (14:12 -0000)]
2005-04-05  Lluis Sanchez Gual  <lluis@novell.com>

* FAMWatcher.cs: Fix cast exception when disposing watchers.

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

19 years agoFix comment
Raja R Harinath [Tue, 5 Apr 2005 13:46:59 +0000 (13:46 -0000)]
Fix comment

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

19 years ago2005-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Apr 2005 13:46:34 +0000 (13:46 -0000)]
2005-04-05  Zoltan Varga  <vargaz@freemail.hu>

* mph.h: Apply patch from the freebsd ports collection.

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

19 years ago2005-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Apr 2005 13:41:51 +0000 (13:41 -0000)]
2005-04-05  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix isinf detection on solaris.

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

19 years ago2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Apr 2005 13:38:28 +0000 (13:38 -0000)]
2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomainCas.cs: New. Permission (CAS) unit tests for AppDomain.

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

19 years ago2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Apr 2005 13:36:32 +0000 (13:36 -0000)]
2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* _AppDomain.cs: Add security checks to the interface. Declarative
security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
with older MCS.
* AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
blocking some cases from working properly. Declarative security on
events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.

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

19 years ago2005-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Apr 2005 13:20:01 +0000 (13:20 -0000)]
2005-04-05  Zoltan Varga  <vargaz@freemail.hu>

* dump.c dis-cil.c: Apply patches from freebsd ports collection.

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

19 years ago2005-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Apr 2005 13:13:47 +0000 (13:13 -0000)]
2005-04-05  Zoltan Varga  <vargaz@freemail.hu>

* jni.c: Apply patch from freebsd ports tree.

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

19 years agoops, extra )
Jordi Mas i Hernandez [Tue, 5 Apr 2005 13:00:42 +0000 (13:00 -0000)]
ops, extra )

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

19 years agoIn mcs:
Raja R Harinath [Tue, 5 Apr 2005 12:50:19 +0000 (12:50 -0000)]
In mcs:
2005-04-05  John Luke  <john.luke@gmail.com>
    Raja R Harinath  <rharinath@novell.com>

Fix #62232.
* typemanager.cs (IsUnmanagedType): Check non-public fields of a
struct too.  Return false quicker in a few cases.
(VerifyUnManaged): Use it.

In errors:
* cs0208-5.cs, cs0208-6.cs: New tests from #62232.

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

19 years ago2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 5 Apr 2005 12:48:03 +0000 (12:48 -0000)]
2005-04-05  Jordi Mas i Hernandez <jordi@ximian.com>

* ColorDialog.cs: Use cached objects instead of creating them
* LinkLabel.cs: Use cached objects instead of creating them
* Splitter.cs: Use cached objects instead of creating them
* FontDialog.cs: Use cached objects instead of creating them
* PropertyGridView.cs: Use cached objects instead of creating them
* MessageBox.cs: Use cached objects instead of creating them
* FileDialog.cs: Use cached objects instead of creating them
* ThemeWin32Classic.cs: Use cached objects instead of creating them
* TreeView.cs: Use cached objects instead of creating them

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

19 years ago2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Apr 2005 11:57:59 +0000 (11:57 -0000)]
2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyBuilder.cs: Don't call GetCurrentDirectory if building an
assembly that will never be serialized to disk (because CAS may not
allow disk access but still allow generating a in-memory assembly).

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

19 years ago2005-04-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 5 Apr 2005 11:22:35 +0000 (11:22 -0000)]
2005-04-05  Lluis Sanchez Gual <lluis@novell.com>

* TemplateControlCompiler.cs: Don't autogenerate IDs for
controls inside Content template.

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

19 years ago2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 5 Apr 2005 10:20:09 +0000 (10:20 -0000)]
2005-05-05  Lluis Sanchez Gual <lluis@novell.com>

* SoapTypeMapper.cs: Added missing maps for primitive types and
fixed bool conversion to string. This patch by Luke Ravitch
fixes bug #74295.

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

19 years agoFix #74041.
Raja R Harinath [Tue, 5 Apr 2005 09:29:43 +0000 (09:29 -0000)]
Fix #74041.
* mcs/statement.cs (Block.Resolve): Initialize 'unreachable' to false,
not 'unreachable_seen'.
* tests/test-360.cs: New test from #74041.

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

19 years ago2005-04-05 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 5 Apr 2005 09:25:59 +0000 (09:25 -0000)]
2005-04-05  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcParameter.cs: SqlBindParameter requires the last parameter
to be a ref.
* libodbc.cs: API change for above.

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

19 years ago2005-04-04 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Tue, 5 Apr 2005 07:44:13 +0000 (07:44 -0000)]
2005-04-04  Joerg Rosenkranz <joergr@voelcker.com>

        * monod.c: Verbose usage output.

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

19 years ago* monod.c: Refer to mono/mini/jit.h.
Raja R Harinath [Tue, 5 Apr 2005 06:13:51 +0000 (06:13 -0000)]
* monod.c: Refer to mono/mini/jit.h.

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

19 years agoIn tests/attributes:
Ritvik Mayank [Tue, 5 Apr 2005 05:28:55 +0000 (05:28 -0000)]
In tests/attributes:
2005-04-05 Ritvik Mayank <mritvik@novell.com>
* AttributesClassNoparameterA.vb
* AttributesClassA.vb
* AttributesClassB.vb
* AttributesClassBothSuffixA.vb
* AttributesClassC.vb
* AttributesClassUseA.vb
* AttributesClassUseB.vb
* AttributesClassUseC.vb
* AttributesClassUseD.vb
* AttributesNewA.vb
* AttributesNewB.vb
Added the above test cases

2005-04-04 Ritvik Mayank <mritvik@novell.com>
* Moved all the Attribute Test Cases to this folder
In tests:
2005-04-04 Ritvik Mayank <mritvik@novell.com>
* Moved the test cases to respective directories

In errors:
2005-04-05 Ritvik Mayank <mritvik@novell.com>
* AttributesMustInheritClassA1.vb
* AttributesClassC1.vb
* AttributesArguments1.vb
* AttributesClassUseADecimal1.vb
* AttributesClassUseADate1.vb
* AttributesArguments2.vb
* AttributesArguments3.vb
* AttributesClassUseNoSingle1.vb
* AttributesArguments4.vb
* TypeValRefVoidA1.vb
* AttributesClassUseA1.vb
Added the above test cases

2005-04-04 Ritvik Mayank <mritvik@novell.com>
Moved All the 'types' Test Cases to this directory
In tests/types:
2005-04-05 Ritvik Mayank <mritvik@novell.com>
* TypeValRefStringA.vb
* TypeValRefArrayA.vb
* TypeValRefC.vb
* TypeValRefB.vb
* TypeValRefVoidA1.vb
* TypeObjectA.vb
* TypeValRefA.vb
* TypeStructureA.vb
Added the above Test Cases

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

19 years agoRemove monod from the build, a new C# version is coming
Miguel de Icaza [Tue, 5 Apr 2005 05:19:03 +0000 (05:19 -0000)]
Remove monod from the build, a new C# version is coming

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

19 years agooops
Miguel de Icaza [Tue, 5 Apr 2005 00:02:18 +0000 (00:02 -0000)]
oops

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

19 years agoVariable name style fix
Miguel de Icaza [Mon, 4 Apr 2005 23:01:46 +0000 (23:01 -0000)]
Variable name style fix

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

19 years agoLine ends; Restore to monod until we have a good name
Miguel de Icaza [Mon, 4 Apr 2005 21:50:14 +0000 (21:50 -0000)]
Line ends;  Restore to monod until we have a good name

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

19 years agoChange name
Miguel de Icaza [Mon, 4 Apr 2005 21:48:27 +0000 (21:48 -0000)]
Change name

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

19 years ago2005-04-04 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Mon, 4 Apr 2005 20:23:58 +0000 (20:23 -0000)]
2005-04-04  Joerg Rosenkranz <joergr@voelcker.com>

        * monod.c: First commit: Daemon for running services built
        with System.ServiceProcess under Linux.

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

19 years ago2005-04-04 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Mon, 4 Apr 2005 20:20:24 +0000 (20:20 -0000)]
2005-04-04  Joerg Rosenkranz <joergr@voelcker.com>

        * monod.c: First commit: Daemon for running services built
        with System.ServiceProcess under Linux.

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

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

* exceptions-x86.c (mono_arch_find_jit_info): Remove last SC_EBP reference.

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

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

* AssemblyName.cs: Added a demand for SerializationFormatter on
GetObjectData method.

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

19 years ago2005-04-04 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 4 Apr 2005 19:23:07 +0000 (19:23 -0000)]
2005-04-04  Ben Maurer  <bmaurer@ximian.com>

* Thread.cs: Do argument checking for Current[UI]Culture to make
the exception more clear for a null value being set.

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

19 years ago * AssemblyNameTest.cs: Added tests for Clone and serialization without
Sebastien Pouliot [Mon, 4 Apr 2005 19:02:51 +0000 (19:02 -0000)]
* AssemblyNameTest.cs: Added tests for Clone and serialization without
a strongname.
* AssemblyNameCas.cs: New. CAS unit tests for AssemblyName.
* StrongNameKeyPairTest.cs: Little changes to make it easier to reuse
in CAS tests.
* StrongNameKeyPairCas.cs: New. CAS unit tests for StrongNameKeyPair.

2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>

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

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

* StrongNameKeyPair.cs: Added demands for unmanaged code to all
constructors (as we do not want partially trusted code to create
strongnamed assemblies).

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

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

* invoke.cs: Add new test.

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

19 years ago2005-04-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 4 Apr 2005 15:47:10 +0000 (15:47 -0000)]
2005-04-04  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_runtime_invoke_array): Fix return value when
passing pre-created valuetype objects to ctors.

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

19 years ago2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 4 Apr 2005 14:40:01 +0000 (14:40 -0000)]
2005-04-04  Jordi Mas i Hernandez <jordi@ximian.com>

* Control.cs: use Equals to compare the font since no == op
* ScrollBar.cs: use Equals to compare the font since no == op

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

19 years ago2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Apr 2005 14:39:38 +0000 (14:39 -0000)]
2005-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* System.Security.dll.sources: added XmlSignatureStreamReader.cs.

* XmlSignatureStreamReader.cs : new file. Handles Stream to rip CR off.
* XmlDsigXPathTransform.cs,
  XmlDecryptionTransform.cs,
  XmlDsigC14NTransform.cs,
  XmlDsigEnvelopedSignatureTransform.cs,
  XmlDsigXsltTransform.cs : use XmlSignatureStreamReader for Streams.

* XmlCanonicalizer.cs : don't rip &#xD; off here.

* XmlDsigC14NTransformTest.cs :
  Reverted last change in LoadInputAsXmlNodeList2(). It is MS bug.
  It now handles Load() behavioral difference between Stream and
  XmlDocument as expected.

* Makefile : Fixed reference to Mono.Security.dll. Added decent-reader
  option that indicates to use CR ('\r') stripping TextReader.
* xmldsig.cs : use CR-stripping TextReader (optionally).

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

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

* mini-x86.c (mono_emit_stack_alloc): Fix localloc under windows.

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

19 years ago2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 4 Apr 2005 13:47:46 +0000 (13:47 -0000)]
2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Net/NtlmClient.cs: fix typo in assembly name.
* Assembly/Consts.cs: added constants for Mono.Http.dll

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

19 years ago* cs1521-2.cs: Change 'class' to a 'struct' to narrow down the
Raja R Harinath [Mon, 4 Apr 2005 13:40:43 +0000 (13:40 -0000)]
* cs1521-2.cs: Change 'class' to a 'struct' to narrow down the
testcase to having only the mentioned error.  With the previous
code, CS0208 was also appropriate.

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

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

* GCHandleTest.cs: Add test for calling Alloc with null.

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

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

* gc.c (mono_gchandle_is_in_domain): Applied patch from Jon Larimer
(jlarimer@gmail.com). Avoid crashes when the wrapper object is null.
Fixes #74338.

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

19 years ago2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Mon, 4 Apr 2005 13:13:57 +0000 (13:13 -0000)]
2005-04-04  Alexander Olk  <xenomorph2@onlinehome.de>

* SaveFileDialog.cs: Open stream in OpenFile with FileMode Create

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

19 years ago2005-04-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 4 Apr 2005 13:12:52 +0000 (13:12 -0000)]
2005-04-04  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.h exceptions-x86.c: Hopefully fix compilation on *BSD.

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

19 years ago2005-04-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 4 Apr 2005 13:07:51 +0000 (13:07 -0000)]
2005-04-04  Zoltan Varga  <vargaz@freemail.hu>

* get.c (get_constant): Applied patch from Ankit Jain (radical@gmail.com). Fixes #74367.

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

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

* AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
on the AppDomain. Added an internal property to get the granted set.

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

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

* Evidence.cs: Build the default host evidences requires access to the
file system even if running on partial trust (so we assert it).

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

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

* AssemblyNameTest.cs: Add test for ArgumentNullException on
GetObjectData. Made existing tests more nunit2.2 like.
* ModuleCas.cs: Added new tests for FullyQualifiedName and Name
properties.
* ModuleTest.cs: Add test for ArgumentNullException on GetObjectData.

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

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

* AssemblyName.cs: Implemented EscapedCodeBase using the copy of
System.Uri (System.dll) located in Mono.Security.Uri. Added missing
null check in GetObjectData.
* Module.cs: Added a FileIOPermission for PathDiscovery on
FullyQualifiedName property (but not on Name property like MS).
Added missing null check in GetObjectData.

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

19 years ago2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Apr 2005 12:07:51 +0000 (12:07 -0000)]
2005-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* String.cs,
  Char.cs : use TextInfo for ToLower() and ToUpper().

* TextInfo.cs : implemented culture sensitive ToLower() and ToUpper()
  which behaves exactly the same as MS.NET does.

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

19 years ago(Dictionary.CopyTo, HashKeyCollection.CopyTo, HashValueCollection.CopyTo):
Raja R Harinath [Mon, 4 Apr 2005 11:31:34 +0000 (11:31 -0000)]
(Dictionary.CopyTo, HashKeyCollection.CopyTo, HashValueCollection.CopyTo):
Add some argument checks.

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

19 years ago2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 4 Apr 2005 11:23:49 +0000 (11:23 -0000)]
2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>

* Color.cs: take into account the name color in == and != operators
* Font.cs: Use Equals instead of == to compare the family name
* FontFamily.cs:
   -  Removes generic fontfamilies cache (done at libgdiplus level)
   -  Fixes Equals method

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

19 years agoIn System.Collections.Generic:
Raja R Harinath [Mon, 4 Apr 2005 10:48:49 +0000 (10:48 -0000)]
In System.Collections.Generic:
* Dictionary.cs: Update to draft of Feb 27.  Add some argument checks.
(GetSlot): Don't throw KeyNotFoundException.  Unify all list
traversals in here.  Move found key to head of chain, and return
the index of the chain suitable for/containing the key.
(Item, Add, Remove): Simplify, and remove FIXMEs.
(Resize): Reuse linked list nodes from old table.

In Test/System.Collections.Generic:
* DictionaryTest.cs: Update.

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

19 years agoIn Test/System.Data.Common:
Sureshkumar T [Mon, 4 Apr 2005 09:42:19 +0000 (09:42 -0000)]
In Test/System.Data.Common:
2005-04-04  Sureshkumar T  <tsureshkumar@novell.com>

* DbConnectionStringBuilderTest.cs: few more tests ignored for now
because of gmcs incompatiability with csc. generic types are not
being able to be assigned to non-generic types though implements
non-generic interface.

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

* System.Data_test.dll.sources: Added
Test/System.Data.Common/DbConnectionStringBuilderTest.cs

* System.Data.dll.sources: Added
System.Data.Common/DbConnectionStringBuilder.cs

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

19 years ago2005-04-04 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Mon, 4 Apr 2005 08:27:22 +0000 (08:27 -0000)]
2005-04-04  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: Ignore BaseTableName & BaseColumnName
properties while building Schema information as most drivers
ignores these properties. e.g. PostgreSQL.

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

19 years ago2005-04-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 4 Apr 2005 08:20:37 +0000 (08:20 -0000)]
2005-04-04  Marek Safar  <marek.safar@seznam.cz>

* MonoSymbolFile.cs: Removed unused fields.

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

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

* attribute.cs (Attribute.GetValue): Removed unused.

* codegen.cs (CodeGen.TrimExt): Removed unused.

* cs-parser.jay (output): Removed unused.

* cs-tokenizer.cs (hex_digits): Removed unused.

* enum.cs (MapToInternalType, GetEnumeratorName): Removed unused.

* expression.cs (Indirection.LoadExprValue): Removed unused.
(ArrayCreation.ExpressionToArrayArgument): Removed unused.

* iterators.cs (Iterator.param_types): Removed unused.

* statement.cs (Goto.block): Removed unused.
(ToplevelBlock.did): Removed unused.
(Switch.ResolveConstantSwitch): Removed unused.

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

19 years ago2005-04-04 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Mon, 4 Apr 2005 07:51:28 +0000 (07:51 -0000)]
2005-04-04  Sureshkumar T  <tsureshkumar@novell.com>

* Tds50.cs: Pass parameters to the server. cut & paste from
Tds70.cs. To make the parmeters work with SybaseClient.

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

19 years ago2005-04-04 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Mon, 4 Apr 2005 04:32:29 +0000 (04:32 -0000)]
2005-04-04 Ritvik Mayank <mritvik@novell.com>
* ConditionalStatementsC10.vb
* ConstructorC1.vb
* ExceptionHandlingC4.vb
* MustInheritC3.vb
* ExceptionHandlingC6.vb
* ModuleTestC4.vb
* InterfaceC6.vb
* ExternalSourceDirectivesC2.vb
* EnumC4.vb
Correction in Line No.

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

19 years agoMoved the tests to respective directories
Ritvik Mayank [Mon, 4 Apr 2005 04:28:56 +0000 (04:28 -0000)]
Moved the tests to respective directories

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

19 years ago2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 4 Apr 2005 03:45:57 +0000 (03:45 -0000)]
2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: remove unused async IO code.

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

19 years agoDo a move to kill signs of hackishness
Ben Maurer [Sun, 3 Apr 2005 17:24:50 +0000 (17:24 -0000)]
Do a move to kill signs of hackishness

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

19 years agoIn .:
Ben Maurer [Sun, 3 Apr 2005 17:24:12 +0000 (17:24 -0000)]
In .:
2005-04-03  Ben Maurer  <bmaurer@ximian.com>

* System.Xml.dll.sources: Kill multiplexing hack.

In System.Xml.Xsl:
2005-04-03  Ben Maurer  <bmaurer@ximian.com>

* *.cs: Kill unmanaged xslt and the multiplexing hack.

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

19 years agoIn .:
Ben Maurer [Sat, 2 Apr 2005 19:44:08 +0000 (19:44 -0000)]
In .:
2005-04-02  Ben Maurer  <bmaurer@ximian.com>

* corlib_test.dll.sources: Add new test.

In Test/System.Collections.Generic:
2005-04-02  Ben Maurer  <bmaurer@ximian.com>

* DictionaryTest.cs: new test.

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

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

* Dictionary.cs: Real impl.

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

19 years ago* configure.in (pkg_config_path): Rename from PKG_PATH. Fix build
Raja R Harinath [Sat, 2 Apr 2005 14:06:36 +0000 (14:06 -0000)]
* configure.in (pkg_config_path): Rename from PKG_PATH.  Fix build
with pkgconfig 0.16.0.

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

19 years ago* Makefile: Added '/r:Microsoft.VisualBasic.dll' to the compile
Jambunathan K [Sat, 2 Apr 2005 13:55:00 +0000 (13:55 -0000)]
* Makefile: Added '/r:Microsoft.VisualBasic.dll' to the compile
command line.

* driver.cs (UnixParseOption, CSCParseOption): Added
'/optioncompare:[text|binary]' command line option.

* rootcontext.cs (StringComparisonMode): Added. Keeps track of the
'/optioncompare:' command line option.

* typemanager.cs (InitVisualBasicHelperTypes,
InitVisualBasicCodeHelpers): New routines that preload frequently
used types and helper methods available in
Microsoft.Visualbasic.dll.

(IsFixedNumericType, IsFloatingNumericType,IsNumericType): New
VB.NET specific helper routines. Added in anticipation of a future
use.

* ecore.cs (HelperMethodInvocation): Added. Implements the same
functionality as the earlier vaguely named class
'ImplicitInvocation'. This class uses the 'type cache' of
Microsoft.VisualBasic helper methods now available in the
TypeManager.

* convert.cs (WideningConstantConversions): Reimplemented. The
earlier implementation was completely topsy-turvy.  Propagated the
changes relating to the introduction of 'HelperMethodInvocation'.

* mb-parser.jay: Added rule and action for 'Like' expression.
* mb-tokenizer.cs (keywords): Cleaned up the extra space in the
'let', 'lib' and 'like' entries.

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