mono.git
20 years ago2004-01-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 Jan 2004 12:32:14 +0000 (12:32 -0000)]
2004-01-19  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
Fixes #22532.

* exception.h exception.c loader.h loader.c icall.c marshal.h marshal.c:
Applied patch from Bernie Solomon  <bernard@ugsolutions.com>. Throw
proper exceptions on DllImport problems.

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

20 years ago2004-01-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 Jan 2004 10:38:17 +0000 (10:38 -0000)]
2004-01-19  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: Under windows, the default pinvoke calling convention is
stdcall. Fixes #52834.

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

20 years ago2004-01-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 Jan 2004 10:27:49 +0000 (10:27 -0000)]
2004-01-19  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (optimize_branches): Add an upper bound to the number of
iterations to prevent infinite loops on strange loops. Fixes #53003.

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

20 years ago2004-01-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 19 Jan 2004 02:16:03 +0000 (02:16 -0000)]
2004-01-18  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FieldExpr.AddressOf): For ValueTypes that do not
implement IMemoryLocation, we store a copy on a local variable and
take the address of it.  Patch from Benjamin Jemlich

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

20 years agoFlush
Miguel de Icaza [Sun, 18 Jan 2004 19:50:26 +0000 (19:50 -0000)]
Flush

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

20 years agoadding more info
Todd Berman [Sun, 18 Jan 2004 19:46:46 +0000 (19:46 -0000)]
adding more info

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

20 years agoApply patches from Neale Ferguson for s390 support
Miguel de Icaza [Sun, 18 Jan 2004 18:00:40 +0000 (18:00 -0000)]
Apply patches from Neale Ferguson for s390 support

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

20 years ago2004-01-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 18 Jan 2004 17:38:47 +0000 (17:38 -0000)]
2004-01-18  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Applied patch from Ben Maurer to the "type" rule
to use a special "type_name_expression" rule which reduces the
number of "QualifiedIdentifier" classes created, and instead
directly creates MemberAccess expressions.

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

20 years ago2004-01-18 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 18 Jan 2004 17:26:04 +0000 (17:26 -0000)]
2004-01-18 Ben Maurer  <bmaurer@users.sourceforge.net>

* FileStream.cs: Locking from bug #32344 removed. This is not
necessary because the correct fix was actually in the console.
This fixes bug #53026. Miguel de Icaza reviewed/approved this
patch.

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

20 years agoadds a missing DllImport that was causing win32 runtime fatal error
Jordi Mas i Hernandez [Sun, 18 Jan 2004 17:18:50 +0000 (17:18 -0000)]
adds a missing DllImport that was causing win32 runtime fatal error

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

20 years ago * MonoWSDL.cs: Added new option that prints a sample request and response
Lluis Sanchez [Sun, 18 Jan 2004 17:04:58 +0000 (17:04 -0000)]
* MonoWSDL.cs: Added new option that prints a sample request and response
for a web service operation.
* SampleGenerator.cs: Added.

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

20 years ago2004-01-18 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 18 Jan 2004 17:03:07 +0000 (17:03 -0000)]
2004-01-18  David Sheldon <dave-mono@earth.li>

  * FloatingPointFormatter.cs: Skip the decimal point if we have an
    integer mantassa. So: 1E+15, rather than 1.E+15.

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

20 years ago2004-01-18 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 18 Jan 2004 13:35:22 +0000 (13:35 -0000)]
2004-01-18  David Sheldon <dave-mono@earth.li>

* Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
even though docs say it should be an ArgumentNull. Two test cases now
  pass. See also nickd's commit of 2003-12-24.

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

20 years agofix problem with negative TabIndex (wasn't rendered).
Alon Gazit [Sun, 18 Jan 2004 13:15:46 +0000 (13:15 -0000)]
fix problem with negative TabIndex (wasn't rendered).

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

20 years agoThe CopyFrom methods in these classes shouldn't copy a value that is equal
Alon Gazit [Sun, 18 Jan 2004 09:42:49 +0000 (09:42 -0000)]
The CopyFrom methods in these classes shouldn't copy a value that is equal
to Property default value.

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

20 years agoAdd
Miguel de Icaza [Sun, 18 Jan 2004 03:36:27 +0000 (03:36 -0000)]
Add

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

20 years ago2004-01-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 17 Jan 2004 19:50:19 +0000 (19:50 -0000)]
2004-01-17  Miguel de Icaza  <miguel@ximian.com>

* convert.cs: Applied patch from Benjamin Jemlich (pcgod@gmx.net)
that fixes #52853 Null literal assignment to ValueType

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

20 years agoImprove test to cover 52853
Miguel de Icaza [Sat, 17 Jan 2004 19:47:22 +0000 (19:47 -0000)]
Improve test to cover 52853

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

20 years ago2004-01-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 17 Jan 2004 19:42:17 +0000 (19:42 -0000)]
2004-01-17  Miguel de Icaza  <miguel@ximian.com>

* class.cs (MethodData.Emit): Instead of checking the name of the
method to determine if its a destructor, create a new derived
class from Method called Destructor, and test for that.

* cs-parser.jay: Create a Destructor object instead of a Method.

Based on a fix from Benjamin Jemlich (pcgod@gmx.net)

Fixes: 52933

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

20 years agoMore flush
Miguel de Icaza [Sat, 17 Jan 2004 18:24:49 +0000 (18:24 -0000)]
More flush

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

20 years agoAdd sn
Miguel de Icaza [Sat, 17 Jan 2004 18:23:58 +0000 (18:23 -0000)]
Add sn

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

20 years agoUpdate
Miguel de Icaza [Sat, 17 Jan 2004 18:21:28 +0000 (18:21 -0000)]
Update

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

20 years agoFix
Miguel de Icaza [Sat, 17 Jan 2004 18:19:28 +0000 (18:19 -0000)]
Fix

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

20 years agoupdate
Miguel de Icaza [Sat, 17 Jan 2004 18:19:17 +0000 (18:19 -0000)]
update

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

20 years ago2004-01-17 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 17 Jan 2004 17:39:10 +0000 (17:39 -0000)]
2004-01-17  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Added initial support for connection pool.
* Fixed Connection testsuite for nested transactions with connection pool.
* Removed some finalizers which were causing segmentation fault.

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

20 years ago2004-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 17 Jan 2004 17:37:20 +0000 (17:37 -0000)]
2004-01-17  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_reflection_get_custom_attrs): Add support
for Modules.

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

20 years ago2004-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 17 Jan 2004 17:27:58 +0000 (17:27 -0000)]
2004-01-17  Zoltan Varga  <vargaz@freemail.hu>

* main.c get.c: Add support for dumping the custom attributes of
modules.

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

20 years ago*** empty log message ***
Joel Basson [Sat, 17 Jan 2004 16:10:14 +0000 (16:10 -0000)]
*** empty log message ***

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

20 years agoUpdate
Miguel de Icaza [Fri, 16 Jan 2004 23:08:29 +0000 (23:08 -0000)]
Update

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

20 years agoAdd new test
Miguel de Icaza [Fri, 16 Jan 2004 23:06:04 +0000 (23:06 -0000)]
Add new test

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

20 years agoImplement Method Group Conversions (34.8) from the Anonymous Methods spec.
Miguel de Icaza [Fri, 16 Jan 2004 23:03:30 +0000 (23:03 -0000)]
Implement Method Group Conversions (34.8) from the Anonymous Methods spec.

2004-01-16  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.ResolveOperator): Perform an implicit
conversion from MethodGroups to their delegate types on the
Addition operation.

* delegate.cs: Introduce a new class DelegateCreation that is the
base class for `NewDelegate' and `ImplicitDelegateCreation',
factor some code in here.

* convert.cs (Convert.ImplicitConversionStandard): Add an implicit
conversion from MethodGroups to compatible delegate types.

* ecore.cs (Expression.Resolve): Do not flag error 654
(Methodgroupd needs parenthesis) if running on the V2 compiler, as
we allow conversions from MethodGroups to delegate types now.

* assign.cs (Assign.DoResolve): Do not flag errors on methodgroup
assignments in v2 either.

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

20 years agoadded new file
César Natarén [Fri, 16 Jan 2004 21:42:16 +0000 (21:42 -0000)]
added new file

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 21:41:28 +0000 (21:41 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Microsoft.JScript.dll.sources: added VsaScriptScope to the build.

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 21:28:39 +0000 (21:28 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

        * Microsoft.Vsa/BaseVsaEngine.cs: added setter for InitNewCalled.

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 21:25:53 +0000 (21:25 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* VsaEngine.cs: added an Stack, a VsaScriptScope, do not throw exceptions for:
CreateEngineAndgetGlobalScope, GetGlobalScope, InitVsaEngine,
PopScriptObject, PushScriptObject, the reason is for being able to
run the tests at jtests. Be aware that this must get implemented yet.

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 21:21:34 +0000 (21:21 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Microsoft.JScript/VsaReferenceItem.cs: renamed field, reuse parent's ctr.
* Microsoft.JScript/VsaItem.cs: renamed some fields, added ctr,
* Microsoft.JScript/VsaGlobalItem.cs: reuse parent ctr.
* Microsoft.JScript/VsaCodeItem.cs: reuse parent ctr.
* Microsoft.JScript/GlobalScope.cs: reuse constructors from parent.

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

20 years agoAdd new error
Miguel de Icaza [Fri, 16 Jan 2004 21:04:07 +0000 (21:04 -0000)]
Add new error

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 20:49:47 +0000 (20:49 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* UnaryOp.cs: inherit from Exp now.
* Plus.cs: Don't throw the exception when calling constructor, let
it build the default handler. Return a new object when calling
EvaluatePlus until properly implemented.

* NumericUnary.cs: added new Resolve.
* NumericBinary.cs: assign operator val at ctr. Return a new
object when calling EvaluateNumericBinary until properly
implemented. Added Resolve.
* Equality.cs: added ctr and return false for EvaluateEquality
until properly implemented. Added Resolve's functions.

* Block.cs (Resolve): That check was not necessary.

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 20:16:30 +0000 (20:16 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Block.cs (Resolve): That check was not necessary.

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

20 years ago2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Jan 2004 18:53:27 +0000 (18:53 -0000)]
2004-01-16  Atsushi Enomoto <atsushi@ximian.com>

* web/commands : Added xml-classes (forgot to commit).
* mono-build-w32.sh : Added icu support as well as glib.
* ChangeLog : tiny fix

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

20 years agoAdded support for sample requests and responses.
Lluis Sanchez [Fri, 16 Jan 2004 18:06:07 +0000 (18:06 -0000)]
Added support for sample requests and responses.

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

20 years ago2004-01-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 16 Jan 2004 17:01:05 +0000 (17:01 -0000)]
2004-01-16  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_string_builder_to_utf8): Fix stringbuilder
marshalling.
(mono_marshal_method_from_wrapper): Add null pointer check.

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

20 years agoOoooops.
Martin Baulig [Fri, 16 Jan 2004 16:38:43 +0000 (16:38 -0000)]
Ooooops.

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

20 years ago2004-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 16 Jan 2004 16:31:58 +0000 (16:31 -0000)]
2004-01-16  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.h: Set version number to 36 and reflect
latest symbol writer changes.

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

20 years agoOk, let's do it correctly :-)
Martin Baulig [Fri, 16 Jan 2004 16:30:15 +0000 (16:30 -0000)]
Ok, let's do it correctly :-)

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

20 years ago2004-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 16 Jan 2004 16:20:16 +0000 (16:20 -0000)]
2004-01-16  Martin Baulig  <martin@ximian.com>

[NOTE: This change is only forward binary compatible !

This means that this version of the symbol writer can still read
symbol files from the last mono release, but an older version of
the symbol writer can't read the new symbol files.

* MonoSymbolFile.cs (MonoSymbolFile): Removed 'FindMethod' and
'MethodLookup'.

* MonoSymbolTable.cs (MethodEntry): Don't write the method's full
name into the symbol file.
[NOTE: For the moment, the corresponding fields are still being
written into the symbol file.  They'll be removed shortly before
the next mono release.]

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

20 years ago2004-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 16 Jan 2004 16:03:19 +0000 (16:03 -0000)]
2004-01-16  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoDebuggerSupport): As suggested by Ben
Maurer, create a delegate type for each of the methods and then
store the method.

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

20 years ago2004-01-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 16 Jan 2004 16:02:09 +0000 (16:02 -0000)]
2004-01-16  Martin Baulig  <martin@ximian.com>

* Assembly.cs: Make the `MonoDebugger_' methods static.

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

20 years ago2004-01-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 16 Jan 2004 15:55:02 +0000 (15:55 -0000)]
2004-01-16  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs: Add Tests for vectors<->one dim. arrays.

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

20 years ago2004-01-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 16 Jan 2004 15:47:11 +0000 (15:47 -0000)]
2004-01-16  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_bounded_array_class_get): Set 'bounded' to FALSE for
multi-dimensional arrays.
(mono_class_is_assignable_from): Check vectors<->one dim. arrays.
(mono_class_from_mono_type): Use bounded_array_class_get.

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

20 years agoOoops, forgot this yesterday.
Martin Baulig [Fri, 16 Jan 2004 15:41:43 +0000 (15:41 -0000)]
Ooops, forgot this yesterday.

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

20 years ago2004-01-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 16 Jan 2004 15:22:46 +0000 (15:22 -0000)]
2004-01-16  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg: Add vectors<->one dimensional array checking to CASTCLASS
and ISINST. Fixes #52093.

* objects.cs (test_0_vector_array_cast): New tests.

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

20 years ago2004-01-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 16 Jan 2004 15:13:27 +0000 (15:13 -0000)]
2004-01-16  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_bounded_array_class_get): New function which takes
a 'bounded' bool argument to distinguish vectors from one dimensional
arrays.

* icall.c (ves_icall_System_Array_CreateInstanceImpl): Call
bounded_array_class_get if the array has bounds.

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

20 years ago2004-01-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 16 Jan 2004 13:24:34 +0000 (13:24 -0000)]
2004-01-16  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Search modules loaded using AssemblyBuilder:AddModule as well.

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

20 years ago * ChunkStream.cs: The "size" parameter of Write is not the number of bytes
Lluis Sanchez [Fri, 16 Jan 2004 11:37:40 +0000 (11:37 -0000)]
* ChunkStream.cs: The "size" parameter of Write is not the number of bytes
to write, but the last offset to be written. Thus, in WriteAndReadBack,
since "read" is not an offset but the number of bytes, it must be added to
the offset. Maybe it would be a good idea to change the name of the
parameter, since it is confusing. This should fix bug #52591.

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 09:20:09 +0000 (09:20 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Text.RegularExpressions/parser.cs: an opening brace without a
quantifier do not cause a parse error. Fixes bug #52924.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added test from
bug #52924.

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

20 years agoinitial set of tests
César Natarén [Fri, 16 Jan 2004 09:17:38 +0000 (09:17 -0000)]
initial set of tests

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

20 years agoadded initial list of tests
César Natarén [Fri, 16 Jan 2004 09:05:07 +0000 (09:05 -0000)]
added initial list of tests

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

20 years agostole this makefile from Anirban's btests
César Natarén [Fri, 16 Jan 2004 09:02:25 +0000 (09:02 -0000)]
stole this makefile from Anirban's btests

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

20 years agodeleted debugging message
César Natarén [Fri, 16 Jan 2004 08:52:19 +0000 (08:52 -0000)]
deleted debugging message

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

20 years agoupdates from grammar
César Natarén [Fri, 16 Jan 2004 08:48:47 +0000 (08:48 -0000)]
updates from grammar

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 08:43:10 +0000 (08:43 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* InstanceOf.cs, PostOrPrefixOperator.cs, Relational.cs,
StrictEquality.cs, TypeOf.cs: added Resolve inherited from
BinaryOp and UnaryOp, and this from Exp.
* IdentificationTable.cs, ScriptBlock.cs: deleted debugging messages.

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

20 years ago2004-01-16 David Sheldon <dave-mono@earth.li>
David Sheldon [Fri, 16 Jan 2004 08:39:15 +0000 (08:39 -0000)]
2004-01-16  David Sheldon <dave-mono@earth.li>

       * BuiltInDatatype.cs: added guard to stop index out of range error for
         invalid Base64 characters.

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

20 years ago2004-01-16 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 16 Jan 2004 08:26:30 +0000 (08:26 -0000)]
2004-01-16  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* IdentificationTable.cs, ScriptBlock.cs: deleted debugging messages.
* jscript-lexer-parser.g: deleted debugging messages. Create a
Assign object instance of a simple Binary obj. Same case for Equality.

* expression.cs: added Exp abstract class. Classes that are ast of
language constructions that can appear as global expressions that
get evaluated and then the result is discarded inherit from this
new class. This let meee keep track of things that must get Popped
or can even avoid the evaluation of it. Wrote real Resolve method
for classes: Unary, Binary.
Implemted Emit method for some binary operations (+, -, / and *),
for other operators some more code is still missing.
Identifier: handle assignment cases and global exp cases.
Added class Assign (compisite assignment still missing tough :-(

* driver.cs: deleted debug messages, added "Compilation Succeeded"
message ;-).
* VariableStatement.cs, VariableDeclaration.cs: wrote real Resolve method.
* Literal.cs (BooleanLiteral, NumericLiteral): now inherits from
Exp and handle the case for global expressions that must be popped
after evaluation. no more invalid IL being generated! yeah!
* Block.cs: wrote real Resolve method, erased debug messages.
* BitwiseBinary.cs, InstanceOf.cs, UnaryOp.cs: : add new Resolve inherited from Exp.
* BinaryOp.cs, Conditional: now inherits from Exp.

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

20 years ago * TagAttribute.cs: attributes can be stored as encoded html so we
Jackson Harper [Fri, 16 Jan 2004 08:04:37 +0000 (08:04 -0000)]
    * TagAttribute.cs: attributes can be stored as encoded html so we
decode them here.

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

20 years agoModified BmpPaint.cs to make it run on .NET.
Ravindra [Fri, 16 Jan 2004 07:54:57 +0000 (07:54 -0000)]
Modified BmpPaint.cs to make it run on .NET.

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

20 years agoshame
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 07:27:50 +0000 (07:27 -0000)]
shame

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

20 years agofix windows build
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 06:39:17 +0000 (06:39 -0000)]
fix windows build

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

20 years ago2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Jan 2004 05:38:31 +0000 (05:38 -0000)]
2004-01-16  Atsushi Enomoto <atsushi@ximian.com>

* Al.cs : csc build fix. See bugzilla #47991.

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 05:25:53 +0000 (05:25 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Handlers.cs: added aliases table.
* Manager.cs: when an encoding is not found, try its aliases if any.
Fixes bug #52852.

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

20 years ago2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Jan 2004 04:16:13 +0000 (04:16 -0000)]
2004-01-16 Atsushi Enomoto <atsushi@ximian.com>

* XslOutput.cs : Reverted. default encoding should be utf-8.

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

20 years ago2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Jan 2004 04:14:04 +0000 (04:14 -0000)]
2004-01-16  Atsushi Enomoto  <atsushi@ximian.com>

* Multiplexer.cs : Pass stream parameters as is (to handle
  encoding correctly). Patch by Dariusz Olszewski. Bug #52913 fixed.
* ManagedXslTransform.cs : In ctor() with stream, pass encoding
  parameter also for managed transformer.

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

20 years ago2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Jan 2004 04:08:17 +0000 (04:08 -0000)]
2004-01-16  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : maybe semi-automates master xml build.

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 03:50:54 +0000 (03:50 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System/Environment.cs: increased corlib version.
* System.Reflection/MonoProperty.cs: changed get_property_info so that
it only gets the values needed. Reduces the allocations needed.

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 03:50:41 +0000 (03:50 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: increased corlib version.
* filewatcher.c: removed g_print.
* icall.c:
(get_property_info): only allocate what is actually requested.
(ves_icall_Type_GetInterfaces): free the bitset in case of early error.

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 03:27:24 +0000 (03:27 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.dll.sources: added new files.

* System_test.dll.sources: added new test.

* System.IO/DefaultWatcher.cs: stub for the default watcher.
* System.IO/WindowsWatcher.cs: stub for the windows watcher.

* System.IO/FAMWatcher.cs: FAM watcher.

* System.IO/FileAction.cs: enum with event types.

* System.IO/FileSystemEventArgs.cs: added SetName property.
* System.IO/FileSystemWatcher.cs: added support for the 3 watchers.

* System.IO/IFileWatcher.cs: interface implemented by the watchers.
* System.IO/SearchPattern.cs: copied from corlib.
* Test/System.IO/FileSystemWatcherTest.cs: new test.

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 03:26:09 +0000 (03:26 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile.am: added filewatcher.[ch]
* filewatcher.[ch]: FileSystemWatcher runtime support.
* icall.c: added new FSW icalls.

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

20 years agoChanged line endings
Gonzalo Paniagua Javier [Fri, 16 Jan 2004 03:04:13 +0000 (03:04 -0000)]
Changed line endings

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

20 years ago * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
Jackson Harper [Fri, 16 Jan 2004 01:50:25 +0000 (01:50 -0000)]
    * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.

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

20 years ago * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
Jackson Harper [Thu, 15 Jan 2004 23:43:25 +0000 (23:43 -0000)]
* HttpCachePolicy.cs: Fix typo causing varyby params headers to be
created when they shouldn't be.

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

20 years agoremoved
Andreas N [Thu, 15 Jan 2004 22:55:25 +0000 (22:55 -0000)]
removed

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

20 years ago2004-01-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 15 Jan 2004 22:46:19 +0000 (22:46 -0000)]
2004-01-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.DirectoryServices.dll.sources: Added lots of files, sorted existing

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

20 years ago2004-01-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 15 Jan 2004 22:45:28 +0000 (22:45 -0000)]
2004-01-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* ChangeLog: Added
* AssemblyInfo.cs: Removed
* DirectoryEntry.cs: Added attributes, fixed warning, stubbed missing
* DirectorySearcher.cs: Added attributes, stubbed missing
* DirectoryServicesPermissionAccess.cs: Added, implemented
* DSDescriptionAttribute.cs: Added, implemented
* DSDescriptionAttribute.cs, Added implemented

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

20 years ago2004-01-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 15 Jan 2004 22:44:15 +0000 (22:44 -0000)]
2004-01-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

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

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

20 years ago2004-01-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 15 Jan 2004 22:43:29 +0000 (22:43 -0000)]
2004-01-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* DirectoryEntryConverter.cs: Added, stubbed minimal version
* ChangeLog: Added

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

20 years ago2004-01-15 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 15 Jan 2004 22:35:45 +0000 (22:35 -0000)]
2004-01-15  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* ReferenceAttribute.cs: moved it back to namespace Microsoft.JScript.

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

20 years ago * TemplateParser.cs: Detect if we are parsing a control or page
Jackson Harper [Thu, 15 Jan 2004 22:26:13 +0000 (22:26 -0000)]
    * TemplateParser.cs: Detect if we are parsing a control or page
properly.
* Page.cs: vary by params and vary by headers can be null now.

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

20 years ago2004-01-15 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 15 Jan 2004 20:50:43 +0000 (20:50 -0000)]
2004-01-15  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* CodeGenerator.cs: small fixes to generate same things that ms.

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

20 years ago * XmlSchemaContent.cs: Make actualBaseSchemaType protected (fixes
Jackson Harper [Thu, 15 Jan 2004 19:54:09 +0000 (19:54 -0000)]
    * XmlSchemaContent.cs: Make actualBaseSchemaType protected (fixes
build).

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

20 years agoThu Jan 16 19:20:00 GMT+2 2003 Joel Basson <jstrike@mweb.co.za>
Joel Basson [Thu, 15 Jan 2004 17:19:30 +0000 (17:19 -0000)]
Thu Jan 16 19:20:00 GMT+2 2003 Joel Basson <jstrike@mweb.co.za>
* Applied patch from Alberto Fernandez with the following changes...
Finished ProgressBar (Events?)
Finished HScrollBar VScrollBar and ScrollBar
Finished FolderBrowserDialog
Base ComboBox
Added DrawMode.cs
Added ComboBoxStyle.cs
Added Appearance.cs
Added CheckState.cs
Added TabAlignment
Added TabAppearance.cs
Added TabDrawMode.cs
Added TabSizeMode.cs
Added Panel.cs
Added TabPage.cs
Added TabControl.cs
Added Cursors.cs
Added MessageBoxDefaultButton.cs
Added MessageBoxIcon.cs
Added MessageBoxOptions.cs
Changes in MessageBoxButtons.cs (Added values)
Changes in MessageBox (Completed all functions, added return values).
"Finished" CheckBox.cs
"Finished" ComboBox.cs
"Finished" RadioButton
"Finished" GroupBox
"Finished" Panel
Changes in Form to work with new RadioButton.
Fix double Click reported on MenuItems.
"Finished" Application

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

20 years ago2004-01-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 15 Jan 2004 16:18:22 +0000 (16:18 -0000)]
2004-01-15  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (Save): Handle entry points with an int return
type as well.

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

20 years agoRepeatLayout property should affect the rendered html.
Alon Gazit [Thu, 15 Jan 2004 16:04:35 +0000 (16:04 -0000)]
RepeatLayout property should affect the rendered html.

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

20 years ago2004-01-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 15 Jan 2004 15:59:53 +0000 (15:59 -0000)]
2004-01-15  Zoltan Varga  <vargaz@freemail.hu>

* jit-icalls.c (helper_stelem_ref_check): New jit icall for array type
checking in Array.Set ().

* mini.c (method_to_ir): Add array type checking in Array.Set (). Fixes
#52590.

* object.cs (test_0_multi_array_cast): New regression test.

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

20 years ago2004-01-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 15 Jan 2004 15:53:53 +0000 (15:53 -0000)]
2004-01-15  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (ves_array_set): Check for ArrayTypeMismatchException.

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

20 years ago * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct indention.
Martin Willemoes Hansen [Thu, 15 Jan 2004 15:27:12 +0000 (15:27 -0000)]
    * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct indention.

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

20 years agoThu Jan 15 16:30:24 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Jan 2004 15:15:26 +0000 (15:15 -0000)]
Thu Jan 15 16:30:24 CET 2004 Paolo Molaro <lupus@ximian.com>

* exceptions-ppc.c: fix build on Linux/PPC.

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

20 years agoAdd validation check to Size property.
Alon Gazit [Thu, 15 Jan 2004 15:01:55 +0000 (15:01 -0000)]
Add validation check to Size property.

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

20 years ago2004-01-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 15 Jan 2004 13:11:28 +0000 (13:11 -0000)]
2004-01-15  Zoltan Varga  <vargaz@freemail.hu>

* scripts/Makefile.am: Add al.exe.

* scripts/al.in: New file.

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

20 years ago2004-01-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 15 Jan 2004 13:08:49 +0000 (13:08 -0000)]
2004-01-15  Zoltan Varga  <vargaz@freemail.hu>

* runtime/Makefile.am: Add al.exe.

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

20 years ago2004-01-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 15 Jan 2004 12:55:20 +0000 (12:55 -0000)]
2004-01-15  Zoltan Varga  <vargaz@freemail.hu>

* Makefile: Added al directory.

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