`head -n 9 ChangeLog`
[mono.git] / mcs / class / Microsoft.JScript / Microsoft.JScript / ChangeLog
index f17e32a0d2dfe415281411eac696dae64488ebdb..63b5b78f38a7ff842a23eaa45ef3144d5b91d07c 100644 (file)
@@ -1,3 +1,134 @@
+2005-05-07  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * MethodInvoker.cs, ScriptObject.cs, BitwiseBinary.cs,
+       ActivationObject.cs, PostOrPrefixOperator, StackFrame.cs,
+       NumericUnary.cs, JSConstructor.cs, Equality.cs, NumericBinary.cs,
+       Convert.cs, LateBinding.cs, Plus.cs, BitwiseBinary.cs,
+       JSMethodInfo.cs, Relational.cs, ScriptFunction.cs : Add missing
+       debugger attributes.
+
+2005-05-06  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * Binding.cs: add missing methods and fields.
+
+2005-05-03  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * ReturnOutOfFinally.cs, SyntaxErrorObject.cs, TypeReflector.cs,
+       JSPrototypeObject.cs, ReferenceErrorObject.cs, Namespace.cs,
+       expression.cs (Unary class), Binding.cs, ArrayWrapper.cs,
+       CmdLineOptionParser.cs, TypeErrorObject.cs, JSConstructor.cs,
+       TypedArray.cs, FunctionWrapper.cs, SuperTypeMembersSorter.cs,
+       ContinueOutOfFinally.cs, BlockScope.cs,
+       AssemblyCustomAttributeList.cs, VersionableAttribute.cs,
+       SimpleHashtable.cs, ResInfo.cs, Import.cs,
+       NotRecommendedAttribute.cs, CmdLineException.cs, DebugBreak.cs,
+       VBArrayObject.cs, CmdLineError.cs, TODOAttribute.cs,
+       RegExpMatch.cs, JScriptCodeProvider.cs, RangeErrorObject.cs,: Fixes for API compliance.
+
+2005-04-28  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * BinaryOp.cs, ActivationObject.cs, expression.cs (Args),
+       ArrayLiteral.cs, ArrayObject.cs, IRedirectOutput.cs, ASTList.cs,
+       IVsaScriptScope.cs, ast.cs (AST), BinaryOp.cs,
+       EnumeratorObject.cs, BreakOutOfFinally.cs, Enum.cs,
+       FormalParameterList.cs, FunctionDeclaration.cs, Equality.cs,
+       Closure.cs, Block.cs, Statement.cs, BooleanObject.cs,
+       LenientBooleanPrototype.cs, GlobalObject.cs, BooleanPrototype.cs,
+       CodeGenerator.cs, LenientDateConstructor.cs,
+       LenientGlobalObject.cs, JSToken.cs, MethodInvoker.cs,
+       LenientRegExpPrototype.cs, NumericUnary.cs,
+       LenientArrayPrototype.cs, JSParser.cs, JSPropertyInfo.cs,
+       LenientVBArrayPrototype.cs, LenientStringPrototype.cs,
+       LenientObjectPrototype.cs, With.cs, ScriptBlock.cs, Expando.cs,
+       JSScanner.cs, LenientEnumeratorPrototype.cs, EvalErrorObject.cs,
+       VariableDeclaration.cs, Print.cs, LenientErrorPrototype.cs,
+       LenientBooleanPrototype.cs, LenientFunctionPrototype.cs, Literal.cs,
+       LenientMathObject.cs, LenientDatePrototype.cs,  Relational.cs,
+       Parser.cs, Throw.cs, VariableStatement.cs, RegExpObject.cs, Eval.cs,
+       SemanticAnalizer.cs, LenientStringConstructor.cs,
+       LenientNumberPrototype.cs, FieldAccessor.cs : Changes for MS API
+       compliance. 
+
+2005-04-18  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * Parser.cs: Build a StrictEquality object instead of a Equality
+       object, when we have === and !=== as operator.
+       * CodeGenerator.cs: (ft_emit_equality, fall_true) Take into account the
+       strict cases of equality. 
+       * StrictEquality.cs: Add parent, left and right params to default
+       ctr. Implement Resolve and Emit.
+
+2005-04-15  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * Statement.cs: make internal the builders.
+       * expression.cs: (Identifier.Emit) Take into account if its
+       binding is of type Catch.
+
+2005-04-14  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * SemanticAnalizer.cs: Added a Hashtable that indicates which
+       methods need to generate proper code for handling the local vars
+       in the StackFrame. Added method AddMethodWithEval, MethodContainsEval.
+
+       * Eval.cs: Back to M.J.
+
+       * ast.cs: locals from abstract class Function is now an array of
+       objects not just AST's.
+
+       * CodeGenerator.cs: Clean up fall_true, better using recursion :)
+       Added static method load_local_vars. At method ft_emit_equality do
+       Emit the code of the ast. Added method load_local_vars.
+
+       * FunctionDeclaration.cs: Update call to TypeManager methods to
+       new API. Added a check for invocations to 'eval' inside functions
+       so StackFrame IL code gets generated. Build the function's closure
+       take the need for the StackFrame into account.
+       
+       * TypeManager.cs: renamed IdentificationTable locals to
+       local_script_functions, AddLocal to AddLocalScriptFunction,
+       GetLocal to GetLocalScriptFunction. Added method CurrentLocals.
+
+       * IdentificationTable.cs: Method CurrentLocals now returns
+       an array of object's not AST's.
+
+       * expression.cs: (class Call) Check if we have a call to 'eval',
+       if so we must keep up the StackFrame which contains the local
+       vars. We generate special code that handles the StackFrame with
+       the local vars in order to keep them in sync. When a function
+       contains an invocation to 'eval' even when such function is a
+       function declared in the code we do not perform a direct method
+       call to it when invoked instead a call through late binding gets
+       performed. Added methods IsEval, set_local_vars. Implement 'eval'
+       from JScript!
+
+2005-04-10  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * StackTrace.cs: Back to M.J namespace.
+
+2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Literal.cs: fix the build and broke something else ;-).
+
+2005-04-08  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * Literal.cs: Implement the construction of regular expression literal.
+       * Parser.cs: Pass the proper parent to RegExpLiteral.
+
+2005-03-30  Cesar Lopez Nataren  <cnataren@novell.com>
+
+       * TypeOf.cs: take into account Objects.
+       * ArrayConstructor.cs: Implement CreateInstance.
+       * LateBinding.cs: Initial implementatio of CallValue and
+       SetIndexedPropertyValueStatic.
+       * JSFieldInfo.cs: Implement GetValue and SetValue.
+       * ArrayObject.cs: Implement length, add three ctrs.
+       * JScriptException.cs: Add error_number field. Implement
+       ctr. ErrorNumber, Message and StackTrace.
+       * ArrayPrototype.cs: Implement join and toString.       
+       * JSObject.cs: Remove the ChainHash, we use a simple hashtable
+       now, the one inherited from ScriptObject.
+       * ScriptObject.cs: Add a Hashtable here.
+
 2005-03-29  Cesar Lopez Nataren  <cnataren@novell.com>
 
        * GlobalScope.cs: Set parent and engine in ctr. Return 'this' for