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
Jacek Caban
9932f29e69
jscript: Added Date constructor implementation.
2008-10-14 11:26:27 +02:00
Jacek Caban
f3e7637139
jscript: Added '%=' expression implementation.
2008-10-09 12:57:40 +02:00
Jacek Caban
065581b236
jscript: Added '%' expression implementation.
2008-10-09 12:57:38 +02:00
Jacek Caban
b67e875eed
jscript: Added String.split implementation for non-regexp arguments.
2008-10-08 12:18:45 +02:00
Jacek Caban
67af45be7d
jscript: Added encodeURI implementation.
2008-10-08 12:18:40 +02:00
Jacek Caban
bb08e971ed
jscript: Fixed numeric escapes unescaping.
2008-10-08 12:18:35 +02:00
Jacek Caban
80bd994bc7
jscript: Added Array.pop implementation.
2008-10-08 12:18:31 +02:00
Jacek Caban
4783dd1e54
jscript: Fixed list literal length calculation.
2008-10-08 12:18:25 +02:00
Jacek Caban
7a8cfdee6d
jscript: Fixed copy&paste bug in disp_propget.
2008-10-08 12:18:21 +02:00
Jacek Caban
0c20b1d0a1
jscript: Fixed compare function check in Array.sort (Coverity).
2008-10-07 12:17:34 +02:00
Jacek Caban
ec35d3ab38
jscript: Added a few missing allocation checks (Coverity).
2008-10-07 12:17:26 +02:00
Jacek Caban
43c7907f31
jscript: Added String.indexOf implementation.
2008-10-07 12:16:56 +02:00
Jacek Caban
68525652a1
jscript: Added possibility to run test scripts from file.
...
With this patch it's possible to test scripts by running
wine jscript_test.exe.so run <file_name>
Although it's not what Wine tests are for, it proved to be very useful
for me.
2008-10-06 13:05:27 +02:00
Jacek Caban
31b3071552
jscript: Fixed backslash handling in regular expressions.
2008-10-06 13:04:45 +02:00
Jacek Caban
383de2d79a
jscript: Fixed conflict in Block statement that caused problems with empty blocks.
2008-10-06 13:04:42 +02:00
Jacek Caban
47b842bff7
jscript: Don't initialize variables without initialiser to undefined in variable_list_eval.
2008-10-06 13:04:39 +02:00
Jacek Caban
9c248189f7
jscript: Added delete expression for EXPRVAL_IDREF implementation.
2008-10-01 11:39:47 -05:00
Jacek Caban
65a207466d
jscript: Added IDispatchEx::GeleteMemberByDispID implementation.
2008-10-01 11:39:42 -05:00
Jacek Caban
84d8cddcae
jscript: Added Date constructor object implementation.
2008-10-01 11:39:37 -05:00
Jacek Caban
a9c4d2b18e
jscript: Don't clear uninitialized variable.
2008-10-01 11:39:26 -05:00
Jacek Caban
50a84b4545
jscript: Allocate variables when entering execution context.
2008-10-01 11:39:18 -05:00
Jacek Caban
131d0b9f1b
jscript: Optimize GetDispID usage.
2008-10-01 11:39:13 -05:00
Marcus Meissner
4730205ffb
jscript: Fix number conversion in non-English locales.
2008-09-29 17:23:01 -05:00
Marcus Meissner
db447d0f66
jscript: Fixed crash in run test.
2008-09-29 17:22:46 -05:00
Michael Stefaniuc
9c0d148dd5
jscript: Remove redundant NULL check before SysFreeString (Smatch).
2008-09-25 11:18:54 +02:00
Jacek Caban
6906c2f1ba
jscript: Added String.split implementation.
2008-09-25 11:16:31 +02:00
Jacek Caban
9307a5ddfd
jscript: Added String.match implementation for non-regexp arguments.
2008-09-25 11:16:25 +02:00
Jacek Caban
e0413ddfe5
jscript: Added String.replace implementation.
2008-09-25 11:16:18 +02:00
Jacek Caban
b4796499e7
jscript: Split regexp_match function.
2008-09-25 11:16:10 +02:00
Jacek Caban
136f7933c6
jscript: Added object to number conversion implementation.
2008-09-25 11:16:02 +02:00
Jacek Caban
5b3630ec7b
jscript: Added Number default value implementation.
2008-09-25 11:15:23 +02:00
Jacek Caban
53040deefd
jscript: Added VT_R8 to string conversion implementation.
2008-09-25 11:15:17 +02:00
Francois Gouget
db031bff74
jscript: Add a trailing '\n' to a Wine trace.
2008-09-24 13:12:16 +02:00
Jacek Caban
87e2c25549
jscript: Fixed a typo.
...
Spotted by Michael Stefaniuc.
2008-09-24 12:52:59 +02:00
Jacek Caban
98f2dfee9c
jscript: Added RegExp contruction implementation.
2008-09-24 12:52:56 +02:00
Detlef Riekenberg
60bbae4b40
jscript/tests: Fix a typo in ok().
2008-09-22 13:17:11 +02:00
Francois Gouget
f26c27acc6
jscript: Remove spaces before '\n' in Wine traces.
2008-09-22 13:17:02 +02:00
Jacek Caban
e806869d4e
jscript: Added Function default value implementation.
2008-09-22 11:56:21 +02:00
Jacek Caban
5760eb808b
jscript: Added Function.toString implementation.
2008-09-22 11:56:16 +02:00
Jacek Caban
68bd72c7cd
jscript: Don't call IDispatch as constructor.
2008-09-22 11:56:10 +02:00
Jacek Caban
90dd23cc4c
jscript: Added Math.ceil implementation.
2008-09-22 11:56:05 +02:00
Jacek Caban
c4fe1b2efd
jscript: Added Math.pow implementation.
2008-09-22 11:56:00 +02:00
Jacek Caban
37b69e9a9e
jscript: Added Math.max implementation.
2008-09-22 11:55:56 +02:00
Jacek Caban
2149494c9d
jscript: Added Math.abs implementation.
2008-09-22 11:55:51 +02:00
Jacek Caban
c395981b2f
jscript: Added Math.round implementation.
2008-09-22 11:55:46 +02:00
Jacek Caban
50a24a4a13
jscript: Added Math.min implementation.
2008-09-22 11:55:42 +02:00
Jacek Caban
17ceb90b30
jscript: Added String function implementation.
2008-09-22 11:55:38 +02:00
Jacek Caban
6751644835
jscript: Added String.concat implementation.
2008-09-22 11:55:33 +02:00
Jacek Caban
1f134b41b3
jscript: Added String default value implementation.
2008-09-22 11:55:28 +02:00
Jacek Caban
3925f13023
jscript: Added String constructor implementation.
2008-09-22 11:55:24 +02:00
Jacek Caban
84b69fb1aa
jscript: Remove no longer used jsdisp_set_prototype.
2008-09-22 11:55:19 +02:00
Jacek Caban
f8537b6eb9
jscript: Added parseInt implementation.
2008-09-22 11:55:15 +02:00
Jacek Caban
8612ae880f
jscript: Added String.charCodeAt implementation.
2008-09-22 11:55:10 +02:00
Jacek Caban
2c6847d000
jscript: Added String.slice implementation.
2008-09-22 11:55:06 +02:00
Jacek Caban
1388a6f421
jscript: Added String.valueOf implementation.
2008-09-22 11:55:00 +02:00
Jacek Caban
304e9fe0d4
jscript: Added String.toString implementation.
2008-09-22 11:54:56 +02:00
Jacek Caban
5fdf258b1a
jscript: Added String.substring implementation.
2008-09-22 11:54:52 +02:00
Jacek Caban
dff4f0b598
jscript: Fixed typo in to_integer.
2008-09-22 11:54:46 +02:00
Jacek Caban
898cb6fcd4
jscript: Added Array default value implementation.
2008-09-22 11:54:41 +02:00
Jacek Caban
2efae9e79b
jscript: for..in is not error if in expression is not an object.
2008-09-22 11:54:36 +02:00
Jacek Caban
c6188fdffc
jscript: Added Object default value implementation.
2008-09-22 11:54:29 +02:00
Jacek Caban
5fa649cae6
jscript: Added Array.concat implementation.
2008-09-22 11:54:24 +02:00