mono.git
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

17 years ago2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 10 May 2007 13:57:27 +0000 (13:57 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>

* HttpApplication.cs:
* HttpContext.cs:
handling exceptions occurred if  <system.web/customError>
section is not valid.

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

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

* Wizard.cs: if a next/previous step handler modifies
ActiveStepIndex do not, respectively, increase/decrease the
current step, but use whatever was set in the handler.

Also set eol-style to native and removed CRLFs, plus some reformatting.

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

17 years ago2007-05-10 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 10 May 2007 07:56:13 +0000 (07:56 -0000)]
2007-05-10 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: ExecuteRegisteredAsyncTasks:
implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne

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

17 years ago2007-05-10 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Thu, 10 May 2007 05:35:51 +0000 (05:35 -0000)]
2007-05-10  Nagappan A  <anagappan@novell.com>

* SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
type.

* SqlConnectionStringBuilder.cs: Fixed missing attributes.

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

17 years ago2007-05-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 May 2007 03:59:57 +0000 (03:59 -0000)]
2007-05-10  Atsushi Enomoto  <atsushi@ximian.com>

* TextWriterTraceListener.cs : open log file in readwrite share mode.
  This fixes bug #81296.

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

17 years ago2007-05-09 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 10 May 2007 01:13:04 +0000 (01:13 -0000)]
2007-05-09  Jonathan Chambers  <joncham@gmail.com>

* threads.c: Handle if mono_thread_current returns NULL

Code is contributed under MIT/X11 license.

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

17 years ago2007-05-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 9 May 2007 22:44:02 +0000 (22:44 -0000)]
2007-05-09  Marek Safar  <marek.safar@gmail.com>

* MulticastDelegate.cs: Fixed operators logic.

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

17 years agoNew tests.
Marek Safar [Wed, 9 May 2007 22:37:34 +0000 (22:37 -0000)]
New tests.

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

17 years agoNew test.
Marek Safar [Wed, 9 May 2007 22:29:33 +0000 (22:29 -0000)]
New test.

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

17 years ago2007-05-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 9 May 2007 22:26:58 +0000 (22:26 -0000)]
2007-05-09  Marek Safar  <marek.safar@gmail.com>

* literal.cs (NullConstant): Print null in all cases.

* expression.cs (Binary.ResolveOperator): Implemented delegate
 comparison based on C# 2.0 changes.

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

17 years agomake this work out of the box on a mac
Miguel de Icaza [Wed, 9 May 2007 21:47:58 +0000 (21:47 -0000)]
make this work out of the box on a mac

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

17 years ago2007-05-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 May 2007 20:41:24 +0000 (20:41 -0000)]
2007-05-09  Jonathan Pobst  <monkey@jpobst.com>

* ListView.cs: Don't eat navigation keys.  Let them flow through to
KeyDown/KeyPress routines.  [Fixes bug #81569]

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

17 years ago2007-05-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 May 2007 20:08:04 +0000 (20:08 -0000)]
2007-05-09  Jonathan Pobst  <monkey@jpobst.com>

* ListView.cs: When handling keys for selecting the item based off
keyboard input, do not consider keys pressed with Alt or Control.  Also,
correctly handle keys when the Shift key is down. [Fixes bug #81578]

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

17 years ago2007-05-09 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 9 May 2007 18:34:13 +0000 (18:34 -0000)]
2007-05-09  Jonathan Chambers  <joncham@gmail.com>

* Thread.cs: Add ApartmentState related tests.

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

17 years ago2007-05-09 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 9 May 2007 18:33:35 +0000 (18:33 -0000)]
2007-05-09  Jonathan Chambers  <joncham@gmail.com>

* threads.c: Initialize Thread.AprtmentState and set on Thread.Start
in start_wrapper. Added mono_thread_init_apartment_state and
mono_thread_cleanup_apartment_state.
* object.c: Initialize thread apartment state on main thread
by checking for STAThreadAttribute on entry point.
* object-internals.h: Add apartment_state field to MonoThread.
* threads-types.h: Add unmanaged definition of
System.Threading.ApartmentState, MonoThreadApartmentState.

Code is contributed under MIT/X11 license.

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

17 years ago2007-05-09 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 9 May 2007 18:21:37 +0000 (18:21 -0000)]
2007-05-09  Jonathan Chambers  <joncham@gmail.com>

* win32_threads.c: If SuspendThread fails, don't abort. Instead
remove thread from GC, as this only seems to happen when thread is
terminating.

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

17 years ago2007-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 9 May 2007 16:51:02 +0000 (16:51 -0000)]
2007-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12Test.cs: Added unit tests for new SecretBag support. Patch by
Jay Miller.

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

17 years ago * PKCS12.cs: Adds SecretBag support. Patch by Jay Miller.
Sebastien Pouliot [Wed, 9 May 2007 16:50:33 +0000 (16:50 -0000)]
* PKCS12.cs: Adds SecretBag support. Patch by Jay Miller.

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

17 years ago2007-05-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 May 2007 16:21:12 +0000 (16:21 -0000)]
2007-05-09  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: When using UseWaitCursor, we have to store the requested
Cursor to use when UseWaitCursor is turned off.

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

* ControlTest.cs: Expand and enable test for UseWaitCursor.

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

17 years agoreenable client certificate support in 2.0 build.
Sebastien Pouliot [Wed, 9 May 2007 15:20:06 +0000 (15:20 -0000)]
reenable client certificate support in 2.0 build.

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

17 years ago2007-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 9 May 2007 15:19:20 +0000 (15:19 -0000)]
2007-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2.cs: Leave a small stub (PrivateKey property) if
SECURITY_DEP isn't defined. This will let Mono.Security.dll build
correctly under 2.0 while enabling the use of X509Certificate2 to add
support for X.509 client certificates in SSL/TLS.

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

17 years ago2007-05-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 May 2007 15:12:02 +0000 (15:12 -0000)]
2007-05-09  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Added test for IsInputChar.

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

17 years ago2007-05-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 May 2007 14:56:41 +0000 (14:56 -0000)]
2007-05-09  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement PreProcessControlMessage.  Default IsInputChar
to false.
* Application.cs: Use PreProcessControlMessage instead of
PreProcessMessage.
* PreProcessControlMessage.cs: Make internal for 1.1.

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

* ControlTest.cs: Added tests for PreProcessMessage and
PreProcessControlMessage.

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

17 years agocomment as X509Certificate2 is in System.dll, which cause a circular dependency issue :(
Sebastien Pouliot [Wed, 9 May 2007 14:29:29 +0000 (14:29 -0000)]
comment as X509Certificate2 is in System.dll, which cause a circular dependency issue :(

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

17 years ago2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 9 May 2007 14:11:06 +0000 (14:11 -0000)]
2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>

* Socket.jvm.cs: Handle property throws NotImplementedException.

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

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

* ApplicationHost.cs:
added MonoNotSupported attribute for TARGATE_JVM.

* PassportIdentity.cs:
added MonoNotSupported attribute.

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

17 years ago* HtmlTextWriter.cs: used classes instead of structs in TARGET_JVM for AddedTag,...
Vladimir Krasnov [Wed, 9 May 2007 13:43:30 +0000 (13:43 -0000)]
* HtmlTextWriter.cs: used classes instead of structs in TARGET_JVM for AddedTag, AddedStyle and AddedAttr members
* TemplateControl.jvm.cs: refactored CachedString method

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

17 years ago2007-05-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 9 May 2007 13:25:04 +0000 (13:25 -0000)]
2007-05-09  Marek Habersack  <mhabersack@novell.com>

* DateTimeTest.cs: added tests for the "HH':'mm tt MM/dd/yyyy"
parse format.

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

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

* HttpsClientStream.cs: Add support for client certificates from
HttpWebRequest if it uses X509Certificate2 instance (which requires
using 2.0 profile) and if the private key is available.
* SslStreamBase.cs: Fix warning in 2.0 because Stream now implements
Dispose. Rework Close (in 2.0) to avoid infinite recursion.

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

17 years agochange the format to use 'tt' instead of hard-coded PM
Marek Habersack [Wed, 9 May 2007 13:11:51 +0000 (13:11 -0000)]
change the format to use 'tt' instead of hard-coded PM

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