mono.git
20 years ago2004-03-14 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 15 Mar 2004 03:36:56 +0000 (03:36 -0000)]
2004-03-14 Ben Maurer  <bmaurer@users.sourceforge.net>

* monop.cs: show `static' when it applies. Static members
first. new sorting stuff.

svn path=/trunk/mcs/; revision=24036

20 years agosort
Ben Maurer [Mon, 15 Mar 2004 03:06:13 +0000 (03:06 -0000)]
sort

svn path=/trunk/mcs/; revision=24035

20 years ago2004-03-14 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 15 Mar 2004 02:54:32 +0000 (02:54 -0000)]
2004-03-14  Tim Coleman <tim@timcoleman.com>
* SqlCommand.cs SqlConnection.cs:
Changes from two patches by Andres Taylor
<andres@rotselleri.com>

svn path=/trunk/mcs/; revision=24034

20 years agoshow base types
Ben Maurer [Mon, 15 Mar 2004 02:54:30 +0000 (02:54 -0000)]
show base types

svn path=/trunk/mcs/; revision=24033

20 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2004 02:48:44 +0000 (02:48 -0000)]
2004-03-15  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : ReadInnerXml()/ReadOuterXml() should not bork when
  the reader is on EndElement. Patch by Jean-Marc Andre.

svn path=/trunk/mcs/; revision=24032

20 years ago2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
Tim Coleman [Mon, 15 Mar 2004 02:48:39 +0000 (02:48 -0000)]
2003-04-14  Juraj Skripsky <juraj@hotfeet.ch>
* DbDataAdapter.cs : Refactoring of Fill. New private method
FillTable does most of the work now. Use int[] instead of
hashtable for mapping. Move creation of tableArray[] outside
of loop.

svn path=/trunk/mcs/; revision=24031

20 years ago2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Mar 2004 02:48:05 +0000 (02:48 -0000)]
2004-03-15  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderCommonTests.cs : Added tests for ReadInner/OuterXml() on
  EndElement.

svn path=/trunk/mcs/; revision=24030

20 years ago2004-03-14 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 14 Mar 2004 23:14:49 +0000 (23:14 -0000)]
2004-03-14  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* ScriptStream.cs: let's print some messages.

svn path=/trunk/mcs/; revision=24029

20 years ago2004-03-14 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 14 Mar 2004 23:10:49 +0000 (23:10 -0000)]
2004-03-14  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g (STRING_LITERAL): Do not include the ' in the text of the rule.

svn path=/trunk/mcs/; revision=24028

20 years agomake work on MS
Ben Maurer [Sun, 14 Mar 2004 22:18:07 +0000 (22:18 -0000)]
make work on MS

svn path=/trunk/mcs/; revision=24027

20 years ago2004-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 14 Mar 2004 20:21:08 +0000 (20:21 -0000)]
2004-03-14  Zoltan Varga  <vargaz@freemail.hu>

* socket-wrappers.h: Remove extra semicolon.

svn path=/trunk/mono/; revision=24025

20 years ago2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Mar 2004 19:38:16 +0000 (19:38 -0000)]
2004-03-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlDsigXPathTransform.cs : implemented GetOutput() (with some
  internal XPath context classes).

svn path=/trunk/mcs/; revision=24024

20 years ago2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Mar 2004 19:37:41 +0000 (19:37 -0000)]
2004-03-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDsigXPathTransformTest.cs : added TransformSimple() and
  FunctionHere() [commented].

svn path=/trunk/mcs/; revision=24023

20 years ago2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Mar 2004 19:24:16 +0000 (19:24 -0000)]
2004-03-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentNavigator.cs : as for namespace node "xml", MS.NET seems
  to return attribute node. It affects on IHasXmlNode.GetNode() and
  SelectNodes()/SelectSingleNode().

svn path=/trunk/mcs/; revision=24020

20 years ago2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 Mar 2004 19:23:43 +0000 (19:23 -0000)]
2004-03-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttributeCollectionTests.cs : Added InsertAfterError().
* XmlNodeTests.cs : Added SelectNodes(), SelectNodes2() [commented].

svn path=/trunk/mcs/; revision=24019

20 years ago2004-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 14 Mar 2004 19:15:21 +0000 (19:15 -0000)]
2004-03-14  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (create_custom_attr): Allow len == 0.

svn path=/trunk/mono/; revision=24018

20 years ago2004-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 14 Mar 2004 18:29:40 +0000 (18:29 -0000)]
2004-03-14  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_class_compute_gc_descriptor): Fix descriptor
computation on big-endian machines.

svn path=/trunk/mono/; revision=24017

20 years ago2004-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 14 Mar 2004 18:12:07 +0000 (18:12 -0000)]
2004-03-14  Zoltan Varga  <vargaz@freemail.hu>

* basic-calls.cs: Add test for unaligned byref long argument passing.

svn path=/trunk/mono/; revision=24016

20 years ago2004-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 14 Mar 2004 18:10:21 +0000 (18:10 -0000)]
2004-03-14  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add sparcv9 compare and branch instructions.

* inssel-sparc.brg mini-sparc.h mini-sparc.c cpu-sparc.md: Use some
v9 instructions if we have a v9 cpu.

* mini-sparc.c (mono_arch_get_global_int_regs): Use unused input
registers for global allocation.

* exceptions-sparc.c: Fixes.

svn path=/trunk/mono/; revision=24015

20 years ago2004-03-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 14 Mar 2004 18:05:28 +0000 (18:05 -0000)]
2004-03-14  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Enable JIT on sparc.

svn path=/trunk/mono/; revision=24014

20 years ago2004-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 14 Mar 2004 02:13:33 +0000 (02:13 -0000)]
2004-03-13  Martin Baulig  <martin@ximian.com>

* Stack.cs, Queue.cs, List.cs: Implement the non-generic interfaces.

svn path=/trunk/mcs/; revision=24013

20 years ago2004-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 14 Mar 2004 02:12:44 +0000 (02:12 -0000)]
2004-03-13  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.DefineType): Call
TypeManager.AddUserType() immediately after creating the
TypeBuilder; pass all type parameters when creating the
CurrentType.

* decl.cs (DeclSpace.FindNestedType): New public method.
(DeclSpace.FindType): Added `int num_type_args' argument; only
return types with the correct number of type parameters.
(DeclSpace.CountTypeParams): New public property.

* ecore.cs (SimpleName.ctor): Added overloaded version which takes
the number of type parameters; defaults to zero.

* generic.cs (TypeArguments.Count): New public property.
(ConstructedType.DoResolveAsTypeStep): First call
ds.FindNestedType() to find out whether we're nested in the
current generic type; in this case, we inherit all type parameters
from the current class.

* rootcontext.cs (RootContext.NamespaceLookup): Added `int
num_type_args' argument.
(RootContext.LookupType): Added overloaded version which takes the
number of type arguments; only return types with the correct
number of type arguments.

* typemanager.cs (TypeManager.CheckGeneric): New public function;
checks whether `Type t' has `int num_type_args'.

svn path=/trunk/mcs/; revision=24012

20 years ago2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 14 Mar 2004 00:19:08 +0000 (00:19 -0000)]
2004-03-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* TypeInitializationException.cs
* SystemException.cs
* StackOverflowException.cs
* RankException.cs
* OverflowExceptionException.cs
* OutOfMemoryException.cs
* NullReferenceException.cs
* NotSupportedException.cs
* NotFiniteNumberException.cs
* InvalidOperationException.cs
* InvalidCastException.cs
* IndexOutOfRangeException.cs
* FormatException.cs
* ExecutionEngineException.cs: improved parameter names

svn path=/trunk/mcs/; revision=24009

20 years ago2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sat, 13 Mar 2004 23:57:20 +0000 (23:57 -0000)]
2004-03-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Enum.cs
* EntryPointNotFoundException.cs
* DuplicateWaitObjectException.cs
* DoubleFormatter.cs
* DllNotFoundException.cs
* DivideByZeroException.cs
* DelegateSerializationHolder.cs
* Delegate.cs
* DBNull.cs
* ContextStaticAttribute.cs
* ContextMarshalException.cs
* ContextBoundObject.cs
* CLSCompliantAttribute.cs
* CharEnumerator.cs
* CannotUnloadAppDomainException.cs
* BadImageFormatException.cs
* AttributeUsageAttribute.cs
* AttributeTargets.cs
* AsyncCallback.cs
* AssemblyLoadEventHandler.cs
* AssemblyLoadEventArgs.cs
* ArrayTypeMismatchException.cs
* ArithmeticException.cs
* ArgumentOutOfRangeException.cs
* ArgumentNullException.cs
* ArgumentException.cs
* ArgIterator.cs
* ApplicationException.cs
* AppDomainUnloadedException.cs
* AppDomain.cs: Mono styled, fixed exceptions/ locales
  removed excess usings

svn path=/trunk/mcs/; revision=24008

20 years ago2004-03-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 13 Mar 2004 23:16:26 +0000 (23:16 -0000)]
2004-03-13  Miguel de Icaza  <miguel@ximian.com>

* convert.cs (ExplicitConversion): We were reporting an error on
certain conversions (object_type source to a value type, when the
expression was `null') before we had a chance to pass it through
the user defined conversions.

svn path=/trunk/mcs/; revision=24007

20 years agoImprove
Miguel de Icaza [Sat, 13 Mar 2004 23:10:55 +0000 (23:10 -0000)]
Improve

svn path=/trunk/mcs/; revision=24006

20 years agoUpdated.
Martin Baulig [Sat, 13 Mar 2004 22:26:34 +0000 (22:26 -0000)]
Updated.

svn path=/trunk/mcs/; revision=24005

20 years agoChangeLog entry and updates from grammar changes
César Natarén [Sat, 13 Mar 2004 22:20:45 +0000 (22:20 -0000)]
ChangeLog entry and updates from grammar changes

svn path=/trunk/mcs/; revision=24004

20 years ago2004-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 13 Mar 2004 22:19:45 +0000 (22:19 -0000)]
2004-03-13  Martin Baulig  <martin@ximian.com>

* generic.cs (GenericMethod.DefineType): New method; calls
DefineType() on all the type parameters.

* class.cs (MethodData.ctor): Added `GenericMethod generic' argument.
(MethodData.Define): If we're a generic method, call
GenericMethod.DefineType() to define the type parameters.

svn path=/trunk/mcs/; revision=24003

20 years ago2004-03-13 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sat, 13 Mar 2004 22:15:28 +0000 (22:15 -0000)]
2004-03-13  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: keep track of return's parent.
* Statement.cs: added parent parameter to constructor.

svn path=/trunk/mcs/; revision=24002

20 years ago2004-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 13 Mar 2004 22:12:36 +0000 (22:12 -0000)]
2004-03-13  Martin Baulig  <martin@ximian.com>

* class.h (MonoGenericInst): Added `int count_ifaces'.

* iclass.c (ves_icall_MonoGenericInst_GetInterfaces): Use
`ginst->count_ifaces' instead `klass->interface_count' since we
may get called before the vtable is created.

* loader.c (mono_method_get_param_names): If we're a generic
instance, return and don't initialize the class.

* reflection.c (mono_reflection_setup_generic_class): Don't call
ensure_runtime_vtable().
(mono_reflection_bind_generic_parameters): Set
`ginst->count_ifaces'.

svn path=/trunk/mono/; revision=24001

20 years agoChangeLog entry
César Natarén [Sat, 13 Mar 2004 21:50:19 +0000 (21:50 -0000)]
ChangeLog entry

svn path=/trunk/mcs/; revision=24000

20 years ago2004-03-13 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sat, 13 Mar 2004 21:49:38 +0000 (21:49 -0000)]
2004-03-13  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* func-form-params.js: exercise function's parameters.

svn path=/trunk/mcs/; revision=23999

20 years agoChangeLog entries
César Natarén [Sat, 13 Mar 2004 21:27:53 +0000 (21:27 -0000)]
ChangeLog entries

svn path=/trunk/mcs/; revision=23998

20 years ago * expression.cs: refactored Emit code from Identifier, now we take
César Natarén [Sat, 13 Mar 2004 21:25:45 +0000 (21:25 -0000)]
 * expression.cs: refactored Emit code from Identifier, now we take
        care of function's paramenter references. First attack to function
        calls, check if Resolve from Call succeed.

svn path=/trunk/mcs/; revision=23997

20 years ago * VariableDeclaration.cs: Deleted Decl class, field_info and
César Natarén [Sat, 13 Mar 2004 21:25:07 +0000 (21:25 -0000)]
 * VariableDeclaration.cs: Deleted Decl class, field_info and
        local_builder fields were being used only by VariableDeclaration,
        I'll keep them there.

svn path=/trunk/mcs/; revision=23996

20 years ago*** empty log message ***
César Natarén [Sat, 13 Mar 2004 21:22:25 +0000 (21:22 -0000)]
*** empty log message ***

svn path=/trunk/mcs/; revision=23995

20 years ago2004-03-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 13 Mar 2004 20:41:01 +0000 (20:41 -0000)]
2004-03-13  Miguel de Icaza  <miguel@ximian.com>

* main.c (create_file_names): Try a few temp directories, since
Windows uses a different directory naming scheme apparently: #47696

svn path=/trunk/mcs/; revision=23994

20 years ago2004-03-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 13 Mar 2004 19:53:28 +0000 (19:53 -0000)]
2004-03-13  Martin Baulig  <martin@ximian.com>

* class.cs: Reverted Miguel's latest commit; it makes mcs crash
when compiling corlib.

svn path=/trunk/mcs/; revision=23993

20 years agoMonoDeveloping mbas
Rafael Teixeira [Sat, 13 Mar 2004 19:29:27 +0000 (19:29 -0000)]
MonoDeveloping mbas

svn path=/trunk/mcs/; revision=23992

20 years ago * data/config.in: Changed libgtkhtml-3.0.so.2 to libgtkhtml-3.0.so to fix
Martin Willemoes Hansen [Sat, 13 Mar 2004 19:21:12 +0000 (19:21 -0000)]
    * data/config.in: Changed libgtkhtml-3.0.so.2 to libgtkhtml-3.0.so to fix
        breakage with gtkhtml-3.0.10

svn path=/trunk/mono/; revision=23991

20 years ago2004-03-13 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sat, 13 Mar 2004 19:09:17 +0000 (19:09 -0000)]
2004-03-13  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* TODO: updated TODO.

svn path=/trunk/mcs/; revision=23990

20 years agofix
Miguel de Icaza [Sat, 13 Mar 2004 16:42:31 +0000 (16:42 -0000)]
fix

svn path=/trunk/mono/; revision=23989

20 years agoAdded
Miguel de Icaza [Sat, 13 Mar 2004 16:39:30 +0000 (16:39 -0000)]
Added

svn path=/trunk/mono/; revision=23988

20 years agoAdd resgen
Miguel de Icaza [Sat, 13 Mar 2004 16:39:24 +0000 (16:39 -0000)]
Add resgen

svn path=/trunk/mono/; revision=23987

20 years ago2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Mar 2004 16:26:00 +0000 (16:26 -0000)]
2004-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.

svn path=/trunk/mcs/; revision=23986

20 years ago2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 Mar 2004 15:28:10 +0000 (15:28 -0000)]
2004-03-13 Atsushi Enomoto <atsushi@ximian.com>

* XslStylesheet.cs : "version" attribute is also required for embedded
  stylesheet.

svn path=/trunk/mcs/; revision=23985

20 years ago2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 Mar 2004 15:27:38 +0000 (15:27 -0000)]
2004-03-13  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDsigC14NWithCommentsTransformTest,cs : world.txt causes FileShare
  Win32Error so it should be added only when it does not exist.
* XmlDsigXsltTransformTest.cs : embedded stylesheet should have
  version attribute. EmbeddedStylesheet() should also load input doc.

svn path=/trunk/mcs/; revision=23984

20 years ago2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 Mar 2004 15:21:58 +0000 (15:21 -0000)]
2004-03-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
  and LoadInput() should just load transformed document.
  Transformation should be done in GetOutput() because either of the
  stylesheet or input can be loaded in prior. Adjusted code format.

svn path=/trunk/mcs/; revision=23983

20 years ago2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 Mar 2004 15:08:39 +0000 (15:08 -0000)]
2004-03-13  Atsushi Enomoto <atsushi@ximian.com>

* XslTransformTests.cs : added some tests for invalid stylesheets.

svn path=/trunk/mcs/; revision=23982

20 years ago2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 Mar 2004 15:06:04 +0000 (15:06 -0000)]
2004-03-13  Atsushi Enomoto  <atsushi@ximian.com>

* xmltest.cs : timestamps are only put in my box (while it is
  documented as to be written, in my standalone_tests description).

svn path=/trunk/mcs/; revision=23981

20 years ago2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 Mar 2004 15:00:28 +0000 (15:00 -0000)]
2004-03-13 Atsushi Enomoto <atsushi@ximian.com>

* Compiler.cs,
  XslStylesheet.cs : Reject xsl element other than stylesheet and
  transform. Check mandatory version attribute (only for existence).

svn path=/trunk/mcs/; revision=23980

20 years ago2004-03-13 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 13 Mar 2004 14:23:15 +0000 (14:23 -0000)]
2004-03-13  David Sheldon <dave-mono@earth.li>

  * XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
   byte [].

svn path=/trunk/mcs/; revision=23979

20 years ago2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 13 Mar 2004 14:15:23 +0000 (14:15 -0000)]
2004-03-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlClosedState.cs: Added support for SSL callbacks points. Now, client applications can provide the callbacks. Npgsql provide a default callback implementation which always assumes the certificate is ok. This allows easy use as client don't need to provide callback to use ssl connections. This also fixes bug 705 in gborg.
* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.

svn path=/trunk/mcs/; revision=23978

20 years ago2004-03-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 13 Mar 2004 06:08:31 +0000 (06:08 -0000)]
2004-03-13  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Replace / and \ in resource specifications to dots.
Fixes 50752

svn path=/trunk/mcs/; revision=23976

20 years ago2004-03-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 13 Mar 2004 04:59:45 +0000 (04:59 -0000)]
2004-03-13  Miguel de Icaza  <miguel@ximian.com>

* class.cs: Add check for duplicate operators.  Fixes 52477

svn path=/trunk/mcs/; revision=23974

20 years agoAdd new error check
Miguel de Icaza [Sat, 13 Mar 2004 04:58:14 +0000 (04:58 -0000)]
Add new error check

svn path=/trunk/mcs/; revision=23973

20 years agoFlush
Miguel de Icaza [Sat, 13 Mar 2004 04:28:58 +0000 (04:28 -0000)]
Flush

svn path=/trunk/mono/; revision=23972

20 years ago2004-03-13 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 13 Mar 2004 01:44:59 +0000 (01:44 -0000)]
2004-03-13  David Sheldon <dave-mono@earth.li>

  * XmlReflectionImporterTests.cs: Switched the AssertEquals around
   the other way, so that the expecteed value was the first parameter.
   This makes the error messages you get out of it better.

svn path=/trunk/mcs/; revision=23971

20 years ago2004-03-13 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 13 Mar 2004 01:25:59 +0000 (01:25 -0000)]
2004-03-13  David Sheldon <dave-mono@earth.li>

  * XmlTextAttribute.cs: Initialise dataType with zero-length string.
   fixes test case that tests for this directly
   (XmlAttributesTests/XmlTextAttribute).
  * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
   it. Treat it as null.

svn path=/trunk/mcs/; revision=23970

20 years ago2004-03-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 13 Mar 2004 00:03:59 +0000 (00:03 -0000)]
2004-03-12  Sebastien Pouliot  <sebastien@ximian.com>

* XmlDsigC14NTransformTest.cs: Fixed missing files error under MS.NET.
* XmlDsigC14NWithCommentsTransformTest.cs: Fixed missing files error
under MS.NET.

svn path=/trunk/mcs/; revision=23969

20 years ago2004-03-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 12 Mar 2004 22:37:04 +0000 (22:37 -0000)]
2004-03-12  Sebastien Pouliot  <sebastien@ximian.com>

* Signature.cs: KeyInfo isn't required in schema.
* SignedInfo.cs: Added support for missing HMACOutputLength.
* SignedXml.cs: Added support to download a reference (experimental).
Now throw exception for unknown hash algorithm or canonicalization
methods. Changed GetPublicKey to iterate all available keys (not just
the first one).

svn path=/trunk/mcs/; revision=23968

20 years agoupdate
Miguel de Icaza [Fri, 12 Mar 2004 18:23:41 +0000 (18:23 -0000)]
update

svn path=/trunk/mcs/; revision=23965

20 years agoDo not abuse the consts scheme
Andreas N [Fri, 12 Mar 2004 16:12:24 +0000 (16:12 -0000)]
Do not abuse the consts scheme

svn path=/trunk/mcs/; revision=23964

20 years ago2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 12 Mar 2004 16:11:16 +0000 (16:11 -0000)]
2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Data.dll.sources : added classes

svn path=/trunk/mcs/; revision=23963

20 years ago2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 12 Mar 2004 16:10:36 +0000 (16:10 -0000)]
2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
* DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
* ColumnTypeConverter.cs: Added stub
* DefaultValueTypeConverter: Added stub
* ConstraintConverter.cs: Added stub

svn path=/trunk/mcs/; revision=23962

20 years ago2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 12 Mar 2004 16:09:48 +0000 (16:09 -0000)]
2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DbDataPermissionAttribute.cs: Added .Net 1.1 marks
* DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
* DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
* DataColumnMappingConverter: Added stub
* DataTableMappingConverter: Added stub

svn path=/trunk/mcs/; revision=23961

20 years ago2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 12 Mar 2004 16:08:54 +0000 (16:08 -0000)]
2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!

svn path=/trunk/mcs/; revision=23960

20 years ago * CodeIdentifier.cs: Limit the length of identifiers.
Lluis Sanchez [Fri, 12 Mar 2004 15:57:13 +0000 (15:57 -0000)]
* CodeIdentifier.cs: Limit the length of identifiers.
* MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
  Generate types using GetDomType, so if the type is an array, it creates
  the correct combination of types.
* SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
  an enum, if the string is empty and the enum has [Flags], then return 0
  as value. This fixes bug #55509.
* XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
  are not supported. Another check: a simple type cannot be enum if it does
  not have any enum facet.
  And another fix: use string as default type for attribtues.
* XmlSchemas.cs: Fixed search for schema elements. An schema may import
  other schemas. An imported schema would not be in the table, but its
  elements (although from another namespace) would be in the schema that
  imported it. So, we need know to check for every schema in the table.
* XmlSerializer.cs: Added environment variable to help debugging code
  generator output.

svn path=/trunk/mcs/; revision=23957

20 years ago * DeserializeTests.cs: Added test for empty enum deserialization (bug #55509).
Lluis Sanchez [Fri, 12 Mar 2004 15:55:33 +0000 (15:55 -0000)]
* DeserializeTests.cs: Added test for empty enum deserialization (bug #55509).
* XmlAttributesTests.cs, XmlReflectionImporterTests.cs,
  XmlSerializationWriterTests.cs, XmlSerializerTests.cs:
  Simplified namespace hierarchy.
* XmlSerializerTestClasses.cs: Added more test classes.

svn path=/trunk/mcs/; revision=23956

20 years ago2004-03-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 12 Mar 2004 11:43:22 +0000 (11:43 -0000)]
2004-03-12 Marek Safar <marek.safar@seznam.cz>

* cs0182-1.cs,
  cs3001-9.cs: New error tests.

svn path=/trunk/mcs/; revision=23955

20 years ago2004-03-12 Umadevi S (sumadevi@novell.com)
Umadevi S [Fri, 12 Mar 2004 10:09:26 +0000 (10:09 -0000)]
2004-03-12 Umadevi S (sumadevi@novell.com)
* DataColumn.cs - Implemented TypeConverterAttribute
- Removed MonoTODO tag from ToString
- Expression set - checked for null value

svn path=/trunk/mcs/; revision=23954

20 years ago- Changed wine-sharedlib to winelib
Peter Dennis Bartok [Fri, 12 Mar 2004 09:26:16 +0000 (09:26 -0000)]
- Changed wine-sharedlib to winelib

svn path=/trunk/mcs/; revision=23951

20 years ago- Changed name of wine-sharedlib to winelib
Peter Dennis Bartok [Fri, 12 Mar 2004 08:42:54 +0000 (08:42 -0000)]
- Changed name of wine-sharedlib to winelib

svn path=/trunk/mono/; revision=23949

20 years ago2004-03-12 Umadevi S (sumadevi@novell.com)
Umadevi S [Fri, 12 Mar 2004 06:29:36 +0000 (06:29 -0000)]
2004-03-12 Umadevi S (sumadevi@novell.com)
* Constraint.cs - Implemented TypeConverterAttribute

svn path=/trunk/mcs/; revision=23943

20 years ago2004-03-12 Umadevi S (sumadevi@novell.com)
Umadevi S [Fri, 12 Mar 2004 06:21:22 +0000 (06:21 -0000)]
2004-03-12 Umadevi S (sumadevi@novell.com)
* SqlDataReader.cs - Implemented EditorBrowsableAttribute, GetData
   - Removed MonoTODO from GetSqlValue

svn path=/trunk/mcs/; revision=23942

20 years ago2004-03-11 Joshua Tauberer <tauberer@for.net>
Joshua Tauberer [Thu, 11 Mar 2004 23:51:40 +0000 (23:51 -0000)]
2004-03-11  Joshua Tauberer <tauberer@for.net>

* Syscall.cs: Removed argument to getgid that shouldn't be there.
Added getusername, getgroupname which wrap getpwuid, getgrgid
without dealing with pointers to structures.
Removed duplicate FileMode enum nested in Syscall class.
Added stat and lstat, which use StatMode enumeration
(like FileMode but nicer and complete) and Stat struct.
* macros.c: Helper functions for getpwuid, getgrgid, stat, lstat.

svn path=/trunk/mcs/; revision=23941

20 years ago2004-03-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Mar 2004 23:48:50 +0000 (23:48 -0000)]
2004-03-11  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Switch.SimpleSwitchEmit): Deal with default labels
that are in the middle of the statements, not only at the end.
Fixes #54987

svn path=/trunk/mcs/; revision=23940

20 years agoUpdate
Miguel de Icaza [Thu, 11 Mar 2004 23:47:54 +0000 (23:47 -0000)]
Update

svn path=/trunk/mcs/; revision=23939

20 years ago2004-03-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 11 Mar 2004 23:26:19 +0000 (23:26 -0000)]
2004-03-12  Atsushi Enomoto <atsushi@ximian.com>

* RdpPatterns.cs : Fixed TextDeriv() to allow whitespace text nodes
  except for Data and Value (though they are overridden).

svn path=/trunk/mcs/; revision=23938

20 years ago2004-03-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Mar 2004 23:22:06 +0000 (23:22 -0000)]
2004-03-11  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.AddField): No longer set the
`HaveStaticConstructor' flag, now we call it
`UserDefineStaticConstructor' to diferentiate the slightly
semantic difference.

The situation is that we were not adding BeforeFieldInit (from
Modifiers.TypeAttr) to classes that could have it.
BeforeFieldInit should be set to classes that have no static
constructor.

See:

http://www.yoda.arachsys.com/csharp/beforefieldinit.html

And most importantly Zoltan's comment:

http://bugzilla.ximian.com/show_bug.cgi?id=44229

"I think beforefieldinit means 'it's ok to initialize the type sometime
 before its static fields are used', i.e. initialization does not need
 to be triggered by the first access to the type. Setting this flag
 helps the JIT to compile better code, since it can run the static
 constructor at JIT time, and does not need to generate code to call it
 (possibly lots of times) at runtime. Unfortunately, mcs does not set
 this flag for lots of classes like String.

 csc sets this flag if the type does not have an explicit static
 constructor. The reasoning seems to be that if there are only static
 initalizers for a type, and no static constructor, then the programmer
 does not care when this initialization happens, so beforefieldinit
 can be used.

 This bug prevents the AOT compiler from being usable, since it
 generates so many calls to mono_runtime_class_init that the AOT code
 is much slower than the JITted code. The JITted code is faster,
 because it does not generate these calls if the vtable is type is
 already initialized, which is true in the majority of cases. But the
 AOT compiler can't do this."

2004-03-10  Miguel de Icaza  <miguel@ximian.com>

* class.cs (MethodData.Emit): Refactor the code so symbolic
information is generated for destructors;  For some reasons we
were taking a code path that did not generate symbolic information
before.

svn path=/trunk/mcs/; revision=23937

20 years ago2004-03-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 11 Mar 2004 22:52:46 +0000 (22:52 -0000)]
2004-03-11  Martin Baulig  <martin@ximian.com>

* List.cs: New file.

svn path=/trunk/mcs/; revision=23936

20 years ago2004-03-11 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 11 Mar 2004 21:53:40 +0000 (21:53 -0000)]
2004-03-11 Ben Maurer  <bmaurer@users.sourceforge.net>

* class.cs: Create a Constructor.CheckBase method that
takes care of all validation type code. The method
contains some code that was moved from Define.

It also includes new code that checks for duplicate ctors.
This fixes bug #55148.

svn path=/trunk/mcs/; revision=23935

20 years ago2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 11 Mar 2004 21:38:32 +0000 (21:38 -0000)]
2004-03-09  Atsushi Enomoto <atsushi@ximian.com>

* KeyInfo.cs : Attribute Id was not handlded.
* KeyInfoX509Data.cs : all array members return null when there are
  no such contents. Just find child elements, not descendants.
* SignedXml.cs : key is not always required when CheckSignature() is
  called.
* XmlDsigXsltTransform.cs : LoadInput should allow node list.
* XmlSignature.cs : added GetChildElements().

svn path=/trunk/mcs/; revision=23934

20 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 11 Mar 2004 21:37:47 +0000 (21:37 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDsigC14NTransformTest.cs : Stream2String() should consider utf-8
  escaping (i.e. it must be the same as with-comments test).
  Enabled example6 (encoding test).
* XmlDsigXsltTransformTest.cs :
  GetXslDoc() now works (xmlns for dsig was missing).
  Added EmptyXslt(), EmbeddedStylesheet() and InvalidXslt().
  Activated ignored LoadInputAsXXX() and Load2() by supplying xsl.

svn path=/trunk/mcs/; revision=23933

20 years agoUpdated
Miguel de Icaza [Thu, 11 Mar 2004 21:07:18 +0000 (21:07 -0000)]
Updated

svn path=/trunk/mono/; revision=23932

20 years agoCosmetic fix.
Martin Baulig [Thu, 11 Mar 2004 20:56:45 +0000 (20:56 -0000)]
Cosmetic fix.

svn path=/trunk/mcs/; revision=23931

20 years ago2004-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Mar 2004 18:36:55 +0000 (18:36 -0000)]
2004-03-11  Zoltan Varga  <vargaz@freemail.hu>

* liveness.c (mono_analyze_liveness): Optimized version.

svn path=/trunk/mono/; revision=23930

20 years ago2004-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Mar 2004 18:28:04 +0000 (18:28 -0000)]
2004-03-11  Zoltan Varga  <vargaz@freemail.hu>

* inssel-sparc.brg cpu-sparc.md: Ongoing sparc work.

svn path=/trunk/mono/; revision=23929

20 years ago2004-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Mar 2004 18:26:11 +0000 (18:26 -0000)]
2004-03-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.h mini-sparc.c tramp-sparc.c exceptions-sparc.c: Ongoing
sparc work.

svn path=/trunk/mono/; revision=23928

20 years ago2004-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Mar 2004 18:24:58 +0000 (18:24 -0000)]
2004-03-11  Zoltan Varga  <vargaz@freemail.hu>

* basic-float.cs basic-calls.cs: New regression tests.

svn path=/trunk/mono/; revision=23927

20 years ago2004-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Mar 2004 18:23:26 +0000 (18:23 -0000)]
2004-03-11  Zoltan Varga  <vargaz@freemail.hu>

* sparc/sparc-codegen.h: Ongoing sparc work.

svn path=/trunk/mono/; revision=23926

20 years ago * icall.c:
Jackson Harper [Thu, 11 Mar 2004 18:01:25 +0000 (18:01 -0000)]
    * icall.c:
* unicode.c:
* unicode.h: Remove unused System.Char icalls.

svn path=/trunk/mono/; revision=23925

20 years ago2004-03-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 11 Mar 2004 17:46:03 +0000 (17:46 -0000)]
2004-03-11  Martin Baulig  <martin@ximian.com>

* corlib.dll.sources: Added System.Collections.Generic/Queue.cs
and System.Collections.Generic.Stack.cs.

svn path=/trunk/mcs/; revision=23924

20 years ago2004-03-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 11 Mar 2004 17:45:10 +0000 (17:45 -0000)]
2004-03-11  Martin Baulig  <martin@ximian.com>

* Stack.cs, Queue.cs: Just use `Node' for the nested class, not
`Node<T>' (which would create another type parameter `T'
overriding `T' from the outer class).

svn path=/trunk/mcs/; revision=23923

20 years ago2004-03-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 11 Mar 2004 16:53:44 +0000 (16:53 -0000)]
2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile, corlib.dll.win32-excludes :
  now csc build includes SecurityPermissionAttribute.cs.

svn path=/trunk/mcs/; revision=23922

20 years ago2004-03-10 Juraj Skripsky <juraj@hotfeet.ch>
Gonzalo Paniagua Javier [Thu, 11 Mar 2004 16:44:39 +0000 (16:44 -0000)]
2004-03-10  Juraj Skripsky <juraj@hotfeet.ch>

* StringBuilderTest.cs: added new test for bug in Insert.

svn path=/trunk/mcs/; revision=23921

20 years ago2004-03-10 Juraj Skripsky <juraj@hotfeet.ch>
Gonzalo Paniagua Javier [Thu, 11 Mar 2004 16:43:28 +0000 (16:43 -0000)]
2004-03-10  Juraj Skripsky <juraj@hotfeet.ch>

* StringBuilder.cs
(Insert int, char[]): fix by using new string(char[]) instead of
char[].ToString() and simplify.
(Insert int, string, int): add LAMESPEC note.
(Insert int char[], int, int): handle value==null according to spec.
Use a string instead of char array + Array.Copy (gonzalo)

svn path=/trunk/mcs/; revision=23920

20 years ago2004-03-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Mar 2004 16:13:06 +0000 (16:13 -0000)]
2004-03-11  Miguel de Icaza  <miguel@ximian.com>

* loader.c (mono_lookup_pinvoke_call): Call the Windows.Forms init
code when we P/Invoke the first library in Windows.Forms, instead
of when we first open the assembly.

* assembly.c: Drop the lookup from here.

svn path=/trunk/mono/; revision=23919

20 years ago2004-03-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 11 Mar 2004 15:54:52 +0000 (15:54 -0000)]
2004-03-11  Zoltan Varga  <vargaz@freemail.hu>

* monobitset.c (mono_bitset_test_bulk): New function to return multiple
bits at once.

svn path=/trunk/mono/; revision=23918