Sebastien Pouliot [Mon, 19 Dec 2005 15:54:00 +0000 (15:54 -0000)]
Array.cs: Fixed BinarySearch when the array is empty (#77030). Added some null check which throws ArgumentNullException under 2.0.
svn path=/trunk/mcs/; revision=54604
Zoltan Varga [Mon, 19 Dec 2005 14:19:38 +0000 (14:19 -0000)]
2005-12-19 Zoltan Varga <vargaz@gmail.com>
* basic-float.cs: Add float<->long conversion tests.
svn path=/trunk/mono/; revision=54600
Raja R Harinath [Mon, 19 Dec 2005 10:15:40 +0000 (10:15 -0000)]
* icall.c (ves_icall_System_MonoType_getFullName): Return NULL for
type parameters.
Fix regression on Type.FullName and Type.AssemblyQualifiedName
svn path=/trunk/mono/; revision=54597
Raja R Harinath [Mon, 19 Dec 2005 10:13:56 +0000 (10:13 -0000)]
** merged revision 54585 from mcs
svn path=/trunk/mcs/; revision=54596
Konstantin Triger [Mon, 19 Dec 2005 09:27:43 +0000 (09:27 -0000)]
merge -r 54593:54594
svn path=/trunk/mcs/; revision=54595
Boris Kirzner [Mon, 19 Dec 2005 08:31:35 +0000 (08:31 -0000)]
Added MonoTODO attributes.
svn path=/trunk/mcs/; revision=54591
Daniel Morgan [Mon, 19 Dec 2005 04:57:55 +0000 (04:57 -0000)]
2005-12-19 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleConnectionPoolManager.cs
* System.Data.OracleClient/OracleConnectionPool.cs
* System.Data.OracleClient/OracleConnection.cs: for connection pooling, need to
dispose of any connection pools properly otherwise a SEGSIGV may happen trying
to detach from the server during finalization at exit of app
* System.Data.OracleClient/OracleDataReader.cs: need to make sure statement and command
exists during dispose because they are set to null when closed
svn path=/trunk/mcs/; revision=54588
Carlos Alberto Cortez [Mon, 19 Dec 2005 03:39:35 +0000 (03:39 -0000)]
2005-12-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* test-externalias-09.cs: New test for #76995
svn path=/trunk/mcs/; revision=54586
Carlos Alberto Cortez [Mon, 19 Dec 2005 03:34:32 +0000 (03:34 -0000)]
2005-12-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Fix #76995
* namespace.cs (NamespaceEntry): Add extern_aliases as a
ListDictionary, to contain the ExternAliasEntry entries (in
addition to the NamespaceEntry.aliases hashtable). This field is
shared between the original entry and its doppelganger (bodyless
copy of it).
(NamespaceEntry.UsingExternalAlias): Add the extern alias entry to
extern_aliases field.
(NamespaceEntry.Lookup): Move the IsImplicit check after the
lookup in extern_aliases.
svn path=/trunk/mcs/; revision=54585
Peter Dennis Bartok [Sun, 18 Dec 2005 23:59:45 +0000 (23:59 -0000)]
2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Reworked Controls.Add(), Controls.Remove() and set_Parent() to
cause events to be sent in the same order as MS does.
- Added ChangeParent() method to trigger various OnXXXChanged events
that need to be fired when a parent changes (This is a reworking
of the patch from r54254, with the X11 errors fixed)
- Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
since on MS we get OnLayoutChanged events when calling Clear()
- Changed Enabled property to consider parent state as well, if a
parent is not enabled, the control will not be either
- Changed Parent property to simply call Controls.Add() since that
now does all the work required, this way we avoid code duplication
- Threw in a few OnBindingsContextChanged calls to try and match
when MS sends them. We seem to send a few too many, though.
- Added call to CreateControl when adding the control to a parent.
We were never calling CreateControl. Still needs some work, in
some places we treat HandleCreated and ControlCreated as equal,
which is wrong
- Removed obsolete commented out code from UpdateZOrder()
svn path=/trunk/mcs/; revision=54584
Alexander Olk [Sun, 18 Dec 2005 16:00:30 +0000 (16:00 -0000)]
2005-12-18 Alexander Olk <alex.olk@googlemail.com>
* ThemeClearlooks.cs: Updated TrackBar drawing.
svn path=/trunk/mcs/; revision=54578
Raja R Harinath [Sun, 18 Dec 2005 12:33:36 +0000 (12:33 -0000)]
* TypeTest.cs (FullNameGenerics): Identify individual assertions.
svn path=/trunk/mcs/; revision=54577
Konstantin Triger [Sun, 18 Dec 2005 10:55:04 +0000 (10:55 -0000)]
fixing exception messages
svn path=/trunk/mcs/; revision=54575
Raja R Harinath [Sun, 18 Dec 2005 09:18:41 +0000 (09:18 -0000)]
Quote '[]' properly.
svn path=/trunk/mono/; revision=54574
Raja R Harinath [Sun, 18 Dec 2005 03:37:32 +0000 (03:37 -0000)]
* configure.in (config.make): Don't blindly copy over $INSTALL,
since it can be relative to the mono tree. Use the same trick as
ac_INSTALL, but against an absolute path.
svn path=/trunk/mono/; revision=54570
Dick Porter [Sat, 17 Dec 2005 18:17:58 +0000 (18:17 -0000)]
2005-12-17 Dick Porter <dick@ximian.com>
* ThreadStartException.cs:
* EventWaitHandle.cs:
* EventResetMode.cs:
* AbandonedMutexException.cs: New for 2.0 profile
* ThreadState.cs:
* Interlocked.cs:
* RegisteredWaitHandle.cs:
* Monitor.cs:
* ThreadPriority.cs:
* Mutex.cs:
* ManualResetEvent.cs:
* AutoResetEvent.cs: Updated for 2.0 profile
2005-12-17 Dick Porter <dick@ximian.com>
* EventWaitHandleRights.cs: New for 2.0 profile
* MutexSecurity.cs:
* EventWaitHandleSecurity.cs:
* CommonObjectSecurity.cs:
* NativeObjectSecurity.cs:
* ObjectSecurity.cs: New partial stub for 2.0 profile
2005-12-17 Dick Porter <dick@ximian.com>
* corlib.dll.sources: Added in System.Security.AccessControl:
CommonObjectSecurity.cs, EventWaitHandleRights.cs,
EventWaitHandleSecurity.cs, ObjectSecurity.cs, MutexSecurity.cs,
NativeObjectSecurity.cs. Added in System.Threading:
AbandonedMutexException.cs, EventResetMode.cs, EventWaitHandle.cs,
ThreadStartException.cs
svn path=/trunk/mcs/; revision=54567
César Natarén [Sat, 17 Dec 2005 17:31:39 +0000 (17:31 -0000)]
2005-12-17 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most.fail: Erase js1_3/inherit/proto_6.js,
js1_3/inherit/proto_7.js, js1_3/inherit/proto_8.js,
ecma/FunctionObjects/15.3.4-1.js, ecma_2/Exceptions/global-001.js,
ecma_2/Statements/dowhile-006.js,
ecma/ObjectObjects/15.2.3.1-2.js, js1_4/Regress/function-003.js as
they fail no more.
svn path=/trunk/mcs/; revision=54566
Alexander Olk [Sat, 17 Dec 2005 12:11:14 +0000 (12:11 -0000)]
* FileDialog.cs: Patch for #76901 by Atsushi Enomoto
2005-12-17 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=54564
Alexander Olk [Sat, 17 Dec 2005 11:50:31 +0000 (11:50 -0000)]
2005-12-17 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Add the Help button and the open readonly
checkbox only if needed
svn path=/trunk/mcs/; revision=54563
César Natarén [Sat, 17 Dec 2005 04:57:48 +0000 (04:57 -0000)]
2005-12-16 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most-tests: Enable ecma/Expressions/11.13.1.js and
ecma/TypeConversion/9.3.1-3.js.
svn path=/trunk/mcs/; revision=54562
Wade Berrier [Sat, 17 Dec 2005 02:57:41 +0000 (02:57 -0000)]
Commented out AC_DISABLE_FAST_INSTALL
monodis wouldn't link correctly otherwise unless an existing
libmono was found from previous installation.
I ran into issues because the previous installation wasn't providing a symbol I needed
svn path=/trunk/mono/; revision=54561
John Luke [Sat, 17 Dec 2005 00:27:14 +0000 (00:27 -0000)]
2005-12-16 John Luke <john.luke@gmail.com>
* Mono.Cairo/FontOptions.cs: fix bug with
fontOptions == null, check parameter to Merge
against null
* Mono.Cairo/Glyph.cs: add setters to properties
svn path=/trunk/mcs/; revision=54557
Jackson Harper [Fri, 16 Dec 2005 23:08:20 +0000 (23:08 -0000)]
* RichTextBox.cs: Expand statement to help out gmcs and fix the
2.0 build.
svn path=/trunk/mcs/; revision=54555
Sebastien Pouliot [Fri, 16 Dec 2005 22:42:34 +0000 (22:42 -0000)]
2005-12-16 Sebastien Pouliot <sebastien@ximian.com>
* StackTrace.cs: Added, if avilable, the filename/lineno debug
information in ToString() like it's done on the 2.0 framework (i.e.
Mono will display it for all profile, MS only in 2.0). Fix bug #75932.
svn path=/trunk/mcs/; revision=54554
César Natarén [Fri, 16 Dec 2005 22:39:00 +0000 (22:39 -0000)]
2005-12-16 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most-tests: Enable ecma_2/Statements/dowhile-003.js.
svn path=/trunk/mcs/; revision=54552
Neale Ferguson [Fri, 16 Dec 2005 22:26:45 +0000 (22:26 -0000)]
* mini-s390.c: Fix LOCALLOC processing.
* tramp-s390.c (s390_magic_trampoline): Fix base calculation.
svn path=/trunk/mono/; revision=54551
Jackson Harper [Fri, 16 Dec 2005 22:24:37 +0000 (22:24 -0000)]
* TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
Dieter Bremes.
svn path=/trunk/mcs/; revision=54550
Jackson Harper [Fri, 16 Dec 2005 21:31:43 +0000 (21:31 -0000)]
* Control.cs: Make sure we have an active menu before trying to
process commands on it. Prevents menu-less forms from crashing
when Alt is pressed.
svn path=/trunk/mcs/; revision=54548
Jackson Harper [Fri, 16 Dec 2005 21:20:47 +0000 (21:20 -0000)]
InternalWindowManager.cs: Don't translate tool windows screen
coordinates. This fixes windows 'bouncing' around when being
moved.
svn path=/trunk/mcs/; revision=54547
John Luke [Fri, 16 Dec 2005 20:43:58 +0000 (20:43 -0000)]
s/Graphics/Context
svn path=/trunk/mcs/; revision=54546
John Luke [Fri, 16 Dec 2005 20:41:52 +0000 (20:41 -0000)]
s/Graphics/Context
svn path=/trunk/mcs/; revision=54545
John Luke [Fri, 16 Dec 2005 20:41:17 +0000 (20:41 -0000)]
s/Graphics/Context
svn path=/trunk/mcs/; revision=54544
John Luke [Fri, 16 Dec 2005 20:40:02 +0000 (20:40 -0000)]
s/Graphics/Context
svn path=/trunk/mcs/; revision=54543
John Luke [Fri, 16 Dec 2005 20:36:22 +0000 (20:36 -0000)]
2005-12-16 John Luke <john.luke@gmail.com>
* Mono.Cairo/Cairo.cs: organize and add missing API
split out enums and structs
* Mono.Cairo/*.cs: add enums and structs as seperate files
implement ==, !=, Equals, and GetHashCode for the structs
move public fields to properties
svn path=/trunk/mcs/; revision=54542
Sebastien Pouliot [Fri, 16 Dec 2005 20:00:43 +0000 (20:00 -0000)]
2005-12-16 Sebastien Pouliot <sebastien@ximian.com>
* X509Chain.cs: Fix chain building. Patch from Vincent Cote-Roy.
svn path=/trunk/mcs/; revision=54541
John Luke [Fri, 16 Dec 2005 19:43:36 +0000 (19:43 -0000)]
2005-12-16 John Luke <john.luke@gmail.com>
* Mono.Cairo/Cairo.cs:
* Mono.Cairo/Context.cs:
* Mono.Cairo/Pattern.cs:
* Mono.Cairo/Surface.cs: add MarkDirty and Flush,
mark Surface.Pointer obsolete in favor of Handle
svn path=/trunk/mcs/; revision=54539
John Luke [Fri, 16 Dec 2005 19:30:38 +0000 (19:30 -0000)]
2005-12-16 John Luke <john.luke@gmail.com>
* Mono.Cairo.dll.sources:
* Mono.Cairo/Rectangle.cs: add
* Mono.Cairo/Cairo.cs: mark fill_extents and stroke extents
with out modifiers
* Mono.Cairo/Context.cs: FillExtents, and StrokeExtents return
a Rectangle (actually 2 points), remove previously unusable
versions, add an overload to Rectangle that takes a Rectangle
svn path=/trunk/mcs/; revision=54538
Peter Dennis Bartok [Fri, 16 Dec 2005 19:16:31 +0000 (19:16 -0000)]
2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs:
- MaxLength now treats 2^31-1 equal to unlimited length (this is
not quite MS compatible, MS uses that number only for single line
and 2^32-1 for multi-line, but I figure it won't hurt keeping
the limit at 2GB)
- Now enforcing the MaxLength limit when entering characters
- Added argument to internal Paste() method to track if it's called
from programatically or via keyboard, since keyboard driven pastes
need to enforce max-length
- Added logic to Paste to only paste as many chars as MaxLength
allows
* RichTextBox.cs: Updated to use new obey argument for internal Paste()
* TextControl.cs:
- Added Length property to return number of characters in document
- Added private CharCount property which only tracks actual chars
in the document (no linefeeds) and fires event when CharCount
changes
- Added tracking of character count to all methods that alter it
- Added LengthChanged event to allow applications to subscribe
to any changes to the document
svn path=/trunk/mcs/; revision=54537
Gert Driesen [Fri, 16 Dec 2005 17:04:28 +0000 (17:04 -0000)]
* XmlTextWriterTests.cs: Fixed some tests that caught exception to
become useful. Added few tests that fail on Mono.
svn path=/trunk/mcs/; revision=54535
Chris Toshok [Fri, 16 Dec 2005 16:30:33 +0000 (16:30 -0000)]
2005-12-16 Chris Toshok <toshok@ximian.com>
* ConfigurationLockCollection.cs (Add): only add the name if it's
not already there.
(IsReadOnly): always return false for the time being, in the
non-exceptional case.
svn path=/trunk/mcs/; revision=54534
Chris Toshok [Fri, 16 Dec 2005 16:29:22 +0000 (16:29 -0000)]
2005-12-16 Chris Toshok <toshok@ximian.com>
* System.Configuration/ConfigurationLockCollectionTest.cs
(DuplicateAdd, IsReadOnly): new tests.
svn path=/trunk/mcs/; revision=54533
Gert Driesen [Fri, 16 Dec 2005 14:06:42 +0000 (14:06 -0000)]
* XmlTextWriterTests.cs: No longer derive from deprecated Assertion
class. Added WriteDocType tests.
* XmlWriterTests.cs: No longer derive from deprecated Assertion class.
svn path=/trunk/mcs/; revision=54531
Raja R Harinath [Fri, 16 Dec 2005 11:38:54 +0000 (11:38 -0000)]
** merged revision 54529 from mcs
svn path=/trunk/mcs/; revision=54530
Raja R Harinath [Fri, 16 Dec 2005 11:33:18 +0000 (11:33 -0000)]
Fix #77006.
* mcs/class.cs (TypeContainer.Mark_HasEquals): New.
(TypeContainer.Mark_HasGetHashCode): New.
(ClassPart): Override them.
(MethodCore.CheckBase): Use them instead of referring to Parent.Methods.
* tests/test-479.cs: New test from #77006.
* errors/cs0659-2.cs: New test based on #77006.
svn path=/trunk/mcs/; revision=54529
Ankit Jain [Fri, 16 Dec 2005 11:12:06 +0000 (11:12 -0000)]
In ilasm/tests:
2005-12-16 Ankit Jain <jankit@novell.com>
Tests for fields with same name but different types.
* field-dup1.il, field-dup-gen2.il: Positive tests.
* err-field-dup1.il, err-field-dup2.il, err-field-dup3.il,
err-field-dup4.il, err-field-dup5.il, err-field-dup6-gen.il,
err-field-dup7-gen.il: Negative tests.
* one.cs, two.cs, oneg.cs: Required for use by above test cases.
In ilasm/codegen:
2005-12-16 Ankit Jain <jankit@novell.com>
Use tuple of (field name, type_name) for fielddef hashtable in TypeDef.cs and
CodeGen.cs
* FieldDef.cs (FieldDef.Type): New.
* TypeDef.cs (TypeDef.ResolveField): Add 'type_name' param.
* CodeGen.cs (CodeGen.ResolveField): Add 'type_name' param.
* FieldRef.cs (FieldRef.Resolve): Update usage of .ResolveField .
* GlobalFieldRef (GlobalFieldRef.Resolve): Likewise.
* ExternTable.cs (IScope.FullName): New. Returns full name including and enclosing class
or assembly/module name.
(ExternRef.FullName):
(ExternModule.FullName):
(ExternAssembly.FullName): Implement new IScope.FullName .
* ExternTypeRef.cs (ExternTypeRef.Clone): Clone SigMod also.
(ExternTypeRef.FullName): Update to return full name including enclosing type or assembly
or module name.
(ExternTypeRef.Name): Update to return only full_name with modifiers (array/pointers etc).
(ExternTypeRef.GetReflectedType): Use Name instead of FullName as only type name is required here.
* GenericTypeRef.cs (GenericTypeRef.FullName): Return proper fullname of the form (!0 or !!0).
* GenericTypeInst.cs (GenericTypeInst.ctor): Change param 'full_name' to 'name'. 'full_name' is
constructed here using the type parameter list.
Update code to use name instead of full_name.
svn path=/trunk/mcs/; revision=54528
Raja R Harinath [Fri, 16 Dec 2005 10:47:35 +0000 (10:47 -0000)]
** merged revisions 54522, 54525 from mcs, with the following additional
changes:
* gmcs/generic.cs (GenericMethod.DefineMembers): Update to changes.
(TypeParameter.TypeParameter): Change type of 'parent' argument to DeclSpace.
svn path=/trunk/mcs/; revision=54527
Raja R Harinath [Fri, 16 Dec 2005 10:16:54 +0000 (10:16 -0000)]
** merged revisions 54091-54321 from mcs
svn path=/trunk/mcs/; revision=54526
Raja R Harinath [Fri, 16 Dec 2005 09:25:48 +0000 (09:25 -0000)]
Fix #77008.
* mcs/enum.cs (EnumMember.EnumMember): Pass the parent_enum as the
'parent' argument to the base constructor.
* tests/test-478.cs: New test case from #77008.
svn path=/trunk/mcs/; revision=54525
Atsushi Eno [Fri, 16 Dec 2005 08:31:59 +0000 (08:31 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngPattern.cs : RelaxngData and RelaxngValue was writing QName
instead of NCName for type attribute (wrong).
svn path=/trunk/mcs/; revision=54524
Atsushi Eno [Fri, 16 Dec 2005 08:09:37 +0000 (08:09 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : it needs another namespace resolver for datatypes.
svn path=/trunk/mcs/; revision=54523
Raja R Harinath [Fri, 16 Dec 2005 08:05:03 +0000 (08:05 -0000)]
Remove all mention of TypeContainer from decl.cs.
* decl.cs (MemberCore.Parent): Change into a DeclSpace.
(MemberCore.MemberCore): Change type of 'parent' argument to DeclSpace.
(DeclSpace.DeclSpace): Likewise.
(DeclSpace.DefineMembers): Remove unused argument.
* cs-parser.jay (pop_current_class): Update to changes. Simplify
debugging check -- we don't care if the debug code throws an
InvalidCastException instead of an InternalErrorException.
* class.cs (TypeContainer.DefineMembers): Update to changes.
(TypeContainer.DoDefineMembers): Likewise.
(TypeContainer.GetMethods): Likewise.
(PropertyMember.Define): Likewise.
(MemberBase.Parent): New property that forwards to
MemberCore.Parent, but ensures that we get a TypeContainer.
* rootcontext.cs (RootContext.PopulateCoreType): Update to changes.
(RootContext.PopulateTypes): Likewise. Remove special case code
for !RootContext.StdLib: DefineMembers is idempotent.
svn path=/trunk/mcs/; revision=54522
Atsushi Eno [Fri, 16 Dec 2005 07:24:29 +0000 (07:24 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : actually no need to change signature; use
GetNamespacesInScope().
svn path=/trunk/mcs/; revision=54521
Atsushi Eno [Fri, 16 Dec 2005 07:20:34 +0000 (07:20 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : use XmlNamespaceManager for NSResolver even in NET_2_0.
svn path=/trunk/mcs/; revision=54520
Raja R Harinath [Fri, 16 Dec 2005 07:12:59 +0000 (07:12 -0000)]
Fix typo
svn path=/trunk/mcs/; revision=54519
Atsushi Eno [Fri, 16 Dec 2005 05:40:17 +0000 (05:40 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : another escapement is required.
svn path=/trunk/mcs/; revision=54518
Atsushi Eno [Fri, 16 Dec 2005 05:36:21 +0000 (05:36 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : oops, missing keyword escapement.
svn path=/trunk/mcs/; revision=54517
Chris Toshok [Fri, 16 Dec 2005 04:41:38 +0000 (04:41 -0000)]
2005-12-15 Chris Toshok <toshok@ximian.com>
* ConfigurationElement.cs (LockAllAttributesExcept): implement.
(LockAllElementsExcept): implement.
(DeserializeElement): handle the built-in attributes (lock* for
the time being).
svn path=/trunk/mcs/; revision=54516
Chris Toshok [Fri, 16 Dec 2005 04:39:01 +0000 (04:39 -0000)]
2005-12-15 Chris Toshok <toshok@ximian.com>
* ConfigurationLockCollection.cs (..ctor): don't call Populate.
(Populate): nuke.
(CheckName): make sure the passes in name is valid for this type
of lock collection.
(Add): call CheckName, and set is_modified to true.
(Clear): set is_modified.
(IsReadOnly): add plausable implementation, including exception in
the case where the name isn't found.
(Remove): set is_modified.
(SetFromList): implement.
(get_AttributeList): implement.
(set_IsModified): add internal setter so we can clear the modified
flag.
svn path=/trunk/mcs/; revision=54515
Chris Toshok [Fri, 16 Dec 2005 04:36:10 +0000 (04:36 -0000)]
add test for invalid attribute name in lockAllAttributesExcept attribute
svn path=/trunk/mcs/; revision=54514
Atsushi Eno [Fri, 16 Dec 2005 03:10:46 +0000 (03:10 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : no xsi in grammar, please.
svn path=/trunk/mcs/; revision=54511
Atsushi Eno [Fri, 16 Dec 2005 03:02:50 +0000 (03:02 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* RncWriter.cs : added WriteNamespaces() to handle namespace output
by itself.
* RelaxngPattern.cs : in WriteCompact(), use WriteNamespace() to
let RncWriter handle namespace output by itself.
svn path=/trunk/mcs/; revision=54510
Atsushi Eno [Fri, 16 Dec 2005 02:46:06 +0000 (02:46 -0000)]
2005-12-16 Atsushi Enomoto <atsushi@ximian.com>
* dtd2rng.cs : datatypeLibrary remapping. Compact syntax output.
Datatype library remapping is required.
svn path=/trunk/mcs/; revision=54508
César Natarén [Fri, 16 Dec 2005 00:34:13 +0000 (00:34 -0000)]
2005-12-15 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most.tests: Enable js1_3/inherit/proto_11.js and
js1_3/inherit/proto_12.js.
svn path=/trunk/mcs/; revision=54506
César Natarén [Fri, 16 Dec 2005 00:33:23 +0000 (00:33 -0000)]
2005-12-15 Cesar Lopez Nataren <cnataren@novell.com>
* Parser.cs: Use the new assign ctr and Init method.
* expression.cs (Assign): Modify the number of ctr and added the Init method.
* BinaryOp.cs: Add setter for left.
svn path=/trunk/mcs/; revision=54505
Chris Toshok [Thu, 15 Dec 2005 21:54:05 +0000 (21:54 -0000)]
oops, don't commit these
svn path=/trunk/mcs/; revision=54502
Chris Toshok [Thu, 15 Dec 2005 21:53:50 +0000 (21:53 -0000)]
bunch of new tests, mostly centering around the lock* attributes
svn path=/trunk/mcs/; revision=54501
Zoltan Varga [Thu, 15 Dec 2005 21:48:09 +0000 (21:48 -0000)]
2005-12-15 Zoltan Varga <vargaz@gmail.com>
* cpblkTest.il: Fix storage of addresses into int32 variables.
svn path=/trunk/mono/; revision=54500
César Natarén [Thu, 15 Dec 2005 20:14:44 +0000 (20:14 -0000)]
2005-12-15 Cesar Lopez Nataren <cnataren@novell.com>
* mjs-most.tests: Enable ecma/Date/15.9.1.1-2.js.
svn path=/trunk/mcs/; revision=54494
César Natarén [Thu, 15 Dec 2005 20:12:17 +0000 (20:12 -0000)]
2005-12-15 Cesar Lopez Nataren <cnataren@novell.com>
* Statement.cs (For.Emit): Take into account what relational
operator is in place.
* expression.cs (Assign.Emit): Emit box in the op= cases.
svn path=/trunk/mcs/; revision=54493
Zoltan Varga [Thu, 15 Dec 2005 19:50:34 +0000 (19:50 -0000)]
2005-12-15 Zoltan Varga <vargaz@gmail.com>
* iltests.il: Add tests for some opcodes not covered by the other
tests.
svn path=/trunk/mono/; revision=54491
Peter Dennis Bartok [Thu, 15 Dec 2005 19:04:15 +0000 (19:04 -0000)]
2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
* TextBox.cs:
- Removed local password_char field (moved to TextBoxBase)
- Now setting the document's password var when password is
set
* TextBoxBase.cs:
- Added password_char field (needed here so MultiLine can
access it)
- Added logic to MultiLine property setter to set the document's
variable when password display is allowed
- Removed debug code and made some debug code conditional
* TextControl.cs:
- Added RecalculatePasswordLine() method to handle special password
char only lines
- Added PasswordChar property, also added related tracking vars
- Draw() method now uses local text var for grabbing text to draw,
this var is set to line.text unless we're doing password display,
then it is set to the pre-generated all-password-chars line
- Added calling RecalculatePasswordLine() method for password
lines
svn path=/trunk/mcs/; revision=54484
Ankit Jain [Thu, 15 Dec 2005 18:15:57 +0000 (18:15 -0000)]
* test-array.il: Oops, contained two copies of the test case.
svn path=/trunk/mcs/; revision=54477
Dick Porter [Thu, 15 Dec 2005 18:02:07 +0000 (18:02 -0000)]
2005-12-15 Dick Porter <dick@ximian.com>
* processes.c (CreateProcess): The pipe-based cross-process
exclusion technique was trying to write NULL buffers when appname
was NULL (eg when coming from ShellExecuteEx,) which usually
succeeded even though EFAULT was returned - but sometimes it
failed. This meant that the child process could block forever on
the pipe read. Replace it with the simpler shared handle
semaphore protection used everywhere else. This showed up with
the test case in bug 76684.
svn path=/trunk/mono/; revision=54476
Gert Driesen [Thu, 15 Dec 2005 17:53:24 +0000 (17:53 -0000)]
* corlib_test.dll.sources: Added ObjectManagerTest.cs in
System.Runtime.Serialization.
* ObjectManagerTest.cs: New test for bug #76931.
svn path=/trunk/mcs/; revision=54475
Atsushi Eno [Thu, 15 Dec 2005 16:02:31 +0000 (16:02 -0000)]
2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
* dtd2rng.cs : mixed + empty should be text.
svn path=/trunk/mcs/; revision=54471
Atsushi Eno [Thu, 15 Dec 2005 16:01:25 +0000 (16:01 -0000)]
2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs : (CreateXsdParticle) element particle was
missing occurence indicators.
svn path=/trunk/mcs/; revision=54470
Alexandre Rocha Lima e Marcondes [Thu, 15 Dec 2005 15:51:49 +0000 (15:51 -0000)]
2005-12-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* test-mbas.pl: Parsing Test Files in order to find necessary
compilerOptions and generate the correct CompileCommand.
svn path=/trunk/mcs/; revision=54468
Konstantin Triger [Thu, 15 Dec 2005 15:43:39 +0000 (15:43 -0000)]
save StringManager into AppDomain
svn path=/trunk/mcs/; revision=54466
Martin Baulig [Thu, 15 Dec 2005 15:39:31 +0000 (15:39 -0000)]
2005-12-15 Martin Baulig <martin@ximian.com>
* ObjectManager.cs: When deserializing an object that has a
surrogate, actually check the return value of
ISerializationSurrogate.SetObjectData(); fixes #76931.
svn path=/trunk/mcs/; revision=54464
Alexandre Rocha Lima e Marcondes [Thu, 15 Dec 2005 15:14:08 +0000 (15:14 -0000)]
2005-12-07 Jelmer Vernooij <jelmer@samba.org>
* Makefile: allow build of only mbas, without the need to built
the class library
svn path=/trunk/mcs/; revision=54462
Atsushi Eno [Thu, 15 Dec 2005 14:43:15 +0000 (14:43 -0000)]
2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
* dtd2rng.cs, dtd2rng.exe.sources, Makefile, ChangeLog :
new files.
svn path=/trunk/mcs/; revision=54461
Ankit Jain [Thu, 15 Dec 2005 14:41:59 +0000 (14:41 -0000)]
In ilasm/tests:
* assembly.il: New. Test for multiple .assembly declarations.
* err-assembly.il: New. Negative test for the same.
In ilasm/codegen:
* CodeGen.cs (CodeGen.SetAssemblyName): Multiple .assembly declarations with different
names are not allowed.
svn path=/trunk/mcs/; revision=54460
Atsushi Eno [Thu, 15 Dec 2005 14:41:32 +0000 (14:41 -0000)]
2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
* dtd2xsd.cs : *.dtd file could be directly converted.
svn path=/trunk/mcs/; revision=54459
Atsushi Eno [Thu, 15 Dec 2005 14:40:17 +0000 (14:40 -0000)]
2005-10-05 Atsushi Enomoto <atsushi@ximian.com>
* System.Configuration.dll.sources: added
IntegerValidatorAttribute.cs, IntegerValidator.cs,
LongValidator.cs and LongValidatorAttribute.cs.
* IntegerValidatorAttribute.cs, IntegerValidator.cs,
LongValidator.cs, LongValidatorAttribute.cs : new files.
svn path=/trunk/mcs/; revision=54458
Sebastien Pouliot [Thu, 15 Dec 2005 14:29:54 +0000 (14:29 -0000)]
2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
* DirectoryInfoTest.cs: Added test cases for #76191 and #76903.
* PathTest.cs: Added test cases for #76191, the possible modification
of InvalidPathChars and the new 2.0 methods.
svn path=/trunk/mcs/; revision=54457
Sebastien Pouliot [Thu, 15 Dec 2005 14:29:34 +0000 (14:29 -0000)]
2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
* DirectoryInfo.cs: Fixed #76903 where the Name property wasn't
correct in some cases. Added special case for Windows drives. Reduced
temporary allocations in Get* methods (removed ArrayList). Added some
new 2.0 methods (partial).
* MonoIO.cs: Removed InvalidPathChars icall as the return value is
different from 1.x and 2.0. The values are now defined in Path.cs.
* Path.cs: Fixed #76191 so that GetFullPath on a Windows drive returns
the current directory (if it's on the specified drive). Fixed 2.0 API
changes (e.g. static class).
* SearchOption.cs: Added missing [Serializable] (2.0).
svn path=/trunk/mcs/; revision=54456
Neale Ferguson [Thu, 15 Dec 2005 14:27:58 +0000 (14:27 -0000)]
* mini-s390.c: Fix ADDCC/SBB bug reveealed by test_0_ulong_regress; Correct register loading for Tail processing; Correct trace output.
* inssel-s390.brg: Reimplement LSUB_OVF due to s390 implementation of signed math.
* cpu-s390.md: Correct size of jmp instruction.
svn path=/trunk/mono/; revision=54455
Raja R Harinath [Thu, 15 Dec 2005 14:22:17 +0000 (14:22 -0000)]
* metadata.c (do_mono_metadata_parse_generic_class): Don't pass the current
generic context when parsing the type being instantiated: it
cannot use it, anyway.
svn path=/trunk/mono/; revision=54454
Konstantin Triger [Thu, 15 Dec 2005 14:17:30 +0000 (14:17 -0000)]
fix index updates
svn path=/trunk/mcs/; revision=54453
Sebastien Pouliot [Thu, 15 Dec 2005 14:10:17 +0000 (14:10 -0000)]
2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
* DoubleTest.cs: Added test cases for parsing hexadecimal strings.
* SingleTest.cs: Added test cases for parsing hexadecimal strings.
svn path=/trunk/mcs/; revision=54452
Sebastien Pouliot [Thu, 15 Dec 2005 14:08:53 +0000 (14:08 -0000)]
2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
* DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
* Double.cs: Under 2.0 throw a ArgumentException when parsing with
NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
second, simpler, TryParse method (2.0).
* Single.cs: Added the TryParse methods for 2.0.
svn path=/trunk/mcs/; revision=54451
Sebastien Pouliot [Thu, 15 Dec 2005 13:47:02 +0000 (13:47 -0000)]
2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
* RijndaelTest.cs: Add test cases for cycling key sizes and block
sizes.
* SymmetricAlgorithm2Test.cs: Added test case for re-setting the
BlockSize. Keeping the same value *doesn't* change the current IV
(while doing the same on the KeySize *does* change the key).
svn path=/trunk/mcs/; revision=54450
Sebastien Pouliot [Thu, 15 Dec 2005 13:46:37 +0000 (13:46 -0000)]
SymmetricAlgorithm.cs: Changing (not setting) BlockSize must re-generate a new IV (so the properties are kept valid). Note that changing or setting (same value) the KeySize always re-generate a key.
svn path=/trunk/mcs/; revision=54449
Raja R Harinath [Thu, 15 Dec 2005 13:13:11 +0000 (13:13 -0000)]
* metadata.c (mono_metadata_parse_method_signature_full): Remove a dead store.
* loader.c (method_from_memberref): Don't inflate a signature if
it doesn't contain any type parameters.
svn path=/trunk/mono/; revision=54448
Raja R Harinath [Thu, 15 Dec 2005 12:56:01 +0000 (12:56 -0000)]
* generic.cs (TypeManager.IsGeneric): Remove unused method.
svn path=/trunk/mcs/; revision=54447
Raja R Harinath [Thu, 15 Dec 2005 11:42:40 +0000 (11:42 -0000)]
* typemanager.cs (TypeManager.GetFullName): Rewrite to handle nested types.
svn path=/trunk/mcs/; revision=54445
Raja R Harinath [Thu, 15 Dec 2005 11:30:45 +0000 (11:30 -0000)]
* System/Type.cs (IsGenericType): Make virtual.
* System.Reflection.Emit/TypeBuilder.cs (IsGenericType): Implement override.
* Test/System.Reflection.Emit/TypeBuilderTest.cs (GenericType): Add a minimal
testcase for generic type builders.
svn path=/trunk/mcs/; revision=54444
Zoltan Varga [Thu, 15 Dec 2005 10:56:33 +0000 (10:56 -0000)]
2005-12-15 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_vtable): Call mono_reflection_get_dynamic_overrides () to get the overrides in dynamic assemblies.
svn path=/trunk/mono/; revision=54442
Konstantin Triger [Thu, 15 Dec 2005 10:18:32 +0000 (10:18 -0000)]
allow null string in WriteCData
svn path=/trunk/mcs/; revision=54441
Peter Dennis Bartok [Thu, 15 Dec 2005 03:50:03 +0000 (03:50 -0000)]
2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs:
- Added Reparented property to allow tracking of Window Manager
reparenting actions (which affect X/Y calculations of toplevel
windows)
- Made ToString() print window handles in hex
* XplatUIX11.cs:
- AddConfigureNotify(): Now uses reparented state off Hwnd to
determine if X/Y needs offsetting
- AddConfigureNotify(): Fixed offset calculations
- Now adds ReparentNotify messages into the queue
- Now processes ReparentNotify messages and causes a
WM_WINDOWPOSCHANGED message to be sent upstream if a window
is reparented (as most likely it's X/Y coordinates are changed
due to that)
These fixes will fix the 'random' window repositioning of toplevel windows
when setting one of the properties that affect size or location (Left, Top,
Size, Location, Bounds, etc.) Thanks to Eric Butler for a testapp that
showed this problem.
svn path=/trunk/mcs/; revision=54437