mono.git
16 years agoRemove redundant TARGET_JVMs
Noam Lampert [Tue, 26 Jun 2007 16:46:13 +0000 (16:46 -0000)]
Remove redundant TARGET_JVMs

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

16 years agoInitial ScriptControl implementation
Igor Zelmanovich [Tue, 26 Jun 2007 15:20:56 +0000 (15:20 -0000)]
Initial ScriptControl implementation

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

16 years agoimplemented RegisterScriptControl and RegisterExtenderControl
Igor Zelmanovich [Tue, 26 Jun 2007 14:40:13 +0000 (14:40 -0000)]
implemented RegisterScriptControl and RegisterExtenderControl

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

16 years agoReplace MonoTODO with MonoNotSupported
Sasha Kogan [Tue, 26 Jun 2007 13:51:22 +0000 (13:51 -0000)]
Replace MonoTODO with MonoNotSupported

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

16 years agoInitial ScriptControlDescriptor implementation
Igor Zelmanovich [Tue, 26 Jun 2007 09:17:55 +0000 (09:17 -0000)]
Initial ScriptControlDescriptor implementation

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

16 years ago2007-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 Jun 2007 21:34:50 +0000 (21:34 -0000)]
2007-06-25  Zoltan Varga  <vargaz@gmail.com>

* ssa.c (visit_inst): Add support for OP_BR. Fixes #81946.

* generic.2.cs: Add new test case.

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

16 years ago2007-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 Jun 2007 18:33:10 +0000 (18:33 -0000)]
2007-06-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 HitTest methods.

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

16 years ago* mono-api-diff.cs: For overloaded operators we need to include the return
Gert Driesen [Mon, 25 Jun 2007 18:08:30 +0000 (18:08 -0000)]
* mono-api-diff.cs: For overloaded operators we need to include the return
type in the key to allow matching.

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

16 years ago* mono-api-diff.cs: Fixed line endings.
Gert Driesen [Mon, 25 Jun 2007 17:56:16 +0000 (17:56 -0000)]
* mono-api-diff.cs: Fixed line endings.

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

16 years ago2007-06-25 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Mon, 25 Jun 2007 17:11:48 +0000 (17:11 -0000)]
2007-06-25 Juraj Skripsky <js@hotfeet.ch>

* Cache.cs: Re-introduce "InvokePrivateCallbacks" accidentally
removed in r80321.

2007-06-25 Juraj Skripsky <js@hotfeet.ch>

* HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
"Cache.InvokePrivateCallbacks".

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

16 years agoOoops; make this a pointer again.
Martin Baulig [Mon, 25 Jun 2007 11:41:06 +0000 (11:41 -0000)]
Ooops; make this a pointer again.

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

16 years ago2007-06-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 25 Jun 2007 08:53:05 +0000 (08:53 -0000)]
2007-06-25  Martin Baulig  <martin@ximian.com>

Merged the `debugger-dublin' branch.

* debug-mini.c
(mono_debugger_insert_method_breakpoint): New public method.
(mono_debugger_remove_method_breakpoint): Likewise.
(mono_debugger_check_breakpoints): New static method.
(mono_debug_close_method): Call mono_debugger_check_breakpoints().

* debug-debugger.h (MonoDebuggerInfo):
Renamed (to keep backward compatibility in the vtable):
`insert_breakpoint' -> `old_insert_breakpoint'.
`remove_breakpoint' -> `old_remove_breakpoint'.
`create_string' -> `old_create_string'.
`lookup_class' -> `old_lookup_class'.
`lookup_type' -> removed; changed into a dummy field.
`lookup_assembly' -> `old_lookup_assembly'.
Added (same functionality, but different signature):
`create_string', `lookup_class', `lookup_assembly'
Added new:
`get_method_addr_or_bpt', `remove_method_breakpoint',
`runtime_class_init'.

* debug-debugger.c: Merged the `debugger-dublin' branch.

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

16 years ago2007-06-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 Jun 2007 00:57:21 +0000 (00:57 -0000)]
2007-06-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
item is under the pointer or not (sugar). Also remove the TODO
regarding to the cursor changes in OneClick activation.
* ThemeWin32Classic.cs: When HotTracking is true and we are drawing
the subitems use the parent's HotFont if UseItemStyleForSubItems is
true; otherwise don't show the underline style.

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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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