mono.git
15 years ago* SqlException.cs: Modified HResult/ErrorCode to match MS. Removed
Gert Driesen [Sun, 6 Jul 2008 18:18:34 +0000 (18:18 -0000)]
* SqlException.cs: Modified HResult/ErrorCode to match MS. Removed
unused FromTdsInternalException overload. Removed unnecessary check
for Errors.Count. Minor code formatting.

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 18:06:42 +0000 (18:06 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* OracleDataReader.cs: Replace a few Type.GetType by typeof
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]

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

15 years agosvn path=/trunk/mcs/; revision=107345
Sebastien Pouliot [Sun, 6 Jul 2008 18:06:25 +0000 (18:06 -0000)]
svn path=/trunk/mcs/; revision=107345

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 17:57:44 +0000 (17:57 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* SqliteDataSourceEnumerator.cs: Replace a few Type.GetType by typeof
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 17:56:27 +0000 (17:56 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* SqliteDataSourceEnumerator.cs: Replace a few Type.GetType by typeof
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 17:53:40 +0000 (17:53 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>
* Mono.Data.SybaseClient/SybaseDataReader.cs: Replace a few
Type.GetType by typeof
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]

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

15 years ago* Tds70.cs: Removed extra tabs, and changed spaces to tabs. Code
Gert Driesen [Sun, 6 Jul 2008 17:51:48 +0000 (17:51 -0000)]
* Tds70.cs: Removed extra tabs, and changed spaces to tabs. Code
formatting. Avoid calling Environment.UserDomainName if username
contains domain. Use String.Empty instead of "".
* TdsConnectionParameters.cs: Invoke Reset method for initializing
fields. Spaces to tabs.

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 17:51:26 +0000 (17:51 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* TdsDataReader.cs: Replace a few Type.GetType by typeof
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 17:48:06 +0000 (17:48 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryEntry.cs: Use typeof(LdapModification) instead of
Type.GetType and actually use the value afterward.
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
* SearchResultCollection.cs: Avoid infinite recursion in
Contains(SearchResult).
[Found using Gendarme BadRecursiveInvocationRule]

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 15:59:31 +0000 (15:59 -0000)]
2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DateTimeOffset.cs: Fix parameter name

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 15:57:00 +0000 (15:57 -0000)]
2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DateTimeOffsetTest.cs: Fix wrong test (DateTimeOffset has no public CompareTo (object))

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 15:53:54 +0000 (15:53 -0000)]
2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DateTimeOffsetTest.cs: Fix wrong test (DateTimeOffset has no public CompareTo (object))

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 15:43:51 +0000 (15:43 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* OdbcDataReader.cs: Fix unneeded self-assignment for 'length'. Also
fix a bad setter where "value = behavior" instead of "behavior = value"
[Found using Gendarme ReviewSelfAssignmentRule]

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 15:38:42 +0000 (15:38 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Data.TdsClient/TdsCommand.cs: Fix unneeded assignment
for commandText (assigned to self). Also fix another unneeded
assignment (already taken care by the called ctor).
[Found using Gendarme ReviewSelfAssignmentRule]

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 15:37:32 +0000 (15:37 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Data.SybaseClient/SybaseCommand.cs: Fix unneeded assignment
for commandText (assigned to self). Also fix another unneeded
assignment (already taken care by the called ctor).
[Found using Gendarme ReviewSelfAssignmentRule]

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

15 years ago2008-07-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 6 Jul 2008 15:34:45 +0000 (15:34 -0000)]
2008-07-06  Sebastien Pouliot  <sebastien@ximian.com>

* DesignerActionMethodItem.cs: Fix typo where the action_list
field was self-assigned (instead of taking the ctor value).
[Found using Gendarme ReviewSelfAssignmentRule]

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

15 years ago* Tds50.cs: Fixed compiler warning. Removed extra tabs, and changed
Gert Driesen [Sun, 6 Jul 2008 13:54:10 +0000 (13:54 -0000)]
* Tds50.cs: Fixed compiler warning. Removed extra tabs, and changed
spaces to tabs. Minor code formatting.

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 13:48:22 +0000 (13:48 -0000)]
2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DateTimeOffset.cs: Remove public, make implicit method

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

15 years ago* TdsConnectionPool.cs: When pooled connection cannot be reset, remove
Gert Driesen [Sun, 6 Jul 2008 13:44:26 +0000 (13:44 -0000)]
* TdsConnectionPool.cs: When pooled connection cannot be reset, remove
it from pool and allow slot to be re-used for a newly established
connection. Fixes part of bug #360157. When pool is full, and no
connection becomes available before the connect timeout has elapsed,
then throw an InvalidOperationException instead of a SqlException.

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 13:43:36 +0000 (13:43 -0000)]
2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Environment.cs: Add missing attribute

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 13:01:36 +0000 (13:01 -0000)]
2008-07-06  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* GCLatencyMode.cs: Add missing attribute
* GCSettings.cs: Provide default data instead of throwing, add missing attrbutes,
enhance/add description texts

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 12:51:37 +0000 (12:51 -0000)]
2008-07-06  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* IRemotingFormatter.cs: Fix parameter name
* MethodCallMessageWrapper.cs: Remove excess public members

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 12:36:42 +0000 (12:36 -0000)]
2008-07-06  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* ReflectionPermissionFlag.cs: Add missing member
* ReflectionPermissionAttribute.cs: Implement missing member

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

15 years ago2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 6 Jul 2008 12:21:00 +0000 (12:21 -0000)]
2008-07-06  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* ApplicationTrust.cs: Add missing attribute

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

15 years ago2008-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jul 2008 11:05:53 +0000 (11:05 -0000)]
2008-07-06  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add an --enable-quiet-build option.

* Makefile.am (patch-quiet): New target.

* acinclude.m4: Handle --quiet.

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

15 years agoUpdate
Miguel de Icaza [Sun, 6 Jul 2008 04:36:09 +0000 (04:36 -0000)]
Update

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

15 years agoUpdate docs
Miguel de Icaza [Sun, 6 Jul 2008 04:33:49 +0000 (04:33 -0000)]
Update docs

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

15 years agoAndy Hume <andyhume32 at yahoo dot co dot uk>
Andreia Gaita [Sat, 5 Jul 2008 18:40:46 +0000 (18:40 -0000)]
Andy Hume <andyhume32 at yahoo dot co dot uk>

* SWF2k5.csproj, build-csproj2k5: Fix namespaces on embedded resources
  [Fixes #384180]

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

15 years ago2008-07-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jul 2008 16:29:36 +0000 (16:29 -0000)]
2008-07-05  Mark Probst  <mark.probst@gmail.com>

* docs/generic-sharing: Docs about porting generic sharing.

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

15 years ago2008-07-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jul 2008 15:25:54 +0000 (15:25 -0000)]
2008-07-05  Mark Probst  <mark.probst@gmail.com>

* mini-trampolines.c, mini.h: Add an argument to
mono_create_jit_trampoline_in_domain() for turning off the adding
of the sync wrapper.

* mini.c: Use the JIT trampoline without sync instead of
ldftn_nosync in static RGCTX invoke wrappers so that the call can
be patched.

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

15 years ago2008-07-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 4 Jul 2008 23:09:36 +0000 (23:09 -0000)]
2008-07-04  Mark Probst  <mark.probst@gmail.com>

* class-internals.h, class.c: Added new generic sharing option:
Share only stuff in System.Collections.Generic, which is now the
default.

2008-07-04  Mark Probst  <mark.probst@gmail.com>

* driver.c: Turn on GSHARED optimization by default.

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

15 years ago* TreeViewTest.cs: Add test for bug #406449.
Gert Driesen [Fri, 4 Jul 2008 20:51:08 +0000 (20:51 -0000)]
* TreeViewTest.cs: Add test for bug #406449.

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

15 years ago* TdsConnectionPool.cs: On 1.0 profile, use object[] for list of
Gert Driesen [Fri, 4 Jul 2008 20:24:52 +0000 (20:24 -0000)]
* TdsConnectionPool.cs: On 1.0 profile, use object[] for list of
connections. Patch provided by Christian Hergert. Fixes bug #406540.

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

15 years ago2008-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jul 2008 19:14:15 +0000 (19:14 -0000)]
2008-07-04  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c mini.c mini.h tramp-<ARCH>.c: Rename MONO_TRAMPOLINE_GENERIC
to MONO_TRAMPOLINE_JIT since it better reflects what it does.

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

15 years ago2008-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jul 2008 19:10:20 +0000 (19:10 -0000)]
2008-07-04  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_get_aot_trampoline_code): New internal function to
create a variant of the generic trampoline code callable from AOTed trampolines.

* tramp-amd64.c (mono_arch_create_trampoline_code_full): Add support for generic
trampoline code callable from AOTed trampolines.

* aot-compiler.c aot-runtime.c: Add support for AOTing trampolines.

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

15 years ago2008-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jul 2008 18:25:49 +0000 (18:25 -0000)]
2008-07-04  Zoltan Varga  <vargaz@gmail.com>

* scripts/patch-quiet.sh (src): Fix verbose mode.

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

15 years ago2008-07-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 4 Jul 2008 18:00:22 +0000 (18:00 -0000)]
2008-07-04  Mark Probst  <mark.probst@gmail.com>

* generic-sharing.c, class-internals.h: New function for getting a
generic method in a generic class given the corresponding method
for a different instantiation of the class.  Partly refactored
from mini-trampolines.c.

* class.c: Make sure generic methods have a class_inst if they are
part of a generic class.

* metadata.c (mono_type_stack_size_internal): Handle type
variables.

2008-07-04  Mark Probst  <mark.probst@gmail.com>

* inssel.brg, mini-ops.h: New opcode for doing CHECK_THIS in a
pass-through manner.

* mini.c: Generic method sharing.  Pass MRGCTX to generic methods
and don't fail sharing for them anymore.

* mini-exceptions.c: Handle exceptions in shared generic methods.

* generic-sharing.c: When checking the context of a generic
method, also check its class's context.  Don't treat wrappers as
sharable.

* mini-trampolines.c: Some code factored out to
metadata/generic-sharing.c.  Handle the MRGCTX case.

* jit-icalls.c, jit-icalls.h: ldvirtfn icall for generic sharing -
we must deal with the method being of another instantiation of the
class.  Add static rgctx invoke wrappers to generic methods.

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

15 years ago* Tds.cs: Avoid accessing TdsDataColumnCollection indexer. On 2.0
Gert Driesen [Fri, 4 Jul 2008 17:56:55 +0000 (17:56 -0000)]
* Tds.cs: Avoid accessing TdsDataColumnCollection indexer. On 2.0
profile, use predefined properties on TdsDataColumn for setting the
BaseColumnName and BaseTableName. Fixes bug #406556.

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

15 years ago* Tds50.cs: Avoid accessing TdsDataColumnCollection indexer, and
Gert Driesen [Fri, 4 Jul 2008 17:47:45 +0000 (17:47 -0000)]
* Tds50.cs: Avoid accessing TdsDataColumnCollection indexer, and
fixed IsHidden.

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

15 years agoFix an embarassingly stupid problem with buffer sizes.
Massimiliano Mantione [Fri, 4 Jul 2008 16:59:40 +0000 (16:59 -0000)]
Fix an embarassingly stupid problem with buffer sizes.

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

15 years agoChanged the way to wait for the writer thread to avoid passing an invalid handle...
Massimiliano Mantione [Fri, 4 Jul 2008 16:57:55 +0000 (16:57 -0000)]
Changed the way to wait for the writer thread to avoid passing an invalid handle to pthread_join.

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

15 years ago2008-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jul 2008 16:33:13 +0000 (16:33 -0000)]
2008-07-04  Marek Safar  <marek.safar@gmail.com>

* class.cs: Report missing partial modifier for correct type.

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

15 years agoNew test.
Marek Safar [Fri, 4 Jul 2008 16:03:43 +0000 (16:03 -0000)]
New test.

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

15 years ago2008-07-04 Rodrigo Kumpera <rkumpera@n ovell.com>
Rodrigo Kumpera [Fri, 4 Jul 2008 16:02:05 +0000 (16:02 -0000)]
2008-07-04  Rodrigo Kumpera  <rkumpera@n ovell.com>

* MethodBase.cs (GetMethodFromHandle): Fix a warning in
the 1.0 build.

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

15 years ago2008-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jul 2008 16:00:54 +0000 (16:00 -0000)]
2008-07-04  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, expression.cs (VariableReference): Variable property is
protected.

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

15 years agoIn System:
Rodrigo Kumpera [Fri, 4 Jul 2008 15:48:21 +0000 (15:48 -0000)]
In System:
2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>

* Delegate.cs (get_Method): Use the internal version
of GetMethodFromHandle to avoid the generic class check.

In Test/System:
2008-07-04 Rodrigo Kumpera  <rkumpera@novell.com>

* DelegateTest.cs (GetMethodFromGenericClass): Test for a
regression the fix for #377324 introduced.

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

15 years agoIn .:
Rodrigo Kumpera [Fri, 4 Jul 2008 15:43:40 +0000 (15:43 -0000)]
In .:
2008-07-04  Rodrigo Kumpera  <rkumpera@n ovell.com>

* MethodBase.cs (GetMethodFromHandle): Extract an internal version
of this function that doesn't perform the generic class check.
This method is required to fix the Delegate regression that fixing
#377324 caused.

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

15 years ago2008-07-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 4 Jul 2008 15:21:29 +0000 (15:21 -0000)]
2008-07-04  Mark Probst  <mark.probst@gmail.com>

* domain-internals.h: New field (has_this) in MonoGenericJitInfo.
Signifies whether information on the this/vtable/mrgctx variable
is available.

2008-07-04  Mark Probst  <mark.probst@gmail.com>

* mini.c: Provide all jit infos of generic shared methods with a
generic jit info.

* mini-exceptions.c: Handle the new situation that a generic info
might be available, but not info about the this/vtable/mrgctx
variable.

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

15 years ago2008-07-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 4 Jul 2008 14:55:42 +0000 (14:55 -0000)]
2008-07-04  Mark Probst  <mark.probst@gmail.com>

* object.c, object-internals.h, icall.c: New function
mono_delegate_ctor_with_method(), which does the same as
mono_delegate_ctor(), but takes an explicit method argument
instead of taking the method from the jit info.

* marshal.c: When creating a delegate with an inflated method take
the "this" argument as the target class for the castclass.

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

15 years ago2008-07-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 4 Jul 2008 14:50:51 +0000 (14:50 -0000)]
2008-07-04  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Add a null check when using CollapseAll on an
empty tree.  [Fixes bug #406449]

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

15 years agoA new test for bug #385125
Marek Safar [Fri, 4 Jul 2008 14:06:59 +0000 (14:06 -0000)]
A new test for bug #385125

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

15 years ago2008-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jul 2008 14:00:53 +0000 (14:00 -0000)]
2008-07-04  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, convert.cs: Made OpcodeCast more memory efficient.

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

15 years agoUpdated.
Marek Safar [Fri, 4 Jul 2008 13:17:24 +0000 (13:17 -0000)]
Updated.

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

15 years ago2008-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jul 2008 13:17:10 +0000 (13:17 -0000)]
2008-07-04  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs, class.cs, lambda.cs, iterator.cs: Cache static anonymous
method delegates.

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

15 years agoNew test + il optimization
Marek Safar [Fri, 4 Jul 2008 10:53:21 +0000 (10:53 -0000)]
New test + il optimization

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

15 years ago2008-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jul 2008 10:52:51 +0000 (10:52 -0000)]
2008-07-04  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs, class.cs, expression.cs, iterator.cs, statement.cs: Reduce
anonymous method storey to an instance method when only "this" is hoisted.

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

15 years ago* DataRelationTest.cs
Gert Driesen [Fri, 4 Jul 2008 10:51:16 +0000 (10:51 -0000)]
* DataRelationTest.cs
* MissingPrimaryKeyExceptionTest.cs: Fixed line endings.

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

15 years agoMissed this one.
Gert Driesen [Fri, 4 Jul 2008 10:44:49 +0000 (10:44 -0000)]
Missed this one.

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

15 years ago* ConstraintCollectionTest2.cs
Gert Driesen [Fri, 4 Jul 2008 10:43:33 +0000 (10:43 -0000)]
* ConstraintCollectionTest2.cs
* DataColumnTest2.cs
* DataRelationCollectionTest2.cs
* DataRowCollectionTest2.cs
* DataTableCollectionTest2.cs
* DataTableTest2.cs
* DataViewTest2.cs
* VersionNotFoundException.cs: Fixed line endings.

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

15 years ago2008-07-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jul 2008 10:19:17 +0000 (10:19 -0000)]
2008-07-04  Marek Safar  <marek.safar@gmail.com>

* StringTest.cs: Removed NotWorking flags.


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

15 years ago* DataColumnCollectionTest.cs: Added test for Add (String) with null
Gert Driesen [Fri, 4 Jul 2008 09:55:41 +0000 (09:55 -0000)]
* DataColumnCollectionTest.cs: Added test for Add (String) with null
and zero-length column name.
* DataColumnCollectionTest2.cs: Added/improved indexer tests.
* DataRowTest2.cs: Added/improved indexer tests. Enabled indexer test
for null column name.
* DataRow.cs: Use indexer of DataColumnCollection instead of IndexOf.
Cosmetic changes to exception message.
* DataColumnCollection.cs: Fixed off by one error in index check. Added
null check in name indexer. In Clear, also reset columnNameCount and
defaultColumnIndex.

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 4 Jul 2008 08:22:16 +0000 (08:22 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* ReturnMessage.cs:
* MethodResponse.cs:
* MethodCall.cs:
* IRemotingFormatter.cs:
* IMethodReturnMessage.cs:
* IMethodMessage.cs:
* IMethodCallMessage.cs:
* ConstructionResponse.cs:
* ConstructionCall.cs: Fix parameter name
* Header.cs: Ouch!

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 4 Jul 2008 07:56:04 +0000 (07:56 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* GCCollectionMode.cs: Add attribute
* GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 4 Jul 2008 07:45:10 +0000 (07:45 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* File.cs: Fix parameter name

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 4 Jul 2008 07:40:40 +0000 (07:40 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Delegate.cs: Fix parameter names for 2.0 profile
* Int64.cs: Fix parameter names

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 4 Jul 2008 07:40:06 +0000 (07:40 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* SortKey: Fix parameter names, add attribute, small formatting

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 23:41:06 +0000 (23:41 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* dominators.c (check_dominance_frontier): Fix a warning.

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

15 years ago2008-07-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 3 Jul 2008 22:50:07 +0000 (22:50 -0000)]
2008-07-03  Mark Probst  <mark.probst@gmail.com>

* mini.c: Don't accept ldftn and ldvirtftn with uninstantiated
generic methods.

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 22:23:54 +0000 (22:23 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* IntPtr: Fix parameter names, change internal name to accomodate for parameter changes

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

15 years ago2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 22:22:43 +0000 (22:22 -0000)]
2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Predicate.cs:
* Object.cs:
* Nullable.cs
* MultiCastDelegate.cs
* ModuleHandle.cs
* Math.cs
* MarshalByRefObject.cs
* Int64.cs
* Int32.cs
* Int16.cs
* Environment.cs
* Delegate.cs
* DateTimeOffset.cs
* ConsoleKeyInfo.cs
* Console.cs
* Array.cs
* AppDomain.cs: Fix parameter names

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

15 years ago2008-07-03 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 3 Jul 2008 21:59:29 +0000 (21:59 -0000)]
2008-07-03  Mark Probst  <mark.probst@gmail.com>

* docs/generic-sharing: New documentation file about generic code
sharing.  Currently contains information about examining stack
frames of generic shared code.

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

15 years agoIn .:
Rodrigo Kumpera [Thu, 3 Jul 2008 21:23:20 +0000 (21:23 -0000)]
In .:
2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>

* SqlConnection.cs: Remove connStringParameters as nobody uses it.

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 21:22:44 +0000 (21:22 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* mini.h: Add some missing prototypes.

* ssa.c local-propagation.c debug-debuger.c: Fix warnings.

* driver.c (mono_jit_init_version): Correct the comments since the first
argument should be the name of the root domain, not a filename.

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 20:56:52 +0000 (20:56 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* scripts/patch-quiet.sh: New helper script.

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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 20:50:47 +0000 (20:50 -0000)]
2008-07-03  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* TextInfo.cs: Fix exceptions
* StringInfo.cs
* SortKey.cs:
* RegionInfo.cs:
* NumberFormatInfo.cs:
* CultureInfo.cs:
* CompareInfo.cs:
* CharUnicodeInfo.cs: Fix parameter names

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

15 years agoImage.cs: throw NotImplementedException in SetPropertyItem instead of executing broke...
Sebastien Pouliot [Thu, 3 Jul 2008 20:50:26 +0000 (20:50 -0000)]
Image.cs: throw NotImplementedException in SetPropertyItem instead of executing broken code. See #406307 for test case.

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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 20:21:00 +0000 (20:21 -0000)]
2008-07-03  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* UmAlQuraCalendar.cs:
* ThaiBuddhistCalendar.cs
* TaiwanCalendar.cs:
* PersianCalendar.cs:
* KoreanCalendar.cs:
* JulianCalendar.cs:
* JapaneseCalendar.cs:
* HijriCalendar.cs:
* HebrewCalendar.cs:
* GregorianCalendar.cs:
* EastAsianLunisolarCalendar.cs:
* Calendar.cs: Fix parameter names

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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 20:00:51 +0000 (20:00 -0000)]
2008-07-03  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* TextWriter.cs:
* StreamWriter.cs:
* StreamReader.cs:
* Stream.cs:
* MemoryStream.cs:
* File.cs:
* DriveNotFoundException.cs:
* Directory.cs: Fix parameter names

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 20:00:06 +0000 (20:00 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_jit_init_version): Correct the comments since the first
argument should be the name of the root domain, not a filename.

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

15 years ago2008-07-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jul 2008 19:31:06 +0000 (19:31 -0000)]
2008-07-03  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Make OnMenuComplete internal so we can call it.
* MenuAPI.cs: Raise Form.MenuComplete when a menu item is clicked.
[Fixes bug #399321]

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 19:23:56 +0000 (19:23 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (make_writable): Error out if this is called while running
with --aot-only.
(load_aot_module): Ditto.

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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 19:20:58 +0000 (19:20 -0000)]
2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* ZoneMembershipCondition.cs:
* UrlMembershipCondition.cs:
* UnionCodeGroup.cs:
* PolicyStatement.cs:
* PolicyException.cs:
* PermissionRequestEvidence.cs:
* NetCodeGroup.cs:
* HashMembershipCondition.cs:
* GacMembershipCondition.cs:
* ApplicationDirectory.cs: Fix parameter names

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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 19:20:37 +0000 (19:20 -0000)]
2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* ServerException.cs:
* RemotingTimeoutException.cs:
* RemotingException.cs:
* RemotingServices.cs:
* RemotingConfiguration.cs:
* ObjRef.cs: "Fix" parameter names

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 19:20:33 +0000 (19:20 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (make_writable): Error out if this is called while running
with --aot-only.

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 19:13:34 +0000 (19:13 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Really fix the computation of method indexes.

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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 3 Jul 2008 18:27:53 +0000 (18:27 -0000)]
2008-07-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* SignatureHelper.cs: Fix parameter names
* ModuleBuilder.cs: Fix parameter names

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

15 years ago* DataRow.cs: Added missing null checks. Cosmetic changes to exception
Gert Driesen [Thu, 3 Jul 2008 18:22:35 +0000 (18:22 -0000)]
* DataRow.cs: Added missing null checks. Cosmetic changes to exception
messages.
* DataRowTest2.cs: Added indexer tests.

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

15 years ago* SqlCommandTest.cs: Removed extra tabs. Update bug number.
Gert Driesen [Thu, 3 Jul 2008 18:20:50 +0000 (18:20 -0000)]
* SqlCommandTest.cs: Removed extra tabs. Update bug number.

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

15 years ago2008-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jul 2008 18:20:26 +0000 (18:20 -0000)]
2008-07-03  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_delegate_invoke_impl): Remove the previous
optimizations as this is no longer called frequently.

* mini-trampolines.c (mono_create_delegate_trampoline): Precompute the invoke
method and the invoke impl code and pass it to the delegate trampoline instead of
just the delegate class.

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

15 years ago* OdbcDataAdapterTest.cs: Added test for UpdateBatchSize.
Gert Driesen [Thu, 3 Jul 2008 18:16:58 +0000 (18:16 -0000)]
* OdbcDataAdapterTest.cs: Added test for UpdateBatchSize.

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

15 years ago2008-07-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jul 2008 17:02:12 +0000 (17:02 -0000)]
2008-07-03  Jonathan Pobst  <monkey@jpobst.com>

* TabControl.cs: Handle Up and Down keys when TabControl is in
vertical alignment.
[Fixes bug #399585]

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

15 years ago2008-07-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jul 2008 16:46:20 +0000 (16:46 -0000)]
2008-07-03  Jonathan Pobst  <monkey@jpobst.com>

* TabControl.cs: Invalidate when we remove a tab.  Guard against
an AOORE when trying to remove a tabpage that is not owned by the
parent control.
[Fixes bug #399927]

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

15 years ago2008-07-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jul 2008 16:27:34 +0000 (16:27 -0000)]
2008-07-03  Jonathan Pobst  <monkey@jpobst.com>

* ScrollBar.cs: Change the LargeChange calculation to be correct.
Ensure we are using LargeChange instead of large_change so we our
calculations are correct.
[Fixes bug #403122]

2008-07-03  Jonathan Pobst  <monkey@jpobst.com>

* ScrollBarTest.cs: Add test for bug #403122.

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

15 years ago2008-07-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 3 Jul 2008 15:41:53 +0000 (15:41 -0000)]
2008-07-03  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: When we change to a serialized TableLayoutSettings,
we need to ensure the ColumnCount/RowCount gets set.
[Fixes bug #404851]

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

15 years ago2008-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jul 2008 15:19:57 +0000 (15:19 -0000)]
2008-07-03  Marek Safar  <marek.safar@gmail.com>

A test for bug #321615

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

15 years ago2008-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jul 2008 15:18:07 +0000 (15:18 -0000)]
2008-07-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #321615
* expression.cs: Pointer comparisons use unsigned operator.

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

15 years agoIn .:
Rodrigo Kumpera [Thu, 3 Jul 2008 13:47:10 +0000 (13:47 -0000)]
In .:
2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>

* Exception.cs (GetFullNameForStackTrace): Don't do string
concatenation.

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

15 years agoUse DBNull value instead of throwing an exception
Veerapuram Varadhan [Thu, 3 Jul 2008 13:38:09 +0000 (13:38 -0000)]
Use DBNull value instead of throwing an exception

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

15 years agocheck for null before fetching column mapping
Veerapuram Varadhan [Thu, 3 Jul 2008 13:37:14 +0000 (13:37 -0000)]
check for null before fetching column mapping

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

15 years agoNew test + optimizations update
Marek Safar [Thu, 3 Jul 2008 11:31:43 +0000 (11:31 -0000)]
New test + optimizations update

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