Commit Graph

280 Commits

Author SHA1 Message Date
Jacek Caban 7bd79152a5 jscript: Fixed Math.round with no argument. 2009-01-22 15:28:23 +01:00
Jacek Caban a20a9166a2 jscript: Added Math.random implementation. 2009-01-22 15:28:23 +01:00
Andrew Talbot 3fd7a474d8 jscript: Declare a function static. 2009-01-07 12:21:25 +01:00
Alexandre Julliard 57a1a147a6 jscript/tests: Don't crash if we fail to get the IActiveScriptParse interface. 2009-01-05 15:50:36 +01:00
Andrew Talbot ebf3a680c7 jscript: Remove unused Wine debug channel. 2008-12-19 17:36:35 +01:00
Jacek Caban 775a6b21e9 jscript: Correctly handle SCRIPTITEM_GLOBALMEMBERS flag in identifier_eval. 2008-12-17 15:30:28 +01:00
Paul Vriens dc8ea1b3e4 jscript/tests: Fix test failures on Win9x. 2008-12-17 11:38:45 +01:00
Jacek Caban 4eb80d8d51 jscript: Delay setting named info if SCRIPTITEM_GLOBALMEMBER flag is not set. 2008-12-16 12:52:22 +01:00
Jacek Caban 06050f86d5 jscript: Added Math.LOG10E implementation. 2008-12-11 12:45:47 +01:00
Jacek Caban 0c6b427aaa jscript: Added Math.LOG2E implementation. 2008-12-11 12:45:44 +01:00
Jacek Caban da03e6779d jscript: Added Math.E implementation. 2008-12-11 12:45:40 +01:00
Jacek Caban 0e8bcbd9de jscript: Added Math.PI implementation. 2008-12-11 12:45:36 +01:00
Andrew Nguyen abedd774fb jscript: Implement the String.sup() method. 2008-12-10 11:50:23 +01:00
Andrew Nguyen 257e15da39 jscript: Implement the String.sub() method. 2008-12-10 11:50:18 +01:00
Andrew Nguyen f2388d9269 jscript: Fix the lexicographical order of the String class properties array.
The find_builtin_prop internal routine in dispex.c implements a binary
search with the requirement that a class properties array be in
ascending order, so this fix allows String's properties array to
satisfy this requirement and allows the tests for String.sub() to
pass.
2008-12-10 11:33:00 +01:00
Andrew Nguyen a6bdc47152 jscript: Fix some errors detected by Valgrind. 2008-12-10 11:32:31 +01:00
Andrew Nguyen bbac6de702 jscript: Implement the String.strike() method. 2008-12-02 16:39:07 +01:00
Andrew Nguyen 424a3f3ffe jscript: Implement the String.small() method. 2008-12-02 16:38:53 +01:00
Andrew Nguyen edba282951 jscript: Implement the String.italics() method. 2008-12-02 16:38:49 +01:00
Andrew Nguyen c80a23c639 jscript: Implement the String.fixed() method. 2008-12-02 16:33:42 +01:00
Andrew Nguyen 99f376dc4e jscript: Implement the String.bold() method. 2008-12-02 16:33:35 +01:00
Andrew Nguyen a8dff20f2e jscript: Implement the String.blink() method. 2008-12-02 16:33:33 +01:00
Andrew Nguyen dd23e5b19c jscript: Implement the String.big() method. 2008-12-02 16:33:30 +01:00
Alexandre Julliard f347b957f7 jscript: Make some functions and variables static. 2008-12-02 15:26:49 +01:00
Jacek Caban 849c36ba8e jscript: Set script object instead of ctx lcid in SetScriptSite. 2008-11-24 14:34:09 +01:00
Andrew Nguyen 3909672f59 jscript: Implement the String.toUpperCase() method. 2008-11-24 14:18:41 +01:00
Andrew Nguyen c4148203c6 jscript: Implement the String.toLowerCase() method. 2008-11-24 14:18:41 +01:00
Ryan Schmidt 2827a74cb1 jscript: Fix build with bison 2.4. 2008-11-10 11:08:41 +01:00
Jacek Caban 1b51a43a7c jscript: Added SCRIPTITEM_ISVISIBLE flag implementation. 2008-11-05 10:55:29 +01:00
Jacek Caban 73658a8bc0 jscript: Added SCRIPTSTATE_CONNECTED implementation. 2008-11-05 10:55:25 +01:00
Jacek Caban 8932765580 jscript: Fixed SetScriptSite called before InitNew handling. 2008-11-05 10:55:16 +01:00
Alexandre Julliard 2aa1e71e77 jscript: Avoid a compiler warning. 2008-10-27 11:29:21 +01:00
Jacek Caban 9f1699b9a4 jscript: Return NaN in Math.ceil if called without any argument. 2008-10-22 13:54:53 +02:00
Jacek Caban 9709eadca1 jscript: Added Math.floor implementation. 2008-10-22 13:54:53 +02:00
Jacek Caban 30de39b2a7 jscript: Treat function expressions with identifier as function declarations. 2008-10-21 11:43:01 +02:00
Jacek Caban f30de9b9fc jscript: Added Number.valueOf implementation. 2008-10-18 19:30:09 +02:00
Jacek Caban 9d5139f4d9 jscript: Added NaN comparation tests. 2008-10-17 11:46:01 +02:00
Jacek Caban 142cffc249 jscript: Added Math.abs with no arg implementation. 2008-10-17 11:45:57 +02:00
Jacek Caban 2e075e9862 jscript: Added NaN handling to Math.min and Math.max. 2008-10-17 11:45:53 +02:00
Jacek Caban 531f8336a8 jscript: Added infinity and nan handling to str_to_number. 2008-10-17 11:45:48 +02:00
Jacek Caban 4f6f8ef2d8 jscript: Added NaN handling to relational operators. 2008-10-17 11:45:43 +02:00
Jacek Caban 9a7265becc jscript: Added Infinity value implementation. 2008-10-17 11:45:37 +02:00
Jacek Caban b3f23da2d6 jscript: Added isFinite implementation. 2008-10-16 11:22:28 +02:00
Jacek Caban 7b41f77746 jscript: Added undefined to number conversion implementation. 2008-10-16 11:22:25 +02:00
Jacek Caban 53ade93cd9 jscript: Added NaN value implementation. 2008-10-16 11:22:15 +02:00
Rob Shearman 169f92b5a8 jscript: Fix shift/reduce conflict in IfStatement rule.
The famous "dangling else" problem.
2008-10-15 16:46:47 +02:00
Marcus Meissner 4dceb1f8bf jscript: Check for This->ctx and This->site earlier (Coverity). 2008-10-15 16:43:54 +02:00
Jacek Caban 88c12282e3 jscript: Added isNaN implementation. 2008-10-15 12:22:22 +02:00
Rob Shearman b06f882072 jscript: Fix shift/reduce conflict caused by ArrayLiteral. 2008-10-14 11:26:37 +02:00
Jacek Caban 122198a24f jscript: Added Date.getTime() implementation. 2008-10-14 11:26:33 +02:00