Atsushi Eno [Mon, 8 Nov 2004 09:18:29 +0000 (09:18 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs,
DTDReader.cs,
XmlReader.cs,
XmlTextReader.cs,
XmlException.cs :
Added support for 2.0 XmlException.SourceUri property. Improved
exception handling to contain BaseURI everywhere in the parser.
svn path=/trunk/mcs/; revision=35820
Jambunathan K [Mon, 8 Nov 2004 08:35:37 +0000 (08:35 -0000)]
Coalesced the functionality of Property and
PropertyBase in to Property class and removed the class
PropertyBase.
svn path=/trunk/mcs/; revision=35819
Jambunathan K [Mon, 8 Nov 2004 08:12:25 +0000 (08:12 -0000)]
* attribute.cs: Injected a new virtual property
Attributable.AttributeTargets
* decl.cs: Made MemeberCore a derived class of
Attributable.
* parameter.cs: Made Parameter a derived class of
Attributable.
* class.cs: Commented out the "never used" class Indexer. I
suspect that the class will never be required in VB.NET context
and can possibly be stripped off after careful inspection.
* tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
const.cs, codegen.cs: Changes necessiated by the above changes.
svn path=/trunk/mcs/; revision=35818
Raja R Harinath [Mon, 8 Nov 2004 07:59:26 +0000 (07:59 -0000)]
(test-clients): Refer to 'nunit-console.exe' in
profile-specific directory.
svn path=/trunk/mcs/; revision=35817
Atsushi Eno [Mon, 8 Nov 2004 06:59:43 +0000 (06:59 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* xmltest.cs : reformat; easier to check.
svn path=/trunk/mcs/; revision=35816
Atsushi Eno [Mon, 8 Nov 2004 06:59:14 +0000 (06:59 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlNodeReaderTests.cs : numbered some of asserts.
svn path=/trunk/mcs/; revision=35815
Atsushi Eno [Mon, 8 Nov 2004 06:53:22 +0000 (06:53 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources :
added XmlTextReader2.cs.
removed IXPathEditable.cs, XPathEditableNavigator.cs,
NodeChangedEventArgs.cs and NodeChangedEventHandler.cs.
svn path=/trunk/mcs/; revision=35814
Atsushi Eno [Mon, 8 Nov 2004 06:51:03 +0000 (06:51 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReaderTests.cs : added tests for 2.0 entity handling.
* XmlValidatingReaderTests.cs : modified tests for entity handling
that are changed in 2.0.
svn path=/trunk/mcs/; revision=35813
Atsushi Eno [Mon, 8 Nov 2004 06:49:47 +0000 (06:49 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader2.cs : added. It is used to serve public API, plus
entity handling support.
* DTDObjectModel.cs,
DTDValidatingReader.cs,
XmlDocumentType.cs,
XmlParserContext.cs,
XmlTextReader.cs :
Implemented XmlTextReader.EntityHandling and ResolveEntity(). To
implement them, XmlTextReader in 2.0 itself is in XmlTextReader2.cs
and XmlTextReader.cs contains Mono.Xml2.XmlTextReader which is the
same as 1.x XmlTextReader. XmlTextReader2 switches entity reader and
source reader, and never handles tokenization.
The reason for "Mono.Xml2" is to avoid large changes in constructor.f
svn path=/trunk/mcs/; revision=35812
Atsushi Eno [Mon, 8 Nov 2004 06:42:46 +0000 (06:42 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : reuse NameTable on loading external schema.
svn path=/trunk/mcs/; revision=35811
Atsushi Eno [Mon, 8 Nov 2004 06:36:05 +0000 (06:36 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* Tokenizer.cs : just use raw string instead of char[].
* XPathNavigator.cs : reuse NameTable when creating XmlTextReader.
svn path=/trunk/mcs/; revision=35810
Atsushi Eno [Mon, 8 Nov 2004 06:33:42 +0000 (06:33 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaSet.cs : use NameTable when creating XmlTextReader.
svn path=/trunk/mcs/; revision=35809
Atsushi Eno [Mon, 8 Nov 2004 06:32:35 +0000 (06:32 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttribute.cs, XmlElement.cs : get_Name should consider name table.
* XmlDocument.cs : use NameTable in Load() and LoadXml().
* XmlReader.cs : In Create(), use NameTable in XmlReaderSettings.
svn path=/trunk/mcs/; revision=35808
Atsushi Eno [Mon, 8 Nov 2004 06:29:01 +0000 (06:29 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* Compiler.cs, XslTransformProcessor.cs :
when creating XmlTextReader, reuse XmlNameTable.
svn path=/trunk/mcs/; revision=35807
Ben Maurer [Mon, 8 Nov 2004 04:08:13 +0000 (04:08 -0000)]
a few warning fixes
svn path=/trunk/mono/; revision=35806
Ben Maurer [Mon, 8 Nov 2004 03:47:25 +0000 (03:47 -0000)]
2004-11-08 Ben Maurer <bmaurer@ximian.com>
* interp.c: warning free
svn path=/trunk/mono/; revision=35805
Ben Maurer [Mon, 8 Nov 2004 03:37:57 +0000 (03:37 -0000)]
2004-11-08 Ben Maurer <bmaurer@ximian.com>
* get.c, dump.c: warning free.
svn path=/trunk/mono/; revision=35804
Ben Maurer [Mon, 8 Nov 2004 03:19:16 +0000 (03:19 -0000)]
fix
svn path=/trunk/mono/; revision=35803
Ben Maurer [Mon, 8 Nov 2004 03:11:09 +0000 (03:11 -0000)]
generics doesnt like me...
svn path=/trunk/mono/; revision=35802
Ben Maurer [Mon, 8 Nov 2004 02:27:23 +0000 (02:27 -0000)]
fix this
svn path=/trunk/mono/; revision=35801
Ben Maurer [Mon, 8 Nov 2004 02:06:50 +0000 (02:06 -0000)]
2004-11-07 Ben Maurer <bmaurer@ximian.com>
* class-internals.h (MonoMethod): Move addr to MonoMethodPInvoke
since most only those methods use it. the code member of
MonoMethodPInvoke was dead, so that can be removed too. Also,
remove inline_count (again, not used), and move slot so that it
can share bits with some other flags. This saves 8 bytes in the
structure and gives us about 50 kb back for mcs helloworld.cs
* *.[ch]: Do naming changes for the above. 2004-11-07 Ben Maurer <bmaurer@ximian.com>
* tramp-*.c: we no longer support icalls without wrappers, so
a bit of code can be removed here
svn path=/trunk/mono/; revision=35800
Ben Maurer [Mon, 8 Nov 2004 01:22:21 +0000 (01:22 -0000)]
wack-a-mole
svn path=/trunk/mono/; revision=35799
Ben Maurer [Mon, 8 Nov 2004 01:20:57 +0000 (01:20 -0000)]
warning fix
svn path=/trunk/mono/; revision=35798
Ben Maurer [Mon, 8 Nov 2004 01:06:15 +0000 (01:06 -0000)]
2004-11-07 Ben Maurer <bmaurer@ximian.com>
* loader.c (mono_method_get_header): Lazily init the header
on first access.
(mono_get_method_from_token): don't init the header here
(mono_free_method): the header may never be allocated
Overall, this saves 150 kb of unmanaged allocations
for mcs helloworld.cs. That accounts for 10% of the unmanaged
memory at runtime.
svn path=/trunk/mono/; revision=35797
Atsushi Eno [Mon, 8 Nov 2004 00:49:08 +0000 (00:49 -0000)]
2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlFilterReader.cs : ReadInnerXml() and ReadOuterXml() should not
invoke those of argument reader. It causes unfiltered results like
XmlValidatingReader bug in MS.NET 1.0. Just don't implement it.
svn path=/trunk/mcs/; revision=35796
Miguel de Icaza [Mon, 8 Nov 2004 00:48:47 +0000 (00:48 -0000)]
2004-11-07 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Invocation.OverloadResolve): Flag error if we are
calling an unsafe method from a safe location.
svn path=/trunk/mcs/; revision=35795
Ben Maurer [Mon, 8 Nov 2004 00:45:35 +0000 (00:45 -0000)]
2004-11-07 Ben Maurer <bmaurer@ximian.com>
* loader.c, loader.h (mono_method_get_header): new accessor.
* *.[ch]: use the above method. Prepares us to lazily load
the header.
svn path=/trunk/mono/; revision=35794
Miguel de Icaza [Mon, 8 Nov 2004 00:45:27 +0000 (00:45 -0000)]
Add new error case
svn path=/trunk/mcs/; revision=35793
Ben Maurer [Sun, 7 Nov 2004 22:49:19 +0000 (22:49 -0000)]
2004-11-07 Ben Maurer <bmaurer@ximian.com>
* IntegerFormatter.cs: Avoid .ToCharArray, it was being used in
places where there was no reason for it. Also, allocate buffers
using stackalloc. This avoids the cost of allocating a char []
buffer in the gc. Also did some minor style changes.
This gives a huge reduction in memory allocation for integer formatting.
often you see something like:
665 KB System.IntegerFormatter::FormatGeneral(long,int,NumberFormatInfo,bool,int)
463 KB 11710 System.Char[]
201 KB 11710 System.String
This patch removes the char [] part. (it also removes the
tochararray, which accounts for even more.
svn path=/trunk/mcs/; revision=35792
Zoltan Varga [Sun, 7 Nov 2004 21:09:13 +0000 (21:09 -0000)]
2004-11-07 Zoltan Varga <vargaz@freemail.hu>
* exceptions-sparc.c (get_throw_exception): Fix more bugs in previous
patch.
svn path=/trunk/mono/; revision=35791
Zoltan Varga [Sun, 7 Nov 2004 20:49:10 +0000 (20:49 -0000)]
2004-11-07 Zoltan Varga <vargaz@freemail.hu>
* cpu-sparc.md: Add op_rethrow.
svn path=/trunk/mono/; revision=35790
Zoltan Varga [Sun, 7 Nov 2004 20:27:49 +0000 (20:27 -0000)]
2004-11-07 Zoltan Varga <vargaz@freemail.hu>
* exceptions-sparc.c (get_throw_exception): Fix bug in previous patch.
svn path=/trunk/mono/; revision=35789
Zoltan Varga [Sun, 7 Nov 2004 20:19:02 +0000 (20:19 -0000)]
2004-11-07 Zoltan Varga <vargaz@freemail.hu>
* mini-sparc.h mini-sparc.c exceptions-sparc.c: Add support for OP_RETHROW.
svn path=/trunk/mono/; revision=35788
Zoltan Varga [Sun, 7 Nov 2004 20:15:42 +0000 (20:15 -0000)]
2004-11-07 Zoltan Varga <vargaz@freemail.hu>
* mini.h: Add mono_arch_get_rethrow_exception () arch specific function.
* mini-ops.h: Add OP_RETHROW.
* mini.c inssel.brg: Distinguish between THROW and RETHROW.
* cpu-amd64.c mini-amd64.c exceptions-amd64.c: Add support for OP_RETHROW.
svn path=/trunk/mono/; revision=35787
Zoltan Varga [Sun, 7 Nov 2004 19:52:27 +0000 (19:52 -0000)]
2004-11-07 Zoltan Varga <vargaz@freemail.hu>
* mono-jni.c (GET_SET_ARRAY_ELEMENTS): Fix compilation errors on
gcc 3.3.5.
svn path=/trunk/mono/; revision=35786
César Natarén [Sun, 7 Nov 2004 18:19:16 +0000 (18:19 -0000)]
use inherited constructor
svn path=/trunk/mcs/; revision=35785
César Natarén [Sun, 7 Nov 2004 18:17:02 +0000 (18:17 -0000)]
update README
svn path=/trunk/mcs/; revision=35784
César Natarén [Sun, 7 Nov 2004 18:10:45 +0000 (18:10 -0000)]
2004-11-07 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* BinaryOp.cs: added constructor for instantiating derived classes.
* BitwiseBinary.cs, Equality.cs, In.cs, InstanceOf.cs,
NumericBinary.cs, Plus.cs, Relational.cs, StrictEquality.cs,
expression.cs (classes Binary, Assign): use inherited constructor.
* BitwiseBinary.cs, Equality.cs: deleted public constructor which carried the context.
svn path=/trunk/mcs/; revision=35783
Ben Maurer [Sun, 7 Nov 2004 17:30:57 +0000 (17:30 -0000)]
wack-a-mole time...
svn path=/trunk/mono/; revision=35782
Ben Maurer [Sun, 7 Nov 2004 17:09:30 +0000 (17:09 -0000)]
2004-11-07 Ben Maurer <bmaurer@ximian.com>
* *.[ch]: Clean up all the pesky warnings. gcc now only gives
three warnings, which are actual bugs (see 69206).
svn path=/trunk/mono/; revision=35781
Atsushi Eno [Sun, 7 Nov 2004 15:11:44 +0000 (15:11 -0000)]
2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaSet.cs : reduced extraneous XmlSchemaObjectTable creation.
svn path=/trunk/mcs/; revision=35779
Atsushi Eno [Sun, 7 Nov 2004 14:54:10 +0000 (14:54 -0000)]
2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : optimized some ArrayList fields; create them
only when required.
svn path=/trunk/mcs/; revision=35778
Ben Maurer [Sun, 7 Nov 2004 14:45:10 +0000 (14:45 -0000)]
2004-11-07 Ben Maurer <bmaurer@ximian.com>
* class-internals.h (MonoMethod): Remove remoting_tramp. It is
unused. Saves a cool 4 bytes / method.
svn path=/trunk/mono/; revision=35777
Atsushi Eno [Sun, 7 Nov 2004 12:46:00 +0000 (12:46 -0000)]
2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs :
- Made copy constructor certainly different from other constructors.
- Position is never computed in each derived type. All MoveNext() are
now MoveNextCore().
- Most of the protected members could just be private.
svn path=/trunk/mcs/; revision=35776
Atsushi Eno [Sun, 7 Nov 2004 08:57:39 +0000 (08:57 -0000)]
2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
* PosixEnvironment.cs : csc build fix. see bug #69195.
* PosixStream.cs : csc build fix. see bug #69196.
svn path=/trunk/mcs/; revision=35775
Marek Safar [Sat, 6 Nov 2004 21:56:09 +0000 (21:56 -0000)]
2004-11-06 Marek Safar <marek.safar@seznam.cz>
Fix #69167
* codegen.cs (ApplyAttributeBuilder): Do not return; it is only warning.
svn path=/trunk/mcs/; revision=35773
Ben Maurer [Sat, 6 Nov 2004 20:26:47 +0000 (20:26 -0000)]
2004-11-06 Ben Maurer <bmaurer@ximian.com>
* metadata.c (builtin_types): Add types for System.Object here.
(mono_metadata_parse_type_full): Cache MonoType*'s that are
for a class or valuetype from klass->this_arg or klass->byval_arg.
On mcs for a hello world, this gets us down from 21836 MonoType's
to 14560.
(mono_metadata_free_type): Account for the above change.
svn path=/trunk/mono/; revision=35772
Jambunathan K [Sat, 6 Nov 2004 18:25:25 +0000 (18:25 -0000)]
* typemanager.cs: Removed TypeManager.builder_to_attr which was
redundant and replaced LookupAttr with LookupClass.
* rootcontext.cs:
* module.cs: Miscellaneous changes
* mb-parser.jay: Upadted actions of the attributes grammar
* codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
AssemblyClass, ModuleClass 2) Introduced following methods
CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes
* class.cs: Factored out TypeContainer.AttributeUsage
* attribute.cs: 1) Factored out Attribute.UsageAttribute and
Attribute.GetAttributeUsage 2) Introducing the new base class
Attributable from which all Attributable types will be derived in
the future 3) Added new accessors Attribute.IsAssemblyAttribute
and Attribute.IsModuleAttribute
svn path=/trunk/mcs/; revision=35771
Miguel de Icaza [Sat, 6 Nov 2004 16:56:50 +0000 (16:56 -0000)]
Fix another miss-use of MemberName
svn path=/trunk/mcs/; revision=35770
Miguel de Icaza [Sat, 6 Nov 2004 16:52:07 +0000 (16:52 -0000)]
flush
svn path=/trunk/mcs/; revision=35769
Atsushi Eno [Sat, 6 Nov 2004 12:55:59 +0000 (12:55 -0000)]
2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
* Compiler.cs : Changes that reflects CompiledExpression changes.
svn path=/trunk/mcs/; revision=35768
Atsushi Eno [Sat, 6 Nov 2004 12:55:33 +0000 (12:55 -0000)]
2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs, XPathNavigator.cs : hold raw expression field for
get_Expression. It is preparation for expression optimization.
svn path=/trunk/mcs/; revision=35767
Atsushi Eno [Sat, 6 Nov 2004 12:04:35 +0000 (12:04 -0000)]
2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : SimpleIterator._current could be cloned only when
it is required.
svn path=/trunk/mcs/; revision=35765
Jambunathan K [Sat, 6 Nov 2004 11:47:31 +0000 (11:47 -0000)]
(LateGet, LateSet): Ported the missing pieces
from Mainsoft's codebase.
svn path=/trunk/mcs/; revision=35764
Atsushi Eno [Sat, 6 Nov 2004 11:46:18 +0000 (11:46 -0000)]
2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : Some removal of Clone() were harmless.
svn path=/trunk/mcs/; revision=35763
Gert Driesen [Sat, 6 Nov 2004 11:16:56 +0000 (11:16 -0000)]
* Tds70.cs: avoid unnecessary property call
svn path=/trunk/mcs/; revision=35762
Atsushi Eno [Sat, 6 Nov 2004 05:34:39 +0000 (05:34 -0000)]
2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocumentNavigator.cs : create rarely-used ArrayList later. This
significantly improves XmlDocument-based XPath performance.
svn path=/trunk/mcs/; revision=35760
Ben Maurer [Sat, 6 Nov 2004 03:58:10 +0000 (03:58 -0000)]
2004-11-06 Ben Maurer <bmaurer@ximian.com>
* Single.cs, Double.cs (GetHashCode): Better hashcode impl
svn path=/trunk/mcs/; revision=35759
Ben Maurer [Sat, 6 Nov 2004 03:41:29 +0000 (03:41 -0000)]
2004-11-06 Ben Maurer <bmaurer@ximian.com>
* System.Resources/ResXResourceReader.cs: use File.OpenRead so
that we can open on read-only files. 68260
svn path=/trunk/mcs/; revision=35757
Geoff Norton [Sat, 6 Nov 2004 02:25:34 +0000 (02:25 -0000)]
Forgot changelog for tracking.
svn path=/trunk/mono/; revision=35756
Jonathan Pryor [Sat, 6 Nov 2004 02:24:18 +0000 (02:24 -0000)]
Re-add Catalog.cs to the build. I'm not sure why I removed this...
svn path=/trunk/mcs/; revision=35755
Geoff Norton [Sat, 6 Nov 2004 02:13:48 +0000 (02:13 -0000)]
Minor change to otool command args to pretty up mono -v -v on OSX.
svn path=/trunk/mono/; revision=35754
Jackson Harper [Sat, 6 Nov 2004 00:30:21 +0000 (00:30 -0000)]
When selected tabs are expanded make sure they don't go beyond the edges of the tab control
svn path=/trunk/mcs/; revision=35753
Ben Maurer [Fri, 5 Nov 2004 23:26:18 +0000 (23:26 -0000)]
2004-11-05 Ben Maurer <bmaurer@ximian.com>
* ssa.c: allocate MonoMethodVar.uses from the mempool. First, this
prevents another huge leak when compiling with ssa. Secondly, the
performance of doing this rather than freeing the lists is much
better. GList does a lock every time you allocate a list link,
so that it can use a memory pool. So, it is better to just use
a memory pool of our own.
svn path=/trunk/mono/; revision=35752
Ben Maurer [Fri, 5 Nov 2004 22:12:38 +0000 (22:12 -0000)]
oops missed one
svn path=/trunk/mono/; revision=35751
Ben Maurer [Fri, 5 Nov 2004 22:10:36 +0000 (22:10 -0000)]
2004-11-05 Ben Maurer <bmaurer@ximian.com>
* ssa.c, linear-scan.c: replace g_list_remove_link with
g_list_delete. The remove one does not free the GList, so we were
leaking memory. On -O=all --compile-all with corlib, this cut down
3 MB of allocations.
svn path=/trunk/mono/; revision=35750
Jackson Harper [Fri, 5 Nov 2004 21:57:01 +0000 (21:57 -0000)]
Reset show_slider so if the control is resized to a size where it is no longer needed it's not displayed anymore
svn path=/trunk/mcs/; revision=35749
Zoltan Varga [Fri, 5 Nov 2004 21:47:16 +0000 (21:47 -0000)]
2004-11-06 Zoltan Varga <vargaz@freemail.hu>
* AppDomainTest.cs: Reenable SetData/GetData (null) tests.
svn path=/trunk/mcs/; revision=35747
Zoltan Varga [Fri, 5 Nov 2004 21:46:15 +0000 (21:46 -0000)]
2004-11-06 Zoltan Varga <vargaz@freemail.hu>
* appdomain.c (ves_icall_System_AppDomain_GetData): Throw an
exception instead of asserting if name is null.
(ves_icall_System_AppDomain_GetData): Ditto.
svn path=/trunk/mono/; revision=35746
Zoltan Varga [Fri, 5 Nov 2004 21:40:55 +0000 (21:40 -0000)]
2004-11-06 Zoltan Varga <vargaz@freemail.hu>
* TypeBuilderTest.cs: Ignore some tests which depend on TypeBuilder
features which are unlikely to change due to mcs depending on them.
svn path=/trunk/mcs/; revision=35745
Miguel de Icaza [Fri, 5 Nov 2004 21:27:22 +0000 (21:27 -0000)]
Deal with gmcs not being merged
svn path=/trunk/mcs/; revision=35743
Zoltan Varga [Fri, 5 Nov 2004 21:20:38 +0000 (21:20 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* AssemblyName.cs (FullName): Omit default values from full name.
svn path=/trunk/mcs/; revision=35741
Zoltan Varga [Fri, 5 Nov 2004 21:19:47 +0000 (21:19 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* EnumBuilderTest.cs: Remove test that depends on the exact format
of AssemblyName.FullName.
svn path=/trunk/mcs/; revision=35740
Zoltan Varga [Fri, 5 Nov 2004 21:14:29 +0000 (21:14 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
(ves_icall_get_enum_info): Avoid crash when called on a non-finished
EnumBuilder.
svn path=/trunk/mono/; revision=35739
Miguel de Icaza [Fri, 5 Nov 2004 20:51:02 +0000 (20:51 -0000)]
2004-11-05 Miguel de Icaza <miguel@ximian.com>
* statement.cs (Return.Resolve): Fix regression in typo: if
`in_exc', we have to request a NeedReturnLabel, this was a typo
introduced in the anonymous method check-in. Fixes #69131.
svn path=/trunk/mcs/; revision=35738
Zoltan Varga [Fri, 5 Nov 2004 20:17:43 +0000 (20:17 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Assembly_GetEntryAssembly):
Return NULL when the domain does not have entry_assembly set.
svn path=/trunk/mono/; revision=35737
Jackson Harper [Fri, 5 Nov 2004 20:16:27 +0000 (20:16 -0000)]
Make tab pages non visible when added to the control
svn path=/trunk/mcs/; revision=35736
Zoltan Varga [Fri, 5 Nov 2004 20:14:48 +0000 (20:14 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* Assembly.cs: Implement GetFiles (bool).
svn path=/trunk/mcs/; revision=35735
Zoltan Varga [Fri, 5 Nov 2004 20:09:27 +0000 (20:09 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Assembly_GetFilesInternal):
Add a 'resource_modules' argument.
(ves_icall_type_GetTypeCode): Fix typecode of byref types.
svn path=/trunk/mono/; revision=35734
Jackson Harper [Fri, 5 Nov 2004 19:42:34 +0000 (19:42 -0000)]
Implement SizeMode.FillToRight
svn path=/trunk/mcs/; revision=35732
Jonathan Pryor [Fri, 5 Nov 2004 19:42:24 +0000 (19:42 -0000)]
More Mac OS X portability fixes. On Linux, getgrnam_r & co. return the error
value directly. Mac OS X returns -1 and errno holds the error. Argh! Check
both, for maximum portability.
svn path=/trunk/mono/; revision=35731
Miguel de Icaza [Fri, 5 Nov 2004 19:38:32 +0000 (19:38 -0000)]
2004-11-05 Miguel de Icaza <miguel@ximian.com>
* Indexers were using the ShortName when defining themselves,
causing a regression in the compiler bootstrap when applying the
patch from 2004-11-02 (first part), now they use their full name
and the bug is gone.
Reapplied:
2004-11-02 Miguel de Icaza <miguel@ximian.com>
* class.cs (Event.Define, Indexer.Define, Property.Define): Do not
special case explicit implementations, we should always produce
the .property or .event declaration.
svn path=/trunk/mcs/; revision=35728
Miguel de Icaza [Fri, 5 Nov 2004 19:37:52 +0000 (19:37 -0000)]
Enable 135 again
svn path=/trunk/mcs/; revision=35727
Jonathan Pryor [Fri, 5 Nov 2004 19:16:52 +0000 (19:16 -0000)]
Mac OS X and BSD portability fixes. MonoPosixHelper should now cleanly
compile on Darwin.
svn path=/trunk/mono/; revision=35725
Jackson Harper [Fri, 5 Nov 2004 19:16:48 +0000 (19:16 -0000)]
Do not call CreateHandle if the handle is already created
svn path=/trunk/mcs/; revision=35724
Zoltan Varga [Fri, 5 Nov 2004 19:15:45 +0000 (19:15 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_reflection_create_runtime_class): Move setting
of wastypebuilder here, so mono_get_type_object () returns a MonoType
for enums too.
svn path=/trunk/mono/; revision=35723
Zoltan Varga [Fri, 5 Nov 2004 19:13:02 +0000 (19:13 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* AssemblyTest.cs: Reenable GetFiles (true) test. Add a LoadWithPartialName () test.
svn path=/trunk/mcs/; revision=35722
Jonathan Pryor [Fri, 5 Nov 2004 18:58:44 +0000 (18:58 -0000)]
* Syscall.cs: Change umount() to use MonoPosixHelper: portability fix for Mac OS X.
svn path=/trunk/mcs/; revision=35717
Jackson Harper [Fri, 5 Nov 2004 18:46:18 +0000 (18:46 -0000)]
Remove superflous call to CalcTabRows
svn path=/trunk/mcs/; revision=35716
Miguel de Icaza [Fri, 5 Nov 2004 18:13:23 +0000 (18:13 -0000)]
135 while its broken
svn path=/trunk/mcs/; revision=35713
Zoltan Varga [Fri, 5 Nov 2004 17:56:43 +0000 (17:56 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* Binder.cs: Add support for byref types. Fixes #69140.
svn path=/trunk/mcs/; revision=35710
Zoltan Varga [Fri, 5 Nov 2004 17:55:47 +0000 (17:55 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* MethodInfoTest.cs: Add test for byref parameters to Invoke ().
svn path=/trunk/mcs/; revision=35709
Sebastien Pouliot [Fri, 5 Nov 2004 17:20:49 +0000 (17:20 -0000)]
2004-11-05 Sebastien Pouliot <sebastien@ximian.com>
* KeyPairPersistenceTest.cs: Forgot to re-fix the second failing test.
svn path=/trunk/mcs/; revision=35706
Sebastien Pouliot [Fri, 5 Nov 2004 17:19:09 +0000 (17:19 -0000)]
2004-11-05 Sebastien Pouliot <sebastien@ximian.com>
* PrivateKeyTest.cs: Fixed SaltWithoutPassword test to always use
little endian.
svn path=/trunk/mcs/; revision=35705
Sebastien Pouliot [Fri, 5 Nov 2004 17:17:00 +0000 (17:17 -0000)]
2004-11-05 Sebastien Pouliot <sebastien@ximian.com>
* MessageBase.cs: Fixed endian issue. Added globalization support.
* Type1Message.cs: Fixed endian issue. Added globalization support.
* Type2Message.cs: Fixed endian issue.
* Type3Message.cs: Fixed endian issue. Added globalization support.
svn path=/trunk/mcs/; revision=35704
Sebastien Pouliot [Fri, 5 Nov 2004 17:15:11 +0000 (17:15 -0000)]
2004-11-05 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeFormatter.cs: Now use BitConverterLE for explicit
little-endian convertion.
* PrivateKey.cs: Now use BitConverterLE for explicit little-endian
convertion for PVK files.
svn path=/trunk/mcs/; revision=35703
Jackson Harper [Fri, 5 Nov 2004 16:07:53 +0000 (16:07 -0000)]
Update for Mono.Posix changes
svn path=/trunk/mcs/; revision=35701
Zoltan Varga [Fri, 5 Nov 2004 15:57:53 +0000 (15:57 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi): Return NULL here instead of an empty string to match MS behavior.
(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAnsi_len):
Throw an ArgumentNullException if 'ptr' is null.
svn path=/trunk/mono/; revision=35700
Zoltan Varga [Fri, 5 Nov 2004 15:41:52 +0000 (15:41 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* runtime/net_2_0/Makefile.am (install-data-local):
* runtime/net_1_1/Makefile.am (install-data-local): Applied patch
from G�tz Waschk (waschk@informatik.uni-rostock.de). Make this work
with DESTDIR.
svn path=/trunk/mono/; revision=35699
Zoltan Varga [Fri, 5 Nov 2004 15:18:12 +0000 (15:18 -0000)]
2004-11-05 Zoltan Varga <vargaz@freemail.hu>
* loader.cs: Add test for loading dynamic assemblies using
Assembly.LoadWithPartialName ().
svn path=/trunk/mono/; revision=35697