mono.git
19 years agoDon't report errors without location.
Martin Baulig [Wed, 26 Jan 2005 09:30:05 +0000 (09:30 -0000)]
Don't report errors without location.

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

19 years agoNew test.
Martin Baulig [Wed, 26 Jan 2005 09:22:54 +0000 (09:22 -0000)]
New test.

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

19 years ago2005-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 26 Jan 2005 09:22:17 +0000 (09:22 -0000)]
2005-01-26  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (indexer_declarator): Don't report an error if we
have type parameters since we can be an explicit interface
implementation; fixes #71449.

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

19 years ago2005-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 26 Jan 2005 08:47:32 +0000 (08:47 -0000)]
2005-01-26  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.AttributeTargets): Return the correct
AttributeTargets depending on our `Kind' instead of throwing an
exception; fixes #71632.

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

19 years ago2005-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 26 Jan 2005 08:46:42 +0000 (08:46 -0000)]
2005-01-26  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.AttributeTargets): Return the correct
AttributeTargets depending on our `Kind' instead of throwing an
exception; fixes #71632.

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

19 years agoNew test.
Martin Baulig [Wed, 26 Jan 2005 08:45:42 +0000 (08:45 -0000)]
New test.

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

19 years agoMake the compiler happy.
Martin Baulig [Wed, 26 Jan 2005 08:38:50 +0000 (08:38 -0000)]
Make the compiler happy.

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

19 years agoFix warnings.
Martin Baulig [Wed, 26 Jan 2005 08:37:22 +0000 (08:37 -0000)]
Fix warnings.

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

19 years agoFix warnings.
Martin Baulig [Wed, 26 Jan 2005 08:36:37 +0000 (08:36 -0000)]
Fix warnings.

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

19 years agoNew tests.
Martin Baulig [Wed, 26 Jan 2005 08:31:34 +0000 (08:31 -0000)]
New tests.

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

19 years ago2005-01-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 26 Jan 2005 08:31:18 +0000 (08:31 -0000)]
2005-01-25 Marek Safar <marek.safar@seznam.cz>

* cs0176-4.cs: Bug #71257.

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

19 years ago2005-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 26 Jan 2005 08:31:18 +0000 (08:31 -0000)]
2005-01-26  Martin Baulig  <martin@ximian.com>

* delegate.cs (Delegate.DefineType): Correctly define our type
parameters.  Fixes #71483.

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

19 years ago2005-01-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 26 Jan 2005 08:27:14 +0000 (08:27 -0000)]
2005-01-26  Marek Safar  <marek.safar@seznam.cz>

Fix #71257
* expression.cs (MemberAccess.ResolveMemberAccess): Add CS0176 test for
constant members.

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

19 years agoNew test.
Martin Baulig [Wed, 26 Jan 2005 08:18:51 +0000 (08:18 -0000)]
New test.

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

19 years ago2005-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 26 Jan 2005 08:16:36 +0000 (08:16 -0000)]
2005-01-26  Martin Baulig  <martin@ximian.com>

* mini.c (mono_method_to_ir): In CEE_UNBOX_ANY, don't increase
`ip' twice.

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

19 years agoUpdated.
Martin Baulig [Wed, 26 Jan 2005 07:44:40 +0000 (07:44 -0000)]
Updated.

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

19 years ago**** Merged r39428-r39544 from MCS ****
Martin Baulig [Wed, 26 Jan 2005 07:40:12 +0000 (07:40 -0000)]
**** Merged r39428-r39544 from MCS ****

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

19 years ago**** Merged r39207-r39428 from MCS ****
Martin Baulig [Wed, 26 Jan 2005 07:39:10 +0000 (07:39 -0000)]
**** Merged r39207-r39428 from MCS ****

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

19 years ago**** Merged r39145 from MCS ****
Martin Baulig [Wed, 26 Jan 2005 07:38:26 +0000 (07:38 -0000)]
**** Merged r39145 from MCS ****

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

19 years ago**** Merged r39058 from MCS ****
Martin Baulig [Wed, 26 Jan 2005 07:35:34 +0000 (07:35 -0000)]
**** Merged r39058 from MCS ****

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

19 years ago**** Merged r387370-r38910 from MCS ****
Martin Baulig [Wed, 26 Jan 2005 07:33:13 +0000 (07:33 -0000)]
**** Merged r387370-r38910 from MCS ****

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

19 years ago**** Merged r38695 from MCS ****
Martin Baulig [Wed, 26 Jan 2005 07:31:07 +0000 (07:31 -0000)]
**** Merged r38695 from MCS ****

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

19 years ago2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Jan 2005 06:22:23 +0000 (06:22 -0000)]
2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
  Eliminate "throw new Exception".

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

19 years ago2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Jan 2005 06:17:13 +0000 (06:17 -0000)]
2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* DirectoryEntry.cs, DirectoryEntries.cs :
  eliminate "throw new Exception".

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

19 years ago2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Jan 2005 05:54:45 +0000 (05:54 -0000)]
2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* Tokenizer.cs : just throw SyntaxErrorException instead of Exception.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Jan 2005 05:44:49 +0000 (05:44 -0000)]
2005-01-25  Atsushi Enomoto <atsushi@ximian.com>

* XPathEditableDocument.cs : eliminating "throw new Exception".

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

19 years ago... I had missing ChangeLog :(
Atsushi Eno [Wed, 26 Jan 2005 05:33:52 +0000 (05:33 -0000)]
... I had missing ChangeLog :(

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

19 years ago2005-01-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 Jan 2005 21:29:17 +0000 (21:29 -0000)]
2005-01-25  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_call_opcode): Add missing MONO_SSA_LOAD/STORE
flags.

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

19 years ago2005-01-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 Jan 2005 21:05:10 +0000 (21:05 -0000)]
2005-01-25  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (PLATFORM_DISABLED_TESTS): Disable some tests on x86 as well.

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

19 years ago2005-01-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 Jan 2005 20:54:31 +0000 (20:54 -0000)]
2005-01-25  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (PLATFORM_DISABLED_TESTS): Disable appdomain-unload.exe
on amd64 to make the test green again.

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

19 years ago2005-01-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 Jan 2005 20:06:37 +0000 (20:06 -0000)]
2005-01-25  Zoltan Varga  <vargaz@freemail.hu>

* ssa.c (mono_ssa_compute): Fix crashes when using AOT.

* aot.c (mono_compile_assembly): Fix a warning.

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

19 years ago2005-01-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 25 Jan 2005 19:18:16 +0000 (19:18 -0000)]
2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>

* TcpServerTransportSink.cs: Set IPAddress and ConnectionId
transport headers. This fixes bug #71423.
* TcpServerChannel.cs: Use Socket instead of TcpClient, so we can
easily get the IP address of the client. Added properties in
ClientConnection to get the IP address and the connection id.

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

19 years ago2005-01-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 25 Jan 2005 19:17:59 +0000 (19:17 -0000)]
2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>

* HttpServer.cs: Use a single stream for in an out stream, since they
where the same. Set IPAddress and ConnectionId transport headers.

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

19 years ago2005-01-25 LLuis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 25 Jan 2005 17:53:23 +0000 (17:53 -0000)]
2005-01-25  LLuis Sanchez Gual  <lluis@novell.com>

* Win32Exception.cs: Set the correct name for the serialized
NativeErrorCode. This fixes bug #71572. Fix by Aleksandar Dezelin.

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

19 years ago2005-01-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 25 Jan 2005 17:39:38 +0000 (17:39 -0000)]
2005-01-25  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSchemaImporter.cs: When importing a default value of type enum,
translate it from the schema value to the clr value.

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

19 years agoTue Jan 25 18:06:00 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 25 Jan 2005 16:58:37 +0000 (16:58 -0000)]
Tue Jan 25 18:06:00 CET 2005 Paolo Molaro <lupus@ximian.com>

* domain.c, object.c: change the ldstr_table to hold
MonoString* as keys: makes the runtime isinterned lookup
faster and simplifies memory management.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 16:16:07 +0000 (16:16 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DataTableTest.cs : finally run-test-ondotnet passes (i.e.
  fixed incompatibility).

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

19 years ago2005-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 15:06:05 +0000 (15:06 -0000)]
2005-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* reflection.c: Return security attributes on the original MonoMethod
(and not the wrapped one). This fix permissions on icalls.

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

19 years ago2005-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 15:04:54 +0000 (15:04 -0000)]
2005-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* declsec.c: Look for security attributes on the original MonoMethod
(and not the wrapped one). This fix permissions on icalls.

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

19 years ago * macros.c: Use gint64, not long, to match C# declaration. Fixes 71152.
Jonathan Pryor [Tue, 25 Jan 2005 14:56:23 +0000 (14:56 -0000)]
  * macros.c: Use gint64, not long, to match C# declaration.  Fixes 71152.

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

19 years ago2005-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 14:24:45 +0000 (14:24 -0000)]
2005-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* icall.c: Renamed GetEnvironmentVariable so internal* so it was
possible to add imperative security checks before calling the icall.

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

19 years ago2005-01-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Jan 2005 14:15:25 +0000 (14:15 -0000)]
2005-01-25  Dick Porter  <dick@ximian.com>

        * icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Make
        the check for mktime() support actually test the mktime() return
        value.  "Fixes" bug 71682, though the output is still different to
        MS.

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

19 years agoOops that fix wasn't merged with gmcs yesterday
Sebastien Pouliot [Tue, 25 Jan 2005 14:04:32 +0000 (14:04 -0000)]
Oops that fix wasn't merged with gmcs yesterday

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

19 years ago2005-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 13:59:31 +0000 (13:59 -0000)]
2005-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Now use Environment.InternalGetFolderPath to
avoid recursion when initializing security policies.

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 13:50:30 +0000 (13:50 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* Directory.cs: Added CAS security to Get|SetCurrentDirectory to
complete Environment security checks.

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 13:48:30 +0000 (13:48 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Added CAS security (both declarative and imperative)
as a test. This shouldn't affect execution unless --security is
specified.

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

19 years agoFix #71602.
Raja R Harinath [Tue, 25 Jan 2005 12:59:26 +0000 (12:59 -0000)]
Fix #71602.
* mcs/expression.cs (MemberAccess.DoResolve): Don't complain with
cs0572 when the LHS of a member access has identical name and type name.
* tests/test-338.cs: New test for #71602.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 12:36:25 +0000 (12:36 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DataViewTest.cs : With a tiny fix, removed NotDotNet.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 12:31:32 +0000 (12:31 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DataRow.cs : (set_Item) RowNotInTableExeption check should be done
  regardless of index existence.

* DataRowTest.cs : added DetachedRowItemException().
* DataSetTest.cs : WriteXmlSchema7() is now NotWorking.

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

19 years agolistbox, comboxes keyboard fixes, focus item, Selection.Multiextended, etc
Jordi Mas i Hernandez [Tue, 25 Jan 2005 11:35:29 +0000 (11:35 -0000)]
listbox, comboxes keyboard fixes, focus item, Selection.Multiextended, etc

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

19 years agooops.
Raja R Harinath [Tue, 25 Jan 2005 10:46:47 +0000 (10:46 -0000)]
oops.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 10:12:14 +0000 (10:12 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs, ColumnReference.cs, BooleanExpression.cs,
  Aggregation.cs, Literal.cs : added EvalBoolean() to avoid extraneous
  boxing in RowFilter.

* DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
  boxing.

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

19 years ago * DataTable.cs: ImportRow :Do not add to rows collection if the
Sureshkumar T [Tue, 25 Jan 2005 10:10:16 +0000 (10:10 -0000)]
* DataTable.cs: ImportRow :Do not add to rows collection if the
import row is in detached state.

2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>

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

19 years ago2005-01-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 25 Jan 2005 09:30:21 +0000 (09:30 -0000)]
2005-01-25  Marek Safar  <marek.safar@seznam.cz>

Fix #71651, #71675
* attribute.cs (ExtractSecurityPermissionSet): Catch exceptions from
CreatePermission.
Create custom PermissionSet only for PermissionSetAttribute.

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

19 years agoadd more tests
Marek Safar [Tue, 25 Jan 2005 09:27:32 +0000 (09:27 -0000)]
add more tests

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

19 years ago2005-01-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 25 Jan 2005 09:26:04 +0000 (09:26 -0000)]
2005-01-25 Marek Safar <marek.safar@seznam.cz>

* cs0647-14.cs: Bug #71651.

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

19 years agoIn Test/System.Data:
Sureshkumar T [Tue, 25 Jan 2005 09:06:33 +0000 (09:06 -0000)]
In Test/System.Data:
2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>

* DataTableTest.cs: added test case for checking ImportRow when
the row state is detached. Test case by Ankit Jain.

In System.Data:
2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>

* DataRow.cs: CopyValuesToRow : set the column value with the
default version of the given row.
* DataTable.cs: ImportRow: Copy values before adding row.
* DataSet.cs: AddChangedRow: Add the row to the table after
copying values.

Fixes bug #67317. Patch by Ankit Jain.

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

19 years agoecore.cs : Added support for Implicit numeric conversions
Sachin Kumar [Tue, 25 Jan 2005 08:54:59 +0000 (08:54 -0000)]
ecore.cs : Added support for Implicit numeric conversions

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 08:19:18 +0000 (08:19 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
* DataRow.cs : Expose editing status internally.

* DataRowViewTest.cs : added IsEdit tests and Item tess (not working).

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

19 years ago* runtime/Makefile.am ($(tmpinst)/config): New test support file.
Raja R Harinath [Tue, 25 Jan 2005 07:36:36 +0000 (07:36 -0000)]
* runtime/Makefile.am ($(tmpinst)/config): New test support file.
Map 'MonoPosixHelper' to in-tree version.
($(tmpinst)/bin/mono): Use it.
(mcs-do-run-test-profiles): Use $(tmpinst)/bin/mono as the RUNTIME.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 07:34:24 +0000 (07:34 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DataView.cs : missing attributes.

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

19 years ago2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Jan 2005 06:38:16 +0000 (06:38 -0000)]
2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* DbDataPermission.cs : Empty.Union(Empty) is Empty.

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

19 years ago2005-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Jan 2005 05:15:07 +0000 (05:15 -0000)]
2005-01-25  Martin Baulig  <martin@ximian.com>

* Makefile: Only use the `ilasm' target in the "default" profile.

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

19 years ago2005-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Jan 2005 04:42:52 +0000 (04:42 -0000)]
2005-01-25  Martin Baulig  <martin@ximian.com>

* doc.cs
(DocUtil.emptyParamList): Removed; use `Type.EmptyTypes' instead.

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

19 years ago**** Merged r38686-r39428 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 03:45:39 +0000 (03:45 -0000)]
**** Merged r38686-r39428 from MCS ****

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 02:36:37 +0000 (02:36 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* WindowsIdentity.cs: Added security permissions for ControlPrincipal
when creating new instances of WindowsIdentity.

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

19 years ago2005-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Jan 2005 02:34:47 +0000 (02:34 -0000)]
2005-01-25  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_is_assignable_from): Make this work for
generic instances.

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 02:31:58 +0000 (02:31 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Made ThrowSecurityException static so it
can be reused from PermissionSet.
* SecurityManager.cs: Use the new icalls for SecurityEnabled and
CheckExecutionRights properties. Fix IsGranted for unrestricted
permissions. Set type correctly when loading policy files.
* PermissionSet.cs: Now supports unrestricted permission set when
evaluating demands.

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 02:18:30 +0000 (02:18 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* FileIOPermission.cs: Removed old commented code and a LAMESPEC (as
current documentation has been corrected).

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 01:58:28 +0000 (01:58 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Add SkipVerification to assembly RequestMinimum
security permissions.

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

19 years ago**** Merged r38527-r38598 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 01:56:22 +0000 (01:56 -0000)]
**** Merged r38527-r38598 from MCS ****

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

19 years ago2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 Jan 2005 01:53:39 +0000 (01:53 -0000)]
2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>

* EnvironmentTest.cs: Updated to NUnit 2.2 syntax. Added some tests
(mostly for NET_2_0).

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

19 years ago**** Merged r38418-r38487 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 01:52:55 +0000 (01:52 -0000)]
**** Merged r38418-r38487 from MCS ****

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

19 years ago**** Merged r38173-r38413 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 01:44:16 +0000 (01:44 -0000)]
**** Merged r38173-r38413 from MCS ****

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

19 years ago**** Merged r37885-r38042 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 01:39:51 +0000 (01:39 -0000)]
**** Merged r37885-r38042 from MCS ****

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

19 years ago**** Merged r37880 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 01:36:04 +0000 (01:36 -0000)]
**** Merged r37880 from MCS ****

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

19 years ago2005-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Jan 2005 01:02:31 +0000 (01:02 -0000)]
2005-01-25  Martin Baulig  <martin@ximian.com>

* XmlNode.cs (XmlNode.SchemaInfo): Mark this as not CLS-compliant
to avoid a CS3025.

* XmlReaderSettings.cs (XmlReaderSettings.XmlResolver): Mark this
as not CLS-compliant to avoid a CS3025.

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

19 years ago2005-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Jan 2005 01:02:08 +0000 (01:02 -0000)]
2005-01-25  Martin Baulig  <martin@ximian.com>

* XmlSchemaSet.cs (XmlSchemaSet.XmlResolver): Mark this as
not CLS-compliant to avoid a CS3025.

* XmlSchemaType.cs (XmlSchemaType.ValueConverter): Mark this as
not CLS-compliant to avoid a CS3025.

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

19 years agoAvoid CS0441: A static class cannot be sealed.
Martin Baulig [Tue, 25 Jan 2005 00:41:01 +0000 (00:41 -0000)]
Avoid CS0441: A static class cannot be sealed.

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

19 years ago**** Merged r37868 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 00:15:31 +0000 (00:15 -0000)]
**** Merged r37868 from MCS ****

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

19 years ago**** Merged r37860 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 00:07:43 +0000 (00:07 -0000)]
**** Merged r37860 from MCS ****

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

19 years ago**** Merged r37835-r37843 from MCS ****
Martin Baulig [Tue, 25 Jan 2005 00:01:00 +0000 (00:01 -0000)]
**** Merged r37835-r37843 from MCS ****

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

19 years ago**** Merged r37755-r37791 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 23:55:05 +0000 (23:55 -0000)]
**** Merged r37755-r37791 from MCS ****

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

19 years ago**** Merged r37687-r37734 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 23:53:16 +0000 (23:53 -0000)]
**** Merged r37687-r37734 from MCS ****

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

19 years ago**** Merged r37543-r37663 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 23:47:58 +0000 (23:47 -0000)]
**** Merged r37543-r37663 from MCS ****

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

19 years ago**** Merged r37411-r37541 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 23:45:09 +0000 (23:45 -0000)]
**** Merged r37411-r37541 from MCS ****

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

19 years ago**** Merged r37312-r37380 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 23:39:23 +0000 (23:39 -0000)]
**** Merged r37312-r37380 from MCS ****

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

19 years ago**** Merged r37288 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 23:27:00 +0000 (23:27 -0000)]
**** Merged r37288 from MCS ****

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

19 years ago**** Merged r37267 and r37274 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 22:59:09 +0000 (22:59 -0000)]
**** Merged r37267 and r37274 from MCS ****

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

19 years ago**** Merged r37266 from MCS ****
Martin Baulig [Mon, 24 Jan 2005 22:32:24 +0000 (22:32 -0000)]
**** Merged r37266 from MCS ****

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

19 years ago2005-01-24 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 24 Jan 2005 17:52:02 +0000 (17:52 -0000)]
2005-01-24  Marek Safar <marek.safar@seznam.cz>

* test-287.cs: Incorporated test for #71649.

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

19 years ago2005-01-24 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 24 Jan 2005 17:47:58 +0000 (17:47 -0000)]
2005-01-24  Marek Safar  <marek.safar@seznam.cz>

Fix #71649
* class.cs (StaticClass.DefineContainerMembers): Enable enums and
delegates in static class.

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

19 years ago2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 Jan 2005 16:52:24 +0000 (16:52 -0000)]
2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : quick csc build fix (tested on mcs as well).

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

19 years ago2005-01-24 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 24 Jan 2005 16:42:07 +0000 (16:42 -0000)]
2005-01-24  Ben Maurer  <bmaurer@ximian.com>
* marshal.c (mono_string_utf8_to_builder)
(mono_string_builder_to_utf16): We might not have ownership of the
string. In thise case, we need to create a new buffer.

* object-internals.h (mono_stringbuilder_capacity): sb->str might
be null, in which case, use the default capacity.

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

19 years agooops, this file was not saved before commit.
Atsushi Eno [Mon, 24 Jan 2005 16:28:56 +0000 (16:28 -0000)]
oops, this file was not saved before commit.

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

19 years ago2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 Jan 2005 16:28:11 +0000 (16:28 -0000)]
2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>

* System.Data_test.dll.sources : added DataRowViewTest.cs.

* DataRowView.cs : implemented CreateChildView().

* DataRowViewTest.cs : added new file.

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

19 years ago2005-01-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 Jan 2005 16:27:14 +0000 (16:27 -0000)]
2005-01-24  Martin Baulig  <martin@ximian.com>

* test-337.cs: New test for #63842.

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

19 years ago2005-01-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 Jan 2005 16:26:39 +0000 (16:26 -0000)]
2005-01-24  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
merging an implicit block, just use its reachability.

* statement.cs (Block.Resolve): Make the unreachable code check
work wrt. implicit blocks; see test-337 from #63842.

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

19 years agoAdd missing test
Miguel de Icaza [Mon, 24 Jan 2005 15:54:48 +0000 (15:54 -0000)]
Add missing test

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

19 years agoRevert Miguel's commit since he forgot to actually add the test.
Martin Baulig [Mon, 24 Jan 2005 15:48:31 +0000 (15:48 -0000)]
Revert Miguel's commit since he forgot to actually add the test.

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