mono.git
16 years ago2007-11-10 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 10 Nov 2007 02:11:19 +0000 (02:11 -0000)]
2007-11-10  Alp Toker  <alp@atoker.com>

* samples/embed/teste.c: Add a newline at the end of this printf()

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

16 years ago2007-11-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 10 Nov 2007 02:05:07 +0000 (02:05 -0000)]
2007-11-10  Marek Habersack  <mhabersack@novell.com>

* Mono.MonoConfig/Helpers.cs: added a method for breaking long
text lines to fit them within the console window.

* Mono.MonoConfig/FeatureNode.cs: added support for feature
actions.

* Mono.MonoConfig/FeatureNodeHandler.cs: added support for feature
actions.

* Mono.MonoConfig/FeatureAction.cs: added

* mconfig.exe.sources: added Mono.MonoConfig/FeatureAction.cs

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

16 years ago2007-11-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 Nov 2007 21:24:04 +0000 (21:24 -0000)]
2007-11-09  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: Add StringFormatFlags.LineLimit.  This tells DrawString to
not draw partial lines.
* LinkLabel.cs: Change FormatFlags setter from = to |= so that the
LineLimit flag from the base is preserved.
Fixes the windows part of bug #338965.

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

16 years ago2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 9 Nov 2007 20:04:00 +0000 (20:04 -0000)]
2007-11-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.

link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
Thanks Laurenz Albe & Erich Lerch for their patch!

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

16 years ago2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 9 Nov 2007 20:01:46 +0000 (20:01 -0000)]
2007-11-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.

link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
Thanks Laurenz Albe & Erich Lerch for their patch!

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

16 years agoRemoved windows only tests.
Marek Safar [Fri, 9 Nov 2007 16:46:04 +0000 (16:46 -0000)]
Removed windows only tests.

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

16 years agoNew test.
Marek Safar [Fri, 9 Nov 2007 16:09:06 +0000 (16:09 -0000)]
New test.

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

16 years agoNew tests.
Marek Safar [Fri, 9 Nov 2007 15:53:01 +0000 (15:53 -0000)]
New tests.

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

16 years ago2007-11-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 9 Nov 2007 15:52:37 +0000 (15:52 -0000)]
2007-11-09  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #324996
  * expression.cs: Rewrote Is expression implementation to work with
  generics, nullable types, anonymous method. A const result expression
  uses existing infrastructure instead of custom not fully-featured one.

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

16 years agoNew tests.
Marek Safar [Fri, 9 Nov 2007 15:46:59 +0000 (15:46 -0000)]
New tests.

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

16 years ago2007-11-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 Nov 2007 15:14:03 +0000 (15:14 -0000)]
2007-11-09  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
so that it can be canceled in KeyPress.
Fixes bug #340078.

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

16 years ago2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Nov 2007 14:45:31 +0000 (14:45 -0000)]
2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
  "...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)

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

16 years agoformatting
Marek Habersack [Fri, 9 Nov 2007 13:47:37 +0000 (13:47 -0000)]
formatting

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

16 years ago2007-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 Nov 2007 12:59:54 +0000 (12:59 -0000)]
2007-11-09  Marek Habersack  <mhabersack@novell.com>

* SmtpClient.cs: Connect only after reading in the fields that may
specify the port to connect to. Fixes bug #340501.

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

16 years ago2007-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 Nov 2007 12:52:21 +0000 (12:52 -0000)]
2007-11-09  Marek Habersack  <mhabersack@novell.com>

* SmtpClient.cs: formatting

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

16 years ago2007-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 Nov 2007 12:38:49 +0000 (12:38 -0000)]
2007-11-09  Marek Habersack  <mhabersack@novell.com>

* Mono.MonoConfig/FeatureNodeHandler.cs: added support for feature
descriptions.

* Mono.MonoConfig/FeatureNode.cs: a new container for the
'feature' block data.

* data/config.xml: feature storage type has changed.

* mconfig.exe.sources: added Mono.MonoConfig/FeatureNode.cs

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

16 years ago2007-11-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Nov 2007 10:42:46 +0000 (10:42 -0000)]
2007-11-09  Mark Probst  <mark.probst@gmail.com>

* class.c: Do field layout for open generic classes as well.

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

16 years ago2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Nov 2007 10:12:48 +0000 (10:12 -0000)]
2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTypeMapping.cs : to get schema provider method, check base
  types as well (i.e. FlattenHierarchy). Otherwise typed DataSet
  cannot be reflected in 2.0.

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

16 years ago2007-11-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Nov 2007 09:37:12 +0000 (09:37 -0000)]
2007-11-09  Mark Probst  <mark.probst@gmail.com>

* gc.c, gc-internal.h: Don't finalize threadpool threads with
other objects, because the threadpool is still around.  Put them
in a list instead and after finalizing all other objects in the
root domain shut down the thread pool and then finalize the
threads.  Fixes bug #337383.

* threads.c, thread-types.h: New mono_thread_create_internal()
function for marking a thread with the threadpool flag before it
started.  Set synch_cs to NULL after freeing it.

* threadpool.c: Mark threadpool threads before they start.

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

16 years ago2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Nov 2007 08:48:09 +0000 (08:48 -0000)]
2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
  allow more strings than existing one. Fixed bug #339004.

* XmlConvertTests.cs : added test for #339004 and more.

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

16 years ago2007-11-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 Nov 2007 04:11:39 +0000 (04:11 -0000)]
2007-11-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ItemControl, reset mouse-handling related
fields even if we dont' have items (we still should reset them when
we had items but then called Items.Clear). Partially based in a patch
by George Giolfan.
Fixes #338399.

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

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

* Enumerable.cs: refactor the ArgumentNullException checks.

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

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

* Enumerable.cs: Implement SequenceEqual.

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

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

* EnumerableTest.cs: add test for SequenceEqual.

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

16 years agocuter
Jb Evain [Thu, 8 Nov 2007 21:59:58 +0000 (21:59 -0000)]
cuter

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

16 years agoversion bump -> 1.2.6
Wade Berrier [Thu, 8 Nov 2007 21:37:07 +0000 (21:37 -0000)]
version bump -> 1.2.6

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

16 years ago2007-11-08 Wade Berrier <wberrier@novell.com>
Wade Berrier [Thu, 8 Nov 2007 21:31:31 +0000 (21:31 -0000)]
2007-11-08  Wade Berrier  <wberrier@novell.com>

       * config-default.make: add sysconfdir dir (for
mconfig/config.xml)

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

16 years ago2007-11-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 8 Nov 2007 21:18:19 +0000 (21:18 -0000)]
2007-11-08  Marek Habersack  <mhabersack@novell.com>

* Mono.MonoConfig/consts.cs.in: use @MONO_SYSCONFDIR@ instead of
@MONO_PREFIX@ when pre-setting the location of the default config
file.

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

16 years ago2007-11-08 Wade Berrier <wberrier@novell.com>
Wade Berrier [Thu, 8 Nov 2007 21:14:12 +0000 (21:14 -0000)]
2007-11-08  Wade Berrier  <wberrier@novell.com>

       * Makefile: install the config.xml to $sysconfdir instead

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

16 years ago2007-11-08 Wade Berrier <wberrier@novell.com>
Wade Berrier [Thu, 8 Nov 2007 21:11:40 +0000 (21:11 -0000)]
2007-11-08  Wade Berrier  <wberrier@novell.com>

       * configure.in: add sysconfdir for mcs config.make

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

16 years agoprotect against KeyNotFoundException
Jb Evain [Thu, 8 Nov 2007 21:04:42 +0000 (21:04 -0000)]
protect against KeyNotFoundException

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

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

* net_2_1_System.dll.sources: use the custom
WebHeaderCollection.

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

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

* WebHeaderCollection_2_1.cs: add a custom WebHeaderCollection
for the 2.1 profile.

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

16 years ago* Application.cs: In ProductVersion first try AssemblyFileVersion
Gert Driesen [Thu, 8 Nov 2007 20:29:25 +0000 (20:29 -0000)]
* Application.cs: In ProductVersion first try AssemblyFileVersion
before falling back to assembly version. Fixes bug #339787.

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

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

* Enumerable.cs: Complete Union.

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

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

* EnumerableTest.cs: add simple test for Union.

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

16 years ago2007-09-14 Jb Evain <jbevain@novell.com>
Paolo Molaro [Thu, 8 Nov 2007 17:16:46 +0000 (17:16 -0000)]
2007-09-14  Jb Evain  <jbevain@novell.com>

* Makefile: force the use of the 2.0 mscorlib to compile
the 2.1 mscorlib.dll.

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

16 years ago* Mono.Mozilla.csproj, Mono.Mozilla2K5.csproj: Synch with .sources
Andreia Gaita [Thu, 8 Nov 2007 16:43:04 +0000 (16:43 -0000)]
* Mono.Mozilla.csproj, Mono.Mozilla2K5.csproj: Synch with .sources

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

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

16 years ago* HtmlElement.cs: Implement InnerText setter.
Andreia Gaita [Thu, 8 Nov 2007 16:31:00 +0000 (16:31 -0000)]
* HtmlElement.cs: Implement InnerText setter.
* WebBrowserBase.cs: Implement Navigated event support.
Add flag to track when the browser "document" is ready to be retrieved.
* WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
Make sure browser document is ready before retrieving it.
Clean up cached objects (document) when moving to a new page through
any of the navigation methods.
Use the new Mono.WebBrowser.INavigation interface to control navigation.
Implement OnNavigated event.

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

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

16 years ago* Mono.Mozilla.dll.sources,
Andreia Gaita [Thu, 8 Nov 2007 16:29:34 +0000 (16:29 -0000)]
* Mono.Mozilla.dll.sources,
  Mono.Mozilla/DOM/Navigation.cs,
  Mono.Mozilla/interfaces/nsIHistoryEntry.cs,
  Mono.Mozilla/interfaces/nsIInputStream.cs,
  Mono.Mozilla/interfaces/nsISHistory.cs,
  Mono.Mozilla/interfaces/nsISHistoryListener.cs,
  Mono.Mozilla/interfaces/nsISimpleEnumerator.cs,
  Mono.Mozilla/interfaces/nsIURI.cs,
  Mono.Mozilla/interfaces/nsIWebNavigation.cs,
  Mono.WebBrowser/DOM/INavigation.cs:

Add nsIWebNavigation interface and related
dependencies to access navigation-related properties directly (CanGoBack, etc).
Add INavigation interface and implementation to expose navigation properties.
Navigation is now done through this interface (Reload(), Stop(), etc).

Please note: Due to threading issues on linux (namely, mozilla being run
on a different thread), only methods that do not affect drawing can be
invoked through the interfaces, so although Reload is now called from
the INavigation interface, it is still being routed through the Base
class and the glue code (and not through the nsIWebNavigation.Reload
call, as are other non-drawing-affecting methods like GetTitle).

* Mono.Mozilla/ICallback.cs, Callback.cs: Remove unneeded events, adjust parameters,
add support enumeration for tracking loading state.

* Mono.Mozilla/DOM/DOMHTMLDocument.cs, Mono.WebBrowser/DOM/IDOMHTMLDocument.cs:
Add URL getter.

* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs:
Add Navigation interface getter.
Add Navigated event support through the StateChange and LocationChange
events.
Clean up cached objects when navigating.
Remove Reload, Forward, Stop, Home methods, these are now accessible
through the INavigation interface.

* Mono.Mozilla/Base.cs: Add call to return the navigation interface.
Add MarshalAs so that returning interfaces directly works on mono.

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

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

16 years agoNew tests.
Marek Safar [Thu, 8 Nov 2007 15:59:13 +0000 (15:59 -0000)]
New tests.

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

16 years ago2007-11-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 8 Nov 2007 15:58:58 +0000 (15:58 -0000)]
2007-11-08  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #340202
  * class.cs: Consider generics for volatile field.

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

16 years ago2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 8 Nov 2007 15:36:58 +0000 (15:36 -0000)]
2007-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
Fix the regression on the x86_64 bot which seems to be in it's own
timezone.

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

16 years agoNew test.
Marek Safar [Thu, 8 Nov 2007 15:04:25 +0000 (15:04 -0000)]
New test.

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

16 years ago2007-11-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 8 Nov 2007 15:02:59 +0000 (15:02 -0000)]
2007-11-08  Marek Safar  <marek.safar@gmail.com>

  A test for bug #335594

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

16 years ago2007-11-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 8 Nov 2007 14:59:21 +0000 (14:59 -0000)]
2007-11-08  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #335594
  * expression.cs: Use conversion rules when handling string addition.

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

16 years ago2007-11-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Nov 2007 14:23:39 +0000 (14:23 -0000)]
2007-11-08  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Enabled TestGetFieldsComplete_Generic.
This tests bug #82625 / #325292.

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

16 years ago2007-11-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 Nov 2007 14:22:49 +0000 (14:22 -0000)]
2007-11-08  Rodrigo Kumpera <rkumpera@novell.com>

* TypeBuilder.cs: Workaround for #82625 not needed anymore.
GetFields() returns the created type fields.

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

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

* Enumerable.cs: correctly implement Intersect.

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

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

* EnumerableTest.cs: add simple test for intersect.

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

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