mono.git
21 years agoTue Sep 24 11:27:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:29:48 +0000 (09:29 -0000)]
Tue Sep 24 11:27:38 CEST 2002 Paolo Molaro <lupus@ximian.com>

* string-icalls.c: speedup IndexOf.

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

21 years ago2002-09-21 Zoltan Varga <vargaz@freemail.hu>
Paolo Molaro [Tue, 24 Sep 2002 09:20:39 +0000 (09:20 -0000)]
2002-09-21  Zoltan Varga  <vargaz@freemail.hu>

* CallConvCdecl.cs: new file

* CallConvFastcall.cs: new file

* CallConvThiscall.cs: new file

* CallConvStdcall.cs: new file

* RuntimeHelpers.cs: Implemented OffsetToStringData, GetObjectValue and
RunClassConstructor.

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

21 years agoTue Sep 24 11:17:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:19:59 +0000 (09:19 -0000)]
Tue Sep 24 11:17:13 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: updates from Zoltan.2.Varga@nokia.com.

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

21 years agoUpdates.
Paolo Molaro [Tue, 24 Sep 2002 09:18:12 +0000 (09:18 -0000)]
Updates.

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

21 years agoTue Sep 24 11:09:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Sep 2002 09:11:30 +0000 (09:11 -0000)]
Tue Sep 24 11:09:17 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: cleanup: use mono_object_domain ().

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

21 years ago2002-09-21 Zoltan Varga <vargaz@freemail.hu>
Paolo Molaro [Tue, 24 Sep 2002 09:09:35 +0000 (09:09 -0000)]
2002-09-21  Zoltan Varga  <vargaz@freemail.hu>

* AllTests.cs: new file

* RuntimeHelpersTest.cs: new file

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

21 years ago*** empty log message ***
John Sohn [Tue, 24 Sep 2002 06:09:20 +0000 (06:09 -0000)]
*** empty log message ***

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

21 years ago2002-9-24 John Sohn <jsohn@columbus.rr.com>
John Sohn [Tue, 24 Sep 2002 06:06:39 +0000 (06:06 -0000)]
2002-9-24  John Sohn <jsohn@columbus.rr.com>
* Application.cs: Run method now creates the Form
* ContainerControl.cs: no implementation but made sure overridden
methods call the base class
* Control.cs: Implemented several more methods in the implementation
of this class. Implemented ControlCollection, allowing controls
to be added and removed from the Form.
* Form.cs: Implemented more methods of the Form class
* FormTest.cs: Added code to draw and display a Label
* Label.cs: Initial implementation of Label class. The Label can
be added and displayed on a Form.
* NativeWindow.cs: modified debugging (console) output
* ScrollableControl.cs: no implementation but made sure overridden
methods call the base class
* Win32.cs: added more Win32 imports and definitions
* monostub.c: now store the application HINSTANCE
* makefile: added Label.cs to makefile

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

21 years ago* Broke up our monodoc source file so it's easier to extend. It was
Adam Treat [Tue, 24 Sep 2002 04:17:40 +0000 (04:17 -0000)]
* Broke up our monodoc source file so it's easier to extend.  It was
getting to big ;)

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

21 years ago* Damn, I couldn't fine this anywhere... thanks gonzalo ;)
Adam Treat [Tue, 24 Sep 2002 01:58:58 +0000 (01:58 -0000)]
* Damn, I couldn't fine this anywhere... thanks gonzalo ;)

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

21 years ago* Thanks gonzalo ;)
Adam Treat [Tue, 24 Sep 2002 01:50:05 +0000 (01:50 -0000)]
* Thanks gonzalo ;)

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

21 years ago* Hook up the options dialog
Adam Treat [Tue, 24 Sep 2002 01:11:15 +0000 (01:11 -0000)]
* Hook up the options dialog

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

21 years ago2002-09-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 24 Sep 2002 00:54:24 +0000 (00:54 -0000)]
2002-09-23  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (Error_AmbiguousTypeReference); New routine used to
report ambiguous type references.  Unlike the MS version, we
report what the ambiguity is.   Innovation at work ;-)

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

21 years ago2002-09-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 24 Sep 2002 00:32:57 +0000 (00:32 -0000)]
2002-09-23  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (DeclSpace.FindType): Require a location argument to
display when we display an ambiguous error.

* ecore.cs: (SimpleName.DoResolveType): Pass location to FindType.

* interface.cs (GetInterfaceTypeByName): Pass location to FindType.

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

21 years agoMore work on the type stuff.
Martin Baulig [Mon, 23 Sep 2002 23:21:14 +0000 (23:21 -0000)]
More work on the type stuff.

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

21 years ago2002-09-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 23 Sep 2002 22:39:52 +0000 (22:39 -0000)]
2002-09-23  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (EmitDynamicInitializers): Apply patch from
hwang_rob@yahoo.ca that fixes the order in which we emit our
initializers.

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

21 years ago2002-09-23 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 23 Sep 2002 22:19:25 +0000 (22:19 -0000)]
2002-09-23  Duncan Mak  <duncan@ximian.com>

* XslTransform.cs (Laod): Implemented the simple version that
takes one XPathNavigator as argument.
(Save): New private method for recreating the XML in text from a
XPathNavigator
(WriteCurrentNode):
(WriteTree): private methods for generating the text XML from the
XPathNavigator tree.

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

21 years agoAdded information about the new LCC 4.2 release that supports compiling to
Mark Crichton [Mon, 23 Sep 2002 18:19:51 +0000 (18:19 -0000)]
Added information about the new LCC 4.2 release that supports compiling to
MSIL.

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

21 years ago2002-09-23 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Mon, 23 Sep 2002 18:07:38 +0000 (18:07 -0000)]
2002-09-23  Andrew Birkett  <andy@nobugs.org>

* RijndaelManagedTest.cs: Fixed initialization order problem
to match MS behaviour.

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

21 years ago2002-09-23 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Mon, 23 Sep 2002 18:06:10 +0000 (18:06 -0000)]
2002-09-23  Andrew Birkett  <andy@nobugs.org>

* corlib_linux_test.args: Added MD5Test

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

21 years ago2002-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Sep 2002 17:59:02 +0000 (17:59 -0000)]
2002-09-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlAnchor.cs:
* HtmlButton.cs:
* HtmlContainerControl.cs:
* HtmlControl.cs:
* HtmlForm.cs:
* HtmlGenericControl.cs:
* HtmlImage.cs:
* HtmlInputButton.cs:
* HtmlInputCheckBox.cs:
* HtmlInputControl.cs:
* HtmlInputFile.cs:
* HtmlInputHidden.cs:
* HtmlInputImage.cs:
* HtmlInputRadioButton.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlTable.cs:
* HtmlTableCell.cs:
* HtmlTableRow.cs:
* HtmlTextArea.cs: added almost all missing attributes.

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

21 years agoAdded support for enum types.
Martin Baulig [Mon, 23 Sep 2002 16:42:25 +0000 (16:42 -0000)]
Added support for enum types.

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

21 years agoMulti-dimensional arrays ...
Martin Baulig [Mon, 23 Sep 2002 15:51:17 +0000 (15:51 -0000)]
Multi-dimensional arrays ...

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

21 years ago2002-09-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 23 Sep 2002 15:17:31 +0000 (15:17 -0000)]
2002-09-24  Nick Drochak  <ndrochak@gol.com>

* ArrayListTest.cs: Add check that enumerator is invalidated after a
method that changes the list, such as Add(), Remove(), etc.

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

21 years agoLittle fix to clean target for PEToolkit
Gonzalo Paniagua Javier [Mon, 23 Sep 2002 14:52:50 +0000 (14:52 -0000)]
Little fix to clean target for PEToolkit

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

21 years ago2002-09-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 23 Sep 2002 14:44:48 +0000 (14:44 -0000)]
2002-09-23  Nick Drochak  <ndrochak@gol.com>

* TraceTest.cs: Default level and size are 0 & 4, respectively.

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

21 years ago2002-09-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 23 Sep 2002 14:36:08 +0000 (14:36 -0000)]
2002-09-23  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Improved type support.

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

21 years agoUpdate.
Paolo Molaro [Mon, 23 Sep 2002 09:04:50 +0000 (09:04 -0000)]
Update.

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

21 years agoStarting rewrite of trampolining for SPARC. It needed some cleanup.
Mark Crichton [Mon, 23 Sep 2002 02:25:43 +0000 (02:25 -0000)]
Starting rewrite of trampolining for SPARC.  It needed some cleanup.

It doesn't work at all now.  GO PROGRESS!

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

21 years ago2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Sep 2002 01:42:48 +0000 (01:42 -0000)]
2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
return pvt methods.

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

21 years ago2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Sep 2002 01:00:15 +0000 (01:00 -0000)]
2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.IO/BinaryReaderTest.cs: more tests.

* System.Security.Cryptography/AllTests.cs:
* System.Security.Cryptography/ChangeLog:
* System.Security.Cryptography/MD5Test.cs: added new MD5Test.cs.

Patch from Eduardo Garc�a Cebollero (kiwnix@yahoo.es).

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

21 years ago2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Sep 2002 00:39:30 +0000 (00:39 -0000)]
2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlConvert.cs: IsInvalid is now internal.
* XmlNamespaceManager.cs: implemented RemoveNamespace
* XmlTextReader.cs: return BaseURI and Encoding from the parser.
* XmlTextWriter.cs: implemented WriteName and WriteNmToken.

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

21 years ago2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 22 Sep 2002 17:31:53 +0000 (17:31 -0000)]
2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* get.c: closes bug #30814. Thanks to Zoltan Varga.

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

21 years ago2002-09-22 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Sun, 22 Sep 2002 16:05:55 +0000 (16:05 -0000)]
2002-09-22  Andrew Birkett  <andy@nobugs.org>

* RijndaelManaged.cs: Added faster case for multiplication by 2 in GF(8)

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

21 years ago2002-09-22 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Sun, 22 Sep 2002 15:28:10 +0000 (15:28 -0000)]
2002-09-22  Andrew Birkett  <andy@nobugs.org>

* System.Security.Cryptography/RijndaelManagedTest.cs: BlockSize
measured in bytes, not bits.

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

21 years ago2002-09-22 Andrew Birkett <andy@nobugs.org>
Andrew Birkett [Sun, 22 Sep 2002 15:26:50 +0000 (15:26 -0000)]
2002-09-22  Andrew Birkett  <andy@nobugs.org>

* RijndaelManaged.cs: BlockSize now reports size in bytes.
* ICryptoTransform.cs: Updated comments - BlockSizes are in bytes, unlike elsewhere.

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

21 years ago2002-09-22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 22 Sep 2002 14:35:04 +0000 (14:35 -0000)]
2002-09-22  Nick Drochak  <ndrochak@gol.com>

* Parser.cs: Remove extraneous "using" that was stopping the build.

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

21 years ago2002-09-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 22 Sep 2002 13:46:42 +0000 (13:46 -0000)]
2002-09-22  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Added support for reference types and strings.

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

21 years agoRemoved another g_message().
Martin Baulig [Sun, 22 Sep 2002 13:45:54 +0000 (13:45 -0000)]
Removed another g_message().

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

21 years agofix ximian link.
Johannes Roith [Sun, 22 Sep 2002 09:15:58 +0000 (09:15 -0000)]
fix ximian link.

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

21 years agoRemoved this g_message().
Martin Baulig [Sat, 21 Sep 2002 23:25:29 +0000 (23:25 -0000)]
Removed this g_message().

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

21 years ago2002-09-22 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 21 Sep 2002 23:24:50 +0000 (23:24 -0000)]
2002-09-22  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Started to work on the type table.

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

21 years ago2002-09-17 Asier Llano Palacios <asierllano@infonegocio.com>
Miguel de Icaza [Sat, 21 Sep 2002 21:39:37 +0000 (21:39 -0000)]
2002-09-17  Asier Llano Palacios <asierllano@infonegocio.com>

* CancelEventArgs.cs
* CancelEventHandler.cs
* PropertyChangedEventHandler.cs
* IExtenderProvider.cs: Implemented

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

21 years ago2002-09-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 21 Sep 2002 21:27:59 +0000 (21:27 -0000)]
2002-09-21  Miguel de Icaza  <miguel@ximian.com>

* FileStream.cs: Do not call FSync on the file.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 21 Sep 2002 18:42:24 +0000 (18:42 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* delegate.cs (Delegate.VerifyApplicability): Make this work if the
delegate takes no arguments.

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

21 years ago2002-09-21 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 21 Sep 2002 18:28:40 +0000 (18:28 -0000)]
2002-09-21  Piers Haken <piersh@friskit.com>

* XPathNavigatorEvaluateTests.cs: enable more tests, XPathException is now used properly.

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

21 years ago2002-09-21 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 21 Sep 2002 18:26:49 +0000 (18:26 -0000)]
2002-09-21  Piers Haken <piersh@friskit.com>

* XPathException: implementation
* Expression.cs:
* Iterator.cs:
* Parser.jay:
* Tokenizer.jay:
* XPathNavigator.jay:
use XPathException.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 21 Sep 2002 17:16:34 +0000 (17:16 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* debug.c (MonoDebuggerSymbolFileTable): Use an actual typedef for this
instead of writing a byte blob.
(mono_debug_make_symbols): This doesn't touch the symbol tables anymore.
(mono_debug_add_method): Incrementally add the new method to the symbol
table.

* exception.c (arch_handle_exception): If we have debugging support,
call mono_debugger_update_symbol_file_table () as well.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 21 Sep 2002 17:14:47 +0000 (17:14 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Largely reworked the symbol table format.
The symbol table is now incrementally updated each time a new
method is added.  We're now also using our own magic and version
so that you don't need to recompile all your classes if the
dynamic table changes.
(mono_debug_update_mono_symbol_file): Removed.
(mono_debug_symfile_add_method): New function to add a method.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 21 Sep 2002 17:12:30 +0000 (17:12 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* MonoSymbolTable.cs: Set version number to 26.  Removed all the dynamic
stuff, this library now just deals with the compiler generated symbol table.
The dynamic stuff is private between the JIT and the debugger.

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

21 years agoimplementing tests: XmlElementTests.TestSetAttributeNode
Matt Hunter [Sat, 21 Sep 2002 04:21:44 +0000 (04:21 -0000)]
implementing tests: XmlElementTests.TestSetAttributeNode
and XmlAttributeCollectionTest.TestAppend

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

21 years agoimplementing XmlElement.SetAttributeNode(localName, namespaceURI) and
Matt Hunter [Sat, 21 Sep 2002 04:20:31 +0000 (04:20 -0000)]
implementing XmlElement.SetAttributeNode(localName, namespaceURI) and
implementing XmlAttributeCollection.Append(XmlAttribute)

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

21 years ago2002-09-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 21 Sep 2002 04:12:05 +0000 (04:12 -0000)]
2002-09-20  Miguel de Icaza  <miguel@ximian.com>

* constant.cs: Use Conv_U8 instead of Conv_I8 when loading longs
from integers.

* expression.cs: Extract the underlying type.

* ecore.cs (StoreFromPtr): Use TypeManager.IsEnumType instad of IsEnum

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

21 years ago* Refactored some code
Adam Treat [Sat, 21 Sep 2002 03:49:26 +0000 (03:49 -0000)]
* Refactored some code
* Added archiver.cs

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

21 years ago* Integrated the flush methods and refactored some code.
Adam Treat [Sat, 21 Sep 2002 03:48:27 +0000 (03:48 -0000)]
* Integrated the flush methods and refactored some code.

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

21 years ago2002-09-20 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 21 Sep 2002 03:19:10 +0000 (03:19 -0000)]
2002-09-20  Duncan Mak  <duncan@ximian.com>

* data/config.in: Added reference to libxslt.

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

21 years ago2002-09-16 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 21 Sep 2002 03:18:17 +0000 (03:18 -0000)]
2002-09-16  Duncan Mak  <duncan@ximian.com>

* Uri.cs (GetObjectData):
(Uri): The key should be "AbsoluteUri", not "Uri".

2002-09-20  Duncan Mak  <duncan@ximian.com>

* XslTransform.cs (Load): Implemented the  methods, not
including the ones that deal with XPathNavigator (hopefully those
will come later).
(Transform): Implemented the version that saves directly to a file.
(Save): New private method for recreating the XML in text from
from an XmlReader

We're now P/Invoking libxslt for doing XSLT work.

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

21 years agoadded settings menu and initial configure dialog
John Sohn [Sat, 21 Sep 2002 03:14:23 +0000 (03:14 -0000)]
added settings menu and initial configure dialog

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

21 years ago2002-09-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 21 Sep 2002 00:02:02 +0000 (00:02 -0000)]
2002-09-20  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Extract the underlying type.

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

21 years ago2002-09-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 20 Sep 2002 23:53:34 +0000 (23:53 -0000)]
2002-09-20  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (StoreFromPtr): Use TypeManager.IsEnumType instad of IsEnum

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 23:41:46 +0000 (23:41 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
get the type of a local variable from its signature.  This should only
be used by the debugger.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 23:40:47 +0000 (23:40 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* icall.c
("System.Reflection.Assembly::MonoDebugger_GetLocalTypeFromSignature"):
New interncall.

* debug-mono-symfile.c (ves_icall_MonoDebugger_GetLocalTypeFromSignature):
New interncall to get a method from its metadata token.

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

21 years agoOoops, fixed a typo in my last commit.
Martin Baulig [Fri, 20 Sep 2002 23:39:21 +0000 (23:39 -0000)]
Ooops, fixed a typo in my last commit.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 23:16:47 +0000 (23:16 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* ModuleBuilder.cs (ModuleBuilder.symbol_writer): Make this
field internal, not private.
(ModuleBuilder.SymWriter_DefineLocalVariable): Removed.

* LocalBuilder.cs (LocalBuilder.SetLocalSymInfo): Use the
ISymbolWriter's DefineLocalVariable() method instead of the
IMonoSymbolWriter hack.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 23:13:33 +0000 (23:13 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Create type table.

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

21 years ago2002-09-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 23:12:48 +0000 (23:12 -0000)]
2002-09-21  Martin Baulig  <martin@gnome.org>

* MonoSymbolTable.cs: Set version number to 25.  Added information about
local variables.

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

21 years ago* Eliminate pesky carriage returns
Adam Treat [Fri, 20 Sep 2002 22:39:04 +0000 (22:39 -0000)]
* Eliminate pesky carriage returns

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 22:01:55 +0000 (22:01 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Reflect latest Mono.CSharp.Debugger changes.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 22:00:52 +0000 (22:00 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* MonoSymbolTable.cs: Set version number to 24.  Added a type index
table.  Write the type of a local variable or a parameter as an index
into this table.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 21:05:41 +0000 (21:05 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs: Remove all the unused interfaces.

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

21 years agoProvide location informtaion
Miguel de Icaza [Fri, 20 Sep 2002 20:58:19 +0000 (20:58 -0000)]
Provide location informtaion

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

21 years ago2002-09-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 20 Sep 2002 20:47:34 +0000 (20:47 -0000)]
2002-09-20  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (FindType): Sorry about this, fixed the type lookup bug.

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

21 years agoMore Solaris/BSD fixes. This now allows shared handles to work on BSD
Mark Crichton [Fri, 20 Sep 2002 17:10:02 +0000 (17:10 -0000)]
More Solaris/BSD fixes.  This now allows shared handles to work on BSD
and BSD like systems.

Please test this code.  The only thing left is to fix POSIX shared threads
on Solaris...

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 15:01:25 +0000 (15:01 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* MonoSymbolTable.cs: Set version number to 23, include the size
of a variable.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 15:00:46 +0000 (15:00 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* debug.c (mono_debug_add_method): The `MonoDebugVarInfo' now includes
the size of the variable.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 14:42:33 +0000 (14:42 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* MonoSymbolTable.cs: Set version number to 22.  Provide information
about parameters and local variables.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 14:41:55 +0000 (14:41 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Provide information about params and locals.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 13:38:00 +0000 (13:38 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
from its metadata token.  This should only be used by the debugger.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 20 Sep 2002 13:36:05 +0000 (13:36 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* icall.c ("System.Reflection.Assembly::MonoDebugger_GetMethod"):
New interncall.

* debug-mono-symfile.c (ves_icall_MonoDebugger_GetMethod): New
interncall to get a method from its metadata token.

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

21 years agoWed Sep 4 18:09:58 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 20 Sep 2002 13:34:35 +0000 (13:34 -0000)]
Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <lupus@ximian.com>

* configure.in: add some needed defines to fix support of
threads in the GC.

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

21 years ago* Begin the implementation of the Archive methods and extend the parser
Adam Treat [Fri, 20 Sep 2002 05:03:26 +0000 (05:03 -0000)]
* Begin the implementation of the Archive methods and extend the parser
to parse the go-mono.org/monodoc.dtd

* Added additional metadata to the data representation

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

21 years ago* Begin the implementation of the Archive methods Sync and Flush.
Adam Treat [Fri, 20 Sep 2002 05:01:31 +0000 (05:01 -0000)]
* Begin the implementation of the Archive methods Sync and Flush.

* Set the FileRoot for the loaded Master.xml and allow the forms to flush to
the specified path.

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

21 years ago* Another fix to the Depth property to handle a more complex heirarchy.
Adam Treat [Fri, 20 Sep 2002 04:36:16 +0000 (04:36 -0000)]
* Another fix to the Depth property to handle a more complex heirarchy.

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

21 years ago* The Depth property was not implemented correctly and the Read method did not
Adam Treat [Fri, 20 Sep 2002 04:25:39 +0000 (04:25 -0000)]
* The Depth property was not implemented correctly and the Read method did not
take the newline character into account.  The whitespace handling is very preliminary
but it is better than before, where every NON-AREA was being treated as NodeType.Text
example: <Foo name="Blah"> NON-AREA <Bar> TEXT </Bar> NON-AREA </Foo>  The text reader
now correctly performs the Depth example found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclassdepthtopic.asp

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

21 years ago2002-09-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 19 Sep 2002 23:23:32 +0000 (23:23 -0000)]
2002-09-19  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.DefineType): We can not use the nice
PackingSize with the size set to 1 DefineType method, because it
will not allow us to define the interfaces that the struct
implements.

This completes the fixing of bug 27287

* ecore.cs (Expresion.ImplicitReferenceConversion): `class-type S'
means also structs.  This fixes part of the problem.
(Expresion.ImplicitReferenceConversionExists): ditto.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 19 Sep 2002 22:58:38 +0000 (22:58 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs: Use fullly qualified name for
System.Diagnostics.SymbolStore.ISymbolWriter rather than `using' this
namespace.  This allows us to use the name `ISymbolWriter' in our own
code.

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

21 years ago2002-09-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 19 Sep 2002 22:26:53 +0000 (22:26 -0000)]
2002-09-20  Martin Baulig  <martin@gnome.org>

* debug-mono-symfile.c: Added a few checks for method->header
being non-NULL.  This should never happen, but for the moment
let's use a g_warning() rather than a g_assert().

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

21 years ago2002-09-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 19 Sep 2002 22:25:47 +0000 (22:25 -0000)]
2002-09-19  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (DeclSparce.ResolveType): Only report the type-not-found
error if there were no errors reported during the type lookup
process, to avoid duplicates or redundant errors.  Without this
you would get an ambiguous errors plus a type not found.  We have
beaten the user enough with the first error.

(DeclSparce.FindType): Emit a warning if we have an ambiguous
reference.

* ecore.cs (SimpleName.DoResolveType): If an error is emitted
during the resolution process, stop the lookup, this avoids
repeated error reports (same error twice).

* rootcontext.cs: Emit a warning if we have an ambiguous reference.

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

21 years agoAdd new test
Miguel de Icaza [Thu, 19 Sep 2002 22:08:21 +0000 (22:08 -0000)]
Add new test

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

21 years agoImprove test
Miguel de Icaza [Thu, 19 Sep 2002 21:48:10 +0000 (21:48 -0000)]
Improve test

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

21 years ago2002-09-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 19 Sep 2002 21:42:00 +0000 (21:42 -0000)]
2002-09-19  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (LookupType): Redo the type lookup code to match
the needs of System.Reflection.

The issue is that System.Reflection requires references to nested
types to begin with a "+" sign instead of a dot.  So toplevel
types look like: "NameSpace.TopLevelClass", and nested ones look
like "Namespace.TopLevelClass+Nested", with arbitrary nesting
levels.

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

21 years ago * System.Security.Cryptography/RijndaelManagedTest.cs: New test
Andrew Birkett [Thu, 19 Sep 2002 19:32:22 +0000 (19:32 -0000)]
* System.Security.Cryptography/RijndaelManagedTest.cs: New test
* System.Security.Cryptography/AllTests.cs: Added RijndaelManagedTest
* corlib_linux_test.args: Added RijndaelManagedTest

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

21 years ago* Rijndael.cs: Create() now gives you a RijndaelManaged object
Andrew Birkett [Thu, 19 Sep 2002 19:31:14 +0000 (19:31 -0000)]
* Rijndael.cs: Create() now gives you a RijndaelManaged object
* RijndaelManaged.cs: Added dummy GenerateKey until we have a proper RNG.
* SymmetricAlgorithm.cs: Updated comments

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

21 years ago2002-09-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 19 Sep 2002 18:53:06 +0000 (18:53 -0000)]
2002-09-19  Martin Baulig  <martin@gnome.org>

* test-154.cs: Added testcase from bug #30487.

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

21 years ago2002-09-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 19 Sep 2002 18:52:46 +0000 (18:52 -0000)]
2002-09-19  Martin Baulig  <martin@gnome.org>

* codegen.cs (EmitContext.EmitTopBlock): If control flow analysis
says that a method always returns or always throws an exception,
don't report the CS0161.

* statement.cs (FlowBranching.UsageVector.MergeChildren): Always
set `Returns = new_returns'.

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

21 years agoBeginning to add support for Solaris. Tested on Solaris 9.
Mark Crichton [Thu, 19 Sep 2002 18:30:56 +0000 (18:30 -0000)]
Beginning to add support for Solaris.  Tested on Solaris 9.

Shared handles are still not working, will be addressed soon.

Trampoline code still broken, expect a rewrite.

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

21 years ago2002-09-19 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 19 Sep 2002 17:50:33 +0000 (17:50 -0000)]
2002-09-19  Duncan Mak  <duncan@ximian.com>

* Array.cs (CopyTo): Revert back to 1.40, this is stopping
I18N/Common from building right now.

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

21 years ago2002-09-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 19 Sep 2002 14:11:54 +0000 (14:11 -0000)]
2002-09-19  Nick Drochak  <ndrochak@gol.com>

* StreamReaderTest.cs: Pinpoint error closing streams

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

21 years ago2002-09-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 19 Sep 2002 14:10:02 +0000 (14:10 -0000)]
2002-09-19  Nick Drochak  <ndrochak@gol.com>

* ArrayTest.cs: Report errors with CopyTo().

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

21 years ago2002-09-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 19 Sep 2002 14:04:42 +0000 (14:04 -0000)]
2002-09-19  Nick Drochak  <ndrochak@gol.com>

* Array.cs (CopyTo): Account for Object type and base (primitive) types
* Type.cs (IsAssignableFrom): return false for a null parameter

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