mono.git
21 years ago * ILParser.jay: Implement non marshalled methodheads, method
Jackson Harper [Thu, 1 May 2003 05:10:41 +0000 (05:10 -0000)]
    * ILParser.jay: Implement non marshalled methodheads, method
        attributes, impl attributes, imit simple int and ldstr instructions.

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

21 years ago * makefile: Add instructions to build
Jackson Harper [Thu, 1 May 2003 05:09:57 +0000 (05:09 -0000)]
    * makefile: Add instructions to build
        * makefile.gnu: Add instructions to build

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

21 years ago * MethodDef.cs: Accept and emit instructions.
Jackson Harper [Thu, 1 May 2003 05:09:15 +0000 (05:09 -0000)]
    * MethodDef.cs: Accept and emit instructions.
* CodeGen.cs: Fix typo
* IInstr.cs: New file - Interface for instructions that are added to methods
* IntInstr.cs: New file - Instruction that takes a single int
param
* LdstrInstr.cs: New file - ldstr instruction (the only
instruction that takes a string parameter)

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

21 years ago2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 May 2003 03:16:35 +0000 (03:16 -0000)]
2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XslTransform.cs: flush the writers when done. Fixes bug #42040.

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

21 years ago2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 May 2003 02:04:37 +0000 (02:04 -0000)]
2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: throw an exception in Type.GetField if the argument 'name'
is NULL.

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

21 years ago2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 May 2003 00:54:04 +0000 (00:54 -0000)]
2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/AspGenerator.cs: also support data bind syntax
inside tags not processed as controls. Added debugging method.

* System.Web.Compilation/TemplateControlCompiler.cs: reset the number
of data binding handlers in the proper place. Small fix when getting the
container type.

* System.Web.UI/ApplicationFileParser.cs: use the generator to actually
parse the file.

* System.Web.UI/ControlBuilder.cs: small fix in NamingContainerType
because TemplateBuilders have a null ControlType. When a control is
appended to a parent, assign the child's parent.

* System.Web.UI/UserControlParser.cs: fixed the value of InputFile.

IBuySpy works again!

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 20:07:26 +0000 (20:07 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/TemplateControlCompiler.cs: correctly set
the TemplateSourceDirectory value.

* System.Web.UI/ApplicationFileParser.cs: store the Context and
override BaseVirtualDir so that it's the application path.

* System.Web.UI/BaseParser.cs: removed CurrentVirtualPath property.

* System.Web.UI/TemplateControlParser.cs: use BaseVirtualDir.

* System.Web.UI/UserControlParser.cs: removed CurrentVirtualPath.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 19:42:58 +0000 (19:42 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: handle code render syntax in tag attributes.

* AspParser.cs: the constructor now takes a TextReader.

* TemplateControlCompiler.cs: removed comment.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 17:35:04 +0000 (17:35 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateParser.cs: always reference all the assemblies in bin
directory.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 16:52:45 +0000 (16:52 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: added support for data bound properties.

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

21 years agoA lot of assorted fixes and additions
Marco Ridoni [Wed, 30 Apr 2003 16:46:58 +0000 (16:46 -0000)]
A lot of assorted fixes and additions
- Compound operators added
- Member access now work correctly
- A lot of array fixes/improvements
- LateIndexGet/Set calls are generated correctly
- Overloading in constructors fixed
- Array access when the array is a parameter fixed
- Invocation resolution improved
- Added readonly modifier for properties
- Many more little and not-so-little things I can't remember :-(

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

21 years agoprevent pages from being added to the TabControl multiple times
Aleksey Ryabchuk [Wed, 30 Apr 2003 16:31:54 +0000 (16:31 -0000)]
prevent pages from being added to the TabControl multiple times

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

21 years agofixed typo
Aleksey Ryabchuk [Wed, 30 Apr 2003 15:26:39 +0000 (15:26 -0000)]
fixed typo

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

21 years ago * Control.cs : some fixes, added call to OnControlAdded, update visibility flag...
Aleksey Ryabchuk [Wed, 30 Apr 2003 15:12:30 +0000 (15:12 -0000)]
* Control.cs : some fixes, added call to OnControlAdded, update visibility flag in Show and Hide
* GroupBox.cs
* Label.cs
* ButtoBase.cs : use base.CreateParams
* PictureBox.cs : call base.OnResize
* RadioButton.cs : implemented
* TabControl.cs
* TabPage.cs : some fixes

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

21 years agoDocumented --version.
Paolo Molaro [Wed, 30 Apr 2003 14:19:48 +0000 (14:19 -0000)]
Documented --version.

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

21 years agoWed Apr 30 15:33:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Apr 2003 13:41:29 +0000 (13:41 -0000)]
Wed Apr 30 15:33:11 CEST 2003 Paolo Molaro <lupus@ximian.com>

* driver.c: added --version/-V command line option.
Added the inline optimization in the regression tests.

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

21 years agoWed Apr 30 15:16:02 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Apr 2003 13:26:26 +0000 (13:26 -0000)]
Wed Apr 30 15:16:02 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c, basic-calls.cs: when inlining, save arguments to locals according
to the type in the method signature (fixes bug#42134).

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

21 years agoMore tests.
Paolo Molaro [Wed, 30 Apr 2003 13:13:33 +0000 (13:13 -0000)]
More tests.

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

21 years agoTest case for bug 42135.
Paolo Molaro [Wed, 30 Apr 2003 10:58:09 +0000 (10:58 -0000)]
Test case for bug 42135.

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

21 years agoWed Apr 30 12:38:44 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Apr 2003 10:46:49 +0000 (10:46 -0000)]
Wed Apr 30 12:38:44 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: when inlining, check this is not null only when needed (bug #42135).

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

21 years agoWed Apr 30 11:44:36 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Apr 2003 09:52:53 +0000 (09:52 -0000)]
Wed Apr 30 11:44:36 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h, tramp-pcc.c: type fixes from Max Horn <max@quendi.de>.

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

21 years agoWed Apr 30 10:53:09 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Apr 2003 09:11:02 +0000 (09:11 -0000)]
Wed Apr 30 10:53:09 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: fixed handling of enums in named arguments to custom
attributes (bug #42123).

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

21 years ago2003-04-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 30 Apr 2003 08:45:33 +0000 (08:45 -0000)]
2003-04-30  Nick Drochak <ndrochak@gol.com>

        * Factories.cs: Change weird characters that broke build on windows.

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

21 years agoFix build.
Paolo Molaro [Wed, 30 Apr 2003 07:26:15 +0000 (07:26 -0000)]
Fix build.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 07:14:18 +0000 (07:14 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* driver.c: fixed bug #42100.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 07:02:10 +0000 (07:02 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: fixed bug #41522.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 07:00:38 +0000 (07:00 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* EnumTest.cs: tests from bug #41522 by Richar Lee.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 05:04:37 +0000 (05:04 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Label.cs:
* TextBox.cs: added control builder attribute.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 05:03:59 +0000 (05:03 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlImage.cs:
* HtmlInputControl.cs:
* HtmlSelect.cs: added control builder attribute.

* HtmlSelectBuilder.cs: builder for HtmlSelect.

* HtmlControlBuilder.cs: common builder for all HtmlControls.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 05:02:54 +0000 (05:02 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationFileParser.cs: it works now. Prior to these changes, we
were using the compiler directly.

* BaseParser.cs: added some useful properties and methods.

* CodeBuilder.cs: use ILocation.
* CodeRenderBuilder.cs: use ILocation.
* CollectionBuilder.cs: use the RootBuilder to map tag names into Types.

* ControlBuilder.cs: made it useful.

* DataBindingBuilder.cs: the control type for data bound text is
DataBoundLiteralControl now.

* ObjectTagBuilder.cs: store some object tag attributes.

* PageParser.cs: handle page-only directives.

* RootBuilder.cs: bah.
* SimpleWebHandlerParser.cs: made it dummy.
* TemplateControl.cs: Modified file.

* TemplateControlParser.cs: handle directives that are common to pages
and user controls.

* TemplateParser.cs: utility methods and handling of directives that
are common to app, page and user controls.

* UserControl.cs: added ControlBuilderAttribute.

* UserControlControlBuilder.cs: builder for user controls.
* UserControlParser.cs: use the new interfaces.

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

21 years agoremoved test file
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 05:00:11 +0000 (05:00 -0000)]
removed test file

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 04:56:01 +0000 (04:56 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
instead of their names.

* AspElements.cs: removed. No longer needed.

* AspGenerator.cs: this file is now in charge of interfacing between
the parser and the compiler. It manages the creation of the
ControlBuilder tree and the compilation of the CodeDOM tree.

* AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
of different Types, tags are just and id and a set of attributes.
Implement ILocation interface.

* AspTokenizer.cs: added a few methods to help the parser implementing
ILocation.

* BaseCompiler.cs: handles the portions of the CodeDOM tree that are
common to appliaction, page and user control, including the actual
compilation and error handling.

* CSCompiler.cs: compiles C# files using CodeDOM interfaces.

* CachingCompiler.cs: simplified to use the new interfaces.

* CompilationException.cs: it's now using CompilationResult to report
errors.

* CompilationResult.cs: Removed file.

* Directive.cs: to check for the validity of a directive.

* GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
in BaseCompiler.

* ILocation.cs: interface used to now the exact place where a parse
error happens.

* PageCompiler.cs: generates a couple of methods that are only used in
pages.

* ParseException.cs: use the ILocation interface.

* TagAttributes.cs: handles the attributes of the tags parsed.

* TagType.cs: an enum for the different kinds of tags.

* TemplateControlCompiler.cs: this is the one that does most of the
conversion from teh ControlBuilder tree into a CodeDOM tree.

* UserControlCompiler.cs: simplified as most of the work is done in
its base classes.

* WebServiceCompiler.cs: dummy.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 04:52:31 +0000 (04:52 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlizedException.cs: simplified to cope with the new interface.

* HttpApplicationFactory.cs: use the application file parser to get the
application Type.

* HttpException.cs: small changes. Needs some more work on
ParseExceptions.

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

21 years ago*** empty log message ***
Gonzalo Paniagua Javier [Wed, 30 Apr 2003 04:51:20 +0000 (04:51 -0000)]
*** empty log message ***

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

21 years agoFlush
Miguel de Icaza [Wed, 30 Apr 2003 04:15:07 +0000 (04:15 -0000)]
Flush

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

21 years agoSmall workaround for the stack thing.
Miguel de Icaza [Wed, 30 Apr 2003 03:33:59 +0000 (03:33 -0000)]
Small workaround for the stack thing.
Fetch the Action
Post the action.

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

21 years ago2003-04-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 30 Apr 2003 02:31:42 +0000 (02:31 -0000)]
2003-04-29  Miguel de Icaza  <miguel@ximian.com>

* SoapHttpClientProtocol.cs (CreateMessage): Extract information
from the method to be called.

* SoapDocumentMethodAttribute.cs: Do not initialize all the fields
on the attribute at bootstrap, for default values, just compute
them when queried.

* SoapMessage.cs (SetStage): New internal method, used to register
the stage as we move along the soap pipeline.

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

21 years ago2003-04-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 30 Apr 2003 01:09:58 +0000 (01:09 -0000)]
2003-04-29  Miguel de Icaza  <miguel@ximian.com>

* LogicalMethodInfo.cs: Most of this is implemented.  Its only
missing a few bits in the Create() method.

* SoapHttpClientProtocol.cs: Begin implementation of Invoke, which
lead to other dependencies to be implemented.

* LogicalMethodInfo.cs: Mostly complete.  It is only missing the
async features (BeginInvoke/EndInvoke) on a LogicalMethodInfo.

* WebClientProtocol.cs (GetWebRequest): Track the web request, so
we can abort it later.
(Abort): Call abort on the underlying transport.

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

21 years ago2003-04-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 30 Apr 2003 01:05:47 +0000 (01:05 -0000)]
2003-04-29  Miguel de Icaza  <miguel@ximian.com>

* WebClient.cs (DownloadData): Close the underlyng stream.
(DownloadFile): Use using, so the file gets closed.

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

21 years ago2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 29 Apr 2003 23:00:12 +0000 (23:00 -0000)]
2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: add quotes around out assembly name.

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

21 years agoTue Apr 29 19:15:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Apr 2003 17:23:14 +0000 (17:23 -0000)]
Tue Apr 29 19:15:10 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: use the right array element type and handle
a null for a Type argument, too.

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

21 years agoupdate nant build file
Miguel de Icaza [Tue, 29 Apr 2003 17:09:52 +0000 (17:09 -0000)]
update nant build file

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

21 years agoAdd RelaxNG to the build
Miguel de Icaza [Tue, 29 Apr 2003 17:08:57 +0000 (17:08 -0000)]
Add RelaxNG to the build

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

21 years agoAnother one
Miguel de Icaza [Tue, 29 Apr 2003 17:08:46 +0000 (17:08 -0000)]
Another one

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

21 years agoFix makefile
Miguel de Icaza [Tue, 29 Apr 2003 17:07:02 +0000 (17:07 -0000)]
Fix makefile

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

21 years ago2003-04-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 17:02:35 +0000 (17:02 -0000)]
2003-04-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* list.unix,
  list: fixed incorrect reference to Util.cs (Misc.cs).

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

21 years agoremove debugging message
Miguel de Icaza [Tue, 29 Apr 2003 16:52:42 +0000 (16:52 -0000)]
remove debugging message

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

21 years ago2003-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 29 Apr 2003 16:30:23 +0000 (16:30 -0000)]
2003-04-28  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (Attribute.GetAttributeArgumentExpression): Moved
the functionality for testing whether an expression is valid for
an attribute here.  Also handle the case of arrays of elements
being stored.

* expression.cs (ArrayCreation.EncodeAsAttribute): Add support for
encoding a linear array into an array of objects that are suitable
to be passed to an CustomAttributeBuilder.

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

21 years ago * Control.cs : call OnResize from OnSizeChanged
Aleksey Ryabchuk [Tue, 29 Apr 2003 16:11:40 +0000 (16:11 -0000)]
* Control.cs : call OnResize from OnSizeChanged
* TabControl.cs : small fixes
* Win32enums.cs : constants for ToolTip notifications

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

21 years ago2003-04-29 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Tue, 29 Apr 2003 15:55:33 +0000 (15:55 -0000)]
2003-04-29  Ville Palo <vi64pa@kolumbus.fi>

* FileStreamTest.cs: Tests for Flush() adn  one one more test for
Ctor exceptions

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

21 years agoTue Apr 29 16:53:56 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Apr 2003 15:02:04 +0000 (15:02 -0000)]
Tue Apr 29 16:53:56 CEST 2003 Paolo Molaro <lupus@ximian.com>

* Syscall.cs: remove the unsafe mess.

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 14:19:58 +0000 (14:19 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Started.
* added ChangeLog, RdpNameClasses.cs, RdpObjects.cs, RdpPatterns.cs
  and Util.cs.

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

21 years ago2003-04-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 29 Apr 2003 14:05:12 +0000 (14:05 -0000)]
2003-04-29  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (mono_method_to_ir): UNBOX need to CAST objects first

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

21 years ago-1 actually is emitted on NULL.
Paolo Molaro [Tue, 29 Apr 2003 13:58:33 +0000 (13:58 -0000)]
-1 actually is emitted on NULL.

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

21 years agoTue Apr 29 15:46:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Apr 2003 13:54:04 +0000 (13:54 -0000)]
Tue Apr 29 15:46:00 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle arrays as arguments to custom attributes.

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

21 years ago2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Tue, 29 Apr 2003 13:18:00 +0000 (13:18 -0000)]
2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>

* ControlAdapter.cs     : Some more methods.

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

21 years ago2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Tue, 29 Apr 2003 13:17:31 +0000 (13:17 -0000)]
2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>

* MobilePage.cs          : Adapter { get; }           - Stubbed.

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

21 years ago*** empty log message ***
Dietmar Maurer [Tue, 29 Apr 2003 12:16:03 +0000 (12:16 -0000)]
*** empty log message ***

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

21 years agoTue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Apr 2003 12:06:54 +0000 (12:06 -0000)]
Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>

* Enum.cs: protect with the lock also the lookup (bug #41841).

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

21 years agoTue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Apr 2003 11:32:27 +0000 (11:32 -0000)]
Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>

* MonoType.cs: allow a null name if InvokeMember is called with
BindingFlags.CreateInstance set.

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

21 years agoTue Apr 29 11:43:01 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Apr 2003 09:52:45 +0000 (09:52 -0000)]
Tue Apr 29 11:43:01 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle a string value in a custom attr
ctor that takes an object.

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

21 years ago2003-04-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 29 Apr 2003 09:50:04 +0000 (09:50 -0000)]
2003-04-29  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_mb_emit_restore_result): support MONO_TYPE_PTR
(fix bug #42063)

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

21 years agocleanups
Dietmar Maurer [Tue, 29 Apr 2003 09:21:18 +0000 (09:21 -0000)]
cleanups

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

21 years ago2003-04-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 29 Apr 2003 08:25:32 +0000 (08:25 -0000)]
2003-04-29  Dietmar Maurer  <dietmar@ximian.com>

* mono/tests/Makefile.am (JITTEST_PROG): use mini/mono

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 07:46:50 +0000 (07:46 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Started.
* added ChangeLog, list, list.unix, makefile.gnu and
  Commons.Xml.Relaxng.build.

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 07:44:44 +0000 (07:44 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Started.
* added ChangeLog, RdpPatternTests.cs, RelaxngReaderTests.cs,
  RelaxngValidatingReaderTests.cs, makefile.gnu,
  Commons.Xml.Relaxng_test.args and Commons.Xml.Relaxng_test.build.

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 07:38:39 +0000 (07:38 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Started.
* added ChangeLog, SimpleElementPattern1.xml, SimpleElementPattern1.rng,
  SimpleElementPattern2.xml, SimpleElementPattern2.rng, team.xml,
  team.rng.

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 06:19:18 +0000 (06:19 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Started.
* added ChangeLog, RelaxngReader.cs, RelaxngValidatingReader.cs,
  RngGrammar.cs, RngNameClasses.cs, RngPattern.cs, RngPatternType.cs
  and Misc.cs.

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 29 Apr 2003 06:07:27 +0000 (06:07 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Started.
* added ChangeLog, XmlDefaultReader.cs.

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

21 years ago * InstrTable.cs: Much simpler system. All tokens go into one
Jackson Harper [Tue, 29 Apr 2003 04:22:14 +0000 (04:22 -0000)]
    * InstrTable.cs: Much simpler system. All tokens go into one
hashtable now. There is no reason to have them seperated out.

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

21 years ago * ILTokenizer.cs: Get instructions from table and check if they
Jackson Harper [Tue, 29 Apr 2003 04:20:20 +0000 (04:20 -0000)]
    * ILTokenizer.cs: Get instructions from table and check if they
are null instead of checking if they exist then getting them.

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

21 years ago2003-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 29 Apr 2003 01:31:55 +0000 (01:31 -0000)]
2003-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs:
(CompileAssemblyFromDomBatch): add the assemblies referenced by the
CodeCompileUnits to the options.

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

21 years agoImprove
Miguel de Icaza [Tue, 29 Apr 2003 01:17:46 +0000 (01:17 -0000)]
Improve

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

21 years ago2003-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 29 Apr 2003 01:02:40 +0000 (01:02 -0000)]
2003-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: set NativeCompilerReturnValue.

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

21 years ago2003-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 29 Apr 2003 00:54:01 +0000 (00:54 -0000)]
2003-04-28  Miguel de Icaza  <miguel@ximian.com>

* MethodBuilder.cs: Mono allows the parameter position to be zero
to indicate the "returns:" attribute.

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

21 years ago2003-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 29 Apr 2003 00:52:43 +0000 (00:52 -0000)]
2003-04-28  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs: Check unsafe types being used outside of an Unsafe context.

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

21 years agoupdated with changes from Tobias DiPasquale
Per Arneng [Tue, 29 Apr 2003 00:40:49 +0000 (00:40 -0000)]
updated with changes from Tobias DiPasquale

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

21 years agoupdate
Miguel de Icaza [Tue, 29 Apr 2003 00:24:58 +0000 (00:24 -0000)]
update

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

21 years agoMore iterators update, almost there. Only parameter remapping is missing
Miguel de Icaza [Mon, 28 Apr 2003 22:27:03 +0000 (22:27 -0000)]
More iterators update, almost there.  Only parameter remapping is missing

2003-04-28  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs: (FieldExpr): Handle field remapping here.

* iteratators.cs: Pass the instance variable (if the method is an
instance method) to the constructors, so we can access the field
variables on the class.

TODO: Test this with structs.  I think the THIS variable on
structs might have to be a pointer, and not a refenrece

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

21 years agoUpdates
Miguel de Icaza [Mon, 28 Apr 2003 21:33:59 +0000 (21:33 -0000)]
Updates

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

21 years ago2003-04-28 Piers Haken <piersh@friskit.com>
Piers Haken [Mon, 28 Apr 2003 21:00:34 +0000 (21:00 -0000)]
2003-04-28  Piers Haken  <piersh@friskit.com>

* Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens

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

21 years ago2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Apr 2003 18:31:18 +0000 (18:31 -0000)]
2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CodeGenerator.cs:
(GenerateSnippetStatement): use WriteLine instead of Write.

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

21 years agosmall improvements
Alexandre Pigolkine [Mon, 28 Apr 2003 18:28:45 +0000 (18:28 -0000)]
small improvements

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

21 years agoadded /unsafe
Gonzalo Paniagua Javier [Mon, 28 Apr 2003 17:19:09 +0000 (17:19 -0000)]
added /unsafe

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

21 years agoremove debugging message
Miguel de Icaza [Mon, 28 Apr 2003 16:54:18 +0000 (16:54 -0000)]
remove debugging message

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

21 years agoTemporary workaround.
Paolo Molaro [Mon, 28 Apr 2003 16:47:14 +0000 (16:47 -0000)]
Temporary workaround.

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 28 Apr 2003 15:42:21 +0000 (15:42 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttributeTests.cs : added WriteTo.
* XmlReaderCommonTests.cs,
  XmlTextReader.cs : fixed ReadInnerXml (check correct position.)
  Reverted EmptyElementWithStartAndEndTag, EmptyElementWithAttribute,
  and StartAndEndTagWithAttribute to XmlTextReaderTests.cs (because
  they requires IsEmptyElement = false, which is always true for
  XmlNodeReader).

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

21 years ago2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 28 Apr 2003 15:40:54 +0000 (15:40 -0000)]
2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
* XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
  MoveTo*Attribute(),
  Fixed this[] to work correctly against XmlDeclarations.
  Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
  (which may prevent validations etc.)
* XmlReader.cs,
  XmlNodeReader.cs,
  XmlTextReader.cs : Fixed ReadString() to be compliant with each
  other.
* XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.

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

21 years agoMon Apr 28 17:03:14 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 28 Apr 2003 15:11:17 +0000 (15:11 -0000)]
Mon Apr 28 17:03:14 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: moved most of the code required to do inlining to its own
function so it can be reused. Inline also ctors if appropriate.

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

21 years ago2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Apr 2003 13:16:47 +0000 (13:16 -0000)]
2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: reverted my previous patch.

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

21 years ago2003-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 28 Apr 2003 06:59:15 +0000 (06:59 -0000)]
2003-04-28  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Link with -export-dynamic so shared libs loaded by
the runtime can call mono API functions.

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

21 years ago2003-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 28 Apr 2003 06:53:18 +0000 (06:53 -0000)]
2003-04-28  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_Type_GetNestedType): Fixed warnings.

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

21 years agoBug fixes + support for locals in iterators. Only parameters are missing.
Miguel de Icaza [Mon, 28 Apr 2003 02:31:11 +0000 (02:31 -0000)]
Bug fixes + support for locals in iterators.  Only parameters are missing.

2003-04-27  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs (EmitContext.Mapvariable): Adds a mechanism to map
local variables to fields in a proxy class.

* iterators.cs (PopulateProxy): Rename our internal fields to
<XXX>.
Create a <THIS> field if we are an instance method, so we can
reference our parent container variables.
(MapVariable): Called back from the EmitContext code to enter a
new variable to field mapping into the proxy class (we just create
a FieldBuilder).

* expression.cs
(LocalVariableReference.{Emit,EmitAssign,AddressOf}): Add support
for using the remapped locals to fields.

I placed the code here, because that gives the same semantics to
local variables, and only changes the Emit code.

* statement.cs (Fixed.Resolve): it is not allowed to have fixed
statements inside iterators.
(VariableInfo): Add a FieldBuilder for the cases when we are
remapping local variables to fields in a proxy class

* ecore.cs (SimpleNameResolve): Avoid testing two times for
current_block != null.

* statement.cs (Swithc.SimpleSwitchEmit): Removed code that did
not cope with strings, as it has been moved to the
TableSwitchEmit.  Fixed bug in switch generation.

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

21 years agoForgot this file
Miguel de Icaza [Sun, 27 Apr 2003 20:30:22 +0000 (20:30 -0000)]
Forgot this file

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

21 years agoupdate faq
Miguel de Icaza [Sun, 27 Apr 2003 20:29:44 +0000 (20:29 -0000)]
update faq

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

21 years ago * TcpChannel.cs: The port property may not be an string. Fixed.
Lluis Sanchez [Sun, 27 Apr 2003 20:15:54 +0000 (20:15 -0000)]
* TcpChannel.cs: The port property may not be an string. Fixed.
* TcpServerChannel.cs: Added some fixes by Jerome Laban. Implemented
  some channel properties.

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

21 years ago2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 27 Apr 2003 18:28:27 +0000 (18:28 -0000)]
2003-04-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile.am: added missing man pages.
* mini.1: moved to mono.1
* mono.1: moved to oldmono.1
* oldmono.1: new file.

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

21 years agoReflect latest changes in the debugging API.
Martin Baulig [Sun, 27 Apr 2003 18:03:14 +0000 (18:03 -0000)]
Reflect latest changes in the debugging API.

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

21 years ago2003-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 27 Apr 2003 18:02:14 +0000 (18:02 -0000)]
2003-04-27  Martin Baulig  <martin@ximian.com>

* debug-mini.c (mono_debug_init_method): Added
`guint32 breakpoint_id' argument; if the method has a breakpoint,
send a notification to the debugger.

* mini.c (mono_method_to_ir): Don't insert a breakpoint if we're
running in the Mono Debugger, just pass the breakpoint number to
mono_debug_init_method().

* tramp-x86.c, tramp-ppc.c: Removed the breakpoint trampolines.

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

21 years agoRemoved a G_BREAKPOINT() which was just there for debugging.
Martin Baulig [Sun, 27 Apr 2003 17:58:31 +0000 (17:58 -0000)]
Removed a G_BREAKPOINT() which was just there for debugging.

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