mono.git
16 years agoBuild fix
Marek Safar [Tue, 4 Sep 2007 08:48:03 +0000 (08:48 -0000)]
Build fix

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

16 years ago * dirent.c: Fix logic to determine if readdir_r() succeeded.
Jonathan Pryor [Mon, 3 Sep 2007 23:27:59 +0000 (23:27 -0000)]
* dirent.c: Fix logic to determine if readdir_r() succeeded.
  Thanks to Albert Lee for the patch; see #82678.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 3 Sep 2007 21:55:25 +0000 (21:55 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * TemplateControlCompiler.cs: make sure that base class doesn't
            contain a field of the same name which is accessible from the
            current control if we're within a singleton template.

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

16 years ago2007-09-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Sep 2007 19:27:27 +0000 (19:27 -0000)]
2007-09-03  Zoltan Varga  <vargaz@gmail.com>

* thread6.cs: Increase a timeout.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 17:42:06 +0000 (17:42 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* ProcessStartInfo.cs : Implemented Verbs. It is done.

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

16 years agoFix
Miguel de Icaza [Mon, 3 Sep 2007 16:01:34 +0000 (16:01 -0000)]
Fix

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

16 years ago2007-09-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Sep 2007 14:31:24 +0000 (14:31 -0000)]
2007-09-03  Martin Baulig  <martin@ximian.com>

* debug-debugger.c: `MONO_DEBUGGER_EVENT_INITIALIZE_MANAGED_CODE'
now takes the `main_method' as argument.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:31:28 +0000 (09:31 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.h, processes.c : ok, they are simple string.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:19:42 +0000 (09:19 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.h : sigh, I really hate fixing them on windows :(

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:14:51 +0000 (09:14 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.c : fix build again.

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

16 years agothere was a wrong and confusing description.
Atsushi Eno [Mon, 3 Sep 2007 09:13:12 +0000 (09:13 -0000)]
there was a wrong and confusing description.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:05:59 +0000 (09:05 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.h : removed extra parameters from CreateProcessWithLogonW.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 08:51:17 +0000 (08:51 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs, ProcessStartInfo.cs : user info support (on windows).
 Removed encoding_stderr, encoding_stdout which are not needed and
 do not match icall.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 08:50:24 +0000 (08:50 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* configure.in : On windows, require advapi32.dll.

* process.h, process.c:  added support for user profile/info in
  ProcessStartInfo. For now only Windows works.

* processes.c, processes.h: added CreateProcessWithLogonW(). For now
  it just calls CreateProcess().
* io-layer.h : CreateProcessWithLogonW() requires WINVER 0x0500
  on Windows.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 08:29:38 +0000 (08:29 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* IPGlobalStatistics.cs : Mib-* class is nonpublic.
* Win32NetworkInterfaceMarshal.cs IPv4InterfaceProperties.cs
  IPGlobalProperties.cs IPInterfaceProperties.cs
  NetworkInterface.cs : move Win32NetworkInterfaceMarshal.FixedInfo to
  Win32_FIXED_INFO.Instance and share it with Win32IPGlobalProperties.
  Fixed GetUdp[6]Table() / GetTcp[6]Table() marshalling issue.

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

16 years agoFix build system
Noam Lampert [Mon, 3 Sep 2007 07:13:39 +0000 (07:13 -0000)]
Fix build system

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

16 years ago2007-09-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Sep 2007 20:49:41 +0000 (20:49 -0000)]
2007-09-02  Zoltan Varga  <vargaz@gmail.com>

* cpu-sparc.md (endfilter): Add missing src1:i argument.

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

16 years ago* TypeBuilderTest.cs: Split up and improved ignored GetField(s) tests
Gert Driesen [Sun, 2 Sep 2007 18:29:28 +0000 (18:29 -0000)]
* TypeBuilderTest.cs: Split up and improved ignored GetField(s) tests
into MS and Mono tests. Added (NotWorking) test for bug #82625.

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

16 years agoadded support for multi form environment
Igor Zelmanovich [Sun, 2 Sep 2007 14:49:53 +0000 (14:49 -0000)]
added support for multi form environment

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

16 years agorefactoring
Igor Zelmanovich [Sun, 2 Sep 2007 14:41:16 +0000 (14:41 -0000)]
refactoring

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

16 years agoadded reference to Mainsoft.Configuration module,
Igor Zelmanovich [Sun, 2 Sep 2007 14:11:16 +0000 (14:11 -0000)]
added reference to Mainsoft.Configuration module,
included script resources for multi form environment
(under TARGET_J2EE)

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

16 years agoadded new script files
Igor Zelmanovich [Sun, 2 Sep 2007 14:06:24 +0000 (14:06 -0000)]
added new script files
used to extend ajax client framework for multi form environment

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

16 years agopreserve the old behavior for 1.1 profiles
Jb Evain [Sun, 2 Sep 2007 11:58:08 +0000 (11:58 -0000)]
preserve the old behavior for 1.1 profiles

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

16 years agofix 1.1 profiles
Jb Evain [Sun, 2 Sep 2007 11:39:28 +0000 (11:39 -0000)]
fix 1.1 profiles

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

16 years ago2007-09-02 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 2 Sep 2007 09:55:52 +0000 (09:55 -0000)]
2007-09-02 Igor Zelmanovich <igorz@mainsoft.com>

* Page.jvm.cs: implemented IsMultiForm property to take
the value from configuration.

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

16 years agoadded reference to Mainsoft.Configuration
Igor Zelmanovich [Sun, 2 Sep 2007 09:52:57 +0000 (09:52 -0000)]
added reference to Mainsoft.Configuration

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

16 years agoadded TARGET_J2EE def
Igor Zelmanovich [Sun, 2 Sep 2007 09:43:15 +0000 (09:43 -0000)]
added TARGET_J2EE def

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

16 years agoconsider MachineKeyRegistryStorage is not supported in TARGET_J2EE
Igor Zelmanovich [Sun, 2 Sep 2007 09:41:54 +0000 (09:41 -0000)]
consider MachineKeyRegistryStorage is not supported in TARGET_J2EE

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

16 years ago2007-09-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Sep 2007 09:26:38 +0000 (09:26 -0000)]
2007-09-02  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs: Add a workaround for #82625 to make nemerle work again.

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

16 years agoadded 'mainsoft.web' section declaration
Igor Zelmanovich [Sun, 2 Sep 2007 09:01:06 +0000 (09:01 -0000)]
added 'mainsoft.web' section declaration

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

16 years agoupdate with recent changes; remove System.Net.NetworkInformation namespace since...
Konstantin Triger [Sun, 2 Sep 2007 06:29:40 +0000 (06:29 -0000)]
update with recent changes; remove System.Net.NetworkInformation namespace since it's not currently functioning on Java platform

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

16 years agofix stupidity
Jb Evain [Sat, 1 Sep 2007 18:19:00 +0000 (18:19 -0000)]
fix stupidity

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

16 years ago2007-09-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Sep 2007 17:40:40 +0000 (17:40 -0000)]
2007-09-01  Zoltan Varga  <vargaz@gmail.com>

* FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
Stubs for new net 3.5 classes.

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

16 years ago2007-09-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Sep 2007 17:38:54 +0000 (17:38 -0000)]
2007-09-01  Zoltan Varga  <vargaz@gmail.com>

* System.Windows.Forms.dll.sources: Add FileDialogCustomPlace.cs and
FileDialogCustomPlacesCollection.cs.

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

16 years agoconsider smcs
Jb Evain [Sat, 1 Sep 2007 15:59:18 +0000 (15:59 -0000)]
consider smcs

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

16 years ago2007-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 1 Sep 2007 13:00:55 +0000 (13:00 -0000)]
2007-09-01  Jb Evain  <jbevain@novell.com>

* Makefile: consider the net_2_1 profile.

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

16 years ago2007-08-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 1 Sep 2007 02:35:55 +0000 (02:35 -0000)]
2007-08-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: In ListViewItemCollection operations calculate
Layout for owner as well as invalidate it. Fixes part of #82642.

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

16 years ago2007-08-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 31 Aug 2007 23:52:24 +0000 (23:52 -0000)]
2007-08-31  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
when returning Enabled.  [Fixes bug #82651]

2007-08-31  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemTest.cs: Added test to show that Enabled can
depend on Parent/Owner's Enabled.

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

16 years ago2007-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 31 Aug 2007 22:23:30 +0000 (22:23 -0000)]
2007-09-01  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
filesystem watchers instead of checking for existence of the
file(s) at the beginning of every request. No performance penalty
that way.

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

16 years ago2007-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Aug 2007 20:40:31 +0000 (20:40 -0000)]
2007-08-31  Zoltan Varga  <vargaz@gmail.com>

* libtest.c handleref.cs: Fix handleref.exe test on sparc.

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

16 years ago2007-08-31 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 31 Aug 2007 20:29:33 +0000 (20:29 -0000)]
2007-08-31  Jonathan Chambers <joncham@gmail.com>

* mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
Fixes tons of warnings we get on cygwin build.

Code is contributed under MIT/X11 license.

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

16 years agoNew test.
Marek Safar [Fri, 31 Aug 2007 19:07:27 +0000 (19:07 -0000)]
New test.

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

16 years ago2007-08-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 31 Aug 2007 19:07:10 +0000 (19:07 -0000)]
2007-08-31  Marek Safar  <marek.safar@gmail.com>

* generic.cs (TypeParameter): Uses common Emit.
(.IsClsComplianceRequired): Is never required.

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

16 years ago2007-08-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 31 Aug 2007 19:06:29 +0000 (19:06 -0000)]
2007-08-31  Marek Safar  <marek.safar@gmail.com>

* class.cs: EmitAttributes to Emit rename.

* decl.cs (MemberCore.GetClsCompliantAttributeValue): Parent can be
null.
(MemberCore.HasClsCompliantAttribute): Don't depend on
GetClsCompliantAttributeValue execution.

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

16 years ago2007-08-30 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 31 Aug 2007 18:10:24 +0000 (18:10 -0000)]
2007-08-30  Everaldo Canuto  <everaldo@simios.org>

* ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.

2007-08-29  Everaldo Canuto  <everaldo@simios.org>

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

16 years agoNew test.
Marek Safar [Fri, 31 Aug 2007 16:24:26 +0000 (16:24 -0000)]
New test.

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

16 years ago2007-08-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 31 Aug 2007 16:23:32 +0000 (16:23 -0000)]
2007-08-31  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Terminates query block correctly. Fixed orderby
chaining.

* generic.cs (TypeInferenceContext): Better error resistance.

* linq.cs: Implemented range variables, transparent identifiers and
SelectMany clause.

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

16 years ago2007-08-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 31 Aug 2007 16:20:08 +0000 (16:20 -0000)]
2007-08-31  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs: Use shorter type prefix.

* ecore.cs (SimpleName.DoSimpleNameResolve): Use transparent identifiers
when exist.

* expression.cs (LocalVariableReference.DoResolveBase): Don't capture
variables when probing is on.

* statement.cs (LocaLInfo.Clone): Clone correctly resolved and
unresolved variables.
(TopLevelBlock.GetTransparentIdentifier): Default implementation doesn't
handle transparent identifiers.

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

16 years agoBack out the thread lock changes until they work
Dick Porter [Fri, 31 Aug 2007 15:40:53 +0000 (15:40 -0000)]
Back out the thread lock changes until they work

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

16 years agoBack out the thread lock changes until they work
Dick Porter [Fri, 31 Aug 2007 15:40:49 +0000 (15:40 -0000)]
Back out the thread lock changes until they work

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

16 years ago* ServiceDescription.cs: Do not require write access to file.
Gert Driesen [Fri, 31 Aug 2007 15:23:26 +0000 (15:23 -0000)]
* ServiceDescription.cs: Do not require write access to file.
* DiscoveryRequestHandler.cs: Do not require write access to file.

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

16 years agoTest for bug#82614.
Paolo Molaro [Fri, 31 Aug 2007 15:08:21 +0000 (15:08 -0000)]
Test for bug#82614.

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

16 years agoFri Aug 31 17:30:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 Aug 2007 15:06:53 +0000 (15:06 -0000)]
Fri Aug 31 17:30:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* metadata.c: consider the generic arguments when comparing
signatures (bug #82614).

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

16 years ago* ConfigurationManager.cs: Fixed line endings. Avoid warning by
Gert Driesen [Fri, 31 Aug 2007 14:27:11 +0000 (14:27 -0000)]
* ConfigurationManager.cs: Fixed line endings. Avoid warning by
changing accessibility of ChangeConfigurationSystem to internal.
* Configuration.cs: Fixed compiler warnings.
* DpapiProtectedConfigurationProvider.cs: Fixed line endings.

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

16 years ago* System.Configuration_test.dll.sources: added ProviderBaseTest.cs.
Gert Driesen [Fri, 31 Aug 2007 14:15:07 +0000 (14:15 -0000)]
* System.Configuration_test.dll.sources: added ProviderBaseTest.cs.
* ProviderBaseTest.cs: Added tests for Initialize.
* ProviderBase.cs: Remove "description" key from NameValueCollection.
Use provider name as description if description is null or a zero
length string. Modifies exception messages to match MS.
* GenericEnumConverterTest.cs: Remove unused variable.
* ConfigurationManagerTest.cs: Fixed line endings.
* ConnectionStringSettingsTest.cs: Fixed line endings and avoid
ToString override warning.
* KeyValueConfigurationElementTest.cs: Fixed line endings.
* KeyValueConfigurationCollectionTest.cs: Fixed line endings.

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

16 years agoreformatting
Marek Habersack [Fri, 31 Aug 2007 11:51:04 +0000 (11:51 -0000)]
reformatting

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

16 years ago2007-08-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 31 Aug 2007 11:30:58 +0000 (11:30 -0000)]
2007-08-31  Marek Habersack  <mhabersack@novell.com>

            * GridView.cs: instead of not adding hidden fields to the rows,
            mark the cells they would contain as invisible. Fixes bug #82615.

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

16 years ago* TypeConverter.cs: Fixed GetConvertFromException and
Gert Driesen [Fri, 31 Aug 2007 09:10:28 +0000 (09:10 -0000)]
* TypeConverter.cs: Fixed GetConvertFromException and
GetConvertToException to match MS, and use these in ConvertFrom and
ConvertTo.
* EnumConverter.cs: Use IsFlags instead of duplicating code that
checks for FlagsAttribute. When converting to InstanceDescriptor and
no corresponding enum field is found, then let base class throw a
NotSupportedException.
* TypeConverterTest.cs: Added tests for GetConvertFromException and
GetConvertToException.
* EnumConverterTest.cs: Enabled test for converting flag enums to
InstanceDescriptor.

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

16 years ago2007-08-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 31 Aug 2007 01:18:21 +0000 (01:18 -0000)]
2007-08-31  Marek Habersack  <mhabersack@novell.com>

            * HttpApplicationFactory.cs: added methods to enable/disable
            watchers.

            * HttpRuntime.cs: implemented handling of app_offline.htm file in
            the application root directory. Fixes bug #81127.

            * HttpResponse.cs: make sure neither context or
            context.ApplicationInstance are null in End ().

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

16 years ago2007-08-30 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 31 Aug 2007 01:18:15 +0000 (01:18 -0000)]
2007-08-30  Jonathan Chambers <joncham@gmail.com>

* driver.c: include the cil-coff.h header on Windows.
Forgot to specify license.

Code is contributed under MIT/X11 license.

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

16 years ago2007-08-30 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 31 Aug 2007 01:13:06 +0000 (01:13 -0000)]
2007-08-30  Jonathan Chambers <joncham@gmail.com>

* driver.c: include the cil-coff.h header on Windows.

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

16 years ago * ListView.cs: Put item padding info in a single place
Carlos Alberto Cortez [Thu, 30 Aug 2007 23:38:22 +0000 (23:38 -0000)]
* ListView.cs: Put item padding info in a single place
(Theme.ListViewItemPaddingWidth) to have working AutoResize on
columns again.
* ThemeWin32Classic.cs:
* Theme.cs: Likewise.

2007-08-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-08-30 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 30 Aug 2007 20:34:41 +0000 (20:34 -0000)]
2007-08-30  Dick Porter  <dick@ximian.com>

* monitor.c (mono_monitor_try_enter_internal): Set thread state to
WaitSleepJoin while it is waiting to acquire a lock.  Fixes bug
81646.

* threads.c: Turn the thread synch_lock into a CRITICAL_SECTION,
instead of a monitor lock.  This means that monitor_try_enter and
co can set the thread state safely.
(ves_icall_System_Threading_Thread_Interrupt_internal): Always set
thread_interrupt_requested, so interrupt actually works.

* socket-io.c (ves_icall_System_Net_Sockets_Socket_Poll_internal,
ves_icall_System_Net_Sockets_Socket_Select_internal): Use thread
state accessor function

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

16 years ago2007-08-30 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 30 Aug 2007 20:33:52 +0000 (20:33 -0000)]
2007-08-30  Dick Porter  <dick@ximian.com>

* Thread.cs: Initialise synch_cs to null now we aren't using it as
a monitor lock

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

16 years ago* RegistryKeyTest.cs: Improve SetValue tests to ensure values are
Gert Driesen [Thu, 30 Aug 2007 20:29:02 +0000 (20:29 -0000)]
* RegistryKeyTest.cs: Improve SetValue tests to ensure values are
persisted properly on Linux, since the unix implementation performs
caching.

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

16 years ago2007-08-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 30 Aug 2007 19:40:43 +0000 (19:40 -0000)]
2007-08-30  Ivan N. Zlatev  <contact@i-nz.net>

        * EnumConverter.cs: Implemented conversion to InstanceDescriptor
        for enums with a FlagsAttribute. Fixes #82118.

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

16 years ago2007-08-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 30 Aug 2007 19:20:31 +0000 (19:20 -0000)]
2007-08-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When a ListViewSubItem instance is invalidated,
invoke Invalidate on parent ListViewItem, not parent ListView.
Fixes #81570.

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

16 years ago2007-08-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 30 Aug 2007 17:32:52 +0000 (17:32 -0000)]
2007-08-30  Marek Habersack  <mhabersack@novell.com>

            * System.Web.dll.sources: added MachineKeyRegistryStorage.cs

2007-08-30  Marek Habersack  <mhabersack@novell.com>

            * MachineKeySection.cs: retrieve the keys from the registry before
            falling back to the old method. Fixes bug #76606

2007-08-30  Marek Habersack  <mhabersack@novell.com>

            * MachineKeyRegistryStorage.cs: added

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

16 years ago2007-08-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 30 Aug 2007 17:18:14 +0000 (17:18 -0000)]
2007-08-30  Marek Habersack  <mhabersack@novell.com>

            * UnixRegistryApi.cs: properly retrieve values of type
            'bytearray'.

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

16 years agoThu Aug 30 18:34:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 30 Aug 2007 16:09:53 +0000 (16:09 -0000)]
Thu Aug 30 18:34:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* cil-coff.h, image.c: updated assembly loader to cope with the
PE32+ 64 bit file format.

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

16 years ago2007-08-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 30 Aug 2007 16:07:51 +0000 (16:07 -0000)]
2007-08-30  Jonathan Pobst  <monkey@jpobst.com>

* ListView.cs, ListViewItem.cs: corcompare stuffs.

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

16 years agofix
Jb Evain [Thu, 30 Aug 2007 15:54:39 +0000 (15:54 -0000)]
fix

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

16 years ago2007-08-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 30 Aug 2007 15:12:00 +0000 (15:12 -0000)]
2007-08-30  Jonathan Pobst  <monkey@jpobst.com>

* BindingMemberInfo.cs: Implement == and != operators.

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

16 years ago2007-08-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 30 Aug 2007 15:04:24 +0000 (15:04 -0000)]
2007-08-30  Jonathan Pobst  <monkey@jpobst.com>

* ComponentEditorPage.cs, ComponentEditorForm.cs: Override AutoSize,
AutoSizeChanged.

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

16 years ago2007-08-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 30 Aug 2007 14:50:19 +0000 (14:50 -0000)]
2007-08-30  Jonathan Pobst  <monkey@jpobst.com>

* HtmlElementEventArgs.cs: Implement properties.

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

16 years agoThu Aug 30 16:47:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 30 Aug 2007 14:21:59 +0000 (14:21 -0000)]
Thu Aug 30 16:47:38 CEST 2007 Paolo Molaro <lupus@ximian.com>

* assembly.c, class.c, domain.c, loader.c: remove useless
inclusion of cil-coff.h.

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

16 years ago2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 30 Aug 2007 14:01:20 +0000 (14:01 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs:
* Menu.js:
make Menu work in multi form environment.

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

16 years agoThu Aug 30 16:17:23 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 30 Aug 2007 13:51:24 +0000 (13:51 -0000)]
Thu Aug 30 16:17:23 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, driver.c: don't include the cil-coff.h header.

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

16 years ago2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 30 Aug 2007 13:48:50 +0000 (13:48 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed selected items state management.

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

16 years ago2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 30 Aug 2007 13:45:21 +0000 (13:45 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* BaseCompareValidator.cs:
* BaseValidator.cs:
* CompareValidator.cs:
* CustomValidator.cs:
* RangeValidator.cs:
* RegularExpressionValidator.cs:
* RequiredFieldValidator.cs:
all Validators use RegisterExpandoAttribute for
not XHTML compliant attributes.

2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* WebUIValidation_2.0.js:
all Validators use RegisterExpandoAttribute for
not XHTML compliant attributes.

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

16 years agofixed:
Igor Zelmanovich [Thu, 30 Aug 2007 13:05:58 +0000 (13:05 -0000)]
fixed:
user window.TARGET_J2EE instead TARGET_J2EE
to avoid "TARGET_J2EE is not defined" exception

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

16 years agoThu Aug 30 14:50:53 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 30 Aug 2007 12:24:53 +0000 (12:24 -0000)]
Thu Aug 30 14:50:53 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: flag places that needs fixes fo soft-float support.

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

16 years ago2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 30 Aug 2007 08:38:13 +0000 (08:38 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* WebUIValidation_2.0.js: refactoring.
initialize evaluationfunction property for validator on client.
makes it compatible with AjaxControlToolkit.

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

16 years ago2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 30 Aug 2007 08:31:00 +0000 (08:31 -0000)]
2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: fixed MaintainScrollPositionOnPostBack feature.

2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>

* webform.js: fixed MaintainScrollPositionOnPostBack feature.

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

16 years agofix the 2.1 build
Jb Evain [Wed, 29 Aug 2007 21:58:57 +0000 (21:58 -0000)]
fix the 2.1 build

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

16 years ago2007-08-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 29 Aug 2007 21:37:57 +0000 (21:37 -0000)]
2007-08-29  Jonathan Pobst  <monkey@jpobst.com>

* HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.

2007-08-29  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms.dll.sources: Add HtmlElementErrorEventArgs.cs,
HtmlElementErrorEventHandler.cs.

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

16 years ago2007-08-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 29 Aug 2007 21:00:55 +0000 (21:00 -0000)]
2007-08-29  Jonathan Pobst  <monkey@jpobst.com>

* TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
Add (string,string,string) to implement the imagekey.  It turns out, we
use the requested imagekey whereas .Net does not.  So I broke ours to match
theirs.  :(

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

16 years ago2007-08-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 29 Aug 2007 19:52:59 +0000 (19:52 -0000)]
2007-08-29  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.

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

16 years ago2007-08-29 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 29 Aug 2007 19:19:04 +0000 (19:19 -0000)]
2007-08-29  Ivan N. Zlatev  <contact@i-nz.net>

* ParentControlDesigner.cs: implemented.
* IUISelectionService.cs: implemented.
* WndProcRouter.cs: implemented.
* SelectionFrame.cs: implemented.
* ControlDesigner.cs: implemented.
* ControlDataObject.cs: implemented.
* ComponentTray.cs: implemented.
* ScrollableControlDesigner.cs: implemented.
* UISelectionService.cs: implemented.
* SplitContainerDesigner.cs: implemented.
* IMessageReceiver.cs: implemented.
* Native.cs: implemented.
* DocumentDesigner.cs: implemented.
* DefaultSerializationProviderAttribute.cs: implemented.
* ComponentSerializationService.cs: implemented.
* MemberRelationship.cs: implemented.
        * SerializationStore.cs: implemented.
* DesignSurfaceManager.cs: implemented.
* DesignerEventService.cs: implemented.
* ComponentDesigner.cs: implemented.
* ActiveDesignSurfaceChangedEventHandler.cs: implemented.
* LoadedEventHandler.cs: implemented.
* DesignSurfaceCollection.cs: implemented.
* DesignerHost.cs: implemented.
* ExtenderService.cs: implemented.
* DesignModeSite.cs: implemented.
* SelectionService.cs: implemented.
* DesignSurfaceServiceContainer.cs: implemented.
* DesignerActionListCollection.cs: implemented.
* ActiveDesignSurfaceChangedEventArgs.cs: implemented.
* LoadedEventArgs.cs: implemented.
* TypeDescriptorFilterService.cs: implemented.
* ReferenceService.cs: implemented.
* DesignSurface.cs: implemented.
* DesignSurfaceEventHandler.cs: implemented.
* DesignModeNestedContainer.cs: implemented.
* EventBindingService.cs: implemented.
* DesignSurfaceEventArgs.cs: implemented.
* DesignerOptionService.cs: implemented.
* ITreeDesigner.cs: implemented.
* CodeDomComponentSerializationService.cs: implemented.
* CollectionCodeDomSerializer.cs: implemented.
* CodeDomDesignerLoader.cs: implemented.
* CodeDomSerializationProvider.cs: implemented.
* ComponentCodeDomSerializer.cs: implemented.
* RootContext.cs: implemented.
* BasicDesignerLoader.cs: implemented.
* DesignerSerializationManager.cs: implemented.
* EnumCodeDomSerializer.cs: implemented.
* SerializeAbsoluteContext.cs: implemented.
* MemberCodeDomSerializer.cs: implemented.
* PrimitiveCodeDomSerializer.cs: implemented.
* CodeDomSerializerBase.cs: implemented.
* CodeDomSerializer.cs: implemented.
* ExpressionContext.cs: implemented.
* EventCodeDomSerializer.cs: implemented.
* TypeCodeDomSerializer.cs: implemented.
* ObjectStatementCollection.cs: implemented.
* RootCodeDomSerializer.cs: implemented.
* PropertyCodeDomSerializer.cs: implemented.
* StatementContext.cs: implemented.

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

16 years ago2007-08-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 29 Aug 2007 19:14:31 +0000 (19:14 -0000)]
2007-08-29  Jonathan Pobst  <monkey@jpobst.com>

* ContainerControl.cs: Implement ValidateChildren and new Validate overload.

2007-08-29  Jonathan Pobst  <monkey@jpobst.com>

* ContainerControlTest.cs: Added test for ValidateChildren.

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

16 years ago2007-08-29 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 29 Aug 2007 19:03:09 +0000 (19:03 -0000)]
2007-08-29  Jonathan Chambers  <joncham@gmail.com>

* marshal.c (cominterop_get_ccw): Walk up interface hierarchy
if interface is marked with CoClassAttribute.

Code is contributed under MIT/X11 license.

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

16 years ago2007-08-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 29 Aug 2007 18:52:18 +0000 (18:52 -0000)]
2007-08-29  Marek Habersack  <mhabersack@novell.com>

            * CachingCompiler.cs: consider contents of the
            <compilation><assemblies> section when constructing a list of
            assemblies during compilation.

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

16 years ago2007-08-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Aug 2007 18:05:59 +0000 (18:05 -0000)]
2007-08-29  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added Win32NetworkInterfaceMarshal.cs.

* NetworkInterface.cs,
  IPv4InterfaceStatistics.cs
  IPInterfaceProperties.cs
  IPv4InterfaceProperties.cs
  IPv6InterfaceProperties.cs
  IPAddressCollection.cs
  GatewayIPAddressInformation.cs
  GatewayIPAddressInformationCollection.cs
  IPAddressInformation.cs
  IPAddressInformationCollection.cs
  MulticastIPAddressInformation.cs
  MulticastIPAddressInformationCollection.cs
  UnicastIPAddressInformation.cs
  UnicastIPAddressInformationCollection.cs
  Win32NetworkInterfaceMarshal.cs (new) :
  NetworkInterface implementation using Win32 API.

  Not sure how MIB-based implementation (for Linux) is possible but
  it will follow.

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

16 years ago2007-08-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Aug 2007 18:00:42 +0000 (18:00 -0000)]
2007-08-29  Atsushi Enomoto  <atsushi@ximian.com>

* IPAddress.cs, IPv6Address.cs : (ToString) output ScopeId.

* IPAddressTest.cs : added an address with scope id to parse/format
  test.

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

16 years agoWed Aug 29 19:27:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Aug 2007 17:02:14 +0000 (17:02 -0000)]
Wed Aug 29 19:27:07 CEST 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: ensure no object from the to space is copied again or finalized
if it's seen twice in major collections.

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

16 years ago* AssemblyBuilder.cs: In DefineIconResource, open icon in read-only
Gert Driesen [Wed, 29 Aug 2007 16:36:41 +0000 (16:36 -0000)]
* AssemblyBuilder.cs: In DefineIconResource, open icon in read-only
mode. Fixes bug #82617.

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

16 years agoWed Aug 29 18:46:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Aug 2007 16:22:57 +0000 (16:22 -0000)]
Wed Aug 29 18:46:49 CEST 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: big objects are not copied to the gray area, but they
need to be considered for scanning, too, if they are brought alive
by an object ready for finalizations or a survived one.

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

16 years agoWed Aug 29 18:43:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Aug 2007 16:17:57 +0000 (16:17 -0000)]
Wed Aug 29 18:43:11 CEST 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: properly account the number of disappearing links when
they are nullified.

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

16 years agoWed Aug 29 18:37:37 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Aug 2007 16:12:46 +0000 (16:12 -0000)]
Wed Aug 29 18:37:37 CEST 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: share the code to scan the registered roots between the
different types of collections.

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

16 years ago* FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
Gert Driesen [Wed, 29 Aug 2007 16:08:02 +0000 (16:08 -0000)]
* FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
up-to-date. Fixes bug #82618.

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