mono.git
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

19 years ago2005-04-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 2 Apr 2005 00:27:36 +0000 (00:27 -0000)]
2005-04-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CachedVaryBy.cs: fixed VaryByParam and wildcard (*). Patch by Ilya
Kharmatsky (Mainsoft) that fixes bug #73981.

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

19 years ago2005-04-01 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 1 Apr 2005 23:49:28 +0000 (23:49 -0000)]
2005-04-01  Ben Maurer  <bmaurer@ximian.com>

* rootcontext.cs: Allow mcs to bootstrap with the compilation
resetting thingy.

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

19 years ago * BindingManagerBase.cs:
Jackson Harper [Fri, 1 Apr 2005 22:31:19 +0000 (22:31 -0000)]
* BindingManagerBase.cs:
* PropertyManager.cs:
* CurrencyManager.cs: Add IsSuspended property.

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

19 years ago class/PEAPI.cs: Metadata tables that must be sorted are sorted
Jackson Harper [Fri, 1 Apr 2005 22:29:08 +0000 (22:29 -0000)]
class/PEAPI.cs: Metadata tables that must be sorted are sorted
now.
Fixes the code for ParamAttr.Opt. Fix bug #73517.

        ilasm/codegen/MethodDef.cs: Added method AddParamDefaultValue
        for adding DefaultValue to a method parameter.
        ilasm/codegen/ParamDef.cs: Added method AddDefaultValue and
handling of
        default value.

        ilasm/parser/ILParser.jay(method_decl): Add default value for
        a method param.

        Patches by Ankit Jain

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

19 years ago * Binding.cs: Implement IsBinding.
Jackson Harper [Fri, 1 Apr 2005 21:07:11 +0000 (21:07 -0000)]
* Binding.cs: Implement IsBinding.

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

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

* transform.cs:
* transform.js: replace transform.js with transform.cs

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

19 years ago * Binding.cs: Had some IsAssignableFrom calls backwards.
Jackson Harper [Fri, 1 Apr 2005 19:03:51 +0000 (19:03 -0000)]
* Binding.cs: Had some IsAssignableFrom calls backwards.

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

19 years ago * Binding.cs: Handle null data members when pulling data.
Jackson Harper [Fri, 1 Apr 2005 18:36:22 +0000 (18:36 -0000)]
* Binding.cs: Handle null data members when pulling data.
* PropertyManager.cs: Handle the data member being a property
that
does not exist.

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

19 years ago2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Apr 2005 17:29:55 +0000 (17:29 -0000)]
2005-04-01  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/ButtonField.cs
System.Web.UI.WebControls/CheckBoxField.cs
System.Web.UI.WebControls/DataControlFieldHeaderCell.cs
System.Web.UI.WebControls/HiddenField.cs
System.Web.UI.WebControls/ImageField.cs
System.Web.UI.WebControls/ObjectDataSource.cs
System.Web.UI.WebControls/ObjectDataSourceView.cs
System.Web.UI.WebControls/TemplateField.cs

2003-03-31  Stefan Grling <stefan@gorling.se>

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

19 years ago2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Apr 2005 17:29:21 +0000 (17:29 -0000)]
2005-04-01  Lluis Sanchez Gual <lluis@novell.com>

* ButtonField.cs: Mostly implemented.
* DataControlFieldHeaderCell.cs: Implemented.
* ObjectDataSourceView.cs: Initial implementation.
* DataControlButton.cs: Added support for real buttons.
* Label.cs, DataControlField.cs: Flush.
* ObjectDataSource.cs: Initial implementation.
* HiddenField.cs: Added class stub.
* GridView.cs: Load autogenerated field properties before
creating the children, to make sure that column info is ready.
* ControlParameter.cs: Implemented Evaluate method.
* ImageField.cs: Added class stub.
* BoundField.cs: Added HtmlEncode property.
* DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
to its own file.
* CheckBoxField.cs: Mostly implemented.
* TemplateField.cs: Added class stub.
* ObjectDataSourceSelectingEventArgs.cs: Added missing property.
* ObjectDataSourceMethodEventArgs.cs: Fixed base class.
* Parameter.cs: Added internal GetValue method (Evaluate is protected)

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

19 years ago2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Apr 2005 17:29:02 +0000 (17:29 -0000)]
2005-04-01  Lluis Sanchez Gual <lluis@novell.com>

* DataSourceView.cs: Rethrow exceptions not handled by operation
callbacks.
* ITextControl.cs: Removed event.
* CollectionBuilder.cs: Don't crash when a collection has more
than one indexer.

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

19 years ago2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 1 Apr 2005 17:28:43 +0000 (17:28 -0000)]
2005-04-01  Lluis Sanchez Gual <lluis@novell.com>

* CachedRawResponse.cs: Fix warning.

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

19 years ago2005-04-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 1 Apr 2005 16:57:17 +0000 (16:57 -0000)]
2005-04-01  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c mini-sparc.h: Add asserts when running with sigaltstack.

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

19 years agoIn mcs:
Raja R Harinath [Fri, 1 Apr 2005 14:27:58 +0000 (14:27 -0000)]
In mcs:
2005-04-01  Raja R Harinath  <rharinath@novell.com>

Fix #74232 and cs0208-3.cs.
* expression.cs (ComposedCast.DoResolveAsTypeStep): Add CS0208 check.
* typemanager.cs (IsUnmanagedType): Don't allow 'object' as an
unmanaged type.  Don't use FieldBuilders when 't' is a
TypeBuilder.  Use ModFlags and MemberType fields.
* class.cs (MemberBase.member_type): Rename from MemberType.
(MemberBase.MemberType): New property.  Determines member_type on
demand.
(MemberBase.DoDefine): Don't initialize MemberType here.
(FieldMember.Define): Likewise.

In errors:
* TestRunner.cs (TestRunner): Make "KNOWN ISSUE" messages slightly
more verbose.
* cs0208-4.cs: New test from #74232.

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

19 years ago2005-04-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 1 Apr 2005 14:09:39 +0000 (14:09 -0000)]
2005-04-01  Marek Safar  <marek.safar@seznam.cz>

Fix #74241
* class.cs (Event.Emit): Call Add/Remove emit even for interfaces.
Attributes are emitted there.

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

19 years ago2005-04-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 1 Apr 2005 13:22:09 +0000 (13:22 -0000)]
2005-04-01  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix sigaltstack detection on solaris.

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

19 years agoIn mcs:
Raja R Harinath [Fri, 1 Apr 2005 12:54:27 +0000 (12:54 -0000)]
In mcs:
* cs-tokenizer.cs (consume_identifier): Treat 'partial' as a
keyword in 'partial enum' too.
* cs-parser.jay (enum_declaration): Add CS0267 check ('partial enum'
is not allowed).
Report from Kamil Skalski <nazgul@omega.pl>.

Fix #74309.
* rootcontext.cs (ResolveTree): The 'root.Interfaces' list can
have partial containers too.

In tests:
* test-359.cs: New test from #74309.
In errors:
* cs0267.cs: New.  Mentioned in passing in #74309.

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

19 years ago * DataGridTextBoxColumn.cs: fixes signature
Jordi Mas i Hernandez [Fri, 1 Apr 2005 12:52:03 +0000 (12:52 -0000)]
* DataGridTextBoxColumn.cs: fixes signature
* DataGrid.cs: calls right constructor

2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>

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

19 years ago* ecore.cs (SimpleName.SimpleNameResolve): Move 'invariant meaning
Raja R Harinath [Fri, 1 Apr 2005 11:21:39 +0000 (11:21 -0000)]
* ecore.cs (SimpleName.SimpleNameResolve): Move 'invariant meaning
in block' checks to Block.CheckInvariantMeaningInBlock.
* statement.cs (Block.GetKnownVariableInfo): Make private.
(Block.IsVariableUsedInChildBlock): Remove.
(Block.IsVariableUsedInBlock): Likewise.
(Block.CheckInvariantMeaningInBlock): New.  Show location of
conflicting declaration.
(Block.AddVariable): Make error messages less long-winded and more
specific.  Show location of conflicting declaration.
* parameter.cs (Parameters.Location): New readonly property.

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

19 years agoNew test included for code coverage.
Raja R Harinath [Fri, 1 Apr 2005 10:30:04 +0000 (10:30 -0000)]
New test included for code coverage.

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

19 years agoAdd new classes to the build
Jordi Mas i Hernandez [Fri, 1 Apr 2005 08:34:47 +0000 (08:34 -0000)]
Add new classes to the build

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

19 years ago2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 1 Apr 2005 08:33:30 +0000 (08:33 -0000)]
2005-04-01  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
* GridColumnStylesCollection.cs: implements GridColumnStylesCollection
* GridTableStylesCollection.cs: implements GridTableStylesCollection
* DataGridTableStyle.cs: implements DataGridTableStyle
* DataGridBoolColumn.cs: implements DataGridBoolColumn
* DataGridTextBox.cs: implements DataGridTextBox
* DataGridColumnStyle.cs: implements DataGridColumnStyle

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

19 years ago2005-04-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Mar 2005 23:00:01 +0000 (23:00 -0000)]
2005-04-01  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c (mono_arch_monoctx_to_sigctx): Fix cygwin build.

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

19 years ago2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Mar 2005 21:44:57 +0000 (21:44 -0000)]
2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityExceptionCas.cs: Added new tests for GetObjectData.

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

19 years ago* SecurityException.cs: Added try/catch in GetObjectData because the PermissionState...
Sebastien Pouliot [Thu, 31 Mar 2005 21:43:29 +0000 (21:43 -0000)]
* SecurityException.cs: Added try/catch in GetObjectData because the PermissionState property is serialized only if both ControlEvidence and ControlPolicy are granted.

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

19 years ago2005-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 31 Mar 2005 21:39:52 +0000 (21:39 -0000)]
2005-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequestTest.cs: added cookie handling test.

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

19 years ago2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Mar 2005 21:39:19 +0000 (21:39 -0000)]
2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* FileIOPermissionTest.cs: Added a test case for a filename starting
with the "file://" scheme (which isn't valid).

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

19 years ago2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Thu, 31 Mar 2005 19:20:29 +0000 (19:20 -0000)]
2005-03-31  Alexander Olk  <xenomorph2@onlinehome.de>

* FileDialog.cs: Added simple PopupButton class for ButtonPanel

  - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
    returns a path that includes CompanyName, ProductName and
* TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,

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

19 years ago2005-03-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 Mar 2005 17:31:55 +0000 (17:31 -0000)]
2005-03-31  Atsushi Enomoto  <atsushi@ximian.com>

* MSXslScriptManager.cs : added TARGET_JVM switch (that does not
  support CodeDom). Use Guid.ToString("N").

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

19 years ago2005-03-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 Mar 2005 17:23:38 +0000 (17:23 -0000)]
2005-03-31  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : removed extraneous using_directive.

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

19 years agoClean up semantics of invoking ResolveMemberAccess.
Raja R Harinath [Thu, 31 Mar 2005 14:40:40 +0000 (14:40 -0000)]
Clean up semantics of invoking ResolveMemberAccess.
* ecore.cs (SimpleName.DoSimpleNameResolve): If a MemberExpression
can have an instance, ensure that we pass in a non-TypeExpression
to ResolveMemberAccess.  Tighten up IdenticalNameAndTypeName checks.
(MemberExpr.DoSimpleNameResolve): Remove type_is_inferred
argument.  Update to changes and simplify.
(FieldExpr.Emitinstance): Remove CS0120 check.
(PropertyExpr.EmitInstance): Likewise.
* expression.cs (Argument.Resolve): Likewise.
(Invocation.DoResolve): Update to changes in semantics of
InstanceExpression.

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

19 years ago2005-03-31 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 31 Mar 2005 14:34:55 +0000 (14:34 -0000)]
2005-03-31  Marek Safar  <marek.safar@seznam.cz>

Fix #74241
* class.cs (AbstractPropertyEventMethod.EmitMethod): Enable emit method
customization.

* decl.cs (MemberCache.AddMethods): Fix infinite loop.

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

19 years agoremove already fixed testcase. The false negative was fixed by the
Raja R Harinath [Thu, 31 Mar 2005 14:25:57 +0000 (14:25 -0000)]
remove already fixed testcase.  The false negative was fixed by the
driver.cs fix.

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

19 years agoFix difference in behaviour with commandline invocation.
Raja R Harinath [Thu, 31 Mar 2005 14:24:25 +0000 (14:24 -0000)]
Fix difference in behaviour with commandline invocation.
* driver.cs (Driver.Reset): New.
(CompilerCallableEntryPoint): Call it.

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

19 years ago2005-03-31 Alp Toker <alp@atoker.com>
Alp Toker [Thu, 31 Mar 2005 14:13:44 +0000 (14:13 -0000)]
2005-03-31  Alp Toker  <alp@atoker.com>

        * GCHandle.cs: Clearer ArgumentException text in the case of a
        null-valued IntPtr argument.

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

19 years ago2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Mar 2005 13:55:21 +0000 (13:55 -0000)]
2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* ExceptionTest.cs: Added check for ArgumentNullException on
GetObjectData method.

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

19 years ago2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Mar 2005 13:47:55 +0000 (13:47 -0000)]
2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>
* Exception.cs: Added Assert for TypeInformation to GetObjectData and
ToString methods (not required for 2.0 as TypeInformation will be
deprecated). Added null check for GetObjectData.

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

19 years ago2005-03-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Mar 2005 13:47:38 +0000 (13:47 -0000)]
2005-03-31  Zoltan Varga  <vargaz@freemail.hu>

* stack-overflow.cs: New tests, not yet enabled.

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

19 years ago2005-03-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Mar 2005 13:46:51 +0000 (13:46 -0000)]
2005-03-31  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: If sigaltstack support is enabled, perform win32 style
stack touching.

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

19 years ago2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Mar 2005 13:44:03 +0000 (13:44 -0000)]
2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* ResourceReaderCas.cs: New. CAS unit tests for ResourceReader.
* ResourceReaderTest.cs: Changed filename to internal so the "normal"
tests case can be reused, with partial trust, by the CAS tests.
* ResourceSetCas.cs: : New. CAS unit tests for ResourceSet.

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

19 years ago2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Mar 2005 13:40:08 +0000 (13:40 -0000)]
2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>

*  ResourceReader.cs, ResourceSet.cs: Added a LinkDemand for
SerializationFormatter when using a Stream constructor (other ctors
have different security - e.g. FileIOPermission for opening a file).

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

19 years ago2005-03-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Mar 2005 13:21:26 +0000 (13:21 -0000)]
2005-03-31  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (mono_arch_sigctx_to_monoctx): New arch-specific function.

* mini.h (mono_arch_monoctx_to_sigctx): New arch-specific function.

* mini.c: sigaltstack support requires MONO_ARCH_USE_SIGACTION.

* mini-x86.h mini-x86.c exceptions-x86.c: Add support for
MONO_ARCH_USE_SIGACTION. Fixes #74252.

* mini-x86.h: Enable MONO_ARCH_USE_SIGACTION on linux.

* mini-x86.c: Fix up stack overflow handling.

* exceptions.cs: Add new regression test.

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

19 years ago* statement.cs (If.Resolve): Avoid spurious "uninitialized
Raja R Harinath [Thu, 31 Mar 2005 10:50:58 +0000 (10:50 -0000)]
* statement.cs (If.Resolve): Avoid spurious "uninitialized
variable" warnings if the boolean expression failed to resolve.

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