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

19 years ago * TabControl.cs: Use cliping rectangle for blitting. Give the
Jackson Harper [Fri, 21 Jan 2005 20:03:03 +0000 (20:03 -0000)]
* TabControl.cs: Use cliping rectangle for blitting. Give the
theme the clipping rect so we can do clipping while
drawing. Remove some debug code.

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

19 years ago2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Jan 2005 19:40:41 +0000 (19:40 -0000)]
2005-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Fixed add for ModuleResolve.

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

19 years ago * TabPage.cs: Add a new method so tab pages can force the tab
Jackson Harper [Fri, 21 Jan 2005 19:35:16 +0000 (19:35 -0000)]
* TabPage.cs: Add a new method so tab pages can force the tab
control to recalculate the tab page sizes.
* TabControl.cs: UpdateOwner needs to make the tab control recalc
sizes.

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

19 years ago2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Jan 2005 18:40:41 +0000 (18:40 -0000)]
2004-01-21  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : /nowarn:0162 is back.

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

19 years agodisable for now.
Paolo Molaro [Fri, 21 Jan 2005 18:37:18 +0000 (18:37 -0000)]
disable for now.

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

19 years ago2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 21 Jan 2005 18:12:51 +0000 (18:12 -0000)]
2005-01-21  Lluis Sanchez Gual  <lluis@novell.com>

* TcpMessageIO.cs: Added a buffer parameter to ReceiveMessageStatus,
to avoid creating unneded buffers.
* TcpServerChannel.cs, TcpClientTransportSink.cs: Use new buffer
parameter in ReceiveMessageStatus.

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

19 years ago2004-07-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 21 Jan 2005 18:09:24 +0000 (18:09 -0000)]
2004-07-12  Lluis Sanchez Gual  <lluis@novell.com>

* NewMonoXSD.cs: Don't write the exception trace for common parameter
errors.

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

19 years ago2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 21 Jan 2005 18:05:32 +0000 (18:05 -0000)]
2005-01-21  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/Content.cs
System.Web.UI.WebControls/ContentControlBuilder.cs
System.Web.UI.WebControls/ContentPlaceHolder.cs
System.Web.UI.WebControls/ContentPlaceHolderBuilder.cs
System.Web.UI/MasterPage.cs
System.Web.UI/MasterPageParser.cs

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

19 years ago2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 21 Jan 2005 18:03:58 +0000 (18:03 -0000)]
2005-01-21  Lluis Sanchez Gual <lluis@novell.com>

* Directive.cs: Added MASTER directive.
* AspGenerator.cs: Use UserControlCompiler for compiling master pages.
* PageCompiler.cs: Set the master file name when generating the page.
* TemplateControlCompiler.cs: When generating the method for a
content holder, register the content holder in the base MasterPage.
Added method for registering a Content control for a MasterPage.
Generate code for Content controls.

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

19 years ago2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 21 Jan 2005 18:03:41 +0000 (18:03 -0000)]
2005-01-21  Lluis Sanchez Gual <lluis@novell.com>

* Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
ContentPlaceHolderBuilder.cs: Implemented.

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

19 years ago2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 21 Jan 2005 18:03:15 +0000 (18:03 -0000)]
2005-01-21  Lluis Sanchez Gual <lluis@novell.com>

* PageParser.cs: Read the MasterPageFile attribute.
* UserControlParser.cs: Not sealed any more since we need to inherit from
it. Added new constructor with an additional "type" parameter.
* MasterPageParser.cs: Parser for master pages.
* Page.cs: Added support for master pages.
* MasterPage.cs: Implemented.

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

19 years ago2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Jan 2005 18:01:43 +0000 (18:01 -0000)]
2005-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* DSA.cs: Handle the case where DSAParameters.Counter is 0.

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

19 years ago2005-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 21 Jan 2005 17:29:59 +0000 (17:29 -0000)]
2005-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* MethodBuilder.cs, TypeBuilder: missing 'params' in some method signature
patch by Kamil Skalski <nazgul@nemerle.org>

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

19 years agoFix ClearArrayHandles method by checking for Array fields only
Carlos Guzmán Álvarez [Fri, 21 Jan 2005 15:31:57 +0000 (15:31 -0000)]
Fix ClearArrayHandles method by checking for Array fields only

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

19 years agoFix ClearArrayHandles method by checking for Array fields only
Carlos Guzmán Álvarez [Fri, 21 Jan 2005 15:31:20 +0000 (15:31 -0000)]
Fix ClearArrayHandles method by checking for Array fields only

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

19 years agofixes on changelogs.
Atsushi Eno [Fri, 21 Jan 2005 15:28:25 +0000 (15:28 -0000)]
fixes on changelogs.

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

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

* DataRow.cs : more Detached -> Default fixes. Check if it should throw
  VersionNotFoundException. Patch by Ankit Jain.

* DataRowTest.cs : more test for Detached -> Default, test for
  VersionNotFound, and test for InvalidConstraint on GetChildRows().
  Patch by Ankit Jain.

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

19 years agoFri Jan 21 15:29:27 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 21 Jan 2005 14:20:18 +0000 (14:20 -0000)]
Fri Jan 21 15:29:27 CET 2005 Paolo Molaro <lupus@ximian.com>

* domain.c, appdomain.c, assembly.c, image.c, metadata-internals.h,
reflection.c: properly refcount images and assemblies, many leaks fixed.

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

19 years ago2005-01-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 21 Jan 2005 13:33:49 +0000 (13:33 -0000)]
2005-01-21  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_resolve_patch_target): Fix warning.

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

19 years ago2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Jan 2005 12:39:33 +0000 (12:39 -0000)]
2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>

* DataRow.cs : Default selects the right version for the current
  state of the row. Current is not always available. Also change
  that for GetParentRow(). Patch by Ankit Jain.

* DataRowTest.cs : Test if Default is used to check state of the row
  instead of Detached. Patch by Ankit Jain.

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

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

* DataTable.cs : CopyColumn() should copy AutoIncrement after
  DefaultValue, or it will raise an error in some cases.

* DataSetTest.cs : added CloneCopy2().

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

19 years ago2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 21 Jan 2005 03:42:31 +0000 (03:42 -0000)]
2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: increase the timeout for threads in the thread pool to 10s.
Fixes bug #67159.

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

19 years ago * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
Jackson Harper [Fri, 21 Jan 2005 03:30:52 +0000 (03:30 -0000)]
* ThemeWin32Classic.cs: Clip text to the staus bar panels rects.

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

19 years ago2005-01-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Fri, 21 Jan 2005 02:18:49 +0000 (02:18 -0000)]
2005-01-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * 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=39298

19 years ago2005-01-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
Francisco Figueiredo Jr. [Fri, 21 Jan 2005 01:41:51 +0000 (01:41 -0000)]
2005-01-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
        * NpgsqlTypes/NpgsqlDbType.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
        * Npgsql/PGUtil.cs,
        Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
        * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
        gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
        Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
        * Npgsql/NpgsqlCommandBuilder.cs,
        NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
        * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.

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