mono.git
20 years ago2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 15 Mar 2004 21:19:02 +0000 (21:19 -0000)]
2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-layer/io-private.h: added new fields for file structure. Declare
_wapi_io_add_callback.

* io-layer/io.c: added _wapi_get_win32_error, support aio_read/write
in file_read/write. Implemented _wapi_io_add_callback, which is where
BindHandle ends up.

* io-layer/io.h: added new fields for WapiOverlapped and typedef for
the callback.

* io-layer/processes.c: fixed off-by-one bug when handling environment
variables passed in.

* io-layer/threads.[ch]: implemented BindIoCompletionCallback.

* io-layer/uglify.h: added typedef for LPOVERLAPPED_COMPLETION_ROUTINE.

* metadata/appdomain.c: upgraded corlib version.

* metadata/file-io.c: implemented new icalls: GetSupportsAIO, BeginRead
and BeginWrite. Allow opening files for asynchrnous operations.

* metadata/file-io.h: new struct that maps FileStreamAsyncResult.
* metadata/icall.c: added new icalls.
* metadata/process.[ch]: support setting child process environment
variables and use the SHELL or COMSPEC when UseShellExecute is true.

* metadata/threadpool.[ch]: fixed warnings, moved ThreadPool icalls
here.  The callback for async. IO is here and also BindHandle.

* metadata/threads.[ch]: added mono_thread_detach and removed
ThreadPool icalls from here.

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

20 years ago2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Mar 2004 21:18:09 +0000 (21:18 -0000)]
2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>

* SignedXml.cs: Now use the original Signature element before applying
the C14N transformation. Added a check for null in LoadXml.

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

20 years ago2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Mar 2004 21:15:54 +0000 (21:15 -0000)]
2004-03-15  Sebastien Pouliot <sebastien@ximian.com>

* AssemblyInfo.cs: Reduce extra/missing in corcompare.

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

20 years ago2004-03-14 Gustavo Gir�ldez <gustavo.giraldez@gmx.net>
Miguel de Icaza [Mon, 15 Mar 2004 20:09:25 +0000 (20:09 -0000)]
2004-03-14  Gustavo Gir�ldez  <gustavo.giraldez@gmx.net>

  * support.cs (SeekableStreamReader): Keep track of stream byte
  positions and don't mix them with character offsets to the buffer.

Patch from Gustavo Gir�ldez

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

20 years agoupdate
Miguel de Icaza [Mon, 15 Mar 2004 19:38:52 +0000 (19:38 -0000)]
update

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

20 years ago2004-03-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 15 Mar 2004 19:37:31 +0000 (19:37 -0000)]
2004-03-15  Miguel de Icaza  <miguel@ximian.com>

* monop.cs: Add -r: command line.

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

20 years agoImplement IList.Insert.
Martin Baulig [Mon, 15 Mar 2004 19:14:53 +0000 (19:14 -0000)]
Implement IList.Insert.

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

20 years ago**** Merged from MCS ****
Martin Baulig [Mon, 15 Mar 2004 19:13:44 +0000 (19:13 -0000)]
**** Merged from MCS ****
2004-03-15  Miguel de Icaza  <miguel@ximian.com>

* pending.cs (TypeAndMethods): Add `get_indexer_name' and
`set_indexer_name' to the pending bits (one per type).

We fixed a bug today that was picking the wrong method to
override, since for properties the existing InterfaceMethod code
basically ignored the method name.  Now we make sure that the
method name is one of the valid indexer names.

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

20 years ago2004-03-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 15 Mar 2004 19:11:44 +0000 (19:11 -0000)]
2004-03-15  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.IndexerPropertyName): Added support
for generic instances.

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

20 years ago * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
Lluis Sanchez [Mon, 15 Mar 2004 19:10:37 +0000 (19:10 -0000)]
* XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
  This fixes bug #55547.

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

20 years ago2004-03-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 15 Mar 2004 19:07:44 +0000 (19:07 -0000)]
2004-03-15  Miguel de Icaza  <miguel@ximian.com>

* pending.cs (TypeAndMethods): Add `get_indexer_name' and
`set_indexer_name' to the pending bits (one per type).

We fixed a bug today that was picking the wrong method to
override, since for properties the existing InterfaceMethod code
basically ignored the method name.  Now we make sure that the
method name is one of the valid indexer names.

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

20 years ago * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
Lluis Sanchez [Mon, 15 Mar 2004 19:04:33 +0000 (19:04 -0000)]
* Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
  SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
  field "value" to "m_value", so it is interoperable with MS.NET when
  serializing and deserializing data. Based on the patch from Daniel Keep.

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

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

* exceptions-sparc.c (mono_arch_has_unwind_info): Add missing function.

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

20 years ago2004-03-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 15 Mar 2004 18:11:46 +0000 (18:11 -0000)]
2004-03-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Windows.Forms.dll.sources: Added files

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

20 years ago2004-03-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 15 Mar 2004 18:11:06 +0000 (18:11 -0000)]
2004-03-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Deleted
* Control.cs: Hopefully satisfies corecompare a little more than now
* UnsafeNativeMethods.cs: Added for above

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

20 years ago2004-03-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 15 Mar 2004 18:09:40 +0000 (18:09 -0000)]
2004-03-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added
* Locale.cs: Added
* ChangeLog: Added

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

20 years ago2004-03-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Mar 2004 17:28:56 +0000 (17:28 -0000)]
2004-03-15  Zoltan Varga  <vargaz@freemail.hu>

* sparc/sparc-codegen.h: Add some v9 instructions.

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

20 years agoAdded new error
Miguel de Icaza [Mon, 15 Mar 2004 17:24:40 +0000 (17:24 -0000)]
Added new error

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

20 years agoignore dll
Nick Drochak [Mon, 15 Mar 2004 14:34:43 +0000 (14:34 -0000)]
ignore dll

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

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

* Al.cs: Avoid crash if entryPoint is not defined.

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

20 years ago2004-03-15 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Mon, 15 Mar 2004 13:46:10 +0000 (13:46 -0000)]
2004-03-15  Nick Drochak <ndrochak@ieee.org>

* CustomAttributeBuilderTest.cs: Force test to pass if we are running
on version 1.1 of the CLR.  That version does not throw the exception.

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

20 years ago2004-03-15 Umadevi S (sumadevi@novell.com)
Umadevi S [Mon, 15 Mar 2004 10:10:06 +0000 (10:10 -0000)]
2004-03-15 Umadevi S (sumadevi@novell.com)
* DataRow.cs
- Added code to set Default values in the constructor
- Removed TODO tags from HasErrors, ItemArray, SetParentRow
after adding testcases

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

20 years ago2004-03-15 Umadevi S (sumadevi@novell.com)
Umadevi S [Mon, 15 Mar 2004 09:29:36 +0000 (09:29 -0000)]
2004-03-15 Umadevi S (sumadevi@novell.com)
* ConstraintCollection.cs
- Implemented EditorAttribute, AddRange and
- Removed TODO tag from Clear method after updating comments
(thanks to Roopa (rowilson@novell.com))

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

20 years ago2004-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 15 Mar 2004 09:00:04 +0000 (09:00 -0000)]
2004-03-15  Marek Safar  <marek.safar@seznam.cz>

* interface.cs (InterfaceSetGetBase): Removed double member
initialization, base class does it as well.

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

20 years ago2004-03-15 Umadevi S (sumadevi@novell.com)
Umadevi S [Mon, 15 Mar 2004 08:51:48 +0000 (08:51 -0000)]
2004-03-15 Umadevi S (sumadevi@novell.com)
* DBConcurrency.cs - Implemented GetObjectData() method

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

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

* RelaxngGrammar.cs,
  RelaxngNameClass.cs,
  RelaxngPattern.cs : Added Write() support.

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

20 years agostructs
Ben Maurer [Mon, 15 Mar 2004 04:24:17 +0000 (04:24 -0000)]
structs

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

20 years agoadd gtk#
Ben Maurer [Mon, 15 Mar 2004 04:10:51 +0000 (04:10 -0000)]
add gtk#

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

20 years agomore friendlyification
Ben Maurer [Mon, 15 Mar 2004 04:04:46 +0000 (04:04 -0000)]
more friendlyification

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

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