Eyal Alalouf [Wed, 7 Dec 2005 17:14:48 +0000 (17:14 -0000)]
Add flags for Release config (enable optimization).
svn path=/trunk/mcs/; revision=54052
Zoltan Varga [Wed, 7 Dec 2005 17:09:52 +0000 (17:09 -0000)]
2005-12-07 Zoltan Varga <vargaz@gmail.com>
* basic-long.cs: Remove a test moved to objects.cs.
svn path=/trunk/mono/; revision=54050
Zoltan Varga [Wed, 7 Dec 2005 17:07:17 +0000 (17:07 -0000)]
2005-12-07 Zoltan Varga <vargaz@gmail.com>
* arrays.cs: Add more array tests.
svn path=/trunk/mono/; revision=54049
Robert Jordan [Wed, 7 Dec 2005 16:57:58 +0000 (16:57 -0000)]
In System/System.Net.Sockets:
2005-12-07 Robert Jordan <robertj@gmx.net>
* SocketError.cs: Added.
* SocketException: Implemented SocketErrorCode. Fixes bug #76915.
In System:
2005-12-07 Robert Jordan <robertj@gmx.net>
* System.dll.sources: Added System.Net.Sockets/SocketError.cs.
svn path=/trunk/mcs/; revision=54048
Sebastien Pouliot [Wed, 7 Dec 2005 16:30:19 +0000 (16:30 -0000)]
Add partial CAS/unit tests for System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
svn path=/trunk/mcs/; revision=54047
Sebastien Pouliot [Wed, 7 Dec 2005 16:29:29 +0000 (16:29 -0000)]
2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
* BinaryFormatterCas.cs: New. Partial CAS tests for BinaryFormatter.
Added to test UnsafeDeserialization.
* BinaryFormatterTest.cs: New. Partial Unit tests for BinaryFormatter.
Added to test UnsafeDeserialization.
svn path=/trunk/mcs/; revision=54046
Sebastien Pouliot [Wed, 7 Dec 2005 16:29:19 +0000 (16:29 -0000)]
2005-12-07 Sebastien Pouliot <sebastien@ximian.com>
* BinaryFormatter.cs: Implemented UnsafeDeserialize and
UnsafeDeserializeMethodResponse methods. Fixes last TODO in this
namespace (for both 1.1 and 2.0 profiles).
svn path=/trunk/mcs/; revision=54045
Martin Baulig [Wed, 7 Dec 2005 16:22:01 +0000 (16:22 -0000)]
2005-12-07 Martin Baulig <martin@ximian.com>
* generic.cs
(ConstraintChecker): New public abstract class; move the
constraint checking here from `ConstructedType' and also do
constraint checking for generic methods here.
* expression.cs (Invocation.OverloadResolve): Use
ConstraintChecker.CheckConstraints() if we resolved to a generic
method. Fix #76806.
svn path=/trunk/mcs/; revision=54044
Lluis Sanchez [Wed, 7 Dec 2005 15:42:54 +0000 (15:42 -0000)]
2005-12-07 Lluis Sanchez Gual <lluis@novell.com>
* XmlSerializationReaderInterpreter.cs: When deserializing a "flat"
collection, don't create a new collection if the property already has a
collection instance.
* SerializationCodeGenerator.cs: same as above. Also return an empty
string for flag enum default values.
svn path=/trunk/mcs/; revision=54043
Senganal T [Wed, 7 Dec 2005 15:31:33 +0000 (15:31 -0000)]
2005-12-07 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds50.cs :
- IsValidRowCount () : Find out if a row count is valid.
Fixes bug #76280
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs :
- ProcessEndToken (): Removed some redundant code.
* Mono.Data.SybaseClient/SybaseConnection.cs
- fixed ExecuteNonQuery to return the no of rows
affected for Insert/Update/Delete Stmts.
Fixes bug #76280
svn path=/trunk/mcs/; revision=54042
Lluis Sanchez [Wed, 7 Dec 2005 14:52:57 +0000 (14:52 -0000)]
2005-12-07 Lluis Sanchez Gual <lluis@novell.com>
* ProtocolImporter.cs: nullify message fields before processing a
new method.
* SoapProtocolImporter.cs: Only use the wrapped format if both the
input and output messages specify that format. If one of them is not,
then use bare format. This partially fixes bug #75019.
svn path=/trunk/mcs/; revision=54041
Zoltan Varga [Wed, 7 Dec 2005 14:16:43 +0000 (14:16 -0000)]
2005-12-07 Zoltan Varga <vargaz@gmail.com>
* Directory.cs: Fix a warning.
svn path=/trunk/mcs/; revision=54040
Zoltan Varga [Wed, 7 Dec 2005 14:16:22 +0000 (14:16 -0000)]
2005-12-07 Zoltan Varga <vargaz@gmail.com>
* SimpleCollator.cs: Fix a warning.
svn path=/trunk/mcs/; revision=54039
Raja R Harinath [Wed, 7 Dec 2005 14:08:22 +0000 (14:08 -0000)]
** merged revision 53922 from mcs
svn path=/trunk/mcs/; revision=54038
Zoltan Varga [Wed, 7 Dec 2005 14:07:26 +0000 (14:07 -0000)]
2005-12-07 Zoltan Varga <vargaz@gmail.com>
* Single.cs Double.cs: Fix warnings.
svn path=/trunk/mcs/; revision=54037
Raja R Harinath [Wed, 7 Dec 2005 13:34:53 +0000 (13:34 -0000)]
** merged revisions 53910-53917 from mcs
svn path=/trunk/mcs/; revision=54036
Jordi Mas i Hernandez [Wed, 7 Dec 2005 13:27:17 +0000 (13:27 -0000)]
* Graphics.cs: Add new deephs support to CopyFromScreen
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
svn path=/trunk/mcs/; revision=54035
Raja R Harinath [Wed, 7 Dec 2005 13:23:07 +0000 (13:23 -0000)]
** merged revision 53896 from mcs
svn path=/trunk/mcs/; revision=54034
Gert Driesen [Wed, 7 Dec 2005 13:21:17 +0000 (13:21 -0000)]
* VBCodeCompiler.cs: Set eol-style to native.
* VBCodeGenerator.cs: Set eol-style to native.
* VBCodeProvider.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=54033
Gert Driesen [Wed, 7 Dec 2005 13:16:31 +0000 (13:16 -0000)]
* CodeGeneratorFromExpressionTest.cs: Added tests for
CodePrimitiveExpression.
* CSharpCodeGenerator.cs: Override GeneratePrimitiveExpression to
match .NET 1.x and 2.0 for float, decimal, char, ushort, uint, ulong
and sbyte.
* CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
ArgumentException for sbyte value, use GenerateSingleFloatValue for
float, GenerateDecimalValue for decimal and GenerateDoubleValue for
double. Modified exception message for non-primitive types to match
MS.NET.
* ICodeCompiler.cs: Set eol-style to native.
* CodeCompiler.cs: Set eol-style to native.
* CodeDomConfigurationHandler.cs: Set eol-style to native.
* CodeDomProvider.cs: Set eol-style to native.
* CodeGeneratorOptions.cs: Set eol-style to native.
* CodeParser.cs: Set eol-style to native.
* CompilerError.cs: Set eol-style to native.
* CompilerErrorCollection.cs: Set eol-style to native.
* CompilerInfo.cs: Set eol-style to native.
* CompilerParameters.cs: Set eol-style to native.
* CompilerResults.cs: Set eol-style to native.
* Executor.cs: Set eol-style to native.
* GeneratorSupport.cs: Set eol-style to native.
* ICodeGenerator.cs: Set eol-style to native.
* ICodeParser.cs: Set eol-style to native.
* LanguageOptions.cs: Set eol-style to native.
* TempFileCollection.cs: Set eol-style to native.
* VBCodeGenerator.cs: Modified GeneratePrimitiveExpression to match
.NET 1.x and 2.0 for char, float, ushort, uint, ulong and sbyte.
svn path=/trunk/mcs/; revision=54032
Raja R Harinath [Wed, 7 Dec 2005 13:11:34 +0000 (13:11 -0000)]
*** merged revisions from mcs: 53694-53833
svn path=/trunk/mcs/; revision=54031
Lluis Sanchez [Wed, 7 Dec 2005 12:47:08 +0000 (12:47 -0000)]
2005-12-07 Lluis Sanchez Gual <lluis@ximian.com>
* ObjectReader.cs: Added null check in GetDeserializationType.
Patch by Ben Maurer. Fixes bug #69666.
svn path=/trunk/mcs/; revision=54030
Martin Baulig [Wed, 7 Dec 2005 12:21:03 +0000 (12:21 -0000)]
2005-12-07 Martin Baulig <martin@ximian.com>
* reflection.c (encode_new_constraint): Removed; we don't use the
`NewConstraintAttribute' anymore.
svn path=/trunk/mono/; revision=54029
Jordi Mas i Hernandez [Wed, 7 Dec 2005 12:19:45 +0000 (12:19 -0000)]
In System.Drawing.Printing:
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrinterResolutionKind.cs: Fixes signature for .Net 2.0
* PaperKind.cs: Fixes signature for .Net 2.0
* PaperSource.cs: Fixes signature for .Net 2.0
* Margins.cs: Fixes signature for .Net 2.0
* PrinterResolution.cs: Fixes signature for .Net 2.0
* PrintEventArgs.cs: Fixes signature for .Net 2.0
* PrintAction.cs: New enum in .Net 2.0
* PageSettings.cs: Fixes signature for .Net 2.0
* PaperSourceKind.cs: Fixes signature for .Net 2.0
* PrintController.cs: Fixes signature for .Net 2.0
* Duplex.cs: Fixes signature for .Net 2.0
* PaperSize.cs: Fixes signature for .Net 2.0
* PreviewPrintController.cs: Fixes signature for .Net 2.0
* PrinterSettings.cs: Fixes signature for .Net 2.0
* PrintRange.cs: Fixes signature for .Net 2.0
In System.Drawing:
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
* BufferedGraphicsManager.cs: Fixes signature
svn path=/trunk/mcs/; revision=54028
Boris Kirzner [Wed, 7 Dec 2005 09:56:22 +0000 (09:56 -0000)]
Added solution and
project files for TARGET_JVM.
svn path=/trunk/mcs/; revision=54026
Boris Kirzner [Wed, 7 Dec 2005 09:52:13 +0000 (09:52 -0000)]
Added ifdef for TARGET_JVM.
svn path=/trunk/mcs/; revision=54025
Chris Toshok [Wed, 7 Dec 2005 06:32:21 +0000 (06:32 -0000)]
add example from bug #76924
svn path=/trunk/mcs/; revision=54022
Chris Toshok [Wed, 7 Dec 2005 06:31:04 +0000 (06:31 -0000)]
2005-12-07 Chris Toshok <toshok@ximian.com>
* BaseValidator.cs: in the uplevel rendering case, don't render
the text if the validator's Display attribute is "None". Should
fix bug #76924.
svn path=/trunk/mcs/; revision=54021
Todd Berman [Wed, 7 Dec 2005 05:42:46 +0000 (05:42 -0000)]
2005-12-06 Todd Berman <tberman@off.net>
* pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
Bryan Berg (bryan AT imeem DOT com).
svn path=/trunk/mono/; revision=54020
John Luke [Wed, 7 Dec 2005 03:05:54 +0000 (03:05 -0000)]
replace circles sample with knockout
svn path=/trunk/mcs/; revision=54019
John Luke [Wed, 7 Dec 2005 02:55:44 +0000 (02:55 -0000)]
2005-12-06 John Luke <john.luke@gmail.com>
* Mono.Cairo/Cairo.cs: fix Content and Format values,
fixes the knockout/circles sample
svn path=/trunk/mcs/; revision=54018
Sebastien Pouliot [Wed, 7 Dec 2005 02:01:01 +0000 (02:01 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* CaseInsensitiveHashCodeProviderTest: Added test cases for the
default ctor, roudtripping serialization and deserializing data
generated on MS 1.1 and 2.0.
svn path=/trunk/mcs/; revision=54017
Sebastien Pouliot [Wed, 7 Dec 2005 01:58:49 +0000 (01:58 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* CaseInsensitiveHashCodeProvider: Serialization is now compatible
with MS. Removes the last TODO for 1.1 in this namespace :-)
svn path=/trunk/mcs/; revision=54016
Sebastien Pouliot [Wed, 7 Dec 2005 01:57:41 +0000 (01:57 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* TextInfoTest.cs: Added new tests for serialization and for new 2.0
features.
svn path=/trunk/mcs/; revision=54015
Sebastien Pouliot [Wed, 7 Dec 2005 01:56:25 +0000 (01:56 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeStyles.cs: ComVisible is only needed in 2.0.
* TextInfo.cs: Added some 2.0 features that were needed (e.g. LCID)
to implement serialization for another class. Added TODO on class for
deserialization (so it shows up in the status page).
svn path=/trunk/mcs/; revision=54014
Robert Jordan [Tue, 6 Dec 2005 23:39:20 +0000 (23:39 -0000)]
2005-12-02 Robert Jordan <robertj@gmx.net>
* RemotingServicesTest.cs: Added test for bug #76809.
svn path=/trunk/mcs/; revision=54011
Robert Jordan [Tue, 6 Dec 2005 23:31:24 +0000 (23:31 -0000)]
2005-12-07 Robert Jordan <robertj@gmx.net>
* RemotingServices.cs: Accept the application name beeing a part of
the object URI. Fixes bug #76809.
svn path=/trunk/mcs/; revision=54010
Peter Dennis Bartok [Tue, 6 Dec 2005 21:53:07 +0000 (21:53 -0000)]
2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Added call to XBell for AudibleAlert
svn path=/trunk/mcs/; revision=54009
Peter Dennis Bartok [Tue, 6 Dec 2005 21:38:17 +0000 (21:38 -0000)]
2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
XplatUIOSX.cs: Added AudibleAlert() method to have a means to
alert users via sound. We could add an enum arg with different
types of alerts in the future
svn path=/trunk/mcs/; revision=54008
Gonzalo Paniagua Javier [Tue, 6 Dec 2005 20:56:03 +0000 (20:56 -0000)]
2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebResponse.cs: don't fail if the cookie ends with a 'name'
without a value. Fixes bug #76922.
svn path=/trunk/mcs/; revision=54007
Chris Toshok [Tue, 6 Dec 2005 20:54:30 +0000 (20:54 -0000)]
2005-12-06 Chris Toshok <toshok@ximian.com>
* CodeSubDirectory.cs (DirectoryName): don't use an private field,
but base[directoyNameProp].
* AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
so we can insert duplicates.
(GetKey): nuke.
(GetElementKey): MS for some reason just uses the action for the
key, ToString()'ed.
(Remove): pass the correct key.
* ProfileGroupSettings.cs (GetHashCode): implement.
* GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
use Encoding.UTF8.
* AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
insert duplicates.
* CacheSection.cs (.cctor): make privateByteLimit's default 0L so
we don't get a invalid cast exception later on.
* AuthorizationRule.cs (VerifyData): split out the verification
foo from PreSerialize.
(PostDeserialize): so we can call it from here.
(PreSerialize): and here.
svn path=/trunk/mcs/; revision=54006
Chris Toshok [Tue, 6 Dec 2005 20:39:31 +0000 (20:39 -0000)]
2005-12-06 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollectionTest.cs (GetElementKey): new test.
* AuthorizationRuleTest.cs (PostDeserialize): PostDeserialize
doesn't return a value.
svn path=/trunk/mcs/; revision=54005
Chris Toshok [Tue, 6 Dec 2005 20:33:30 +0000 (20:33 -0000)]
2005-12-06 Chris Toshok <toshok@ximian.com>
* System.Configuration/ConnectionStringSettingsTest.cs (NameNull):
use IsNull, not AreEqual.
svn path=/trunk/mcs/; revision=54004
Dick Porter [Tue, 6 Dec 2005 20:17:07 +0000 (20:17 -0000)]
2005-12-06 Dick Porter <dick@ximian.com>
* SemaphoreTest.cs: Enable the tests
svn path=/trunk/mcs/; revision=54002
Dick Porter [Tue, 6 Dec 2005 20:15:45 +0000 (20:15 -0000)]
2005-12-06 Dick Porter <dick@ximian.com>
* wapi-private.h:
* handles.c:
* semaphore-private.h:
* semaphores.c: Implement named semaphores
2005-12-06 Dick Porter <dick@ximian.com>
* hps.c: Add named semaphore support
svn path=/trunk/mono/; revision=54001
Peter Dennis Bartok [Tue, 6 Dec 2005 19:50:36 +0000 (19:50 -0000)]
- This matches the order events are fired on MS
svn path=/trunk/mcs/; revision=54000
Peter Dennis Bartok [Tue, 6 Dec 2005 19:21:55 +0000 (19:21 -0000)]
2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Fix behaviour problems pointed out by Mike
svn path=/trunk/mcs/; revision=53999
Gonzalo Paniagua Javier [Tue, 6 Dec 2005 17:42:03 +0000 (17:42 -0000)]
2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookieTest.cs: test for setting the Secure property.
svn path=/trunk/mcs/; revision=53996
Gonzalo Paniagua Javier [Tue, 6 Dec 2005 17:39:21 +0000 (17:39 -0000)]
2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
svn path=/trunk/mcs/; revision=53995
Zoltan Varga [Tue, 6 Dec 2005 17:25:55 +0000 (17:25 -0000)]
2005-12-06 Zoltan Varga <vargaz@gmail.com>
* arrays.cs: Add new tests for multi-dimensional arrays.
svn path=/trunk/mono/; revision=53994
Gonzalo Paniagua Javier [Tue, 6 Dec 2005 17:15:42 +0000 (17:15 -0000)]
2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: fix yesterday's fix.
svn path=/trunk/mcs/; revision=53993
Zoltan Varga [Tue, 6 Dec 2005 17:10:17 +0000 (17:10 -0000)]
2005-12-06 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType): Do
not fire a TypeResolve event when Assembly.GetType () is called.
svn path=/trunk/mono/; revision=53992
Sebastien Pouliot [Tue, 6 Dec 2005 16:38:01 +0000 (16:38 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* ConvertTest.cs: Added test case for bug #76876 (new lines in b64).
svn path=/trunk/mcs/; revision=53991
Sebastien Pouliot [Tue, 6 Dec 2005 16:37:01 +0000 (16:37 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* Convert.cs: ToBase64String method didn't use the option parameter so
we always included new lines. Fix bug #76876.
svn path=/trunk/mcs/; revision=53990
Sebastien Pouliot [Tue, 6 Dec 2005 16:08:49 +0000 (16:08 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* NumberFormatterTest.cs: Moved back "NotWorking" tests into their
normal test case (Test13024). Added more tests for carry propagation.
svn path=/trunk/mcs/; revision=53988
Sebastien Pouliot [Tue, 6 Dec 2005 16:07:25 +0000 (16:07 -0000)]
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
(the docs were fixed).
* NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
misrounded compared to MS implementation. Extra care is required when
dealing with the extra 2 digits information (e.g. double precision is
15 digits but 17 are kept - for a reason ;-)
svn path=/trunk/mcs/; revision=53987
Konstantin Triger [Tue, 6 Dec 2005 15:15:44 +0000 (15:15 -0000)]
TARGET_JVM: save additional types per AppDomain
svn path=/trunk/mcs/; revision=53986
Raja R Harinath [Tue, 6 Dec 2005 15:12:26 +0000 (15:12 -0000)]
** merged parameter handling rewrite from mcs: revisions 53239-53340
svn path=/trunk/mcs/; revision=53985
Atsushi Eno [Tue, 6 Dec 2005 14:44:21 +0000 (14:44 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.js : filtered item needs trim to work.
svn path=/trunk/mono/; revision=53982
Konstantin Triger [Tue, 6 Dec 2005 14:38:44 +0000 (14:38 -0000)]
fixing conditional compilation constants
svn path=/trunk/mcs/; revision=53981
Atsushi Eno [Tue, 6 Dec 2005 13:35:18 +0000 (13:35 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
* CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
and DefaultValue as well. Patch by Marek Habersack (bug #76709).
svn path=/trunk/mcs/; revision=53980
Raja R Harinath [Tue, 6 Dec 2005 10:59:06 +0000 (10:59 -0000)]
** merged from mcs revisions: 53002-53152
svn path=/trunk/mcs/; revision=53979
Marek Safar [Tue, 6 Dec 2005 10:02:57 +0000 (10:02 -0000)]
More tests.
svn path=/trunk/mcs/; revision=53978
Atsushi Eno [Tue, 6 Dec 2005 07:55:39 +0000 (07:55 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
Now I can rename new CP936_2.cs file to CP936.cs without svn diff mess.
svn path=/trunk/mcs/; revision=53977
Atsushi Eno [Tue, 6 Dec 2005 07:49:08 +0000 (07:49 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
* I18N.CJK.Test.cs : w00t, Now all test are working, including
codepage 936 (GB2312) and GB18030.
* DbcsConvert.cs : added static Gb2312 field for common use.
* dbcs-table-generator.cs :
Added shortcut options for BIG5 and GB2312. Compressed data a bit.
* CP936.cs, CP936_2.cs : GB2312.TXT does not exist anymore on
unicode.org and it does not work like MS Codepage 936, so added
fresh implementation which is almost the same as CP950.cs.
CP936.cs is therefore removed.
* GB18030Encoding.cs :
switched implementation from Gb2312Convert to (base) DbcsConvert
as well as CP936.
* gb2312-build.sh : added note that we don't use it anymore.
* gb2312.table :
with it CP936 can handles CP936-only codepoints as well.
* big5.table : compressed a bit.
* I18N.CJK.dll.sources : in the meantime, use CP936_2.cs
svn path=/trunk/mcs/; revision=53976
Raja R Harinath [Tue, 6 Dec 2005 06:18:05 +0000 (06:18 -0000)]
* Makefile.am (test_sources2): Add generics.2.cs.
(EXTRA_DIST): Add test_sources2.
svn path=/trunk/mono/; revision=53975
Raja R Harinath [Tue, 6 Dec 2005 06:13:53 +0000 (06:13 -0000)]
ignore test-465 for now, since it uses '\' path separators
svn path=/trunk/mcs/; revision=53974
Atsushi Eno [Tue, 6 Dec 2005 06:02:29 +0000 (06:02 -0000)]
forgot to commit (to remove).
svn path=/trunk/mcs/; revision=53973
Gonzalo Paniagua Javier [Tue, 6 Dec 2005 05:20:20 +0000 (05:20 -0000)]
2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: only do special processing for <script> if it has
the runat="server" attribute. Fixes bug #76918.
svn path=/trunk/mcs/; revision=53971
Atsushi Eno [Tue, 6 Dec 2005 04:57:07 +0000 (04:57 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
* renamed from big5-table-generator.cs to dbcs-table-generator.cs.
svn path=/trunk/mcs/; revision=53970
Atsushi Eno [Tue, 6 Dec 2005 04:56:10 +0000 (04:56 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
* big5-table-generator.cs : made it to work for GB2312 table
generation purpose (different format than gb2312.table.)
svn path=/trunk/mcs/; revision=53969
Atsushi Eno [Tue, 6 Dec 2005 04:54:35 +0000 (04:54 -0000)]
2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
* CP936.cs,
GB18030Encoding.cs,
GB18030Source.cs : conversion from Encoding to MonoEncoding and
added fallback support in GEtBytes(Impl), as well as others.
svn path=/trunk/mcs/; revision=53968
Mike Kestner [Tue, 6 Dec 2005 04:24:37 +0000 (04:24 -0000)]
2005-12-05 Mike Kestner <mkestner@novell.com>
* StatusBarPanel.cs: add Invalidate method and hook it into all the
prop setters. Calls parent.Refresh for now, but could be maybe be
optimized with an internal method on StatusBar at some point.
[Fixes #76513]
svn path=/trunk/mcs/; revision=53967
Peter Dennis Bartok [Tue, 6 Dec 2005 04:11:14 +0000 (04:11 -0000)]
2005-12-05 Peter Bartok <pbartok@novell.com>
* ResXResourceReader.cs: Removed previous patch. More than just Byte[]
has that mime type and the patch was causing things to fail.
Since our writer no longer emits the mimetype this should be fine.
svn path=/trunk/mcs/; revision=53966
Peter Dennis Bartok [Tue, 6 Dec 2005 03:48:14 +0000 (03:48 -0000)]
2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
* Font.cs:
- Implemented FromLogFont
- Implemented ToLogFont
- Whitespace fixes
* gdipFunctions.cs:
- Added GdipGetLogFontW method
- Specified charset for GdipGetLogFontA method
* gdipStructs.cs: Added LOGFONTW structure
2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
* TestFont.cs: Added test for LogFont conversion
svn path=/trunk/mcs/; revision=53963
Ben Maurer [Tue, 6 Dec 2005 01:14:20 +0000 (01:14 -0000)]
2005-12-05 Ben Maurer <bmaurer@ximian.com>
* Environment.cs: Bump version
* Nullable.cs: New Box and Unbox methods for the jit
svn path=/trunk/mcs/; revision=53962
Ben Maurer [Tue, 6 Dec 2005 01:13:29 +0000 (01:13 -0000)]
In mini:
2005-12-05 Ben Maurer <bmaurer@ximian.com>
Support for boxing and unboxing nullable types as well as the
isinst operation on nullables, per the CLI ammendment.
* inssel.brg (CEE_ISINST): Special case for nullable
* mini.c (handle_unbox_nullable): new method
(handle_box): Special case for nullable types
(mono_method_to_ir): Call handle_unbox_nullable in correct
places.
* generics.2.cs: New test suite
* Makefile.am: Support for regression tests with generics.
In metadata:
2005-12-05 Ben Maurer <bmaurer@ximian.com>
Beginning of support for nullable types in the runtime. Parts of
this patch are from Martin.
* appdomain.c (MONO_CORLIB_VERSION): Bump
* domain.c (mono_init_internal): get the nullable type
* class.c (mono_class_is_nullable): New method
(mono_class_get_nullable_param): New mehod
(mono_class_create_generic): In types T? set cast_class to T
* class-internals.h (MonoDefaults): new nullable default class
(mono_class_get_nullable_param, mono_class_get_nullable_param):
new methods.
svn path=/trunk/mono/; revision=53961
Peter Dennis Bartok [Mon, 5 Dec 2005 23:45:26 +0000 (23:45 -0000)]
2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
* Enum.cs: Properly handle "No bits set" case even if the sorted numbers
list does not have enum value 0 as the first item. Fixes #76921
2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
* EnumTest.cs: Added test for "no bits set" on flags enum (bug #76921)
svn path=/trunk/mcs/; revision=53959
Chris Toshok [Mon, 5 Dec 2005 22:56:21 +0000 (22:56 -0000)]
2005-12-05 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollection.cs (GetKey): split out the logic for
creating a key from a rule here.
(GetElementKey): use it here.
(Remove): and here.
svn path=/trunk/mcs/; revision=53957
Chris Toshok [Mon, 5 Dec 2005 22:54:37 +0000 (22:54 -0000)]
add new tests
svn path=/trunk/mcs/; revision=53956
Chris Toshok [Mon, 5 Dec 2005 22:54:20 +0000 (22:54 -0000)]
2005-12-05 Chris Toshok <toshok@ximian.com>
* ClientTargetTest.cs: new tests.
* AssemblyCollectionTest.cs: new tests.
* CustomErrorCollectionTest.cs: new tests.
* AuthorizationRuleCollectionTest.cs: new tests.
* CodeSubDirectoryTest.cs: new tests.
svn path=/trunk/mcs/; revision=53955
Gonzalo Paniagua Javier [Mon, 5 Dec 2005 22:37:45 +0000 (22:37 -0000)]
2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: use the _controls field instead of the Controls property.
Fixes bug #76919.
svn path=/trunk/mcs/; revision=53954
Gonzalo Paniagua Javier [Mon, 5 Dec 2005 22:37:08 +0000 (22:37 -0000)]
2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlTest.cs: new tests to prove that Control uses its own
ControlCollection field instead of the Controls property when rendering.
svn path=/trunk/mcs/; revision=53953
Miguel de Icaza [Mon, 5 Dec 2005 21:30:36 +0000 (21:30 -0000)]
Revert until gmcs has support for the new Obsolete stuff
svn path=/trunk/mcs/; revision=53952
Peter Dennis Bartok [Mon, 5 Dec 2005 20:45:33 +0000 (20:45 -0000)]
2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBox.cs: Implemented get_SelectionColor
svn path=/trunk/mcs/; revision=53950
Lluis Sanchez [Mon, 5 Dec 2005 20:44:42 +0000 (20:44 -0000)]
2005-12-05 Lluis Sanchez Gual <lluis@novell.com>
* XmlSerializerTestClasses.cs:
* DeserializeTests.cs: Added tests for bug #76808 and related behavior.
2005-12-05 Lluis Sanchez Gual <lluis@novell.com>
* XmlSerializationReaderInterpreter.cs:
* SerializationCodeGenerator.cs: When deserializing a collection,
don't create a new collection if the property already has a
collection instance. This does not apply to arrays. Changed how nullabe
array properties are set. Setting IsNullable=false to the property means
that it won't be set if the read array is null (so, if the property
already has a value, it will be kept).
Another change is that can't never be null (only arrays can).
svn path=/trunk/mcs/; revision=53949
Alexander Olk [Mon, 5 Dec 2005 20:32:13 +0000 (20:32 -0000)]
2005-12-05 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs:
- Removed dead code
- Draw black button border only if button is Form.AcceptButton
- Draw correct button color for pressed RadioButton if the mouse
has entered the button
- Updated ProgressBar drawing!
- Updated CPDrawSizeGrip drawing
- Updated StatusBarPanel drawing
svn path=/trunk/mcs/; revision=53948
Gert Driesen [Mon, 5 Dec 2005 20:12:33 +0000 (20:12 -0000)]
* BufferedGraphicsManager.cs: Removed duplicate code. Set eol-style to native.
* BufferedGraphics.cs: Removed duplicate code. Set eol-style to native.
svn path=/trunk/mcs/; revision=53946
Jonathan Pryor [Mon, 5 Dec 2005 19:42:25 +0000 (19:42 -0000)]
* Mono.Unix/FileHandleOperations.cs, Mono.Unix/FileTypes.cs,
Mono.Unix/Stdlib.cs, Mono.Unix/Syscall.cs, Mono.Unix/UnixConvert.cs,
Mono.Unix/UnixDirectory.cs, Mono.Unix/UnixDirectoryInfo.cs,
Mono.Unix/UnixDriveInfo.cs, Mono.Unix/UnixEnvironment.cs,
Mono.Unix/UnixFile.cs, Mono.Unix/UnixFileInfo.cs,
Mono.Unix/UnixFileSystemInfo.cs,
Mono.Unix/UnixGroup.cs, Mono.Unix/UnixGroupInfo.cs,
Mono.Unix/UnixIOException.cs, Mono.Unix/UnixMarshal.cs,
Mono.Unix/UnixPath.cs, Mono.Unix/UnixPipes.cs, Mono.Unix/UnixProcess.cs,
Mono.Unix/UnixStream.cs, Mono.Unix/UnixSymbolicLinkInfo.cs,
Mono.Unix/UnixUser.cs, Mono.Unix/UnixUserInfo.cs: Mark to-be-removed
API with [Obsolete(IsError=true)] (permits compiler assistance for finding
obsolete code); Migrate to the Mono.Unix.Native API.
* Mono.Unix/StdioFileStream.cs: Add non-Obsolete overloads for SaveFilePosition &
RestoreFilePosition (oops). Migrate to Mono.Unix.Native API.
* Mono.Unix.Native/make-map.cs: Always include 2nd parameter of [Obsolete]
attributes; mark the [DllImport]ed method with [Obsolete] if the
underlying type is [Obsolete].
* Mono.Unix.Native/NativeConvert.generated.cs: Flush.
svn path=/trunk/mcs/; revision=53945
Jonathan Pryor [Mon, 5 Dec 2005 19:02:02 +0000 (19:02 -0000)]
* UnixUserTest.cs: s/UnixUser/UnixUserInfo/g (UnixUser is obsolete).
svn path=/trunk/mcs/; revision=53943
Jonathan Pryor [Mon, 5 Dec 2005 19:01:07 +0000 (19:01 -0000)]
* UnixMarshalTest.cs: s/Free/FreeHeap/g (UnixMarshal.Free will be removed).
svn path=/trunk/mcs/; revision=53942
Jordi Mas i Hernandez [Mon, 5 Dec 2005 18:45:25 +0000 (18:45 -0000)]
Small samples used SD .Net 2.0
svn path=/trunk/mcs/; revision=53941
Sebastien Pouliot [Mon, 5 Dec 2005 18:44:39 +0000 (18:44 -0000)]
2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
* ComparerTest.cs: Removed "NotWorking" from "Invariant" test case
(it's now working). Added new test cases for ISerializable (added in
SP1 and present in 2.0) and completed coverage with tests for ctor.
svn path=/trunk/mcs/; revision=53940
Sebastien Pouliot [Mon, 5 Dec 2005 18:44:17 +0000 (18:44 -0000)]
2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
* Comparer.cs: Added GetObjectData method to implement ISerializable.
svn path=/trunk/mcs/; revision=53939
Jordi Mas i Hernandez [Mon, 5 Dec 2005 18:43:07 +0000 (18:43 -0000)]
In Test/System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* TestToolboxItem.cs: New unit test
In Test/System.Drawing:
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* TestPoint.cs: Test new methods for .Net 2.0
* TestPointF.cs Test new methods for .Net 2.0
* ColorConverter.cs: Fixes for .Net 2.0
* TestSizeF.cs: Test new methods for .Net 2.0
* TestSize.cs: Test new methods for .Net 2.0
In System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* ToolboxItem.cs: Add new methods and properties for .Net and
also moved to an internal properties hashtable implementation
* IToolboxItemProvider.cs: New .Net 2.0 interface
In .:
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* MetaHeader.cs: Classes need to specify StructLayout attribute
* EncoderParameter.cs: Classes need to specify StructLayout attribute
* ImageAttributes.cs: Classes need to specify StructLayout attribute
* WmfPlaceableFileHeader.cs: Classes need to specify StructLayout attribute
* MetafileHeader.cs: Classes need to specify StructLayout attribute
In System.Drawing:
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* gdipFunctions.cs: DllExports need it to implement
new Graphics.CopyFromScreen .Net 2.0 methods
* IDeviceContext.cs: New .Net 2.0 interface
* Color.cs: Fixes for new .Net 2.0 KnowColors
* PointF.cs: New .Net 2.0 Add/Subtract methods
* gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
* SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
* SizeF.cs: New .Net 2.0 Add/Subtract methods
* FontConverter.cs: New .Net 2.0 fixes
* SystemColors.cs: New standard SystemColors for .Net 2.0
* SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
* CharacterRange.cs: : New .Net 2.0 methods
* Size.cs: New .Net 2.0 Add/Subtract methods
* SystemPens.cs: New standard SystemPens for .Net 2.0
* Bitmap.cs: New .Net 2.0 methods
* Region.cs: New .Net 2.0 methods
* Brush.cs: New .Net 2.0 constructor
* Icon.cs: New .Net 2.0 Constructors and methods
* Point.cs: New .Net 2.0 Add/Subtract methods
* BufferedGraphicsManager.cs: New .Net 2.0 class
* Graphics.cs: New methods for .Net 2.0 and fixes
* BufferedGraphics.cs: New .Net 2.0 class
* Font.cs: New .Net 2.0 properties
* Image.cs: New .Net 2.0 tag property
* KnownColor.cs: New .Net 2.0 know colors
* CopyPixelOperation.cs: New .Net 2.0 enum
* SystemFonts.cs: New .Net 2.0 class
* BufferedGraphicsContext.cs: New .Net 2.0 class
svn path=/trunk/mcs/; revision=53938
Mike Kestner [Mon, 5 Dec 2005 18:37:42 +0000 (18:37 -0000)]
2005-12-05 Mike Kestner <mkestner@novell.com>
* Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
* X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
svn path=/trunk/mcs/; revision=53937
Boris Kirzner [Mon, 5 Dec 2005 17:46:57 +0000 (17:46 -0000)]
Added objects disposing to the tests.
svn path=/trunk/mcs/; revision=53936
Boris Kirzner [Mon, 5 Dec 2005 17:40:55 +0000 (17:40 -0000)]
Fix object disposing.
svn path=/trunk/mcs/; revision=53935
Sebastien Pouliot [Mon, 5 Dec 2005 16:42:33 +0000 (16:42 -0000)]
2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
svn path=/trunk/mcs/; revision=53933
Paolo Molaro [Mon, 5 Dec 2005 16:06:41 +0000 (16:06 -0000)]
Support old mcs.
svn path=/trunk/mcs/; revision=53932