mono.git
16 years agoTest for bug #339013.
Paolo Molaro [Thu, 8 Nov 2007 14:15:55 +0000 (14:15 -0000)]
Test for bug #339013.

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

16 years agoThu Nov 8 15:31:21 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 8 Nov 2007 14:10:43 +0000 (14:10 -0000)]
Thu Nov 8 15:31:21 CET 2007 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: don't export random functions
and lazy load dbnull and missing objects.

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

16 years ago2007-11-08 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 8 Nov 2007 14:02:11 +0000 (14:02 -0000)]
2007-11-08  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: code cleanup.

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

16 years agoremove warning
Jb Evain [Thu, 8 Nov 2007 13:35:11 +0000 (13:35 -0000)]
remove warning

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

16 years ago2007-11-08 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 8 Nov 2007 10:46:28 +0000 (10:46 -0000)]
2007-11-08  Dick Porter  <dick@ximian.com>

* critical-sections.h (EnterCriticalSection): Disable the critical
section asserts for the release branch

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

16 years ago2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 8 Nov 2007 09:29:39 +0000 (09:29 -0000)]
2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>

* BoundField.cs:
* ImageField.cs:
evaluate bound value using ThisExpession ("!") properly

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

* AutoGeneratedFieldTest.cs:
Added new test.

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

16 years agoFix 324390
Raja R Harinath [Thu, 8 Nov 2007 03:31:44 +0000 (03:31 -0000)]
Fix 324390

In System/System.Text.RegularExpressions:
* BaseMachine.cs (LTRReplace): Don't use non-advancement of 'ptr'
to deduce absence of matches -- a match can have length 0.
(RTLReplace): Likewise.

In System/Test/System.Text.RegularExpressions:
* RegexReplace.cs (tests): New test from #324390.

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

16 years ago2007-11-07 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 8 Nov 2007 02:36:02 +0000 (02:36 -0000)]
2007-11-07  Jonathan Chambers <joncham@gmail.com>

* class.c: Initialize COM types if COM interfaces
are present (not just COM classes).

Code is contributed under MIT/X11 license.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 23:20:26 +0000 (23:20 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

        * ListenerAsyncResult.cs: Only send the 401 header if our authentication
        type is Basic or Negotiate (which we default to basic) because that is
        all we support.  Set the WWW-Authenticate header when we return a 401
        result.  Send the correct state object in the async result.

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 7 Nov 2007 23:12:48 +0000 (23:12 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* Uri.cs: Revert monodoc hack from r53093 since bug #319550 (old
#76725) has been fixed (around 2006-05-21).

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 21:35:12 +0000 (21:35 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs:
    * Graphics.cs: Use QDBeginCGContext / QDEndCGContext to leverage OS caching
    of CGContexts when possible.  If we are still using the context returned by
    QDBeginCGContext, then create a new CGContext for this graphics object.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 21:11:35 +0000 (21:11 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs:
    * Graphics.cs: QDBeginCGContext does not support nested calls.
    We need to ref count our context but this will have clipping/CTM collisions
    Support old-style context creation as well.

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

16 years ago2007-11-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 7 Nov 2007 20:46:10 +0000 (20:46 -0000)]
2007-11-07  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
DrawLinkLabel, this is handled by OnPaintBackground.
Fixes bug #339565, part II.

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

16 years ago2007-11-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 7 Nov 2007 20:40:19 +0000 (20:40 -0000)]
2007-11-07  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Removed bug-318677 since the corresponding patch was reverted.

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

16 years agoNew test.
Marek Safar [Wed, 7 Nov 2007 20:31:17 +0000 (20:31 -0000)]
New test.

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 20:30:56 +0000 (20:30 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #336651
  * expression.cs: Fixed a crash when probing is on

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 20:28:43 +0000 (20:28 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs: Code cleanup and refactor to use
    QDBeginCGContext/QDEndCGContext
    * Graphics.cs: Refactor to use QDBeginCGContext/QDEndCGContext
    rather than the deprecated CreateCGContextForPort.  This has the added
    benefit of the QD system caching CGContexts for us as well.

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

16 years ago* SecurityElementTest.cs: Allow TestToString to pass on 1.0 profile.
Gert Driesen [Wed, 7 Nov 2007 19:25:05 +0000 (19:25 -0000)]
* SecurityElementTest.cs: Allow TestToString to pass on 1.0 profile.

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

16 years agoFixed 1.0 profile build.
Gert Driesen [Wed, 7 Nov 2007 19:12:38 +0000 (19:12 -0000)]
Fixed 1.0 profile build.

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 19:10:02 +0000 (19:10 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A test for bug #324242

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 19:09:08 +0000 (19:09 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #324242
  * covert.cs: Added a conversion from any nullable-type with an
  underlying enum-type to the type System.Enum.

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

16 years ago2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Nov 2007 18:59:25 +0000 (18:59 -0000)]
2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* RegistryKeyTest.cs : enabled bug #322839 test.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 18:28:11 +0000 (18:28 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * carbonFunctions.cs: Add CFRelease prototype.
    * Graphics.cs: When we're disposing the graphics context clean up the
    CGContext that we've created for it.

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

16 years ago2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Nov 2007 18:14:02 +0000 (18:14 -0000)]
2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* SecurityParser.cs : fix in sync with r89135 anr r89136.

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

16 years agoreverting r89121 as it breaks the build (in the tuner)
Jb Evain [Wed, 7 Nov 2007 18:11:27 +0000 (18:11 -0000)]
reverting r89121 as it breaks the build (in the tuner)

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

16 years ago2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Nov 2007 18:09:05 +0000 (18:09 -0000)]
2005-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* SecurityParser.cs : SecurityElement receives raw XML strings for
  values.

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

16 years ago2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Nov 2007 18:07:29 +0000 (18:07 -0000)]
2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* SecurityElement.cs :
  set_Text() should unescape the input string. get_Text() should
  return unescaped string. It also applies to attribute value.
  ToString() should return valid (escaped) XML.

* SecurityElementTest.cs : enabled test for #333699 and added
  couple more.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 17:56:07 +0000 (17:56 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * OSXStructs.cs: Add the kEventClassApplication constants.
    * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
    application is deactivated otherwise Menu overlays linger on top of
    other application windows.

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

16 years ago* Control.cs: Revert r88915. Selecting text on a textbox depends on
Andreia Gaita [Wed, 7 Nov 2007 17:45:19 +0000 (17:45 -0000)]
* Control.cs: Revert r88915. Selecting text on a textbox depends on
getting a Select call on click, so this call needs to be here for now.
Unfixes #325809

2007-11-07  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 17:17:11 +0000 (17:17 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
    dont support cursors yet anyways.  This allows Reflector to run.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 17:11:59 +0000 (17:11 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * XplatUIOSX.cs: Implement DragSize.

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

16 years ago * reflection.c:
Massimiliano Mantione [Wed, 7 Nov 2007 17:08:06 +0000 (17:08 -0000)]
* reflection.c:
create_dynamic_mono_image: hook module profiler events (dynamic case).
mono_image_basic_init: hook assembly profiler events (dynamic case).

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

16 years ago * profiler.c:
Massimiliano Mantione [Wed, 7 Nov 2007 17:05:45 +0000 (17:05 -0000)]
* profiler.c:
simple_appdomain_unload: completely terminate the profiler
instead of only processing the statistical samples.
simple_shutdown: make sure this is really called exactly once,
even in multithreaded applications, and always listen to
appdomain events.
* gc.c (mono_domain_finalize): don't call mono_profiler_appdomain_event
here, the "[un]load" functions will do it.
Fixes bugs #333791 and #325261.

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

16 years ago * bug-318677.il: Added.
Massimiliano Mantione [Wed, 7 Nov 2007 16:52:16 +0000 (16:52 -0000)]
* bug-318677.il: Added.
* Makefile.am: Added test for bug #318677.

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

16 years ago * mini.c:
Massimiliano Mantione [Wed, 7 Nov 2007 16:44:56 +0000 (16:44 -0000)]
* mini.c:
move_basic_block_to_end: Add branches when needed, eventually creating
a new BB.
optimize_branches: added a parameter that tells if it's ok to create
new BBs (doing is "df_visit" has been called is (IMHO) a nightmare),
and avoid calling move_basic_block_to_end when it's not ok.
Fixes bug 318677.

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

16 years ago2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Nov 2007 16:36:02 +0000 (16:36 -0000)]
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* WebControl.cs: enabled state restored properly.

2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* WebControlTest.cs:
Added new test.

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

16 years agoSet eol-style to native.
Gert Driesen [Wed, 7 Nov 2007 15:57:05 +0000 (15:57 -0000)]
Set eol-style to native.

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

16 years agoRe-enabled CS1612 test.
Marek Safar [Wed, 7 Nov 2007 15:57:03 +0000 (15:57 -0000)]
Re-enabled CS1612 test.

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

16 years agoNew test.
Marek Safar [Wed, 7 Nov 2007 15:56:35 +0000 (15:56 -0000)]
New test.

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

16 years ago* SoundPlayer.cs: Addded support for playing WAV files on Windows.
Gert Driesen [Wed, 7 Nov 2007 15:56:33 +0000 (15:56 -0000)]
* SoundPlayer.cs: Addded support for playing WAV files on Windows.
Fixed ctor (Stream) to allow null argument. In LoadFromUri, first
reset mstream to support resetting Stream to null. Support playing
default sound. Allow Stream to be set to null. Reset AudioData and
WaveData when new stream is loaded.
* Win32SoundPlayer.cs: Wrapper for PlaySound Win32 API.
* System.dll.sources: Added Win32SoundPlayer.cs.
* SoundPlayerTest.cs: Added trivial ctor tests. Added test for
Stream property.

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

16 years agoTemporary disabled Error_CannotModifyIntermediateExpressionValue
Marek Safar [Wed, 7 Nov 2007 15:33:47 +0000 (15:33 -0000)]
Temporary disabled Error_CannotModifyIntermediateExpressionValue

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 15:18:02 +0000 (15:18 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A test for bug #324222

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 15:17:31 +0000 (15:17 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #324222
  * class.cs: Report all non-used event fields.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 15:15:30 +0000 (15:15 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * socket-io.c:  Use the configure defines for HAVE_SOCKADDR_IN(6)_SIN_LEN
    rather than depend on __APPLE__.

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

16 years ago2007-11-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 7 Nov 2007 15:14:36 +0000 (15:14 -0000)]
2007-11-07  Geoff Norton  <gnorton@novell.com>

    * configure.in: Add a check for sockaddr_in(6).sin(6)_len

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 14:32:45 +0000 (14:32 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A test for bug #325161

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 14:32:08 +0000 (14:32 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #325161
  * cs-parser.jay, gcs-parser.jay, decl.cs: Implemented namespace alias
  qualifier for generic types.

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

16 years ago2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Nov 2007 13:55:05 +0000 (13:55 -0000)]
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* TraceContext.cs:
* TraceData.cs: implemented TraceMode feature.

2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* PageParser.cs: fixed initial value of tracemode.

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

16 years agoNew test, update
Marek Safar [Wed, 7 Nov 2007 13:43:35 +0000 (13:43 -0000)]
New test, update

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 13:42:45 +0000 (13:42 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #322971
  * expression.cs, ecore.cs: Added intermediate result value check for
  indexers.

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

16 years ago2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Nov 2007 12:40:03 +0000 (12:40 -0000)]
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: removes '#define MONO_TRACE'.
It allows to run MONO in release mode without supplementary trace info.

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

16 years agoNew test.
Marek Safar [Wed, 7 Nov 2007 12:11:10 +0000 (12:11 -0000)]
New test.

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

16 years ago2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Nov 2007 12:08:42 +0000 (12:08 -0000)]
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: added missing trace information for NET_2_0

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

16 years agoRemoved fixed error.
Marek Safar [Wed, 7 Nov 2007 12:01:02 +0000 (12:01 -0000)]
Removed fixed error.

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 12:00:11 +0000 (12:00 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #324754
  * cs-parser.jay, gcs-parser.jay, class.cs: Try to create an interator
  when it was requested.

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

16 years ago2007-11-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 7 Nov 2007 11:31:29 +0000 (11:31 -0000)]
2007-11-07  Mark Probst  <mark.probst@gmail.com>

* icall.c: Safety checks in InitializeArray.  Fixes bug #324535.

2007-11-07  Mark Probst  <mark.probst@gmail.com>

* mini.c: Abort inlining call to InitializeArray if something
looks wrong.  Let the icall handle it, which now has proper safety
checks.

2007-11-07  Mark Probst  <mark.probst@gmail.com>

* bug-324535.cs, bug-324535-il.il: Added.

* Makefile.am: Added test for bug #324525.

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

16 years agoNew test.
Marek Safar [Wed, 7 Nov 2007 10:31:56 +0000 (10:31 -0000)]
New test.

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 10:31:37 +0000 (10:31 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #325101
  * expression.cs: Do type not value comparison for `is' expression.

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

16 years agoadded #if NET_2_0
Igor Zelmanovich [Wed, 7 Nov 2007 10:04:02 +0000 (10:04 -0000)]
added #if NET_2_0

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

16 years ago2007-11-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 7 Nov 2007 09:38:07 +0000 (09:38 -0000)]
2007-11-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When we receive a WM_LBUTTONDOWN message in
ItemControl, request the focus, as .Net does. This is needed after
Control does not request focus anymore when it receives a
WM_LBUTTONDOWN.

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

16 years ago2007-11-07 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 7 Nov 2007 09:35:55 +0000 (09:35 -0000)]
2007-11-07  Juraj Skripsky  <js@hotfeet.ch>

        * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
        Fixes bug #339426 for master pages.

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

16 years ago2007-11-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 7 Nov 2007 09:07:10 +0000 (09:07 -0000)]
2007-11-07  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #320236
  * convert.cs: Don't apply user conversion on underlying target type.

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

16 years agoNew test.
Marek Safar [Wed, 7 Nov 2007 09:07:08 +0000 (09:07 -0000)]
New test.

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

16 years ago2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 7 Nov 2007 09:04:29 +0000 (09:04 -0000)]
2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>

* BaseParamsCollection.cs:
ensure collection will not be changed during enumeration.

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

16 years ago2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 7 Nov 2007 08:25:10 +0000 (08:25 -0000)]
2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpNetworkElement.cs : default UserName is null.
  Fixed bug #323272.

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

16 years ago* FormTest.cs: Added reference to bug #339641. Remove CWLs.
Gert Driesen [Wed, 7 Nov 2007 07:53:03 +0000 (07:53 -0000)]
* FormTest.cs: Added reference to bug #339641. Remove CWLs.

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

16 years agoNew test.
Marek Safar [Tue, 6 Nov 2007 23:32:28 +0000 (23:32 -0000)]
New test.

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

16 years ago* Exception.cs: Cosmetic change to default exception message on
Gert Driesen [Tue, 6 Nov 2007 23:10:27 +0000 (23:10 -0000)]
* Exception.cs: Cosmetic change to default exception message on
2.0 profile.

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

16 years ago2007-11-06 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 6 Nov 2007 22:22:27 +0000 (22:22 -0000)]
2007-11-06  Geoff Norton  <gnorton@novell.com>

    * configure.ac: Check for libiconv_open as the previous check was failing against
    some versions of libiconv.

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

16 years ago2007-11-06 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Tue, 6 Nov 2007 22:21:36 +0000 (22:21 -0000)]
2007-11-06 Juraj Skripsky <js@hotfeet.ch>

* webform.js (WebForm_FireDefaultButton): Gecko-based browsers
don't support the click() method for <a/> elements. Use
eval(myLink.href) instead.

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

16 years agoSupport RegexOptions.RightToLeft in Replace().
Raja R Harinath [Tue, 6 Nov 2007 22:03:35 +0000 (22:03 -0000)]
Support RegexOptions.RightToLeft in Replace().

In b/class/System/System.Text.RegularExpressions:
* BaseMachine.cs (Replace): Use either LTRReplace or RTLReplace
based on regex.
(LTRReplace): Make internal and rename the MatchAppendEvaluator
version of Replace to this.
(RTLReplace): New.
* Regex.cs (Replace): Use LTRReplace and RTLReplace from BaseMachine.
* replace.cs (ReplacementEvaluator.Evaluate): Optimize simple case.
Based on patch by Stephane Delcroix.

In b/class/System/Test/System.Text.RegularExpressions:
* MatchTest.cs (Match_Backref): New.
* RegexReplace.cs (direction, testcase.direction): New.
(testcase..ctor): Allow specifying the direction of the replace.
(ReplaceTests): Test replace in both directions.
(EvaluatorTests): New test based on #321036.

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

16 years ago2007-11-06 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Tue, 6 Nov 2007 21:59:42 +0000 (21:59 -0000)]
2007-11-06  Andreas Faerber  <andreas.faerber@web.de>

* test/Makefile.am: Fix noinst_PROGRAMS for automake 1.6.3
                    Add support for VPATH

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

16 years ago2007-11-06 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 6 Nov 2007 21:26:57 +0000 (21:26 -0000)]
2007-11-06  Geoff Norton  <gnorton@novell.com>

        * Makefile.am:  Revert previous change, it breaks the build on
        win32

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

16 years ago2007-11-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 6 Nov 2007 21:07:50 +0000 (21:07 -0000)]
2007-11-06  Marek Habersack  <mhabersack@novell.com>

* HttpResponse.cs: trigger the PreSendRequestHeaders event before
setting the output headers. Fixes bugs #334521, #339538

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

16 years ago* UriBuilder.cs: Fixed regression introduced by patch for bug
Gert Driesen [Tue, 6 Nov 2007 20:40:41 +0000 (20:40 -0000)]
* UriBuilder.cs: Fixed regression introduced by patch for bug
#323247: always initialize UriBuilder.Query to zero-length string.
On 2.0 profile, do not initialize query to zero-length string when
Fragment is set. Remove extra tabs.
* UriBuilderTest.cs: Added tests for regression introduced as part of
bug #323247. Added extra ctor tests. No longer derive from deprecated
Assertion class.

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 20:35:57 +0000 (20:35 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* AudioData.cs: Reset stream to position 0 before playing (required
when playing the audio in a loop). Part of the fix for bug #338991.
* SoundPlayer.cs: Only create the AudioData once (and reuse it).
Part of the fix for bug #338991.

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

16 years agoremove compilation warning
Sebastien Pouliot [Tue, 6 Nov 2007 20:29:21 +0000 (20:29 -0000)]
remove compilation warning

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

16 years ago2007-11-06 Jonathan Pobst <monkey@Jpobst.com>
Jonathan Pobst [Tue, 6 Nov 2007 20:26:09 +0000 (20:26 -0000)]
2007-11-06  Jonathan Pobst  <monkey@Jpobst.com>

* Label.cs: Make DrawImage internal so it can be called from Theme code.
Remove the DrawImage call from OnPaint.
* LinkLabel.cs: Remove the DrawImage call from OnPaint.
* ThemeWin32Classic.cs: Call DrawImage after we paint the background,
but before we draw the text for DrawLabel and DrawLinkLabel.
Fixes bug #339565.

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

16 years ago2007-11-06 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 6 Nov 2007 20:25:30 +0000 (20:25 -0000)]
2007-11-06  Geoff Norton  <gnorton@novell.com>

        * configure.ac: Determing if glib-2.0 is installed and set HAVE_GLIB appropriately
        * test/Makefile.am: Only build test-glib if glib-2.0 is available

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

16 years agoIn System.Text.RegularExpressions:
Raja R Harinath [Tue, 6 Nov 2007 19:28:12 +0000 (19:28 -0000)]
In System.Text.RegularExpressions:
* replace.cs (Compile): Don't unescape string.

In Test/System.Text.RegularExpressions:
* RegexReplace.cs (tests): New test from #317092.
(ReplaceTests): Don't catch an AssertException.

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 18:48:28 +0000 (18:48 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* MarshalTest.cs: Add test for various StringTo... to check for
bug #335488.

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 18:46:49 +0000 (18:46 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* object.c: Fix mono_string_to_utf8 to handle NULL values inside the
UTF16 MonoString. Fix the crash from bug #335488

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 18:44:06 +0000 (18:44 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* InvalidDataException.cs: Added private ctor for serialization. Fix
bug #324569.

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

16 years ago2007-11-06 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 6 Nov 2007 18:17:36 +0000 (18:17 -0000)]
2007-11-06  Geoff Norton  <gnorton@novell.com>

* src/gpath.c: Fix a typo in the last commit

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 18:16:38 +0000 (18:16 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileStreamTest.cs: Test case for rooted paths by Jay
Miller (bug #324983).

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 18:15:44 +0000 (18:15 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileStream.cs: Handle rooted paths. Patch by Jay
Miller to fix bug #324983.

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

16 years ago2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Nov 2007 17:51:58 +0000 (17:51 -0000)]
2007-11-06  Sebastien Pouliot  <sebastien@ximian.com>

* MarshalTest.cs: Add a rountrip test case for BSTR (bug #339530).

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

16 years agomarshal.c: Correct (for non-Win32 OS) length != size in mono_string_from_bstr. Fix...
Sebastien Pouliot [Tue, 6 Nov 2007 17:50:28 +0000 (17:50 -0000)]
marshal.c: Correct (for non-Win32 OS) length != size in mono_string_from_bstr. Fix #339530.

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

16 years agoNew test.
Marek Safar [Tue, 6 Nov 2007 17:39:43 +0000 (17:39 -0000)]
New test.

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

16 years ago2007-11-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 6 Nov 2007 17:39:00 +0000 (17:39 -0000)]
2007-11-06  Marek Safar  <marek.safar@gmail.com>

  * expression.cs: Don't use unresolved expression for error reporting.

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

16 years ago2007-11-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 6 Nov 2007 17:05:17 +0000 (17:05 -0000)]
2007-11-06  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Made the test output less verbose.

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

16 years agoNew tests, update
Marek Safar [Tue, 6 Nov 2007 16:53:13 +0000 (16:53 -0000)]
New tests, update

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

16 years ago2007-11-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 6 Nov 2007 16:51:24 +0000 (16:51 -0000)]
2007-11-06  Marek Safar  <marek.safar@gmail.com>

  A test for bugs #337712

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

16 years ago2007-11-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 6 Nov 2007 16:49:52 +0000 (16:49 -0000)]
2007-11-06  Marek Safar  <marek.safar@gmail.com>

  A fix for bugs #337712, #324490
  *  ecore.cs (MethodGroupExpr): Refactored to handle delegate method
  overloading resolution too.

  * delegate.cs: Uses MethodGroupExpr for overloading resolution. It makes
  the process consistent and more robust.

  * expression.cs, linq.cs, report.cs: Update.

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

16 years agoin System.Collections:
Jb Evain [Tue, 6 Nov 2007 16:48:36 +0000 (16:48 -0000)]
in System.Collections:
2007-11-06  Jb Evain  <jbevain@novell.com>

* Hashtable.cs: Don't compare user keys against the special removed
key. Fix #324761.

in Test/System.Collections:
2007-11-06  Jb Evain  <jbevain@novell.com>

* HashtableTest.cs: Add test case for #324761.

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

16 years agoFix for bug 5994. Now WebException thrown when a stream received from WebRequest...
Arina Itkes [Tue, 6 Nov 2007 16:37:13 +0000 (16:37 -0000)]
Fix for bug 5994. Now WebException thrown when a stream received from WebRequest is closed before all bytes are written

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

16 years ago2007-11-06 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 6 Nov 2007 16:34:51 +0000 (16:34 -0000)]
2007-11-06  Geoff Norton  <gnorton@novell.com>

    * socket-io.c: Apple requires sin(6)_len to be set for getnameinfo
    to succeed

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

16 years ago2007-11-06 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 6 Nov 2007 16:17:55 +0000 (16:17 -0000)]
2007-11-06  Geoff Norton  <gnorton@novell.com>

    * Makefile.am:  If we're not CROSS_COMPILING let libtool find
    the libraries to link against.  Fixes building against eglib.

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

16 years agoadd the EnumerableTest
Jb Evain [Tue, 6 Nov 2007 16:13:18 +0000 (16:13 -0000)]
add the EnumerableTest

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

16 years ago2007-11-06 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 6 Nov 2007 16:10:46 +0000 (16:10 -0000)]
2007-11-06  Jb Evain  <jbevain@novell.com>

* EnumerableTest.cs: add simple test for Except.

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