Bill Holmes [Tue, 16 Sep 2008 15:31:46 +0000 (15:31 -0000)]
2008-09-16 Bill Holmes <billholmes54@gmail.com>
* src/gunicode.c : Fix a warning.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=113171
Jonathan Pobst [Tue, 16 Sep 2008 15:25:35 +0000 (15:25 -0000)]
2008-09-16 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: Replace the buggy Lines setter with one that
simply concats the lines and send it to the Text setter.
[Fixes issue #2 and #3 of 388115]
svn path=/trunk/mcs/; revision=113170
Zoltan Varga [Tue, 16 Sep 2008 15:00:19 +0000 (15:00 -0000)]
2008-09-16 Zoltan Varga <vargaz@gmail.com>
* bug-426309.2.il: New test.
svn path=/trunk/mono/; revision=113167
Zoltan Varga [Tue, 16 Sep 2008 14:59:28 +0000 (14:59 -0000)]
2008-09-16 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_object_get_virtual_method): Handle the case method->slot
is not set. Fixes #426309.
svn path=/trunk/mono/; revision=113166
Paolo Molaro [Tue, 16 Sep 2008 14:40:32 +0000 (14:40 -0000)]
Tue Sep 16 16:39:16 CEST 2008 Paolo Molaro <lupus@ximian.com>
* trace.c: make tracing more useful and correct, with per-thread
id and indent info.
svn path=/trunk/mono/; revision=113163
Carlos Alberto Cortez [Tue, 16 Sep 2008 14:28:58 +0000 (14:28 -0000)]
2008-09-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: New .ctor asertion for DataSourceNullValue default
value.
svn path=/trunk/mcs/; revision=113162
Carlos Alberto Cortez [Tue, 16 Sep 2008 14:28:34 +0000 (14:28 -0000)]
2008-09-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: The default value of DataSourceNullValue should be
Convert.DBNull actually. Also, the NullValue should only be used *if*
itself is not null, and use the null/Convert.DBNull value instead.
svn path=/trunk/mcs/; revision=113161
Raja R Harinath [Tue, 16 Sep 2008 14:24:42 +0000 (14:24 -0000)]
update to changed test
svn path=/trunk/mcs/; revision=113160
Raja R Harinath [Tue, 16 Sep 2008 12:53:08 +0000 (12:53 -0000)]
In System.Data:
2008-09-16 brandin claar <brandin.claar@gmail.com>
Raja R Harinath <harinath@hurrynot.org>
* DataTable.cs (BinarySerialize): Handle empty DataTables.
(DeserializeRecords): Likewise.
(BinaryDeserializeTable): Allow DefaultValue to be set to any value.
In Test/System.Data:
2008-09-16 brandin claar <brandin.claar@gmail.com>
* BinarySerializationTest.cs (TestDefaultValues): New.
(TestEmptyTable): New.
svn path=/trunk/mcs/; revision=113148
Raja R Harinath [Tue, 16 Sep 2008 12:52:47 +0000 (12:52 -0000)]
style nits
svn path=/trunk/mcs/; revision=113147
Veerapuram Varadhan [Tue, 16 Sep 2008 12:22:24 +0000 (12:22 -0000)]
Check whether the connection is valid or not when Reset'ting the
connection.
svn path=/trunk/mcs/; revision=113145
Marek Habersack [Tue, 16 Sep 2008 10:20:42 +0000 (10:20 -0000)]
Added one more null check and a small optimization
svn path=/trunk/mcs/; revision=113134
Juraj Skripsky [Tue, 16 Sep 2008 10:11:41 +0000 (10:11 -0000)]
2008-09-16 Juraj Skripsky <js@hotfeet.ch>
* HttpServerUtility.cs (UrlDecode, UrlEncode): Respect request/response
encoding. Fixes bug #426539.
svn path=/trunk/mcs/; revision=113133
Marek Habersack [Tue, 16 Sep 2008 08:07:28 +0000 (08:07 -0000)]
2008-09-02 Marek Habersack <mhabersack@novell.com>
* web.config: removed System.Web.Extensions.dll from the assemblies
(reverting r112073) - it would break all the ASP.NET applications
which use System.Web.Extensions other than 3.5.0.0
svn path=/trunk/mono/; revision=113128
Marek Habersack [Tue, 16 Sep 2008 06:20:33 +0000 (06:20 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=113126
Miguel de Icaza [Tue, 16 Sep 2008 05:30:40 +0000 (05:30 -0000)]
2008-09-16 Miguel de Icaza <miguel@novell.com>
* IPv6Address.cs: On the 2.0 profile, avoid throwing/catching
exceptions inside TryParse.
svn path=/trunk/mcs/; revision=113125
Miguel de Icaza [Tue, 16 Sep 2008 05:23:05 +0000 (05:23 -0000)]
2008-09-16 Miguel de Icaza <miguel@novell.com>
* Uri.cs (TryCreate): Implement one of the TryCreate methods
without throwing exceptions. Still two more to go, the hardest
ones.
Part of a fix for #424192.
svn path=/trunk/mcs/; revision=113124
Daniel Morgan [Tue, 16 Sep 2008 03:07:51 +0000 (03:07 -0000)]
2008-09-14 Daniel Morgan <monodanmorg@yahoo.com>
* System.Data.OracleClient/OracleParameter.cs: fixes
for OracleType.Blob parameters. Also some case statements
not properly tabbed.
svn path=/trunk/mcs/; revision=113121
Andreia Gaita [Tue, 16 Sep 2008 01:18:13 +0000 (01:18 -0000)]
* Mono.Mozilla/AsciiString.cs: Change marshalling to ansi - auto is no
good on windows. Fixes #414146
2008-09-16 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=113117
Jb Evain [Tue, 16 Sep 2008 00:12:55 +0000 (00:12 -0000)]
2008-09-16 Jb Evain <jbevain@novell.com>
* gtest-278.cs, gtest-278-3-lib.cs, gtest-278-2-lib.cs: complete
test for forwarded types with more than only one type forwarded.
svn path=/trunk/mcs/; revision=113111
Jb Evain [Tue, 16 Sep 2008 00:10:20 +0000 (00:10 -0000)]
2008-09-16 Jb Evain <jbevain@novell.com>
* class.c (mono_class_from_name): fix the exported type look up
when the type is defined in a referenced assembly.
svn path=/trunk/mono/; revision=113110
Jb Evain [Mon, 15 Sep 2008 22:50:49 +0000 (22:50 -0000)]
2008-09-16 Jb Evain <jbevain@novell.com>
* AssemblyBuilder.cs (AddTypeForwarder): correctly grow the
type_forwarders array, to make that work for more than one
type forwarder. Managed part of the fix for #422929.
svn path=/trunk/mcs/; revision=113102
Jb Evain [Mon, 15 Sep 2008 22:48:53 +0000 (22:48 -0000)]
2008-09-16 Jb Evain <jbevain@novell.com>
* reflection.c (mono_image_fill_export_table_from_type_forwarders):
increment the next index counter on each iteration to make that work
for more than one type forwarder. Unmanaged part to fix #422929.
svn path=/trunk/mono/; revision=113101
Jonathan Pobst [Mon, 15 Sep 2008 22:20:38 +0000 (22:20 -0000)]
2008-09-15 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Add a method to convert a string newline to the
newline enum.
* TextBoxBase.cs: When the user hits enter, insert a native newline.
[Fixes part 1 of bug #388115]
svn path=/trunk/mcs/; revision=113099
Miguel de Icaza [Mon, 15 Sep 2008 22:09:52 +0000 (22:09 -0000)]
2008-09-15 Andy Hume <andyhume32@yahoo.co.uk>
* DateTimeOffset.cs: DateTimeOffset currently has no
deserialization constructor, thus deserialization
fails ("SerializationException: The constructor to deserialize an
object of type System.DateTimeOffset was not found.")
Patch attached, implements GetObjectData and that constructor.
Also includes tests, which include round-tripping to/from MSFT.
svn path=/trunk/mcs/; revision=113098
Mario Carrion [Mon, 15 Sep 2008 21:20:22 +0000 (21:20 -0000)]
2008-09-15 Mario Carrion <mcarrion@novell.com>
* ToolTip.cs: UnPopup event set to internal to match public API.
svn path=/trunk/mcs/; revision=113096
Miguel de Icaza [Mon, 15 Sep 2008 21:19:00 +0000 (21:19 -0000)]
Add
svn path=/trunk/mono/; revision=113095
Miguel de Icaza [Mon, 15 Sep 2008 21:15:33 +0000 (21:15 -0000)]
Add non-symlink versions
svn path=/trunk/mono/; revision=113094
Miguel de Icaza [Mon, 15 Sep 2008 21:05:32 +0000 (21:05 -0000)]
Remove symlink versions
svn path=/trunk/mono/; revision=113093
Miguel de Icaza [Mon, 15 Sep 2008 21:04:28 +0000 (21:04 -0000)]
Add in non-symlink form
svn path=/trunk/mono/; revision=113092
Miguel de Icaza [Mon, 15 Sep 2008 21:04:08 +0000 (21:04 -0000)]
Remove po.m4
svn path=/trunk/mono/; revision=113091
Miguel de Icaza [Mon, 15 Sep 2008 20:41:14 +0000 (20:41 -0000)]
2008-09-15 Miguel de Icaza <miguel@novell.com>
* namespace.cs: Do not report CS0246 (name
svn path=/trunk/mcs/; revision=113089
Miguel de Icaza [Mon, 15 Sep 2008 19:54:13 +0000 (19:54 -0000)]
Add mkinstalldirs
svn path=/trunk/mono/; revision=113082
Jonathan Pobst [Mon, 15 Sep 2008 19:53:52 +0000 (19:53 -0000)]
2008-09-15 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
have to remove the Ctrl in order for the focus moving code to kick in.
[Fixes bug #426170]
svn path=/trunk/mcs/; revision=113081
Jonathan Pobst [Mon, 15 Sep 2008 19:19:28 +0000 (19:19 -0000)]
2008-09-15 Jonathan Pobst <monkey@jpobst.com>
* CheckedListBox.cs: Return the real item index from Add. It may not be
the last item if the list is sorted. The user can change the NewValue in
the ItemCheck event, we need to use that value if so.
* ListBox.cs: Return the real item index from a sorted Add.
[Fixes bug #426166]
2008-09-15 Jonathan Pobst <monkey@jpobst.com>
* CheckedListBoxTest.cs, ListBoxTest.cs: Add some tests from Andy
Hume for bug #426166.
svn path=/trunk/mcs/; revision=113076
Ivan Zlatev [Mon, 15 Sep 2008 17:03:22 +0000 (17:03 -0000)]
2008-09-15 Ivan N. Zlatev <contact@i-nz.net>
* MimeIcon.cs: Add null checks in the GnomeHandler, because it might
happen that the icons from the theme is missing or the particular size
unavailable.
[Fixes bug #424981]
svn path=/trunk/mcs/; revision=113058
Jb Evain [Mon, 15 Sep 2008 14:41:39 +0000 (14:41 -0000)]
2008-09-15 Jb Evain <jbevain@novell.com>
* SecuritySafeCriticalAttribute.cs: Include SecuritySafeCritical in
the net_2_0 profile, as a recent sp includes it.
svn path=/trunk/mcs/; revision=113038
Jb Evain [Mon, 15 Sep 2008 13:47:48 +0000 (13:47 -0000)]
2008-09-15 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Signatures/SignatureReader.cs: fix regression
in reading custom mods.
svn path=/trunk/mcs/; revision=113033
Marek Safar [Mon, 15 Sep 2008 13:08:20 +0000 (13:08 -0000)]
2008-09-15 Marek Safar <marek.safar@gmail.com>
A fix for bug #425601
* driver.cs, typemanager.cs, namespace.cs: Automatically reference
System.Core only when there is no custom ExtensionAttribute
implementation.
svn path=/trunk/mcs/; revision=113030
Carlos Alberto Cortez [Mon, 15 Sep 2008 13:07:49 +0000 (13:07 -0000)]
2008-09-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: When assigning null or DBNull depending on value/ref type,
use IsValueType instead to get the precise desired value.
Fixes #424276.
svn path=/trunk/mcs/; revision=113029
Mark Probst [Mon, 15 Sep 2008 10:57:46 +0000 (10:57 -0000)]
2008-09-15 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c (mono_arch_emit_call): Convert floats to R4 when
doing a method call and the argument is an R4.
svn path=/trunk/mono/; revision=113000
Marek Habersack [Mon, 15 Sep 2008 09:54:30 +0000 (09:54 -0000)]
2008-09-15 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: correctly let the handler know if an item
is new when calling SetAndReleaseItemExclusive. Fixes bug #424797
If handler's GetItem doesn't initialize storeLockId to a non-null
value, initialize it to 0. Fixes bug #424797
svn path=/trunk/mcs/; revision=112997
Mark Probst [Mon, 15 Sep 2008 06:59:58 +0000 (06:59 -0000)]
2008-09-15 Mark Probst <mark.probst@gmail.com>
* object-internals.h: enum ComInterfaceType in
MonoInterfaceTypeAttribute is guint32, not guint16.
svn path=/trunk/mono/; revision=112985
Raja R Harinath [Mon, 15 Sep 2008 04:35:16 +0000 (04:35 -0000)]
* configure.in (AC_CONFIG_FILES): Put po/mcs/Makefile.in in its
own stanza.
(AC_OUTPUT): Don't list po/mcs/Makefile, it's automatically
handled by AM_PO_SUBDIRS.
svn path=/trunk/mono/; revision=112983
Atsushi Eno [Mon, 15 Sep 2008 03:51:41 +0000 (03:51 -0000)]
2008-09-15 Atsushi Enomoto <atsushi@ximian.com>
* JsonObject.cs, JsonValue.cs : SL2b2 updates.
svn path=/trunk/mcs/; revision=112982
Raja R Harinath [Mon, 15 Sep 2008 02:01:27 +0000 (02:01 -0000)]
* ConfigXmlDocument.cs (Load): Fix build break in 1.1 profile.
Open code the 'using' with try/finally/Close.
svn path=/trunk/mcs/; revision=112981
Miguel de Icaza [Sun, 14 Sep 2008 22:33:16 +0000 (22:33 -0000)]
Small documentation
svn path=/trunk/mcs/; revision=112978
Miguel de Icaza [Sun, 14 Sep 2008 22:27:37 +0000 (22:27 -0000)]
Update translations
svn path=/trunk/mono/; revision=112976
Miguel de Icaza [Sun, 14 Sep 2008 22:25:30 +0000 (22:25 -0000)]
Improve for internationalization
svn path=/trunk/mcs/; revision=112975
Miguel de Icaza [Sun, 14 Sep 2008 22:14:23 +0000 (22:14 -0000)]
Improve for internationalization
svn path=/trunk/mcs/; revision=112974
Carlos Alberto Cortez [Sun, 14 Sep 2008 21:55:20 +0000 (21:55 -0000)]
2007-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* WinSerialStream.cs: Fix the signature of ClearCommError.
Fixes #348751.
svn path=/trunk/mcs/; revision=112973
Miguel de Icaza [Sun, 14 Sep 2008 21:46:58 +0000 (21:46 -0000)]
2008-09-14 Miguel de Icaza <miguel@novell.com>
* Added some infrastructure to start the translation of the
compiler error messages.
Currently the compiler does not yet use the infrastructure,
that needs a bit of work, but the PO infrastructure is in place.
svn path=/trunk/mono/; revision=112972
Miguel de Icaza [Sun, 14 Sep 2008 20:56:03 +0000 (20:56 -0000)]
Friendlier internationalization strings
svn path=/trunk/mcs/; revision=112971
Miguel de Icaza [Sun, 14 Sep 2008 19:06:06 +0000 (19:06 -0000)]
Update
svn path=/trunk/mono/; revision=112965
Carlos Alberto Cortez [Sun, 14 Sep 2008 17:39:56 +0000 (17:39 -0000)]
2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs: Throw ArgumentException if NewLine gets an empty
string value.
Fixes #339012.
svn path=/trunk/mcs/; revision=112964
Gert Driesen [Sun, 14 Sep 2008 16:57:52 +0000 (16:57 -0000)]
* ConfigurationManagerTest.cs: Added test for bug #323622.
svn path=/trunk/mcs/; revision=112960
Carlos Alberto Cortez [Sun, 14 Sep 2008 16:53:01 +0000 (16:53 -0000)]
2008-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* serial.c: When writing bytes and polling, take into account negative
values to indicate infinite timeout. Patch by Leszek Ciesielski.
Fixes #399245.
svn path=/trunk/mono/; revision=112959
Gert Driesen [Sun, 14 Sep 2008 16:39:17 +0000 (16:39 -0000)]
* System_test.dll.sources: Added ConfigXmlDocumentTest.cs.
* ConfigXmlDocumentTest.cs: Added test for Load (String).
* ConfigXmlDocument.cs: Dispose XmlTextReader in Load (String).
svn path=/trunk/mcs/; revision=112958
Gert Driesen [Sun, 14 Sep 2008 12:17:43 +0000 (12:17 -0000)]
Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
svn path=/trunk/mcs/; revision=112950
Daniel Morgan [Sun, 14 Sep 2008 04:06:00 +0000 (04:06 -0000)]
2008-09-14 Daniel Morgan <monodanmorg@yahoo.com>
* Test/TestOracleClient.cs: add tests for parameters
of oracle type CLOB, add tests for setting oracle type
directly or inferred via the value, and
clean up compile warnings
* System.Data.OracleClient/OracleParameter.cs: fix
for handling parameters of oracle type CLOB for
Input, Output, and Return. InputOutput is not supported.
And handle CLOB parameters that are DBNull.Value or
their value length is zero.
svn path=/trunk/mcs/; revision=112948
Zoltan Varga [Sun, 14 Sep 2008 01:46:53 +0000 (01:46 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* gen-interp.cs: New file to generate the all variants of the character
checking opcodes in RxInterpreter.cs.
* RxInterpreter.cs: Replace hand written code with code generated by
gen-interp.cs.
svn path=/trunk/mcs/; revision=112947
Zoltan Varga [Sun, 14 Sep 2008 00:07:44 +0000 (00:07 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* RegexBugs.cs: Add a test for #426142.
svn path=/trunk/mcs/; revision=112946
Zoltan Varga [Sat, 13 Sep 2008 23:57:25 +0000 (23:57 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs: Fix the failure case of the No<XXX> opcodes. Fixes
#426142.
svn path=/trunk/mcs/; revision=112945
Zoltan Varga [Sat, 13 Sep 2008 23:56:19 +0000 (23:56 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* Makefile (regex-check): New helper target to run the perl regex test suite.
svn path=/trunk/mcs/; revision=112944
Zoltan Varga [Sat, 13 Sep 2008 23:54:05 +0000 (23:54 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* library.make: Allow FIXTURE make variable to be passed to nunit.
svn path=/trunk/mcs/; revision=112943
Zoltan Varga [Sat, 13 Sep 2008 22:45:49 +0000 (22:45 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Do not generate runtime invoke wrappers for
generic methods.
svn path=/trunk/mono/; revision=112942
Zoltan Varga [Sat, 13 Sep 2008 22:26:26 +0000 (22:26 -0000)]
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* ConsoleDriver.cs: Remove obsolete GetTtySize icall.
svn path=/trunk/mcs/; revision=112941
Atsushi Eno [Sat, 13 Sep 2008 19:01:32 +0000 (19:01 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.dll.sources: added System.Web.UI/IAutoFieldGenerator.cs
and System.Web.UI.WebControls/IPersistedSelector.cs.
* IPersistedSelector.cs : new in 3.5 SP1.
* IAutoFieldGenerator.cs : new in 3.5 SP1.
svn path=/trunk/mcs/; revision=112940
Miguel de Icaza [Sat, 13 Sep 2008 17:57:32 +0000 (17:57 -0000)]
Add sample xgettext invocation; Question: what to do next with this?
svn path=/trunk/mcs/; revision=112939
Miguel de Icaza [Sat, 13 Sep 2008 17:57:17 +0000 (17:57 -0000)]
Allow for gmcs to be signed if the LIBRARY define is set
svn path=/trunk/mcs/; revision=112938
Atsushi Eno [Sat, 13 Sep 2008 13:34:19 +0000 (13:34 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.dll.sources: added
System.Web.UI/CssClassPropertyAttribute.cs.
* CssClassPropertyAttribute.cs : new in 3.5 SP1.
svn path=/trunk/mcs/; revision=112936
Atsushi Eno [Sat, 13 Sep 2008 13:26:41 +0000 (13:26 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* DynamicDataSourceOperation.cs, DynamicValidatorEventArgs.cs,
IDynamicDataSource.cs, IDynamicValidatorException.cs :
oops, everything went into wrong namespace.
svn path=/trunk/mcs/; revision=112935
Atsushi Eno [Sat, 13 Sep 2008 13:21:54 +0000 (13:21 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.Extensions.dll.sources :
added sys.web.DynamicData types.
* DynamicDataSourceOperation.cs, DynamicValidatorEventArgs.cs,
IDynamicDataSource.cs, IDynamicValidatorException.cs :
new in 3.5 SP1.
svn path=/trunk/mcs/; revision=112934
Atsushi Eno [Sat, 13 Sep 2008 13:06:34 +0000 (13:06 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.dll.sources: added System.Web.UI/IBindableControl.cs.
* IBindableControl.cs : new in 3.5 SP1.
svn path=/trunk/mcs/; revision=112933
Atsushi Eno [Sat, 13 Sep 2008 12:55:21 +0000 (12:55 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Web.dll.sources: added
System.Web.UI.WebControls/DataBoundControlMode.cs.
* DataBoundControlMode.cs : new 3.5 SP1 type.
svn path=/trunk/mcs/; revision=112932
Atsushi Eno [Sat, 13 Sep 2008 12:37:21 +0000 (12:37 -0000)]
2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
* SqlDependency.cs : wrong namespace.
svn path=/trunk/mcs/; revision=112931
Mark Probst [Sat, 13 Sep 2008 11:16:15 +0000 (11:16 -0000)]
2008-09-13 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c: Convert result to single for OP_ICONV_TO_R4.
svn path=/trunk/mono/; revision=112930
Daniel Morgan [Sat, 13 Sep 2008 05:31:30 +0000 (05:31 -0000)]
2008-09-13 Daniel Morgan <monodanmorg@yahoo.com>
* System.Data.OracleClient/OracleConnection.cs: add stubs
for method GetSchema which is part of NET_2_0, and clean up warnings
* System.Data.OracleClient/OracleCommand.cs
* ystem.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient/OracleBFile.cs
* System.Data.OracleClient.Oci/OciHandle.cs: clean up warnings
* System.Data.OracleClient.Oci/OciDescriptorHandle.cs
* System.Data.OracleClient.Oci/OciDefineHandle.cs: make methods internal
svn path=/trunk/mcs/; revision=112925
Daniel Morgan [Sat, 13 Sep 2008 04:14:29 +0000 (04:14 -0000)]
2008-09-13 Daniel Morgan <monodanmorg@yahoo.com>
* Test/TestOracleClient.cs: add test for LONG (long varchar)
testing paramters for Input, Output,
InputOutput, and ReturnValue and
situations when any of these could be DBNull.Value
* System.Data.OracleClient/OracleParameter.cs: fix
handling of parameters LONG (long varchar). However,
it probably would be better to implement LONG using
piecewise operation. Also, remove old code.
svn path=/trunk/mcs/; revision=112924
Miguel de Icaza [Fri, 12 Sep 2008 23:59:52 +0000 (23:59 -0000)]
2008-09-12 Miguel de Icaza <miguel@novell.com>
* HttpListenerPrefixCollection.cs, EndPointListener.cs,
HttpListener.cs, EndPointManager.cs, HttpConnection.cs: Remove
generics support where necessary to allow this code to be reused
in the 1.0 profile.
svn path=/trunk/mcs/; revision=112922
Zoltan Varga [Fri, 12 Sep 2008 22:28:39 +0000 (22:28 -0000)]
2008-09-13 Zoltan Varga <vargaz@gmail.com>
* RxInterpreter.cs RxCompiler.cs: Implement some missing Category opcodes.
svn path=/trunk/mcs/; revision=112914
Jeffrey Stedfast [Fri, 12 Sep 2008 22:10:44 +0000 (22:10 -0000)]
2008-09-12 Jeffrey Stedfast <fejj@novell.com>
Fix for bug #320298
* TcpClientTransportSink.cs: Updated for change to
TcpChannel.ParseTcpURL(). We now need to do our own integer
conversion/validation of the port.
* TcpChannel.cs (ParseTcpURL): We need to match the
protocol ("tcp") case-insensitively. The objectURI is supposed to
include the leading '/' character. Also, we need to ignore invalid
port designators since Microsoft's .NET implementation of
TcpChannel.Parse() doesn't seem to care that they are valid.
svn path=/trunk/mcs/; revision=112912
Miguel de Icaza [Fri, 12 Sep 2008 21:50:51 +0000 (21:50 -0000)]
UPdate
svn path=/trunk/mono/; revision=112911
Jb Evain [Fri, 12 Sep 2008 21:01:51 +0000 (21:01 -0000)]
2008-09-12 Jb Evain <jbevain@novell.com>
* DictionaryTest.cs: add tests for #425693.
svn path=/trunk/mcs/; revision=112908
Jb Evain [Fri, 12 Sep 2008 20:58:02 +0000 (20:58 -0000)]
2008-09-12 Jb Evain <jbevain@novell.com>
* Dictionary.cs: (ToTValue) allow null values to be added for non
value types TValues to the dictionary when using the
non generic IDictionary. Fixes #425693.
svn path=/trunk/mcs/; revision=112907
Jonathan Pobst [Fri, 12 Sep 2008 19:50:46 +0000 (19:50 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* TreeNodeCollection.cs: When adding a new node to an opened node,
we have to invalidate everything below the parent node because
every node scoots down and we have to repaint them.
[Fixes bug #411386]
svn path=/trunk/mcs/; revision=112902
Jonathan Pobst [Fri, 12 Sep 2008 19:10:54 +0000 (19:10 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
property into account when drawing.
[Fixes bug #416064]
svn path=/trunk/mcs/; revision=112899
Jb Evain [Fri, 12 Sep 2008 18:34:13 +0000 (18:34 -0000)]
2008-09-12 Jb Evain <jbevain@novell.com>
* HashSet.cs (.ctor (IEnumerable<T>,*)): only get the count of the
enumerable if the source collection implements ICollection<T>, so that
we only iterate once over the source collection.
svn path=/trunk/mcs/; revision=112897
Atsushi Eno [Fri, 12 Sep 2008 18:02:55 +0000 (18:02 -0000)]
Route.GetRouteData() and HttpMethodConstraint.Match() with tests.
svn path=/trunk/mcs/; revision=112896
Carlos Alberto Cortez [Fri, 12 Sep 2008 17:08:12 +0000 (17:08 -0000)]
2008-09-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: When calling Items.Clear(), call
SelectedIndexCollection.ClearCore instead of normal Clear method, to
not fire any Selected*Changed event - this is done to match .net and
don't have invalid values when changing the DataSourceProperty.
Fixes #424273.
svn path=/trunk/mcs/; revision=112895
Mario Carrion [Fri, 12 Sep 2008 16:57:51 +0000 (16:57 -0000)]
2008-09-12 Mario Carrion <mcarrion@novell.com>
* HelpProvider.cs: Control enabled to support accessibility.
* Application.cs: Updated to Initialize UIA in HelpProvider.
[Fixes bug #425988]
svn path=/trunk/mcs/; revision=112894
Jonathan Pobst [Fri, 12 Sep 2008 16:48:12 +0000 (16:48 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: When we are showing a dialog box, if its owner is TopMost,
make the dialog TopMost as well.
[Fixes bug #425984]
svn path=/trunk/mcs/; revision=112893
Jonathan Pobst [Fri, 12 Sep 2008 16:38:58 +0000 (16:38 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
clipboard data better.
[Fixes bug #414446]
svn path=/trunk/mcs/; revision=112891
Jonathan Pobst [Fri, 12 Sep 2008 16:24:10 +0000 (16:24 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: Applied patch from John Mortlock that ensures
TextChanged and SelectionChanged events fire in the same order as .Net.
[Fixes bug #425725]
svn path=/trunk/mcs/; revision=112890
Jonathan Pobst [Fri, 12 Sep 2008 16:09:10 +0000 (16:09 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: When sorting a column, if it only contains numbers,
do a numeric sort instead of a string sort.
[Fixes bug #425849]
svn path=/trunk/mcs/; revision=112889
Jonathan Pobst [Fri, 12 Sep 2008 15:24:16 +0000 (15:24 -0000)]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
against NRE's when the settings have a null panel.
* TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
the panel gets set.
[Fixes bug #425647]
2008-09-12 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutSettingsTypeConverter.cs: Don't create an instance of
TableLayoutPanel in ConvertFrom.
[Fixes bug #425647]
svn path=/trunk/mcs/; revision=112886
Raja R Harinath [Fri, 12 Sep 2008 14:31:17 +0000 (14:31 -0000)]
sprinkle around a few more partial methods
* DataTable.cs (NewRowAdded): Make into partial method.
(DataTableClearing, DataTableCleared): New partial methods.
(Clear): Use them.
svn path=/trunk/mcs/; revision=112880
Raja R Harinath [Fri, 12 Sep 2008 14:30:35 +0000 (14:30 -0000)]
Use more C# 3.0
* DataTable.cs: Sequester ISupportInitializationNotification
pieces into separate part.
(DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
svn path=/trunk/mcs/; revision=112879
Marek Safar [Fri, 12 Sep 2008 14:19:47 +0000 (14:19 -0000)]
2008-09-12 Marek Safar <marek.safar@gmail.com>
A test for bug #425669
svn path=/trunk/mcs/; revision=112878
Marek Safar [Fri, 12 Sep 2008 14:19:14 +0000 (14:19 -0000)]
2008-09-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #425669
* generic.cs: Don't cache generic static anonymous method
containers.
svn path=/trunk/mcs/; revision=112877