Dick Porter [Tue, 11 Jan 2005 16:39:38 +0000 (16:39 -0000)]
2005-01-11 Dick Porter <dick@ximian.com>
* image.c (mono_pe_file_open): New variant on mono_image_open()
that does not set up the CLI metadata; used for FileVersionInfo so
it can get the data for windows binaries too.
* process.c (process_read_string_block): Don't read off the end
of the StringTable block.
These both fix bug 70766.
svn path=/trunk/mono/; revision=38708
Atsushi Eno [Tue, 11 Jan 2005 16:19:25 +0000 (16:19 -0000)]
2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs,
CustomDataClassGenerator.cs :
In DataSet class, IXmlSerializable.GetSchema() returns null.
In strongly-typed class, it returns schema.
svn path=/trunk/mcs/; revision=38706
Atsushi Eno [Tue, 11 Jan 2005 16:04:50 +0000 (16:04 -0000)]
2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlDataDocumentTest2.cs : Added re-Load()ing test.
Added TypedDataDocument().
svn path=/trunk/mcs/; revision=38704
Atsushi Eno [Tue, 11 Jan 2005 16:00:05 +0000 (16:00 -0000)]
2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : WriteComment() was outputting extraneous EOL.
* XmlTextWriterTests.cs : added Indent2() to test WriteComment EOL.
svn path=/trunk/mcs/; revision=38702
Paolo Molaro [Tue, 11 Jan 2005 14:58:27 +0000 (14:58 -0000)]
Cleanup examples (removed extra thread execution).
svn path=/trunk/mono/; revision=38700
Paolo Molaro [Tue, 11 Jan 2005 14:42:08 +0000 (14:42 -0000)]
Clarify doc.
svn path=/trunk/mono/; revision=38699
Anirban Bhattacharjee [Tue, 11 Jan 2005 14:34:13 +0000 (14:34 -0000)]
2005-01-11 Anirban Bhattacharjee <banirban@novell.com>
* statement.cs: A trivial correction in yesterday's check-in
svn path=/trunk/mcs/; revision=38698
Paolo Molaro [Tue, 11 Jan 2005 14:19:09 +0000 (14:19 -0000)]
Tue Jan 11 15:26:00 CET 2005 Paolo Molaro <lupus@ximian.comt>
* gc.c: set some fields to NULL at GC cleanup time.
* threads.c: if we quit the main thread, call exit ().
svn path=/trunk/mono/; revision=38697
Zoltan Varga [Tue, 11 Jan 2005 13:52:36 +0000 (13:52 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
NET 2.0.
svn path=/trunk/mcs/; revision=38696
Raja R Harinath [Tue, 11 Jan 2005 13:51:16 +0000 (13:51 -0000)]
Improve standard-compliance of simple name and member access
resolution. Fixes bugs #52697, #57200, #67520, #69519.
* ecore.cs (FullNamedExpression): New abstract base class
for Namespaces and TypeExpressions.
(ResolveFlags.SimpleName): Remove.
(SimpleName): Remove support for dotted names.
(SimpleName.ResolveAsTypeStep): Simplify. Now just a wrapper to
DeclSpace.FindType and DeclSpace.LookupType.
(SimpleName.DoSimpleNameResolve): Remove support for dotted names.
(Expression.ExprClassName): Make member function.
* expression.cs (MemberAccess.ResolveAsTypeStep): Support LHS being
a namespace. Remove creation of dotted "SimpleName"s.
(MemberAccess.DoResolve): Likewise.
* decl.cs (DeclSpace.Cache): Make private.
(DeclSpace.LookupInterfaceOrClass): Return a FullNamedExpression.
(DeclSpace.FindType): Update.
(DeclSpace.LookupType): Move here from RootContext. Return a
FullNamedExpression.
* namespace.cs (Namespace): Derive from FullNamedExpression
so that it can be part of expression resolution.
(Namespace.Lookup): Return an FullNamedExpression.
(NamespaceEntry.LookupAlias): Lookup aliases only in current
namespace.
* rootcontext.cs (NamespaceLookup): Remove.
(LookupType): Move to DeclSpace.
* attribute.cs (CheckAttributeType): Update.
* doc.cs (FindDocumentedType): Remove allowAlias argument.
(FindDocumentedTypeNonArray): Likewise.
svn path=/trunk/mcs/; revision=38695
Jackson Harper [Tue, 11 Jan 2005 13:49:46 +0000 (13:49 -0000)]
* TreeView.cs: When setting the hbar/vbar/grip position use
SetBounds so that perform layout is only called once. Also suspend
and resume layout so layout is only done once for all controls.
- Removed some debug fluff
* SizeGrip.cs: Call base implmentation in overriding methods.
- When visibility is changed the drawing buffers are killed so we
need to redraw.
svn path=/trunk/mcs/; revision=38694
Raja R Harinath [Tue, 11 Jan 2005 13:49:17 +0000 (13:49 -0000)]
* test-334.cs: New test for #69519.
svn path=/trunk/mcs/; revision=38693
Sebastien Pouliot [Tue, 11 Jan 2005 13:16:45 +0000 (13:16 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Fixed NullReferenceException when asking for
data that wasn't a proper X.509 certificate.
svn path=/trunk/mcs/; revision=38692
Sebastien Pouliot [Tue, 11 Jan 2005 13:16:19 +0000 (13:16 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Added support for ANSI X9.23 padding and
ISO 10126 padding modes (applies to all symmetric block ciphers).
svn path=/trunk/mcs/; revision=38691
Dick Porter [Tue, 11 Jan 2005 13:13:47 +0000 (13:13 -0000)]
2005-01-11 Dick Porter <dick@ximian.com>
* error.c (errno_to_WSA): Add EADDRNOTAVAIL error code
translation.
svn path=/trunk/mono/; revision=38689
Jackson Harper [Tue, 11 Jan 2005 13:12:27 +0000 (13:12 -0000)]
* TreeView.cs: Calculate the open node count while drawing. This
saves us an entire tree traversal for every paint operation. Use
a member var for the open node count so less vars are passed around.
svn path=/trunk/mcs/; revision=38688
Raja R Harinath [Tue, 11 Jan 2005 13:11:53 +0000 (13:11 -0000)]
* Makefile (all-local): Add CS0118-2-lib.dll.
(run-mcs-tests, runt-generics-tests): Don't pipe through tee. It
loses exit code of do-tests.pl.
* do-tests.pl (PROFILELOG): New. Copy all output to this file too.
* cs0234-2.cs: Bug #52697.
* cs0234-3.cs: Bug #57200.
* cs0118-2.cs, CS0118-2-lib.cs: Bug #67520.
* cs0538-2.cs: Remove bogus test.
svn path=/trunk/mcs/; revision=38687
Raja R Harinath [Tue, 11 Jan 2005 13:09:33 +0000 (13:09 -0000)]
Fix cs0509.cs, cs1632.cs.
* class.cs (TypeContainer.GetNormalBases): Don't assume !IsClass
is the same as IsInterface.
(TypeContainer.GetClassBases): Likewise.
* statement.cs (LabeledStatement.ig): New field.
(LabeledStatement.LabelTarget): Save ILGenerator which created the
label.
(LabeledStatement.DoEmit): Check that the label was created with
the same ILGenerator.
svn path=/trunk/mcs/; revision=38686
Sebastien Pouliot [Tue, 11 Jan 2005 13:00:12 +0000 (13:00 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Added support to create RIPEMD160 and the new HMAC
algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
HMACSHA512). This fix the unit tests failures in Mono.Security.dll in
the NET_2_0 profile.
svn path=/trunk/mcs/; revision=38685
Sebastien Pouliot [Tue, 11 Jan 2005 12:57:11 +0000 (12:57 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfigTest.cs: Added new RIPEMD160 hash algorithm and new HMAC
algorithms (HMACMD5, HMACRIPEMD160, HMACSHA256, HMACSHA384 and
HMACSHA512) to the tests.
svn path=/trunk/mcs/; revision=38684
John BouAntoun [Tue, 11 Jan 2005 11:26:38 +0000 (11:26 -0000)]
* MonthCalendar.cs:
- fixed selection to use mousemove, not mouse polling on timer
* ThemeWin32Classic.cs
- removed redundant unused variable "no_more_content"
svn path=/trunk/mcs/; revision=38683
Peter Dennis Bartok [Tue, 11 Jan 2005 10:46:19 +0000 (10:46 -0000)]
- Fixed DoEvents to not block
svn path=/trunk/mcs/; revision=38682
Peter Dennis Bartok [Tue, 11 Jan 2005 09:57:36 +0000 (09:57 -0000)]
- Switched XplatUIWin32 to Unicode. Fixes #71147
- Added generation of TextChanged event to TextBoxBase
svn path=/trunk/mcs/; revision=38681
Atsushi Eno [Tue, 11 Jan 2005 07:37:05 +0000 (07:37 -0000)]
2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
* NewMonoXSD.cs : by default, dataset namespace is not "Schemas" but
empty.
svn path=/trunk/mcs/; revision=38680
Atsushi Eno [Tue, 11 Jan 2005 06:26:13 +0000 (06:26 -0000)]
2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlReaderCommonTests.cs :
Oops, ReadAttributeValue() was not reverted. Now marked as NotDotNet.
svn path=/trunk/mcs/; revision=38679
Atsushi Eno [Tue, 11 Jan 2005 06:15:18 +0000 (06:15 -0000)]
2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlReaderCommonTests.cs : reverted r38601. It is MS XmlTextReader
that is buggy on attribute value's Prefix and NamespaceURI.
svn path=/trunk/mcs/; revision=38678
Manjula GHM [Tue, 11 Jan 2005 04:45:06 +0000 (04:45 -0000)]
Added new files
svn path=/trunk/mcs/; revision=38673
Manjula GHM [Tue, 11 Jan 2005 04:44:37 +0000 (04:44 -0000)]
Added new files
svn path=/trunk/mcs/; revision=38672
Miguel de Icaza [Tue, 11 Jan 2005 02:07:36 +0000 (02:07 -0000)]
Update man page
svn path=/trunk/mono/; revision=38668
Sebastien Pouliot [Tue, 11 Jan 2005 01:18:39 +0000 (01:18 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Change the OID for SHA-2 algorithms to match 2.0
and added new OID for asymmetric and symmetric algorithms.
* CspKeyContainerInfo.cs: Added CryptoKeySecurity property. This will
always return null until we support access control for key containers.
* CspParameters.cs: Added new constructors and propertys for access
control and password (2.0).
* DSASignatureDeformatter.cs: Throw ArgumentNullException in NET_2_0
if a null key is specified.
* DSASignatureFormatter.cs: Throw ArgumentNullException in NET_2_0 if
a null key is specified.
* HashAlgorithm.cs: Fix the reported exceptions for output buffers.
* HMAC.cs: Change the .Clear (which calls Dispose) to a .Initialize.
* MACTripleDES.cs: Removed unrequired private field _padding.
* PasswordDeriveBytes.cs: Added 4 new constructors where the password
is a byte[] (as it seems MS won't be using SecureString for this).
* RIPEMD160Managed.cs: Removed overriden Dispose method to match 2.0.
Clear buffers when initializing (e.g. re-using the hash instance).
* Rfc2898DeriveBytes.cs: Added a new constructor where the password
is a byte[] (as it seems MS won't be using SecureString for this).
* RSAPKCS1SignatureDeformatter.cs: Throw ArgumentNullException in
NET_2_0 if a null key is specified.
* RSAPKCS1SignatureFormatter.cs: Throw ArgumentNullException in
NET_2_0 if a null key is specified.
* ToBase64Transform.cs: Fix the reported exceptions for output buffers.
svn path=/trunk/mcs/; revision=38667
Sebastien Pouliot [Tue, 11 Jan 2005 01:13:24 +0000 (01:13 -0000)]
Add System.Security.AccessControl.CryptoKeySecurity to the build.
svn path=/trunk/mcs/; revision=38666
Sebastien Pouliot [Tue, 11 Jan 2005 01:11:21 +0000 (01:11 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* CryptoKeySecurity.cs: Class declaration to complete CspParameters
and CspKeyContainerInfo in System.Security.Cryptography.
svn path=/trunk/mcs/; revision=38665
Sebastien Pouliot [Tue, 11 Jan 2005 01:09:36 +0000 (01:09 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* Hash.cs: Fix exception reporting for new methods in 2.0.
* Publisher.cs: Fixed unit tests failures under 2.0 (some exceptions
were changed).
* PublisherMembershipCondition.cs: Fixed unit tests failures under 2.0
(some exceptions were changed).
svn path=/trunk/mcs/; revision=38664
César Natarén [Tue, 11 Jan 2005 01:09:24 +0000 (01:09 -0000)]
implement toString
svn path=/trunk/mcs/; revision=38663
Sebastien Pouliot [Tue, 11 Jan 2005 01:07:14 +0000 (01:07 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* HostSecurityManager.cs: Fix signature as DetermineApplicationTrust
doesn't return a boolean anymore.
* SecurityElement.cs: The attributes and children elements are not
indented in 2.0. This fix many unit tests that do string compares.
* PermissionSetCollection.cs: We can't trust all IList implementations
to throw the ArgumentOutOfRangeException - so we better do it here.
svn path=/trunk/mcs/; revision=38662
César Natarén [Tue, 11 Jan 2005 01:06:48 +0000 (01:06 -0000)]
2005-01-10 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* BooleanPrototype.cs: update to assert_type.
* SemanticAnalizer.cs: move BooleanPrototype.AssertType here, rename it to assert_type.
svn path=/trunk/mcs/; revision=38661
Sebastien Pouliot [Tue, 11 Jan 2005 01:04:16 +0000 (01:04 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Fixed NullReferenceException when asking for
data that wasn't a proper X.509 certificate.
svn path=/trunk/mcs/; revision=38660
Sebastien Pouliot [Tue, 11 Jan 2005 01:02:46 +0000 (01:02 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* MACAlgorithm.cs: Added support for different padding modes (required
in 2.0).
* SymmetricTransform.cs: Added support for ANSI X9.23 padding and
ISO 10126 padding modes (applies to all symmetric block ciphers).
svn path=/trunk/mcs/; revision=38659
César Natarén [Tue, 11 Jan 2005 00:51:48 +0000 (00:51 -0000)]
implement CreateInstance
svn path=/trunk/mcs/; revision=38658
Zoltan Varga [Mon, 10 Jan 2005 23:52:43 +0000 (23:52 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* threads.c (interruption_request_apc): Decore APC callbacks with CALLBACK under win32.
svn path=/trunk/mono/; revision=38657
Jackson Harper [Mon, 10 Jan 2005 22:57:10 +0000 (22:57 -0000)]
* TreeView.cs: Try not to draw outside the clipping rectangle on
each node element.
svn path=/trunk/mcs/; revision=38656
Gonzalo Paniagua Javier [Mon, 10 Jan 2005 22:44:15 +0000 (22:44 -0000)]
2005-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RegexBugs.cs: tests for bug #69065.
svn path=/trunk/mcs/; revision=38654
Jordi Mas i Hernandez [Mon, 10 Jan 2005 22:40:26 +0000 (22:40 -0000)]
keyboard navigation, item navigation, bug fixes
svn path=/trunk/mcs/; revision=38653
Gonzalo Paniagua Javier [Mon, 10 Jan 2005 22:35:06 +0000 (22:35 -0000)]
2005-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* quicksearch.cs: handle IgnoreCase when getting the shift distance.
Fixes bug #69065. Patch by mei@work.email.ne.jp.
svn path=/trunk/mcs/; revision=38651
Zoltan Varga [Mon, 10 Jan 2005 21:59:04 +0000 (21:59 -0000)]
2005-01-10 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c: Add support for returning structs in registers from pinvoke functions on WIN32.
svn path=/trunk/mono/; revision=38649
Neale Ferguson [Mon, 10 Jan 2005 21:13:14 +0000 (21:13 -0000)]
- Fix atomic ops on s390
- Implement OP_ATOMIC_xxx operations on s390
- Standardize exception handling on s390 with other platforms
- Enable out of line bblock support
- Check vtable slot belongs to domain when building trampoline
svn path=/trunk/mono/; revision=38647
Juraj Skripsky [Mon, 10 Jan 2005 20:19:58 +0000 (20:19 -0000)]
2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
* RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
generates invalid html).
svn path=/trunk/mcs/; revision=38645
Jackson Harper [Mon, 10 Jan 2005 20:07:38 +0000 (20:07 -0000)]
* TreeView.cs:
- Implement fast scrolling. Now only the newly
exposed nodes are drawn and the old image is moved using the
XplatUI::ScrollWindow method.
- Factor in height of nodes when calculating whether or not the
node is in the clipping rect.
svn path=/trunk/mcs/; revision=38644
Jackson Harper [Mon, 10 Jan 2005 20:04:27 +0000 (20:04 -0000)]
Committed wrong file before.
svn path=/trunk/mcs/; revision=38643
Gonzalo Paniagua Javier [Mon, 10 Jan 2005 19:50:21 +0000 (19:50 -0000)]
2005-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Text/StringBuilder.cs: throw if the new size is greater than
the maximum capacity for the StringBuilder. Patch by luke@octerbar.net.
Fixes bug #62422.
* Test/System.Text/StringBuilderTest.cs: patch to test for capacity
being exceeded.
svn path=/trunk/mcs/; revision=38640
Jackson Harper [Mon, 10 Jan 2005 19:42:49 +0000 (19:42 -0000)]
* TreeView.cs: Implement fast scrolling. Now only the newly
exposed nodes are drawn and the old image is moved using the
XplatUI::ScrollWindow method.
svn path=/trunk/mcs/; revision=38639
Paolo Molaro [Mon, 10 Jan 2005 19:23:27 +0000 (19:23 -0000)]
Mon Jan 10 20:30:19 CET 2005 Paolo Molaro <lupus@ximian.com>
* atomic.h: fix some functions on ppc (tests/interlocked.cs).
svn path=/trunk/mono/; revision=38638
Sebastien Pouliot [Mon, 10 Jan 2005 18:50:34 +0000 (18:50 -0000)]
* PermissionSetCollectionTest.cs: Added tests for to see if alternates
IList implementation (e.g. non-ArrayList) are supported as this
affects where we must check for exceptions.
svn path=/trunk/mcs/; revision=38637
Jackson Harper [Mon, 10 Jan 2005 18:41:31 +0000 (18:41 -0000)]
* TreeNodeCollection.cs: Refresh the tree when a new node is added.
svn path=/trunk/mcs/; revision=38636
Paolo Molaro [Mon, 10 Jan 2005 17:57:50 +0000 (17:57 -0000)]
Moved and integrated the exiting threads.
svn path=/trunk/mono/; revision=38635
Paolo Molaro [Mon, 10 Jan 2005 17:49:06 +0000 (17:49 -0000)]
Mon Jan 10 18:53:05 CET 2005 Paolo Molaro <lupus@ximian.com>
* driver.c: we don't run the Main() code in a subthread anymore.
svn path=/trunk/mono/; revision=38634
Paolo Molaro [Mon, 10 Jan 2005 17:40:39 +0000 (17:40 -0000)]
Mon Jan 10 18:47:28 CET 2005 Paolo Molaro <lupus@ximian.com>
* threads.h, threads.c, object.c: added accessor and settor for
main_thread. Handle it specially when exiting from it: wait
for other foreground threads to exit.
svn path=/trunk/mono/; revision=38633
Dick Porter [Mon, 10 Jan 2005 17:05:22 +0000 (17:05 -0000)]
2005-01-10 Dick Porter <dick@ximian.com>
* misc.c (_wapi_calc_timeout): Guard against overflow when
calculating timeouts. This makes waiting with a large
(Int32.MaxValue) timeout not return immediately.
svn path=/trunk/mono/; revision=38632
Paolo Molaro [Mon, 10 Jan 2005 16:48:34 +0000 (16:48 -0000)]
Mon Jan 10 17:54:16 CET 2005 Paolo Molaro <lupus@ximian.com>
* mini.c: added experimental rtc support in the statistical
profiler: if the user has the permission, more accurate statistics
are gathered. Run with: MONO_RTC=4096 mono --profiler=default:stat ....
The MONO_RTC value must be restricted to what the linux rtc allows:
power of two from 64 to 8192 Hz.
svn path=/trunk/mono/; revision=38630
Paolo Molaro [Mon, 10 Jan 2005 16:44:36 +0000 (16:44 -0000)]
Added check for linux/rtc.h.
svn path=/trunk/mono/; revision=38629
Lluis Sanchez [Mon, 10 Jan 2005 16:03:43 +0000 (16:03 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@ximian.com>
* BinaryCommon.cs: IntPtr is not a primitive type in the serialization
world. This fixes bug #70757.
svn path=/trunk/mcs/; revision=38626
Sebastien Pouliot [Mon, 10 Jan 2005 15:31:38 +0000 (15:31 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* SecurityElementTest.cs: Add new tests for 2.0 methods. Adapted
existing tests to deal with the fact that 2.0 doesn't indent the XML
attributes and child elements.
svn path=/trunk/mcs/; revision=38625
Sebastien Pouliot [Mon, 10 Jan 2005 15:29:46 +0000 (15:29 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* TimeZoneTest.cs: Ignore (don't fail) test if the current time zone
isn't part of the test suite.
svn path=/trunk/mcs/; revision=38624
Lluis Sanchez [Mon, 10 Jan 2005 15:26:21 +0000 (15:26 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/MenuItemTemplateContainer.cs
System.Web.UI.WebControls/SubMenuStyle.cs
* Makefile: Added those files to the build.
svn path=/trunk/mcs/; revision=38623
Lluis Sanchez [Mon, 10 Jan 2005 15:25:57 +0000 (15:25 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* arrow_up.gif, arrow_down.gif: Added menu resources.
svn path=/trunk/mcs/; revision=38622
Lluis Sanchez [Mon, 10 Jan 2005 15:24:18 +0000 (15:24 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* TemplateControlCompiler.cs: Get the container type from the
template (if it was defined using TemplateContainerAttribute.
svn path=/trunk/mcs/; revision=38621
Lluis Sanchez [Mon, 10 Jan 2005 15:23:49 +0000 (15:23 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* Menu.cs: Implemented most of missing properties. Added support for
item templates. Implemented menu scrolling.
* MenuItemBinding.cs: Implemented most of missing properties.
* MenuItem.cs: Implemented most of missing properties.
* Menu.js: Implemented scrolling and menu reposition into screen.
* MenuItemTemplateContainer.cs: Implemented.
* SubMenuStyle.cs: Implemented.
svn path=/trunk/mcs/; revision=38620
Lluis Sanchez [Mon, 10 Jan 2005 15:21:19 +0000 (15:21 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* TemplateBuilder.cs: Added a special constructor that takes an
attribute provider as parameter. The container type for the template
may be defined in a TemplateContainerAttribute.
* ControlBuilder.cs: Create the TemplateBuilder using that special
constructor.
* TemplateContainerAttribute.cs: Added 2.0 property and ctor.
svn path=/trunk/mcs/; revision=38619
Lluis Sanchez [Mon, 10 Jan 2005 15:20:40 +0000 (15:20 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* AssemblyInfo.cs: More resources.
svn path=/trunk/mcs/; revision=38618
Lluis Sanchez [Mon, 10 Jan 2005 14:49:07 +0000 (14:49 -0000)]
2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
* System.dll.sources: Added new file:
System.ComponentModel/BindingDirection.cs
svn path=/trunk/mcs/; revision=38617
Lluis Sanchez [Mon, 10 Jan 2005 14:48:17 +0000 (14:48 -0000)]
2005-01-10 LLuis Sanchez Gual <lluis@novell.com>
* BindingDirection.cs: New enum.
svn path=/trunk/mcs/; revision=38616
Sebastien Pouliot [Mon, 10 Jan 2005 13:56:20 +0000 (13:56 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* PolicyLevelTest.cs: Removed [Ignore] from tests as they now execute
properly on 2.0. For 1.x the tests are added to the NotDotNet category.
svn path=/trunk/mcs/; revision=38615
Sebastien Pouliot [Mon, 10 Jan 2005 13:35:36 +0000 (13:35 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* CryptoStreamTest.cs, DSACryptoServiceProviderTest.cs,
HashAlgorithmTest.cs, PKCS1MaskGenerationMethodTest.cs,
RSAPKCS1KeyExchangeFormatterTest.cs, ToBase64TransformTest.cs:
Use [Category ("NotDotNet")] for tests failing only on the MS runtime
(so they are now executed on Mono).
svn path=/trunk/mcs/; revision=38614
Zoltan Varga [Mon, 10 Jan 2005 13:17:27 +0000 (13:17 -0000)]
2005-01-10 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c (mono_arch_emit_exceptions): Fix #71121.
svn path=/trunk/mono/; revision=38613
Anirban Bhattacharjee [Mon, 10 Jan 2005 13:12:04 +0000 (13:12 -0000)]
2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay:
* class.cs:
* statement.cs:
* rootcontext.cs:
* mb-tokenizer.cs:
* decl.cs:
* expression.cs:
* attribute.cs:
* enum.cs:
* codegen.cs:
Removed warnings from all the above files which were showing up during make
svn path=/trunk/mcs/; revision=38612
Anirban Bhattacharjee [Mon, 10 Jan 2005 13:04:06 +0000 (13:04 -0000)]
2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay: Check for the overloaded property
svn path=/trunk/mcs/; revision=38611
Anirban Bhattacharjee [Mon, 10 Jan 2005 12:59:03 +0000 (12:59 -0000)]
2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
* class.cs: A better check provided before adding a property to TypeContaineri
svn path=/trunk/mcs/; revision=38610
Sebastien Pouliot [Mon, 10 Jan 2005 12:22:16 +0000 (12:22 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
Add default culture (neutral) to the name when none is specified.
* AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
can't trust Id ?
svn path=/trunk/mcs/; revision=38609
Paolo Molaro [Mon, 10 Jan 2005 12:20:37 +0000 (12:20 -0000)]
Add a Makefile to run the tests and make the tests actually useful.
Added comments on tests that currently fail or that fail when
running the code in the main() thread.
svn path=/trunk/mono/; revision=38608
Sebastien Pouliot [Mon, 10 Jan 2005 12:18:59 +0000 (12:18 -0000)]
2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
* ApplicationIdentityTest.cs: Changed NullReferenceException for
ArgumentNullException (fixed in Dec CTP) and added test for cultures
in the application indentity.
svn path=/trunk/mcs/; revision=38607
Sureshkumar T [Mon, 10 Jan 2005 11:43:46 +0000 (11:43 -0000)]
2005-01-10 Sureshkumar T <tsureshkumar@novell.com>
* OdbcDataReader.cs: Connection has to be closed only after
Statement handle is freed. fixes bug #70048.
svn path=/trunk/mcs/; revision=38606
Paolo Molaro [Mon, 10 Jan 2005 10:58:18 +0000 (10:58 -0000)]
Mon Jan 10 12:06:18 CET 2005 Paolo Molaro <lupus@ximian.com>
* process.c, verify.c: remove some bloat.
svn path=/trunk/mono/; revision=38605
Paolo Molaro [Mon, 10 Jan 2005 10:11:06 +0000 (10:11 -0000)]
Mon Jan 10 05:20:49 EST 2005 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: better icache flush for smp.
svn path=/trunk/mono/; revision=38604
Peter Dennis Bartok [Mon, 10 Jan 2005 10:10:48 +0000 (10:10 -0000)]
- Band-aid for resize startup problems
svn path=/trunk/mcs/; revision=38603
Marek Safar [Mon, 10 Jan 2005 09:00:05 +0000 (09:00 -0000)]
2005-01-10 Marek Safar <marek.safar@seznam.cz>
* cs0612-2.cs, CS0612-2-lib.cs: Bug #70722.
svn path=/trunk/mcs/; revision=38602
Nick Drochak [Mon, 10 Jan 2005 08:58:42 +0000 (08:58 -0000)]
2005-01-10 Nick Drochak <ndrochak@ieee.org>
* XmlWriterTests.cs: Fix build warnings.
* XmlReaderCommonTests.cs: Make tests pass on Fx1.1. XmlNodeReader
has different default attributes it seems.
svn path=/trunk/mcs/; revision=38601
Jackson Harper [Mon, 10 Jan 2005 08:57:28 +0000 (08:57 -0000)]
* SizeGrip.cs: New internal class that is used as a sizing
grip control...hence the name.
svn path=/trunk/mcs/; revision=38600
Marek Safar [Mon, 10 Jan 2005 08:56:06 +0000 (08:56 -0000)]
2005-01-10 Marek Safar <marek.safar@seznam.cz>
* test-333.cs: New test for #70722.
svn path=/trunk/mcs/; revision=38599
Marek Safar [Mon, 10 Jan 2005 08:54:42 +0000 (08:54 -0000)]
2005-01-10 Marek Safar <marek.safar@seznam.cz>
Fix #71058
* attribute.cs (GetMethodObsoleteAttribute): Need to transform
accessors to its properties.
* ecore.cs (PropertyExpr): Add AccessorTable to help track back
from accessors to property.
svn path=/trunk/mcs/; revision=38598
Marek Safar [Mon, 10 Jan 2005 08:22:12 +0000 (08:22 -0000)]
2005-01-10 Marek Safar <marek.safar@seznam.cz>
Fix #70722
* class.cs (MethodCore.CheckBase): Test base method obsoleteness
only for overrides.
svn path=/trunk/mcs/; revision=38595
Peter Dennis Bartok [Mon, 10 Jan 2005 07:57:27 +0000 (07:57 -0000)]
- Implemented proper TabIndex handling for Control
- Added container bit to GroupBox
svn path=/trunk/mcs/; revision=38594
Nick Drochak [Mon, 10 Jan 2005 07:09:02 +0000 (07:09 -0000)]
2005-01-10 Nick Drochak <ndrochak@ieee.org>
* IPAddressTest.cs: Make tests pass on Fx1.1
svn path=/trunk/mcs/; revision=38592
Daniel Morgan [Mon, 10 Jan 2005 05:13:18 +0000 (05:13 -0000)]
2005-01-10 Daniel Morgan <danielmorgan@verizon.net>
* Mono.Data.SybaseClient/SybaseConnection.cs: fix
for packetSize not being set. Fixes bug 70930
Thanks to sebastien.robitaille@croesus.com (Sebastien Robitaille)
for reporting this bug.
svn path=/trunk/mcs/; revision=38588
Manjula GHM [Mon, 10 Jan 2005 04:27:41 +0000 (04:27 -0000)]
Added new files
svn path=/trunk/mcs/; revision=38587
Daniel Morgan [Mon, 10 Jan 2005 03:35:25 +0000 (03:35 -0000)]
2005-01-09 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleCommand.cs: set Command
property on OciStatementHandle
* System.Data.OracleClient/OracleConnection.cs: implement
properties ServerVersion and DataSource, partially
implement method ICloneable Clone, implement
connection StateChange and InfoMessage events
* System.Data.OracleClient/OciGlue.cs: add internal properties
for OciSessionHandle and OciServerHandle
* System.Data.OracleClient/OracleInfoMessageEventArgs.cs:
implement
* Test/TestOracleClient.cs: add new tests
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
- add property for OracleCommand
- patch from Joost Evertse <j.evertse@cloudseven.nl>
for handling OCI_SUCCES_WITH_INFO during Fetch which
indicates a Warning info message
* System.Data.OracleClient.Oci/OciCalls.cs: added OCI call
OCIServerVersion
* System.Data.OracleClient.Oci/OciDefineHandle.cs: flush
svn path=/trunk/mcs/; revision=38585
Nick Drochak [Mon, 10 Jan 2005 02:28:48 +0000 (02:28 -0000)]
2005-01-10 Nick Drochak <ndrochak@ieee.org>
* SocketPermissionAttributeTest.cs: Do not run tests on .NET where there
are bugs in the framework.
* WebPermissionAttributeTest.cs: Assuming these all pass on Fx2.0, so
make them pass on 1.1 too.
svn path=/trunk/mcs/; revision=38580
Nick Drochak [Mon, 10 Jan 2005 00:56:04 +0000 (00:56 -0000)]
2005-01-10 Nick Drochak <ndrochak@ieee.org>
* ConvertTest.cs: Test for exception thrown by 1.1. This is different
than the MSDN docs say. Probably a doc bug.
svn path=/trunk/mcs/; revision=38577
Jackson Harper [Mon, 10 Jan 2005 00:36:02 +0000 (00:36 -0000)]
* TextBoxBase.cs: Clear window when scrolling (fixes build).
svn path=/trunk/mcs/; revision=38576
Peter Dennis Bartok [Sun, 9 Jan 2005 23:19:31 +0000 (23:19 -0000)]
- Added ability to control ScrollWindow expose
- Added overload for ScrollWindow to allow only scrolling a rectangle
- Added Form methods
svn path=/trunk/mcs/; revision=38574
Sebastien Pouliot [Sun, 9 Jan 2005 23:17:51 +0000 (23:17 -0000)]
Add new unit tests for System.Security's HostSecurityManager and PermissionSetCollection classes
svn path=/trunk/mcs/; revision=38573