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

19 years agoMon Jan 24 16:42:29 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Jan 2005 15:31:10 +0000 (15:31 -0000)]
Mon Jan 24 16:42:29 CET 2005 Paolo Molaro <lupus@ximian.com>

* gc-internal.h, null-gc.c, profiler.c, boehm-gc.c: hook the
GC events to the profiler.

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

19 years agoMon Jan 24 16:39:42 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Jan 2005 15:29:23 +0000 (15:29 -0000)]
Mon Jan 24 16:39:42 CET 2005 Paolo Molaro <lupus@ximian.com>

* alloc.c, include/gc.h: add event notification, mostly from
a patch by Ben Maurer.

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

19 years agoMon Jan 24 15:59:54 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Jan 2005 14:49:34 +0000 (14:49 -0000)]
Mon Jan 24 15:59:54 CET 2005 Paolo Molaro <lupus@ximian.com>

* gc.c: remove valgrind detection nonsense. Set GC_DONT_GC
if you don't want the GC to run.

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

19 years agoMon Jan 24 15:53:25 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 Jan 2005 14:44:57 +0000 (14:44 -0000)]
Mon Jan 24 15:53:25 CET 2005 Paolo Molaro <lupus@ximian.com>

* Makefile.am, gc.c, mono-gc.h, boehm-gc.c, null-gc.c, gc-internal.h:
start providing a GC API and keeping different implementations in
their own file.
* profiler.h, profiler.c, profiler-private.h: provide the GC events API.

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

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

* DataSetReadXmlSchemaTest.cs : test labels were ambiguous.
* DataViewTest.cs : indentation was heavily broken.

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

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

* DataTable.cs, DataView.cs :
  Optimized DataView to compile only once RowFilter and Sort when
  those properties are set. To make it possible, extracted
  SortableColumn out of DataTable and added internal DataTable.Select()
  that accepts precompiled IExpression and SortableColumns[].

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

19 years agoAdd System.Security.dll cyclic dependency only in NET2.0 related profiles.
Raja R Harinath [Mon, 24 Jan 2005 13:29:13 +0000 (13:29 -0000)]
Add System.Security.dll cyclic dependency only in NET2.0 related profiles.

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

19 years agoAdd circular dependency on System.Security.dll.
Raja R Harinath [Mon, 24 Jan 2005 13:02:14 +0000 (13:02 -0000)]
Add circular dependency on System.Security.dll.
* class/Makefile (bootstrap_dirs): Add Mono.Security and System.Security
ahead of System.
(SUBDIRS): Move Mono.Security and System.Security ahead of System.
* class/System/Makefile (XML_DEP, XML_DEP_FILE): Rename from CYCLIC_DEP and
CYCLIC_DEP_FILE.
(SECURITY_DEP, SECURITY_DEP_FILE): Parallel defines for expressing
cyclic dependency on System.Security.dll.
(CYCLIC_DEPS, CYCLIC_DEP_FILES): New.  Used to detect which of the
dependencies are present.
(echo-warning, LIB_MCS_FLAGS): Update to reflect new circular
dependencies.

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

19 years ago* library.make (run-test-lib, run-test-ondotnet-lib): Print out the log.
Raja R Harinath [Mon, 24 Jan 2005 10:07:43 +0000 (10:07 -0000)]
* library.make (run-test-lib, run-test-ondotnet-lib): Print out the log.

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

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

* DataColumn.cs : set_MaxLength is not allowed when it is mapped to
  SimpleContent. (However, it is weird but it never fails when we set
  ColumnMapping = MappingType.SimpleContent when we have MaxLength.)

* DataColumnTest.cs : Added SetMaxLength().

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

19 years agoadd files to the prj
Jordi Mas i Hernandez [Mon, 24 Jan 2005 08:39:13 +0000 (08:39 -0000)]
add files to the prj

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

19 years ago2005-01-20 Joerg Rosenkranz (joergr@voelcker.com)
Joerg Rosenkranz [Mon, 24 Jan 2005 07:57:32 +0000 (07:57 -0000)]
2005-01-20  Joerg Rosenkranz (joergr@voelcker.com)

       * TypeDescriptorTests.cs: Added tests for bug #71444

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

19 years ago2005-01-24 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Mon, 24 Jan 2005 07:52:37 +0000 (07:52 -0000)]
2005-01-24 Joerg Rosenkranz <joergr@voelcker.com>

        * TypeDescriptor.cs: Changed handling of interfaces and objects
        in GetConverter to reflect the behaviour of .NET. This fixes bug
        #71444.

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

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

* store2.xsd, store3.xsd, store4.xsd : Added.
* DataSetTest.cs :
  Disabled ReadWriteXmlSchema() and ReadWriteXmlSchemaIgnoreSchema()
  for now. See the details in the code.

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

19 years agoundo all those hacks I added for 2.0
Ben Maurer [Mon, 24 Jan 2005 01:28:36 +0000 (01:28 -0000)]
undo all those hacks I added for 2.0

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

19 years ago2005-01-24 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 23 Jan 2005 22:55:22 +0000 (22:55 -0000)]
2005-01-24  Nick Drochak  <ndrochak@ieee.org>

* ServicePointManagerTest.cs: Make sure we have some Service Points
when we try to get one.

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

19 years ago2005-01-23 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sun, 23 Jan 2005 22:28:02 +0000 (22:28 -0000)]
2005-01-23  Geoff Norton  <gnorton@customerdna.com>

        * os_dir.c: Change GC_task_self to be static everywhere on Darwin.
        Allows gcc4.0 to compile.

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

19 years ago2005-01-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Sun, 23 Jan 2005 22:26:28 +0000 (22:26 -0000)]
2005-01-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * NpgsqlTypes/NpgsqlTypes.cs,
        Npgsql.dll.sources,
        Npgsql/NpgsqlParameter.cs,
        Npgsql/NpgsqlConnection.cs,
        Npgsql/NpgsqlCommand.cs,
        Npgsql/NpgsqlParameterCollection.cs,
        Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
        * NpgsqlTypes/NpgsqlTypesHelper.cs: Added patch for gborg 1121. Thanks regmaster (regmaster at gmx dot li) and torben (torben-spam-npsql at nehmer dot net) for patch.

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

19 years ago- Fixed CreateParams behaviour, now controls derived from form can properly
Peter Dennis Bartok [Sun, 23 Jan 2005 22:25:54 +0000 (22:25 -0000)]
- Fixed CreateParams behaviour, now controls derived from form can properly
  override CreateParams.
- Added missing attributes
- Dropped RefreshWindow from driver interface

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

19 years ago2005-01-23 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sun, 23 Jan 2005 22:25:24 +0000 (22:25 -0000)]
2005-01-23  Geoff Norton  <gnorton@customerdna.com>

        * dirent.c: Include <unistd.h> to bring off_t in on gcc4.0+OSX

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

19 years ago2005-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 23 Jan 2005 19:02:50 +0000 (19:02 -0000)]
2005-01-23  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_allocate_vars): Use mono_allocate_stack_slots ().

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

19 years ago2005-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 23 Jan 2005 15:20:08 +0000 (15:20 -0000)]
2005-01-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_allocate_stack_slots): Add a fixme.

* mini-x86.c (mono_arch_allocate_vars): Use mono_allocate_stack_slots ().

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

19 years agoSun Jan 23 16:16:48 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 23 Jan 2005 15:06:11 +0000 (15:06 -0000)]
Sun Jan 23 16:16:48 CET 2005 Paolo Molaro <lupus@ximian.com>

* inssel.brg: optimize casts of sealed types (more
optimizations waiting for fixes in remoting).

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

19 years ago2005-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 23 Jan 2005 13:52:46 +0000 (13:52 -0000)]
2005-01-23  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (stmt): Add another dummy rule.

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

19 years ago2005-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 23 Jan 2005 13:42:02 +0000 (13:42 -0000)]
2005-01-23  Zoltan Varga  <vargaz@freemail.hu>

* driver.c: Fix warnings.

* driver.c (mono_main): If running under valgrind, instruct glib to use
the system allocation functions so valgrind can track the memory
allocated by the g_... functions.

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

19 years ago2005-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 23 Jan 2005 13:38:16 +0000 (13:38 -0000)]
2005-01-23  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (stmt): Add DUMMY rule for OP_DUMMY_STORE.

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

19 years ago2005-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 23 Jan 2005 13:36:50 +0000 (13:36 -0000)]
2005-01-23  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add OP_DUMMY_STORE opcode.

* mini.h (MONO_BBLOCK_IS_IN_REGION): New helper macro.

* liveness.c: Handle OP_DUMMY_STORE. Enable register allocation for
variables in try regions.

* mini.c (mini_method_compile): Don't disable optimizations on large
methods when AOT compiling.

* mini.c (mono_allocate_stack_slots): New arch independent method to
allocate stack slots. Not yet used.

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

19 years ago2005-01-23 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sun, 23 Jan 2005 07:58:57 +0000 (07:58 -0000)]
2005-01-23  Geoff Norton  <gnorton@customerdna.com>

        * ServiceBase.cs: Implement missing virtuals.
        * ServiceInstaller.cs: Initial Implementation.
        * ServiceProcessInstaller.cs: Initial Implementation.

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

19 years ago2005-01-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 23 Jan 2005 06:47:15 +0000 (06:47 -0000)]
2005-01-23  Miguel de Icaza  <miguel@ximian.com>

* UpDownBase.cs (ctor): Connect TextChanged in the entry to the
OnTextBoxChanged.

Capture LostFocus and OnTextBoxChanged.  The later introduces a
recursive invocation that I have not figured out yet.

Reset the timer when not using (it was accumulating).

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

19 years ago2005-01-23 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 23 Jan 2005 02:39:48 +0000 (02:39 -0000)]
2005-01-23  Nick Drochak  <ndrochak@ieee.org>

* ModuleTest.cs: Long path names gives Windows fits.

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

19 years agotypo
Ben Maurer [Sun, 23 Jan 2005 00:17:46 +0000 (00:17 -0000)]
typo

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

19 years ago * outline.cs (OutlineProperty) handle mixed accessability.
Ben Maurer [Sun, 23 Jan 2005 00:15:07 +0000 (00:15 -0000)]
* outline.cs (OutlineProperty) handle mixed accessability.

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

19 years ago2005-01-22 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 22 Jan 2005 23:53:30 +0000 (23:53 -0000)]
2005-01-22  Ben Maurer  <bmaurer@ximian.com>

* options.cs: Make things public.

* outline.cs: Use the Options class, rather than being passed
binding flags.
(.ctor): Add Options param
(OutlineType): remove bindingFlags param
(DefaultFlags): Get the correct binding flags
(ShowMember): Return true if we should show this member given the
Options. Way too long due to MSFT stupidity.
(OutlineType): call the above.

* monop.cs (Main): Don't fiddle with binding flags ourselves.

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

19 years ago2005-01-21 Alp Toker <alp@atoker.com>
Miguel de Icaza [Sat, 22 Jan 2005 23:20:01 +0000 (23:20 -0000)]
2005-01-21  Alp Toker  <alp@atoker.com>

* cs-parser.jay: destructor_declaration's container is PartialContainer
not Class when partial types are used, so use Kind prop instead of 'is'.

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

19 years ago2005-01-21 Alp Toker <alp@atoker.com>
Miguel de Icaza [Sat, 22 Jan 2005 23:19:25 +0000 (23:19 -0000)]
2005-01-21  Alp Toker  <alp@atoker.com>

  * cs-parser.jay: destructor_declaration's container is PartialContainer
  not Class when partial types are used, so use Kind prop instead of
'is'.

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

19 years agoAdd new test from Alp Toker
Miguel de Icaza [Sat, 22 Jan 2005 23:18:50 +0000 (23:18 -0000)]
Add new test from Alp Toker

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

19 years ago2005-01-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 22 Jan 2005 23:17:31 +0000 (23:17 -0000)]
2005-01-22  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Improve error reporting when an interface
declares new types.

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

19 years ago2005-01-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 22 Jan 2005 21:25:33 +0000 (21:25 -0000)]
2005-01-22  Miguel de Icaza  <miguel@ximian.com>

* NumericUpDown.cs: Minimum, Maximum, Text, Value properties
filled in.  Added some basic parsing of text.

Still missing the OnXXX method overrides, and figuring out the
events that must be emitted.

* UpDownBase.cs: Handle UserEdit on the Text property.

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

19 years ago2005-01-22 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 22 Jan 2005 20:28:25 +0000 (20:28 -0000)]
2005-01-22  Ben Maurer  <bmaurer@ximian.com>
* debug-mini.c (mono_debug_close_method): Plug some leaks.

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

19 years ago2005-01-22 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 22 Jan 2005 19:55:04 +0000 (19:55 -0000)]
2005-01-22  Ben Maurer  <bmaurer@ximian.com>

* debug-mono-symfile.c (mono_debug_open_mono_symbol_file): Use
mmap rather than allocating a huge buffer.
(mono_debug_close_mono_symbol_file): Free the buffer allocated
above.

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

19 years agoSat Jan 22 13:41:51 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 22 Jan 2005 18:28:15 +0000 (18:28 -0000)]
Sat Jan 22 13:41:51 EST 2005 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: make the branch info relative as the code
buffer can be reallocated.

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

19 years agofixes integralheight and method ToString
Jordi Mas i Hernandez [Sat, 22 Jan 2005 16:35:18 +0000 (16:35 -0000)]
fixes integralheight and method ToString

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

19 years agoFixes GdipGet* signatures function calls
Jordi Mas i Hernandez [Sat, 22 Jan 2005 15:11:17 +0000 (15:11 -0000)]
Fixes GdipGet* signatures function calls

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

19 years ago2005-01-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 22 Jan 2005 15:10:59 +0000 (15:10 -0000)]
2005-01-22  Sebastien Pouliot  <sebastien@ximian.com>
* aot.c: Allow decoding of the new  MONO_PATCH_INFO_DECLSEC.
* driver.c: Removed the AOT/security restriction. Now initialize the
security manager (in metadata) if --security is used.
* mini.c|h: Add the MONO_PATCH_INFO_DECLSEC code to use the index,
rather than the pointer to declarative security, when AOT is used.

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

19 years ago2005-01-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 22 Jan 2005 15:10:46 +0000 (15:10 -0000)]
2005-01-22  Sebastien Pouliot  <sebastien@ximian.com>
* icall.c: Add new internal calls for SecurityManager.SecurityEnabled
and CheckExecutionRights.
* reflection.c|h: Keep the index of the declarative security to be
used, instead of the pointer, when AOT compiler is used. Also add
class initialization when requesting demands.
* security-manager.c|h: Implement SecurityManager.SecurityEnabled and
CheckExecutionRights. Both properties are now FALSE by default, and
unmodifiable, unless the --security option is used.

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

19 years ago* SecurityFrame.cs: Keep RuntimeDeclSecurityEntry enum in sync with runtime (added...
Sebastien Pouliot [Sat, 22 Jan 2005 15:10:14 +0000 (15:10 -0000)]
* SecurityFrame.cs: Keep RuntimeDeclSecurityEntry enum in sync with runtime (added index to allow AOT to work with declarative security).

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

19 years agofont sizes sample
Jordi Mas i Hernandez [Sat, 22 Jan 2005 15:05:04 +0000 (15:05 -0000)]
font sizes sample

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

19 years agoSat Jan 22 09:35:19 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 22 Jan 2005 14:23:03 +0000 (14:23 -0000)]
Sat Jan 22 09:35:19 EST 2005 Paolo Molaro <lupus@ximian.com>

* mini.h, mini-ppc.h, mini-ppc.c: updated to use out of line
basic blocks, reduced intrinsic exception throwing code size.

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

19 years agoAdd Francisco's prj2make
Miguel de Icaza [Sat, 22 Jan 2005 07:26:19 +0000 (07:26 -0000)]
Add Francisco's prj2make

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

19 years agoAdd script
Miguel de Icaza [Sat, 22 Jan 2005 07:25:58 +0000 (07:25 -0000)]
Add script

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

19 years agoSet svn:eol-style to native
Miguel de Icaza [Sat, 22 Jan 2005 07:17:51 +0000 (07:17 -0000)]
Set svn:eol-style to native

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

19 years agoDo not use --stacktrace
Miguel de Icaza [Sat, 22 Jan 2005 07:16:04 +0000 (07:16 -0000)]
Do not use --stacktrace

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

19 years agoFlush
Miguel de Icaza [Sat, 22 Jan 2005 07:12:12 +0000 (07:12 -0000)]
Flush

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

19 years agoAdd Prj2Make from Francisco Martinez
Miguel de Icaza [Sat, 22 Jan 2005 07:11:15 +0000 (07:11 -0000)]
Add Prj2Make from Francisco Martinez

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

19 years ago2005-01-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 22 Jan 2005 06:58:20 +0000 (06:58 -0000)]
2005-01-22  Miguel de Icaza  <miguel@ximian.com>

* driver.c (mini_usage): Reorder the usage screen.

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

19 years ago2005-01-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 22 Jan 2005 01:13:45 +0000 (01:13 -0000)]
2005-01-21  Ben Maurer  <bmaurer@ximian.com>

* StringBuilderTest.cs (CapacityFromString): This relies on impl
specific behavior. Rewrite the test.

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

19 years ago2005-01-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 22 Jan 2005 01:12:51 +0000 (01:12 -0000)]
2005-01-21  Ben Maurer  <bmaurer@ximian.com>

* StringBuilder.cs: Don't allocate memory on the .ctor, do it
lazily. This saves us lots of memory if you only use the
stringbuilder once. Also, we can allocate on the second Append,
which might reduce the number of buffers allocated.

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

19 years ago * TabControl.cs: Set the SelectedIndex property when SelectedTab
Jackson Harper [Fri, 21 Jan 2005 21:27:19 +0000 (21:27 -0000)]
* TabControl.cs: Set the SelectedIndex property when SelectedTab
is set so that the page visibility is updated and the tabs are
sized correctly.

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