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
Ben Maurer [Sun, 5 Dec 2004 02:38:06 +0000 (02:38 -0000)]
In Test/System.IO:
2004-12-04 Ben Maurer <bmaurer@ximian.com>
* DirectoryInfoTest.cs: Check for CreateSubdirectory with empty string.
In System.IO:
2004-12-04 Ben Maurer <bmaurer@ximian.com>
* DirectoryInfo.cs (CreateSubDirectory): Check the input here.
* FileSystemInfo.cs (CheckPath): Empty paths are invalid.
svn path=/trunk/mcs/; revision=37135
Martin Baulig [Sun, 5 Dec 2004 01:22:21 +0000 (01:22 -0000)]
Hmm, this breaks the build :-(
svn path=/trunk/mono/; revision=37134
Martin Baulig [Sun, 5 Dec 2004 00:09:38 +0000 (00:09 -0000)]
2004-12-05 Martin Baulig <martin@ximian.com>
* class.c (mono_class_inflate_generic_signature): Make this a
no-op if `context' is NULL or we don't have any type parameters;
also copy `sentinelpos'.
svn path=/trunk/mono/; revision=37132
Martin Baulig [Sat, 4 Dec 2004 23:53:36 +0000 (23:53 -0000)]
Override DocCommentHeader
svn path=/trunk/mcs/; revision=37131
Martin Baulig [Sat, 4 Dec 2004 23:53:26 +0000 (23:53 -0000)]
HasArrayParameter has been renamed to HasParams
svn path=/trunk/mcs/; revision=37130
Martin Baulig [Sat, 4 Dec 2004 23:49:37 +0000 (23:49 -0000)]
Reflect latest IAlias changes.
svn path=/trunk/mcs/; revision=37129
Martin Baulig [Sat, 4 Dec 2004 23:48:41 +0000 (23:48 -0000)]
Make this public again.
svn path=/trunk/mcs/; revision=37128
Martin Baulig [Sat, 4 Dec 2004 23:47:48 +0000 (23:47 -0000)]
GetPartialName() has been renamed to GetTypeName().
svn path=/trunk/mcs/; revision=37127
Martin Baulig [Sat, 4 Dec 2004 23:47:27 +0000 (23:47 -0000)]
Added doc.cs.
svn path=/trunk/mcs/; revision=37126
Martin Baulig [Sat, 4 Dec 2004 23:40:17 +0000 (23:40 -0000)]
**** Merged r36988 from MCS ****
svn path=/trunk/mcs/; revision=37125
Martin Baulig [Sat, 4 Dec 2004 23:39:09 +0000 (23:39 -0000)]
**** Merged r36987 from MCS ****
svn path=/trunk/mcs/; revision=37124
Martin Baulig [Sat, 4 Dec 2004 23:38:00 +0000 (23:38 -0000)]
**** Merged r36979 from MCS ****
svn path=/trunk/mcs/; revision=37123
Martin Baulig [Sat, 4 Dec 2004 23:32:08 +0000 (23:32 -0000)]
**** Merged r36964 from MCS ****
svn path=/trunk/mcs/; revision=37122
Martin Baulig [Sat, 4 Dec 2004 23:29:44 +0000 (23:29 -0000)]
**** Merged r36954 from MCS ****
svn path=/trunk/mcs/; revision=37121
Martin Baulig [Sat, 4 Dec 2004 23:24:28 +0000 (23:24 -0000)]
**** Merged r36952 from MCS ****
svn path=/trunk/mcs/; revision=37120
Martin Baulig [Sat, 4 Dec 2004 23:23:11 +0000 (23:23 -0000)]
**** Merged r36915 and r36920 from MCS ****
svn path=/trunk/mcs/; revision=37119
Martin Baulig [Sat, 4 Dec 2004 23:20:50 +0000 (23:20 -0000)]
**** Merged r36904 from MCS ****
svn path=/trunk/mcs/; revision=37118
Martin Baulig [Sat, 4 Dec 2004 23:19:06 +0000 (23:19 -0000)]
**** Merged r36893 from MCS ****
svn path=/trunk/mcs/; revision=37117
Martin Baulig [Sat, 4 Dec 2004 23:18:11 +0000 (23:18 -0000)]
**** Merged r36880-r36885 from MCS ****
svn path=/trunk/mcs/; revision=37116
Martin Baulig [Sat, 4 Dec 2004 23:15:07 +0000 (23:15 -0000)]
**** Merged r36766 and r36769 from MCS ****
svn path=/trunk/mcs/; revision=37115
Martin Baulig [Sat, 4 Dec 2004 23:11:53 +0000 (23:11 -0000)]
**** Merged r36762 from MCS ****
svn path=/trunk/mcs/; revision=37114
Martin Baulig [Sat, 4 Dec 2004 23:09:36 +0000 (23:09 -0000)]
**** Merged r36644-r36669 from MCS ****
svn path=/trunk/mcs/; revision=37113
Martin Baulig [Sat, 4 Dec 2004 23:07:58 +0000 (23:07 -0000)]
**** Merged r36578 from MCS ****
svn path=/trunk/mcs/; revision=37112
Martin Baulig [Sat, 4 Dec 2004 23:05:30 +0000 (23:05 -0000)]
**** Merged r36575, r36576 and r36577 from MCS ****
svn path=/trunk/mcs/; revision=37111
Martin Baulig [Sat, 4 Dec 2004 23:01:29 +0000 (23:01 -0000)]
**** Merged r36573 ****
svn path=/trunk/mcs/; revision=37110
Martin Baulig [Sat, 4 Dec 2004 22:56:53 +0000 (22:56 -0000)]
**** Merged r36570 from MCS ****
svn path=/trunk/mcs/; revision=37109
Martin Baulig [Sat, 4 Dec 2004 22:53:04 +0000 (22:53 -0000)]
**** Merged r36526 from MCS ****
svn path=/trunk/mcs/; revision=37108
Martin Baulig [Sat, 4 Dec 2004 22:50:59 +0000 (22:50 -0000)]
**** Merged r36513 from MCS ****
svn path=/trunk/mcs/; revision=37107
Martin Baulig [Sat, 4 Dec 2004 22:45:49 +0000 (22:45 -0000)]
**** Merged r36502 from MCS ****
svn path=/trunk/mcs/; revision=37106
Martin Baulig [Sat, 4 Dec 2004 22:39:06 +0000 (22:39 -0000)]
**** Merged r36440, r36454 and r36471 from MCS ****
svn path=/trunk/mcs/; revision=37105
Martin Baulig [Sat, 4 Dec 2004 22:34:16 +0000 (22:34 -0000)]
**** Merged r36411 from MCS ****
svn path=/trunk/mcs/; revision=37104
Martin Baulig [Sat, 4 Dec 2004 22:26:53 +0000 (22:26 -0000)]
**** Merged r36321, r36326, r36369 and r36373 from MCS ****
svn path=/trunk/mcs/; revision=37103
Martin Baulig [Sat, 4 Dec 2004 22:20:55 +0000 (22:20 -0000)]
**** Merged r36279 from MCS ****
svn path=/trunk/mcs/; revision=37102
Martin Baulig [Sat, 4 Dec 2004 21:48:47 +0000 (21:48 -0000)]
New test.
svn path=/trunk/mcs/; revision=37100
Martin Baulig [Sat, 4 Dec 2004 21:48:29 +0000 (21:48 -0000)]
2004-12-04 Martin Baulig <martin@ximian.com>
* gen-116.cs: New test for #69781.
svn path=/trunk/mcs/; revision=37099
Martin Baulig [Sat, 4 Dec 2004 21:48:19 +0000 (21:48 -0000)]
2004-12-04 Martin Baulig <martin@ximian.com>
* convert.cs (Convert.TypeParameter_to_Null): Use the constraints
to check whether the conversion is ok.
* typemanager.cs (TypeManager.GetTypeArguments): Just return
`Type.EmptyTypes' if we're not a generic TypeContainer.
svn path=/trunk/mcs/; revision=37098
Miguel de Icaza [Sat, 4 Dec 2004 20:35:04 +0000 (20:35 -0000)]
2004-12-03 Miguel de Icaza <miguel@ximian.com>
* delegate.cs: Only allow this on new versions of the language.
svn path=/trunk/mcs/; revision=37097
Duncan Mak [Sat, 4 Dec 2004 19:32:53 +0000 (19:32 -0000)]
2004-12-02 Duncan Mak <duncan@ximian.com>
* cs0122-7.cs:
* cs0122-8.cs: Added test cases for events, from bug #70129.
svn path=/trunk/mcs/; revision=37096
Duncan Mak [Sat, 4 Dec 2004 19:31:10 +0000 (19:31 -0000)]
2004-12-02 Duncan Mak <duncan@ximian.com>
* ecore.cs (PropertyExpr.IsAccessorAccessible): Moved to
Expression class.
(Expression.IsAccessorAccessible): Moved from the PropertyExpr to
here as a static method. Take an additional bool out parameter
`must_do_cs1540_check' for signaling to InstanceResolve.
(PropertyExpr.InstanceResolve): Removed the `must_do_cs1540_check'
member field from PropertyExpr class and made it an argument of
the method instead.
(EventExpr.InstanceResolve): Copied from PropertyExpr, removed the
check for MarshalByRefObject, and report CS0122 instead of CS1540.
(EventExpr.DoResolve): Call IsAccessorAccessible on `add_accessor'
and `remove_accessor' as well as InstanceResolve: report CS0122
where applicable.
Fixes #70129.
svn path=/trunk/mcs/; revision=37095
Atsushi Eno [Sat, 4 Dec 2004 19:25:02 +0000 (19:25 -0000)]
2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaObject.cs : added Parent.
* XmlSchema.cs,
XmlSchemaElement.cs,
XmlSchemaAttribute.cs,
XmlSchemaAttributeGroup.cs,
XmlSchemaGroup.cs,
XmlSchemaComplexType.cs,
XmlSchemaSequence.cs,
XmlSchemaChoice.cs,
XmlSchemaAll.cs,
XmlSchemaIdentityConstraint.cs,
XmlSchemaComplexContent.cs,
XmlSchemaSimpleContent.cs,
XmlSchemaSimpleContentExtension.cs,
XmlSchemaSimpleContentRestriction.cs,
XmlSchemaComplexContentExtension.cs,
XmlSchemaComplexContentRestriction.cs,
XmlSchemaSimpleType.cs,
XmlSchemaSimpleTypeRestriction.cs,
XmlSchemaSimpleTypeList.cs,
XmlSchemaSimpleTypeUnion.cs : Fill Parent on Compilation.
* XmlSchemaException.cs,
XmlSchemaInferenceException.cs,
XmlSchemaValidationException.cs : added SecurityPermissionAttribute.
svn path=/trunk/mcs/; revision=37094
Zoltan Varga [Sat, 4 Dec 2004 19:25:01 +0000 (19:25 -0000)]
2004-12-04 Zoltan Varga <vargaz@freemail.hu>
* delegate.cs: Add test for unboxing and delegates.
svn path=/trunk/mono/; revision=37093
Zoltan Varga [Sat, 4 Dec 2004 19:21:03 +0000 (19:21 -0000)]
2004-12-04 Zoltan Varga <vargaz@freemail.hu>
* image.c: Add unbox_wrapper_cache.
svn path=/trunk/mono/; revision=37091
Zoltan Varga [Sat, 4 Dec 2004 19:15:38 +0000 (19:15 -0000)]
2004-12-04 Zoltan Varga <vargaz@freemail.hu>
* class-internals.h debug-helpers.c: Add MONO_WRAPPER_UNBOX.
* marshal.h marshal.c (mono_marshal_get_unbox_wrapper): New wrapper
function generator.
* object.c (mono_delegate_ctor): Call unbox wrapper if neccesary.
Fixes #70173.
* metadata-internals.h image.c: Add MonoImage->unbox_wrapper_cache.
svn path=/trunk/mono/; revision=37090
Miguel de Icaza [Sat, 4 Dec 2004 19:13:15 +0000 (19:13 -0000)]
Fix build, and make the tests have a uniform naming
svn path=/trunk/mcs/; revision=37089
Atsushi Eno [Sat, 4 Dec 2004 18:26:07 +0000 (18:26 -0000)]
2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
* library.make,
profiles/default.make,
profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
svn path=/trunk/mcs/; revision=37088
Martin Baulig [Sat, 4 Dec 2004 17:55:24 +0000 (17:55 -0000)]
2004-12-04 Martin Baulig <martin@ximian.com>
* hashing/HashTableTests.cs: Disabled some tests which make
assumptions about the ordering of elements in the hashtable. They
also do not work on Windows.
* hashing/HashBagTests.cs: Likewise.
* hashing/HashDictionaryTests.cs: Likewise.
svn path=/trunk/mcs/; revision=37087
Atsushi Eno [Sat, 4 Dec 2004 17:23:43 +0000 (17:23 -0000)]
2004-12-04 Atsushi Enomoto <atsushi@ximian.com>
* XPathDocument.cs : switch to DTMXPathNavigator2 which fully
eliminated string fields from struct.
(When we switch from struct to class, revert this change to use
DTMXPathNavigator, since class-based DTMXPathNavigator2 is rather
wasting processing speed.)
svn path=/trunk/mcs/; revision=37086
Martin Baulig [Sat, 4 Dec 2004 16:55:25 +0000 (16:55 -0000)]
Removed the last FIXME's.
svn path=/trunk/mcs/; revision=37085
Martin Baulig [Sat, 4 Dec 2004 16:55:05 +0000 (16:55 -0000)]
New test.
svn path=/trunk/mcs/; revision=37084
Martin Baulig [Sat, 4 Dec 2004 16:53:38 +0000 (16:53 -0000)]
2004-12-04 Martin Baulig <martin@ximian.com>
* mini.c (mono_method_to_ir): In CEE_CALLVIRT, use the new
mono_method_get_signature_full().
svn path=/trunk/mono/; revision=37083