mono.git
19 years ago2005-06-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Jun 2005 16:14:55 +0000 (16:14 -0000)]
2005-06-23  Zoltan Varga  <vargaz@freemail.hu>

* inssel-long.brg: Fix bug caused by last change.

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

19 years ago**** Merged r45046 and r46284 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 15:17:13 +0000 (15:17 -0000)]
**** Merged r45046 and r46284 from MCS ****

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

19 years ago**** Merged r46271 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 15:03:46 +0000 (15:03 -0000)]
**** Merged r46271 from MCS ****

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

19 years ago**** Merged r46128 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 15:02:53 +0000 (15:02 -0000)]
**** Merged r46128 from MCS ****

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

19 years ago2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 23 Jun 2005 14:20:13 +0000 (14:20 -0000)]
2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: fixes and enhancements
* ThemeWin32Classic.cs: fixes and enhancements
* DataGridBoolColumn.cs:  fixes and enhancements
* DataGridDrawingLogic.cs:  fixes and enhancements
* CurrencyManager.cs: fixes and enhancements
* DataGrid.cs: fixes and enhancements
* DataGridColumnStyle.cs:  fixes and enhancements

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

19 years ago**** Merged r45656-r45657 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 13:56:27 +0000 (13:56 -0000)]
**** Merged r45656-r45657 from MCS ****

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

19 years ago**** Merged r45613-r45614 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 13:55:39 +0000 (13:55 -0000)]
**** Merged r45613-r45614 from MCS ****

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

19 years ago**** Merged r45574 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 13:54:51 +0000 (13:54 -0000)]
**** Merged r45574 from MCS ****

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

19 years ago**** Merged r45468 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 13:45:48 +0000 (13:45 -0000)]
**** Merged r45468 from MCS ****

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

19 years ago**** Merged r45366 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 13:44:48 +0000 (13:44 -0000)]
**** Merged r45366 from MCS ****

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

19 years ago**** Merged r45321 from MCS ****
Martin Baulig [Thu, 23 Jun 2005 13:42:14 +0000 (13:42 -0000)]
**** Merged r45321 from MCS ****

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

19 years ago2005-06-23 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 23 Jun 2005 13:13:04 +0000 (13:13 -0000)]
2005-06-23  Sureshkumar T  <tsureshkumar@novell.com>

        * System.Data.SqlClient/SqlConnectionStringBuilder.cs: simplified multiple keyword
          mappings and allowed-key checking. fixed Item, Remove, ContainsKey, ShoudSerialize,
          TryGetValue implementations.
        * Test/System.Data.SqlClient/SqlConnectionStringBuilderTest.cs: Added few more tests.

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

19 years ago2005-06-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 23 Jun 2005 13:05:46 +0000 (13:05 -0000)]
2005-06-23  Martin Baulig  <martin@ximian.com>

Fix #75331.

* metadata.c (mono_class_get_overrides): Renamed to
mono_class_get_overrides_full() and added a `MonoGenericContext *'.
(method_from_method_def_or_ref): Added `MonoGenericContext *' and
pass it to mono_get_method_full().

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

19 years ago2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Jun 2005 12:48:37 +0000 (12:48 -0000)]
2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: use UTF8 in the StreamWriter, as it did before
r45802 removed it accidentally. Fixes bug #75361.

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

19 years ago2005-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jun 2005 12:03:24 +0000 (12:03 -0000)]
2005-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : handle some Jamo NKFD.

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

19 years ago2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 23 Jun 2005 10:42:27 +0000 (10:42 -0000)]
2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>

* Graphics.cs: implements FromHwndInternal

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

19 years ago2005-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jun 2005 09:52:52 +0000 (09:52 -0000)]
2005-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : forgot to commit in the last checkin.
* create-mscompat-collation-table.cs : fixed arabic shift weight chars.
* TestDriver.cs : switch table dumper and collator testing.
* SortKey.cs : for now comment out internal indexes (not in use).

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

19 years ago2005-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jun 2005 09:17:33 +0000 (09:17 -0000)]
2005-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.template,
  SimpleCollator.cs : support for culture dependent CJK table.

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

19 years ago2005-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jun 2005 07:14:43 +0000 (07:14 -0000)]
2005-06-23  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs,
  MSCompatUnicodeTableUtil.cs : make CJK table more compact.

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

19 years agoClear the hashtable in end of block
Manjula GHM [Thu, 23 Jun 2005 06:56:03 +0000 (06:56 -0000)]
Clear the hashtable in end of block

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

19 years agoTo disallow reassignment of object inside 'With...End With' block
Manjula GHM [Thu, 23 Jun 2005 06:37:49 +0000 (06:37 -0000)]
To disallow reassignment of object inside 'With...End With' block

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

19 years ago2005-06-23 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 23 Jun 2005 05:10:27 +0000 (05:10 -0000)]
2005-06-23  Geoff Norton  <gnorton@customerdna.com>

        * mini-x86.h: Add __APPLE__ to the SC_* redefines with the other
        BSDs.  Allows the x86 JIT to work on OSX86

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

19 years ago2005-06-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jun 2005 04:58:02 +0000 (04:58 -0000)]
2005-06-23  Atsushi Enomoto <atsushi@ximian.com>

* XsdParticleValidationTests.cs : XmlSchemaException ->
  XmlSchemaValidationException under 2.0 profile.

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

19 years ago * TabControl.cs: Add some missing methods that just call into the
Jackson Harper [Thu, 23 Jun 2005 01:26:50 +0000 (01:26 -0000)]
    * TabControl.cs: Add some missing methods that just call into the
        base. Make the TabPageCollection's IList interface behave in the
        same manner as the MS implementation.

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

19 years ago\disabled is now documented in --help-trace
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 22:24:12 +0000 (22:24 -0000)]
\disabled is now documented in --help-trace

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

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

* inssel-long.brg: Use OP_LSHR_UN_IMM instead of OP_SHR_UN_IMM in
u4->i8 conversion.

* mini-ia64.c: Ongoing IA64 work.

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

19 years ago2005-06-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 22 Jun 2005 22:00:43 +0000 (22:00 -0000)]
2005-06-23  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Add some new pseudo ops.

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

19 years agoAdd check for libunwin
Miguel de Icaza [Wed, 22 Jun 2005 22:00:04 +0000 (22:00 -0000)]
Add check for libunwin

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

19 years agoUpdate
Miguel de Icaza [Wed, 22 Jun 2005 21:46:49 +0000 (21:46 -0000)]
Update

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

19 years ago2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 21:36:18 +0000 (21:36 -0000)]
2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile: added reference to Mono.Security.dll when building the
tests.

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

19 years ago2005-06-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 22 Jun 2005 21:21:29 +0000 (21:21 -0000)]
2005-06-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add support for ia64.

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

19 years ago2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 21:21:00 +0000 (21:21 -0000)]
2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequestTest.cs: added test for the sslClientStream blocking
issue.

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

19 years ago2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Jun 2005 19:54:38 +0000 (19:54 -0000)]
2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* FileIOPermission.cs, IsolatedStorageFilePermission.cs,
KeyContainerPermission.cs, RegistryPermission.cs: better comments on
remaining TODO (all 2.0 related) to ease grepping.

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

19 years ago2005-06-22 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 22 Jun 2005 19:50:38 +0000 (19:50 -0000)]
2005-06-22  Ben Maurer  <bmaurer@ximian.com>

* reflection.c (mono_reflection_create_runtime_class): take the
mono_domain_lock in this method. Prevents deadlocks

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

19 years ago2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 19:24:39 +0000 (19:24 -0000)]
2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MakeCert.cs: renamed to makecert.cs
* Makefile: s/MakeCert/makecert/

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

19 years ago corlib_test.dll.sources: Added CAS unit tests for System.Security.SecurityManager...
Sebastien Pouliot [Wed, 22 Jun 2005 19:16:45 +0000 (19:16 -0000)]
 corlib_test.dll.sources: Added CAS unit tests for System.Security.SecurityManager and CodeAccessPermission to the build.

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

19 years ago2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Jun 2005 18:48:21 +0000 (18:48 -0000)]
2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermissionCas.cs: New. CAS unit tests for using the
stack modifiers (mostly assert) on permissions.
* SecurityManagerCas.cs: New. CAS unit tests for SecurityManager.
* SecurityManagerTest.cs: Moved a policy resolution test to
SecurityManagerCas as it required CheckExecutionRights to be on.

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

19 years ago2005-06-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Jun 2005 18:43:43 +0000 (18:43 -0000)]
2005-06-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : use StringBuilder.ToString(int,int) when it does
  not have a large chunk of data, following Ben's idea.

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

19 years ago2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Jun 2005 18:38:14 +0000 (18:38 -0000)]
2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFile.cs: Only assembly evidences are considered to
resolve policy. Changed resolve method used (instead of changing it's
code).

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

19 years ago2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Jun 2005 18:35:41 +0000 (18:35 -0000)]
2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Fix Unrestricted PermitOnly (which is like
a no-op). Speed up Assert if Unrestricted.
* HostSecurityManager.cs: Updated FIXME description.
* PermissionSet.cs: Remove Copy() of the permission set when non-CAS
permissions are used (replaced by an array of bools). Completed Assert
support by re-using the array of bools. Updated TODO descriptions.
* SecurityException.cs: Added evidence (if available) in the ToString
description of the exception.
* SecurityManager.cs: Reworked CheckExecutionRights to get the correct
behavior.

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

19 years ago* MethodBuilder.cs: In CreateMethodBody, throw ArgumentOutOfRangeException
Gert Driesen [Wed, 22 Jun 2005 18:04:04 +0000 (18:04 -0000)]
* MethodBuilder.cs: In CreateMethodBody, throw ArgumentOutOfRangeException
instead of ArgumentException when count is not within range of array. Do not
allow zero-length method body to be emitted when using 2.0 profile. Fixes
bug #75236.
* MethodBuilderTest.cs: Updated existing tests to no longer define zero-length
method body. Added tests for bug #75236.

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

19 years ago2005-06-22 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 22 Jun 2005 18:03:03 +0000 (18:03 -0000)]
2005-06-22  Peter Bartok  <pbartok@novell.com>

* TextControl.cs: Added sanity check
* TextBoxBase.cs:
  - Fixed wrapping behaviour, don't set wrap on single line controls
    (this fixes the breakage of colordialog introduced in an earlier
     checkin)
  - Added rudimentary support for autoscrolling right-aligned controls
    (still needs fixing, also, center alignment scroll is missing)

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

19 years agocorrection to the changelog
Ben Maurer [Wed, 22 Jun 2005 17:05:52 +0000 (17:05 -0000)]
correction to the changelog

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

19 years ago2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 22 Jun 2005 16:38:51 +0000 (16:38 -0000)]
2005-06-22  Jordi Mas i Hernandez <jordi@ximian.com>

* ScrollBar.cs: Fixes thumbpos on Maximum values

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

19 years ago2005-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 22 Jun 2005 15:52:25 +0000 (15:52 -0000)]
2005-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* SslClientStream.cs: Removed failsafe timeout of 5 minutes as some
protocols can go idle for longer than this.

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

19 years agoIn System.Collections.Generic:
Raja R Harinath [Wed, 22 Jun 2005 14:42:13 +0000 (14:42 -0000)]
In System.Collections.Generic:
* Dictionary.cs (_generation, _enumeratorGeneration, _enumerators):
New fields to implement fail-fast semantics.  All code that
modifies the table increment _generation.
(GetSlot): Use _hcp to compare keys.  Return the slot containing
the key, rather than the index.  Avoid move-to-front heuristic
when there's an enumerator coursing through the table.
(this, Add, TryGetValue, ContainsKey, Remove): Update to change.
(Enumerator.Enumerator): Save the generation of the dictionary.
(Enumerator.Dispose): Inform dictionary that the enumerator is no more.
(Enumerator.MoveNext, Enumerator.VerifyState): Fail if the
dictionary has been modified.

In Test/System.Collections.Generic:
* DictionaryTest.cs (KeyValueEnumeratorTest): Add test for infloop
if dictionary is read while it's being enumerated.

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

19 years agoNew test
Martin Baulig [Wed, 22 Jun 2005 14:39:03 +0000 (14:39 -0000)]
New test

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

19 years agoPut back gtest-126.cs
Martin Baulig [Wed, 22 Jun 2005 14:38:45 +0000 (14:38 -0000)]
Put back gtest-126.cs

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

19 years ago2005-06-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jun 2005 14:37:53 +0000 (14:37 -0000)]
2005-06-22  Martin Baulig  <martin@ximian.com>

* loader.c (method_from_methodspec): Fix #75330.

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

19 years ago2005-06-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jun 2005 14:35:53 +0000 (14:35 -0000)]
2005-06-22  Martin Baulig  <martin@ximian.com>

* reflection.c (type_get_qualified_name): Use
mono_type_get_name_full() with MONO_TYPE_NAME_FORMAT_REFLECTION.
(_mono_reflection_get_type_from_info): Added `MonoImage *image'
argument; use it if we don't have an assembly name.

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

19 years agoAlso fix MONO_TYPE_PTR.
Martin Baulig [Wed, 22 Jun 2005 14:34:17 +0000 (14:34 -0000)]
Also fix MONO_TYPE_PTR.

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

19 years agoAlso fix MONO_TYPE_PTR.
Martin Baulig [Wed, 22 Jun 2005 14:33:37 +0000 (14:33 -0000)]
Also fix MONO_TYPE_PTR.

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

19 years agoGetBytes should return the data length if target buffer is null
Konstantin Triger [Wed, 22 Jun 2005 13:15:58 +0000 (13:15 -0000)]
GetBytes should return the data length if target buffer is null

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

19 years agoRemoved LIB_MCS_FLAGS for referencing corlib and added the __SECURITY_BOOTSTRAP_DB...
Sebastien Pouliot [Wed, 22 Jun 2005 12:32:44 +0000 (12:32 -0000)]
Removed LIB_MCS_FLAGS for referencing corlib and added the __SECURITY_BOOTSTRAP_DB export. This will allow the work on #74975 to continue and shouldn't cause any harm to Linux or Cygwin builds.

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

19 years ago2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 22 Jun 2005 11:29:52 +0000 (11:29 -0000)]
2005-06-22  Sureshkumar T  <tsureshkumar@novell.com>

* DataRow.cs: Added method MergeValuesToRow copy merge two rows
according to the merge rules.

* MergeManager.cs: (MergeRow): use MergeValuesToRow
API. CopyValuesToRow simply makes the target row same as source
row. Rather, MergeValuesToRow merges with the target row according
to the merge rules.

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

19 years ago2005-06-22 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 22 Jun 2005 11:15:06 +0000 (11:15 -0000)]
2005-06-22  Lluis Sanchez Gual  <lluis@novell.com>

* RealProxy.cs: Extract the output arguments from the message's
Args list (not from OutArgs), since some message objects
may not support OutArgs (for example, when the target MethodBase is
not known, there is no way to know which params are out params).
I've checked that MS.NET behaves in the same way. This fixes
bug #75277.

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

19 years ago2005-06-22 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 22 Jun 2005 10:24:10 +0000 (10:24 -0000)]
2005-06-22  Lluis Sanchez Gual  <lluis@novell.com>

* MethodReturnMessageWrapper.cs: ArgCount now returns the count
from the internal arg array, since it may change.
* MonoMethodMessage.cs: Added NeedsOutProcessing helper method.

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

19 years ago2005-06-22 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 22 Jun 2005 10:23:09 +0000 (10:23 -0000)]
2005-06-22  Lluis Sanchez Gual  <lluis@novell.com>

* object.c: In mono_message_init, set "copy out" flag for in
parameters with the [Out] flag.

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

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

* SimpleCollator.cs : Fixed stupid index search when start != 0.

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

19 years ago2005-06-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 22 Jun 2005 09:03:45 +0000 (09:03 -0000)]
2005-06-22  Zoltan Varga  <vargaz@freemail.hu>

* include/private/gcconfig.h: Fix amd64 build.

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

19 years ago2005-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jun 2005 08:30:52 +0000 (08:30 -0000)]
2005-06-21  Martin Baulig  <martin@ximian.com>

* class.c
(mono_type_get_name_recurse): Correctly handle MONO_TYPE_SZARRAY.

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

19 years ago2005-06-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Jun 2005 08:12:53 +0000 (08:12 -0000)]
2005-06-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : use StringBuilder to store character values; that
  saves 40% memory for large chunk of xml. Patch by Gonzalo.

Don't remove ChangeLog entry BTW.

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

19 years agoMake line-endings uniform. Set svn:eol-style=native on files with LF line-endings.
Raja R Harinath [Wed, 22 Jun 2005 07:50:13 +0000 (07:50 -0000)]
Make line-endings uniform.  Set svn:eol-style=native on files with LF line-endings.

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

19 years ago2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 22 Jun 2005 07:49:16 +0000 (07:49 -0000)]
2005-06-22  Sureshkumar T  <tsureshkumar@novell.com>

* Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
(i+1)) corrected.

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

19 years agosvn:eol-style=native
Raja R Harinath [Wed, 22 Jun 2005 07:39:13 +0000 (07:39 -0000)]
svn:eol-style=native

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

19 years agoMake line-endings uniform. Set svn:eol-style=native for files with LF line-endings.
Raja R Harinath [Wed, 22 Jun 2005 07:36:47 +0000 (07:36 -0000)]
Make line-endings uniform.  Set svn:eol-style=native for files with LF line-endings.

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

19 years agoMake line-endings uniform. Set svn:eol-style=native for files with LF line-endings.
Raja R Harinath [Wed, 22 Jun 2005 07:33:48 +0000 (07:33 -0000)]
Make line-endings uniform.  Set svn:eol-style=native for files with LF line-endings.

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

19 years agoremove unnecessary argument from AppendChildValues function
Andrew Skiba [Wed, 22 Jun 2005 07:32:01 +0000 (07:32 -0000)]
remove unnecessary argument from AppendChildValues function

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

19 years ago2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 06:04:24 +0000 (06:04 -0000)]
2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: MS implementation follows redirects for POST. Seems
to me that this is against 10.3.3 in RFC 2616, but may be the user
'authorization' to do this is implicit in AllowAutoRedirect...

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

19 years ago2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 05:59:51 +0000 (05:59 -0000)]
2005-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* NtlmClient.cs: return null if we have no credentials for NTLM.

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

19 years agoEnabled test now that the bug is fixed
Gonzalo Paniagua Javier [Wed, 22 Jun 2005 05:57:22 +0000 (05:57 -0000)]
Enabled test now that the bug is fixed

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

19 years agoPass context information to UITypeEditors
Jonathan Chambers [Wed, 22 Jun 2005 03:28:59 +0000 (03:28 -0000)]
Pass context information to UITypeEditors

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

19 years agoUse context information passed to editor.
Jonathan Chambers [Wed, 22 Jun 2005 03:27:32 +0000 (03:27 -0000)]
Use context information passed to editor.

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

19 years ago2005-06-21 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 22 Jun 2005 02:03:47 +0000 (02:03 -0000)]
2005-06-21  Peter Bartok  <pbartok@novell.com>

* TextBoxBase.cs:
  - Now calling PositionCaret with absolute space coordinates
  - Enabled vertical scrolling
  - Better tracking of scrollbar changes, tied into WidthChange
    event
  - Improved cursor tracking
  - Removed debug output
* TextControl.cs:
  - PositionCaret coordinates are now works in absolute space, not
    the canvas
  - Improved tracking of document size
  - Added events for width and height changes

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

19 years ago2005-06-21 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 21 Jun 2005 22:51:07 +0000 (22:51 -0000)]
2005-06-21  Peter Bartok  <pbartok@novell.com>

* Form.cs: Set focus to active control when form is activated
* TextControl.cs:
  - Added word-wrap functionality to RecalculateLine()
  - Added some short function descriptions for VS.Net to aid in
    writing dependent controls
  - Added Caret property, returning the current coords of the caret
  - Added ViewPortWidth and ViewPortHeight properties
  - Added Wrap property
  - Added CaretMoved event
  - Removed some old debug code
  - Split() can now create soft splits
  - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  - Added method to format existing text
  - Fixed size/alignment calculations to use viewport
  - RecalculateDocument now can handle changing line-numbers while
    calculating lines

* TextBox.cs:
  - Added some wrap logic, we don't wrap if alignment is not left
  - Added casts for scrollbar var, base class switched types to
    also support RichTextBoxA
  - Implemented handling of scrollbar visibility flags

* TextBoxBase.cs:
  - Switched scrollbars type to RichTextBoxScrollBars to support
    RichTextBox
  - Added tracking of canvas width/height
  - Switched scrollbars to be not selectable (to keep focus on text)
  - Added central CalculateDocument() method to handle all redraw
    requirements
  - Added ReadOnly support
  - Added WordWrap support
  - Fixed handling of Enter key (we now treat it as a DialogKey)
  - Fixed caret positioning when h or v scroll is not zero
  - Fixed placing/generation of vertical scrollbar
  - Added CalculateScrollBars() method to allow updating scrollbar
    limits and visibility
  - Fixed handling of horizontal scroll
  - Added handling of vertical scroll
  - Implemented auto-'jump' when caret moves to close to a left or
    right border and there is text to be scrolled into view (currently
    there's the potential for a stack overflow, until a bug in
    scrollbar is fixed)

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

19 years agoIn Test/System.Text:
Ben Maurer [Tue, 21 Jun 2005 22:42:39 +0000 (22:42 -0000)]
In Test/System.Text:
2005-06-21  Ben Maurer  <bmaurer@ximian.com>

* StringBuilderTest.cs: Test replacing with a longer string.

In System.Text:
2005-06-21  Ben Maurer  <bmaurer@ximian.com>

* StringBuilder.cs (Replace): Do the correct thing when we replace
with a longer string. Thanks to Vorobiev Maksim
<MVorobiev@croc.ru>.

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

19 years ago2005-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 21 Jun 2005 21:57:20 +0000 (21:57 -0000)]
2005-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
if there's no record available to read. This is a workaround that makes
the call to BeginRead itself asynchronous. Fixes bug #75342.

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

19 years ago2005-06-21 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 21 Jun 2005 21:17:58 +0000 (21:17 -0000)]
2005-06-21  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND

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

19 years ago2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Jun 2005 18:38:36 +0000 (18:38 -0000)]
2005-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : fixed my misunderstanding on LastIndexOf(). It
  now starts from "start" and proceeds backward by "length".
* TestDriver.cs : fix warning.

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

19 years ago2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Jun 2005 17:54:46 +0000 (17:54 -0000)]
2005-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* TestDriver.cs : more tests.
* SimpleCollator.cs : LastIndexOf() is not setting search length
  on iteration. Quick workaround fro String.LastIndexOf() bug (maybe).

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

19 years agoTARGET_JVM only changes
Konstantin Triger [Tue, 21 Jun 2005 16:56:42 +0000 (16:56 -0000)]
TARGET_JVM only changes

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

19 years ago2005-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Jun 2005 15:50:16 +0000 (15:50 -0000)]
2005-06-21  Martin Baulig  <martin@ximian.com>

* class.c (mono_type_get_name_recurse): For MONO_TYPE_SZARRAY, the
recursive call already added the assembly name.

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

19 years ago2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Jun 2005 14:36:03 +0000 (14:36 -0000)]
2005-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* create-normalization-source.cs : output propValue as uint.

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

19 years agoTemporarily disable gtest-126.cs to get the build working again.
Martin Baulig [Tue, 21 Jun 2005 14:33:31 +0000 (14:33 -0000)]
Temporarily disable gtest-126.cs to get the build working again.

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

19 years ago2005-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Jun 2005 14:29:50 +0000 (14:29 -0000)]
2005-06-21  Martin Baulig  <martin@ximian.com>

* gtest-077.cs: Removed, we don't need this anymore.

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

19 years agoimported everything from my branch (which is slightly harmless).
Atsushi Eno [Tue, 21 Jun 2005 14:18:07 +0000 (14:18 -0000)]
imported everything from my branch (which is slightly harmless).

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

19 years ago2005-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 21 Jun 2005 13:53:09 +0000 (13:53 -0000)]
2005-06-21  Dick Porter  <dick@ximian.com>

        * mutex-private.h:
        * thread-private.h:
        * mutexes.c:
        * threads.c: Keep a list of owned mutexes in each thread handle,
        so that it is easier to abandon them when the thread exits.
        Removes a bottleneck when multiple threads are finishing in
        parallel.

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

19 years ago* expression.cs (Invocation.EmitCall): Fix initialization
Raja R Harinath [Tue, 21 Jun 2005 13:46:33 +0000 (13:46 -0000)]
* expression.cs (Invocation.EmitCall): Fix initialization
'this_call' to reflect current behaviour.  Fix indentation.

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

19 years ago**** Merged r45249 from MCS ****
Martin Baulig [Tue, 21 Jun 2005 13:32:06 +0000 (13:32 -0000)]
**** Merged r45249 from MCS ****

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

19 years ago**** Merged r45190 from MCS ****
Martin Baulig [Tue, 21 Jun 2005 13:31:06 +0000 (13:31 -0000)]
**** Merged r45190 from MCS ****

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

19 years ago**** Merged r45124 from MCS ****
Martin Baulig [Tue, 21 Jun 2005 13:30:18 +0000 (13:30 -0000)]
**** Merged r45124 from MCS ****

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

19 years ago**** Merged r45108 from MCS ****
Martin Baulig [Tue, 21 Jun 2005 13:29:32 +0000 (13:29 -0000)]
**** Merged r45108 from MCS ****

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

19 years ago**** Merged r45106 from MCS ****
Martin Baulig [Tue, 21 Jun 2005 13:28:36 +0000 (13:28 -0000)]
**** Merged r45106 from MCS ****

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

19 years ago**** Merged r44929 from MCS ****
Martin Baulig [Tue, 21 Jun 2005 13:27:41 +0000 (13:27 -0000)]
**** Merged r44929 from MCS ****

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

19 years ago* CollectionTest.cs (IEnumerable.GetEnumerator): Don't prefix with
Raja R Harinath [Tue, 21 Jun 2005 13:11:55 +0000 (13:11 -0000)]
* CollectionTest.cs (IEnumerable.GetEnumerator): Don't prefix with
System.Collections, since it resolves to the MonoTests namespace.

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

19 years agoNew test.
Martin Baulig [Tue, 21 Jun 2005 13:08:44 +0000 (13:08 -0000)]
New test.

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

19 years ago2005-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Jun 2005 13:07:57 +0000 (13:07 -0000)]
2005-06-21  Martin Baulig  <martin@ximian.com>

* generic.cs (NullCoalescingOperator.Emit): Make this work if the
left-hand side is not a nullable type; fixes #75328.

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

19 years ago2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 21 Jun 2005 13:04:27 +0000 (13:04 -0000)]
2005-06-21  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Create a copy of the evidences and add an instance of
PermissionRequestEvidence to it before resolution. This way the PRE
won't be present when asking for evidences later. Removed debugging
code.

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

19 years ago2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 21 Jun 2005 12:52:32 +0000 (12:52 -0000)]
2005-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* SortKey.cs : Now it is System.Globalization.SortKey.
  To replace existing implementation, it now requires lcid and
  CompareOptions. Added required members.
* SortKeyBuffer.cs : thus .ctor() requires LCID.
* SimpleCollator.cs : made required changes above.

svn path=/branches/atsushi/mcs/; revision=46301

19 years agoNew tests.
Martin Baulig [Tue, 21 Jun 2005 12:34:04 +0000 (12:34 -0000)]
New tests.

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