mono.git
17 years ago * ListView.cs: In ItemControl.ItemsMouseMove, refactor
Carlos Alberto Cortez [Sun, 24 Jun 2007 19:35:31 +0000 (19:35 -0000)]
* ListView.cs: In ItemControl.ItemsMouseMove, refactor
the code to retrieve the item at position only one time. Also
change cursor when Activation is ItemActivation.OneClick as well
as invalidate the item if HotTracking is true (to show/hide the
underline style). Add an internal HotItemIndex property to retrieve
the current hot item's index.
* ListViewItem.cs: Add an internal HotFont property to cache the
font used when HotTracking is true and the pointer moves within the
item's borders.
* ThemeWin32Classic.cs: When drawing the item's text, use Font or
HotFont depending on the hot state of the item.

2007-06-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years agoAdd
Miguel de Icaza [Sun, 24 Jun 2007 17:13:43 +0000 (17:13 -0000)]
Add

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

17 years ago* DirectoryTest.cs: Restore original CurrentCulture on teardown.
Gert Driesen [Sun, 24 Jun 2007 14:20:09 +0000 (14:20 -0000)]
* DirectoryTest.cs: Restore original CurrentCulture on teardown.
* FileSystemInfoTest.cs: Restore original CurrentCulture on teardown.
Removed stray tabs. Code formatting.
* FileTest.cs: Restore original CurrentCulture on teardown. Removed
stray tabs. Changes spaces to tabs.
* ThreadTest.cs: Added tests for bug #81930.
* CultureInfoTest.cs: Added exception tests when invoking NumberFormat
or DateTimeFormat on a neutral culture. Added tests for bug #81930.
No longer derive from deprecated Assertion class. Added tests for
GetCultureInfo (2.0).
* ArrayTest.cs: Added test for bug #81941.
* ByteTest.cs: Restore original CurrentCulture in teardown.
* DecimalFormatterTest.cs: Restore original CurrentCulture in teardown.
Code formatting.
* DecimalTest.cs: Code formatting.
* DoubleFormatterTest.cs: Test relies on specific culture, so set it
up here. This worked before since the CurrentCulture was set in another
TestFixture, and the original one was not restored.
* FloatingPointFormatterTest.cs: Same.
* NumberFormatterTest.cs: Same. Removed stray tabs and fixes code
formatting.
* SingleFormatterTest.cs: Restore original culture on teardown. Code
formatting.
* SingleTest.cs: Same.
* StringComparerTest.cs: Restore original culture on teardown.

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

17 years ago* locales.c: When constructing DateTimeFormat or NumberFormat for
Gert Driesen [Sun, 24 Jun 2007 14:17:51 +0000 (14:17 -0000)]
* locales.c: When constructing DateTimeFormat or NumberFormat for
MonoCultureInfo, inherit readonly bit from MonoCultureInfo. The
MonoCultureInfo contructed from the current locale is always
read-only and has UseUserOverride set to true. All MonoCultureInfo
instances returned for GetCultures have both IsReadOnly and
UseUserOverride set to true. Fixes part of bug #81930.

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

17 years agoInitial ExtenderControl implementation
Igor Zelmanovich [Sun, 24 Jun 2007 13:29:34 +0000 (13:29 -0000)]
Initial ExtenderControl implementation

Implemented EnableScriptGlobalization feature

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

17 years ago2007-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 24 Jun 2007 13:23:14 +0000 (13:23 -0000)]
2007-06-24  Zoltan Varga  <vargaz@gmail.com>

* Array.cs (get_swapper<T>): Use slow_swapper since every T[] is an object[].
Fixes #81941.

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

17 years agoInitial ScriptBehaviorDescriptor implementation
Igor Zelmanovich [Sun, 24 Jun 2007 13:08:28 +0000 (13:08 -0000)]
Initial ScriptBehaviorDescriptor implementation

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

17 years agoInitial ScriptComponentDescriptor implementation
Igor Zelmanovich [Sun, 24 Jun 2007 12:26:56 +0000 (12:26 -0000)]
Initial ScriptComponentDescriptor implementation

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

17 years agoadded DefaultSerializer property for internal use
Igor Zelmanovich [Sun, 24 Jun 2007 12:25:27 +0000 (12:25 -0000)]
added DefaultSerializer property for internal use

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

17 years ago* ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out parameter
Vladimir Krasnov [Sun, 24 Jun 2007 09:24:25 +0000 (09:24 -0000)]
* ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out parameter

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

17 years agofixed broken 1.1 compatibility
Vladimir Krasnov [Sun, 24 Jun 2007 09:21:05 +0000 (09:21 -0000)]
fixed broken 1.1 compatibility

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

17 years ago* FormsAuthentication.cs: improved performance of GetHexString()
Vladimir Krasnov [Sun, 24 Jun 2007 09:06:39 +0000 (09:06 -0000)]
* FormsAuthentication.cs: improved performance of GetHexString()

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

17 years ago* HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
Vladimir Krasnov [Sun, 24 Jun 2007 08:16:33 +0000 (08:16 -0000)]
* HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement

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

17 years ago* HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
Vladimir Krasnov [Sun, 24 Jun 2007 08:09:40 +0000 (08:09 -0000)]
* HttpHandlerAction.cs: fixed SplitPaths property to be thread safe

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

17 years ago* CheckBox.cs: fixed Render, HasAttributes called instead Attributes.Count
Vladimir Krasnov [Sun, 24 Jun 2007 07:56:34 +0000 (07:56 -0000)]
* CheckBox.cs: fixed Render, HasAttributes called instead Attributes.Count

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

17 years ago2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 24 Jun 2007 07:51:31 +0000 (07:51 -0000)]
2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: fixed AllowPaging feature:
When the AllowPaging is true the GridView control should automatically
hide the pager row when the data source contains fewer than 2 records.
patch Patch submitted by Dumitru Ban [dban@dako.ro]

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

17 years agoAdd more tests.
Marek Safar [Sat, 23 Jun 2007 23:29:17 +0000 (23:29 -0000)]
Add more tests.

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

17 years ago2007-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 23 Jun 2007 23:28:33 +0000 (23:28 -0000)]
2007-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81938
* typemanager.cs (ChangeType): Fixed couple of char conversions.

* constant.cs: Tide up an exception message.

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

17 years ago2007-06-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 23 Jun 2007 21:37:08 +0000 (21:37 -0000)]
2007-06-23  Marek Safar <marek.safar@gmail.com>

* List.cs: Make CheckMatch static.

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

17 years ago2007-06-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 Jun 2007 15:35:08 +0000 (15:35 -0000)]
2007-06-23  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass_1): Optimize away moves at the beginning of the bb as
well.
(peephole_pass): Likewise.

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

17 years ago2007-06-22 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Sat, 23 Jun 2007 02:06:31 +0000 (02:06 -0000)]
2007-06-22  Rodrigo Kumpera  <kumpera@gmail.com>

* unverifiable_ldflda_other_class_on_simple_method.il: test for load field address in .ctor
* unverifiable_ldsflda_other_class_on_simple_method.il: same
* unverifiable_ldsflda_other_class_field_on_cctor.il: same
* unverifiable_ldflda_other_class_field_on_cctor.il: same
* unverifiable_ldsflda_owner_class_on_simple_method.il: same
* unverifiable_ldflda_owner_class_on_simple_method.il: same
* valid_ldflda_owned_field_on_cctor.il: same
* valid_ldsflda_owned_field_on_cctor.il: same
* valid_local_ref_ref_store.il: valid local store that was not covered before
* unverifiable_ptr_nop.il:  unmanaged pointer ops
* unverifiable_ptr_ldloc.il: same
* unverifiable_ptr_ldarg.il: same
* unverifiable_m_ptr_ldloc.il: same
* unverifiable_m_ptr_ldarg.il: same

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

17 years ago2007-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 22 Jun 2007 21:47:36 +0000 (21:47 -0000)]
2007-06-22  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (SimpleName.DoSimpleNameResolve): Better error reporting when
an uninitialized variable is used.

* expression.cs (LocalVariableReference.DoResolve): Ditto.

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

17 years agoAdd new tests.
Marek Safar [Fri, 22 Jun 2007 21:27:43 +0000 (21:27 -0000)]
Add new tests.

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

17 years ago2007-06-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 22 Jun 2007 18:55:14 +0000 (18:55 -0000)]
2007-06-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Add test for 2.0 HotTracking.

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

17 years ago2007-06-22 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 22 Jun 2007 18:45:29 +0000 (18:45 -0000)]
2007-06-22  Jonathan Chambers  <joncham@gmail.com>

* __ComObject.cs: Move interface lookup to unmanaged.

2007-06-22  Jonathan Chambers  <joncham@gmail.com>

* __ComObject.cs (ThrowExceptionForHR): Implement/consolidate.
* __ComObject.cs (GetExceptionForHR): Implement/consolidate.

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

17 years ago2007-06-22 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 22 Jun 2007 18:44:23 +0000 (18:44 -0000)]
2007-06-22  Jonathan Chambers  <joncham@gmail.com>

       * icall-def.h: Update System.__ComObject icalls
       * marshal.c: Avoid managed transition (and object creation)
       when looking up COM interface in RCW.
       * marshal.h: Ditto.

       Code is contributed under MIT/X11 license.

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

17 years ago2007-06-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 22 Jun 2007 18:37:21 +0000 (18:37 -0000)]
2007-06-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 HotTracking property.

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

17 years ago* FileStreamTest.cs: Added test for bug #79250.
Gert Driesen [Fri, 22 Jun 2007 17:41:31 +0000 (17:41 -0000)]
* FileStreamTest.cs: Added test for bug #79250.

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

17 years ago* VBCodeCompiler.cs: Throw a descriptive exception if we're trying to
Rolf Bjarne Kvinge [Fri, 22 Jun 2007 16:10:33 +0000 (16:10 -0000)]
* VBCodeCompiler.cs: Throw a descriptive exception if we're trying to
  compile anything on the 1.0 profile. Correctly parse vbnc error
  messages (and don't return any messages if there weren't any
  errors/warnings). Fixes #81872.

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

17 years ago2007-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 Jun 2007 14:38:56 +0000 (14:38 -0000)]
2007-06-22  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Cache in the method image for now
to avoid crashes during assembly unloading.

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

17 years ago2007-06-22 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 22 Jun 2007 12:43:43 +0000 (12:43 -0000)]
2007-06-22  Dick Porter  <dick@ximian.com>

* shared.c: The non-shared mutexes weren't being initialised properly
on macos.  Fixes bug 81929.

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

17 years agoFix MethodInfo.IsGenericMethodDefinition
Raja R Harinath [Fri, 22 Jun 2007 12:36:53 +0000 (12:36 -0000)]
Fix MethodInfo.IsGenericMethodDefinition
* reflection.c (mono_reflection_bind_generic_method_parameters):
Rearrange code to ensure we always uses a generic method definition.
* class.c (mono_class_inflate_generic_method_full): Set
'generic_container' field only for generic method definitions.
* icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition):
Use presense of 'generic_container' field as indication of being a
generic method definition.

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

17 years ago* MethodInfoTest.cs (IsGenericMethodDefinition): New.
Raja R Harinath [Fri, 22 Jun 2007 12:35:57 +0000 (12:35 -0000)]
* MethodInfoTest.cs (IsGenericMethodDefinition): New.

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

17 years agoAdd new tests.
Marek Safar [Fri, 22 Jun 2007 12:35:05 +0000 (12:35 -0000)]
Add new tests.

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

17 years agoAdd more comprehensive tests.
Marek Safar [Fri, 22 Jun 2007 12:34:22 +0000 (12:34 -0000)]
Add more comprehensive tests.

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

17 years ago2007-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 22 Jun 2007 12:33:43 +0000 (12:33 -0000)]
2007-06-22  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (SimpleName.TypeOrNamespaceNotFound): Allow to override type
not found error handling.

* expression.cs (ArrayCreation): Removed redundant fields and little bit
simplified.
(ArrayCreation.ResolveArrayElement): To be ready to customization.
(ArrayCreation.DoResolve): Simplified.
(ImplicitlyTypedArrayCreation.DoResolve): Implicitly typed arrays have
its own resolve process.
(ImplicitlyTypedArrayCreation.ResolveArrayElement): Conversion magic.

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

17 years agoFri Jun 22 09:17:08 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 22 Jun 2007 07:05:07 +0000 (07:05 -0000)]
Fri Jun 22 09:17:08 CEST 2007 Paolo Molaro <lupus@ximian.com>

* driver.c: hopefully make setaffinity work also for ancient
versions of linux.

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

17 years ago2007-06-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 22 Jun 2007 06:48:00 +0000 (06:48 -0000)]
2007-06-22  Atsushi Enomoto  <atsushi@ximian.com>

* driver.c : win32 build fix.

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

17 years ago2007-06-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jun 2007 19:54:58 +0000 (19:54 -0000)]
2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripControlHost.cs: If our hosted control never got created,
don't try to dispose it.  [Fixes bug #81909]

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:46:31 +0000 (18:46 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:45:38 +0000 (18:45 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

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

17 years ago2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 21 Jun 2007 18:35:02 +0000 (18:35 -0000)]
2007-06-21  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageAttributes.cs: Add test case for big alpha value used in
a ColorMatrix.

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

17 years agoimplemented DeserializeObject
Konstantin Triger [Thu, 21 Jun 2007 18:24:28 +0000 (18:24 -0000)]
implemented DeserializeObject

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

17 years agoimplemented JavaScriptConverter..Deserialize functionality
Konstantin Triger [Thu, 21 Jun 2007 18:16:26 +0000 (18:16 -0000)]
implemented JavaScriptConverter..Deserialize functionality

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:16:12 +0000 (18:16 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h: Reflect changes in the layout of the managed Delegate
class.

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 18:14:17 +0000 (18:14 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
the dynamic method referenced by a delegate alive.

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

17 years agoThu Jun 21 19:24:03 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Jun 2007 17:33:54 +0000 (17:33 -0000)]
Thu Jun 21 19:24:03 CEST 2007 Paolo Molaro <lupus@ximian.com>

* driver.c: check for the MONO_NO_SMP env var and bind to a single
processor if it is set.

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

17 years agoAdded documentation about MONO_NO_SMP.
Paolo Molaro [Thu, 21 Jun 2007 17:33:11 +0000 (17:33 -0000)]
Added documentation about MONO_NO_SMP.

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

17 years agoAdded check for sched_setaffinity().
Paolo Molaro [Thu, 21 Jun 2007 17:31:57 +0000 (17:31 -0000)]
Added check for sched_setaffinity().

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 17:31:47 +0000 (17:31 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* DynamicMethod.cs: Applied patch from Robert Jordan (robertj@gmx.net). Add
a destructor which frees the runtime data for the method.

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

17 years ago2007-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Jun 2007 17:29:45 +0000 (17:29 -0000)]
2007-06-21  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h reflection.c icall-def.h: Applied patch from Robert
Jordan (robertj@gmx.net). Add a dtor to dynamic methods which frees up the
runtime memory used by the dynamic method. Fixes #77146.

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

17 years ago2007-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Jun 2007 16:33:35 +0000 (16:33 -0000)]
2007-06-21  Dick Porter  <dick@ximian.com>

* file-io.h:
* file-io.c (convert_share): Cope with FileShare.Delete.  Patch
from Wojtek Krawczyk <krawczyk.wojciech@gazeta.pl>, fixes bug
81767.

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

17 years ago2007-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Jun 2007 16:22:27 +0000 (16:22 -0000)]
2007-06-21  Dick Porter  <dick@ximian.com>

* FileStream.cs: Fix FileShare test, fixing better bug 79250.

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

17 years ago2007-06-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jun 2007 16:11:10 +0000 (16:11 -0000)]
2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.

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

17 years agoimplement a CultureInfoConverter for testing
Konstantin Triger [Thu, 21 Jun 2007 15:52:56 +0000 (15:52 -0000)]
implement a CultureInfoConverter for testing

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

17 years agoimplementation of converters for serialization
Konstantin Triger [Thu, 21 Jun 2007 15:30:02 +0000 (15:30 -0000)]
implementation of converters for serialization

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

17 years agoremove commented out code
Konstantin Triger [Thu, 21 Jun 2007 15:25:21 +0000 (15:25 -0000)]
remove commented out code

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

17 years ago2007-06-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Jun 2007 15:24:34 +0000 (15:24 -0000)]
2007-06-21  Dick Porter  <dick@ximian.com>

* AuthenticationManager.cs:
* FtpWebRequest.cs:
* Cookie.cs:
* ServicePoint.cs:
* WebClient.cs:
* Authorization.cs:
* FileWebRequest.cs:
* HttpWebRequest.cs:
* WebResponse.cs:
* ServicePointManager.cs:
* HttpWebResponse.cs: Throw NotImplementedException indirectly, to
reduce noise in Moma reports.

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

17 years ago2007-06-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 21 Jun 2007 15:15:30 +0000 (15:15 -0000)]
2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: Implement CellBorderStyle.  [Fixes bug #81884]

2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: Take CellBorderStyle into account when laying
stuff out.  [Fixes bug #81884]

2007-06-21  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Add test for CellBorderStyle.

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

17 years ago2007-06-21 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Thu, 21 Jun 2007 14:31:00 +0000 (14:31 -0000)]
2007-06-21  Juraj Skripsky <js@hotfeet.ch>

   * quicksearch.ch: Optimization. Add byte array as skip table for
   chars <= 255, falling back to the hashtable for chars > 255 and
   skip distances > 255.

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

17 years agorafactoring
Igor Zelmanovich [Thu, 21 Jun 2007 13:50:01 +0000 (13:50 -0000)]
rafactoring

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

17 years ago* reflection.c (method_encode_methodspec): Add a tripwire.
Raja R Harinath [Thu, 21 Jun 2007 13:31:09 +0000 (13:31 -0000)]
* reflection.c (method_encode_methodspec): Add a tripwire.
* class.c (inflate_generic_type): The fully open generic type is
not the same as the generic type definition.

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

17 years agoImplemented RegisterExpandoAttribute and RegisterOnSubmitStatement
Igor Zelmanovich [Thu, 21 Jun 2007 13:19:22 +0000 (13:19 -0000)]
Implemented RegisterExpandoAttribute and RegisterOnSubmitStatement

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:15:51 +0000 (13:15 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* DbConnectionStringBuilder.cs (Add): Fixed exception error message.

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

17 years ago2007-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jun 2007 13:13:51 +0000 (13:13 -0000)]
2007-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* SettingValueElement.cs : implement Reset().
* CustomizableFileSettingsProvider.cs : fixed company name getter
  and product name getter.
  LoadPropertyValue() should expect null ValueXml.
* LocalFileSettingsProvider.cs : time to switch. With a bit of
  directory name difference, it should work.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:11:58 +0000 (13:11 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* SqlConnection.cs: Fixed compiler warning.

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

17 years ago2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 21 Jun 2007 13:11:37 +0000 (13:11 -0000)]
2007-06-21  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:09:49 +0000 (13:09 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* DbConnectionStringBuilder.cs (Init): Modified the dictionary to
use StringComparer.InvariantCultureIgnoreCase.
(Add, ContainsKey): Checks whether argument is null or empty string.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:06:51 +0000 (13:06 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* System.Data.Connected.Tests.dll.sources: Added
System.Data.Odbc/OdbcConnectionStringBuilderTest.cs.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:05:26 +0000 (13:05 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcConnectionStringBuilderTest.cs: Added base test-cases from
Nidhi Rawal (rawalnidhi_rawal@yahoo.com).

* OdbcParameterTest.cs (ImageParameterTest, NTextParameterTest)
(TextParameterTest): Fixed mysql syntax used.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:01:14 +0000 (13:01 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* System.Data.dll.sources: Added
System.Data.Odbc/OdbcConnectionStringBuilder.cs.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 13:00:13 +0000 (13:00 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcConnectionStringBuilder.cs: Added new file with the basic
work of Nidhi Rawal (rawalnidhi_rawal@yahoo.com).

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

17 years ago2007-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 21 Jun 2007 13:00:04 +0000 (13:00 -0000)]
2007-06-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 59.

* mono-debug-debugger.h
(MonoDebuggerBreakpointInfo): Removed.
(mono_debugger_insert_breakpoint_full): Moved to ../mini/debug-mini.h.
(mono_debugger_remove_breakpoint): Likewise.
(mono_debugger_breakpoint_callback): Likewise.
(mono_debugger_start_add_type): Renamed into mono_debugger_add_type().

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 12:56:31 +0000 (12:56 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* SqlBooleanTest.cs (EqualityOperator): Fixed compiler warnings.
(InequalityOperator): Fixed compiler warnings.

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

17 years agoImplemented RegisterHiddenField
Igor Zelmanovich [Thu, 21 Jun 2007 12:50:28 +0000 (12:50 -0000)]
Implemented RegisterHiddenField

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 12:44:40 +0000 (12:44 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OleDbConnection.cs: Fixed compiler warning.

* OleDbParameterCollection.cs (AddWithValue): Fixed compiler
warning.

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

17 years agoImplemented RegisterClientScriptInclude and RegisterClientScriptResource
Igor Zelmanovich [Thu, 21 Jun 2007 12:31:24 +0000 (12:31 -0000)]
Implemented RegisterClientScriptInclude and RegisterClientScriptResource

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

17 years ago* metadata.c (mono_metadata_lookup_generic_class): The fully open
Raja R Harinath [Thu, 21 Jun 2007 12:12:09 +0000 (12:12 -0000)]
* metadata.c (mono_metadata_lookup_generic_class): The fully open
generic type is not the same as the generic type definition.
* class.c (mono_generic_class_get_class): Likewise.

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

17 years agoImplemented RegisterArrayDeclaration.
Igor Zelmanovich [Thu, 21 Jun 2007 11:59:00 +0000 (11:59 -0000)]
Implemented RegisterArrayDeclaration.

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

17 years agoImplemented RegisterClientScriptBlock and RegisterStartupScript.
Igor Zelmanovich [Thu, 21 Jun 2007 11:29:09 +0000 (11:29 -0000)]
Implemented RegisterClientScriptBlock and RegisterStartupScript.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 10:04:59 +0000 (10:04 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcDataReader.cs (GetValue): Patch for varchar longer than 255
characters, by Mads Bondo Dydensborg <mbd@dbc.dk>.

* OdbcConnection.cs: Fixed compiler warning.

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

17 years ago2007-06-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 21 Jun 2007 10:03:00 +0000 (10:03 -0000)]
2007-06-21  Nagappan A  <anagappan@novell.com>

* OdbcDataReaderTest.cs (FindZeroInToStringTest): Test for varchar
longer than 255 characters, by Mads Bondo Dydensborg <mbd@dbc.dk>.

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

17 years agoInitial ScriptManagerProxy implementation
Igor Zelmanovich [Thu, 21 Jun 2007 09:13:04 +0000 (09:13 -0000)]
Initial ScriptManagerProxy implementation

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

17 years agoImplemented EnableScriptLocalization and ScriptPath features.
Igor Zelmanovich [Thu, 21 Jun 2007 08:58:05 +0000 (08:58 -0000)]
Implemented EnableScriptLocalization and ScriptPath features.

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

17 years ago2007-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jun 2007 08:15:41 +0000 (08:15 -0000)]
2007-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* Configuration.cs, InternalConfigurationHost.cs :
  configuration file to write might be given as an absolute path,
  where the ancestor directories may not exist.

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

17 years agoTARGET_JVM: correctly handle Portal's 'GetBack'
Konstantin Triger [Thu, 21 Jun 2007 06:19:08 +0000 (06:19 -0000)]
TARGET_JVM: correctly handle Portal's 'GetBack'

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

17 years ago2007-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 21 Jun 2007 00:25:02 +0000 (00:25 -0000)]
2007-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
Details view.
* DrawListViewColumnHeaderEventArgs.cs:
* DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
using the DrawText () methods.

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

17 years ago2007-06-20 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Wed, 20 Jun 2007 22:52:38 +0000 (22:52 -0000)]
2007-06-20  Rodrigo Kumpera  <kumpera@gmail.com>

*make_tests.sh: new ldsfld tests, more call conv tests

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

17 years ago2007-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Jun 2007 22:16:47 +0000 (22:16 -0000)]
2007-06-20  Marek Safar  <marek.safar@gmail.com>

* namespace.cs (NamespaceEntry.Error_AmbiguousTypeReference): Print
more error details.

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 21:35:49 +0000 (21:35 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* WebControl.cs: if savedState is a Triplet, take the actual state
data from savedState.First. Also make sure that the data is a
Pair. Fixes bug #78533.

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

17 years agoAdd new test + update.
Marek Safar [Wed, 20 Jun 2007 18:20:19 +0000 (18:20 -0000)]
Add new test + update.

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

17 years agoNew test + update.
Marek Safar [Wed, 20 Jun 2007 18:19:54 +0000 (18:19 -0000)]
New test + update.

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

17 years ago2007-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Jun 2007 18:19:11 +0000 (18:19 -0000)]
2007-06-20  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Reworked var keyword handling. We cannot handle var as
static keyword because var becomes keyword only if no type with the var
name exists in the scope of variable which uses var declaration.

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

17 years ago2007-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Jun 2007 18:14:49 +0000 (18:14 -0000)]
2007-06-20  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Removed var related stuff.

* ecore.cs (Expression.ResolveAsContextualType): Introduced new method.
(VarExpr): Changed to derive from SimpleName. VarExpr now behaves as
a type and a keyword at same time.

* decl.cs (MembeName.GetTypeExpression): Create VarExpr when type name
matches to "var".

* expression.cs (ImplicitlyTypedArrayCreation): New empty class for
implicitly typed arrays, more changes will follow.

* statement.cs (LocalInfo.Resolve): Resolve type as contextual type.

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

17 years ago2007-06-20 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 20 Jun 2007 18:00:23 +0000 (18:00 -0000)]
2007-06-20  Juraj Skripsky <js@hotfeet.ch>

   * Dictionary.cs: Optimize and add implementation notes. Use a "mini-heap"
   to store the linked lists instead of the regular heap. Split arrays of
   structs into separate arrays to make the GC's life simpler (see bug 81879
   for details). Make class serialization compatible with MS.NET.

   * EqualityComparer.cs: Rename IEquatableOfTEqualityComparer<T> to
   GenericEqualityComparer<T> to fix binary serialization compatibility
   with MS.

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 17:25:25 +0000 (17:25 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* Cache.cs: Iterate over the entries when filling the ArrayList in the 2.0
profile to avoid type cast exceptions.

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

17 years ago2007-06-20 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 20 Jun 2007 16:49:12 +0000 (16:49 -0000)]
2007-06-20  Geoff Norton  <gnorton@customerdna.com>

* icall.c: The second argument to
System.Reflection.MethodBase.GetMethodFromHandleInternalType
is a MonoType not a MonoClass.

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

17 years ago2007-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jun 2007 16:26:15 +0000 (16:26 -0000)]
2007-06-20  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationManager.cs : in OpenExeConfiguration() and
  OpenMappedExeConfiguration(), take userLevel into consideration.
* InternalConfigurationHost.cs : consider ConfigurationUserLevel and
  use correct config map file in InitForConfiguration().

* ConfigurationManagerTest.cs : Enabled some tests with related to
  roaming user config. Marked some tests for negative check as
  [NotWorking] (they are rather uncovered bugs than enbug).

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

17 years ago * verify.c: support for function pointers in the verifier
Rodrigo Kumpera [Wed, 20 Jun 2007 16:02:45 +0000 (16:02 -0000)]
* verify.c: support for function pointers in the verifier

2007-06-20  Rodrigo Kumpera  <kumpera@gmail.com>

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

17 years ago2007-06-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Jun 2007 15:42:36 +0000 (15:42 -0000)]
2007-06-20  Marek Habersack  <mhabersack@novell.com>

* OutputCacheModule.cs: use Context.InternalCache.

* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.

2007-06-20  Marek Habersack  <mhabersack@novell.com>

* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above

2007-06-20  Marek Habersack  <mhabersack@novell.com>

* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above

2007-06-20  Marek Habersack  <mhabersack@novell.com>

* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.

2007-06-20  Marek Habersack  <mhabersack@novell.com>

* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.

2007-06-20  Marek Habersack  <mhabersack@novell.com>

* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.

2007-06-20  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.

* HttpResponse.cs: private entries are now kept in
Context.InternalCache.

* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.

Fixes bug #81690

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