mono.git
16 years agoTARGET_JVM: fix compilation
Konstantin Triger [Sun, 25 Nov 2007 12:09:09 +0000 (12:09 -0000)]
TARGET_JVM: fix compilation

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

16 years agoadd license header
Konstantin Triger [Sun, 25 Nov 2007 10:02:03 +0000 (10:02 -0000)]
add license header

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

16 years agoTARGET_JVM: apply recent build system changes
Konstantin Triger [Sun, 25 Nov 2007 09:59:30 +0000 (09:59 -0000)]
TARGET_JVM: apply recent build system changes

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

16 years agoadded new interface for TARGET_J2EE use only
Igor Zelmanovich [Sun, 25 Nov 2007 09:25:53 +0000 (09:25 -0000)]
added new interface for TARGET_J2EE use only

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

16 years agoInitialization of default proxy added.
Arina Itkes [Sun, 25 Nov 2007 09:19:18 +0000 (09:19 -0000)]
Initialization of default proxy added.

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

16 years ago2007-11-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 24 Nov 2007 13:27:46 +0000 (13:27 -0000)]
2007-11-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When changing ListViewItem.Position (which calls
ListView.ChangeItemLocation), invalidate not only the area
corresponding to the main item, but also to the area occupied
by the items being moved.

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

16 years ago2007-11-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 24 Nov 2007 02:03:05 +0000 (02:03 -0000)]
2007-11-24  Marek Habersack  <mhabersack@novell.com>

* CustomAttributeTypedArgument.cs: value can be null in ToString.

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

16 years ago* MenuStripTest.cs: Added test for bug #342358.
Gert Driesen [Fri, 23 Nov 2007 20:35:03 +0000 (20:35 -0000)]
* MenuStripTest.cs: Added test for bug #342358.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 17:48:00 +0000 (17:48 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* HttpRequest.cs: added missing property LogonUserIdentity.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 17:40:22 +0000 (17:40 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* HttpCacheVaryByContentEncodings.cs: this constructor should not
be public.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 17:35:17 +0000 (17:35 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* TagPrefixCollection.cs: changed the collection type to
BasicMap.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 17:29:01 +0000 (17:29 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* ProfileSection.cs: added missing Properties property, added a
static constructor to create property descriptors. Use property
descriptors in property accessors.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 17:15:18 +0000 (17:15 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* ProfileGroupSettingsCollection.cs: added missing attribute to
the class, removed CollectionType method, added missing IsModified
and ResetModified methods, added missing Properties property.

* ProfileGroupSettings.cs: added missing Properties property,
adjusted the set of custom attributes of the PropertySettings
property.

* ProcessModelSection.cs: change the default value of the CpuMask
property.

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

16 years ago2007-11-23 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Fri, 23 Nov 2007 15:15:03 +0000 (15:15 -0000)]
2007-11-23  Daniel Nauck  <dna@mono-project.de>

        * System.Web.dll.sources: added
        System.Web/TraceContextRecord.cs
        * System.Web_test.dll.sources: added
        System.Web/TraceContextRecordTest.cs

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 14:37:23 +0000 (14:37 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* SessionSQLServerHandler.cs: Remove a memory leak and improve
performance by preparing SQL statements and caching them for later
reuse. Patch from Hubert FONGARNAND
<informatique.internet@fiducial.fr>, thanks!

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

16 years ago2007-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Nov 2007 14:04:07 +0000 (14:04 -0000)]
2007-11-23  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_class_name_table): Properly encode generic class names.

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

16 years ago2007-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Nov 2007 14:01:46 +0000 (14:01 -0000)]
2007-11-23  Zoltan Varga  <vargaz@gmail.com>

* class.c (generic_array_methods): Call mono_class_setup_methods () before
accessing class->methods.

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

16 years ago2007-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 23 Nov 2007 13:29:10 +0000 (13:29 -0000)]
2007-11-23  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Correct check for generic method definitions.
(encode_method_ref): No need to handle generic method definitions specially.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 11:09:25 +0000 (11:09 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
property.

* OutputCacheProfile.cs: added the VaryByContentEncoding property.
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* BrowserCapabilities.cs: the JavaScript property is obsolete in
2.0sp1.

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

16 years ago2007-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 23 Nov 2007 07:10:49 +0000 (07:10 -0000)]
2007-11-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When changing the position of a given item,
don't use item bounds, but item areas (which includes the item spacing
between them). Also, use first/last position if the requested
position is outside bounds (as .Net does). Invalidate the previous and
new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
in a specific position, instead of directly accessing Items collection
(this is done to get the right item - remember an Item can have a
different position in the grid than in the Items collection).

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

16 years ago * MessageBox.cs: Calculate text area instead of just top left, this rect
Everaldo Canuto [Fri, 23 Nov 2007 05:36:17 +0000 (05:36 -0000)]
* MessageBox.cs: Calculate text area instead of just top left, this rect
area will be used in DrawString. Fixes bug #343364.

2007-11-23  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
Everaldo Canuto [Fri, 23 Nov 2007 05:21:18 +0000 (05:21 -0000)]
* MessageBox.cs: Calculate max amount for text area width, it must be 60% of
screen width. Partially fixes bug #343364.

2007-11-23  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2007-11-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 23 Nov 2007 03:57:20 +0000 (03:57 -0000)]
2007-11-23  Everaldo Canuto  <ecanuto@novell.com>

* NotifyIcon.cs: Remove duplicated code before call realculate and put this
code inside recalculate, it makes code more simple.

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

16 years ago2007-11-22 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 23 Nov 2007 02:59:48 +0000 (02:59 -0000)]
2007-11-22  Everaldo Canuto  <ecanuto@novell.com>

* NotifyIcon.cs: When recalculate icon verify if icon is active to decide
between update or add icon. Fixes bug #324344.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 01:15:27 +0000 (01:15 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* FormsAuthenticationConfiguration.cs: corrected defaults for the
Timeout property.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 01:11:36 +0000 (01:11 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* ExpressionBuilder.cs: corrected defaults for the
ExpressionPrefix and Type properties.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 01:03:48 +0000 (01:03 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* CacheSectionTest.cs: modified to match the new MS.NET defaults.
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* CustomErrorsSection.cs: added two missing overrides -
DeserializeSection and Reset.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 01:00:25 +0000 (01:00 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* ConfigurationElementCollection.cs: ThrowOnDuplicate returns true
if the collection is one of the AddRemoveClearMap or
AddRemoveClearMapAlternate types.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 00:35:03 +0000 (00:35 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* ClientTargetSection.cs: added the missing Properties property.
Added static constructor to create the property collection.

* CustomErrorCollection.cs: removed the ThrowOnDuplicate
property.

* CacheSection.cs: corrected the defaults for the
PercentagePhysicalMemoryUsedLimit property.

Put IConfigMap* in the correct namespace

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 23 Nov 2007 00:16:12 +0000 (00:16 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* ClientTargetCollection.cs: added missing Properties property.

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

16 years ago2007-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Nov 2007 23:41:44 +0000 (23:41 -0000)]
2007-11-23  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Add a target for testing aot on the 2.0 profile.

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

16 years ago2007-11-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Nov 2007 23:41:01 +0000 (23:41 -0000)]
2007-11-23  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_AOT_FILE_VERSION): Bump this.

* aot-runtime.c (decode_klass_ref): Clean this up and rename from
decode_klass_info.

* aot-compiler.c (encode_klass_ref): Clean this up and rename from
encode_klass_info.
(compile_method): Enable generic sharing.

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Nov 2007 23:38:06 +0000 (23:38 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* IConfigMapPathFactory.cs: added

* IConfigMapPath.cs: added
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added
System.Web.Configuration_2.0/IConfigMapPath.cs and
System.Web.Configuration_2.0/IConfigMapPathFactory.cs

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

16 years ago2007-11-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Nov 2007 23:19:41 +0000 (23:19 -0000)]
2007-11-23  Marek Habersack  <mhabersack@novell.com>

* RoleManagerSection.cs: added a static constructor, a collection
of properties, the missing Properties property.

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

16 years ago2007-11-22 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Thu, 22 Nov 2007 22:13:51 +0000 (22:13 -0000)]
2007-11-22  Daniel Nauck  <dna@mono-project.de>

        * System.Web.dll.sources: added
        System.Web/IPartitionResolver.cs

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

16 years ago2007-11-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Nov 2007 22:01:21 +0000 (22:01 -0000)]
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
property - it's not found in the MS.NET version of the class.

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

16 years ago2007-11-22 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Thu, 22 Nov 2007 21:54:50 +0000 (21:54 -0000)]
2007-11-22  Daniel Nauck  <dna@mono-project.de>

        * WebPageTraceListener.cs: implemented

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

16 years agoAdded a constructor
Marek Habersack [Thu, 22 Nov 2007 20:26:03 +0000 (20:26 -0000)]
Added a constructor

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

16 years ago2007-11-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Nov 2007 20:15:13 +0000 (20:15 -0000)]
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* RequestNotificationStatus.cs: added

* RequestNotification.cs: added
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources:
Added System.Web/RequestNotification.cs, System.Web/RequestNotificationStatus.cs

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

16 years ago2007-11-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Nov 2007 19:27:28 +0000 (19:27 -0000)]
2007-11-22  Zoltan Varga  <vargaz@gmail.com>

* mini.c (get_runtime_generic_context_other_ptr): Disable AOT here.
(mini_method_compile): Add preliminary support for AOTing shared generic code.

* aot-compiler.c (compile_method): Add preliminary support for AOTing shared
generic code.

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

16 years ago2007-11-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Nov 2007 19:13:29 +0000 (19:13 -0000)]
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* OutputCacheParameters.cs: added the VaryByContentEncoding
property.

* Page.cs: added new InitCache overload.

* TemplateParser.cs: added support for the VaryByContentEncodings
attribute of the OutputCache directive.
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: use
pageParser.OutputCacheVaryByContentEncodings when initializing the
output cache in the 2.0 profile.

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

16 years ago* UdpClientTest.cs: Fixed line endings.
Gert Driesen [Thu, 22 Nov 2007 19:13:19 +0000 (19:13 -0000)]
* UdpClientTest.cs: Fixed line endings.

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

16 years ago* AssemblyInfo.cs: InternalsVisibleTo is 2.0 only. Fixes 1.0 profile
Gert Driesen [Thu, 22 Nov 2007 19:09:44 +0000 (19:09 -0000)]
* AssemblyInfo.cs: InternalsVisibleTo is 2.0 only. Fixes 1.0 profile
build.

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

16 years ago2007-11-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Nov 2007 18:25:32 +0000 (18:25 -0000)]
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* AssemblyInfo.cs: make System.Web.Extensions a friend assembly.
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added System.Web/HttpCacheVaryByContentEncodings.cs
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* HttpCacheVaryByContentEncodings.cs: added

* HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
property.

* HttpApplication.cs: added 3 new events to the pipeline (for
compatibility with the 2.0sp1/3.5 version of System.Web)
2007-11-22  Marek Habersack  <mhabersack@novell.com>

* HttpCacheVaryByContentEncodingsTest.cs: added

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

16 years agoFix: Not replace an escaped left bracket inside of captured group.
Arina Itkes [Thu, 22 Nov 2007 17:36:27 +0000 (17:36 -0000)]
Fix: Not replace an escaped left bracket inside of captured group.

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

16 years ago2007-11-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 22 Nov 2007 17:21:44 +0000 (17:21 -0000)]
2007-11-22  Marek Safar  <marek.safar@gmail.com>

A test for bug #334505

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

16 years ago2007-11-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 22 Nov 2007 17:21:08 +0000 (17:21 -0000)]
2007-11-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #334505
  * class.cs: Don't ignore InternalsVisibleTo attribute for internal
  overrides.

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

16 years ago2007-11-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Nov 2007 16:54:23 +0000 (16:54 -0000)]
2007-11-22  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c: Fix a warning.

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

16 years ago2007-11-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Nov 2007 16:53:22 +0000 (16:53 -0000)]
2007-11-22  Zoltan Varga  <vargaz@gmail.com>

* mini.c (get_runtime_generic_context_other_ptr): Use NEW_METHODCONST instead of
NEW_PCONST.
(mono_method_to_ir): Use NEW_DOMAINCONST in one place.
(generic_class_is_reference_type): Remove unused function.

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

16 years ago2007-11-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Nov 2007 16:11:25 +0000 (16:11 -0000)]
2007-11-22  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_magic_trampoline): Avoid loading metadata if possible
in the generic vtable trampoline case.

* aot-runtime.c (mono_aot_init_vtable): Use the generic vtable trampoline.

* aot-runtime.c (mono_aot_get_method_from_vt_slot): New helper function to
return an AOT method based on a vtable slot.

* aot-compiler.c (compile_method): Avoid AOTing synchronized methods for now.

* mini.c (mini_get_vtable_trampoline): Export this.

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

16 years ago2007-11-22 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 22 Nov 2007 15:16:55 +0000 (15:16 -0000)]
2007-11-22  Dick Porter  <dick@ximian.com>

* critical-sections.h (EnterCriticalSection): Reinstate the
asserts in the devel branch, so any problems aren't obscured.

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

16 years ago2007-11-22 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 22 Nov 2007 15:16:34 +0000 (15:16 -0000)]
2007-11-22  Dick Porter  <dick@ximian.com>

* threads.c: Ensure that the synch_cs is set before trying to use
it.

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

16 years ago2007-11-22 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Thu, 22 Nov 2007 15:11:36 +0000 (15:11 -0000)]
2007-11-22  Daniel Nauck  <dna@mono-project.de>

        * System.Web.dll.sources: added
        System.Web/WebPageTraceListener.cs

        * WebPageTraceListener.cs: initial checkin (stubs).

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

16 years ago2007-11-22 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 22 Nov 2007 14:00:33 +0000 (14:00 -0000)]
2007-11-22  Dick Porter  <dick@ximian.com>

* versioninfo.c (find_pe_file_resources): Make it work on 64bit
systems.  Fixes bug 343353.

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

16 years agoTARGET_JVM: replacing config file name to actual
Arina Itkes [Thu, 22 Nov 2007 13:34:19 +0000 (13:34 -0000)]
TARGET_JVM: replacing config file name to actual

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

16 years agoTARGET_JVM: Mark ConvertFrom_String, ConvertFrom_String_Flags NotWorking
Arina Itkes [Thu, 22 Nov 2007 13:14:15 +0000 (13:14 -0000)]
TARGET_JVM: Mark ConvertFrom_String, ConvertFrom_String_Flags NotWorking

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

16 years ago2007-11-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Nov 2007 12:49:18 +0000 (12:49 -0000)]
2007-11-22  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Cecil/SecurityDeclarationReader.cs: Change default read
value to true. Fix reading 2.0 security declaration format used by
MS compilers (#343553).

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

16 years agoThu Nov 22 12:34:04 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 22 Nov 2007 11:09:42 +0000 (11:09 -0000)]
Thu Nov 22 12:34:04 CET 2007 Paolo Molaro <lupus@ximian.com>

* profiler.c: r89126 broke the statistial profiler, unbreak.

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

16 years agoTARGET_JVM: Move Category NotWorking to CloseTest instead of TcpClient
Arina Itkes [Thu, 22 Nov 2007 10:47:30 +0000 (10:47 -0000)]
TARGET_JVM: Move Category NotWorking to CloseTest instead of TcpClient

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

16 years ago.NET 3.5 profile
Marek Safar [Thu, 22 Nov 2007 10:44:00 +0000 (10:44 -0000)]
.NET 3.5 profile

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

16 years agomono_debug_debugger_version is now == 3.
Martin Baulig [Thu, 22 Nov 2007 10:38:43 +0000 (10:38 -0000)]
mono_debug_debugger_version is now == 3.

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

16 years agoTARGET_JVM: mark some tests with NotWorking under TARGET_JVM
Arina Itkes [Thu, 22 Nov 2007 10:33:32 +0000 (10:33 -0000)]
TARGET_JVM: mark some tests with NotWorking under TARGET_JVM

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

16 years agoFind a better name for this: mono_debugger_add_delegate_trampoline().
Martin Baulig [Thu, 22 Nov 2007 10:28:58 +0000 (10:28 -0000)]
Find a better name for this: mono_debugger_add_delegate_trampoline().
2007-11-22  Martin Baulig  <martin@ximian.com>

* mono-debug.c
(mono_debug_add_delegate_trampoline): New public method.
(MonoDebugDataItemType): Added `MONO_DEBUG_DATA_ITEM_DELEGATE_TRAMPOLINE'.

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

16 years ago2007-11-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Nov 2007 10:21:00 +0000 (10:21 -0000)]
2007-11-22  Martin Baulig  <martin@ximian.com>

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

* mono-debug.c
(mono_debug_debugger_version): Bump to 3.
(mono_debug_init): Hook `mono_debugger_class_loaded_methods_func'
-> mono_debugger_class_initialized().

* mono-debug-debugger.c
(mono_debugger_add_type): Renamed into mono_debugger_class_initialized().

* class.c
(mono_debugger_start_class_init_func): Removed.
(mono_debugger_class_loaded_methods_func): Added.
(mono_class_setup_methods): Call it here.

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

16 years ago2007-11-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Nov 2007 10:19:09 +0000 (10:19 -0000)]
2007-11-22  Martin Baulig  <martin@ximian.com>

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

* mono-debug.c
(mono_debug_debugger_version): Bump to 3.
(mono_debug_init): Hook `mono_debugger_class_loaded_methods_func'
-> mono_debugger_class_initialized().

* mono-debug-debugger.c
(mono_debugger_add_type): Renamed into mono_debugger_class_initialized().

* class.c
(mono_debugger_start_class_init_func): Removed.
(mono_debugger_class_loaded_methods_func): Added.
(mono_class_setup_methods): Call it here.

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

16 years ago2007-11-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Nov 2007 10:17:36 +0000 (10:17 -0000)]
2007-11-22  Martin Baulig  <martin@ximian.com>

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

* mono-debug.c
(mono_debug_debugger_version): Bump to 3.
(mono_debug_init): Hook `mono_debugger_class_loaded_methods_func'
-> mono_debugger_class_initialized().

* mono-debug-debugger.c
(mono_debugger_add_type): Renamed into mono_debugger_class_initialized().

* class.c
(mono_debugger_start_class_init_func): Removed.
(mono_debugger_class_loaded_methods_func): Added.
(mono_class_setup_methods): Call it here.

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

16 years ago2007-11-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Nov 2007 10:12:57 +0000 (10:12 -0000)]
2007-11-22  Martin Baulig  <martin@ximian.com>

* debug-debugger.h
(MonoDebuggerInfo): Move `debugger_version' up.

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

16 years ago2007-11-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Nov 2007 09:58:12 +0000 (09:58 -0000)]
2007-11-22  Martin Baulig  <martin@ximian.com>

* mini-amd64.c
(mono_arch_get_delegate_invoke_impl): Call mono_debug_add_delegate_impl().

* mini-trampolines.c
(mono_delegate_trampoline): Call mono_debugger_trampoline_compiled()
after compiling the method.

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

16 years agoNew tests, update.
Marek Safar [Thu, 22 Nov 2007 09:57:07 +0000 (09:57 -0000)]
New tests, update.

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

16 years ago2007-11-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 22 Nov 2007 09:55:53 +0000 (09:55 -0000)]
2007-11-22  Marek Safar  <marek.safar@gmail.com>

  * ecore.cs, typemanager.cs, delegate.cs, expression.cs: The first of
  refactorings required to resolve extension methods correctly when mixing
  generics and non-generics members.

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

16 years ago2007-11-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Nov 2007 09:52:51 +0000 (09:52 -0000)]
2007-11-22  Martin Baulig  <martin@ximian.com>

* mono-debug.c
(mono_debug_add_delegate_impl): New public method.
(MonoDebugDataItemType): Added `MONO_DEBUG_DATA_ITEM_DELEGATE_IMPL'.

* mono-debug.h
(MonoSymbolTable): Added `global_data_table'.
(MonoDebuggerTypeKind): Removed.

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

16 years ago2007-11-22 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 22 Nov 2007 08:58:11 +0000 (08:58 -0000)]
2007-11-22  Jb Evain  <jbevain@novell.com>

* EnumerableTest.cs: Add test for Range.

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

16 years ago2007-11-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Nov 2007 08:53:08 +0000 (08:53 -0000)]
2007-11-22  Atsushi Enomoto  <atsushi@ximian.com>

* Enumerable.cs : fixed Range(int,int) that iterated one less.
  Thanks to http://d.hatena.ne.jp/NyaRuRu/ .

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

16 years agoImplement basic installer functionality
Miguel de Icaza [Thu, 22 Nov 2007 04:31:55 +0000 (04:31 -0000)]
Implement basic installer functionality

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

16 years agoAdd installutil
Miguel de Icaza [Thu, 22 Nov 2007 04:31:38 +0000 (04:31 -0000)]
Add installutil

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

16 years ago2007-11-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 22 Nov 2007 03:11:22 +0000 (03:11 -0000)]
2007-11-21  Geoff Norton  <gnorton@novell.com>

        * ControlHandler.cs: Allow custom HIView to get keyboard focus.
        * Enums.cs: Remove some unused Enums.
        * EventHandler.cs: Make controls listen to kEventControlGetFocusPart
        * KeyboardHandler.cs: Get the focus control from Carbon before returning control from the function

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

16 years ago2007-11-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 22 Nov 2007 02:38:07 +0000 (02:38 -0000)]
2007-11-21  Geoff Norton  <gnorton@novell.com>

* ControlHandler.cs: Allow custom HIView to get keyboard focus.
* Enums.cs: Remove some unused Enums.
* EventHandler.cs: Make controls listen to kEventControlGetFocusPart
* KeyboardHandler.cs: Get the focus control from Carbon before returning control from the function

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 19:53:26 +0000 (19:53 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* CustomizableFileSettingsProvider.cs : when a property is found
  only in the config file and not in the corresponding config type,
  do not raise NRE but just add it as a simple property value.
  Fixed bug #343459.

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

16 years ago2007-11-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 21 Nov 2007 19:28:34 +0000 (19:28 -0000)]
2007-11-21  Marek Habersack  <mhabersack@novell.com>

* mconfig.1: modify to reflect parameter changes in mconfig.

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

16 years ago2007-11-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 21 Nov 2007 19:28:19 +0000 (19:28 -0000)]
2007-11-21  Marek Habersack  <mhabersack@novell.com>

* mconfig.cs: drop the -F and -C parameters, default config files,
features and commands are now listed when mconfig is ran without
any parameters or when no commands are given.

* Mono.MonoConfig/FeatureNodeHandler.cs: do not append leading and
trailing newlines to feature description.

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

16 years agoyuck, typo.
Atsushi Eno [Wed, 21 Nov 2007 19:15:15 +0000 (19:15 -0000)]
yuck, typo.

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

16 years ago2007-11-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Nov 2007 19:14:04 +0000 (19:14 -0000)]
2007-11-21  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_generic_array_helper): Skip visibility checks for
these methods.

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

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

16 years ago2007-11-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Nov 2007 19:13:00 +0000 (19:13 -0000)]
2007-11-21  Zoltan Varga  <vargaz@gmail.com>

* Array.cs: Make the InternalArray_... methods internal.

* Environment.cs: Bump corlib version.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 17:27:29 +0000 (17:27 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* FileStream.cs : Close() does not exist in 2.0 (Stream does).
  Move GC.SuppressFinalize() to Dispose(true).

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

16 years ago2007-11-21 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 21 Nov 2007 17:21:44 +0000 (17:21 -0000)]
2007-11-21  Dick Porter  <dick@ximian.com>

* configure.in: No need to check for glib functions any more

2007-11-21  Dick Porter  <dick@ximian.com>

* processes.c (load_modules): Rewrite based on the libgc
/proc/<pid>/maps parsing to avoid using glib functions only
available since 2004.
(load_modules): Check for duplicates before adding a module to the
list.

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

16 years ago2007-11-21 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 21 Nov 2007 16:12:05 +0000 (16:12 -0000)]
2007-11-21  Dick Porter  <dick@ximian.com>

* src/gslist.c (g_slist_find_custom): Implement

* src/glist.c (g_list_find_custom): Implement

* test/list.c: Test g_list_find_custom()

* test/slist.c: Test g_slist_find_custom()

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

16 years ago* XPlatUIX11.cs: Do not treat tool windows as if they have no
Andreia Gaita [Wed, 21 Nov 2007 14:25:52 +0000 (14:25 -0000)]
* XPlatUIX11.cs: Do not treat tool windows as if they have no
window manager, since that stretches the drawing area to include
the window decorations, and they get hidden. Reverts r84444 and fixes
#335849 and #342790 (mdi and pdn3 regression)

2007-11-21  Andreia Gaita <avidigal@novell.com>

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

16 years agoprotect default constructors of the converters
Jb Evain [Wed, 21 Nov 2007 11:47:38 +0000 (11:47 -0000)]
protect default constructors of the converters

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

16 years ago2007-11-21 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 21 Nov 2007 11:45:28 +0000 (11:45 -0000)]
2007-11-21  Jb Evain  <jbevain@novell.com>

* Mono.Linker.Steps/ResolveFromXmlStep.cs:
Implement resolving from xml patterns.

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

16 years agoenable test for xml pattern
Jb Evain [Wed, 21 Nov 2007 11:43:43 +0000 (11:43 -0000)]
enable test for xml pattern

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

16 years agoadd test for xml patterns
Jb Evain [Wed, 21 Nov 2007 11:43:00 +0000 (11:43 -0000)]
add test for xml patterns

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

16 years agomerge -r88943:88947
Roei Erez [Wed, 21 Nov 2007 11:07:43 +0000 (11:07 -0000)]
merge -r88943:88947

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

16 years agoMerge 76595:76596
Noam Lampert [Wed, 21 Nov 2007 11:00:50 +0000 (11:00 -0000)]
Merge 76595:76596

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

16 years agoMerge 77759:77760
Noam Lampert [Wed, 21 Nov 2007 10:56:56 +0000 (10:56 -0000)]
Merge 77759:77760

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

16 years agopreserve SafeCriticalAttribute and TransparentAttribue
Jb Evain [Wed, 21 Nov 2007 10:06:26 +0000 (10:06 -0000)]
preserve SafeCriticalAttribute and TransparentAttribue

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

16 years agoprotect SecurityCriticalAttribute
Jb Evain [Wed, 21 Nov 2007 10:04:55 +0000 (10:04 -0000)]
protect SecurityCriticalAttribute

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 07:53:19 +0000 (07:53 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
* ContextMarshalException.cs : obsolete in 2.0.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 07:21:25 +0000 (07:21 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* MarshalByRefObject.cs : Added MemberwiseClose() stub.
  GetLifetimeService() is not virtual (in both 2.0 and 1.1).
* Console.cs : implemented missing 2.0 key members.

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 06:52:27 +0000 (06:52 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatInfo.cs :
  NativeDigits and DigitSubstitution are [ComVisible(false)].

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

16 years ago2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Nov 2007 06:41:46 +0000 (06:41 -0000)]
2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>

* RemotingConfiguration.cs : added CustomErrorMode (stub).

* CallContext.cs : added missing 2.0 stuff.

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