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

15 years ago2008-07-03 Marek Safar <marek.safar@gmail.com>
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

15 years ago* PropertyDescriptorCollectionTests.cs: Allow tests for pass on MS.
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

15 years agoRemoved undefined hashcode comparison test
Marek Safar [Thu, 3 Jul 2008 09:13:21 +0000 (09:13 -0000)]
Removed undefined hashcode comparison test

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

15 years agoFixed typo.
Gert Driesen [Thu, 3 Jul 2008 08:41:54 +0000 (08:41 -0000)]
Fixed typo.

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

15 years ago* HttpListener2Test.cs: Added test for multiple responses.
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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years agoMust close the response here,and must not throw exceptions here; Fixes a handful...
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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-07-02 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-07-03 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-07-02 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-07-02 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-07-03 Mark Probst <mark.probst@gmail.com>
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

15 years agoIn System.Web.UI:
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

15 years agoRevert last patch as it breaks the build.
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

15 years ago* ConfigurationManagerTest.cs: Added/improved tests for
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

15 years ago2008-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago2008-04-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 2 Jul 2008 17:31:42 +0000 (17:31 -0000)]
2008-04-03  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>

* StackTrace.cs: Fix parameter names
* DebuggerVisualizerAttribute.cs: Fix parameter names, fix wrong constructors (parameters
  were incorrectly used, maybe result of the wrong parameter names),
  remove unaccessible parameters, remove useless NET_2_0

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

15 years agoFormatting
Andreas N [Wed, 2 Jul 2008 17:17:15 +0000 (17:17 -0000)]
Formatting

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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 17:03:44 +0000 (17:03 -0000)]
2008-07-02  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Remove locking, speed up the
fast path a bit.

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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 17:00:01 +0000 (17:00 -0000)]
2008-07-02  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Add a comment.

* mini-amd64.c (mono_arch_get_delegate_invoke_impl): Remove locking, speed up the
fast path a bit.

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

15 years ago2008-07-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 2 Jul 2008 16:39:20 +0000 (16:39 -0000)]
2008-07-02  Jonathan Pobst  <monkey@jpobst.com>

* ContainerControl.cs: Apply a patch from Ernesto Carrea that adds
a null check to our focus walking code.  [Fixes bug #394332]

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

15 years ago2008-07-02 Andy Hume <andyhume32 at yahoo dot co dot uk>
Jonathan Pobst [Wed, 2 Jul 2008 16:26:38 +0000 (16:26 -0000)]
2008-07-02  Andy Hume <andyhume32 at yahoo dot co dot uk>

        * ComboBox.cs: Case missed in bug 379596 "Support item
        navigation by entering text": On _close_ drop-down select
        the first item matching the text in the textbox.  [Fixes bug #397265]

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

15 years ago2008-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 16:09:32 +0000 (16:09 -0000)]
2008-07-02  Zoltan Varga  <vargaz@gmail.com>

* Timer.cs (SchedulerThread): Iterate through the keys of the hashtable instead
of key-value pairs.

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

15 years ago* data/net_1_1/machine.config: Ignore system.windows.forms section.
Gert Driesen [Wed, 2 Jul 2008 15:08:41 +0000 (15:08 -0000)]
* data/net_1_1/machine.config: Ignore system.windows.forms section.
* data/net_2_0/machine.config: Define system.windows.forms section.

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

15 years ago2008-07-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 2 Jul 2008 14:55:32 +0000 (14:55 -0000)]
2008-07-02  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Fix a crash when sorting by column headers,
mentioned in bug #404841.  Remove some dead switch cases.

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

15 years agoAdd a comment regarding potential future issues with 64 bit systems and
Dick Porter [Wed, 2 Jul 2008 14:30:01 +0000 (14:30 -0000)]
Add a comment regarding potential future issues with 64 bit systems and
pids > 16 bits wide

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

15 years ago* t46.cs: Improve test coverage.
Gert Driesen [Wed, 2 Jul 2008 10:46:41 +0000 (10:46 -0000)]
* t46.cs: Improve test coverage.

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

15 years ago* Makefile: added test t46.
Gert Driesen [Wed, 2 Jul 2008 10:26:50 +0000 (10:26 -0000)]
* Makefile: added test t46.
* t46.cs, t46-lib.cs: added test for bug #405574.
* t46.exe.config, t46.exe.config2: config files for t46.
* t46.exe.expected: expected result for t46.

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

15 years ago2008-07-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jul 2008 08:44:05 +0000 (08:44 -0000)]
2008-07-02  Marek Habersack  <mhabersack@novell.com>

* SqlDataSourceTest.cs: command parameters are constructed from
reversed order of keys in an IOrderedDictionary - fix the order in
some tests.

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

15 years ago2008-07-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jul 2008 08:06:42 +0000 (08:06 -0000)]
2008-07-02  Marek Habersack  <mhabersack@novell.com>

* GridView.cs: minor optimizations (removed a foreach loop,
replaced calls to Array.Length with a variable containing the
length).

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

15 years agoJumbo updates to the man page
Miguel de Icaza [Wed, 2 Jul 2008 05:50:38 +0000 (05:50 -0000)]
Jumbo updates to the man page

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

15 years ago2008-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Jul 2008 05:38:34 +0000 (05:38 -0000)]
2008-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* ProtocolImporter.cs : make event stuff public.

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

15 years agoforgot in the previous commit.
Atsushi Eno [Wed, 2 Jul 2008 05:36:05 +0000 (05:36 -0000)]
forgot in the previous commit.

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

15 years ago * ComboBox.cs:
Carlos Alberto Cortez [Wed, 2 Jul 2008 04:40:58 +0000 (04:40 -0000)]
* ComboBox.cs:
* TextBox.cs: Implement AutoComplete support for ComboBox, which just
uses the AutoComplete support in the internal TextBox. Also TextBox
can store a reference to ComboBox, in case AutoCompleteSource is set
to ListItems (this is, ComboBox's items, and we don't want to pass an
additional collection).

2008-07-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 2 Jul 2008 04:08:24 +0000 (04:08 -0000)]
In .:
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* PropertyDescriptorCollection.cs : Kill some foreach loops.

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

15 years agoIn System.Data:
Rodrigo Kumpera [Wed, 2 Jul 2008 04:02:55 +0000 (04:02 -0000)]
In System.Data:
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* DataTable.cs: Kill some foreach loops.

* DataRow.cs: Same.

In System.Data.Common:
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* RecordCache.cs: Kill some foreach loops.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 2 Jul 2008 03:47:39 +0000 (03:47 -0000)]
In .:
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* TemplateControl.cs: Kill a foreach loop.

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

15 years ago2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Jul 2008 03:03:15 +0000 (03:03 -0000)]
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* SqlDataReader.cs: Do all column accesses with int indexes.

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 01:35:35 +0000 (01:35 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_patch_info): Don't create trampolines in aot_only mode.
(mono_aot_load_method): Use method_index instead of method->token.

* mini.c (mono_jit_compile_method_inner): Move the aot_only check down, so it
can handle icalls etc. properly.

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 01:11:33 +0000 (01:11 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file format version.

* aot-compiler.c aot-runtime.c: Allow AOTing many wrapper types.

* mini.c (mono_resolve_patch_target): Handle JIT_ICALL_ADDR.
(mono_codegen): Convert calls made by JIT icall wrappers to the icalls into
JIT_ICALL_ADDR patch type.

* patch-info.h: Add JIT_ICALL_ADDR patch type.

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 01:11:16 +0000 (01:11 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file format version.

* aot-compiler.c aot-runtime.c: Allow AOTing many wrapper types.

* mini.c (mono_resolve_patch_target): Handle JIT_ICALL_ADDR.
(mono_codegen): Convert calls made by JIT icall wrappers to the icalls into
JIT_ICALL_ADDR patch type.

* patch-info.h: Add JIT_ICALL_ADDR patch type.

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jul 2008 01:05:09 +0000 (01:05 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* icall.c (mono_get_jit_icall_info): New function to return the jit icall hash table.

* *-gc.c (mono_gc_get_managed_allocator_types): New function to return the
number of available managed allocator types.

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

15 years ago2008-07-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 2 Jul 2008 00:28:35 +0000 (00:28 -0000)]
2008-07-01  Miguel de Icaza  <miguel@novell.com>

* ConfigurationManager.cs (OpenExeConfigurationInternal): if the
string passed is empty, then we default to the startup assembly.

Fixes: #405574

Not entirely happy as there is no decent documentation for this
behavior (the docs state nothing about empty strings).

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

15 years ago2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 1 Jul 2008 23:30:48 +0000 (23:30 -0000)]
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* SqlDataReader.cs (GetSchemaTable): All column index are constants,
extract them.

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

15 years ago2008-07-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 1 Jul 2008 22:56:37 +0000 (22:56 -0000)]
2008-07-01  Marek Safar  <marek.safar@gmail.com>

* DataColumnCollection.cs: Made few simple optimizations.

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Jul 2008 22:17:52 +0000 (22:17 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Allow AOTing methods which access the interruption
request flag.
(mono_resolve_patch_target): Handle INTERRUPTION_REQUEST_FLAG.

* patch-info.h: Add INTERRUPTION_REQUEST_FLAG.

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Jul 2008 22:15:43 +0000 (22:15 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_init): Register Thread:ResetAbort as an icall ().
(mono_marshal_get_runtime_invoke): Call ResetAbort as an icall.

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

15 years agoIn System.Data.SqlClient:
Rodrigo Kumpera [Tue, 1 Jul 2008 22:15:09 +0000 (22:15 -0000)]
In System.Data.SqlClient:
2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>

* SqlDataReader.cs (GetSchemaTable): Calculate column indexes
outside of the row loop.

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

15 years agoIn ilasm/codegen:
Ankit Jain [Tue, 1 Jul 2008 20:23:59 +0000 (20:23 -0000)]
In ilasm/codegen:

Fix bug #405383
* MethodPointerTypeRef (Clone): Add missing null ref check.
Patch from Andrea Carlo Ornstein <andrea.ornstein@st.com>

In ilasm/tests:

* test-method-pointer.il: New.

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

15 years ago2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Jul 2008 20:17:46 +0000 (20:17 -0000)]
2008-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* BasicProfileChecker.cs : it does not really resolve relative URI in
  <import> element. It caused error, which should be reported, but
  .net ignores it. It must be LAMESPEC. Anyways added comments.

* WebServicesInteroperabilityTest.cs : new test. wsdl with <import>
  should not result in an error.
* check-import.wsdl, check-import2.wsdl : test helper files.

* System.Web.Services_test.dll.sources :
  added WebServicesInteroperabilityTest.cs.
* Makefile: updated EXTRA_DISTFILES.

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

15 years ago2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Jul 2008 20:09:33 +0000 (20:09 -0000)]
2008-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDescription.cs : fill RetrievalUrl by string.Empty
  by default.

* ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
  Sadly it does not provide the actual URL...

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

15 years ago2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Jul 2008 20:07:23 +0000 (20:07 -0000)]
2008-07-01  Atsushi Enomoto  <atsushi@ximian.com>

* test3.wsdl: added missing file (though the test is ignored).

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

15 years ago2008-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Jul 2008 18:52:52 +0000 (18:52 -0000)]
2008-07-01  Zoltan Varga  <vargaz@gmail.com>

* process-private.h (_WAPI_PROCESS_UNHANDLED_PID_MASK): Fix the amd64 build.

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

15 years agoThanks to Kornel, updated the license to reflect the change
Miguel de Icaza [Tue, 1 Jul 2008 18:44:23 +0000 (18:44 -0000)]
Thanks to Kornel, updated the license to reflect the change

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