Michael Barker [Wed, 24 Dec 2008 09:54:59 +0000 (09:54 -0000)]
2008-12-24 Michael Barker <mike@middlesoft.co.uk>
* Mono.Messaging.dll.sources, added delegate
type definitions, MessageQueueBase.cs and event
argument definitions.
svn path=/trunk/mcs/; revision=122083
Michael Barker [Wed, 24 Dec 2008 09:50:16 +0000 (09:50 -0000)]
2008-12-20 Michael Barker <mike@middlesoft.co.uk>
* MessageQueue.cs: Added implementation for async methods: BeginReceive,
BeginPeek, EndReceive and EndPeek. Set up event handlers to propagate
Asycn ReceiveCompleted/PeekCompleted events to System.Messaging API users.
svn path=/trunk/mcs/; revision=122082
Rodrigo Kumpera [Wed, 24 Dec 2008 04:55:15 +0000 (04:55 -0000)]
I removed some changelog notes while merging locally
svn path=/trunk/mono/; revision=122073
Rodrigo Kumpera [Wed, 24 Dec 2008 04:51:39 +0000 (04:51 -0000)]
2008-12-24 Rodrigo Kumpera <rkumpera@novell.com>
* bug-461941.cs: New regression test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=122071
Rodrigo Kumpera [Wed, 24 Dec 2008 04:51:28 +0000 (04:51 -0000)]
2008-12-24 Rodrigo Kumpera <rkumpera@novell.com>
* object.c (mono_runtime_invoke_array): Don't assert with
byref nullable types.
* marshal.c (mono_marshal_get_runtime_invoke): To handle
byref nullables we unbox the object and store it on the
stack.
We can't use the boxed object since it is the T of Nullable<T>
and the boxed representation of a nullable it's underlying type
or null.
We could cheat and create a boxed nullable and use the same
machinery of other byref VTs but this feels like a hack and
using the stack has the bonus of reducing heap pressure.
Fixes #461941.
svn path=/trunk/mono/; revision=122070
Marek Habersack [Wed, 24 Dec 2008 02:15:59 +0000 (02:15 -0000)]
2008-12-24 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: watch for changes to web.config also
in the subdirectories.
svn path=/trunk/mcs/; revision=122069
Sebastien Pouliot [Tue, 23 Dec 2008 21:11:13 +0000 (21:11 -0000)]
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* GDIPlusTest.cs: Add MeasureCharacterRanges test cases around bug
#449971 and add a few delta for FP comparison.
* TestGraphics.cs: Add a few delta for FP comparison.
svn path=/trunk/mcs/; revision=122060
Sebastien Pouliot [Tue, 23 Dec 2008 20:10:57 +0000 (20:10 -0000)]
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPathTest.cs, LinearGradientBrushTest.cs, TestMatrix.cs:
Add delta when comparing floating point values since there can be
small differences between different platforms.
svn path=/trunk/mcs/; revision=122052
Sebastien Pouliot [Tue, 23 Dec 2008 18:54:46 +0000 (18:54 -0000)]
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* SoftwarePublisherCertificateTest.cs: Update test syntax to nunit
2.2. Test more cases like base64, unicode base64 and PEM base64.
svn path=/trunk/mcs/; revision=122049
Sebastien Pouliot [Tue, 23 Dec 2008 18:53:29 +0000 (18:53 -0000)]
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* SoftwarePublisherCertificate.cs: Support PKCS7 files that with
PEM headers around the base64 content.
[Fix bug #457658]
svn path=/trunk/mcs/; revision=122048
Ivan Zlatev [Tue, 23 Dec 2008 18:03:18 +0000 (18:03 -0000)]
2008-12-23 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs:
- Make ReBind private and refactor various calls to call ReBind
instead of ClearBinding/DoBinding
- Rebind when the column collection changes
* DataGridViewColumnCollection.cs:
- Leave the rebinding on change to be handled by the DataGridView.
svn path=/trunk/mcs/; revision=122047
Jonathan Pobst [Tue, 23 Dec 2008 17:46:19 +0000 (17:46 -0000)]
2008-12-23 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Add a ReBind convenience method.
* DataGridViewColumnCollection.cs: Rebind when a column is added.
[Fixes bug #462019]
2008-12-23 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewDataBindingTest.cs: Add test for bug #462019.
svn path=/trunk/mcs/; revision=122045
Sebastien Pouliot [Tue, 23 Dec 2008 16:22:20 +0000 (16:22 -0000)]
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFileTest.cs: Add test case when null values are used
in GetStore. Fix bug #430932
svn path=/trunk/mcs/; revision=122042
Sebastien Pouliot [Tue, 23 Dec 2008 16:17:51 +0000 (16:17 -0000)]
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFile.cs: Use Url as the default evidence type when
null is supplied.
[Fix bug #430932]
svn path=/trunk/mcs/; revision=122041
Mark Probst [Tue, 23 Dec 2008 15:07:07 +0000 (15:07 -0000)]
2008-12-23 Mark Probst <mark.probst@gmail.com>
* mini-exceptions.c (get_exception_catch_class): Corrected another
overly strict assertion.
2008-12-23 Mark Probst <mark.probst@gmail.com>
* bug-461198.2.cs: New generic sharing test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=122037
Rodrigo Kumpera [Tue, 23 Dec 2008 14:36:43 +0000 (14:36 -0000)]
2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>
* bug-461867.cs: New regression test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=122036
Rodrigo Kumpera [Tue, 23 Dec 2008 14:36:34 +0000 (14:36 -0000)]
2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>
* marshal.c (mono_marshal_emit_managed_wrapper): Handle char
return value.
Fixes #461867.
svn path=/trunk/mono/; revision=122035
Mark Probst [Tue, 23 Dec 2008 12:03:45 +0000 (12:03 -0000)]
2008-12-23 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c (mono_arch_build_imt_thunk): Save and restore r11.
Clobbering it is not allowed because the caller might use it as
the vtable register in the interface call.
svn path=/trunk/mono/; revision=122034
Neville Gao [Tue, 23 Dec 2008 08:18:33 +0000 (08:18 -0000)]
SplitContainer enabled to support accessibility.
svn path=/trunk/mcs/; revision=122032
Marek Habersack [Tue, 23 Dec 2008 02:42:50 +0000 (02:42 -0000)]
2008-12-23 Marek Habersack <mhabersack@novell.com>
* NunitWeb/Makefile (NunitWeb.dll): added NunitWeb/CustomSection.cs
* NunitWebResources/CustomSectionEmptyCollection.aspx: added
2008-12-23 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManagerTest.cs: added new test.
2008-12-23 Marek Habersack <mhabersack@novell.com>
* CustomSection.cs: added. Implementation of custom configuration
elements for WebConfigurationManager tests.
2008-12-23 Marek Habersack <mhabersack@novell.com>
* Web.mono.config: added CustomTags section definition, used in
WebConfiguratioManager tests.
2008-12-23 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: GetSection should call
OpenWebConfiguration using the actual directory path, not a file
path. If it fails to do so, System.Configuration may treat the
top-level Web.config file as a child one which, in turn, in
certain circumstances will lead to duplicate keys inserted in
collections.
2008-12-23 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added Test/mainsoft/NunitWebResources/CustomSectionEmptyCollection.aspx
* System.Web_test.dll.sources: added mainsoft/NunitWeb/NunitWeb/CustomSection.cs
svn path=/trunk/mcs/; revision=122024
Marek Habersack [Mon, 22 Dec 2008 23:57:49 +0000 (23:57 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=122020
Gonzalo Paniagua Javier [Mon, 22 Dec 2008 22:39:27 +0000 (22:39 -0000)]
2008-12-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResourceManager.cs: cache negative results too.
svn path=/trunk/mcs/; revision=122017
Jonathan Pobst [Mon, 22 Dec 2008 21:49:36 +0000 (21:49 -0000)]
2008-12-22 Jonathan Pobst <monkey@jpobst.com>
* ToolStripMenuItem.cs: Guard against an NRE.
[Fixes bug #457110]
svn path=/trunk/mcs/; revision=122013
Veerapuram Varadhan [Mon, 22 Dec 2008 20:48:01 +0000 (20:48 -0000)]
* SqlXmlTest.cs: Available only in 2.0 and above
svn path=/trunk/mcs/; revision=122007
Gonzalo Paniagua Javier [Mon, 22 Dec 2008 20:31:49 +0000 (20:31 -0000)]
2008-12-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Configuration.cs: don't try to open the file if we know it does not
exist. Also, don't hide the actual exception in case there's a problem
opening the configuration file.
svn path=/trunk/mcs/; revision=122004
Mario Carrion [Mon, 22 Dec 2008 20:26:14 +0000 (20:26 -0000)]
2008-12-22 Mario Carrion <mcarrion@novell.com>
* System.Windows.Forms/Control.cs: AccessibleXXXX properties
don't return AccessibleObject.XXXX, instead a local referece is
returned.
* Test/System.Windows.Forms/ControlTest.cs:
CreatedAccessibilityTest enabled, testing handle creation and
custom accessibility implementation.
svn path=/trunk/mcs/; revision=122002
Ivan Zlatev [Mon, 22 Dec 2008 19:17:58 +0000 (19:17 -0000)]
2008-12-22 Ivan N. Zlatev <contact@i-nz.net>
* ReferenceConverter.cs: Implemented.
* ReferenceConverterTest.cs: Added.
[Fixes bug #381435]
svn path=/trunk/mcs/; revision=121997
Jonathan Pryor [Mon, 22 Dec 2008 18:46:07 +0000 (18:46 -0000)]
* Documentation/en/**/*.xml: s/NDesk.Options/Mono.Options/g (How'd I
miss this earlier?).
svn path=/trunk/mcs/; revision=121996
Ankit Jain [Mon, 22 Dec 2008 17:35:40 +0000 (17:35 -0000)]
* TestMessageLogger.cs: Emit debug messages to stderr.
* CreateCSharpManifestResourceNameTest.cs: Likewise.
Revert last patch, don't emit to stderr, monobuild emits
the log contents now.
svn path=/trunk/mcs/; revision=121992
Ankit Jain [Mon, 22 Dec 2008 15:49:06 +0000 (15:49 -0000)]
* TestMessageLogger.cs: Emit debug messages to stderr.
* CreateCSharpManifestResourceNameTest.cs: Likewise.
svn path=/trunk/mcs/; revision=121988
Ankit Jain [Mon, 22 Dec 2008 13:49:54 +0000 (13:49 -0000)]
* System.Data_test.dll.sources: Fix typo in SqlXmlTest.cs
svn path=/trunk/mcs/; revision=121986
Ankit Jain [Mon, 22 Dec 2008 13:22:02 +0000 (13:22 -0000)]
* TestMessageLogger.cs: Listen for errors and warnings also.
* CreateCSharpManifestResourceNameTest.cs: Emit helpful info when tests
fail.
svn path=/trunk/mcs/; revision=121985
Neville Gao [Mon, 22 Dec 2008 02:40:04 +0000 (02:40 -0000)]
Added internal properties to support accessibility.
svn path=/trunk/mcs/; revision=121975
Veerapuram Varadhan [Sun, 21 Dec 2008 03:36:34 +0000 (03:36 -0000)]
New SqlXmlTests
svn path=/trunk/mcs/; revision=121958
Veerapuram Varadhan [Sun, 21 Dec 2008 03:35:52 +0000 (03:35 -0000)]
Added new SqlXmlTest
svn path=/trunk/mcs/; revision=121957
Veerapuram Varadhan [Sun, 21 Dec 2008 03:29:26 +0000 (03:29 -0000)]
* SqlXml.cs (CreateReader): Better use
ConformanceLevel.Fragment while creating the reader as column
values are not really Xml documents. Also, throw
SqlNullValueException when data is null.
(.ctor): Take good care of empty XmlReaders.
svn path=/trunk/mcs/; revision=121956
Gonzalo Paniagua Javier [Sat, 20 Dec 2008 20:47:47 +0000 (20:47 -0000)]
2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqlParameter.cs: I removed these 2 lines I added 2 patches ago in
the previous patch...
svn path=/trunk/mcs/; revision=121937
Miguel de Icaza [Sat, 20 Dec 2008 19:18:55 +0000 (19:18 -0000)]
2008-10-04 Robert Jordan <robertj@gmx.net>
* ServerIdentity.cs (DisposeServerObject):
Notify TrackingServices about server's disconnection.
svn path=/trunk/mcs/; revision=121934
Miguel de Icaza [Sat, 20 Dec 2008 19:13:54 +0000 (19:13 -0000)]
Apply patch for 436775 from Jeroen Asselman + test case
svn path=/trunk/mcs/; revision=121932
Miguel de Icaza [Sat, 20 Dec 2008 18:57:23 +0000 (18:57 -0000)]
Some API updates
svn path=/trunk/mcs/; revision=121931
Gonzalo Paniagua Javier [Sat, 20 Dec 2008 10:53:59 +0000 (10:53 -0000)]
2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Ping.cs: use the new internal method in Socket to avoid having to
throw exceptions when there's a timeout.
svn path=/trunk/mcs/; revision=121924
Gonzalo Paniagua Javier [Sat, 20 Dec 2008 10:52:59 +0000 (10:52 -0000)]
2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: add a new ReceiveFrom_nocheck that does not throw an
exception in case of error.
svn path=/trunk/mcs/; revision=121923
Gonzalo Paniagua Javier [Sat, 20 Dec 2008 10:04:01 +0000 (10:04 -0000)]
2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: if Blocking is set, translate a WouldBlock into a
TimedOut.
svn path=/trunk/mcs/; revision=121922
Gonzalo Paniagua Javier [Sat, 20 Dec 2008 09:37:22 +0000 (09:37 -0000)]
2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* IPAddress.cs: avoid throwing when parsing a subnet.
svn path=/trunk/mcs/; revision=121921
Gonzalo Paniagua Javier [Sat, 20 Dec 2008 08:53:16 +0000 (08:53 -0000)]
2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqlConnection.cs: close the connection on error.
svn path=/trunk/mcs/; revision=121920
Miguel de Icaza [Sat, 20 Dec 2008 07:46:21 +0000 (07:46 -0000)]
Add a handful of 3.5 methods
svn path=/trunk/mcs/; revision=121919
Miguel de Icaza [Sat, 20 Dec 2008 07:26:29 +0000 (07:26 -0000)]
Add
svn path=/trunk/mcs/; revision=121918
Miguel de Icaza [Sat, 20 Dec 2008 07:13:13 +0000 (07:13 -0000)]
2008-12-20 Miguel de Icaza <miguel@novell.com>
* FileStream.cs: Found while debugging webcompare, we should add
Obsoletes to the FileStream constructors that take IntPtrs.
svn path=/trunk/mcs/; revision=121916
Mario Carrion [Sat, 20 Dec 2008 04:58:33 +0000 (04:58 -0000)]
2008-12-19 Mario Carrion <mcarrion@novell.com>
* Control.cs: Reverted r121561.
svn path=/trunk/mcs/; revision=121913
Mario Carrion [Sat, 20 Dec 2008 04:56:14 +0000 (04:56 -0000)]
2008-12-19 Mario Carrion <mcarrion@novell.com>
* ControlTest.cs: Reverted r121558: Removed
AccessibilityPropertiesTest.
svn path=/trunk/mcs/; revision=121912
Jonathan Pryor [Sat, 20 Dec 2008 03:19:18 +0000 (03:19 -0000)]
* signal.c: Improve error checking within Mono_Posix_FromRealTimeSignum.
svn path=/trunk/mono/; revision=121910
Marek Habersack [Sat, 20 Dec 2008 03:13:33 +0000 (03:13 -0000)]
2008-12-20 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: the code in TransmitFile (VirtualFile, bool)
was an abomination - dear children, don't do this at home (never,
ever, allocate a buffer to load entire file). I will wear a brown
paper bag every 2nd Sunday in the next 6 months for writing the
old version of this code.
New code optimizes the write when DefaultVirtualFile is used (as
it refers to a physical file on disk) and reads/writes other
virtual files in chunks.
svn path=/trunk/mcs/; revision=121909
Mark Probst [Fri, 19 Dec 2008 19:46:04 +0000 (19:46 -0000)]
2008-12-19 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: Fixed the argument order for lwzu in
ppc_load_reg_update.
svn path=/trunk/mono/; revision=121883
Andrés G. Aragoneses [Fri, 19 Dec 2008 17:47:57 +0000 (17:47 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/X11DesktopColors.cs: Since
r121873 we don't need gtk a11y checks here, it has been moved to the
bridge.
svn path=/trunk/mcs/; revision=121875
Jb Evain [Fri, 19 Dec 2008 15:23:54 +0000 (15:23 -0000)]
add sl2sdk assemblies
svn path=/trunk/mcs/; revision=121854
Bill Holmes [Fri, 19 Dec 2008 15:23:44 +0000 (15:23 -0000)]
2008-12-19 Bill Holmes <billholmes54@gmail.com>
* Environment.cs (GetEnvironmentVariable) : Avoiding an nre if
the variable is not set.
* Environment.cs (SetEnvironmentVariable) : Adding a call to
internalBroadcastSettingChange to notify Windows that an environment
variable has changed.
* icall-def.h : Adding an internal call definition for
System.Environment.internalBroadcastSettingChange.
* icall.c : Adding a Windows only implementation to broadcast a
WM_SETTINGCHANGE when an environment variable has changed.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121853
Bill Holmes [Fri, 19 Dec 2008 15:23:44 +0000 (15:23 -0000)]
2008-12-19 Bill Holmes <billholmes54@gmail.com>
* Environment.cs (GetEnvironmentVariable) : Avoiding an nre if
the variable is not set.
* Environment.cs (SetEnvironmentVariable) : Adding a call to
internalBroadcastSettingChange to notify Windows that an environment
variable has changed.
* icall-def.h : Adding an internal call definition for
System.Environment.internalBroadcastSettingChange.
* icall.c : Adding a Windows only implementation to broadcast a
WM_SETTINGCHANGE when an environment variable has changed.
Contributed under MIT/X11 license.
svn path=/trunk/mcs/; revision=121853
Jonathan Pryor [Fri, 19 Dec 2008 15:23:37 +0000 (15:23 -0000)]
* map.h: Flush.
* signal.c: Add Mono_Posix_SIGRTMIN(), Mono_Posix_SIGRTMAX(),
Mono_Posix_FromRealTimeSignum().
Patch thanks to tim.jenks@realtimeworlds.com.
svn path=/trunk/mono/; revision=121852
Jonathan Pryor [Fri, 19 Dec 2008 15:23:31 +0000 (15:23 -0000)]
* Mono.Posix.dll.sources: Add Mono.Unix.Native/RealTimeSignum.cs.
* Mono.Posix_test.dll.sources: Add
Mono.Unix.Native/RealTimeSignumTest.cs.
* Mono.Unix/UnixSignal.cs: Allow RealTimeSignums to be used in addition
to Signum, so that real time signals can be used. Patch thanks to
tim.jenks@realtimeworlds.com.
* Mono.Unix.Native/NativeConvert.cs: Add FromRealTimeSignum(),
ToRealTimeSignum(). Patch thanks to tim.jenks@realtimeworlds.com.
* Mono.Unix.Native/RealTimeSignum.cs: Added; structure which represents a real-time
signal, a value V such that V >= SIGRTMIN and V <= SIGRTMAX.
Patch thanks to tim.jenks@realtimeworlds.com.
* Mono.Unix.Native/Stdlib.cs: Add SetSignalAction() and raise()
overloads which accept a RealTimeSignum instance.
Patch thanks to tim.jenks@realtimeworlds.com.
* Test/Mono.Unix/UnixSignalTest.cs: Add tests for RealTimeSignum
constructors, .RealTimeSignum and .IsRealTimeSignal properties.
Patch thanks to tim.jenks@realtimeworlds.com.
* Test/Mono.Unix.Native/RealTimeSignumTest.cs: Added; unit tests for
RealTimeSignum. Patch thanks to tim.jenks@realtimeworlds.com.
svn path=/trunk/mcs/; revision=121851
Bill Holmes [Fri, 19 Dec 2008 15:16:53 +0000 (15:16 -0000)]
2008-12-19 Bill Holmes <billholmes54@gmail.com>
* processes.c (get_module_name) : adjust size for unicode characters.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121850
Marek Safar [Fri, 19 Dec 2008 15:02:59 +0000 (15:02 -0000)]
Set svn:eol-style
svn path=/trunk/mcs/; revision=121849
Rolf Bjarne Kvinge [Fri, 19 Dec 2008 14:32:31 +0000 (14:32 -0000)]
2008-12-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
* net_2_1_raw_System.dll.sources: Added IEditableObject.cs
svn path=/trunk/mcs/; revision=121843
Mark Probst [Fri, 19 Dec 2008 13:18:06 +0000 (13:18 -0000)]
2008-12-19 Mark Probst <mark.probst@gmail.com>
* mini-exceptions.c (get_exception_catch_class): Corrected an
overly strict assertion.
2008-12-19 Mark Probst <mark.probst@gmail.com>
* class.c, class-internals.h: Made
mono_class_has_parent_and_ignore_generics() non-static.
2008-12-19 Mark Probst <mark.probst@gmail.com>
* bug-459285.2.cs: New generic sharing test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121841
Atsushi Eno [Fri, 19 Dec 2008 08:18:02 +0000 (08:18 -0000)]
2008-12-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlNamespaceManager.cs : namespace lookup failed for non-atomic
string in 1.1 profile. Fixed 1.0 part of #379139.
svn path=/trunk/mcs/; revision=121834
Atsushi Eno [Fri, 19 Dec 2008 05:49:37 +0000 (05:49 -0000)]
2008-12-18 Atsushi Enomoto <atsushi@ximian.com>
* DTDValidatingReader.cs : remove unused file.
svn path=/trunk/mcs/; revision=121833
Atsushi Eno [Fri, 19 Dec 2008 03:57:03 +0000 (03:57 -0000)]
2008-12-18 Atsushi Enomoto <atsushi@ximian.com>
* BasicProfileChecker.cs : /definitions/message/part could omit
name attribute and it should not cause null key error.
svn path=/trunk/mcs/; revision=121828
Marek Habersack [Thu, 18 Dec 2008 23:39:25 +0000 (23:39 -0000)]
2008-12-19 Marek Habersack <mhabersack@novell.com>
* SettingsMappingManager.cs: make sure _runningOnWindows is set
correctly on MacOS/X.
svn path=/trunk/mcs/; revision=121819
Marek Safar [Thu, 18 Dec 2008 22:04:54 +0000 (22:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=121811
Marek Safar [Thu, 18 Dec 2008 22:02:33 +0000 (22:02 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #460229
* cs-tokenizer.cs: Ignore wrongly placed BOM markers.
svn path=/trunk/mcs/; revision=121810
Brad Taylor [Thu, 18 Dec 2008 19:47:32 +0000 (19:47 -0000)]
2008-12-18 Brad Taylor <brad@getcoded.net>
* DateTimePicker.cs: Add a few UIA specific events, and a couple
internal methods useful for UIA.
svn path=/trunk/mcs/; revision=121803
Mark Mason [Thu, 18 Dec 2008 19:07:47 +0000 (19:07 -0000)]
2008-12-18 Mark Mason <mmason@upwardaccess.com>
* method-to-ir.c: use SIZEOF_REGISTER instead of SIZEOF_VOID_P or sizeof(gpointer) when appropriate.
* mini.h: Move typedef to mgreg_t up above include of mini-arch.h
* local-propogation.c: use SIZEOF_REGISTER instead of SIZEOF_VOID_P when appropriate
* cpu-mips.md: correct lengths for certain long_ opcodes.
* mini-mips.h: Only emulate long operations when SIZEOF_REGISTER==4. Add missing func decl.
* mini-mips.c: Add support for more long operations. Fix issues with stack frame layout for n32 (still not perfect yet). Add mips_emit_load_const().
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121800
Marek Safar [Thu, 18 Dec 2008 19:01:46 +0000 (19:01 -0000)]
New tests.
svn path=/trunk/mcs/; revision=121799
Marek Safar [Thu, 18 Dec 2008 19:00:44 +0000 (19:00 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #459952
* decl.cs, namespace.cs: Use common CheckAccessLevel.
svn path=/trunk/mcs/; revision=121798
Jonathan Pobst [Thu, 18 Dec 2008 18:41:27 +0000 (18:41 -0000)]
fix 1.1 build
svn path=/trunk/mcs/; revision=121796
Paolo Molaro [Thu, 18 Dec 2008 18:29:41 +0000 (18:29 -0000)]
A stupid test case requires a badimage exception.
svn path=/trunk/mono/; revision=121795
Paolo Molaro [Thu, 18 Dec 2008 15:36:25 +0000 (15:36 -0000)]
Thu Dec 18 16:35:22 CET 2008 Paolo Molaro <lupus@ximian.com>
* image.c: deal with the mmap failing when loading an image.
svn path=/trunk/mono/; revision=121785
Jb Evain [Thu, 18 Dec 2008 15:34:59 +0000 (15:34 -0000)]
2008-12-18 Jb Evain <jbevain@novell.com>
* String.cs: the Compare methods that were specific to SL2 are now
also in .net 2/3.5 sp1.
svn path=/trunk/mcs/; revision=121783
Mario Carrion [Thu, 18 Dec 2008 14:51:03 +0000 (14:51 -0000)]
2008-12-18 Mario Carrion <mcarrion@novell.com>
* ListBox.cs: Fixed GetItemRectangle when MultiColumn is true.
[Fixes Bug #455752]
svn path=/trunk/mcs/; revision=121780
Marek Safar [Thu, 18 Dec 2008 13:21:56 +0000 (13:21 -0000)]
New test.
svn path=/trunk/mcs/; revision=121777
Marek Safar [Thu, 18 Dec 2008 13:21:39 +0000 (13:21 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #459630
* convert.cs: Enum to valuetype conversion is not allowed.
svn path=/trunk/mcs/; revision=121776
Marek Safar [Thu, 18 Dec 2008 10:56:34 +0000 (10:56 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #457087
* generic.cs: Don't crash when constraint comes from type
declaration.
svn path=/trunk/mcs/; revision=121768
Gonzalo Paniagua Javier [Thu, 18 Dec 2008 06:31:36 +0000 (06:31 -0000)]
2008-12-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResourceManager.cs: avoid duplication of keys if more than one
thread is creating the ResourceSet.
svn path=/trunk/mcs/; revision=121766
Marek Habersack [Thu, 18 Dec 2008 01:18:50 +0000 (01:18 -0000)]
2008-12-18 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: BindingContainerType returns typeof (Page)
only when the current object is a RootBuilder and it's been
created for a page parser. Otherwise it returns typeof
(Control). Fixes bug #45630
svn path=/trunk/mcs/; revision=121752
Chris Toshok [Thu, 18 Dec 2008 00:35:43 +0000 (00:35 -0000)]
Mono.Moonlight.dll is dead. Long live System.Windows.dll.
svn path=/trunk/mcs/; revision=121750
Veerapuram Varadhan [Wed, 17 Dec 2008 23:13:03 +0000 (23:13 -0000)]
* OciDefineHandle.cs (GetValue): Use connection's environment
handle instead of Parent handle.
svn path=/trunk/mcs/; revision=121735
Jb Evain [Wed, 17 Dec 2008 22:54:50 +0000 (22:54 -0000)]
2008-12-17 Jb Evain <jbevain@novell.com>
* ExpressionTransformer.cs: fix VisitList.
svn path=/trunk/mcs/; revision=121732
Mike Gorse [Wed, 17 Dec 2008 22:41:44 +0000 (22:41 -0000)]
* ListView.cs, ListViewItem.cs: Send OnUIAFocusedItemChanged if an
item's Focused property is set.
svn path=/trunk/mcs/; revision=121731
Geoff Norton [Wed, 17 Dec 2008 20:11:13 +0000 (20:11 -0000)]
2008-12-17 Geoff Norton <gnorton@novell.com>
* threadpool.c: Ensure that the io_queue_lock is initialized
in all circumstances, as we always attempt to cleanup against it.
svn path=/trunk/mono/; revision=121725
Ankit Jain [Wed, 17 Dec 2008 19:20:58 +0000 (19:20 -0000)]
* BuildTask.cs (Execute): PublishOutput only if task runs successfully.
svn path=/trunk/mcs/; revision=121723
Ankit Jain [Wed, 17 Dec 2008 19:08:17 +0000 (19:08 -0000)]
* Sample.cs: Remove execute perm.
svn path=/trunk/mcs/; revision=121721
Ankit Jain [Wed, 17 Dec 2008 19:04:34 +0000 (19:04 -0000)]
* Sample.cs: Required for CreateCSharpManifestResourceName tests.
svn path=/trunk/mcs/; revision=121720
Ankit Jain [Wed, 17 Dec 2008 18:32:59 +0000 (18:32 -0000)]
* Copy.cs: Always overwrite destination files.
svn path=/trunk/mcs/; revision=121719
Ankit Jain [Wed, 17 Dec 2008 18:15:02 +0000 (18:15 -0000)]
* GenerateResource.cs (Execute): Items in 'OutputResources' correspond to
items in 'Sources', handle correctly.
svn path=/trunk/mcs/; revision=121717
Miguel de Icaza [Wed, 17 Dec 2008 18:08:43 +0000 (18:08 -0000)]
2008-12-17 Miguel de Icaza <miguel@novell.com>
* icall.c (ves_icall_System_Environment_get_Platform): For
compatibility reasons for existing client code we will keep
returning 4 for a while.
For how long will depend on the documentation being updated, and
for us to give client code a chance to be updated.
This reverts the original decison on #433108 since we did not
catch roughly 33 instances of the broken code in our own source
code base, we did not catch failures on the buildbots, and QA did
not bring this as a problem.
Only today I found some customer's code breaking due to our own
class libraries not being fully updated and tracked it down to
this change. I am reverting it because if we could not even get
our story straight in our own code base, how can we hope that our
end user code be fixed?
As of this morning, our Wiki page that documents how to detect
Unix had not been fixed.
svn path=/trunk/mono/; revision=121714
Sandy Armstrong [Wed, 17 Dec 2008 18:02:06 +0000 (18:02 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:
* Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs:
* Managed.Windows.Forms/System.Windows.Forms/TreeNodeCollection.cs: Add
events for UIA support: UIACheckBoxesChanged, UIALabelEditChanged,
UIANodeTextChanged, and UIACollectionChanged.
svn path=/trunk/mcs/; revision=121712
Miguel de Icaza [Wed, 17 Dec 2008 17:56:25 +0000 (17:56 -0000)]
Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
svn path=/trunk/mcs/; revision=121711
Jonathan Pobst [Wed, 17 Dec 2008 17:47:17 +0000 (17:47 -0000)]
2008-12-17 Bill Holmes <billholmes54@gmail.com>
* ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
SubItemStyle member field.
Contributed under MIT/X11 license.
2008-12-17 Jonathan Pobst <monkey@jpobst.com>
* ListViewItemTest.cs: Add test for empty constructor.
svn path=/trunk/mcs/; revision=121709
Ankit Jain [Wed, 17 Dec 2008 17:11:28 +0000 (17:11 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* MetadataReference.cs (ConvertToITaskItemArray): In case of batching,
only one instance of unique metadata value is required.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs (TestBatchedMetadataRef1): Modify to check for multiple
items with same metadata value.
svn path=/trunk/mcs/; revision=121708
Jb Evain [Wed, 17 Dec 2008 16:39:04 +0000 (16:39 -0000)]
more tests
svn path=/trunk/mcs/; revision=121706
Jb Evain [Wed, 17 Dec 2008 16:31:59 +0000 (16:31 -0000)]
fix properly
svn path=/trunk/mcs/; revision=121704