Martin Baulig [Tue, 7 Dec 2004 01:07:10 +0000 (01:07 -0000)]
Fix error reporting.
svn path=/trunk/mcs/; revision=37267
Martin Baulig [Tue, 7 Dec 2004 00:57:01 +0000 (00:57 -0000)]
2004-08-24 Martin Baulig <martin@ximian.com>
* typemanager.cs
(TypeManager.IsSubclassOf): Renamed to IsFamilyAccessible; use
this for accessibility checks.
(TypeManager.IsSubclassOrNestedChildOf): Renamed to
IsNestedFamilyAccessible.
(TypeManager.IsSubclassOf): New method, do what the name actually
says.
svn path=/trunk/mcs/; revision=37266
Martin Baulig [Mon, 6 Dec 2004 23:51:24 +0000 (23:51 -0000)]
**** Merged r37179 from MCS ****
svn path=/trunk/mcs/; revision=37261
Martin Baulig [Mon, 6 Dec 2004 23:50:36 +0000 (23:50 -0000)]
**** Merged r37173 and r37174 from MCS ****
svn path=/trunk/mcs/; revision=37260
Martin Baulig [Mon, 6 Dec 2004 23:49:34 +0000 (23:49 -0000)]
**** Merged r37140 from MCS ****
svn path=/trunk/mcs/; revision=37259
Martin Baulig [Mon, 6 Dec 2004 23:48:22 +0000 (23:48 -0000)]
**** Merged r37097 from MCS ****
svn path=/trunk/mcs/; revision=37258
Martin Baulig [Mon, 6 Dec 2004 23:47:31 +0000 (23:47 -0000)]
**** Merged r37095 from MCS ****
svn path=/trunk/mcs/; revision=37257
Martin Baulig [Mon, 6 Dec 2004 23:33:55 +0000 (23:33 -0000)]
Updated.
svn path=/trunk/mcs/; revision=37256
Martin Baulig [Mon, 6 Dec 2004 23:33:20 +0000 (23:33 -0000)]
2004-12-07 Martin Baulig <martin@ximian.com>
* decl.cs (DeclSpace.AddToContainer): Report correct errors CS0694
and CS0692 where appropriate.
svn path=/trunk/mcs/; revision=37255
Martin Baulig [Mon, 6 Dec 2004 23:31:09 +0000 (23:31 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=37254
Martin Baulig [Mon, 6 Dec 2004 23:10:51 +0000 (23:10 -0000)]
2004-12-07 Martin Baulig <martin@ximian.com>
* gcs0305.cs: Renamed to cs0246-2.cs.
* gcs0305-2.cs: Renamed to cs0246-3.cs.
* gcs0305-3.cs: Renamed to cs0246-4.cs.
* gcs0305-4.cs: Renamed to cs0246-5.cs.
* gcs0308.cs: Renamed to cs0246-6.cs.
* gcs0308-2.cs: Renamed to cs0246-7.cs.
* gcs0308-3.cs: Renamed to cs0246-8.cs.
svn path=/trunk/mcs/; revision=37252
Peter Dennis Bartok [Mon, 6 Dec 2004 22:49:53 +0000 (22:49 -0000)]
- Added check and exception to prevent circular parenting
svn path=/trunk/mcs/; revision=37251
Peter Dennis Bartok [Mon, 6 Dec 2004 22:48:54 +0000 (22:48 -0000)]
- Updated
svn path=/trunk/mcs/; revision=37250
César Natarén [Mon, 6 Dec 2004 22:36:05 +0000 (22:36 -0000)]
2004-12-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* MemberInfoList.cs: added internal classes Node, ListIter,
ChainHash and implement MemberInfoList.
* JSObject.cs: implement AddField, AddProperty, AddMethod,
GetMembers, RemoveMember, GetEnumerator, add ChainHash's ext
field.
svn path=/trunk/mcs/; revision=37249
Martin Baulig [Mon, 6 Dec 2004 22:10:50 +0000 (22:10 -0000)]
Updated.
svn path=/trunk/mcs/; revision=37246
Martin Baulig [Mon, 6 Dec 2004 22:10:25 +0000 (22:10 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* class.cs (MethodCore.MayUnify): Moved the CS0408 check here from
IsDuplicateImplementation() and improved it.
* expression.cs (Invocation.InferTypeArguments): Added
`Type[] inferred_class_types' argument (for MethodCore.MayUnify)
and removed the "ref" modifier from `infered_types'.
* decl.cs (MemberName.ToString): Removed the exception.
svn path=/trunk/mcs/; revision=37245
Martin Baulig [Mon, 6 Dec 2004 21:50:30 +0000 (21:50 -0000)]
Ooooops.
svn path=/trunk/mono/; revision=37242
Gonzalo Paniagua Javier [Mon, 6 Dec 2004 21:49:57 +0000 (21:49 -0000)]
2004-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* process.c: make the patch that handles spaces in file paths work
on mono/windows too.
svn path=/trunk/mono/; revision=37241
Gonzalo Paniagua Javier [Mon, 6 Dec 2004 21:43:22 +0000 (21:43 -0000)]
2004-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Process.cs: always pass the same arguments to the runtime.
svn path=/trunk/mcs/; revision=37240
Martin Baulig [Mon, 6 Dec 2004 21:15:37 +0000 (21:15 -0000)]
Updated.
svn path=/trunk/mcs/; revision=37237
Miguel de Icaza [Mon, 6 Dec 2004 20:13:53 +0000 (20:13 -0000)]
2004-12-06 Miguel de Icaza <miguel@ximian.com>
* FontFamily.cs: This one is static.
svn path=/trunk/mcs/; revision=37232
Sebastien Pouliot [Mon, 6 Dec 2004 20:06:35 +0000 (20:06 -0000)]
2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
* RSACryptoServiceProviderTest.cs: Adjusted unit tests to show that
RSACryptoServiceProvider doesn't support private keys without CRT
parameters available - except to import the keys.
svn path=/trunk/mcs/; revision=37231
Sebastien Pouliot [Mon, 6 Dec 2004 20:04:45 +0000 (20:04 -0000)]
2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
* RSACryptoServiceProvider.cs: Adjust DecryptValue to the fact that
Mono's RSAManaged support decryption without CRT while MS requires it.
svn path=/trunk/mcs/; revision=37230
Sebastien Pouliot [Mon, 6 Dec 2004 20:03:06 +0000 (20:03 -0000)]
2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
* RSAManaged.cs: Implement key blinding for RSA decryption with, or
without, using CRT.
svn path=/trunk/mcs/; revision=37228
Sebastien Pouliot [Mon, 6 Dec 2004 20:00:48 +0000 (20:00 -0000)]
2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security_test.dll.sources: Added Mono.Security.Cryptography.
RSAManagedTest to the build.
svn path=/trunk/mcs/; revision=37227
Sebastien Pouliot [Mon, 6 Dec 2004 20:00:03 +0000 (20:00 -0000)]
2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
* RSAManaged.cs: Implement key blinding for RSA decryption with, or
without, using CRT.
svn path=/trunk/mcs/; revision=37226
Sebastien Pouliot [Mon, 6 Dec 2004 19:58:00 +0000 (19:58 -0000)]
2004-12-06 Sebastien Pouliot <sebastien@ximian.com>
* RSAManagedTest.cs: New. Unit tests to validate RSA decryption when
using key blinding with or without using CRT.
svn path=/trunk/mcs/; revision=37225
Atsushi Eno [Mon, 6 Dec 2004 19:37:35 +0000 (19:37 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : test .mdb existence (for csc build).
svn path=/trunk/mcs/; revision=37224
Martin Baulig [Mon, 6 Dec 2004 19:32:19 +0000 (19:32 -0000)]
Updated.
svn path=/trunk/mcs/; revision=37222
Martin Baulig [Mon, 6 Dec 2004 19:25:29 +0000 (19:25 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8211.cs: Renamed to cs0182-4.cs.
svn path=/trunk/mcs/; revision=37221
Martin Baulig [Mon, 6 Dec 2004 19:25:04 +0000 (19:25 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8211.cs: Renamed to cs0182-4.cs.
svn path=/trunk/mcs/; revision=37220
Martin Baulig [Mon, 6 Dec 2004 19:22:23 +0000 (19:22 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8212.cs: Renamed to cs0182-3.cs.
svn path=/trunk/mcs/; revision=37219
Alp Toker [Mon, 6 Dec 2004 19:21:41 +0000 (19:21 -0000)]
Avoid conflicting parameter and internal variable names.
Use intermediary object files before linking.
svn path=/trunk/mcs/; revision=37218
Martin Baulig [Mon, 6 Dec 2004 19:19:35 +0000 (19:19 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8210.cs: Renamed to gcs0208.cs.
svn path=/trunk/mcs/; revision=37217
Martin Baulig [Mon, 6 Dec 2004 19:19:27 +0000 (19:19 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8210.cs: Renamed to gcs0208.cs.
svn path=/trunk/mcs/; revision=37216
Martin Baulig [Mon, 6 Dec 2004 19:18:44 +0000 (19:18 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8210.cs: Renamed to gcs0208.cs.
svn path=/trunk/mcs/; revision=37215
Martin Baulig [Mon, 6 Dec 2004 19:16:03 +0000 (19:16 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8206.cs: Renamed to cs1622.cs.
svn path=/trunk/mcs/; revision=37214
Martin Baulig [Mon, 6 Dec 2004 19:15:14 +0000 (19:15 -0000)]
Fixed this.
svn path=/trunk/mcs/; revision=37213
Martin Baulig [Mon, 6 Dec 2004 19:05:51 +0000 (19:05 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8201.cs: Removed, this is not an error !
svn path=/trunk/mcs/; revision=37212
Martin Baulig [Mon, 6 Dec 2004 18:59:02 +0000 (18:59 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* gmcs-expect-*: Updated from mcs-expect-*.
svn path=/trunk/mcs/; revision=37211
Martin Baulig [Mon, 6 Dec 2004 18:32:30 +0000 (18:32 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* Decimal.cs: Decimal constant support has been merged into GMCS,
removed the FIXME.
svn path=/trunk/mcs/; revision=37210
Martin Baulig [Mon, 6 Dec 2004 17:57:43 +0000 (17:57 -0000)]
2004-12-06 Martin Baulig <martin@ximian.com>
* class.c (mono_class_create_generic): Call
mono_class_setup_supertypes() if we're dynamic.
(mono_class_is_subclass_of): `g_assert (klass->idepth > 0)'.
svn path=/trunk/mono/; revision=37209
Alp Toker [Mon, 6 Dec 2004 17:51:49 +0000 (17:51 -0000)]
That should be mono_assembly_get_image()
svn path=/trunk/mcs/; revision=37208
Alp Toker [Mon, 6 Dec 2004 17:44:18 +0000 (17:44 -0000)]
2004-12-06 Alp Toker <alp@atoker.com>
* cilc.cs: Update to new embedding API: use mono_class_from_name()
svn path=/trunk/mcs/; revision=37207
Atsushi Eno [Mon, 6 Dec 2004 17:37:19 +0000 (17:37 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs :
- Existing GetLabels() was insufficient to support attribute labels
by design (since those state object always reflects the status
after Read() and inside Read() attributes are checked and attribute
derivatives are consumed). So just made existing stuff as obsolete.
- Added object GetCurrentState() that returns RdpPattern wrapper.
- Added Emptiable(object state) that returns whether the
specified state is emptiable.
- Added GetElementLabels(object state) and GetAttributeLabels(object
state) that returns the collection of XmlQualifiedName that
represents possible element names or attribute names from the
argument state.
- Added AfterOpenStartTag(state,name,ns), OpenStartTag(state,name,
ns), AfterAttribute(state, name, ns), Attribute(state,name,ns),
AfterCloseStartTag(state), CloseStartTag(state),
AfterEndTag(state) and EndTag(state) to simulate state transition.
AfterXXX() returns another state instance if the transition was
successful or null. XXX() returns bool that indicates if the
transition was successful or not and proceeds the state in case
of success.
svn path=/trunk/mcs/; revision=37206
Atsushi Eno [Mon, 6 Dec 2004 17:36:35 +0000 (17:36 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* Util.cs : trivial debug string fix.
* RdpPattern.cs : trivial formatting fix.
svn path=/trunk/mcs/; revision=37205
Zoltan Varga [Mon, 6 Dec 2004 17:27:12 +0000 (17:27 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* object-internals.h: Add new fields to MonoThread.
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* icall.c threads-types.h threads.c: Add new icalls.
svn path=/trunk/mono/; revision=37204
Zoltan Varga [Mon, 6 Dec 2004 17:24:00 +0000 (17:24 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=37203
Zoltan Varga [Mon, 6 Dec 2004 17:22:09 +0000 (17:22 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=37202
Zoltan Varga [Mon, 6 Dec 2004 17:21:36 +0000 (17:21 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* Thread.cs: Add new fields 'serialized_culture_info{_len}'.
* Thread.cs (CurrentCulture): Fix leaking of culture info objects
across appdomains. Partially fixes #50049.
svn path=/trunk/mcs/; revision=37201
Zoltan Varga [Mon, 6 Dec 2004 16:35:58 +0000 (16:35 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* object-internals.h (MonoThread): Remove unused 'unmanaged' field.
* object-internals.h (MonoReflectionAssembly): Sync object layout with
managed side.
* appdomain.c: Bump corlib version.
* appdomain.c (ves_icall_System_AppDomain_GetAssemblies): Skip
internal assemblies. Fixes #69181.
svn path=/trunk/mono/; revision=37200
Zoltan Varga [Mon, 6 Dec 2004 16:32:26 +0000 (16:32 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=37199
Zoltan Varga [Mon, 6 Dec 2004 16:31:54 +0000 (16:31 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* CodeGenerator.cs: Mark the created assembly builder as internal.
svn path=/trunk/mcs/; revision=37198
Zoltan Varga [Mon, 6 Dec 2004 16:30:44 +0000 (16:30 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* Assembly.cs: Add corlib_internal field.
svn path=/trunk/mcs/; revision=37197
Miguel de Icaza [Mon, 6 Dec 2004 15:17:29 +0000 (15:17 -0000)]
Add reference
svn path=/trunk/mcs/; revision=37196
Anil Bhatia [Mon, 6 Dec 2004 14:35:32 +0000 (14:35 -0000)]
Added support for SSL, Ldap Events, Edir Events
svn path=/trunk/mcs/; revision=37195
Raja R Harinath [Mon, 6 Dec 2004 14:32:39 +0000 (14:32 -0000)]
remove svn:executable from *.cs
svn path=/trunk/mcs/; revision=37194
Raja R Harinath [Mon, 6 Dec 2004 14:30:42 +0000 (14:30 -0000)]
* Makefile (test-multi-local): Fix compile command.
svn path=/trunk/mcs/; revision=37193
Raja R Harinath [Mon, 6 Dec 2004 14:27:16 +0000 (14:27 -0000)]
remove svn:executable from *.cs
svn path=/trunk/mcs/; revision=37192
Zoltan Varga [Mon, 6 Dec 2004 14:12:54 +0000 (14:12 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* mini-sparc.c: Zero out localled-ed memory.
* iltests.il: Add tests for zeroing out localloc-ed memory.
svn path=/trunk/mono/; revision=37191
Zoltan Varga [Mon, 6 Dec 2004 14:11:51 +0000 (14:11 -0000)]
2004-12-06 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Disable -Wcast-align on sparc.
svn path=/trunk/mono/; revision=37190
Paolo Molaro [Mon, 6 Dec 2004 14:01:13 +0000 (14:01 -0000)]
Mon Dec 6 15:00:53 CET 2004 Paolo Molaro <lupus@ximian.com>
* configure.in: add option to disable some features of
the runtime to create a smaller binary.
svn path=/trunk/mono/; revision=37189
Raja R Harinath [Mon, 6 Dec 2004 13:00:21 +0000 (13:00 -0000)]
* Makefile (DISTFILES): Distribute *.il files too.
svn path=/trunk/mcs/; revision=37188
Paolo Molaro [Mon, 6 Dec 2004 12:32:16 +0000 (12:32 -0000)]
Mon Dec 6 13:31:48 CET 2004 Paolo Molaro <lupus@ximian.com>
* main.c: add a --filter=filename option to load a file
with a list of types, fields, methods to disassemble.
svn path=/trunk/mono/; revision=37187
Raja R Harinath [Mon, 6 Dec 2004 12:20:19 +0000 (12:20 -0000)]
* Makefile (multi-2): Remove. Move comments to README.tests.
Integrate into regular test harness.
(multi): Remove.
(ILASM): New define.
(TEST_SOURCES_common): Add pi, pp, pu-ip, pu-pi.
(TEST_ORDERING): Update.
* pi.cs, pp.cs: Add '// Compiler options: ' comments.
* pu-ip.cs, pu-pi.cs: New files. Copies of pu.cs, with flags to
integrate into regular test harness.
* pu.cs: Remove.
svn path=/trunk/mcs/; revision=37186
Atsushi Eno [Mon, 6 Dec 2004 11:15:11 +0000 (11:15 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriter.cs : WriteQualifiedNameInternal() should consider the case
ns is null, and don't lookup prefix for empty namespace.
svn path=/trunk/mcs/; revision=37185
Raja R Harinath [Mon, 6 Dec 2004 11:05:55 +0000 (11:05 -0000)]
* Makefile (SUBDIRS): Move I18N after second-pass of System.
svn path=/trunk/mcs/; revision=37184
Raja R Harinath [Mon, 6 Dec 2004 11:04:44 +0000 (11:04 -0000)]
* Makefile (OTHER_RES): New. Add template.c.
(EXTRA_DISTFILES): New. Distribute resource files too.
svn path=/trunk/mcs/; revision=37183
Raja R Harinath [Mon, 6 Dec 2004 11:00:43 +0000 (11:00 -0000)]
* Makefile (lib_file): New autodetecting define.
(USE_BOOT_COMPILE, LIBRARY_COMPILE): Add support for using
bootstrap compiler.
(BUILT_SOURCES): Add ...XPath/Parser.cs.
(EXTRA_DISTFILES): Add ...Query/XQueryParser.jay.
(BOOTSTRAP_MCS) [PROFILE=net_2_0]: New.
* System.Xml.dll.sources: Remove ...XPath/Parser.cs.
svn path=/trunk/mcs/; revision=37182
Raja R Harinath [Mon, 6 Dec 2004 10:50:12 +0000 (10:50 -0000)]
* Makefile (BUILT_SOURCES): Add Common.Xml.Relaxng.Rnc/RncParser.cs.
($(the_lib)): Depend on resource files too.
* Common.Xml.Relaxng.dll.sources: Remove RncParser.cs.
svn path=/trunk/mcs/; revision=37181
Raja R Harinath [Mon, 6 Dec 2004 10:09:34 +0000 (10:09 -0000)]
* Makefile (RESOURCE_FILES): List only filenames.
(LIB_MCS_FLAGS): Strip off directory of resource files to get resource names.
(EXTRA_DISTFILES): Add $(RESOURCE_FILES).
svn path=/trunk/mcs/; revision=37180
Raja R Harinath [Mon, 6 Dec 2004 09:53:49 +0000 (09:53 -0000)]
2004-12-06 Raja R Harinath <rharinath@novell.com>
Fix crash on cs0657-17.cs.
* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Use RootContext.Tree.Types, not 'new RootTypes ()'.
* attribute.cs (GlobalAttribute.CheckAttributeType): Narrow down
the case where the NamespaceEntry gets overwritten.
svn path=/trunk/mcs/; revision=37179
Atsushi Eno [Mon, 6 Dec 2004 09:46:28 +0000 (09:46 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngException.cs : Added new .ctor() that takes RelaxngElementBase
to provide target grammar component location.
svn path=/trunk/mcs/; revision=37178
Atsushi Eno [Mon, 6 Dec 2004 09:42:32 +0000 (09:42 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngNameClass.cs,
RelaxngPattern.cs,
RelaxngGrammar.cs :
Added related grammar component location to error message.
In RelaxngDefine, Compile() caused error on duplicate key on
Hashtable.Add().
* RelaxngReader.cs : In GetStrippedAttribute(), use
GetAttribute(string,string).
svn path=/trunk/mcs/; revision=37177
Atsushi Eno [Mon, 6 Dec 2004 09:41:50 +0000 (09:41 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* RdpPattern.cs : The last attribute stuff broke usual validation wrt
global attributes.
svn path=/trunk/mcs/; revision=37176
Raja R Harinath [Mon, 6 Dec 2004 08:58:20 +0000 (08:58 -0000)]
* tools/wsdl/Makefile (EXTRA_DISTFILES): Distribute files referenced by
wsdl2.exe.sources.
svn path=/trunk/mcs/; revision=37175
Marek Safar [Mon, 6 Dec 2004 08:45:05 +0000 (08:45 -0000)]
Oups wrong warning level
svn path=/trunk/mcs/; revision=37174
Marek Safar [Mon, 6 Dec 2004 08:43:22 +0000 (08:43 -0000)]
2004-12-06 Marek Safar <marek.safar@seznam.cz>
Fixed #69195, #56821
* ecore.cs (ResolveBoolean): Tiny refactoring.
* expression.cs (Binary.DoResolve): Add warning 429 and skipping
of right expression resolving when left is false constant and
operator is LogicalAnd OR true constant and operator is LogicalOr.
* statement.cs (ResolveUnreachable): Always reports warning.
svn path=/trunk/mcs/; revision=37173
Atsushi Eno [Mon, 6 Dec 2004 05:45:40 +0000 (05:45 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* corlib_test.dll.sources : added TextWriterTest.cs.
* TextWriterTest.cs : added.
svn path=/trunk/mcs/; revision=37168
Atsushi Eno [Mon, 6 Dec 2004 04:43:04 +0000 (04:43 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* TextWriter.cs : create CoreNewLine in another .ctor().
svn path=/trunk/mcs/; revision=37164
Miguel de Icaza [Mon, 6 Dec 2004 00:58:32 +0000 (00:58 -0000)]
update
svn path=/trunk/mcs/; revision=37163
Miguel de Icaza [Mon, 6 Dec 2004 00:57:22 +0000 (00:57 -0000)]
2004-12-02 Miguel de Icaza <miguel@ximian.com>
* ILParser.jay(field_init): Explicit cast to the target type, this
is what ilasm does (0xFFFFFFFF) as an int gets translated
svn path=/trunk/mcs/; revision=37162
Ben Maurer [Sun, 5 Dec 2004 23:53:20 +0000 (23:53 -0000)]
2004-12-05 Ben Maurer <bmaurer@ximian.com>
* TextWriter.cs (WriteLine): Use CoreNewLine so that this does
not make a string out of the array every time it is called.
Thanks to Atsushi for the idea.
svn path=/trunk/mcs/; revision=37161
Miguel de Icaza [Sun, 5 Dec 2004 23:44:24 +0000 (23:44 -0000)]
Update
svn path=/trunk/mono/; revision=37160
Gonzalo Paniagua Javier [Sun, 5 Dec 2004 23:12:59 +0000 (23:12 -0000)]
updated entry
svn path=/trunk/mcs/; revision=37158
Miguel de Icaza [Sun, 5 Dec 2004 23:07:35 +0000 (23:07 -0000)]
2004-12-05 Miguel de Icaza <miguel@ximian.com>
* AutoResetEvent.cs (Set, Reset): If we are disposed, throw a
ObjectDisposedEvent, helped track the WebConnection destructor
issue.
svn path=/trunk/mcs/; revision=37157
Gonzalo Paniagua Javier [Sun, 5 Dec 2004 23:00:58 +0000 (23:00 -0000)]
2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConnection.cs: set the event in Close so that if the queue is
empty, we won't block forever on next request.
svn path=/trunk/mcs/; revision=37155
Francisco Figueiredo Jr. [Sun, 5 Dec 2004 22:49:37 +0000 (22:49 -0000)]
2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
* Npgsql/NpgsqlCommand.cs: gborg 971 & 1068: Added support for ParameterDirection.Output and ParameterDirection.InputOutput parameters. Now you can usethese types of parameters to get results. Thanks Ivan (ivan-sun1 at mail dot ru) and (teste at aslls dot ss) for heads up.
svn path=/trunk/mcs/; revision=37154
Atsushi Eno [Sun, 5 Dec 2004 22:29:04 +0000 (22:29 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* RdpPattern.cs : fixed setupTable(). Avoid boxing.
svn path=/trunk/mcs/; revision=37153
Atsushi Eno [Sun, 5 Dec 2004 22:17:14 +0000 (22:17 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngException.cs : don't store debug string. It was so harmful
for performance.
svn path=/trunk/mcs/; revision=37152
Atsushi Eno [Sun, 5 Dec 2004 22:14:54 +0000 (22:14 -0000)]
2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : added relaxng.rng as a resource.
* relaxng.rng, copying.html : added. relaxng.rng is from Jing, so
check copying.html for the details (it is MIT/X11 compatible).
svn path=/trunk/mcs/; revision=37151
Gonzalo Paniagua Javier [Sun, 5 Dec 2004 21:31:58 +0000 (21:31 -0000)]
2004-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConnection.cs: readd prevStream. Caused regressions.
svn path=/trunk/mcs/; revision=37149
Atsushi Eno [Sun, 5 Dec 2004 19:23:12 +0000 (19:23 -0000)]
2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs :
- Better way to expose API; use ExpectedElements and
ExpectedAttributes of type ICollection. Now GetLabels is obsolete.
- Implemented notAllowed check. It might be too heavy since it
checks all the QNames returned by GetLabels. In such case, use
RoughLabelCheck = true.
- Added RoughLabelCheck of type bool that indicates to omit
notAllowed check.
* RdpPattern.cs : RdpAttribute now omits value check when the argument
value is null. It is useful to get labels.
svn path=/trunk/mcs/; revision=37147
Atsushi Eno [Sun, 5 Dec 2004 17:12:45 +0000 (17:12 -0000)]
2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs : no, it was very easy. But to avoid
state-changeful property, it is now bool Emptiable().
svn path=/trunk/mcs/; revision=37146
Atsushi Eno [Sun, 5 Dec 2004 17:05:29 +0000 (17:05 -0000)]
2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngValidatingReader.cs : reverted IsEmptiable. It was not ready.
svn path=/trunk/mcs/; revision=37145
Atsushi Eno [Sun, 5 Dec 2004 16:59:02 +0000 (16:59 -0000)]
2004-12-05 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngPattern.cs : added GetLabels() override to RdpUnresolvedRef.
* RelaxngValidatingReader.cs :
Added GetLabels() that collects "allowed element names and
attributes" at current state.
Added IsEmptiable that indicates whether current reader can be
closed by an end tag.
* RdpPattern.cs : added GetLabels().
svn path=/trunk/mcs/; revision=37144
Martin Baulig [Sun, 5 Dec 2004 16:32:04 +0000 (16:32 -0000)]
Ignore.
svn path=/trunk/mcs/; revision=37143
Miguel de Icaza [Sun, 5 Dec 2004 05:53:44 +0000 (05:53 -0000)]
Add to this list
svn path=/trunk/mcs/; revision=37141
Miguel de Icaza [Sun, 5 Dec 2004 05:36:10 +0000 (05:36 -0000)]
2004-12-05 Miguel de Icaza <miguel@ximian.com>
* class.cs: Distinguish between 1721 and 1722 (just a little help
for the programmer).
svn path=/trunk/mcs/; revision=37140
Miguel de Icaza [Sun, 5 Dec 2004 05:35:47 +0000 (05:35 -0000)]
Fix error reporting for cs1722/cs1721
svn path=/trunk/mcs/; revision=37139