Gonzalo Paniagua Javier [Tue, 16 Mar 2004 23:03:05 +0000 (23:03 -0000)]
2004-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RegexBugs.cs: added test case for bug 54797.
svn path=/trunk/mcs/; revision=24179
Atsushi Eno [Tue, 16 Mar 2004 22:27:08 +0000 (22:27 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlWhitespace.cs : Fixed WriteTo(). Whitespace nodes should be
written regardless of document's PreserveWhitespace.
svn path=/trunk/mcs/; revision=24178
Atsushi Eno [Tue, 16 Mar 2004 22:26:48 +0000 (22:26 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocumentTests.cs : Added PreserveWhitespace2() (whitespace nodes
should be written regardless of document.PreserveWhitespace.)
svn path=/trunk/mcs/; revision=24177
Martin Baulig [Tue, 16 Mar 2004 21:46:15 +0000 (21:46 -0000)]
Added comment.
svn path=/trunk/mcs/; revision=24176
Martin Baulig [Tue, 16 Mar 2004 21:45:25 +0000 (21:45 -0000)]
New generics test.
svn path=/trunk/mcs/; revision=24175
Martin Baulig [Tue, 16 Mar 2004 21:44:14 +0000 (21:44 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* ecore.cs (SimpleName.DoResolveAsTypeStep): Lookup type
parameters before aliases.
svn path=/trunk/mcs/; revision=24174
Martin Baulig [Tue, 16 Mar 2004 21:40:30 +0000 (21:40 -0000)]
Reverted my last commit; it was wrong.
svn path=/trunk/mcs/; revision=24173
Martin Baulig [Tue, 16 Mar 2004 21:28:13 +0000 (21:28 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* interface.cs (Interface.DefineType): Call
TypeManager.AddUserInterface() before resolving the interface
types; fixes gen-43.cs.
svn path=/trunk/mcs/; revision=24171
Martin Baulig [Tue, 16 Mar 2004 21:19:33 +0000 (21:19 -0000)]
Ooops, ignore duplicate interfaces.
svn path=/trunk/mcs/; revision=24169
Martin Baulig [Tue, 16 Mar 2004 21:10:12 +0000 (21:10 -0000)]
New generics test.
svn path=/trunk/mcs/; revision=24168
Martin Baulig [Tue, 16 Mar 2004 21:09:42 +0000 (21:09 -0000)]
New generics tests.
svn path=/trunk/mcs/; revision=24167
Martin Baulig [Tue, 16 Mar 2004 21:05:48 +0000 (21:05 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.MayBecomeEqualGenericInstances):
New oublic function; checks whether two generic instances may become
equal under some instantiations (26.3.1).
* class.cs (TypeContainer.Define): Call
TypeManager.MayBecomeEqualGenericInstances() and report CS0695 on
error.
svn path=/trunk/mcs/; revision=24166
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 20:44:45 +0000 (20:44 -0000)]
2004-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultWsdlHelpGenerator.aspx: fixed comment.
* browscap.ini.gz: updated to current version.
svn path=/trunk/mono/; revision=24165
Sebastien Pouliot [Tue, 16 Mar 2004 20:32:15 +0000 (20:32 -0000)]
2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
* xmldsig.cs: New. Test program for Merlin's xmldsig test suite.
svn path=/trunk/mcs/; revision=24163
Andreas N [Tue, 16 Mar 2004 20:27:25 +0000 (20:27 -0000)]
2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* EntryPointNotFoundException.cs
* DuplicateWaitObjectException.cs
* DllNotFoundException.cs
* DivideByZeroException.cs
* ContextMarshalException.cs
* CannotUnloadAppDomainException.cs
* BadImageFormatException.cs
* ArrayTypeMismatchException.cs
* ArithmeticException.cs
* ArgumentOutOfRangeException.cs
* ArgumentNullException.cs
* ArgumentException.cs
* ApplicationException.cs
* AppDomainUnloadedException.cs: Added missing HResult overrides
* BadImageFormatException.cs: Improved/ Fixed implementation
svn path=/trunk/mcs/; revision=24162
Sebastien Pouliot [Tue, 16 Mar 2004 20:04:42 +0000 (20:04 -0000)]
2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
* .cvsignore: Ignore temporary files.
* c14n.cs: Canonalization tool. Take any XML document (or part of it)
and output it's C14N form (C14N transformation is user selectable).
* ChangeLog: New.
* Makefile: New. Makefile to download, build and run xmldsig tests
(copied from Atsushi - actually this whoile directory is his idea).
svn path=/trunk/mcs/; revision=24160
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 19:59:42 +0000 (19:59 -0000)]
2004-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* appdomain.c: don't add the culture to the filename we're looking for
if it's neutral or NULL. Fixes bug #53788. Removed redundant memset.
svn path=/trunk/mono/; revision=24159
Sebastien Pouliot [Tue, 16 Mar 2004 19:56:56 +0000 (19:56 -0000)]
2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
* SignedXml.cs: Changed (again). This time we use the Stream when
loading the document. We now pass 14 out of 15 of the Merlin's
tests (including one that MS fails). The only failing test is the
one that use the EnvelopedTransform (unfinished).
svn path=/trunk/mcs/; revision=24158
Zoltan Varga [Tue, 16 Mar 2004 19:23:40 +0000 (19:23 -0000)]
2004-03-16 Zoltan Varga <vargaz@freemail.hu>
* mini-sparc.c (mono_arch_instrument_epilog): Fix handling of floating
point values.
* mini-sparc.c: Add support for v9 branches with prediction.
svn path=/trunk/mono/; revision=24154
Zoltan Varga [Tue, 16 Mar 2004 19:22:52 +0000 (19:22 -0000)]
2004-03-16 Zoltan Varga <vargaz@freemail.hu>
* sparc/sparc-codegen.h: Add v9 branches with prediction.
svn path=/trunk/mono/; revision=24153
Martin Baulig [Tue, 16 Mar 2004 19:19:51 +0000 (19:19 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.GetClassBases): Moved
Error_TypeParameterAsBase() here and also check whether the base
class is not an attribute.
svn path=/trunk/mcs/; revision=24152
Martin Baulig [Tue, 16 Mar 2004 19:17:45 +0000 (19:17 -0000)]
**** Merged from MCS ****
2004-03-16 Martin Baulig <martin@ximian.com>
* class.cs (Error_TypeParameterAsBase): Use correct error number
here (CS0689).
svn path=/trunk/mcs/; revision=24151
Martin Baulig [Tue, 16 Mar 2004 19:16:11 +0000 (19:16 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.GetClassBases): Fix the CS0528 check.
svn path=/trunk/mcs/; revision=24150
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 19:10:43 +0000 (19:10 -0000)]
2004-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* locales.c: don't ignore symbols when doing case insensitive compares.
Thanks Dick! Fixes bug #54046.
* threads.c: surround 'threads' usage with enter/leave in
mono_thread_manage.
svn path=/trunk/mono/; revision=24149
Zoltan Varga [Tue, 16 Mar 2004 18:35:04 +0000 (18:35 -0000)]
2004-03-16 Zoltan Varga <vargaz@freemail.hu>
* libtest.c pinvoke2.cs: Add new test for implicit [Out] marshalling
of char[].
svn path=/trunk/mono/; revision=24148
Martin Baulig [Tue, 16 Mar 2004 18:34:38 +0000 (18:34 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* class.cs (Error_TypeParameterAsBase): Use correct error number
here (CS0689).
svn path=/trunk/mcs/; revision=24147
Zoltan Varga [Tue, 16 Mar 2004 18:27:05 +0000 (18:27 -0000)]
2004-03-16 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_native_wrapper): Char arrays are
implicitly marshalled as [Out]. Fixes #55450.
(mono_marshal_get_runtime_invoke): Zero out the result if there is
an exception.
svn path=/trunk/mono/; revision=24146
Martin Baulig [Tue, 16 Mar 2004 18:11:14 +0000 (18:11 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* decl.cs (DeclSpace.ResolveTypeExpr): Added more error checking
for generics.
* generics.cs (ConstructedType.DoResolveAsTypeStep): Added better
error reporting.
svn path=/trunk/mcs/; revision=24144
Martin Baulig [Tue, 16 Mar 2004 18:08:48 +0000 (18:08 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* Makefile (run-generics-local): New target to run the generics
tests.
* gmcs0246.cs, gmcs0305.cs, gmcs0305-2.cs, gmcs0308.cs,
gmcs0308-2.cs: New tests.
svn path=/trunk/mcs/; revision=24143
Martin Baulig [Tue, 16 Mar 2004 17:44:53 +0000 (17:44 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* class.c (mono_class_from_generic_parameter): Use the actual
parameter name.
svn path=/trunk/mono/; revision=24142
Miguel de Icaza [Tue, 16 Mar 2004 17:43:05 +0000 (17:43 -0000)]
update
svn path=/trunk/mono/; revision=24141
Martin Baulig [Tue, 16 Mar 2004 17:26:34 +0000 (17:26 -0000)]
2004-03-16 Martin Baulig <martin@ximian.com>
* reflection.c (type_get_signature_size): New static function.
Compues the size of the type in a method signature.
(method_get_signature_size): New static function; calls
type_get_signature_size() to compute the actual size of the
method's signature.
(method_encode_signature): Use method_get_signature_size() to get
the signature's size rather than using `nparams * 10'.
svn path=/trunk/mono/; revision=24140
Miguel de Icaza [Tue, 16 Mar 2004 16:58:23 +0000 (16:58 -0000)]
Remove shared library building from here
svn path=/trunk/mcs/; revision=24139
Miguel de Icaza [Tue, 16 Mar 2004 16:57:25 +0000 (16:57 -0000)]
Add refresh target
svn path=/trunk/mono/; revision=24138
Miguel de Icaza [Tue, 16 Mar 2004 16:54:13 +0000 (16:54 -0000)]
Move the platform dependent code here; Temporary solution until I get time to redo it like Paolo suggested
svn path=/trunk/mono/; revision=24137
Miguel de Icaza [Tue, 16 Mar 2004 16:20:03 +0000 (16:20 -0000)]
Add
svn path=/trunk/mono/; revision=24136
Miguel de Icaza [Tue, 16 Mar 2004 16:16:57 +0000 (16:16 -0000)]
renamed again
svn path=/trunk/mono/; revision=24135
Miguel de Icaza [Tue, 16 Mar 2004 16:16:35 +0000 (16:16 -0000)]
Rename, since stupid cvs gets confused with the dash in x86-64
svn path=/trunk/mono/; revision=24134
Miguel de Icaza [Tue, 16 Mar 2004 16:16:07 +0000 (16:16 -0000)]
Added back
svn path=/trunk/mono/; revision=24133
Miguel de Icaza [Tue, 16 Mar 2004 16:04:52 +0000 (16:04 -0000)]
Flush
svn path=/trunk/mono/; revision=24132
Miguel de Icaza [Tue, 16 Mar 2004 16:03:49 +0000 (16:03 -0000)]
Add x86-64
svn path=/trunk/mono/; revision=24131
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 15:56:35 +0000 (15:56 -0000)]
more build fixing
svn path=/trunk/mono/; revision=24130
Rafael Teixeira [Tue, 16 Mar 2004 15:55:55 +0000 (15:55 -0000)]
2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives
svn path=/trunk/mcs/; revision=24129
Rafael Teixeira [Tue, 16 Mar 2004 15:54:41 +0000 (15:54 -0000)]
2004-03-16 Rafael Teixeira (rafaelteixeira@hotmail.com)
* Test1.vb: corrected mispelling in keyword
* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
* ConditionalCompilationC.vb: added some tests with #Const
svn path=/trunk/mcs/; revision=24128
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 15:41:20 +0000 (15:41 -0000)]
2004-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* file-io.h: define here WapiOverlapped on windows. I don't want the
regular OVERLAPPED one.
svn path=/trunk/mono/; revision=24127
Sebastien Pouliot [Tue, 16 Mar 2004 13:28:17 +0000 (13:28 -0000)]
2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
* SignedXml.cs: Commented my last changes to SignedXml as it made other
unis tests fail (in the c14n-izer).
svn path=/trunk/mcs/; revision=24125
Atsushi Eno [Tue, 16 Mar 2004 12:56:18 +0000 (12:56 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigNodeList.cs : removed BOM from code file.
svn path=/trunk/mcs/; revision=24124
Umadevi S [Tue, 16 Mar 2004 12:51:11 +0000 (12:51 -0000)]
2004-03-16 Umadevi S (sumadevi@novell.com)
* SqlNullValueException.cs & SqlTruncateException.cs - Added "sealed" to the class
definition
svn path=/trunk/mcs/; revision=24123
Umadevi S [Tue, 16 Mar 2004 11:55:11 +0000 (11:55 -0000)]
2004-03-16 Umadevi S (sumadevi@novell.com)
* Contribution from Roopa Wilson - Testcases for AddRange (), CanRemove (), RemoveAt (), Remove (), Exceptions of Remove(), and Clear ()
svn path=/trunk/mcs/; revision=24122
Atsushi Eno [Tue, 16 Mar 2004 11:44:00 +0000 (11:44 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* System.Security.dll.sources: added XmlDsigNodeList.cs
svn path=/trunk/mcs/; revision=24121
Atsushi Eno [Tue, 16 Mar 2004 11:43:33 +0000 (11:43 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigNodeList.cs : added.
* XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
* XmlDsigEnvelopedSignatureTransform.cs :
Implemented GetOutput(). However, it is totally MS behavior
dependent and not based on the spec (we can reimplement it based on
improved XmlDsigXPathTransform).
* SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
svn path=/trunk/mcs/; revision=24120
Umadevi S [Tue, 16 Mar 2004 11:19:14 +0000 (11:19 -0000)]
2004-03-16 Umadevi S (sumadevi@novell.com)
* Contributed by Roopa Wilson: Testcases for ColumnErrors,RowEdit,DeleteRow,EditMode,ParentRow.
svn path=/trunk/mcs/; revision=24119
Anirban Bhattacharjee [Tue, 16 Mar 2004 10:35:32 +0000 (10:35 -0000)]
Test cases for testing behaviour of variables
svn path=/trunk/mcs/; revision=24118
Anirban Bhattacharjee [Tue, 16 Mar 2004 10:21:15 +0000 (10:21 -0000)]
- changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
- added few exception checks in variables
- added one exception check in property
svn path=/trunk/mcs/; revision=24117
Umadevi S [Tue, 16 Mar 2004 09:13:00 +0000 (09:13 -0000)]
2004-03-16 Umadevi S (sumadevi@novell.com)
* OdbcParameterCollection.cs - Implemented all the remaining methods & attributes
* OdbcParameter.cs - Included a Container property to keep track of the Collection
that it is attached
svn path=/trunk/mcs/; revision=24116
Jordi Mas i Hernandez [Tue, 16 Mar 2004 08:37:35 +0000 (08:37 -0000)]
run test info update
svn path=/trunk/mcs/; revision=24115
Umadevi S [Tue, 16 Mar 2004 06:22:26 +0000 (06:22 -0000)]
2004-03-16 Umadevi S (sumadevi@novell.com)
* SqlParameterCollection.cs
Corrected IndexOf method to return -1 if the parametername is not
found in the collection
svn path=/trunk/mcs/; revision=24111
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 05:28:14 +0000 (05:28 -0000)]
forgot these
svn path=/trunk/mono/; revision=24110
Miguel de Icaza [Tue, 16 Mar 2004 05:24:19 +0000 (05:24 -0000)]
Update
svn path=/trunk/mcs/; revision=24109
Miguel de Icaza [Tue, 16 Mar 2004 05:11:33 +0000 (05:11 -0000)]
dos2unix
svn path=/trunk/mcs/; revision=24108
Atsushi Eno [Tue, 16 Mar 2004 04:32:32 +0000 (04:32 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocumentNavigator.cs : Value should return concatenated string for
sequential text nodes. Considered detached nodes, the result of
MoveToParent() should be checked.
svn path=/trunk/mcs/; revision=24107
Atsushi Eno [Tue, 16 Mar 2004 04:32:06 +0000 (04:32 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs, Iterator.cs : Considered detached nodes, the
result of MoveToParent() should be checked.
svn path=/trunk/mcs/; revision=24106
Atsushi Eno [Tue, 16 Mar 2004 04:31:20 +0000 (04:31 -0000)]
2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorCommonTests.cs : Added test for splitted text.
svn path=/trunk/mcs/; revision=24105
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 04:21:35 +0000 (04:21 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Process.cs: patch by Gert Driesen that fixes WaitForExit when the
timeout is int.MaxValue.
svn path=/trunk/mcs/; revision=24104
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 03:45:17 +0000 (03:45 -0000)]
Typo
svn path=/trunk/mono/; revision=24103
Miguel de Icaza [Tue, 16 Mar 2004 03:41:00 +0000 (03:41 -0000)]
Indent, indent
svn path=/trunk/mcs/; revision=24102
Miguel de Icaza [Tue, 16 Mar 2004 03:39:09 +0000 (03:39 -0000)]
2004-03-15 Miguel de Icaza <miguel@ximian.com>
* decl.cs (DefineTypeAndParents): New helper method to define a
type's containers before the type itself is defined; This is a
bug exposed by the recent changes to Windows.Forms when an
implemented interface was defined inside a class that had not been
built yet.
svn path=/trunk/mcs/; revision=24101
Miguel de Icaza [Tue, 16 Mar 2004 03:37:49 +0000 (03:37 -0000)]
Revert my revert, the compiler has raised to the occasion
svn path=/trunk/mcs/; revision=24100
Miguel de Icaza [Tue, 16 Mar 2004 02:55:41 +0000 (02:55 -0000)]
This change breaks the build: MCS is not ready for it
svn path=/trunk/mcs/; revision=24099
Miguel de Icaza [Tue, 16 Mar 2004 02:43:42 +0000 (02:43 -0000)]
Flush
svn path=/trunk/mono/; revision=24098
Sebastien Pouliot [Tue, 16 Mar 2004 02:35:46 +0000 (02:35 -0000)]
2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
* Random.cs: Corrected random value when Next is called with a
negative value. Testing indictae that our results aren't exactly the
same as MS, we have a +/- 1 (probably rounding errors due to
different implementation).
svn path=/trunk/mcs/; revision=24097
Miguel de Icaza [Tue, 16 Mar 2004 02:18:35 +0000 (02:18 -0000)]
Flush
svn path=/trunk/mono/; revision=24096
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 02:17:47 +0000 (02:17 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
svn path=/trunk/mcs/; revision=24095
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 01:45:14 +0000 (01:45 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.Compilation/GlobalAsaxCompiler.cs: removed Imports and
Assemblies properties.
* System.Web.UI/TemplateParser.cs: don't add import statement or
assemblies from global.asax to every file. Fixes bug #55496.
svn path=/trunk/mcs/; revision=24094
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 01:39:04 +0000 (01:39 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* marshal.c: Marshal.SizeOf throws an exception for AutoLayout. Fixes
bug #55385.
svn path=/trunk/mono/; revision=24093
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 01:37:14 +0000 (01:37 -0000)]
added new test
svn path=/trunk/mcs/; revision=24092
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 01:36:55 +0000 (01:36 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MarshalTest.cs: added a few tests for Marshal.SizeOf.
svn path=/trunk/mcs/; revision=24091
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 01:35:58 +0000 (01:35 -0000)]
oop
svn path=/trunk/mcs/; revision=24090
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 01:35:22 +0000 (01:35 -0000)]
oops
svn path=/trunk/mcs/; revision=24089
Bernie Solomon [Tue, 16 Mar 2004 00:31:20 +0000 (00:31 -0000)]
2004-03-15 Bernie Solomon <bernard@ugsolutions.com>
* mini-sparc.h: implement __builtin_frame_address
and __builtin_return_address for Sun C compiler
svn path=/trunk/mono/; revision=24088
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 00:18:22 +0000 (00:18 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes
CodeMethodReturnStatement(). Closes bug #54934.
svn path=/trunk/mcs/; revision=24087
Bernie Solomon [Tue, 16 Mar 2004 00:07:28 +0000 (00:07 -0000)]
2004-03-15 Bernie Solomon <bernard@ugsolutions.com>
* mini.c (mini_init): #warning is GNUC only
svn path=/trunk/mono/; revision=24086
Gonzalo Paniagua Javier [Tue, 16 Mar 2004 00:07:25 +0000 (00:07 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sn.cs: fixed crash in -T and -Tp.
svn path=/trunk/mcs/; revision=24085
Bernie Solomon [Tue, 16 Mar 2004 00:02:55 +0000 (00:02 -0000)]
2004-03-15 Bernie Solomon <bernard@ugsolutions.com>
* sparc/sparc-codegen.h: tweak sparc_mov_reg_reg
so Sun's dis command recognizes it.
svn path=/trunk/mono/; revision=24084
Martin Baulig [Mon, 15 Mar 2004 23:49:53 +0000 (23:49 -0000)]
2004-03-15 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.GetFullName): New public method.
(TypeManager.MemberLookup): Added `int_num_type_arguments'
argument; only return members with the correct number of type
arguments.
(TypeManager.CheckGeneric): Allow -1 to bypass the check.
(TypeManager.FilterWithClosure): Call CheckGeneric() to check
whether the number of type arguments matches.
* generic.cs (GenericMemberAccess.ResolveAsTypeStep): Allow `expr'
not being a ConstructedType; we can now do "typeof (Foo.Bar<U>)".
* expression.cs (MemberAccess): Added public `NumTypeArguments'
field; it's set by the protected .ctor when we're actually a
GenericMemberAccess.
(MemberAccess.ResolveAsTypeStep): Compute the total number of type
arguments and pass it to MemberLookupFinal ().
* ecore.cs (Expression.MemberLookup): Added `int
num_type_arguments' argument; only return members with the correct
number of type arguments.
(Expression.MemberLookupFailed): Check whether the MemberLookup
failed because we did not have the correct number of type
arguments; report CS0305 in this case.
* decl.cs (DeclSpace.ResolveTypeExpr): Don't report an error if
`e.ResolveAsTypeTerminal()' already did so.
svn path=/trunk/mcs/; revision=24083
Ben Maurer [Mon, 15 Mar 2004 23:14:26 +0000 (23:14 -0000)]
buffer
svn path=/trunk/mcs/; revision=24082
Ben Maurer [Mon, 15 Mar 2004 23:11:02 +0000 (23:11 -0000)]
support for events
svn path=/trunk/mcs/; revision=24081
Atsushi Eno [Mon, 15 Mar 2004 23:02:12 +0000 (23:02 -0000)]
2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
* reverted the latest XmlSchemaUnique.cs change (MS.NET looks fine to
reject incorrect schemas ;-)
svn path=/trunk/mcs/; revision=24080
Ben Maurer [Mon, 15 Mar 2004 22:53:59 +0000 (22:53 -0000)]
code cleanup
svn path=/trunk/mcs/; revision=24079
Bernie Solomon [Mon, 15 Mar 2004 22:13:55 +0000 (22:13 -0000)]
2004-03-15 Bernie Solomon <bernard@ugsolutions.com>
* libtest.c (mono_test_marshal_time_t): fix
for current code on 64 bit machines with 64bit time
* marshal9.cs marshal10.cs: Do arithmetic on
pointers as 64bits.
svn path=/trunk/mono/; revision=24078
Miguel de Icaza [Mon, 15 Mar 2004 22:03:11 +0000 (22:03 -0000)]
2004-03-15 Miguel de Icaza <miguel@ximian.com>
* modifiers.cs (MethodAttr): All methods in C# are HideBySig.
svn path=/trunk/mcs/; revision=24077
Andreas N [Mon, 15 Mar 2004 21:59:16 +0000 (21:59 -0000)]
2004-03-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StreamWriter.cs: Removed unneeded function
svn path=/trunk/mcs/; revision=24076
Martin Baulig [Mon, 15 Mar 2004 21:58:31 +0000 (21:58 -0000)]
Call TypeManager.CheckGeneric() everywhere.
svn path=/trunk/mcs/; revision=24075
Miguel de Icaza [Mon, 15 Mar 2004 21:57:49 +0000 (21:57 -0000)]
2004-03-15 Miguel de Icaza <miguel@ximian.com>
* modifiers.cs (Check): Loop correctly to report errors modifiers
(UNSAFE was not in the loop, since it was the same as TOP).
* interface.cs: Every interface member now takes a ModFlags,
instead of a "is_new" bool, which we set on the base MemberCore.
Every place where we called "UnsafeOk" in the interface, now we
call the proper member (InterfaceMethod.UnsafeOK) instead to get
the unsafe settings from the member declaration instead of the
container interface.
* cs-parser.jay (opt_new): Allow unsafe here per the spec.
svn path=/trunk/mcs/; revision=24074
Martin Baulig [Mon, 15 Mar 2004 21:41:40 +0000 (21:41 -0000)]
Don't crash here.
svn path=/trunk/mcs/; revision=24073
Martin Baulig [Mon, 15 Mar 2004 21:32:53 +0000 (21:32 -0000)]
2004-03-15 Martin Baulig <martin@ximian.com>
* ecore.cs (Expression.ResolveLValue): Allow e.type being null if
we're a ConstructedType; in this case, the caller must report an
error (for instance CS0131).
* generic.cs (TypeArguments): Added Location argument to the .ctor.
(TypeArguments.Resolve): Actually report errors here.
svn path=/trunk/mcs/; revision=24072
Gonzalo Paniagua Javier [Mon, 15 Mar 2004 21:19:57 +0000 (21:19 -0000)]
added MONO_DISABLE_AIO
svn path=/trunk/mono/; revision=24071
Sebastien Pouliot [Mon, 15 Mar 2004 21:19:18 +0000 (21:19 -0000)]
2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
* SignedXml.cs: Added null test for LoadXml.
svn path=/trunk/mcs/; revision=24070
Gonzalo Paniagua Javier [Mon, 15 Mar 2004 21:19:16 +0000 (21:19 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* corlib.dll.sources: added StreamAsyncResult and FileStreamAsyncResult.
* System/Environment.cs: updated corlib version.
* System.IO/FileStream.cs: added support for asynchronous I/O without
using the OS native libraries if available.
* System.IO/FileStreamAsyncResult.cs: IAsyncResult for asynch. I/O.
* System.IO/MonoIO.cs: added BeginRead/Write, GetSupportsAsync. Open
has now a new parameter to tell ifthe file will be used for asynch.
operations.
* System.IO/Stream.cs: BeginRead/Write do not use delegates. They just
are actually synchronous.
* System.IO/StreamAsyncResult.cs: IAsyncResult for Stream.
* System.Threading/NativeOverlapped.cs: added 2 new internal fields.
* System.Threading/Overlapped.cs: implemented, but it's not used.
* System.Threading/ThreadPool.cs: implemented BindHandle.
svn path=/trunk/mcs/; revision=24069
Gonzalo Paniagua Javier [Mon, 15 Mar 2004 21:19:08 +0000 (21:19 -0000)]
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.dll.sources: added ProcessStringDictionary.
* System.Collections.Specialized/ProcessStringDictionary.cs: the same
as StringDictionary, but doesn't turn keys into lowercase.
* System.Diagnostics/Process.cs: added environment variables setting
support and also send useShellExecute to the runtime.
* System.Diagnostics/ProcessStartInfo.cs: support EnvironmentVariables.
MS uses StringDictionary, which turns keys into lowercase. We don't
do that.
svn path=/trunk/mcs/; revision=24068