Patrik Torstensson [Mon, 8 Dec 2003 14:43:14 +0000 (14:43 -0000)]
2003-12-08 Patrik Torstensson <p@rxc.se>
* Binder.cs: Added internal helpers to get derived level and select the
most derived methodbase (used in GetMethodImpl)
svn path=/trunk/mcs/; revision=20873
Patrik Torstensson [Mon, 8 Dec 2003 14:37:11 +0000 (14:37 -0000)]
2003-12-08 Patrik Torstensson <p@rxc.se>
* TypeTest.cs: Added basic tests for GetMethodImpl and GetPropertyImpl
svn path=/trunk/mcs/; revision=20872
Atsushi Eno [Mon, 8 Dec 2003 14:36:32 +0000 (14:36 -0000)]
2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : more fixes. More presice UNC handling, opaque part
handling for non-standard uri (e.g. urn:go-mono.com), ToString()
fix (that returns AbsoluteUri, which is not escaped any more),
and so on.
svn path=/trunk/mcs/; revision=20871
Atsushi Eno [Mon, 8 Dec 2003 14:36:00 +0000 (14:36 -0000)]
2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
* System_test.dll.sources : Added UriTest2.cs
svn path=/trunk/mcs/; revision=20870
Atsushi Eno [Mon, 8 Dec 2003 14:35:12 +0000 (14:35 -0000)]
2003-12-08 Atsushi Enomoto <atsushi@novell.com>
* Added uri-test-generator.cs, test-uri-list.txt, test-uri-props.txt
and UriTest2.cs. They are test generator files.
svn path=/trunk/mcs/; revision=20869
Lluis Sanchez [Mon, 8 Dec 2003 14:32:53 +0000 (14:32 -0000)]
* SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
When using rpc format on a web service, members don't need to have any
specific namespace. Added a flag for turning namespace check on/off.
svn path=/trunk/mcs/; revision=20868
Eran Domb [Mon, 8 Dec 2003 13:30:26 +0000 (13:30 -0000)]
Added remarks.
svn path=/trunk/mcs/; revision=20867
Eran Domb [Mon, 8 Dec 2003 13:27:43 +0000 (13:27 -0000)]
* DataColumn.cs (Expression) : Validate the expression.
* DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
(Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
* DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
(RejectChanges) : Detach row when state was Added.
(CollectionChanged) : Fix a bug.
* ExpressionElement (ValidateExpression) : Fix a bug.
* ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
a parent row in the parent table.
(_validateColumns) : Fix bugs.
* MergeManager.cs (AdjustSchema) : Fix a bug.
* XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
between the tables.
svn path=/trunk/mcs/; revision=20866
Zoltan Varga [Mon, 8 Dec 2003 12:16:06 +0000 (12:16 -0000)]
2003-12-08 Zoltan Varga <vargaz@freemail.hu>
* MonoSymbolWriter.cs: Create ArrayLists only when needed.
svn path=/trunk/mcs/; revision=20865
Miguel de Icaza [Mon, 8 Dec 2003 10:10:02 +0000 (10:10 -0000)]
Add configure script
svn path=/trunk/mcs/; revision=20864
Miguel de Icaza [Mon, 8 Dec 2003 09:45:40 +0000 (09:45 -0000)]
Revert the patches from Anirban
svn path=/trunk/mcs/; revision=20863
Anirban Bhattacharjee [Mon, 8 Dec 2003 06:56:16 +0000 (06:56 -0000)]
Bugs fixed - 41845, 51422
svn path=/trunk/mcs/; revision=20861
Anirban Bhattacharjee [Mon, 8 Dec 2003 06:49:49 +0000 (06:49 -0000)]
Extended test cases for checking DateTime conversion
svn path=/trunk/mcs/; revision=20860
Ravindra [Mon, 8 Dec 2003 06:34:45 +0000 (06:34 -0000)]
Added IsUnc tests for local file paths.
svn path=/trunk/mcs/; revision=20859
Peter Williams [Mon, 8 Dec 2003 05:51:03 +0000 (05:51 -0000)]
Fix bugzilla 51666.
build:
2003-12-08 Peter Williams <peter@newton.cx>
* config-default.make: Don't check for / define
ECHO_ESCAPE: the check isn't smart enough and
apparently OS X's shell somehow doesn't support
escape characters.
* library.make: Use embedded tab instead of
$(ECHO_ESCAPE). Fixes OS X build.
* executable.make: Same.
class/corlib:
2003-12-08 Peter Williams <peter@newton.cx>
* Makefile: Use embedded tab instead of $(ECHO_ESCAPE).
Fixes build on OS X.
class/Microsoft.Web.Services:
2003-12-08 Peter Williams <peter@newton.cx>
* Makefile: Update Makefile to use embedded tabs instead
of ECHO_ESCAPE. Fixes build on OS X.
svn path=/trunk/mcs/; revision=20858
Atsushi Eno [Mon, 8 Dec 2003 05:36:03 +0000 (05:36 -0000)]
2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : Several fixes, including Unc problem, Host and LocalPath
fixes, null reference check for .ctor(Uri, string). This fixes
bug #51844.
svn path=/trunk/mcs/; revision=20857
Miguel de Icaza [Mon, 8 Dec 2003 05:06:02 +0000 (05:06 -0000)]
Update mono-todo, add todo, which is just a scratch area
svn path=/trunk/mono/; revision=20856
Atsushi Eno [Mon, 8 Dec 2003 04:39:47 +0000 (04:39 -0000)]
2003-12-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XsdValidatingReader.cs : patch by David Sheldon. Base type's facet
validation should also be done.
svn path=/trunk/mcs/; revision=20855
Atsushi Eno [Mon, 8 Dec 2003 04:39:12 +0000 (04:39 -0000)]
2003-12-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlSchemaSimpleTypeRestriction.cs : patch by David Sheldon. Check
if max/min length range is valid.
svn path=/trunk/mcs/; revision=20854
Atsushi Eno [Mon, 8 Dec 2003 04:38:42 +0000 (04:38 -0000)]
2003-12-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* System.Xml_test.dll.sources : patch by David Sheldon. Added XmlSchemaLengthFacetTests.cs.
svn path=/trunk/mcs/; revision=20853
Atsushi Eno [Mon, 8 Dec 2003 04:38:06 +0000 (04:38 -0000)]
2003-12-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Added XmlSchemaLengthFacetTests.cs. (patch by David Sheldon.)
svn path=/trunk/mcs/; revision=20852
Nick Drochak [Mon, 8 Dec 2003 04:07:46 +0000 (04:07 -0000)]
2003-12-08 Nick Drochak <ndrochak@gol.com>
* DateTimeTest.cs: Little build fix for csc. It doesn't like the
fully qualified name.
svn path=/trunk/mcs/; revision=20851
Sebastien Pouliot [Mon, 8 Dec 2003 03:45:09 +0000 (03:45 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* Mono.Security.dll.sources: Added PKCS#12 support for X.509 certificates.
* Mono.Security_test.dll.sources: Added unit tests for PKCS#12.
svn path=/trunk/mcs/; revision=20850
Sebastien Pouliot [Mon, 8 Dec 2003 03:42:58 +0000 (03:42 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* PKCS12Test.cs: New. Unit test for PKCS#12 files (with/without
passwords, weak/strong encryption) and PKCS#12 password based key
derivation.
svn path=/trunk/mcs/; revision=20849
Sebastien Pouliot [Mon, 8 Dec 2003 03:41:00 +0000 (03:41 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* PKCS12.cs: New. PKCS#12 implementation. Only decoding is working
right now.
svn path=/trunk/mcs/; revision=20848
Sebastien Pouliot [Mon, 8 Dec 2003 03:39:08 +0000 (03:39 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated
SignedData for v3 SubjectKeyIdentifier.
svn path=/trunk/mcs/; revision=20847
Ben Maurer [Mon, 8 Dec 2003 01:38:15 +0000 (01:38 -0000)]
2003-12-07 Ben Maurer <bmaurer@users.sourceforge.net>
* UTF8Encoding.cs (GetBytes string): Do not call base
The version in Encoding will call string.ToCharArray (),
allocating an extra array. By calling the better method
in our own class we can save memory.
svn path=/trunk/mcs/; revision=20846
Sebastien Pouliot [Mon, 8 Dec 2003 01:38:13 +0000 (01:38 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded
public key.
* X509BasicConstraintsExtension.cs: New (1.2). X.509 certification
extension for BasicConstraints.
* X509CertificateEx.cs: New (1.2). Augmented class to use X.509
certificates.
* X509CertificateExCollection.cs: New (1.2). Collection class for
X509CertificateEx.
* X509CertificateExEnumerator.cs: New (1.2). Enumerator class for
X509CertificateEx.
* X509ChainElement.cs: New (1.2). Information (certificate, status,
informations) for a member of a certificate chain.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainStatus.cs: New (1.2). Chain status (many can apply to a
single X509ChainElement).
* X509Extension.cs: New (1.2). Base class for all certificate
extensions.
* X509ExtensionCollection.cs: New (1.2). Collection class for
X509Extension.
* X509ExtensionEnumerator.cs: New (1.2). Enumerator class for
X509Extension.
svn path=/trunk/mcs/; revision=20845
Sebastien Pouliot [Mon, 8 Dec 2003 01:29:16 +0000 (01:29 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* ContentInfoTest.cs: Changed test for GetContentType.
* EnvelopedPkcs7Test.cs: New. Unit tests for EnvelopedPkcs7
(encryption).
* KeyTransRecipientInfoTest.cs: New. Unit tests for
KeyTransRecipientInfo.
* Pkcs7RecipientTest.cs: New. Unit tests for Pkcs7Recipient.
* SignedPkcs7Test.cs: New. Unit tests for SignedPkcs7 (signatures).
* SignedInfoTest.cs: New. Unit tests for SignedInfo.
* SubjectIdentifierTest.cs: New. Unit tests for SubjectIdentifier.
svn path=/trunk/mcs/; revision=20844
Sebastien Pouliot [Mon, 8 Dec 2003 01:20:50 +0000 (01:20 -0000)]
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* ContentInfo.cs: Modified default Oid not to include description.
Added basic support for static GetContentType.
* EnvelopedPkcs7.cs: New. Partial implementation of PKCS#7 envelopes
(encrypted data).
* KeyAgreeRecipientInfo.cs: New. Stub for key agreement informations.
Note that key agreement algorithms (DH) are absent from the framework.
* KeyTransRecipientInfo.cs: New. Implementation for key transport
informations.
* Pkcs7Recipient.cs: New. Implementation of "recipients" - how it
links to a X.509 certificate (issuer and serial key or subject key
info).
* Pkcs7RecipientCollection.cs: New. Collection of Pkcs7Recipient.
* Pkcs7RecipientEnumerator.cs: New. Enumerator for Pkcs7Recipient.
* Pkcs7AttributeCollection.cs: New. Collection of Pkcs9Attributes.
* Pkcs7AttributeEnumerator.cs: New. Enumerator for Pkcs9Attributes.
* PublicKeyInfo.cs: New. Handle public key informations.
* RecipientInfoCollection.cs: New. Collection of RecipientInfo (and
inherited classes).
* RecipientInfoEnumerator.cs: New. Enumerator for RecipientInfo (and
inherited classes).
* SignedPkcs7.cs: New. Partial implementation of PKCS#7 signed
structures.
* SignerInfo.cs: New. Information (certificate and attributes) about
the signer. Actual signature/verification stuff is missing.
* SignerInfoCollection.cs: New. Collection of SignerInfo.
* SignerInfoEnumarator.cs: New. Enumerator for SignerInfo.
* SubjectIdentifier.cs: New. Contains the type of identifier linking
to a subject.
* SubjectIdentifierOrKey.cs: New. Contains the subject's public key or
an information linking to a subject public key.
svn path=/trunk/mcs/; revision=20843
Ben Maurer [Mon, 8 Dec 2003 00:17:26 +0000 (00:17 -0000)]
2003-12-07 Ben Maurer <bmaurer@users.sourceforge.net>
* MonoSymbolTable.cs: It is faster to do a linear search
than it is to make a hashtable. Even though the linear
search is O(n^2) while the hashtable is O(n), the allocation
cost for a hashtable is *very* high, especially when only
a few members will be added.
svn path=/trunk/mcs/; revision=20842
Zoltan Varga [Sun, 7 Dec 2003 19:41:44 +0000 (19:41 -0000)]
2003-12-07 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_method_from_wrapper): Remove assert so this
function works on all methods.
svn path=/trunk/mono/; revision=20840
Zoltan Varga [Sun, 7 Dec 2003 19:37:51 +0000 (19:37 -0000)]
2003-12-07 Zoltan Varga <vargaz@freemail.hu>
* Type.cs (MakeArrayType): Add argument checking.
svn path=/trunk/mcs/; revision=20839
César Natarén [Sun, 7 Dec 2003 19:37:28 +0000 (19:37 -0000)]
updates from grammar changes
svn path=/trunk/mcs/; revision=20838
César Natarén [Sun, 7 Dec 2003 19:35:59 +0000 (19:35 -0000)]
2003-12-07 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: things like 'new Point (10, 20).x' were
not parsable now they are. Mozilla's and Janet's test suites are
being really helpful.
svn path=/trunk/mcs/; revision=20837
Atsushi Eno [Sun, 7 Dec 2003 15:03:54 +0000 (15:03 -0000)]
2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).
svn path=/trunk/mcs/; revision=20835
Lluis Sanchez [Sun, 7 Dec 2003 13:12:50 +0000 (13:12 -0000)]
* inssel.brg: In CEE_ISINST and CEE_CASTCLASS, removed check for proxy.
This has been moved to mini.c
* mini.c: in mono_method_to_ir, CEE_ISINST and CEE_CASTCLASS cases, if the
type being casted is marshalbyref it could be a proxy, so instead of
emitting the type check code, emit a call to a runtime method that will
perform the check by calling CanCastTo if needed.
svn path=/trunk/mono/; revision=20834
Lluis Sanchez [Sun, 7 Dec 2003 13:12:09 +0000 (13:12 -0000)]
* domain.c, loader.h: Added IRemotingTypeInfo interface in MonoDefaults.
* icall.c: in, ves_icall_Remoting_RealProxy_GetTransparentProxy set
the custom_type_info flag of the transparent proxy.
* object.c: Added method mono_object_isinst_mbyref for casting mbyref
objects that supports IRemotingTypeInfo.
* object.h: Added custom_type_info field in transparent proxy.
svn path=/trunk/mono/; revision=20833
Alon Gazit [Sun, 7 Dec 2003 10:41:44 +0000 (10:41 -0000)]
Panel doesn't render nowrap attribute while the Wrap property is set to
false.the problem was in Panel.AddAttributesToRender().
svn path=/trunk/mcs/; revision=20832
Alon Gazit [Sun, 7 Dec 2003 09:47:45 +0000 (09:47 -0000)]
fixing a typo in NoWrap property.
svn path=/trunk/mcs/; revision=20831
Atsushi Eno [Sun, 7 Dec 2003 08:17:54 +0000 (08:17 -0000)]
2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* BuiltInDatatype.cs : XsdDecimal and XsdInteger defaults whitespace
facet as collapse (patch by David Sheldon).
* XmlSchemaAnnotations.cs, XmlSchemaAny.cs : No more MonoTODOs ;-)
* XmlSchemaSequence.cs : MapAndSum implementation.
svn path=/trunk/mcs/; revision=20830
Atsushi Eno [Sun, 7 Dec 2003 08:14:08 +0000 (08:14 -0000)]
2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XsdValidatingReader.cs : FindElement() should use argument names
(patch by David Sheldon). Warning elimination.
svn path=/trunk/mcs/; revision=20829
Atsushi Eno [Sun, 7 Dec 2003 05:57:11 +0000 (05:57 -0000)]
2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Compiler.cs : Check stylesheet recursion. Check decimal-format name.
* GenericOutputter.cs, Outputter.cs, TextOutputter.cs :
Added WriteWhitespace() to assure not writing whitespaces as cdata.
* XslAttributeSet.cs : Error check if attribute-set contains other than
xsl:attribute. Error should be XsltException.
* XslDecimalFormat.cs : Complete equality check. Allow just one
character value for some attributes.
* XslStylesheet.cs : Made whitespace control setting overridable.
Added Version property (for the future compatibility mode).
Check unrecongnized top level element.
* XslTemplate.cs : Check priority as a number.
* XslTransformProcessor.cs : PushCDataState is now PushElementState,
for xsl:preserve-space and xsl:strip-space support.
* XsltCompiledContext.cs : Implemented PreserveWhitespace() (far from
incomplete), PushScope and Pop
svn path=/trunk/mcs/; revision=20827
Atsushi Eno [Sun, 7 Dec 2003 05:55:39 +0000 (05:55 -0000)]
2003-12-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XslAttribute.cs, XslElement.cs, XslVariable.cs : Check name.
* XslChoose.cs : Check content validity (xsl:when or xsl:otherwise).
* XslComment.cs, XslCopy.cs, XslProcessingInstruction.cs,
XslValueOf.cs : Check content and attributes.
* XslCompiledElement.cs : Added ParentType to check content validity.
* XslCopy.cs : Check attribute set existence.
* XslCopy.cs, XslCopyOf.cs Don't output whitspace as cdata.
* XslLiteralElement.cs : Added extension element prefixes as
namespace exclusion target. Consider namespace-aliases.
* XslNumber.cs : level="any" should also be emptiable. MatchesCount()
should also consider node type. Reverted a little formatting stuff.
* XslTemplateContent.cs : Check if content nodes are containable.
* XslText.cs : New .ctor() argument, specifying if it is whitespace.
Never output whitespace as cdata.
svn path=/trunk/mcs/; revision=20826
Atsushi Eno [Sun, 7 Dec 2003 05:45:00 +0000 (05:45 -0000)]
2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Tokenizer.cs : Removed some TODOs. (trivial ;-)
* Iterator.cs : ParensIterator can inherit from BaseIterator.
SlashIterator copy .ctor() always failed to clone. This fixes Count.
svn path=/trunk/mcs/; revision=20825
Atsushi Eno [Sun, 7 Dec 2003 05:43:54 +0000 (05:43 -0000)]
2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XsltException.cs, XsltCompileException.cs : Added locatable .ctor().
svn path=/trunk/mcs/; revision=20824
Martin Baulig [Sat, 6 Dec 2003 20:12:35 +0000 (20:12 -0000)]
2003-12-06 Martin Baulig <martin@ximian.com>
* DefaultTraceListener: Don't use `where' in variable names.
svn path=/trunk/mcs/; revision=20823
Martin Baulig [Sat, 6 Dec 2003 19:52:05 +0000 (19:52 -0000)]
2003-12-06 Martin Baulig <martin@ximian.com>
* class.c (mono_class_create_from_generic): Removed.
(mono_class_from_generic): Check `ginst->klass' before doing
anything else. This is important to fully support "recursive"
generic types.
* metadata.c (do_mono_metadata_parse_generic_inst): Create an
empty `generic_inst->klass' before doing anything else.
svn path=/trunk/mono/; revision=20822
Rafael Teixeira [Sat, 6 Dec 2003 18:44:29 +0000 (18:44 -0000)]
2003/12/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* ecore.cs : problems trying to implicit convert OMITTED arguments, solved
* mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
* testmbas/WriteOK.vb: testing date type and date literal
svn path=/trunk/mcs/; revision=20821
Dick Porter [Sat, 6 Dec 2003 16:54:59 +0000 (16:54 -0000)]
2003-12-06 Dick Porter <dick@ximian.com>
* String.cs: Don't use CompareInfo for non-culture-sensitive
IndexOf and LastIndexOf methods.
2003-12-06 Dick Porter <dick@ximian.com>
* CompareInfo.cs: Don't build strings in Compare, IndexOf and
LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
if the search parameter is a char and the CompareOptions include
Ordinal.
svn path=/trunk/mcs/; revision=20820
Dick Porter [Sat, 6 Dec 2003 16:54:11 +0000 (16:54 -0000)]
2003-12-06 Dick Porter <dick@ximian.com>
* verify.c:
* object.h:
* icall.c:
* locales.c: Use C structs to access class fields. Don't do a
conversion between MonoString and UChar because both are
platform-endian UTF-16. Compare now takes startindex and count
parameters. Add a char overload for IndexOf. Speed up the
invariant string IndexOf.
svn path=/trunk/mono/; revision=20819
Zoltan Varga [Sat, 6 Dec 2003 15:47:43 +0000 (15:47 -0000)]
2003-12-06 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c (mono_arch_emit_prolog): Fix stack space allocation for
methods with large stack frames under Win32.
svn path=/trunk/mono/; revision=20818
Ravindra [Sat, 6 Dec 2003 15:34:40 +0000 (15:34 -0000)]
Fixed bug 51464 and added a test case for the same.
svn path=/trunk/mcs/; revision=20817
Ravindra [Sat, 6 Dec 2003 09:03:10 +0000 (09:03 -0000)]
Added a new exception case.
svn path=/trunk/mcs/; revision=20815
César Natarén [Sat, 6 Dec 2003 07:31:47 +0000 (07:31 -0000)]
changes resulting from grammar changes
svn path=/trunk/mcs/; revision=20814
César Natarén [Sat, 6 Dec 2003 07:27:00 +0000 (07:27 -0000)]
2003-12-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: added check for non-null reference at
var_decl_list rule. Added single quote STRING_LITERAL lexical rule
and multiple lines comments rule.
svn path=/trunk/mcs/; revision=20813
John Luke [Fri, 5 Dec 2003 23:20:43 +0000 (23:20 -0000)]
2003-12-05 John Luke <jluke@cfl.rr.com>
* data/config.in: new dll mapping entry for libgstreamer
svn path=/trunk/mono/; revision=20812
Jackson Harper [Fri, 5 Dec 2003 20:08:40 +0000 (20:08 -0000)]
* SessionStateModule.cs: Add readonly property for readonly
sessions. This fixes bug #51647.
* SessionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Cleanup params for
HttpSessionState ctor. Make sure to always set is new, cookieless,
and readonly properly.
svn path=/trunk/mcs/; revision=20811
Jackson Harper [Fri, 5 Dec 2003 19:00:28 +0000 (19:00 -0000)]
* DataBinder.cs (GetIndexedPropertyValue): Check if container is
an IList and use a cast instead of reflection to retrieve the item
if it is. Fixes bug #51759.
svn path=/trunk/mcs/; revision=20810
Martin Baulig [Fri, 5 Dec 2003 18:51:15 +0000 (18:51 -0000)]
Use gmcs again.
svn path=/trunk/mcs/; revision=20809
Martin Baulig [Fri, 5 Dec 2003 18:29:11 +0000 (18:29 -0000)]
2003-12-05 Martin Baulig <martin@ximian.com>
* profiles/generics.make: Define `GENERICS'.
svn path=/trunk/mcs/; revision=20808
Martin Baulig [Fri, 5 Dec 2003 18:27:18 +0000 (18:27 -0000)]
2003-12-05 Martin Baulig <martin@ximian.com>
* profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
without generics and with mcs instead of gmcs.
* profiles/bootstrap.make: New profile; already use the newly
compiled mcs to compile corlib.
svn path=/trunk/mcs/; revision=20807
César Natarén [Fri, 5 Dec 2003 18:21:00 +0000 (18:21 -0000)]
changes from grammar updates
svn path=/trunk/mcs/; revision=20806
César Natarén [Fri, 5 Dec 2003 18:19:39 +0000 (18:19 -0000)]
tracking parent references, and object_literal rule fix.
svn path=/trunk/mcs/; revision=20805
César Natarén [Fri, 5 Dec 2003 18:14:52 +0000 (18:14 -0000)]
2003-12-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: Now I keep track of the parent for most
of the syntatic constructs. Fixed object_literal rule.
* ast.cs: Added field parent. This will help me to track nested
blocks for all of the syntatic constructs and will allow to Emit
everything in one single pass.
* FunctionDeclaration.cs, FunctionExpression.cs: Rearranged the
parent stuff.
* Block.cs, FunctionObject.cs: deleted parent field as AST will
hold it. Delete parent parameter from constructor.
* CodeGenerator.cs: Add field gc_ig (global code IL generator) to
EmitContext class. The idea is Emitting everything in one pass (decls
and 'Global Code' method, the parent reference let me know which IL
generator use, gc_ig or ig).
* Equality.cs, BooleanLiteral, Relational.cs: Added new parameter to
constructor. Use new parent reference for choosing the IL
generator. NumericLiteral a 'hard coded' int32 IL emittion added
for testing.
* StringLiteral.cs, Literal.cs (BooleanLiteral.Emit): now I use
the parent reference to infere which IL generator to use.
* VariableDeclaration.cs: deleted parent field. At Emit, now I use the parent
reference to infer which IL generator to use.
* expression.cs: Added paramenter parent to constructor of: Unary,
Binary, Conditional, Call.
svn path=/trunk/mcs/; revision=20804
Zoltan Varga [Fri, 5 Dec 2003 12:25:57 +0000 (12:25 -0000)]
2003-12-05 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am (monosn_LDADD): Fix parallel build.
svn path=/trunk/mono/; revision=20803
Lluis Sanchez [Fri, 5 Dec 2003 10:48:04 +0000 (10:48 -0000)]
Added man pages for disco, wsdl and soapsuds tools
svn path=/trunk/mono/; revision=20801
Miguel de Icaza [Fri, 5 Dec 2003 10:33:08 +0000 (10:33 -0000)]
Removed old file
svn path=/trunk/mcs/; revision=20800
Lluis Sanchez [Fri, 5 Dec 2003 09:49:30 +0000 (09:49 -0000)]
Added the soapsuds tool to the build
svn path=/trunk/mono/; revision=20799
Lluis Sanchez [Fri, 5 Dec 2003 09:20:29 +0000 (09:20 -0000)]
* MetaData.cs: Added check of compilation results in
ConvertCodeSourceFileToAssemblyFile().
* MetaDataCodeGenerator.cs, MetaDataExporter.cs: Many fixes.
Added support for delegates, base classes, implemented interfaces,
methods, properties, ISerializable, enums, etc.
svn path=/trunk/mcs/; revision=20798
John Luke [Fri, 5 Dec 2003 03:57:56 +0000 (03:57 -0000)]
2003-12-04 John Luke <jluke@cfl.rr.com>
* SqlXmlTextReader.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
fix peek so it checks if it is at the end and also to make sure that if Read()
advances the position past the end of the localBuffer array, it makes
a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
using SqlCommand.ExecuteXmlReader()
svn path=/trunk/mcs/; revision=20797
John Luke [Fri, 5 Dec 2003 03:38:34 +0000 (03:38 -0000)]
2003-12-04 John Luke <jluke@cfl.rr.com>
* Uri.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
fixes bug #51510. ftp uses port 21, https uses 443 and
parse the host name properly for UNC path.
svn path=/trunk/mcs/; revision=20796
Atsushi Eno [Fri, 5 Dec 2003 02:40:24 +0000 (02:40 -0000)]
2003-12-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Multiplexer.cs : set_XmlResolver is marked as obsolete.
Added new Transform() methods introduced in .NET 1.1.
CRLF and LF are desparately mixed, so adjusted to LF.
* XslTransform.cs :
CRLF and LF are desparately mixed, so adjusted to CRLF.
svn path=/trunk/mcs/; revision=20795
Ben Maurer [Thu, 4 Dec 2003 22:07:33 +0000 (22:07 -0000)]
revert
svn path=/trunk/mcs/; revision=20794
Ben Maurer [Thu, 4 Dec 2003 22:01:59 +0000 (22:01 -0000)]
Revert Martin's patch using generics, see the email to ximian-mono-list
svn path=/trunk/mcs/; revision=20793
Gonzalo Paniagua Javier [Thu, 4 Dec 2003 21:52:53 +0000 (21:52 -0000)]
2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TableItemStyle.cs: merge TableItemStyle properties when Style is
empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
svn path=/trunk/mcs/; revision=20792
Gonzalo Paniagua Javier [Thu, 4 Dec 2003 21:49:43 +0000 (21:49 -0000)]
2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: ThreadAbortException is ok on Redirect.
* HttpContext.cs: added TimeoutPossible property.
* HttpResponse.cs: throw ThreadAbortException if End () is called within
a step in which is possible to timeout.
Fixes bug #51703.
svn path=/trunk/mcs/; revision=20791
Zoltan Varga [Thu, 4 Dec 2003 21:33:43 +0000 (21:33 -0000)]
2003-12-04 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am: Distribute regression tests.
svn path=/trunk/mono/; revision=20790
Martin Baulig [Thu, 4 Dec 2003 19:22:25 +0000 (19:22 -0000)]
2003-12-04 Martin Baulig <martin@ximian.com>
* corlib.dll.sources: Added System.Collections.Generic.
svn path=/trunk/mcs/; revision=20787
Martin Baulig [Thu, 4 Dec 2003 19:19:51 +0000 (19:19 -0000)]
2003-12-04 Martin Baulig <martin@ximian.com>
* profiles/generics.make: Use gmcs.
svn path=/trunk/mcs/; revision=20786
Martin Baulig [Thu, 4 Dec 2003 19:18:07 +0000 (19:18 -0000)]
2003-12-04 Martin Baulig <martin@ximian.com>
* expression.cs (ComposedCast.DoResolveAsTypeStep): Use
`Type.MakeArrayType()' for array types.
svn path=/trunk/mcs/; revision=20785
Martin Baulig [Thu, 4 Dec 2003 19:15:06 +0000 (19:15 -0000)]
2003-12-04 Martin Baulig <martin@ximian.com>
* Type.cs (Type.MakeArrayType): New public method.
svn path=/trunk/mcs/; revision=20784
Martin Baulig [Thu, 4 Dec 2003 19:11:27 +0000 (19:11 -0000)]
2003-12-04 Martin Baulig <martin@ximian.com>
* icall.c
(ves_icall_type_GetTypeCode): Added MONO_TYPE_VAR and MONO_TYPE_MVAR.
(ves_icall_Type_make_array_type): New interncall.
svn path=/trunk/mono/; revision=20783
Jackson Harper [Thu, 4 Dec 2003 18:35:05 +0000 (18:35 -0000)]
* HttpRequest.cs: Cleanup method.
svn path=/trunk/mcs/; revision=20782
Martin Baulig [Thu, 4 Dec 2003 16:35:45 +0000 (16:35 -0000)]
2003-12-04 Martin Baulig <martin@ximian.com>
* locales.c: also change it in the !HAVE_ICU case.
svn path=/trunk/mono/; revision=20779
Atsushi Eno [Thu, 4 Dec 2003 16:30:38 +0000 (16:30 -0000)]
2003-12-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
* XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
This may fix bug #51415.
svn path=/trunk/mcs/; revision=20778
Dick Porter [Thu, 4 Dec 2003 15:01:47 +0000 (15:01 -0000)]
2003-12-04 Dick Porter <dick@ximian.com>
* icall.c:
* locales.c: construct_compareinfo is now in CompareInfo, not
CultureInfo.
svn path=/trunk/mono/; revision=20777
Dick Porter [Thu, 4 Dec 2003 15:01:04 +0000 (15:01 -0000)]
2003-12-04 Dick Porter <dick@ximian.com>
* CompareInfo.cs: Implement the deserialization callback
* CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
it can construct the ICU collator itself
svn path=/trunk/mcs/; revision=20776
Gonzalo Paniagua Javier [Thu, 4 Dec 2003 14:49:34 +0000 (14:49 -0000)]
2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Buffer.cs:
(BlockCopy): make the exception thrown helpful.
svn path=/trunk/mcs/; revision=20775
Zoltan Varga [Thu, 4 Dec 2003 14:14:47 +0000 (14:14 -0000)]
2003-12-04 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c (mono_arch_get_allocatable_int_vars): Sort the var list
at the end instead of inserting each variable into the sorted list.
* linear-scan.c (mono_varlist_sort): New helper function.
svn path=/trunk/mono/; revision=20774
Zoltan Varga [Thu, 4 Dec 2003 12:30:01 +0000 (12:30 -0000)]
2003-12-04 Zoltan Varga <vargaz@freemail.hu>
* image.c (mono_image_load_file_for_image): Cache loaded images in the
image->files array.
* image.c (load_class_name): Load class names from the EXPORTEDTYPES
table as well.
* assembly.c (mono_assembly_load_references): Only load references
once.
* class.c (mono_class_from_name): Avoid linear search of the
EXPORTEDTYPE table.
* loader.c (mono_field_from_token): Cache lookups of fieldrefs as well.
svn path=/trunk/mono/; revision=20768
Gonzalo Paniagua Javier [Thu, 4 Dec 2003 12:24:53 +0000 (12:24 -0000)]
Removed obsolete files
svn path=/trunk/mcs/; revision=20767
Gonzalo Paniagua Javier [Thu, 4 Dec 2003 12:17:18 +0000 (12:17 -0000)]
Updated version
svn path=/trunk/mcs/; revision=20766
Gonzalo Paniagua Javier [Thu, 4 Dec 2003 12:09:22 +0000 (12:09 -0000)]
updated version
svn path=/trunk/mono/; revision=20765
Sunil Kumar [Thu, 4 Dec 2003 11:52:49 +0000 (11:52 -0000)]
Modified after DirectorySearcher implementation
svn path=/trunk/mcs/; revision=20764
Sunil Kumar [Thu, 4 Dec 2003 11:49:17 +0000 (11:49 -0000)]
Modified for DirectorySearcher implementation
svn path=/trunk/mcs/; revision=20763
Jackson Harper [Thu, 4 Dec 2003 10:47:40 +0000 (10:47 -0000)]
* HttpValueCollection.cs: Allow blank value names. Posting
<blank>=SomeValue is valid. And occurs if a radio button does
not have its name set.
svn path=/trunk/mcs/; revision=20762
Jackson Harper [Thu, 4 Dec 2003 10:28:16 +0000 (10:28 -0000)]
* HtmlInputRadioButton.cs: Lookup name in postadata and compare to
value. This is because radio button groups are created by setting
the name to the same value with each button, then on postback the
value of the name is the id of the selected radio button.
svn path=/trunk/mcs/; revision=20761
Alon Gazit [Thu, 4 Dec 2003 08:14:48 +0000 (08:14 -0000)]
Page.ID should call Control.ID. needed for updating Page.ClientID.
svn path=/trunk/mcs/; revision=20760
Jackson Harper [Thu, 4 Dec 2003 05:47:16 +0000 (05:47 -0000)]
* SessionStateModule.cs: If using cookieless sessions add an
onbegin request handler that parsers out session ids and rewrites
the path. Also redirect to a url with an embedded session id if we
are creating a new cookieless session.
* SesionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
ids, don't set the session id cookie anymore. That is handled by
the SessionStateModule.
* SessionId.cs: Add method for looking up session ids, add
some constants.
svn path=/trunk/mcs/; revision=20759