Atsushi Eno [Wed, 12 Jan 2005 11:28:45 +0000 (11:28 -0000)]
2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSetAssertion.cs : forgot one required update for refreshed tests.
svn path=/trunk/mcs/; revision=38773
Atsushi Eno [Wed, 12 Jan 2005 11:19:44 +0000 (11:19 -0000)]
2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
* test103.xsd : added.
svn path=/trunk/mcs/; revision=38772
Atsushi Eno [Wed, 12 Jan 2005 11:18:46 +0000 (11:18 -0000)]
2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
* DataSetReadXmlSchemaTest.cs : added test for bug #58744.
* DataSetReadXmlTest.cs : Added NameConflictDSAndTable().
* DataSetTest.cs :
Now use XmlSerializer based output, to avoid silly attribute order in
OwnWriteXmlSchema(),WriteXmlSchema(),ReadWriteXmlSchemaIgnoreSchema(),
ReadWriteXmlSchema() and WriteDifferentNamespaceSchema().
Added SerializeDataSet2(),SerializeDataSet3(),DeserializeDataSet(),
ReadWriteXml3(),WriteXmlSchema2(),WriteXmlSchema3(),WriteXmlSchema4(),
WriteXmlSchema5(),WriteXmlSchema6(),WriteXmlSchema7(),
WriteXmlExtendedProperties() and WriteXmlModeSchema().
svn path=/trunk/mcs/; revision=38771
Peter Dennis Bartok [Wed, 12 Jan 2005 09:26:10 +0000 (09:26 -0000)]
- Fixed broken Contains() method
- Implemented GetNextControl() method. Finally. This is the prerequisite
for focus handling.
svn path=/trunk/mcs/; revision=38770
Atsushi Eno [Wed, 12 Jan 2005 08:23:40 +0000 (08:23 -0000)]
2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
* genxs.1 : added description on the new features: "noReader",
"noWriter" and "generateAsInternal".
svn path=/trunk/mono/; revision=38768
Raja R Harinath [Wed, 12 Jan 2005 06:33:01 +0000 (06:33 -0000)]
* Makefile (run-generics-tests): Fix quoting to better work in
Windows. Remove some stray code leftover from testing.
svn path=/trunk/mcs/; revision=38767
Anirban Bhattacharjee [Wed, 12 Jan 2005 06:11:42 +0000 (06:11 -0000)]
2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
* statement.cs: Another trivial correction
svn path=/trunk/mcs/; revision=38766
Peter Dennis Bartok [Wed, 12 Jan 2005 06:01:55 +0000 (06:01 -0000)]
- Fixed copyright
svn path=/trunk/mcs/; revision=38765
Peter Dennis Bartok [Wed, 12 Jan 2005 06:00:53 +0000 (06:00 -0000)]
- Added OSXStructs.cs
svn path=/trunk/mcs/; revision=38764
Peter Dennis Bartok [Wed, 12 Jan 2005 05:59:44 +0000 (05:59 -0000)]
- Added OSXStructs.cs
svn path=/trunk/mcs/; revision=38763
Geoff Norton [Wed, 12 Jan 2005 05:31:39 +0000 (05:31 -0000)]
2005-01-12 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
button mouse).
svn path=/trunk/mcs/; revision=38762
Atsushi Eno [Wed, 12 Jan 2005 04:33:28 +0000 (04:33 -0000)]
2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
* SerializationCodeGeneratorConfiguration.cs,
SerializationCodeGenerator.cs : Added some generation configuration:
<generateAsInternal>
write custom reader/writer as internal classes.
<noreader>, <nowriter>
They make generation of reader and/or writer optional.
* XmlSerializerNamespaces.cs :
Now it uses ListDictionary instead of Hashtable.
* XmlSerializationWriter.cs : entries in XmlSerializerNamespaces are
written unless there is already the same prefix-ns mapping.
svn path=/trunk/mcs/; revision=38760
César Natarén [Wed, 12 Jan 2005 02:44:10 +0000 (02:44 -0000)]
2005-01-11 Cesar Lopez Nataren <cnataren@novell.com>
* StringConstructor.cs: implement CreateInstance.
svn path=/trunk/mcs/; revision=38756
Jackson Harper [Wed, 12 Jan 2005 01:39:37 +0000 (01:39 -0000)]
* TreeView.cs: Still need to draw lines to siblings even if out of
the current node is out of the clip.
svn path=/trunk/mcs/; revision=38754
Peter Dennis Bartok [Wed, 12 Jan 2005 01:15:49 +0000 (01:15 -0000)]
- Implemented Z-Ordering (Control.UpdateZOrder())
- Implemented Control.UpdatStyles()
- Moved PeekMessageFlags to make them accessible to all drivers
- Fixed XplatUIX11.SetZOrder() bug
svn path=/trunk/mcs/; revision=38753
Lluis Sanchez [Wed, 12 Jan 2005 00:55:05 +0000 (00:55 -0000)]
2005-01-12 Lluis Sanchez Gual <lluis@novell.com>
* XmlTypeMapElementInfo.cs: Added new IndexOfElement method.
* XmlSchemaImporter.cs: When importing a base type of a complex type,
make sure that the base class is always imported as a class and not
as an array. If it has been imported as array, import it again.
This fixes bug #70839. Other minor fixes as well.
* XmlSerializationWriter.cs: Fixed warning.
svn path=/trunk/mcs/; revision=38750
Martin Baulig [Wed, 12 Jan 2005 00:51:48 +0000 (00:51 -0000)]
2005-01-12 Martin Baulig <martin@ximian.com>
* class-internals.h (mono_class_create_generic_2): Removed
function prototype, this function is now static inside class.c.
* class.c (mono_class_create_generic_2): Made this static, only
call it from mono_class_init() and mono_class_setup_parent().
(collect_implemented_interfaces_aux): Call mono_class_init() on
the interfaces we collect.
(mono_class_setup_vtable): Call mono_class_init (class->parent).
svn path=/trunk/mono/; revision=38749
Lluis Sanchez [Wed, 12 Jan 2005 00:42:00 +0000 (00:42 -0000)]
2005-01-12 Lluis Sanchez Gual <lluis@novell.com>
* CSharpCodeGenerator.cs: Avoid keywords when writing enum members.
Removed the GetSafeTypeName method. It was a wrong bug fix. Type names
are expected to always use the full name form, never the alias.
svn path=/trunk/mcs/; revision=38747
Gonzalo Paniagua Javier [Tue, 11 Jan 2005 23:32:20 +0000 (23:32 -0000)]
fix
svn path=/trunk/mcs/; revision=38744
Jackson Harper [Tue, 11 Jan 2005 22:41:53 +0000 (22:41 -0000)]
* driver.cs: Make sure the actual assembly file exists when
listing assemblies. Some packages don't remove the entire
directory so we get existing directories without assemblies in
them.
svn path=/trunk/mcs/; revision=38741
Miguel de Icaza [Tue, 11 Jan 2005 22:07:54 +0000 (22:07 -0000)]
Add new diff target
svn path=/trunk/mcs/; revision=38738
Miguel de Icaza [Tue, 11 Jan 2005 22:05:33 +0000 (22:05 -0000)]
Remove unused files
svn path=/trunk/mcs/; revision=38737
Miguel de Icaza [Tue, 11 Jan 2005 22:05:11 +0000 (22:05 -0000)]
Add new BMCS: based on Jambu's code but migrated to 'gmcs' so we get generics support
svn path=/trunk/mcs/; revision=38735
Gonzalo Paniagua Javier [Tue, 11 Jan 2005 22:03:34 +0000 (22:03 -0000)]
2005-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Text/StringBuilder.cs: when creating the StringBuilder from a
string, the maximum capacity remains Int32.MaxValue.
* Test/System.Text/StringBuilderTest.cs: new tests for capacity when
the StringBuilder is created from a string.
svn path=/trunk/mcs/; revision=38734
Zoltan Varga [Tue, 11 Jan 2005 21:00:14 +0000 (21:00 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* threads.c (mono_thread_attach): Call DuplicateHandle on the thread handle on win32 to make
it a real thread handle.
svn path=/trunk/mono/; revision=38731
Sebastien Pouliot [Tue, 11 Jan 2005 20:28:39 +0000 (20:28 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* Hash.cs: Fix regression in 2.0 to load default (hash) evidences.
svn path=/trunk/mcs/; revision=38728
Miguel de Icaza [Tue, 11 Jan 2005 20:06:01 +0000 (20:06 -0000)]
Update to __Internal
svn path=/trunk/mono/; revision=38727
Sebastien Pouliot [Tue, 11 Jan 2005 20:01:35 +0000 (20:01 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetAttribute.cs: Throw proper exception if XML cannot be
decoded. Actually load (not just creates) the XML permissions.
svn path=/trunk/mcs/; revision=38726
Sebastien Pouliot [Tue, 11 Jan 2005 20:00:07 +0000 (20:00 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSet.cs: Simplified GetHashCode as two exact copies may
have different hash codes (documented as such). This fix some unit
tests for 2.0.
svn path=/trunk/mcs/; revision=38725
Sebastien Pouliot [Tue, 11 Jan 2005 19:58:23 +0000 (19:58 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* DSAManaged.cs: PublicOnly now reports false when a key hasn't yet
been generated.
* RSAManaged.cs: PublicOnly now reports false when a key hasn't yet
been generated.
svn path=/trunk/mcs/; revision=38724
Sebastien Pouliot [Tue, 11 Jan 2005 19:56:12 +0000 (19:56 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* DSACryptoServiceProvider.cs: Import|ExportCspBlob throws
NotImplementedException (CryptoConvert class doesn't support DSA yet).
* RSACryptoServiceProvider.cs: SignHash/VerifyHash defaults to SHA-1
in 2.0. VerifyHash throw appropriate exception when no OID is
specified (1.0/1.1). Import|ExportCspBlob implemented using the
CryptoConvert class.
* RSAOAEPKeyExchangeDeformatter.cs: Throw exception if no key is
specified.
* RSAOAEPKeyExchangeFormatter.cs: Throw exception if no key is
specified.
* RSAPKCS1KeyExchangeFormatter.cs: Throw exception if no key is
specified.
* SymmetricAlgorithm.cs: More strict IV length checks on 2.0.
svn path=/trunk/mcs/; revision=38723
Sebastien Pouliot [Tue, 11 Jan 2005 19:43:46 +0000 (19:43 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
have been removed from 2.0.
svn path=/trunk/mcs/; revision=38722
Sebastien Pouliot [Tue, 11 Jan 2005 19:42:44 +0000 (19:42 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* DSACryptoServiceProviderTest.cs: Fixed VerifySignatureWithoutKey to
ensure that Mono didn't create the key before starting verification.
* RSACryptoServiceProviderTest.cs: Added tests for PublicOnly in the
constructor tests and for VerifyHash with a null OID.
* RSAPKCS1SignatureFormatterTest.cs: Fixed signatures values for
SHA256, SHA384 and SHA512 for NET_2_0 profile. The older signatures
(working only in Mono) can't be used because 2.0 use new OID for those
hash algorithms. Note that this still only works with Mono in 2.0!
svn path=/trunk/mcs/; revision=38721
Sebastien Pouliot [Tue, 11 Jan 2005 19:31:44 +0000 (19:31 -0000)]
2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainTest.cs: Removed tests for Activate and ActivateNewProcess
as the methods have been removed from fx 2.0.
svn path=/trunk/mcs/; revision=38720
Atsushi Eno [Tue, 11 Jan 2005 18:31:14 +0000 (18:31 -0000)]
2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchema.cs : Write() should handle carefully output
namespace/prefix mapping.
* XmlSchemaTests.cs : added TestWriteNamespaces2 ().
svn path=/trunk/mcs/; revision=38718
Zoltan Varga [Tue, 11 Jan 2005 17:45:15 +0000 (17:45 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* thread6.cs: Add test for rethrowing abort exceptions.
svn path=/trunk/mono/; revision=38717
Zoltan Varga [Tue, 11 Jan 2005 17:44:11 +0000 (17:44 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c exceptions-ppc.c aot.c: Cope with MonoJitInfo
changes.
* mini.h: Bump AOT version.
* mini.h (MonoCompile): Change exvar to a hash table.
* mini.c: Allocate a separate exvar for each handler block.
* mini.c: Get rid of the computation of filter_lengths, its not needed.
* mini.c inssel.brg: Change OP_THROW_OR_NULL to compare the current
ex var with the pending exception and only throw if the two are equal.
Fixes #68552.
svn path=/trunk/mono/; revision=38716
Zoltan Varga [Tue, 11 Jan 2005 17:35:30 +0000 (17:35 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* domain-internals.h: Move exvar_offset from MonoJitInfo to
MonoJitExceptionInfo, since each catch clause needs its own variable.
svn path=/trunk/mono/; revision=38715
Zoltan Varga [Tue, 11 Jan 2005 17:32:18 +0000 (17:32 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs: Add tests for rethrow and nested catch clauses.
svn path=/trunk/mono/; revision=38714
Zoltan Varga [Tue, 11 Jan 2005 16:54:11 +0000 (16:54 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c: Fix warnings.
svn path=/trunk/mono/; revision=38713
Zoltan Varga [Tue, 11 Jan 2005 16:49:44 +0000 (16:49 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am (common_sources): Move mini-exceptions.c here as it is
used by all the ports now.
svn path=/trunk/mono/; revision=38712
Zoltan Varga [Tue, 11 Jan 2005 16:46:31 +0000 (16:46 -0000)]
2005-01-11 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Add write-symbols and save-temps options.
svn path=/trunk/mono/; revision=38711
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