mono.git
17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 08:07:45 +0000 (08:07 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* ConfigurationElement.cs: added value validation on
deserialization from the config file.

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

17 years ago2007-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 May 2007 06:48:11 +0000 (06:48 -0000)]
2007-05-15  Marek Habersack  <mhabersack@novell.com>

* HttpWebRequest.cs: fold all methods into GET for
redirect/moves. Fixes bug #81624

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

17 years agocorrect hierarchy for the exception for 2.0 profile
Konstantin Triger [Tue, 15 May 2007 06:38:13 +0000 (06:38 -0000)]
correct hierarchy for the exception for 2.0 profile

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

17 years agoRationalize ResolveMeta: refactoring
Raja R Harinath [Tue, 15 May 2007 03:51:35 +0000 (03:51 -0000)]
Rationalize ResolveMeta: refactoring
(Block.ResolveMeta): Remove wrong or superfluous comments.  Carve
out constant handling code into ...
(Block.DoResolveConstants): ... this.

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

17 years agoRationalize ResolveMeta, part 1
Raja R Harinath [Tue, 15 May 2007 02:59:28 +0000 (02:59 -0000)]
Rationalize ResolveMeta, part 1
* statement.cs (Block.local_map, Block.LocalMap): Remove.
(Block.AssignableSlots): New.
(Block.ResolveMeta): Make protected.  Don't create a VariableMap
for locals -- move code from VariableMap here.  Avoid unnecessary
allocations.
* flowanalysis.cs (FlowBranching.local_map): Remove.
(FlowBranching..ctor): Use Block.AssignableSlots.
(VariableMap): Remove unused constructors.

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

17 years ago * TextBoxBase.cs: Implement some of the new 2.0 methods.
Jackson Harper [Mon, 14 May 2007 22:12:02 +0000 (22:12 -0000)]
    * TextBoxBase.cs: Implement some of the new 2.0 methods.
        * RichTextBox.cs: We need to override these methods on 2.0.
        * MaskedTextBox.cs: These are implemented now
        * TextControl.cs: This was off by one.

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

17 years agoRestore accidentally removed entry
Marek Habersack [Mon, 14 May 2007 21:09:06 +0000 (21:09 -0000)]
Restore accidentally removed entry

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

17 years ago2007-05-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 May 2007 20:58:30 +0000 (20:58 -0000)]
2007-05-14  Marek Habersack  <mhabersack@novell.com>

        * UrlMappingCollection.cs: implemented the Item (string) indexer.

        * UrlMapping.cs: implemented the URL validation callback body
        (doesn't work at the moment).

2007-05-14  Marek Habersack  <mhabersack@novell.com>

        * HttpUtility.cs: when parsing query strings, skip the leading ?
        for the first parameter name.

        * HttpRequest.cs: added support for mapping urls, as defined in
        the system.web/urlMappings section.

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

17 years ago * TextControl.cs: Because the line endings are including in the
Jackson Harper [Mon, 14 May 2007 19:51:21 +0000 (19:51 -0000)]
    * TextControl.cs: Because the line endings are including in the
        text, we don't need to add them in anymore.

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

17 years ago* mono-shlib-cop.exe.config: Remove "does-not-exist" dllmap
Wade Berrier [Mon, 14 May 2007 19:00:09 +0000 (19:00 -0000)]
* mono-shlib-cop.exe.config: Remove "does-not-exist" dllmap
(Was complicating packaging on ia64: There is no libc.so.6 on
ia64, only libc.so.6.1)

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

17 years ago * TextControl.cs: Because the line endings are including in the
Jackson Harper [Mon, 14 May 2007 18:16:52 +0000 (18:16 -0000)]
    * TextControl.cs: Because the line endings are including in the
        text, we don't need to add them in anymore.

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

17 years ago2007-05-14 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 14 May 2007 15:22:31 +0000 (15:22 -0000)]
2007-05-14  Dick Porter  <dick@ximian.com>

* SocketTest.cs: Tests for bug 75705

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 14:21:30 +0000 (14:21 -0000)]
2007-05-14  Igor Zelmanovich <igorz@mainsoft.com>

* PageMapper.cs:
fixed previous patch

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 14:04:10 +0000 (14:04 -0000)]
2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>

* SqlMembershipProvider.cs: Fix parameter binding to stored procedures.

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

17 years ago* HttpWriter.cs: GetMaxByteCount was used in Write and WriteString methods to improve...
Vladimir Krasnov [Mon, 14 May 2007 13:51:06 +0000 (13:51 -0000)]
* HttpWriter.cs: GetMaxByteCount was used in Write and WriteString methods to improve performance of HttpWriter

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

17 years ago2007-05-14 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Mon, 14 May 2007 11:48:15 +0000 (11:48 -0000)]
2007-05-14  Adar Wesley <adarw@mainsoft.com>

        * XmlSchemaExporter.cs: added missing overload for method ExportAnyType.

        * XmlSchemas.cs: added missing methods Add, AddReference, Contains,
        GetSchemas.

        * XmlSerializationReader.cs: added missing method AddReaderCount.

        * XmlSerializationWriter.cs: added missing overload WriteStartElement.

        * XmlSerializer.cs: added missing overload Serialize.

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 10:05:15 +0000 (10:05 -0000)]
2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>

* ConfigurationElement.cs: when attribute value cannot be parsed,
ConfigurationErrorException is thrown.

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

17 years ago2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 14 May 2007 09:47:41 +0000 (09:47 -0000)]
2007-05-14  Igor Zelmanovich <igorz@mainsoft.com>

* WebConfigurationManager.cs:
make configurations synchronized.
added new internal method RemoveConfigurationFromCache.

* HttpApplication.cs:
prevent DOS attack: remove configuration from the cache in case
of invalid resource not exists

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

17 years ago* TraceContext.cs: refactoring, cached TraceManager
Vladimir Krasnov [Mon, 14 May 2007 09:28:03 +0000 (09:28 -0000)]
* TraceContext.cs: refactoring, cached TraceManager

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

17 years ago* PropertyDescriptorCollection.cs: fixed Find method, compare using invariant culture
Vladimir Krasnov [Mon, 14 May 2007 08:59:27 +0000 (08:59 -0000)]
* PropertyDescriptorCollection.cs: fixed Find method, compare using invariant culture

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

17 years ago2007-05-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 May 2007 08:02:36 +0000 (08:02 -0000)]
2007-05-14  Atsushi Enomoto  <atsushi@ximian.com>

* EventTypeFilter.cs
  TraceFilter.cs
  SourceFilter.cs
  SwitchLevelAttribute.cs
  DelimitedListTraceListener.cs
  SwitchAttribute.cs : new files in 2.0.
* DiagnosticsConfigurationHandler.cs : partial support for named
  shared listeners.
* XmlWriterTraceListener.cs : cosmetic corcompare fixes. Added
  missing todos.
* TraceListener.cs : added missing 2.0 stuff. Implemented Filter.
* DefaultTraceListener.cs : trivial ComVisible fix.

* DiagnosticsConfigurationHandlerTest.cs : in 2.0 configuration item
  listeners/add/@type is optional (for named shared listener support).

* System.dll.sources :
  Added EventTypeFilter.cs, TraceFilter.cs, SourceFilter.cs,
  DelimitedListTraceListener.cs, SwitchAttribute.cs and
  SwitchLevelAttribute.cs in sys.diagnostics.

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

17 years ago2007-05-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 May 2007 07:43:43 +0000 (07:43 -0000)]
2007-05-14  Marek Habersack  <mhabersack@novell.com>

* ClientScriptManager.cs: put the hidden field within a <div>, the
way MS.NET does it.

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

17 years ago* Makefile.am (VCPROJS): New.
Raja R Harinath [Sun, 13 May 2007 19:31:21 +0000 (19:31 -0000)]
* Makefile.am (VCPROJS): New.

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

17 years agoNew test.
Marek Safar [Sun, 13 May 2007 16:11:21 +0000 (16:11 -0000)]
New test.

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

17 years ago2007-05-13 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 13 May 2007 16:11:00 +0000 (16:11 -0000)]
2007-05-13  Igor Zelmanovich <igorz@mainsoft.com>

* PageMapper.cs:
make it case sensitive if file system is case sensitive

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

17 years ago2007-05-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 May 2007 15:22:00 +0000 (15:22 -0000)]
2007-05-13  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (mono_spillvar_offset_float): Fix sparc build.

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

17 years agoFix the type of the returned array
Konstantin Triger [Sun, 13 May 2007 14:55:35 +0000 (14:55 -0000)]
Fix the type of the returned array

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:33:34 +0000 (17:33 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* cpu-x86.md minix-86.c: Add a peephole_pass_1 () as on amd64.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:23:48 +0000 (17:23 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_output_basic_block): Use mono_opcode_to_cond () in a few
places.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:16:54 +0000 (17:16 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_emit_exceptions): Decrease the size of the exception
throwing code a bit.

* exceptions-x86.c (mono_arch_get_throw_corlib_exception): Decrease the size of
the exception throwing code a bit.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 17:12:36 +0000 (17:12 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (get_call_info): Allocate result from a mempool.

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

17 years agoReduce warnings when building as an internal library
Miguel de Icaza [Sat, 12 May 2007 15:24:28 +0000 (15:24 -0000)]
Reduce warnings when building as an internal library

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

17 years agoDataConverter is needed (in the tarball) by System.Core.dll
Sebastien Pouliot [Sat, 12 May 2007 15:10:38 +0000 (15:10 -0000)]
DataConverter is needed (in the tarball) by System.Core.dll

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

17 years ago2007-05-12 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 12 May 2007 15:05:15 +0000 (15:05 -0000)]
2007-05-12  Jonathan Chambers  <joncham@gmail.com>

* SafeWaitHandle.cs: Add internal empty
constructor for pinvoke marshalling.

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

17 years ago2007-05-12 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 12 May 2007 15:03:37 +0000 (15:03 -0000)]
2007-05-12  Jonathan Chambers  <joncham@gmail.com>

* FileStream.cs: Implement SafeHandle constructors.

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

17 years ago2007-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 May 2007 12:56:45 +0000 (12:56 -0000)]
2007-05-12  Zoltan Varga  <vargaz@gmail.com>

* class-internals.h (_MonoGenericContainer): Widen type_argc filed to 31 bits.
Fixes #81599.

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

17 years ago* ControlBuilder.cs: Fixed exception message in MapType.
Gert Driesen [Fri, 11 May 2007 21:59:50 +0000 (21:59 -0000)]
* ControlBuilder.cs: Fixed exception message in MapType.

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

17 years ago* ToolStripItemCollectionTest.cs: Removed duplicate test.
Gert Driesen [Fri, 11 May 2007 21:48:44 +0000 (21:48 -0000)]
* ToolStripItemCollectionTest.cs: Removed duplicate test.

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

17 years ago* DebuggerDisplayAttributeTest.cs: Make test forward compatible.
Gert Driesen [Fri, 11 May 2007 21:41:09 +0000 (21:41 -0000)]
* DebuggerDisplayAttributeTest.cs: Make test forward compatible.
Replace Assert.AreEqual null comparison with Assert.IsNull. Replaced
"" with string.Empty.

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

17 years ago2007-05-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 May 2007 20:48:42 +0000 (20:48 -0000)]
2007-05-11  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoStream.cs: Ensure TransformFinalBlock isn't called multiple
times. Fix bug #81597.

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

17 years ago2007-05-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 20:43:30 +0000 (20:43 -0000)]
2007-05-11  Jonathan Chambers  <joncham@gmail.com>

* __ComObject.cs: No need to call CoInitialize anymore since
Thread.ApartmentState was implemented.

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

17 years ago2007-05-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 20:41:38 +0000 (20:41 -0000)]
2007-05-11  Jonathan Chambers  <joncham@gmail.com>

* object.c: Always initialize apartment, even if
there is no custom attributes on entry point.

Code is contributed under MIT/X11 license.

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

17 years agoMake this build
Miguel de Icaza [Fri, 11 May 2007 20:34:38 +0000 (20:34 -0000)]
Make this build

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

17 years ago2007-05-11 Stephane Delcroix <stephane@delcroix.org>
Stephane Delcroix [Fri, 11 May 2007 20:29:26 +0000 (20:29 -0000)]
2007-05-11  Stephane Delcroix  <stephane@delcroix.org>

* System/DateTimeOffset.cs:
* System/InvalidTimeZoneException.cs:
* System/TimeZoneInfo.AdjustmentRules.cs:
* System/TimeZoneInfo.cs:
* System/TimeZoneInfo.TransitionTime.cs
* System/TimeZoneNotFoundException.cs: new TimeZoneInfo class

* System.Core.dll.sources: Added the above files

* Makefile: compile with -d:LIBC so TimeZoneInfo will look for libc
defined timezones

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

17 years ago2007-05-11 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Fri, 11 May 2007 20:10:47 +0000 (20:10 -0000)]
2007-05-11  Jeffrey Stedfast  <fejj@novell.com>

Fixes bug #81540

* TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
and reset the cursor position to 0,0 when the key is
ConsoleKey.Clear.
(Clear): Reset the cursor position to 0,0

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

17 years ago2007-05-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 19:53:11 +0000 (19:53 -0000)]
2007-05-11  Jonathan Chambers  <joncham@gmail.com>

* Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
not string length.

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

17 years agoUse the correct url
Miguel de Icaza [Fri, 11 May 2007 16:32:32 +0000 (16:32 -0000)]
Use the correct url

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

17 years ago2007-05-11 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 11 May 2007 15:08:16 +0000 (15:08 -0000)]
2007-05-11  Everaldo Canuto  <everaldo@simios.org>

* ToolBarTest.cs: Add tests for toolbar size (horizontal and vertical),
also test #81523.

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

17 years ago2007-05-10 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 11 May 2007 14:49:30 +0000 (14:49 -0000)]
2007-05-10  Everaldo Canuto  <everaldo@simios.org>

* ToolBarTest.cs: CreateHandleTest added.

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

17 years ago * ToolBar.cs: Fix autosize and get it working only after hadle is created,
Everaldo Canuto [Fri, 11 May 2007 14:46:48 +0000 (14:46 -0000)]
* ToolBar.cs: Fix autosize and get it working only after hadle is created,
also prevent redraw in set_autosize if handle is not created. Fixes #81523.

2007-05-11  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 May 2007 13:15:28 +0000 (13:15 -0000)]
2007-05-11  Atsushi Enomoto  <atsushi@ximian.com>

* ProtocolImporter.cs, ServiceDescriptionImporter.cs : when there
  is no binding item for a supported protocol in a WSDL, skip such
  protocol and try next protocol, so that it can match HTTPGET-only
  WSDLs. Part of fix for #81457.

* ServiceDescriptionImporterTest.cs : added ignored test for #81457.

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

17 years ago * ToolBar.cs: Adjust size to default size when button theres no text and
Everaldo Canuto [Fri, 11 May 2007 13:09:21 +0000 (13:09 -0000)]
* ToolBar.cs: Adjust size to default size when button theres no text and
image, it fixes remaining issues from #81524.

2007-05-11  Everaldo Canuto  <everaldo@simios.org>

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

17 years agodefine prog_dir eagerly
Raja R Harinath [Fri, 11 May 2007 13:06:09 +0000 (13:06 -0000)]
define prog_dir eagerly

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

17 years agoAvoid order-only dependencies, use stamp files
Raja R Harinath [Fri, 11 May 2007 12:28:10 +0000 (12:28 -0000)]
Avoid order-only dependencies, use stamp files

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

17 years agoFix typo
Raja R Harinath [Fri, 11 May 2007 11:17:08 +0000 (11:17 -0000)]
Fix typo

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

17 years agoIn build:
Raja R Harinath [Fri, 11 May 2007 11:04:26 +0000 (11:04 -0000)]
In build:
* Makefile (dist-local): Remove special-case code.
* rules.make ($(depsdir)): New rule to create the dependencies
directory on demand.
* library.make, executable.make: Make generated files depend on
$(depsdir).
* profiles/basic.make: Likewise.

In class/corlib:
* Makefile (cmp_makefrag, cmp_response): Depend on $(depsdir).

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

17 years ago2007-05-11 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 11 May 2007 10:46:47 +0000 (10:46 -0000)]
2007-05-11  Everaldo Canuto  <everaldo@simios.org>

* ToolBar.cs:
- When not flat call redraw to recalculate sizes on creare handle to match
win32 behavior.
- Revert 77220 because it causes some regressions in toobar
button.

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

17 years ago* MaskedTextBox.cs: Update the base text whenever the text changes. MTB
Rolf Bjarne Kvinge [Fri, 11 May 2007 10:22:27 +0000 (10:22 -0000)]
* MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  now actually enters a usable state.

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

17 years agoMake 'get-monolite-latest' rule prettier
Raja R Harinath [Fri, 11 May 2007 10:13:29 +0000 (10:13 -0000)]
Make 'get-monolite-latest' rule prettier

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

17 years ago* Makefile.am (get-monolite-latest): Redirect wget output too.
Raja R Harinath [Fri, 11 May 2007 10:09:53 +0000 (10:09 -0000)]
* Makefile.am (get-monolite-latest): Redirect wget output too.

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

17 years ago * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
Everaldo Canuto [Fri, 11 May 2007 09:25:37 +0000 (09:25 -0000)]
* ToolBar.cs: Check for handle created in redraw to prevent unneeded size
calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
3 buttons.

2007-05-11  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago * ToolBar.cs: Save default_size on create handle to use later for buttons
Everaldo Canuto [Fri, 11 May 2007 09:18:13 +0000 (09:18 -0000)]
* ToolBar.cs: Save default_size on create handle to use later for buttons
without text, needed to mimic win32 behavior.

2007-05-11  Everaldo Canuto  <everaldo@simios.org>

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

17 years agoIn .:
Raja R Harinath [Fri, 11 May 2007 08:59:22 +0000 (08:59 -0000)]
In .:
* Makefile (net_2_0_bootstrap_SUBDIRS): Add 'mcs'.

In build:
* profiles/net_2_0_bootstrap.make: Move rules for mcs.exe to
mcs/Makefile.
* library.make (the_libdir, build_libdir): New.  Create these
directories on demand instead of worrying about keeping the list
of profiles uptodate.
* executable.make (prog_dir): Likewise.

In class:
* Makefile (DIST_PROFILE_DIRS, COMPAT_PROFILE_DIRS): Remove.
(dist-local): No need for additional actions.

In mcs:
* Makefile [PROFILE=net_2_0_bootstrap]: Add special-case rules.

** warning: uses a feature introduced into GNU Make in late 2002 **

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

17 years ago2007-05-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 11 May 2007 08:25:24 +0000 (08:25 -0000)]
2007-05-11  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* corlib_test.dll.sources: Added DebuggerDisplayAttributeTest.cs.

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

17 years ago2007-05-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 11 May 2007 08:25:09 +0000 (08:25 -0000)]
2007-05-11  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* DebuggerDisplayAttributeTest.cs: Added.

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

17 years ago2007-05-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 11 May 2007 08:23:59 +0000 (08:23 -0000)]
2007-05-11  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* DebuggerDisplayAttribute.cs: Default Type, Name and Value is an empty string.
Fix name setter. Can't set a null TargetType, and use AssemblyQualifiedName
for the TargetTypeName.

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

17 years ago* Makefile (Test/resources/test.dll): Use full name, not just test.dll.
Raja R Harinath [Fri, 11 May 2007 07:43:36 +0000 (07:43 -0000)]
* Makefile (Test/resources/test.dll): Use full name, not just test.dll.

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

17 years ago2007-05-11 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 11 May 2007 07:14:21 +0000 (07:14 -0000)]
2007-05-11  Everaldo Canuto  <everaldo@simios.org>

* ToolBar.cs: Fix button layour to best fit width or height according to
vertical or not. Fixes #81524.

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

17 years ago2007-05-10 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 11 May 2007 06:10:12 +0000 (06:10 -0000)]
2007-05-10  Everaldo Canuto  <everaldo@simios.org>

* ToolBarButton.cs: When change style call ToolBar.Redraw to update
toolbar size info because different styles theres different sizes.
Fixes #81522.

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

17 years ago2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 May 2007 05:59:02 +0000 (05:59 -0000)]
2007-05-11  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDescriptionReflectorTest.cs : added test for 78953 (not
  working, hard to fix) and 79807 (already fixed).

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

17 years ago2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 May 2007 05:36:50 +0000 (05:36 -0000)]
2007-05-11  Atsushi Enomoto  <atsushi@ximian.com>

* SoapServerType.cs : avoid IndexOutOfRange on reflecting
  SoapRpcAttribute.

* SoapServerTypeTest.cs : make sure that SoapRpcServiceAttribute works.

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

17 years ago2007-05-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 11 May 2007 04:58:47 +0000 (04:58 -0000)]
2007-05-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWinClassic.cs: For .Net 2.0 don't draw any image
if we are using checkboxes, checked is true, and we have less
than two images in StateImageList; for the 1.1 in the same scenario
draw the first image if we have at least one image in StateImageList.
Fixes part of #81191.

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

17 years agoAdd this profile
Miguel de Icaza [Fri, 11 May 2007 04:43:07 +0000 (04:43 -0000)]
Add this profile

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

17 years agoAdd for the 2.1 profile
Miguel de Icaza [Fri, 11 May 2007 04:42:37 +0000 (04:42 -0000)]
Add for the 2.1 profile

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

17 years ago2007-05-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 02:19:27 +0000 (02:19 -0000)]
2007-05-10  Jonathan Chambers  <joncham@gmail.com>

* marshal.c: LPTSTR == LPWSTR on Win32. Fixes #81370.
* metadata.c: If no encoding is set, check for unicode
on class.

Code is contributed under MIT/X11 license.

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

17 years ago2007-05-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 May 2007 02:18:34 +0000 (02:18 -0000)]
2007-05-10  Jonathan Chambers  <joncham@gmail.com>

* BinaryClientFormatterSinkProvider.cs: Allow typeFilterLevel property
if NET_1_1 or greater; matches code already in BinaryCore.

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

17 years ago2007-05-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 10 May 2007 23:17:38 +0000 (23:17 -0000)]
2007-05-11  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs (IsFriendAssembly): Should not be called for
        building assembly.

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

17 years ago2007-05-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 May 2007 22:35:43 +0000 (22:35 -0000)]
2007-05-11  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (find_typespec_for_class): Fix the assert.

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

17 years ago2007-05-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 May 2007 22:11:31 +0000 (22:11 -0000)]
2007-05-11  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file version.

* mini.h (MonoCompile): Add 'token_info_hash' field.

* mini.c: Save token->method associations during compilation so the AOT
compiler can use it.

* aot-compiler.c aot-runtime.c: Add support for compiling non-generic methods
which reference generic classes and methods.

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

17 years ago2007-05-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 May 2007 21:43:44 +0000 (21:43 -0000)]
2007-05-10  Marek Habersack  <mhabersack@novell.com>

* Table.cs: render rows, not controls

* HyperLink.cs: RenderContents must check if the render method
delegate is present and, if yes, call the base RenderContents.

* LinkButton.cs: as above.

* Label.cs: as above.

* TableCell.cs: as above.
This change makes the HeaderTemplate in the Wizard control work.

2007-05-10  Marek Habersack  <mhabersack@novell.com>

* Control.cs: small formatting change

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

17 years ago2007-05-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 May 2007 21:23:08 +0000 (21:23 -0000)]
2007-05-10  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs, ToolStripManager.cs: We need to remove items from
the owner's Items collection on merge.

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

17 years ago2007-05-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 May 2007 20:24:39 +0000 (20:24 -0000)]
2007-05-10  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Marking test for bug 81582 as NotWorking as it fails
on X11.  Bug is reopened.

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

17 years ago2007-05-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 May 2007 20:17:47 +0000 (20:17 -0000)]
2007-05-10  Sebastien Pouliot  <sebastien@ximian.com>

* SHA1CryptoServiceProvider.cs: Reduce by half the number of required
memory allocations to produce a hash (in >90% of the cases) by reusing
an existing memory buffer (instead of always allocating a new one).

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

17 years ago2007-05-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 May 2007 20:03:53 +0000 (20:03 -0000)]
2007-05-10  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
* ToolStripItemCollection.cs: Lots of fixes to when events get called
and parent/owner gets changed based on gert's unit tests.

2007-05-10  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemCollectionTest.cs: Enable tests.

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

17 years ago2007-05-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 May 2007 19:52:53 +0000 (19:52 -0000)]
2007-05-10  Zoltan Varga  <vargaz@gmail.com>

* mini.h mini-<ARCH>.h: Get rid of MONO_ARCH_HAS_XP_LOCAL_REGALLOC.

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

17 years ago2007-05-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 May 2007 19:41:04 +0000 (19:41 -0000)]
2007-05-10  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Fix a typo in a comment.

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

17 years agoUpdate man page, maybe this is better?
Miguel de Icaza [Thu, 10 May 2007 19:34:46 +0000 (19:34 -0000)]
Update man page, maybe this is better?

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

17 years ago2007-05-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 May 2007 19:11:06 +0000 (19:11 -0000)]
2007-05-10  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_cached_class_info): Skip generic types.

* aot-compiler.c: Add minimal support for AOTing generic code by skipping
everything generic.

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

17 years ago2007-05-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 May 2007 19:09:08 +0000 (19:09 -0000)]
2007-05-10  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Disable AOT when calling helper_compile_generic_method.

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

17 years ago* MaskedTextBox.cs: Started implementing parts of it.
Rolf Bjarne Kvinge [Thu, 10 May 2007 19:07:39 +0000 (19:07 -0000)]
* MaskedTextBox.cs: Started implementing parts of it.

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

17 years ago* MaskedTextBoxTest.cs: Added more tests.
Rolf Bjarne Kvinge [Thu, 10 May 2007 19:06:43 +0000 (19:06 -0000)]
* MaskedTextBoxTest.cs: Added more tests.

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

17 years agoIn Test/System.ComponentModel:
Rolf Bjarne Kvinge [Thu, 10 May 2007 18:58:06 +0000 (18:58 -0000)]
In Test/System.ComponentModel:
2007-05-10  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MaskedTextProviderTest.cs: New test.

In System.ComponentModel:
2007-05-10  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MaskedTextProvider.cs: Small fix for ToString for passwords.

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

17 years ago2007-05-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 10 May 2007 18:32:22 +0000 (18:32 -0000)]
2007-05-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When clicking the checkbox on the items
take into account the double clicks even if we have only
one image in StateImageList (only for 1.0/1.1). Also
generate an extra change of checked state when we receive
the second click on checkbox (match .Net behaviour).
Fixes part of #81191.

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

17 years ago2007-05-10 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Thu, 10 May 2007 17:46:24 +0000 (17:46 -0000)]
2007-05-10  Everaldo Canuto  <everaldo@simios.org>

* ThemeWin32Classic.cs: Fix text rectangles in Tooltips.

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

17 years ago2007-05-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 May 2007 17:28:22 +0000 (17:28 -0000)]
2007-05-10  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
even if OnLoad is overriden and base.OnLoad is not called.
[Fixes bug #81582]

2007-05-10  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add test for bug 81582.

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

17 years ago* System.Windows.Forms_test.dll.sources: Added
Gert Driesen [Thu, 10 May 2007 17:15:25 +0000 (17:15 -0000)]
* System.Windows.Forms_test.dll.sources: Added
ToolStripItemCollectionTest.cs.
* ToolStripItemCollectionTest.cs: Added tests for ctor, Insert and
Remove.

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

17 years agodo not change the original CommandText
Konstantin Triger [Thu, 10 May 2007 16:37:33 +0000 (16:37 -0000)]
do not change the original CommandText

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

17 years ago2007-05-10 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Thu, 10 May 2007 16:17:46 +0000 (16:17 -0000)]
2007-05-10  Andreia Gaita  <avidigal@novell.com>

* TableLayoutSettings.cs: A big doh! fix and bowing down of head in
shame. (I blame my ever-persisting and annoying cold)

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

17 years ago2007-05-10 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Thu, 10 May 2007 15:06:42 +0000 (15:06 -0000)]
2007-05-10  Adar Wesley <adarw@mainsoft.com>

        * SqlBoolean.cs: fixed typo in method names GreaterThanOrEquals,
        LessThanOrEquals.

        * SqlByte.cs: added missing method Modulus.

        * SqlBytes.cs: added missing methods Read, Write.

        * SqlChars.cs: added missing methods ToSqlString, Write.

        * SqlDateTime.cs: added missing methods Add, Subtract.

        * SqlXml.cs: added missing method CreateReader.

        * SqlCommand.cs: added missing methods Asynch operations

        * SqlConnection.cs: added missing methods ChangePassword, ClearPool,
        ClearAllPools, RetrieveStatistics, ResetStatistics.

        * SqlDataReader.cs: added missing methods GetSqlBytes, GetSqlChars,
        GetSqlXml, IsCommandBehavior.

        * SqlErrorCollection.cs: added missing method strongly typed CopyTo.

        * SqlParameter.cs: added missing methods ResetSqlDbType, ResetDbType.

        * SqlParameterCollection.cs: added missing methods strongly typed
        AddRange, IndexOf.

        * SqlTransaction.cs: added missing methods Save, Rollback.

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

17 years ago2007-05-10 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 10 May 2007 14:46:35 +0000 (14:46 -0000)]
2007-05-10  Dick Porter  <dick@ximian.com>

* sockets.c (_wapi_recvfrom): Refine the fix to bug 75705 so EINTR
isn't returned if the remote end shuts down cleanly.  Fixes zmd
and the second example in bug 75705.

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