Piers Haken [Wed, 30 Jul 2003 03:20:04 +0000 (03:20 -0000)]
2003-07-29 Piers Haken <piersh@friskit.com>
* XPathNavigator.cs:
* Expression.cs:
add typesafe Evaluate* methods
svn path=/trunk/mcs/; revision=16870
Piers Haken [Wed, 30 Jul 2003 02:40:03 +0000 (02:40 -0000)]
2003-07-29 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: fix 'substring-after'
svn path=/trunk/mcs/; revision=16869
Alexandre Pigolkine [Wed, 30 Jul 2003 02:26:47 +0000 (02:26 -0000)]
BmpPaint.cs modified
svn path=/trunk/mcs/; revision=16868
Alexandre Pigolkine [Wed, 30 Jul 2003 02:25:46 +0000 (02:25 -0000)]
cosmetic changes
svn path=/trunk/mcs/; revision=16867
Alexandre Pigolkine [Wed, 30 Jul 2003 02:24:14 +0000 (02:24 -0000)]
painting on loaded image
svn path=/trunk/mcs/; revision=16866
Alexandre Pigolkine [Wed, 30 Jul 2003 02:23:08 +0000 (02:23 -0000)]
InternalImageInfo class improved
svn path=/trunk/mcs/; revision=16865
Jackson Harper [Wed, 30 Jul 2003 02:14:29 +0000 (02:14 -0000)]
oops
svn path=/trunk/mcs/; revision=16864
Jackson Harper [Wed, 30 Jul 2003 02:11:12 +0000 (02:11 -0000)]
* PEAPI.cs: Allow labels to be created with an explicit offset
svn path=/trunk/mcs/; revision=16863
Piers Haken [Wed, 30 Jul 2003 00:23:46 +0000 (00:23 -0000)]
2003-07-29 Piers Haken <piersh@friskit.com>
* Iterator.cs: fix PredicateIterator.CurrentPosition bug (it wasn't incrementing)
svn path=/trunk/mcs/; revision=16862
Ben Maurer [Tue, 29 Jul 2003 22:45:01 +0000 (22:45 -0000)]
forgot to commit this before. dont worry, am not slacking ;-)
svn path=/trunk/mcs/; revision=16860
Miguel de Icaza [Tue, 29 Jul 2003 22:17:42 +0000 (22:17 -0000)]
Remove debugging bits
svn path=/trunk/mcs/; revision=16859
Miguel de Icaza [Tue, 29 Jul 2003 22:16:41 +0000 (22:16 -0000)]
2003-07-29 Miguel de Icaza <miguel@ximian.com>
* IntPtrStream.cs (Read): Use correct offset here; Change the
code to use a byte* instead of an IntPtr to reduce the number of
casts used.
svn path=/trunk/mcs/; revision=16858
Ravi Pratap M [Tue, 29 Jul 2003 20:36:58 +0000 (20:36 -0000)]
2003-07-29 Ravi Pratap <ravi@ximian.com>
* expression.cs (Invocation.MakeUnionSet): Patch from Lluis
Sanchez : use TypeManager.ArrayContainsMethod instead of a direct
reference comparison.
(TypeManager.ArrayContainsMethod): When we have a MethodInfo, also
examine the ReturnType for equality - this is necessary in the
cases of implicit and explicit operators whose signature also
includes the return type.
svn path=/trunk/mcs/; revision=16857
Ravi Pratap M [Tue, 29 Jul 2003 20:35:21 +0000 (20:35 -0000)]
2003-07-29 Ravi Pratap <ravi@ximian.com>
* conv-lib.cs: New Multi stage compilation test for bug #47043.
* conv-main.cs: Main for the above.
* Makefile: Update.
svn path=/trunk/mcs/; revision=16856
Ben Maurer [Tue, 29 Jul 2003 19:53:24 +0000 (19:53 -0000)]
build fix for jackson
svn path=/trunk/mcs/; revision=16854
Ben Maurer [Tue, 29 Jul 2003 18:31:25 +0000 (18:31 -0000)]
2003-07-29 Ben Maurer <bmaurer@users.sourceforge.net>
* Iterator.cs: make sure we dont throw exceptions on ToString ()
svn path=/trunk/mcs/; revision=16853
Miguel de Icaza [Tue, 29 Jul 2003 18:12:49 +0000 (18:12 -0000)]
Add enumerator tests
svn path=/trunk/mcs/; revision=16852
Miguel de Icaza [Tue, 29 Jul 2003 18:07:04 +0000 (18:07 -0000)]
Add new test
svn path=/trunk/mcs/; revision=16851
Miguel de Icaza [Tue, 29 Jul 2003 18:03:20 +0000 (18:03 -0000)]
Add more tests
svn path=/trunk/mcs/; revision=16850
Miguel de Icaza [Tue, 29 Jul 2003 18:01:34 +0000 (18:01 -0000)]
2003-07-29 Miguel de Icaza <miguel@ximian.com>
* ArrayList.cs: Deployed ArrayList from Tum; Fixed iterator to
allow nulls, and inline a few calls to make profiling more useful.
svn path=/trunk/mcs/; revision=16849
Ben Maurer [Tue, 29 Jul 2003 17:36:20 +0000 (17:36 -0000)]
Here comes managed XSLT! WOOOOOHOOOOOO!
svn path=/trunk/mcs/; revision=16848
Paolo Molaro [Tue, 29 Jul 2003 16:58:31 +0000 (16:58 -0000)]
Better fix.
svn path=/trunk/mono/; revision=16847
Miguel de Icaza [Tue, 29 Jul 2003 16:28:29 +0000 (16:28 -0000)]
2003-07-29 Miguel de Icaza <miguel@ximian.com>
* IntPtrStream.cs (Read): Use Marshal.Copy instead of the now
deprecated MemCopy.
(IntPtrStream): New stream implementation, it maps to a region in
memory.
svn path=/trunk/mcs/; revision=16846
Paolo Molaro [Tue, 29 Jul 2003 16:21:20 +0000 (16:21 -0000)]
Tue Jul 29 18:07:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
* configure.in: ipv6 portability fixes from Felix Ortga (guile@lared.es).
svn path=/trunk/mono/; revision=16845
Paolo Molaro [Tue, 29 Jul 2003 16:20:25 +0000 (16:20 -0000)]
Tue Jul 29 18:07:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
* socket-io.c: ipv6 portability fixes from Felix Ortga (guile@lared.es).
svn path=/trunk/mono/; revision=16844
Miguel de Icaza [Tue, 29 Jul 2003 16:00:11 +0000 (16:00 -0000)]
2003-07-29 Miguel de Icaza <miguel@ximian.com>
* icall.c: Add new MemCopy internalcall.
(ves_icall_System_Reflection_Assembly_GetManifestResourceInternal):
Simplified code; It is not necessary to handle all the cases here,
as the C# code takes care of it. Only handle the case of the name
resource embedded into the assembly.
Changed signature to return the data pointer and the size of the
data.
2003-07-26 Miguel de Icaza <miguel@ximian.com>
* reflection.c (mono_image_get_method_info): Allow for 0x40 to be
encoded. (Partition II.22.1.7: PInvokeAttribute:SupportsLastErr).
svn path=/trunk/mono/; revision=16843
Miguel de Icaza [Tue, 29 Jul 2003 15:28:34 +0000 (15:28 -0000)]
Add missing internalcall declaration
svn path=/trunk/mcs/; revision=16842
Miguel de Icaza [Tue, 29 Jul 2003 15:23:41 +0000 (15:23 -0000)]
Patch from Mark
svn path=/trunk/mono/; revision=16841
Aleksey Ryabchuk [Tue, 29 Jul 2003 14:45:07 +0000 (14:45 -0000)]
BackColor, ForeColor, PasswordChar for edit boxes
svn path=/trunk/mcs/; revision=16840
Lluis Sanchez [Tue, 29 Jul 2003 13:58:45 +0000 (13:58 -0000)]
* socket-io.c: ignore EINTR error in select.
svn path=/trunk/mono/; revision=16839
Paolo Molaro [Tue, 29 Jul 2003 13:34:37 +0000 (13:34 -0000)]
Tue Jul 29 15:25:01 CEST 2003 Paolo Molaro <lupus@ximian.com>
* class.h, class.c: removed unused subclasses field in MonoClass.
svn path=/trunk/mono/; revision=16838
Lluis Sanchez [Tue, 29 Jul 2003 13:15:21 +0000 (13:15 -0000)]
* icall.c: improve fix of get_base_definition(). If the parent class
doesn't have the mehod, look at the parent of the parent.
* object.c: mono_message_init(): use the attribute PARAM_ATTRIBUTE_OUT
to check if a parameter is an in or out parameter
(PARAM_ATTRIBUTE_IN is not set by default).
mono_method_return_message_restore(): Use mono_class_value_size to
get the size of a value type. mono_type_stack_size (parameterType)
does not return the correct value if parameterType is byRef.
mono_load_remote_field(), mono_load_remote_field_new(),
mono_store_remote_field(), mono_store_remote_field_new():
raise exception if the remote call returns an exception.
svn path=/trunk/mono/; revision=16837
Paolo Molaro [Tue, 29 Jul 2003 13:12:59 +0000 (13:12 -0000)]
Tue Jul 29 12:43:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
* mini.c: more opcodes implemented and better support for generics.
svn path=/trunk/mono/; revision=16836
Lluis Sanchez [Tue, 29 Jul 2003 12:59:06 +0000 (12:59 -0000)]
* RemotingServices.cs: GetObjectUri(): For client proxies, return
the target url.
svn path=/trunk/mcs/; revision=16835
Paolo Molaro [Tue, 29 Jul 2003 10:32:53 +0000 (10:32 -0000)]
Update signature.
svn path=/trunk/mono/; revision=16834
Paolo Molaro [Tue, 29 Jul 2003 10:25:02 +0000 (10:25 -0000)]
Tue Jul 29 12:15:13 CEST 2003 Paolo Molaro <lupus@ximian.com>
* RuntimeHelpers.cs: pass the handles values o icalls, to avoid
special cases in some call conventions.
svn path=/trunk/mcs/; revision=16833
Paolo Molaro [Tue, 29 Jul 2003 10:23:43 +0000 (10:23 -0000)]
Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
* Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
to icalls, to avoid special cases in some call conventions.
svn path=/trunk/mcs/; revision=16832
Paolo Molaro [Tue, 29 Jul 2003 10:20:51 +0000 (10:20 -0000)]
Compilation fixes. Still requires a memcopy implementation.
svn path=/trunk/mcs/; revision=16831
Jackson Harper [Tue, 29 Jul 2003 07:34:12 +0000 (07:34 -0000)]
* ILParser.jay: Use new labeling system for handler blocks.
svn path=/trunk/mcs/; revision=16830
Jackson Harper [Tue, 29 Jul 2003 07:32:15 +0000 (07:32 -0000)]
* ILParser.jay: Use new labeling system for handler blocks.
svn path=/trunk/mcs/; revision=16829
Jackson Harper [Tue, 29 Jul 2003 07:30:29 +0000 (07:30 -0000)]
* FilterBlock.cs: Use a handler block for the this block. This
makes it easier to create filters using braces, labels, or offsets
* HandlerBlock.cs: Allow handler blocks to be created using positions,
offsets, and labels.
* MethodDef.cs: Add methods to create labels all 3 ways, and emit
labels created by each of the methods.
* TryBlock.cs: Use a handler block instead of label strings. This
allows all three methods of label creation to be used.
svn path=/trunk/mcs/; revision=16828
Miguel de Icaza [Tue, 29 Jul 2003 05:56:54 +0000 (05:56 -0000)]
Add IntPtrStream.cs to the build
svn path=/trunk/mcs/; revision=16827
Miguel de Icaza [Tue, 29 Jul 2003 05:56:38 +0000 (05:56 -0000)]
2003-07-29 Miguel de Icaza <miguel@ximian.com>
* IntPtrStream.cs: New stream implementation, it maps to a region
in memory.
svn path=/trunk/mcs/; revision=16826
Jackson Harper [Tue, 29 Jul 2003 05:18:32 +0000 (05:18 -0000)]
* ILParser.jay: No longer need to supply method references
to instructions, they get that when emitting now.
svn path=/trunk/mcs/; revision=16825
Jackson Harper [Tue, 29 Jul 2003 05:14:25 +0000 (05:14 -0000)]
* IInstr.cs: Instructions now get their parent method when being
emitted.
* *Instr.cs: Adjust emit method to accept a methoddef
svn path=/trunk/mcs/; revision=16824
Miguel de Icaza [Tue, 29 Jul 2003 02:49:16 +0000 (02:49 -0000)]
2003-07-28 Miguel de Icaza <miguel@ximian.com>
* NativeWindow.cs: Remove debugigng messages.
* Control.cs: Remove debugging messages.
* Label.cs: Use the border style.
svn path=/trunk/mcs/; revision=16819
Piers Haken [Tue, 29 Jul 2003 02:27:04 +0000 (02:27 -0000)]
2003-07-28 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: better handling of null argument lists
* XPathNavigator.cs: implement ComparePosition
svn path=/trunk/mcs/; revision=16817
Atsushi Eno [Tue, 29 Jul 2003 02:25:39 +0000 (02:25 -0000)]
2003-07-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
not to create extraneous xmlns="".
svn path=/trunk/mcs/; revision=16816
Atsushi Eno [Tue, 29 Jul 2003 02:24:01 +0000 (02:24 -0000)]
2003-07-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocumentTests.cs : added DTDEntityAttributeHandling() test.
* XmlElementTests.cs : added WriteToDefaultAttribute() test.
* XmlNodeTests.cs : added InnerXmlWithXmlns () test.
* XmlTextWriterTests.cs : added DontOutputNonDeclaredXmlns () test.
* XmlValidatingReaderTests.cs : modified TestResolveEntity() to have
entity reference inside text content (and it now fails).
svn path=/trunk/mcs/; revision=16815
Miguel de Icaza [Tue, 29 Jul 2003 01:10:59 +0000 (01:10 -0000)]
Formatting changes
svn path=/trunk/mcs/; revision=16814
Duncan Mak [Tue, 29 Jul 2003 01:04:21 +0000 (01:04 -0000)]
Me refers to Duncan in this case.
svn path=/trunk/mono/; revision=16813
Miguel de Icaza [Tue, 29 Jul 2003 00:59:19 +0000 (00:59 -0000)]
Typo fix
svn path=/trunk/mcs/; revision=16812
Miguel de Icaza [Tue, 29 Jul 2003 00:50:59 +0000 (00:50 -0000)]
2003-07-28 Miguel de Icaza <miguel@ximian.com>
* win32functions.cs: Set the default to WineLib now on Linux.
svn path=/trunk/mcs/; revision=16811
Miguel de Icaza [Tue, 29 Jul 2003 00:35:39 +0000 (00:35 -0000)]
improve the generics target
svn path=/trunk/mcs/; revision=16810
Miguel de Icaza [Mon, 28 Jul 2003 23:55:57 +0000 (23:55 -0000)]
A few memory saving updates from my tree
2003-07-26 Miguel de Icaza <miguel@ximian.com>
* namespace.cs: Cache the result of the namespace computation,
instead of computing it every time.
2003-07-24 Miguel de Icaza <miguel@ximian.com>
* decl.cs: Use a global arraylist that we reuse over invocations
to avoid excesive memory consumption. Reduces memory usage on an
mcs compile by one meg (45 average).
* typemanager.cs (LookupTypeReflection): In .NET pointers are
private, work around that.
2003-07-23 Miguel de Icaza <miguel@ximian.com>
* literal.cs (IntLiteral): Define Zero and One static literals.
* cs-parser.jay (integer_literal): use static literals to reduce
memory usage for the most used literals (0, 1 and -1). 211kb
reduced in memory usage.
Replace all calls to `new ArrayList' with `new
ArrayList(4)' which is a good average number for most allocations,
and also requires only 16 bytes of memory for its buffer by
default.
This reduced MCS memory usage in seven megabytes for the RSS after
bootstrapping.
svn path=/trunk/mcs/; revision=16808
Gonzalo Paniagua Javier [Mon, 28 Jul 2003 23:40:24 +0000 (23:40 -0000)]
2003-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* executable.make: install-local depends on the program too.
svn path=/trunk/mcs/; revision=16807
Duncan Mak [Mon, 28 Jul 2003 23:38:12 +0000 (23:38 -0000)]
Add links to the MonoWinePackages page in the Wiki.
svn path=/trunk/mono/; revision=16806
Duncan Mak [Mon, 28 Jul 2003 23:35:00 +0000 (23:35 -0000)]
Added links to Wine packages
svn path=/trunk/mono/; revision=16805
Miguel de Icaza [Mon, 28 Jul 2003 23:30:49 +0000 (23:30 -0000)]
Merge from main branch
svn path=/trunk/mcs/; revision=16804
Gonzalo Paniagua Javier [Mon, 28 Jul 2003 23:24:18 +0000 (23:24 -0000)]
fixlets
svn path=/trunk/mono/; revision=16803
Sebastien Pouliot [Mon, 28 Jul 2003 22:55:50 +0000 (22:55 -0000)]
2003-07-28 Sebastien Pouliot <spouliot@videotron.ca>
* Mono.Security.dll.sources: Added missing SubjectAltNameExtension.cs
svn path=/trunk/mcs/; revision=16801
Piers Haken [Mon, 28 Jul 2003 22:54:40 +0000 (22:54 -0000)]
2003-07-28 Piers Haken <piersh@friskit.com>
* Expression.cs: boolean operators: handle comparing .Any better
svn path=/trunk/mcs/; revision=16800
Piers Haken [Mon, 28 Jul 2003 22:12:33 +0000 (22:12 -0000)]
2003-07-28 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: count() should return a double
* Expression.cs: better support for handling non-double numbers
svn path=/trunk/mcs/; revision=16799
Miguel de Icaza [Mon, 28 Jul 2003 22:10:14 +0000 (22:10 -0000)]
Flush
svn path=/trunk/mono/; revision=16798
Piers Haken [Mon, 28 Jul 2003 21:54:15 +0000 (21:54 -0000)]
2003-07-28 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: better function param matching
svn path=/trunk/mcs/; revision=16797
Ravi Pratap M [Mon, 28 Jul 2003 21:28:38 +0000 (21:28 -0000)]
2003-07-28 Ravi Pratap <ravi@ximian.com>
* expression.cs (Invocation.IsParamsMethodApplicable): Fix trivial
bug - use Convert.ImplicitConversion, not ImplicitUserConversion!
Fixes bug #44468.
svn path=/trunk/mcs/; revision=16796
Ravi Pratap M [Mon, 28 Jul 2003 21:25:27 +0000 (21:25 -0000)]
2003-07-28 Ravi Pratap <ravi@ximian.com>
* test-212.cs: New test for bug #44468.
svn path=/trunk/mcs/; revision=16795
Miguel de Icaza [Mon, 28 Jul 2003 21:19:40 +0000 (21:19 -0000)]
Trying to fix the regressions on the generics tree; Too many with the
grammar changes
2003-07-28 Miguel de Icaza <miguel@ximian.com>
* codegen.cs: Compute IsGeneric correctly.
* cs-parser.jay: Introduce OP_GENERIC_LT for the grammar ambiguity
resolution.
Bring back (temporarily) OP_LEFT_SHIFT, OP_RIGHT_SHIFT,
OP_SHIFT_RIGHT_ASSIGN, OP_SHIFT_LEFT_ASSIGN. There were too many
regressions, and I was chasing more bugs than I required.
* interface.cs: Use expressions for base type names (like classes
and structs have been doing for a while now), and resolve that.
This patch should probably go into head as well.
This makes it one less user of FindType.
svn path=/trunk/mcs/; revision=16794
Miguel de Icaza [Mon, 28 Jul 2003 21:14:47 +0000 (21:14 -0000)]
Flush
svn path=/trunk/mcs/; revision=16793
Ben Maurer [Mon, 28 Jul 2003 20:54:50 +0000 (20:54 -0000)]
fix the build
Sorry about the bumps everyone...
svn path=/trunk/mcs/; revision=16792
Ravi Pratap M [Mon, 28 Jul 2003 20:54:16 +0000 (20:54 -0000)]
2003-07-28 Ravi Pratap <ravi@ximian.com>
* attribute.cs: Documentation updates.
(CheckAttribute): Rename to CheckAttributeTarget.
(GetValidPlaces): Rename to GetValidTargets.
svn path=/trunk/mcs/; revision=16791
Duncan Mak [Mon, 28 Jul 2003 20:51:29 +0000 (20:51 -0000)]
CreateIdentityPermission should be a public method, tested on MS.
svn path=/trunk/mcs/; revision=16790
Duncan Mak [Mon, 28 Jul 2003 20:41:22 +0000 (20:41 -0000)]
* Site.cs:
* UnionCodeGroup.cs:
* Url.cs: Added to CVS, basic functionality implemented, except
for CreateIdentityPermission (Site, Url) and the Resolve methods
in UnionCodeGroup.
svn path=/trunk/mcs/; revision=16789
Ravi Pratap M [Mon, 28 Jul 2003 20:30:49 +0000 (20:30 -0000)]
2003-07-28 Ravi Pratap <ravi@ximian.com>
* expression.cs (Invocation.OverloadResolve): Fix the algorithm to
handle params methods the correct way by forming only one
applicable set with params and normal methods in them. Earlier we
were looking at params methods only if we found no normal methods
which was not the correct thing to do.
(Invocation.BetterFunction): Take separate arguments indicating
when candidate and the best method are params methods in their
expanded form.
This fixes bugs #43367 and #46199.
svn path=/trunk/mcs/; revision=16788
Ravi Pratap M [Mon, 28 Jul 2003 20:29:38 +0000 (20:29 -0000)]
2003-07-28 Ravi Pratap <ravi@ximian.com>
* test-189.cs: Reuse vacant slot. Test for bugs #43367 and
#46199.
svn path=/trunk/mcs/; revision=16787
Ben Maurer [Mon, 28 Jul 2003 20:11:51 +0000 (20:11 -0000)]
2003-07-28 Ben Maurer <bmaurer@users.sourceforge.net>
* System.Xml.dll.sources: Add new files
* XslTransform.cs: Use the new XslTransformImpl class
* XslTransformImpl.cs: An abstract class for Xsl transforms
* UnmanagedXslTransform.cs: Contains the code that was in
XslTransform.cs
svn path=/trunk/mcs/; revision=16786
Duncan Mak [Mon, 28 Jul 2003 19:48:38 +0000 (19:48 -0000)]
* TransportHeaders.cs: Added Serializable attribute.
* ClientChannelSinkStack.cs: Added no-param constructor.
* ContextAttribute.cs: Removed constructor.
* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.
* Formatter.cs (WriteSByte): Added CLSCompliant attribute.
svn path=/trunk/mcs/; revision=16785
Miguel de Icaza [Mon, 28 Jul 2003 19:44:47 +0000 (19:44 -0000)]
The book was published
svn path=/trunk/mono/; revision=16784
Atsushi Eno [Mon, 28 Jul 2003 18:14:16 +0000 (18:14 -0000)]
2003-07-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
attribute declaration should be got independently of elementdecl.
* XmlAttribute.cs :
Added internal SetDefault() to mark as default.
Removed InnerText implementation that is just the same as XmlNode.
* XmlDocument.cs : id shouldn't be removed from table at 'trying' to
get matching elements. ReadAttributeNode() now sets default mark.
* XmlElement.cs : WriteTo() should ignore default attributes.
* XmlTextWriter.cs : shuold allow valid name char such as digits.
svn path=/trunk/mcs/; revision=16783
Martin Baulig [Mon, 28 Jul 2003 18:13:57 +0000 (18:13 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineMembers): Use the base type's full
name when looking up the base class of a nested class. Fixes #46977.
svn path=/trunk/mcs/; revision=16782
Martin Baulig [Mon, 28 Jul 2003 18:03:39 +0000 (18:03 -0000)]
Disable test-210 for the moment since I reverted my MCS changes.
svn path=/trunk/mcs/; revision=16781
Martin Baulig [Mon, 28 Jul 2003 17:55:45 +0000 (17:55 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c (mono_debugger_runtime_invoke): New
method. This is a wrapper around mono_runtime_invoke() which
boxes the instance object if neccessary.
svn path=/trunk/mono/; revision=16779
Martin Baulig [Mon, 28 Jul 2003 17:35:00 +0000 (17:35 -0000)]
Reverted my latest changes for the moment until we're doing it the right way.
svn path=/trunk/mcs/; revision=16778
Martin Baulig [Mon, 28 Jul 2003 17:29:29 +0000 (17:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=16777
Martin Baulig [Mon, 28 Jul 2003 16:36:10 +0000 (16:36 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* cs0075.cs: This test case was incorrect; according to the spec,
`(double) -1' is allowed since `double' is a builtin type.
However, `(A) -1' is not allowed where `A' is a valuetype and has
an implicit conversion from int.
svn path=/trunk/mcs/; revision=16776
Martin Baulig [Mon, 28 Jul 2003 16:34:12 +0000 (16:34 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* test-210.cs: New test for bug #46923.
svn path=/trunk/mcs/; revision=16775
Martin Baulig [Mon, 28 Jul 2003 16:23:04 +0000 (16:23 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* cs-parser.jay: Solve the abiguities with casts; fixes bugs
#46923 and #35459.
(CAST_FOLLOWING_TOKEN, NO_CAST_FOLLOWING_TOKEN): New tokens;
they're returned by the tokenizer in some cases to resolve
ambiguities with casts.
(invocation_expression): Tell the tokenizer to check whether the
following token may follow a cast.
(cast_expression): A cast is only a cast if it's followed by a
token which may actually follow a cast.
* expression.cs (ParenthesizedExpression): New class.
(Binary.DoResolve): Fix #35459.
svn path=/trunk/mcs/; revision=16774
Sebastien Pouliot [Mon, 28 Jul 2003 15:18:11 +0000 (15:18 -0000)]
2003-07-28 Sebastien Pouliot <spouliot@videotron.ca>
* XmlDsigC14NTransformTest.cs: Corrected test for .NET 1.1 (that was a
bug in .NET 1.0). There are no more unit test failures on Windows.
svn path=/trunk/mcs/; revision=16773
Miguel de Icaza [Mon, 28 Jul 2003 13:22:52 +0000 (13:22 -0000)]
Flush
svn path=/trunk/mono/; revision=16770
Nick Drochak [Mon, 28 Jul 2003 13:07:09 +0000 (13:07 -0000)]
2003-07-28 Nick Drochak <ndrochak@gol.com>
* Makefile: added test-local target. Fixes build problem.
svn path=/trunk/mcs/; revision=16769
Dick Porter [Mon, 28 Jul 2003 12:44:53 +0000 (12:44 -0000)]
Build fix.
svn path=/trunk/mcs/; revision=16768
Piers Haken [Mon, 28 Jul 2003 06:22:00 +0000 (06:22 -0000)]
2003-07-27 Piers Haken <piersh@friskit.com>
* Expression.cs:
* DefaultContext.cs:
catch FormatExceptions while parsing numbers
svn path=/trunk/mcs/; revision=16767
Jackson Harper [Mon, 28 Jul 2003 05:40:05 +0000 (05:40 -0000)]
* CodeGen.cs: Set the assembly name when creating the PEFile.
svn path=/trunk/mcs/; revision=16766
Jackson Harper [Mon, 28 Jul 2003 05:17:43 +0000 (05:17 -0000)]
* CodeGen.cs: Do not create the PEFile untill the resolve phase. This
fixes the problem with ilasm creating blank files if their is a
failure in the parsing phase.
* ExternTable.cs: Do not reference the assemblies untill after the
PEFile untill the Resolve phase.
svn path=/trunk/mcs/; revision=16765
Jackson Harper [Mon, 28 Jul 2003 04:18:37 +0000 (04:18 -0000)]
* ExternFieldRef.cs: Resolve as a typespec field if neccasary, make
sure to not resolve more then once.
* ExternMethodRef.cs: Resolve as a typespec method if neccasary
* ExternTypeRef.cs: Use modifiable type as base class
* FieldRef.cs: Make sure to not resolve more then once.
* GlobalFieldRef.cs: Make sure to not resolve more then once.
* GlobalMethodRef.cs: Make sure to not resolve more then once.
* ITypeRef.cs: Types no longer need the AsClassRef method
* MethodDef.cs: Only decriment param count for vararg methods if there
is an ellipsis on the end of the param list.
Fix little bug so return types allways get resolved.
* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
arrays instead of null
* PrimitiveTypeRef.cs: Use modifiable type as a base
* TypeRef.cs: Use modifable type as base, and let it do all the
modifications
* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
* ModifiableType.cs: New base class for all types. This class will
handle all of the typemodification and determine whether methods
should be added to the type or the types typespec.
svn path=/trunk/mcs/; revision=16764
Jackson Harper [Mon, 28 Jul 2003 04:16:53 +0000 (04:16 -0000)]
* ILParser.jay: Use TypeRef.Ellipsis instead of null for a
placeholder in bound arrays. Do not use AsClassRef anymore.
svn path=/trunk/mcs/; revision=16763
Jackson Harper [Mon, 28 Jul 2003 04:15:56 +0000 (04:15 -0000)]
Add modifiable type to build.
svn path=/trunk/mcs/; revision=16762
Jackson Harper [Mon, 28 Jul 2003 04:15:15 +0000 (04:15 -0000)]
* ExternFieldRef.cs: Resolve as a typespec field if neccasary, make
sure to not resolve more then once.
* ExternMethodRef.cs: Resolve as a typespec method if neccasary
* ExternTypeRef.cs: Use modifiable type as base class
* FieldRef.cs: Make sure to not resolve more then once.
* GlobalFieldRef.cs: Make sure to not resolve more then once.
* GlobalMethodRef.cs: Make sure to not resolve more then once.
* ITypeRef.cs: Types no longer need the AsClassRef method
* MethodDef.cs: Only decriment param count for vararg methods if there
is an ellipsis on the end of the param list.
Fix little bug so return types allways get resolved.
* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
arrays instead of null
* PrimitiveTypeRef.cs: Use modifiable type as a base
* TypeRef.cs: Use modifable type as base, and let it do all the
modifications
* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
* ModifiableType.cs: New base class for all types. This class will
handle all of the typemodification and determine whether methods
should be added to the type or the types typespec.
svn path=/trunk/mcs/; revision=16761
Sebastien Pouliot [Mon, 28 Jul 2003 03:46:14 +0000 (03:46 -0000)]
2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
* KeyInfoTest.cs: Added #if NET_1_0 for the RetrievalMethod bug.
svn path=/trunk/mcs/; revision=16760
Sebastien Pouliot [Mon, 28 Jul 2003 03:43:24 +0000 (03:43 -0000)]
2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
* XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
svn path=/trunk/mcs/; revision=16759