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
Robert Jordan [Mon, 5 Dec 2005 15:32:24 +0000 (15:32 -0000)]
2005-12-05 Robert Jordan <robertj@gmx.net>
* BinaryServerFormatterSink.cs, SoapServerFormatterSink.cs:
Implemented formatter chaining. Fixes bug #74878.
* BinaryClientFormatterSink.cs: AsyncProcessMessage: Set the transport
headers.
svn path=/trunk/mcs/; revision=53931
Sebastien Pouliot [Mon, 5 Dec 2005 15:29:18 +0000 (15:29 -0000)]
2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
* StringBuilderTest.cs: Test case MaxCapacity_Overflow3 doesn't work
under MS 1.1 SP1 (it should throw an ArgumentOutOfRangeException) but
it does work under Mono and MS 2.0 (final). Tagged as "NotWorking".
svn path=/trunk/mcs/; revision=53930
Sebastien Pouliot [Mon, 5 Dec 2005 15:20:39 +0000 (15:20 -0000)]
2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainSetupTest.cs: Fixed test cases to execute properly under
MS 1.1 SP1 and 2.0 final.
* DateTimeTest.cs: Split TestParse5 into several test cases to find
the one failing under MS 1.1 SP1. Also fixed tests for MS 2.0 final.
svn path=/trunk/mcs/; revision=53929
Raja R Harinath [Mon, 5 Dec 2005 14:57:19 +0000 (14:57 -0000)]
* metadata.c (select_container): New. Refactor code to select the
appropriate GenericContainer given the type of generic parameter
we are looking for.
(mono_metadata_parse_generic_param): Take a MonoGenericContainer,
ot a MonoGenericContext. Use select_container. Update parameters.
(do_mono_metadata_parse_type): Combine the code for MONO_TYPE_VAR
and MONO_TYPE_MVAR.
(unwrap_arrays): Remove duplicate tests.
(find_generic_param): Rename from 'has_same_context'. Now walks a
generic instantiated class to find any arguments that are generic
parameters.
(mono_type_create_from_typespec_full): Use find_generic_param to
avoid evicting some generic instantiations from the typespec
cache.
svn path=/trunk/mono/; revision=53928
Marek Safar [Mon, 5 Dec 2005 14:23:25 +0000 (14:23 -0000)]
2005-12-05 Marek Safar <marek.safar@seznam.cz>
* test-475.cs: Event initializer.
* test-465.cs: One more resource test.
svn path=/trunk/mcs/; revision=53927
Raja R Harinath [Mon, 5 Dec 2005 14:19:32 +0000 (14:19 -0000)]
* errors/Makefile (DISTFILES): Add *.snk.
svn path=/trunk/mcs/; revision=53926
Paolo Molaro [Mon, 5 Dec 2005 14:19:19 +0000 (14:19 -0000)]
Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
* Double.cs: remove unused icall.
* BitConverter.cs: handle double binary format on ARM FPA.
svn path=/trunk/mcs/; revision=53925
Paolo Molaro [Mon, 5 Dec 2005 14:14:16 +0000 (14:14 -0000)]
Mon Dec 5 15:13:26 CET 2005 Paolo Molaro <lupus@ximian.com>
* ILGenerator.cs: fixed emitting doubles on ARM.
svn path=/trunk/mcs/; revision=53924
Paolo Molaro [Mon, 5 Dec 2005 14:12:43 +0000 (14:12 -0000)]
Mon Dec 5 15:07:42 GMT 2005 Paolo Molaro <lupus@ximian.com>
* reflection.c: fixed writing of doubles on ARM FPA.
svn path=/trunk/mono/; revision=53923
Marek Safar [Mon, 5 Dec 2005 14:08:48 +0000 (14:08 -0000)]
2005-12-05 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (GlobalAttribute.ctor): Pass NamespaceEntry only.
* class.cs (EmitFieldInitializers): Simplified and fixed to work with
event initializers.
(FieldBase.EmitInitializer): Moved from TypeContainer and simplified.
(FieldBase.Initializer): Initializer is now optional.
(EventField.Define): Only event field can have initializer.
* codegen.cs (EmitContext): DeclSpace is not readonly (small hack).
* const.cs (Const): Reuse initializer.
* cs-parser.jay: Updated after FieldBase changes.
Added current_array_type to simplify array initializers.
* ecore.cs (NullCast.IsDefaultValue): Implemented.
* expression.cs, iterators.cs: Updated.
* namespace.cs (NamespaceEntry): Made UsingFound private.
svn path=/trunk/mcs/; revision=53922
Raja R Harinath [Mon, 5 Dec 2005 13:40:37 +0000 (13:40 -0000)]
Update
svn path=/trunk/mcs/; revision=53921
Atsushi Eno [Mon, 5 Dec 2005 13:18:07 +0000 (13:18 -0000)]
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
* CompareInfoTest.cs : split the last case in NullCharacter() out
and marked it as NotDotNet (.NET is inconsistent between Compare
and IndexOf).
svn path=/trunk/mcs/; revision=53920
Atsushi Eno [Mon, 5 Dec 2005 12:57:24 +0000 (12:57 -0000)]
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
* big5-table-generator.cs : new file to generate "big5.table".
* CP950.cs : added fallback support. switched to GetBytesImpl().
* DbcsEncoding.cs : switched to MonoEncoding (should have been
committed when CP949.cs was committed).
* big5.table : updated to match MS CP950.
* I18N.CJK.Test.cs : BIG5 tests are now working.
svn path=/trunk/mcs/; revision=53919
Atsushi Eno [Mon, 5 Dec 2005 12:41:53 +0000 (12:41 -0000)]
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
* CP949.cs : migration from GetBytes (of Encoding) to GetBytesImpl
(of MonoEncoding). Added fallback support.
svn path=/trunk/mcs/; revision=53918
Marek Safar [Mon, 5 Dec 2005 12:22:50 +0000 (12:22 -0000)]
2005-12-05 Marek Safar <marek.safar@seznam.cz>
* parameterCollection.cs: Obsolete, removed.
* parser.cs: Obsolete, removed.
svn path=/trunk/mcs/; revision=53917
Marek Safar [Mon, 5 Dec 2005 12:13:36 +0000 (12:13 -0000)]
More tests + update.
svn path=/trunk/mcs/; revision=53916
Marek Safar [Mon, 5 Dec 2005 12:11:21 +0000 (12:11 -0000)]
2005-12-05 Marek Safar <marek.safar@seznam.cz>
Fix #76849.
* class.cs (Constructor.Emit): Set obsolete checking for whole context.
* enum.cs (Enum.Define): Set obsolete context here.
svn path=/trunk/mcs/; revision=53915
Marek Safar [Mon, 5 Dec 2005 11:43:16 +0000 (11:43 -0000)]
Fixed tests.
svn path=/trunk/mcs/; revision=53914
Atsushi Eno [Mon, 5 Dec 2005 09:55:10 +0000 (09:55 -0000)]
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
* I18N.CJK_test.dll.sources : new file for NUnit test.
* Makefile : removed NO_TEST.
* I18N.CJK.Test.cs : initial NUnit test checkin.
* chinese-utf8.txt chinese-936.txt chinese-54936.txt
chinese2-utf8.txt chinese2-950.txt
japanese-utf8.txt japanese-932.txt japanese-51932.txt
japanese-50221.txt japanese-50222.txt
japanese2-utf8.txt japanese2-50220.txt
korean-utf8.txt korean-949.txt : tested text files.
* conv.cs : simple reference output generator.
svn path=/trunk/mcs/; revision=53913
Ankit Jain [Mon, 5 Dec 2005 06:33:28 +0000 (06:33 -0000)]
In ilasm/codegen:
2005-12-05 Ankit Jain <jankit@novell.com>
* TypeDef.cs (TypeDef.GenericInfo.num): New.
(TypeDef.AddGenericParam): Set num for GenericInfo.
* MethodDef.cs (MethodDef.GenericInfo.num): New.
(MethodDef.AddGenericParam): Set num for GenericInfo.
* GenericTypeRef.cs (GenericTypeRef.ctor): Update to use PEAPI.GenParam
instead of PEAPI.MVar and PEAPI.GenericTypeSpec.
In ilasm/parser:
2005-12-05 Ankit Jain <jankit@novell.com>
* ILParser.jay (type | BANG int32 .. ): Update to use GenParam instead of
PEAPI.MVar and PEAPI.GenericTypeSpec.
(method_head | D_METHOD ..): Set callConv to Generic if the method has type
parameters.
(method_ref | call_conv ...): Likewise.
In class/PEAPI:
2005-12-05 Ankit Jain <jankit@novell.com>
* Metadata.cs (GenParamType): New enum.
(CallConv): Add [Flags] attribute.
(GenParam): New. Replaces ..
(MVar): .. this ..
(GenericTypeSpec): .. and this.
(GenericTypeInst.ctor): Use PrimitiveType.GenericInst.GetTypeIndex () instead
of hard-coded 0x15.
(GenericTypeInst.TypeSig): First byte should the 0x0A (GENERIC_INST).
(Method.gen_param_count): New. Num of generic parameters.
(MethodDef.ctor): Use overload.
(MethodDef.TypeSig): Write gen_param_count if callConv is Generic.
(MethodRef.GenParamCount): New.
(MethodRef.TypeSig): Write gen_param_count if callConv is Generic.
(PrimitiveType.Var): New.
(PrimitiveType.MVar): New.
(PrimitiveType.GenericInst): New.
svn path=/trunk/mcs/; revision=53912
Atsushi Eno [Mon, 5 Dec 2005 04:19:16 +0000 (04:19 -0000)]
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs :
- FindDocumentedMember() now expects 1) paramList as null
when "we don't have to check the number of parameters" and
2) Type.EmptyTypes when "there is no arguments".
- Introduced FoundMember struct to hold the exact type which was
used to find the documented member (the above change broke
test-xml-044; it might be better just to use DeclaringType than
what MS does, like this change does, but it depends on usage.)
* cs1574-8.cs, cs1574-9.cs : new tests for bug #76873.
* known-issues-gmcs : updated.
svn path=/trunk/mcs/; revision=53911
Atsushi Eno [Mon, 5 Dec 2005 03:12:34 +0000 (03:12 -0000)]
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : documented member might be from DeclaringType for nested
types. Fixed bug #76782.
* test-xml-049-ref.xml test-xml-049.cs : test for bug #76782
* known-issues-gmcs : updated.
svn path=/trunk/mcs/; revision=53910
Chris Toshok [Mon, 5 Dec 2005 00:50:52 +0000 (00:50 -0000)]
2005-12-04 Chris Toshok <toshok@ximian.com>
* UrlMapping.cs: add an internal argument-less ctor.
* UrlMappingCollection.cs (CreateNewElement): use argument-less
ctor.
(GetKey): implement.
(AllKeys): implement.
* TrustLevel.cs: add an internal argument-less ctor.
* TrustLevelCollection.cs (Set): implement.
(CreateNewElement): use argument-less ctor.
(IsElementName): implement.
(ElementName): implement.
(set_Item (int index)): use Set.
(ThrowOnDuplicate): implement.
* TagPrefixInfo.cs: add internal argument-less ctor.
* TagPrefixCollection.cs (CreateNewElement): call argument-less
ctor.
(CollectionType): add text to TODO.
(ElementName): implement.
* SqlCacheDependencyDatabaseCollection.cs (Set): implement.
(AllKeys): implement.
* RuleSettings.cs: add internal argument-less ctor.
* RuleSettingsCollection.cs (Contains): implement.
(CreateNewElement): use argument-less ctor.
(IndexOf): implement.
(Insert): implement.
* RootProfilePropertySettingsCollection.cs (IsModified): chain up
to base.IsModified for now.
(Reset): chain up to base.Reset for now.
(ResetModified): chain up to base.ResetModified for now.
* ProfileSettings.cs: add internal argument-less ctor.
* ProfileSettingsCollection.cs (Contains): implement.
(CreateNewElement): use argument-less ctor.
(IndexOf): implement.
(Insert): implement.
* ProfilePropertySettingsCollection.cs (IndexOf): implement.
(Set): implement.
(AllKeys): implement.
* ProfileGroupSettings.cs: add internal argument-less ctor.
* ProfileGroupSettingsCollection.cs (CreateNewElement): use
parameter-less ctor.
(GetKey): implement.
(ResetModified): for now call base.ResetModified.
(Set): implement.
(AllKeys): implement.
* OutputCacheProfile.cs: add internal argument-less ctor.
* OutputCacheProfileCollection.cs (CreateNewElement): use
parameter-less ctor.
(Set): implement.
(AllKeys): implement.
* HttpModuleActionCollection.cs (Add): remove MonoTODO.
(CreateNewElement): same.
* HttpHandlerActionCollection.cs (GetElementKey): build up the key
from both the path and the verb.
(Remove): same.
* FormsAuthenticationUserCollection.cs (Set): implement.
(AllKeys): implement.
* EventMappingSettings.cs: add an internal argument-less ctor.
* EventMappingSettingsCollection.cs (Contains): implement.
(CreateNewElement): use argument-less ctor.
(IndexOf): implement.
(Insert): implement.
* CompilerCollection.cs (GetKey): implement.
(AllKeys): implement.
* ClientTargetCollection.cs (GetKey): implement.
(AllKeys): implement.
* AuthorizationRuleCollection.cs (Set): implement.
(ElementName): add some text to the MonoTODO.
(set_Item (int index)): use Set.
svn path=/trunk/mcs/; revision=53909
Chris Toshok [Sun, 4 Dec 2005 23:34:24 +0000 (23:34 -0000)]
2005-12-04 Chris Toshok <toshok@ximian.com>
* CustomError.cs: add an internal argument-less ctor for use by
the collection.
* CustomErrorCollection.cs: implement all the MonoTODO's.
svn path=/trunk/mcs/; revision=53908
Gert Driesen [Sun, 4 Dec 2005 20:00:35 +0000 (20:00 -0000)]
* XslTransformTests.cs: Explicitly omit XML declaration, allowing test to
pass on both MS.NET and Mono.
svn path=/trunk/mcs/; revision=53906
Alexander Olk [Sun, 4 Dec 2005 19:54:54 +0000 (19:54 -0000)]
2005-12-04 Alexander Olk <alex.olk@googlemail.com>
* System.Windows.Forms.dll.sources: Added ThemeClearlooks.cs
svn path=/trunk/mcs/; revision=53905
Alexander Olk [Sun, 4 Dec 2005 19:54:06 +0000 (19:54 -0000)]
2005-12-04 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Initial check-in, activate with
export MONO_THEME=clearlooks
* ThemeEngine.cs: Added ThemeClearlooks
svn path=/trunk/mcs/; revision=53904
Gert Driesen [Sun, 4 Dec 2005 19:17:02 +0000 (19:17 -0000)]
* XslTransformTests.cs: Undo formatting change.
svn path=/trunk/mcs/; revision=53903
Gert Driesen [Sun, 4 Dec 2005 19:04:40 +0000 (19:04 -0000)]
* XslTransformTest.cs: Added test for MS bug, described in KB834667.
svn path=/trunk/mcs/; revision=53902
Gert Driesen [Sun, 4 Dec 2005 18:37:55 +0000 (18:37 -0000)]
* XslTransformTest.cs: Added test for sorting an empty node set, which
is also a test for omitting XML declaration if no XML is output.
No longer derive from deprecated Assertion class, formatting updates.
svn path=/trunk/mcs/; revision=53901
Boris Kirzner [Sun, 4 Dec 2005 12:52:45 +0000 (12:52 -0000)]
Added solution and project files for building TARGET_JVM tests.
svn path=/trunk/mcs/; revision=53899
Konstantin Triger [Sun, 4 Dec 2005 10:05:12 +0000 (10:05 -0000)]
correcting SystemIcons.cs reference
svn path=/trunk/mcs/; revision=53897
Ben Maurer [Sun, 4 Dec 2005 02:33:53 +0000 (02:33 -0000)]
In mcs:
2005-12-03 Ben Maurer <bmaurer@ximian.com>
* anonymous.cs: Have the param code handle leaving copies on the
stack etc. Allows anonymous params to take part in the assignment
code (++, +=, etc). Fixes bug #76550
* expression.cs: Handle the prepare_for_load/leave_copy by passing
it down to the anon code.
* iterators.cs: Use dummy var here
* codegen.cs: Handle new vars
In tests:
2005-12-03 Ben Maurer <bmaurer@ximian.com>
* test-474.cs: new test.
svn path=/trunk/mcs/; revision=53896
Zoltan Varga [Sat, 3 Dec 2005 20:03:38 +0000 (20:03 -0000)]
2005-12-03 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_load_volatile_arguments): Add loading of arguments
allocated to registers. Fixes #76800.
svn path=/trunk/mono/; revision=53893
Atsushi Eno [Sat, 3 Dec 2005 17:03:27 +0000 (17:03 -0000)]
2005-12-03 Atsushi Enomoto <atsushi@ximian.com>
* CP51932.cs :
GetCharCount() was returning excessive size. Now it is also based
on MonoEncoding, with fallback support.
svn path=/trunk/mcs/; revision=53889
Atsushi Eno [Sat, 3 Dec 2005 16:23:49 +0000 (16:23 -0000)]
2005-12-03 Atsushi Enomoto <atsushi@ximian.com>
* CP932.cs : oops, wrong range.
svn path=/trunk/mcs/; revision=53888
Atsushi Eno [Sat, 3 Dec 2005 16:18:22 +0000 (16:18 -0000)]
2005-12-03 Atsushi Enomoto <atsushi@ximian.com>
* CP932.cs :
in GetBytes() \uFF01-\uFF60 are incorrectly mapped to ASCII
characters (they should be mapped to full-width characters).
Base type is now MonoEncoding, without adding fallback support.
svn path=/trunk/mcs/; revision=53887
Mike Kestner [Sat, 3 Dec 2005 15:16:59 +0000 (15:16 -0000)]
2005-12-03 Mike Kestner <mkestner@novell.com>
* MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
[Fixes #76897]
svn path=/trunk/mcs/; revision=53886
Kornél Pál [Sat, 3 Dec 2005 12:09:49 +0000 (12:09 -0000)]
config-default.make: Corrected default CODEPAGE comment to ISO-8859-1 (Latin 1)
svn path=/trunk/mcs/; revision=53883