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
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
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
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
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
Marek Safar [Fri, 9 Nov 2007 16:46:04 +0000 (16:46 -0000)]
Removed windows only tests.
svn path=/trunk/mcs/; revision=89326
Marek Safar [Fri, 9 Nov 2007 16:09:06 +0000 (16:09 -0000)]
New test.
svn path=/trunk/mcs/; revision=89325
Marek Safar [Fri, 9 Nov 2007 15:53:01 +0000 (15:53 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89324
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
Marek Safar [Fri, 9 Nov 2007 15:46:59 +0000 (15:46 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89322
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
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
Marek Habersack [Fri, 9 Nov 2007 13:47:37 +0000 (13:47 -0000)]
formatting
svn path=/trunk/mcs/; revision=89315
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Thu, 8 Nov 2007 21:59:58 +0000 (21:59 -0000)]
cuter
svn path=/trunk/mcs/; revision=89273
Wade Berrier [Thu, 8 Nov 2007 21:37:07 +0000 (21:37 -0000)]
version bump -> 1.2.6
svn path=/trunk/mono/; revision=89263
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
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
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
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
Jb Evain [Thu, 8 Nov 2007 21:04:42 +0000 (21:04 -0000)]
protect against KeyNotFoundException
svn path=/trunk/mcs/; revision=89254
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
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
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
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
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
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
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
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
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
Marek Safar [Thu, 8 Nov 2007 15:59:13 +0000 (15:59 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89205
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
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
Marek Safar [Thu, 8 Nov 2007 15:04:25 +0000 (15:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=89195
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
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
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
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
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
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
Paolo Molaro [Thu, 8 Nov 2007 14:15:55 +0000 (14:15 -0000)]
Test for bug #339013.
svn path=/trunk/mono/; revision=89186
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
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
Jb Evain [Thu, 8 Nov 2007 13:35:11 +0000 (13:35 -0000)]
remove warning
svn path=/trunk/mcs/; revision=89183
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
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 7 Nov 2007 20:31:17 +0000 (20:31 -0000)]
New test.
svn path=/trunk/mcs/; revision=89160
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
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
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
Gert Driesen [Wed, 7 Nov 2007 19:12:38 +0000 (19:12 -0000)]
Fixed 1.0 profile build.
svn path=/trunk/mcs/; revision=89151
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gert Driesen [Wed, 7 Nov 2007 15:57:05 +0000 (15:57 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=89115
Marek Safar [Wed, 7 Nov 2007 15:57:03 +0000 (15:57 -0000)]
Re-enabled CS1612 test.
svn path=/trunk/mcs/; revision=89114
Marek Safar [Wed, 7 Nov 2007 15:56:35 +0000 (15:56 -0000)]
New test.
svn path=/trunk/mcs/; revision=89113
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
Marek Safar [Wed, 7 Nov 2007 15:33:47 +0000 (15:33 -0000)]
Temporary disabled Error_CannotModifyIntermediateExpressionValue
svn path=/trunk/mcs/; revision=89111
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
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
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
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
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
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
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
Marek Safar [Wed, 7 Nov 2007 13:43:35 +0000 (13:43 -0000)]
New test, update
svn path=/trunk/mcs/; revision=89101
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