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
Jacek Caban
45cd5bc4a2
jscript: Fixed array literal length calculation.
2008-09-22 11:54:16 +02:00
Jacek Caban
f1f2e8e6c5
jscript: Added Array.sort implementation.
2008-09-22 11:54:11 +02:00
Jacek Caban
53e831e2cb
jscript: Added Number function implementation.
2008-09-22 11:53:59 +02:00
Jacek Caban
c3e2a6f9d7
jscript: Added Number.toString implementation.
2008-09-22 11:53:54 +02:00
Jacek Caban
9b74d6a91c
jscript: Added Number constructor implementation.
2008-09-22 11:53:49 +02:00
Jacek Caban
8b13719cd2
jscript: Added Array.toString implementation.
2008-09-22 11:53:44 +02:00
Jacek Caban
f62dd2a9fd
jscript: Added Array.join implementation.
2008-09-22 11:53:38 +02:00
Jacek Caban
34e82951c3
jscript: Added Array.push implementation.
2008-09-22 11:53:31 +02:00
Jacek Caban
91b798ddf8
jscript: Added string to number conversion implementation.
2008-09-22 11:53:22 +02:00
Jacek Caban
5e07e0cf53
jscript: Added function constructor object.
2008-09-19 12:08:50 +02:00
Jacek Caban
4778c06903
jscript: Added more to_string implementation.
2008-09-19 12:08:45 +02:00
Jacek Caban
3435603520
jscript: Minor fixes.
2008-09-19 12:08:39 +02:00
Jacek Caban
c1b76a333b
jscript: Added '>>>=' expression implementation.
2008-09-19 12:08:34 +02:00
Jacek Caban
bc641097a9
jscript: Added '>>=' expression implementation.
2008-09-19 12:08:30 +02:00
Jacek Caban
701797489d
jscript: Added '<<=' expression implementation.
2008-09-19 12:08:26 +02:00
Jacek Caban
13790a640b
jscript: Added '>>>' expression implementation.
2008-09-19 12:08:22 +02:00
Jacek Caban
74fefe94eb
jscript: Added '>>' expression implementation.
2008-09-19 12:08:18 +02:00
Jacek Caban
ef78010df4
jscript: Added '<<' expression implementation.
2008-09-19 12:08:14 +02:00
Jacek Caban
dfb867af56
jscript: Added with statement implementation.
2008-09-19 12:08:09 +02:00
Jacek Caban
4e9749bf92
jscript: Added delete expression implementation.
2008-09-19 12:08:05 +02:00
Jacek Caban
8e16240467
jscript: Added for..in statement implementation.
2008-09-19 12:07:59 +02:00
Jacek Caban
4731f17435
jscript: Added String.charAt implementation.
2008-09-19 12:07:53 +02:00
Jacek Caban
536573934a
jscript: Added void expression implementation.
2008-09-19 12:07:47 +02:00
Jacek Caban
9e68badeaf
jscript: Added for statement implementation.
2008-09-18 12:23:17 +02:00
Jacek Caban
9933568063
jscript: Added continue statement implementation.
2008-09-18 12:23:12 +02:00
Jacek Caban
7bde1a3345
jscript: Added while and do..while statement implementation.
2008-09-18 12:23:07 +02:00
Jacek Caban
b48489be3c
jscript: Added String.length implementation.
2008-09-18 12:23:01 +02:00
Jacek Caban
c137281469
jscript: Added to_string(VT_I4) implementation.
2008-09-18 12:22:56 +02:00
Jacek Caban
788197d592
jscript: Added array literal implementation.
2008-09-18 12:22:50 +02:00
Jacek Caban
44849c3fc9
jscript: Added eval implementation.
2008-09-18 12:22:43 +02:00
Jacek Caban
1bbc34f2f2
jscript: Added bool and null to number conversion implementation.
2008-09-18 12:22:36 +02:00
Jacek Caban
7c6b6c8ca8
jscript: Added plus expression implementation.
2008-09-18 12:22:30 +02:00
Jacek Caban
20bc98d5d8
jscript: Added '~' expression implementation.
2008-09-18 12:22:23 +02:00
Jacek Caban
c0bfbba859
jscript: Added ',' expression implementation.
2008-09-18 12:22:16 +02:00
Jacek Caban
5288c5b07c
jscript: Added '^=' expression implementation.
2008-09-18 12:22:10 +02:00
Jacek Caban
7202197dfa
jscript: Added '^' expression implementation.
2008-09-18 12:22:06 +02:00
Jacek Caban
b8aeb15cb5
jscript: Added '&=' expression implementation.
2008-09-18 12:22:00 +02:00
Jacek Caban
d2de1d3103
jscript: Added '&' expression implementation.
2008-09-18 12:21:55 +02:00
Jacek Caban
a51ec811c7
jscript: Added '|=' expression implementation.
2008-09-18 12:21:49 +02:00
Jacek Caban
ec6411a7fc
jscript: Added '|' expression implementation.
2008-09-18 12:21:44 +02:00
Jacek Caban
32a3a167b6
jscript: Added break statement implementation.
2008-09-18 12:21:34 +02:00
Jacek Caban
2b16387708
jscript: Added switch statement implementation.
2008-09-18 12:21:29 +02:00
Jacek Caban
c0f3c78954
jscript: Added 'new' expression implementation.
2008-09-18 12:21:23 +02:00
Jacek Caban
47fcf8d0c7
jscript: Added '!=' expression implementation.
2008-09-18 12:21:16 +02:00
Jacek Caban
d699834892
jscript: Added '==' expression implementation.
2008-09-18 12:21:07 +02:00
Dmitry Timoshkov
e853f1076c
jscript: Fix the uninitialized variable warning.
2008-09-17 10:54:44 +02:00
Jacek Caban
4e670c1c6b
jscript: Fixed allocation of script buffer.
2008-09-17 10:54:36 +02:00
Jacek Caban
5c1c923d5e
jscript: Added minus expression implementation.
2008-09-16 22:35:01 +02:00
Jacek Caban
43f760ba17
jscript: Added '/=' expression implementation.
2008-09-16 22:34:56 +02:00
Jacek Caban
323e11b4ab
jscript: Added '/' expression implementation.
2008-09-16 22:34:52 +02:00
Jacek Caban
01a4acbd8c
jscript: Added '*=' expression implementation.
2008-09-16 22:34:48 +02:00
Jacek Caban
2385f8d494
jscript: Added '*' expression implementation.
2008-09-16 22:34:44 +02:00
Jacek Caban
2a672e334e
jscript: Added '-=' expression implementation.
2008-09-16 22:34:40 +02:00
Jacek Caban
c3af87180a
jscript: Added '-' expression implementation.
2008-09-16 22:34:35 +02:00
Jacek Caban
1a97632a4e
jscript: Added to_object(number) implementation.
2008-09-16 22:34:31 +02:00
Jacek Caban
7fa373e364
jscript: Added to_object(VT_BOOL) implementation.
2008-09-16 22:34:27 +02:00
Jacek Caban
e7903ecfa9
jscript: Added throw statement implementation.
2008-09-16 22:34:23 +02:00
Jacek Caban
66eb62ada6
jscript: Added try statement implementation.
2008-09-16 22:34:09 +02:00
Jacek Caban
4b9bc9816b
jscript: Added RegExp tests.
2008-09-16 11:48:23 +02:00
Jacek Caban
db69b121ac
jscript: Added String.match implementation.
...
RegExp part of patch is based on Mozilla regexp implementation.
2008-09-16 11:48:10 +02:00
Jacek Caban
9a752be1a7
jscript: Added string to object conversion implementation.
2008-09-16 11:48:03 +02:00
Jacek Caban
5670ca52ae
jscript: Added regular expression compiler based on Mozilla regexp implementation.
2008-09-16 11:48:00 +02:00
Jacek Caban
4ac24dc2bf
jscript: Reuse temporary heap.
2008-09-16 11:29:50 +02:00
Jacek Caban
cf1863ed09
jscript: Added parser support for regular expressions.
2008-09-16 11:29:44 +02:00
Jacek Caban
f2e7626c7a
jscript: Added ArrayInstance::on_put implementation.
2008-09-16 11:29:38 +02:00
Jacek Caban
06d19171be
jscript: Added Array.length implementation.
2008-09-16 11:29:33 +02:00
Jacek Caban
9c25917e5d
jscript: Added Array constructor implementation.
2008-09-16 11:29:28 +02:00
Jacek Caban
199952bf55
jscript: Added missing RegExp properties.
2008-09-16 11:29:05 +02:00
Jacek Caban
2950c3fa2d
jscript: Added postfix decrement expression implementation.
2008-09-12 11:42:12 +02:00
Jacek Caban
b291b83a6b
jscript: Added postfix increment expression implementation.
2008-09-12 11:42:08 +02:00
Jacek Caban
ce423c2e3b
jscript: Added prefix decrement expression implementation.
2008-09-12 11:42:04 +02:00
Jacek Caban
5df7ac456f
jscript: Added prefix increment expression.
2008-09-12 11:42:00 +02:00
Jacek Caban
aa4f801ed0
jscript: Added '>=' expression implementation.
2008-09-12 11:41:55 +02:00
Jacek Caban
aa0c254e4a
jscript: Added '>' expression implementation.
2008-09-12 11:41:50 +02:00
Jacek Caban
9332be04f0
jscript: Added '<=' implementation.
2008-09-12 11:41:46 +02:00
Jacek Caban
8e2a9ae06a
jscript: Added '<' expression implementation.
2008-09-12 11:41:42 +02:00
Jacek Caban
bc9e6aa1e5
jscript: Added '&&' expression implementation.
2008-09-12 11:41:37 +02:00
Jacek Caban
6d541ecc5d
jscript: Added '||' expression implementation.
2008-09-12 11:41:32 +02:00
Jacek Caban
50c7c4b719
jscript: Added '+=' expression implementation.
2008-09-12 11:41:27 +02:00
Paul Vriens
98aaad7810
jscript/tests: Fix crash and failures on win9x.
2008-09-12 11:39:36 +02:00
Alexandre Julliard
a8513a2113
jscript: Add necessary dependencies for the bison file.
2008-09-11 12:12:23 +02:00
Jacek Caban
93a62e8f70
jscript: Added add expression implementation.
2008-09-11 12:02:29 +02:00
Jacek Caban
beba0f711d
jscript: Added script types tests.
2008-09-11 12:02:23 +02:00
Jacek Caban
23ccc9a293
jscript: Added conditional expression implementation.
2008-09-11 12:02:19 +02:00
Jacek Caban
026bbea672
jscript: Added block statement implementation.
2008-09-11 12:02:14 +02:00
Jacek Caban
e7786d1d45
jscript: Added object initialiser expression implementation.
2008-09-11 12:02:10 +02:00
Jacek Caban
1edd64ef8b
jscript: Added if statement implementation.
2008-09-11 12:02:06 +02:00
Jacek Caban
eedc6dc715
jscript: Added IActiveScriptParseProcedure2::ParseProcedureText implementation.
2008-09-11 12:02:00 +02:00
Jacek Caban
44333104ce
jscript: Release named items in IActiveScript::Close.
2008-09-11 12:01:55 +02:00
Jacek Caban
0c6b804e63
jscript: Added initial prototype of functions.
2008-09-11 12:01:51 +02:00
Jacek Caban
b2a93fe3c3
jscript: Added function expression implementation.
2008-09-11 12:01:46 +02:00
Jacek Caban
e4e47c0149
jscript: Added constructor invokation from Function object support.
2008-09-11 12:01:42 +02:00
Jacek Caban
bea575c916
jscript: Added Object constructor implementation.
2008-09-11 12:01:37 +02:00
Jacek Caban
152b3e48c1
jscript: Added 'new' expression implementation.
2008-09-11 12:01:33 +02:00
Jacek Caban
8ef7038ba5
jscript: Added array expression implementation.
2008-09-11 12:01:28 +02:00
Jacek Caban
68d4f489f2
jscript: Set arguments object on function call.
2008-09-11 12:01:23 +02:00
Jacek Caban
0d33508954
jscript: Set parameters on function call.
2008-09-11 12:01:18 +02:00
Jacek Caban
dd9f8f7dbc
jscript: Added Function.[[call]] implementation.
2008-09-11 12:01:13 +02:00
Jacek Caban
a273e35f9b
jscript: Added return statement implementation.
2008-09-11 12:01:07 +02:00
Jacek Caban
0bd508db2f
jscript: Added this expression implementation.
2008-09-11 12:01:02 +02:00