mono.git
21 years ago2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 May 2003 23:59:05 +0000 (23:59 -0000)]
2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ResourceManager.cs: fixed the name for the file when the culture is
not de invariant culture. Commented out the GetSatelliteAssembly code
to avoid NotImplementedException being thrown.

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

21 years agoMade ArrayList.GetRange () make a wrapper around the array list, like Microsoft does...
Ben Maurer [Sat, 3 May 2003 17:41:57 +0000 (17:41 -0000)]
Made ArrayList.GetRange () make a wrapper around the array list, like Microsoft does. Fixes bug #39724.

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

21 years ago2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 May 2003 14:59:14 +0000 (14:59 -0000)]
2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWriter.cs: don't do anything in Flush. Fixes #42249.

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

21 years ago2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 3 May 2003 13:50:08 +0000 (13:50 -0000)]
2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/CSCompiler.cs: actually add the list of
referenced assemblies to the compiler options. Throw a
CompilationException if there's an error.

* System.Web.Compilation/CachingCompiler.cs: added a method to compile
directly from a source file.

* System.Web.UI/TemplateControl.cs: fixed the flags used to find the
methods that are automatically hooked up on events.

* System.Web.UI/TemplateParser.cs: don't compile a source file directly.
Use the cache instead.

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

21 years ago* ArrayList.cs
Ben Maurer [Sat, 3 May 2003 00:25:30 +0000 (00:25 -0000)]
* ArrayList.cs
Added methods to support IList wrappers
* ArrayListTest.cs
Tests for the above* ArrayList.cs
Added methods to support IList wrappers

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

21 years ago2003-05-02 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 2 May 2003 22:59:53 +0000 (22:59 -0000)]
2003-05-02  Alp Toker  <alp@atoker.com>

        * data/config.in: new dll mapping entry for libglade

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

21 years agoAdd paragraph
Miguel de Icaza [Fri, 2 May 2003 22:38:50 +0000 (22:38 -0000)]
Add paragraph

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

21 years agoupdate man page
Miguel de Icaza [Fri, 2 May 2003 22:37:59 +0000 (22:37 -0000)]
update man page

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

21 years ago2003-05-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 2 May 2003 22:35:37 +0000 (22:35 -0000)]
2003-05-02  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Fixed.Resolve): Report an error if we are not in
an unsafe context.

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

21 years ago2003-05-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 2 May 2003 21:28:29 +0000 (21:28 -0000)]
2003-05-02  Miguel de Icaza  <miguel@ximian.com>

* XmlReflectionImporter.cs: one of theImportTypeMapping mappings
had a void return value.

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

21 years ago2003-05-02 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 2 May 2003 18:47:12 +0000 (18:47 -0000)]
2003-05-02  Alp Toker  <alp@atoker.com>

        * cilc.cs: Print usage info

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

21 years agoAdded cilc man page
Alp Toker [Fri, 2 May 2003 18:45:41 +0000 (18:45 -0000)]
Added cilc man page

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

21 years agoAdd -lm
Miguel de Icaza [Fri, 2 May 2003 17:44:17 +0000 (17:44 -0000)]
Add -lm

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

21 years agoFri May 2 18:36:45 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 May 2003 16:44:30 +0000 (16:44 -0000)]
Fri May 2 18:36:45 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: temporarily work around two bugs for this release.

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

21 years ago * Control.cs : call OnTextChange
Aleksey Ryabchuk [Fri, 2 May 2003 16:02:37 +0000 (16:02 -0000)]
* Control.cs : call OnTextChange
* UpdownBase.cs
* DomainUpDown.cs : some more implementation
* TextBox.cs : TextAlign, use base.CreateParams
* TextBoxBase.cs : use base.CreateParams
* Win32enums.cs : styles for edit box

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

21 years agoFri May 2 17:37:29 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 May 2003 15:46:20 +0000 (15:46 -0000)]
Fri May 2 17:37:29 CEST 2003 Paolo Molaro <lupus@ximian.com>

* Makefile.am: avoid linking libmono with GMODULE_LIBS, because
that contains -export-dynamic and it makes using the ld script
useless.
* mini.h, main.c, driver.c: s/mini_main/mono_main/g.

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

21 years agooops
Miguel de Icaza [Fri, 2 May 2003 15:33:45 +0000 (15:33 -0000)]
oops

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

21 years ago2003-05-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 2 May 2003 15:31:12 +0000 (15:31 -0000)]
2003-05-02  Miguel de Icaza  <miguel@ximian.com>

* runtime/Makefile.am ($(monobins_DATA)): Use explicit file names
for the target exe binaries.

Copy cilc.exe and secutil.exe from the right paths to the right
location.

Add missing assemblies.

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

21 years agoSmall fix
Miguel de Icaza [Fri, 2 May 2003 15:28:32 +0000 (15:28 -0000)]
Small fix

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

21 years agoForgot this one when making cilc build on cygwin
Dick Porter [Fri, 2 May 2003 15:10:57 +0000 (15:10 -0000)]
Forgot this one when making cilc build on cygwin

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

21 years ago2003-05-02 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 2 May 2003 14:52:20 +0000 (14:52 -0000)]
2003-05-02  Dick Porter  <dick@ximian.com>

* sockets.c: Rearrange closesocket() and socket_close_private(),
and remember to unref the handle, so we don't leak socket handles.
Fix from Pelle Johnsen <pelle.johnsen@mail.dk>

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

21 years ago* AssemblyInfo.cs: Bump up version number
Jackson Harper [Fri, 2 May 2003 14:49:19 +0000 (14:49 -0000)]
* AssemblyInfo.cs: Bump up version number

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

21 years agoFri May 2 12:52:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 May 2003 11:01:02 +0000 (11:01 -0000)]
Fri May 2 12:52:32 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.h, mini-x86.c, driver.c: disable optimizations not available on a
specific cpu.

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

21 years agoFix cygwin build
Dick Porter [Fri, 2 May 2003 10:52:12 +0000 (10:52 -0000)]
Fix cygwin build

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

21 years ago2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 2 May 2003 09:57:31 +0000 (09:57 -0000)]
2003-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: get the right item Type for the property we're reading
fromt the data source.

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

21 years ago* CodeGen.cs: Define the contents of types after all types have
Jackson Harper [Fri, 2 May 2003 06:19:51 +0000 (06:19 -0000)]
* CodeGen.cs: Define the contents of types after all types have
been resolved, this avoids the infinite loop that would occur if a
type was a member of its base type.
* TypeDef.cs: Method to define contents after being defined.

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

21 years ago* TypeManager.cs: Check if type is defined before defining it.
Jackson Harper [Fri, 2 May 2003 05:58:08 +0000 (05:58 -0000)]
* TypeManager.cs: Check if type is defined before defining it.

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

21 years ago* TypeManager.cs: Check if type is defined before defining it.
Jackson Harper [Fri, 2 May 2003 05:58:08 +0000 (05:58 -0000)]
* TypeManager.cs: Check if type is defined before defining it.

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

21 years ago * ILParser.jay: Fix a bunch of conversions, implement hexbytes
Jackson Harper [Fri, 2 May 2003 05:55:39 +0000 (05:55 -0000)]
    * ILParser.jay: Fix a bunch of conversions, implement hexbytes

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

21 years ago * CodeGen.cs: Add outer classes to typedefs if necesary
Jackson Harper [Fri, 2 May 2003 05:53:46 +0000 (05:53 -0000)]
* CodeGen.cs: Add outer classes to typedefs if necesary
* InstrTable.cs: ldtoken instruction is a INSTR_TOK token
* TypeDef.cs: Add outer class property

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

21 years ago2003-05-01 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 2 May 2003 03:42:27 +0000 (03:42 -0000)]
2003-05-01  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

* Environment.cs: Changed the method GetFolderPath because it must
return at least a directory name (not null).

* Convert.cs: In ToType, if the destination type is unknown, try to
cast the value to object (then, the calling method will downcast it
to the type it wants).

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

21 years ago2003-05-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 2 May 2003 01:54:32 +0000 (01:54 -0000)]
2003-05-01  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: reuse the code that handles type clashes for
delegates and enumerations.

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

21 years ago* makefile:
Duncan Mak [Fri, 2 May 2003 00:37:21 +0000 (00:37 -0000)]
* makefile:
* makefile.gnu: Add 'cilc' to the build.

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

21 years ago* scripts/Makefile.am:
Duncan Mak [Fri, 2 May 2003 00:36:15 +0000 (00:36 -0000)]
* scripts/Makefile.am:
* runtime/Makefile.am: Install cilc and ilasm.

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

21 years ago* tramp.c (mono_create_trampoline): tiny register allocation fix for reference types
Malte Hildingson [Thu, 1 May 2003 23:42:01 +0000 (23:42 -0000)]
* tramp.c (mono_create_trampoline): tiny register allocation fix for reference types

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

21 years ago2003-05-01 Alp Toker <alp@atoker.com>
Alp Toker [Thu, 1 May 2003 20:19:36 +0000 (20:19 -0000)]
2003-05-01  Alp Toker  <alp@atoker.com>

        * cilc.cs: Support arguments, clean up some gcc warnings
        * Test.cs, demo.c: More extensive test

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

21 years agoinitial support for preprocessor commands
Rafael Teixeira [Thu, 1 May 2003 19:58:26 +0000 (19:58 -0000)]
initial support for preprocessor commands

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

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

* System.Web/HtmlizedException.cs: added more virtual methods.

* System.Web/HttpException.cs:  some work on the output when there's
a source file present.

* System.Web.Compilation/AspGenerator.cs: copy the location before
setting the value for the control builders.

* System.Web.Compilation/BaseCompiler.cs: changed parameters for
CompilationException.

* System.Web.Compilation/CompilationException.cs: it takes now line
numbers and error descriptions from the CompilerErrorCollection.

* System.Web.Compilation/Location.cs: used when a copy of an ILocation
is needed.

* System.Web.Compilation/ParseException.cs: implemented new methods
to provide line numbers and souce file.

* System.Web.Compilation/TemplateControlCompiler.cs: throw a
ParseException where appropiate.

* System.Web.UI/BaseParser.cs: Location property is now here. Added a
couple of convenience methods to throw a ParseException.

* System.Web.UI/TemplateParser.cs:
* System.Web.UI/TemplateControlParser.cs:
* System.Web.UI/PageParser.cs: throw ParseException where appropiate.

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

21 years agoAdded assertion to trigger the bug in mcs.
Paolo Molaro [Thu, 1 May 2003 18:36:08 +0000 (18:36 -0000)]
Added assertion to trigger the bug in mcs.

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

21 years agoThu May 1 19:40:37 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 1 May 2003 17:48:38 +0000 (17:48 -0000)]
Thu May 1 19:40:37 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: one more check for null type in custom attrs.

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

21 years ago2003-05-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 May 2003 16:48:10 +0000 (16:48 -0000)]
2003-05-01  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Report28): Always report.

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

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

* reflection.c: avoid warning (comparison is always false due to limited
range of data type).

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

21 years agoMore tests.
Paolo Molaro [Thu, 1 May 2003 13:53:37 +0000 (13:53 -0000)]
More tests.

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

21 years agoThu May 1 15:28:21 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 1 May 2003 13:36:58 +0000 (13:36 -0000)]
Thu May 1 15:28:21 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: make sure leave calls all the needed finally blocks,
even when the target jumps out of multiple exception clauses.

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

21 years agoThu May 1 15:18:26 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 1 May 2003 13:27:34 +0000 (13:27 -0000)]
Thu May 1 15:18:26 CEST 2003 Paolo Molaro <lupus@ximian.com>

* ldscript, Makefile.am: add linker script to reduce the number of
exported symbols (should also fix the issues with libwine defining
some of the same symbols in io-layer).

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

21 years ago2003-05-01 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 1 May 2003 09:58:06 +0000 (09:58 -0000)]
2003-05-01  Zoltan Varga  <vargaz@freemail.hu>

* driver.c (mini_main): Avoid assertion when no file name is given on
the command line.

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

21 years ago2003-05-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 May 2003 09:30:14 +0000 (09:30 -0000)]
2003-05-01  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (EncodeAsAttribute): Allow nulls here.

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

21 years agoFix typo
Jackson Harper [Thu, 1 May 2003 05:16:20 +0000 (05:16 -0000)]
Fix typo

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

21 years agoforgot
Jackson Harper [Thu, 1 May 2003 05:12:02 +0000 (05:12 -0000)]
forgot

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

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