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
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
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
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
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
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
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
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
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
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
Marek Safar [Fri, 4 Jul 2008 16:03:43 +0000 (16:03 -0000)]
New test.
svn path=/trunk/mcs/; revision=107262
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
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
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
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
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
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
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
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
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
Marek Safar [Fri, 4 Jul 2008 13:17:24 +0000 (13:17 -0000)]
Updated.
svn path=/trunk/mcs/; revision=107242
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
Marek Safar [Fri, 4 Jul 2008 10:53:21 +0000 (10:53 -0000)]
New test + il optimization
svn path=/trunk/mcs/; revision=107238
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
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
Gert Driesen [Fri, 4 Jul 2008 10:44:49 +0000 (10:44 -0000)]
Missed this one.
svn path=/trunk/mcs/; revision=107235
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Thu, 3 Jul 2008 11:31:43 +0000 (11:31 -0000)]
New test + optimizations update
svn path=/trunk/mcs/; revision=107141
Marek Safar [Thu, 3 Jul 2008 11:30:59 +0000 (11:30 -0000)]
2008-07-03 Marek Safar <marek.safar@gmail.com>
* expression.cs: Fixed native pointer conversions. Also fixes #321615.
svn path=/trunk/mcs/; revision=107140
Gert Driesen [Thu, 3 Jul 2008 09:31:06 +0000 (09:31 -0000)]
* PropertyDescriptorCollectionTests.cs: Allow tests for pass on MS.
* TypeDescriptorTests.cs: Added GetProperties and GetEvents asserts
for interfaces.
svn path=/trunk/mcs/; revision=107139
Marek Safar [Thu, 3 Jul 2008 09:13:21 +0000 (09:13 -0000)]
Removed undefined hashcode comparison test
svn path=/trunk/mcs/; revision=107138
Gert Driesen [Thu, 3 Jul 2008 08:41:54 +0000 (08:41 -0000)]
Fixed typo.
svn path=/trunk/mcs/; revision=107136
Gert Driesen [Thu, 3 Jul 2008 08:40:58 +0000 (08:40 -0000)]
* HttpListener2Test.cs: Added test for multiple responses.
* HttpWebResponseTest.cs: Added tests for disposed checks.
svn path=/trunk/mcs/; revision=107135
Andreas N [Thu, 3 Jul 2008 08:16:05 +0000 (08:16 -0000)]
2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* UTF8Encoding.cs: Fix parameter names, Remove unfounded TODO
svn path=/trunk/mcs/; revision=107134
Andreas N [Thu, 3 Jul 2008 08:15:43 +0000 (08:15 -0000)]
2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SHA1CryptoServiceProvider.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107133
Martin Baulig [Thu, 3 Jul 2008 00:32:20 +0000 (00:32 -0000)]
Must close the response here,and must not throw exceptions here; Fixes a handful of issues with handling more than one connection - miguel
svn path=/trunk/mcs/; revision=107127
Andreas N [Wed, 2 Jul 2008 23:56:08 +0000 (23:56 -0000)]
2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SHA512Managed.cs:
* SHA384Managed.cs:
* SHA256Managed.cs:
* SHA1Managed.cs:
* SHA1CryptoServiceProvider.cs:
* RSAPKCS1KeyExchangeDeformatter.cs:
* RSACryptoServiceProvider.cs:
* RSA.cs:
* RIPEMD160Managed.cs:
* RC2.cs:
* PKCS1MaskGenerationMethod.cs:
* MD5CryptoServiceProvider.cs:
* MD5.cs:
* MACTripleDES.cs:
* HMACSHA512.cs:
* HMACSHA384.cs:
* HMACSHA256.cs:
* HMACSHA1.cs:
* HMACRIPEMD160.cs:
* HMACMD5.cs:
* HMAC.cs:
* HashAlgorithm.cs:
* FromBase64Transform.cs:
* DSACryptoServiceProvider.cs:
* DES.cs:
* CspParameters.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107126
Andreas N [Wed, 2 Jul 2008 23:55:44 +0000 (23:55 -0000)]
2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* UTF8Encoding.cs:
* UTF7Encoding.cs:
* UTF32Encoding.cs:
* EncodingInfo.cs:
* Encoding.cs:
* Encoder.cs:
* ASCIIEncoding.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107125
Andreas N [Wed, 2 Jul 2008 23:55:20 +0000 (23:55 -0000)]
2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ThreadPool.cs:
* LockCookie.cs:
* Interlocked.cs:
* ExecutionContext.cs:
* AsyncFlowControl.cs:
* AbandonedMutexException.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107124
Rodrigo Kumpera [Wed, 2 Jul 2008 23:47:52 +0000 (23:47 -0000)]
2008-07-02 Rodrigo Kumpera <rkumpera@novell.com>
* Control.cs: Fix the lookup in ResolveAdapter that I
broke in the previous change.
svn path=/trunk/mcs/; revision=107123
Rodrigo Kumpera [Wed, 2 Jul 2008 23:29:38 +0000 (23:29 -0000)]
2008-07-02 Rodrigo Kumpera <rkumpera@novell.com>
* Control.cs: Optimize ResolveAdapter a bit more.
svn path=/trunk/mcs/; revision=107121
Marek Habersack [Wed, 2 Jul 2008 23:28:50 +0000 (23:28 -0000)]
2008-07-03 Marek Habersack <mhabersack@novell.com>
* CheckBox.cs: do not render the language="javascript" attribute
in the 2.0 profile.
svn path=/trunk/mcs/; revision=107120
Marek Safar [Wed, 2 Jul 2008 22:27:26 +0000 (22:27 -0000)]
2008-07-02 Marek Safar <marek.safar@gmail.com>
A test for bug #404905
svn path=/trunk/mcs/; revision=107114
Marek Safar [Wed, 2 Jul 2008 22:27:01 +0000 (22:27 -0000)]
2008-07-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #404905
* class.cs: Always initialize local unsafe variables.
svn path=/trunk/mcs/; revision=107113
Mark Probst [Wed, 2 Jul 2008 22:17:29 +0000 (22:17 -0000)]
2008-07-03 Mark Probst <mark.probst@gmail.com>
* domain.c (mono_jit_info_table_find): Fixed a bug that caused
mono_jit_info_table_find() to perform very badly in some cases.
svn path=/trunk/mono/; revision=107112
Rodrigo Kumpera [Wed, 2 Jul 2008 22:13:51 +0000 (22:13 -0000)]
In System.Web.UI:
2008-07-02 Rodrigo Kumpera <rkumpera@novell.com>
* Control.cs: Optimize the Adapter property and ResolveAdapter a bit.
svn path=/trunk/mcs/; revision=107110
Andreas N [Wed, 2 Jul 2008 21:45:13 +0000 (21:45 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SecurityPermission.cs:
* RegistryPermission.cs:
* PrincipalPermission.cs:
* KeyContainerPermissionAccessEntry.cs:
* KeyContainerPermission.cs:
* GacIdentityPermission.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107105
Andreas N [Wed, 2 Jul 2008 21:44:54 +0000 (21:44 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* X509Certificate.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107104
Andreas N [Wed, 2 Jul 2008 21:44:34 +0000 (21:44 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* MutexAccessRule.cs:
* MutexAuditRule.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107103
Andreas N [Wed, 2 Jul 2008 21:44:08 +0000 (21:44 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SoapYearMonth.cs:
* SoapYear.cs:
* SoapQName.cs:
* SoapHexBinary.cs:
* SoapDuration.cs:
* SoapDate.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107102
Andreas N [Wed, 2 Jul 2008 21:43:45 +0000 (21:43 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IDynamicMessageSink.cs
* IContextProperty.cs: Fix parameter names
* ContextAttribute.cs: Fix parameter names, exception names
svn path=/trunk/mcs/; revision=107101
Andreas N [Wed, 2 Jul 2008 21:43:24 +0000 (21:43 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IChannelReceiver.cs:
* ClientChannelSinkStack.cs:
* ChannelDataStore.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107100
Zoltan Varga [Wed, 2 Jul 2008 21:23:39 +0000 (21:23 -0000)]
2008-07-02 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Fixup the computation of method indexes.
(add_wrappers): Create the base methods of the runtime invoke wrappers using
the method builder infrastructure.
* aot-runtime.c (decode_exception_debug_info): Don't crash if the method
has no header.
* mini-trampolines.c (mono_create_jit_trampoline_in_domain): In aot-only
mode, load the method right away instead of creating a trampoline.
svn path=/trunk/mono/; revision=107097
Zoltan Varga [Wed, 2 Jul 2008 21:18:53 +0000 (21:18 -0000)]
2008-07-02 Zoltan Varga <vargaz@gmail.com>
* icall.c (type_from_typename): Handle 'string'.
* marshal.c (mono_marshal_get_runtime_invoke): Don't insert runtime invoke
wrappers into the wrapper_hash, since the key is not a MonoMethod.
svn path=/trunk/mono/; revision=107096
Zoltan Varga [Wed, 2 Jul 2008 19:42:43 +0000 (19:42 -0000)]
2008-07-02 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_get_delegate_invoke_impl): Eliminate locking.
svn path=/trunk/mono/; revision=107090
Zoltan Varga [Wed, 2 Jul 2008 19:40:36 +0000 (19:40 -0000)]
2008-07-02 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_get_delegate_invoke_impl): Eliminate locking, speed up
some checks a bit.
svn path=/trunk/mono/; revision=107089
Andreas N [Wed, 2 Jul 2008 18:33:37 +0000 (18:33 -0000)]
2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* TypeBuilder.cs: Fix parameter names
* SignatureHelper.cs: Fix parameter names, Small formatting
* ModuleBuilder.cs: Fix parameter names
* MethodBuilder.cs: Fix parameter names
* LocalBuilder.cs:
* ILGenerator.cs:
* GenericTypeParameterBuilder.cs:
* EnumBuilder.cs:
* DynamicMethod.cs:
* ConstructorBuilder.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107084
Zoltan Varga [Wed, 2 Jul 2008 18:17:40 +0000 (18:17 -0000)]
Revert last patch as it breaks the build.
svn path=/trunk/mono/; revision=107081
Gert Driesen [Wed, 2 Jul 2008 18:02:18 +0000 (18:02 -0000)]
* ConfigurationManagerTest.cs: Added/improved tests for
OpenExeConfiguration. Enabled tests that were previously failed.
* ClientConfigurationSystem.cs: Moved logic for defaulting to
configuration file of AppDomain to OpenExeConfigurationInternal.
* ConfigurationManager.cs (OpenExeConfigurationInternal):
Allow calling_assembly and exePath to be null. When userLevel is None,
default to configuration file of AppDomain if exePath is null or empty.
When exePath is specified, resolve it to absolute path and throw
ConfigurationErrorsException if exePath does not exist and add
.config extension to get config file name if exePath does exist.
svn path=/trunk/mcs/; revision=107080
Carlos Alberto Cortez [Wed, 2 Jul 2008 17:56:38 +0000 (17:56 -0000)]
2008-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: When handling item navigation, if selection mode is
None, call EnsureVisible, since scrolling is normally handled by
selection, that we are not calling in this case.
Fixes #398345.
svn path=/trunk/mcs/; revision=107079