mono.git
16 years agoRevert r84984 and r85314
Marek Habersack [Wed, 5 Sep 2007 08:54:41 +0000 (08:54 -0000)]
Revert r84984 and r85314

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

16 years agohonor DESTDIR
Jb Evain [Tue, 4 Sep 2007 21:54:03 +0000 (21:54 -0000)]
honor DESTDIR

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

16 years ago2007-09-04 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 4 Sep 2007 21:34:12 +0000 (21:34 -0000)]
2007-09-04  Everaldo Canuto  <everaldo@simios.org>

* CheckBoxPainter.cs: Adjust checkbox light color to ControlLightLight to
mimic win32 look. Fixes #82656 (2.0).

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

16 years ago2007-09-04 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 4 Sep 2007 21:33:40 +0000 (21:33 -0000)]
2007-09-04  Jb Evain  <jbevain@novell.com>

* masterinfos/*.info added, so we don't have to download them.
* Makefile: use directly the .info files from the repo.

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

16 years ago2007-09-04 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Tue, 4 Sep 2007 21:32:57 +0000 (21:32 -0000)]
2007-09-04  Everaldo Canuto  <everaldo@simios.org>

* ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
mimic win32 look. Fixes #82656.

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

16 years ago2007-09-04 Wade Berrier <wberrier@novell.com>
Wade Berrier [Tue, 4 Sep 2007 21:23:03 +0000 (21:23 -0000)]
2007-09-04  Wade Berrier  <wberrier@novell.com>

       * removecomments.sh: New script to aid 'make dist'
       Removes '#' comments (specifically for .sources files)
       Had to put in a separate script because alterint IFS to
       contain a newline doesn't work inside make

       * Makefile: include gensources.sh, the 2_1 profile needs it.
       (Should also make it possible to build the jvm profile from a
tarball)

2007-09-04  Wade Berrier  <wberrier@novell.com>

       * library.make: Glob for .sources for all profiles.
       Use tools/removecomments.sh to account for '#include' and
       comments, which are only used in the jvm profile at this point

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 20:51:33 +0000 (20:51 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

* namespace.cs: We have 2 versions of System.Core assembly.

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

16 years ago2007-09-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Sep 2007 20:36:46 +0000 (20:36 -0000)]
2007-09-04  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Fix a warning.

* inssel.brg: Fix a warning.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 20:28:25 +0000 (20:28 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * TemplateParser.cs: don't optimize for case when 'name' is a full
            assembly name in AddAssemblyByName. Assembly.Load triggers the
            AssemblyResolve event on the current AppDomain if an assembly
            isn't found and we use this mechanism to map names like "App_Code"
            or "App_GlobalResources" to the real names of those dynamic
            assemblies.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 19:11:39 +0000 (19:11 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * machine.config: added an entry to ignore the <system.webServer>
            section. Fixes bug #82535

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

16 years ago* test-583.cs: test for bug #82676.
Gert Driesen [Tue, 4 Sep 2007 19:08:28 +0000 (19:08 -0000)]
* test-583.cs: test for bug #82676.
* test-584.cs: test for bug #82690.
* known-issues-gmcs: added test-583.cs and test-584.cs.
* known-issues-mcs: added test-583.cs and test-584.cs.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 18:48:11 +0000 (18:48 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * DataBoundControl.cs: make sure no data binding is done after
            OnPagePreload has executed.

            * ListControl.cs: whenever a property that can affect data binding
            is set, make sure to set RequiresDataBinding.

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

16 years agoA test for #82652
Marek Safar [Tue, 4 Sep 2007 14:57:14 +0000 (14:57 -0000)]
A test for #82652

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 14:56:37 +0000 (14:56 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82652
* class.cs (Class.GetClassBases): Compare types and not expressions.

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

16 years agoA new test based on #82620
Marek Safar [Tue, 4 Sep 2007 14:28:35 +0000 (14:28 -0000)]
A new test based on #82620

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 14:25:16 +0000 (14:25 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82620
* expression.cs (Invocation.EmitArguments): Duplicate params arguments
actually never worked before.
(IndexerAccess): Emit prepared arguments before they are modified.

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

16 years ago * dirent.c: Fix `struct dirent' overflow on Solaris. See #82678.
Jonathan Pryor [Tue, 4 Sep 2007 12:32:25 +0000 (12:32 -0000)]
* dirent.c: Fix `struct dirent' overflow on Solaris.  See #82678.

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

16 years agoremoved dos style line endigs, set svn-eol: native property
Marek Habersack [Tue, 4 Sep 2007 12:12:59 +0000 (12:12 -0000)]
removed dos style line endigs, set svn-eol: native property

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 12:03:37 +0000 (12:03 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            When generating code for a property or field, use the name
            retrieved from the metadata by reflection instead of the one
            parsed from html. Fixes bug #82687. Patch from SunHo Kim
            <zsunno@gmail.com>, thanks

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

16 years agoAdd mote tests, bug #82563
Marek Safar [Tue, 4 Sep 2007 09:42:17 +0000 (09:42 -0000)]
Add mote tests, bug #82563

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 09:41:17 +0000 (09:41 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82563
* assign.cs: Revert wrong fix.

* expression.cs (VariableReference.EmitAssign): Handle ref reference
correctly.
(ArrayAccess): Changed the way we emit compound (prepared) assignments.
Instead of ldelema/stdind we have to use temporary variables to handle
cases like String.Concat (params string[]).

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

16 years ago2007-09-04 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 4 Sep 2007 08:56:03 +0000 (08:56 -0000)]
2007-09-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs:
Adapt a patch by Ewout Prangsma <ewout@tallapplications.com>.
Cache the typespec tokens instead of the typespec themselves
because GenericParameters are somethimes considered as typespecs.

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

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