Marek Habersack [Wed, 5 Sep 2007 08:54:41 +0000 (08:54 -0000)]
Revert r84984 and r85314
svn path=/trunk/mcs/; revision=85335
Jb Evain [Tue, 4 Sep 2007 21:54:03 +0000 (21:54 -0000)]
honor DESTDIR
svn path=/trunk/mcs/; revision=85329
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
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
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
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
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
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
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
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
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
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
Marek Safar [Tue, 4 Sep 2007 14:57:14 +0000 (14:57 -0000)]
A test for #82652
svn path=/trunk/mcs/; revision=85283
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
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
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
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
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
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
Marek Safar [Tue, 4 Sep 2007 09:42:17 +0000 (09:42 -0000)]
Add mote tests, bug #82563
svn path=/trunk/mcs/; revision=85263
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
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
Marek Safar [Tue, 4 Sep 2007 08:48:03 +0000 (08:48 -0000)]
Build fix
svn path=/trunk/mcs/; revision=85260
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
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
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
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
Miguel de Icaza [Mon, 3 Sep 2007 16:01:34 +0000 (16:01 -0000)]
Fix
svn path=/trunk/mono/; revision=85236
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
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
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
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
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
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
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
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
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
Noam Lampert [Mon, 3 Sep 2007 07:13:39 +0000 (07:13 -0000)]
Fix build system
svn path=/trunk/mcs/; revision=85205
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
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
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
Igor Zelmanovich [Sun, 2 Sep 2007 14:41:16 +0000 (14:41 -0000)]
refactoring
svn path=/trunk/mcs/; revision=85195
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
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
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
Jb Evain [Sun, 2 Sep 2007 11:39:28 +0000 (11:39 -0000)]
fix 1.1 profiles
svn path=/trunk/mcs/; revision=85188
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
Igor Zelmanovich [Sun, 2 Sep 2007 09:52:57 +0000 (09:52 -0000)]
added reference to Mainsoft.Configuration
svn path=/trunk/mcs/; revision=85186
Igor Zelmanovich [Sun, 2 Sep 2007 09:43:15 +0000 (09:43 -0000)]
added TARGET_J2EE def
svn path=/trunk/mcs/; revision=85185
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
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
Igor Zelmanovich [Sun, 2 Sep 2007 09:01:06 +0000 (09:01 -0000)]
added 'mainsoft.web' section declaration
svn path=/trunk/mono/; revision=85181
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
Jb Evain [Sat, 1 Sep 2007 18:19:00 +0000 (18:19 -0000)]
fix stupidity
svn path=/trunk/mcs/; revision=85174
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
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
Jb Evain [Sat, 1 Sep 2007 15:59:18 +0000 (15:59 -0000)]
consider smcs
svn path=/trunk/mcs/; revision=85167
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
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
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
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
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
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
Marek Safar [Fri, 31 Aug 2007 19:07:27 +0000 (19:07 -0000)]
New test.
svn path=/trunk/mcs/; revision=85151
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
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
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
Marek Safar [Fri, 31 Aug 2007 16:24:26 +0000 (16:24 -0000)]
New test.
svn path=/trunk/mcs/; revision=85141
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
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
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
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
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
Paolo Molaro [Fri, 31 Aug 2007 15:08:21 +0000 (15:08 -0000)]
Test for bug#82614.
svn path=/trunk/mono/; revision=85135
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
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
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
Marek Habersack [Fri, 31 Aug 2007 11:51:04 +0000 (11:51 -0000)]
reformatting
svn path=/trunk/mcs/; revision=85097
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Thu, 30 Aug 2007 15:54:39 +0000 (15:54 -0000)]
fix
svn path=/trunk/mcs/; revision=85058
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
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
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
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
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
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