Commit Graph

1074 Commits

Author SHA1 Message Date
Piotr Caban 54a3fa842b jscript: Make String_replace generic. 2009-07-13 12:13:48 +02:00
Piotr Caban 0cb6bf5b28 jscript: Make String_match generic. 2009-07-13 12:13:35 +02:00
Piotr Caban 4881cf8de4 jscript: Make String_indexOf generic. 2009-07-13 12:13:30 +02:00
Piotr Caban a9d7135ecc jscript: Make String_charCodeAt generic. 2009-07-13 12:13:24 +02:00
Piotr Caban 0fae85fc63 jscript: Make String_charAt generic. 2009-07-13 12:13:20 +02:00
Piotr Caban 16b38c457d jscript: Make do_attribute_tag_format generic. 2009-07-13 12:13:06 +02:00
Piotr Caban 0ee06df4b0 jscript: Change do_attributeless_tag_format so it works on non string objects. 2009-07-13 12:12:45 +02:00
Piotr Caban 3412e22eee jscript: Added String_link implementation. 2009-07-10 12:26:58 +02:00
Piotr Caban ecfa129d66 jscript: Added String_anchor implementation. 2009-07-10 12:26:54 +02:00
Piotr Caban 0a0731ed45 jscript: Added String_fontsize implementation. 2009-07-10 12:26:49 +02:00
Piotr Caban 1133bc7ce8 jscript: Added String_fontcolor implementation. 2009-07-10 12:26:41 +02:00
Piotr Caban b9be3bd766 jscript: Changed to_primitive implementation. 2009-07-09 17:47:40 +02:00
Piotr Caban 3f18e98413 jscript: Added Function_valueOf implementation. 2009-07-09 17:47:39 +02:00
Piotr Caban 8ce4de7d2c jscript: Added Object_toString and Object_toLocaleString implementation. 2009-07-07 14:15:44 +02:00
Piotr Caban 3a1698ff06 jscript: Added Object_valueOf implementation. 2009-07-07 14:15:35 +02:00
Piotr Caban 7fcded1fc3 jscript: Inherit Array valueOf from Object. 2009-07-07 14:15:20 +02:00
Piotr Caban 12760a0c6b jscript: Fix DateConstr_parse implementation. 2009-07-07 14:15:06 +02:00
Piotr Caban b6549fa743 jscript: Fixed to_boolean implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 2ed3903f0f jscript: Added Bool_toLocaleString implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 4725b5698c jscript: Added Bool_valueOf implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 1e72bc8718 jscript: Added Bool_toString implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 4b341bfdd4 jscript: Added Boolean constructor implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 9a30d39b35 jscript: Added Date_valueOf implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 60748ebf51 jscript: Fix do while loop parsing. 2009-07-06 14:35:28 +02:00
Piotr Caban b5a82030ad jscript: Added calling Date as function implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 8150960f8c jscript: Added string argument handling to Date constructor. 2009-07-06 14:35:28 +02:00
Piotr Caban 45817bf50f jscript: Added DateConstr_parse implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban c001ffae2c jscript: Fix strings allocation. 2009-07-03 13:28:47 +02:00
Piotr Caban 60ddd438d3 jscript: Added DateConstr_UTC implementation. 2009-07-03 13:28:27 +02:00
Piotr Caban 41e297af11 jscript: Added stub implementation of Date constructor properties. 2009-07-03 13:28:19 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Piotr Caban 754513c800 jscript: Added Date_toString implementation. 2009-06-29 13:30:52 +02:00
Piotr Caban 9b011bd0f7 jscript: Added Date_toLocaleString implementation. 2009-06-29 13:30:19 +02:00
Piotr Caban 5be6deb844 jscript: Added Date_toUTCString implementation. 2009-06-29 13:30:05 +02:00
Piotr Caban fd89475380 jscript: Added Date_toDateString implementation. 2009-06-29 13:29:35 +02:00
Piotr Caban 40b88e261a jscript: Added Date_toTimeString implementation. 2009-06-29 13:28:56 +02:00
Piotr Caban 0e379fbe05 jscript: Added Date_toLocaleTimeString implementation. 2009-06-29 13:28:40 +02:00
Piotr Caban 6dc3b7beb7 jscript: Added Date_toLocaleDateString implementation. 2009-06-29 13:28:26 +02:00
Piotr Caban 27d8e22cbc jscript: Added Date_setFullYear and Date_setUTCFullYear implementation. 2009-06-23 15:53:00 +02:00
Piotr Caban 7301ad4f72 jscript: Added Date_setMonth and Date_setUTCMonth implementation. 2009-06-23 15:53:00 +02:00
Piotr Caban 233ded05b7 jscript: Added Date_setDate and Date_setUTCDate implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban e19ca2b946 jscript: Fix Date_setHours implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban ece2654ef9 jscript: Fix Date_setMinutes implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban bbfab68bb8 jscript: Fix Date_setSeconds implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban 37883a66fa jscript: Fixed Date_setMilliseconds implementation.
Previous implementation was not working when:
utc_time != to_utc(to_local_time(utc_time))
2009-06-23 15:52:59 +02:00
Piotr Caban b45f01b6ce jscript: Fix typos in comments, add missing ones. 2009-06-23 15:52:59 +02:00
Piotr Caban 305aee069a jscript: Added Date_getTimezoneOffset and fixed Date_get... functions. 2009-06-23 15:52:59 +02:00
Piotr Caban b529cdb65e jscript: Added implementation of Date constructor with more then one argument. 2009-06-23 15:52:59 +02:00
Piotr Caban 50e985e252 jscript: Added Date_setUTCHours and Date_setHours implementation. 2009-06-16 13:40:22 +02:00
Piotr Caban e0e84d5628 jscript: Added Date_setUTCMinutes and Date_setMinutes implementation. 2009-06-16 13:40:14 +02:00
Piotr Caban 2c7c0cd1c7 jscript: Added Date_setUTCSeconds and Date_setSeconds implementation. 2009-06-16 13:40:03 +02:00
Piotr Caban 0329be2e2f jscript: Added Date_setUTCMilliseconds and Date_setMilliseconds implementation. 2009-06-16 13:39:49 +02:00
Piotr Caban 5f2eca2729 jscript: Added Date_getUTCMilliseconds and Date_getMilliseconds implementation. 2009-06-16 13:39:25 +02:00
Piotr Caban 3523a1f2bb jscript: Added Date_getUTCSeconds and Date_getSeconds implementation. 2009-06-16 13:38:45 +02:00
Piotr Caban a005865f45 jscript: Added Date_getUTCMinutes and Date_getMinutes implementation. 2009-06-16 13:38:19 +02:00
Piotr Caban 73a0f2c900 jscript: Fixed hour_from_time and week_day functions. 2009-06-16 13:38:00 +02:00
Piotr Caban cfb7617688 jscript: Added Date_getHours and Date_getUTCHours implementation. 2009-06-10 11:50:14 +02:00
Piotr Caban 28e033e359 jscript: Added Date_getDay and Date_getUTCDay implementation. 2009-06-10 11:49:34 +02:00
Piotr Caban 190ed2ef99 jscript: Added Date_getDate and Date_getUTCDate implementation. 2009-06-10 11:49:25 +02:00
Piotr Caban 3f289de8a3 jscript: Added Date_getMonth and Date_getUTCMonth implementation. 2009-06-10 11:48:55 +02:00
Piotr Caban 8427127bb9 jscript: Added Date_getFullYear and Date_getUTCFullYear implementation. 2009-06-10 11:48:17 +02:00
Piotr Caban c0af3a57c2 jscript: Added Date_setTime implementation. 2009-06-05 14:43:24 +02:00
Piotr Caban c144859b13 jscript: Fix DateConstr_value (with no argument) implementation. 2009-06-05 14:43:24 +02:00
Piotr Caban eb203a149b jscript: Remove NaN related FIXMEs. 2009-06-04 12:12:56 +02:00
Piotr Caban 931554dd4a jscript: Fix parse_double_literal implementation. 2009-06-04 12:12:46 +02:00
Piotr Caban f77489acd5 jscript: Added implementation of Math_pow with less then 2 arguments. 2009-05-28 12:42:17 +02:00
Piotr Caban 3327d17109 jscript: Fixed memory leak. 2009-05-28 12:42:17 +02:00
Piotr Caban 063df731ac jscript: Fix integer/double parsing. 2009-05-27 11:53:44 +02:00
Piotr Caban f2c1095a80 jscript: Added Math_tan implementation. 2009-05-27 11:34:36 +02:00
Piotr Caban 8c609c9f50 jscript: Added implementation of Math_sqrt. 2009-05-27 11:34:31 +02:00
Piotr Caban a67672f9ee jscript: Added Math_sin implementation. 2009-05-27 11:34:25 +02:00
Piotr Caban f57f3aa2f4 jscript: Added implementation of Math_log. 2009-05-27 11:34:21 +02:00
Piotr Caban 6231969476 jscript: Added implementation of Math_exp. 2009-05-27 11:34:11 +02:00
Piotr Caban d940755c71 jscript: Added Math_atan2 implementation. 2009-05-26 13:48:59 +02:00
Piotr Caban 79151a2adf jscript: Added implementation of Math_atan. 2009-05-26 13:48:50 +02:00
Piotr Caban 33cde58053 jscript: Added implementation of Math_asin. 2009-05-26 13:48:41 +02:00
Piotr Caban 1ef80d5cd2 jscript: Added Math_LN10 implementation and tests. 2009-05-25 11:23:15 +02:00
Piotr Caban b050c20638 jscript: Added Math_acos implementation and tests. 2009-05-25 11:23:09 +02:00
Piotr Caban e4bc0def3b jscript: Added Math_SQRT1_2 implementations and tests. 2009-05-25 11:22:42 +02:00
Piotr Caban 27f327aebc jscript: Added Math_SQRT2 implementation and tests. 2009-05-25 11:22:30 +02:00
Alexandre Julliard eae1898aae jscript: Avoid size_t in printf width specifier. 2009-04-22 16:56:37 +02:00
Piotr Caban 2dc78e555b jscript: Added html comments tests. 2009-04-10 11:33:37 +02:00
Piotr Caban 84ef7eced2 jscript: Added html comments handling. 2009-04-10 11:33:35 +02:00
Piotr Caban 49ce878de7 jscript: Added Math_cos tests. 2009-04-03 13:01:01 +02:00
Piotr Caban fe5785af09 jscript: Added Math_cos implementation. 2009-04-03 13:00:56 +02:00
Piotr Caban 885a9e9c0c jscript: Added Math_LN2 tests. 2009-04-03 13:00:53 +02:00
Piotr Caban d2aed1b752 jscript: Added Math_LN2 implementation. 2009-04-03 13:00:48 +02:00
Jacek Caban 7399dfa9f6 jscript: Mark free memory if heap warnings are turned on. 2009-02-25 12:37:05 +01:00
Jacek Caban ed78892e46 jscript: Reset mark in jsheap_clear. 2009-02-25 12:37:05 +01:00
Jacek Caban 18ee50e5d2 jscript: Fixed handling block_cnt in jsheap_alloc. 2009-02-25 12:37:05 +01:00
Jacek Caban 2e29c7d516 activscp.idl: Added IActiveScriptParseProcedure*64 interfaces and use it on Win64. 2009-02-10 12:31:25 +01:00
Alexandre Julliard 0a81b7887f jscript: Rename the GetObjectW variable to avoid conflict with the function of the same name. 2009-02-09 13:03:59 +01:00
Jacek Caban 0194b8f08c jscript: Add IActiveScriptParse64 declaration and use it on Win64. 2009-02-03 12:39:23 +01:00
Michael Stefaniuc 981f733e41 jscript: Remove superfluous pointer casts. 2009-02-02 15:21:44 +01:00
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
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
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
Jacek Caban 67684c4850 jscript: Added typeof expression implementation. 2008-09-10 10:57:26 +02:00
Jacek Caban 083c95449e jscript: Added Math object stub implementation. 2008-09-10 10:57:19 +02:00
Jacek Caban e2f743fad8 jscript: Added RegExp constructor object implementation. 2008-09-10 10:57:09 +02:00
Jacek Caban 7a3d60e913 jscript: Added Number constructor object implementation. 2008-09-10 10:57:00 +02:00
Jacek Caban f8be53fcf3 jscript: Added Boolean constructor object. 2008-09-10 10:56:47 +02:00
Jacek Caban 54d03ab857 jscript: Added Array constructor object implementation. 2008-09-10 10:56:29 +02:00
Jacek Caban 8482abe29c jscript: Added String constructor object. 2008-09-10 10:56:21 +02:00
Jacek Caban dd01f8b8f7 jscript: Added Object constructor object implementation. 2008-09-10 10:56:01 +02:00
Jacek Caban 5c05e6c869 jscript: Add static functions to variable objects. 2008-09-09 11:46:17 +02:00
Jacek Caban a0170ad7f9 jscript: Added Function.length implementation. 2008-09-09 11:46:17 +02:00
Jacek Caban 99b4bc2347 jscript: Added member expression implementation. 2008-09-09 11:46:17 +02:00
Jacek Caban 7c6bf428b5 jscript: Added function object stub implementation. 2008-09-09 11:46:17 +02:00
Jacek Caban d7c8c2544d jscript: Added '!==' expression implementation. 2008-09-09 11:46:17 +02:00
Jacek Caban c3938073da jscript: Added '===' expression implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 326cf6e0cf jscript: Added var statement implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 11153d0e05 jscript: Added logical negation implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban b60898353c jscript: Added infrastructure for test scripts. 2008-09-09 11:46:16 +02:00
Jacek Caban a16f205382 jscript: Added call expression implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 652a0121a9 jscript: Added variable object handling. 2008-09-09 11:46:16 +02:00
Jacek Caban fc5a8836e9 jscript: Added scope chain implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 86a787bbc9 jscript: Added assignment test. 2008-09-09 11:46:16 +02:00
Jacek Caban 3c05ffe094 jscript: Added literal expression implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 512505f908 jscript: Added assign expression implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban ca2b797f6a jscript: Added global object implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 2bbd9d4105 jscript: Added AddNamedItem implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban 2a7c9f1b92 jscript: Added identifier expression implementation. 2008-09-09 11:46:16 +02:00
Jacek Caban eb0bb55de2 jscript: Added expression statement implementation. 2008-09-09 11:46:15 +02:00
Jacek Caban 3612bae30c jscript: Added GetMemberName implementation. 2008-09-09 11:46:15 +02:00
Jacek Caban 68326a391d jscript: Added DeleteMemberByName implementation. 2008-09-09 11:46:15 +02:00
Jacek Caban 11d9a49b0a jscript: Added GetNextDispID implementation. 2008-09-09 11:46:15 +02:00
Jacek Caban 61734cd945 jscript: Added InvokeEx implementation. 2008-09-09 11:46:15 +02:00
Francois Gouget 3b3f5118ac jscript: Fix compilation with older bison. 2008-09-08 12:47:22 +02:00
Jacek Caban 5ac404aa9c jscript: Added GetDispID implementation. 2008-09-08 12:47:21 +02:00
Jacek Caban c23ea508a1 jscript: Store more data in DispatchEx object. 2008-09-08 12:47:21 +02:00
Alexandre Julliard dcc26cf806 jscript: Avoid an uninitialized variable warning on older gcc. 2008-09-05 11:32:54 +02:00
Jacek Caban b40b352c8f jscript: Added empty statement implementation. 2008-09-05 11:24:27 +02:00
Jacek Caban a7ede8f272 jscript: Added ParseScriptText test. 2008-09-05 11:24:19 +02:00
Jacek Caban 51a2ccb4c4 jscript: Added SCRIPTSTATE_STARTED implementation. 2008-09-05 11:23:54 +02:00
Jacek Caban 69f8b4b9b2 jscript: Added IActiveScript::ParseScriptText implementation. 2008-09-05 11:23:38 +02:00
Michael Stefaniuc 4d1d16836b jscript: Move 'inline' right after the storage specifier in a declaration. 2008-09-05 11:22:34 +02:00
Jacek Caban 720e8c6252 jscript: Added parser memory managment. 2008-09-04 11:50:45 +02:00
Jacek Caban b51a156ff1 jscript: Added lexer. 2008-09-04 11:50:28 +02:00
Jacek Caban 9ebdd11126 jscript: Added parser. 2008-09-04 11:47:56 +02:00
Jacek Caban db21502d51 jscript: Added IActiveScript::GetScriptState implementation. 2008-09-02 21:34:12 +02:00
Jacek Caban dfbb5b9530 jscript: Added IDispatchEx::Invoke implementation. 2008-09-02 21:34:06 +02:00
Jacek Caban a861c78b92 jscript: Added IDispatchEx::GetIDsOfNames implementation. 2008-09-02 21:33:52 +02:00
Jacek Caban c62c4f8928 jscript: Added IActiveScript::GetScriptDispatch implementation. 2008-09-02 21:33:42 +02:00
Jacek Caban f3eb77610b jscript: Added script site tests. 2008-09-02 21:33:27 +02:00
Jacek Caban 9efb87ea88 jscript: Added IActiveScript::Close implementation. 2008-09-02 21:33:08 +02:00
Jacek Caban 268a92bed2 jscript: Added IActiveScript::SetScriptSite. 2008-09-02 21:33:03 +02:00
Jacek Caban d19cdef8f8 jscript: Added IActiveScriptParse::InitNew implementation. 2008-09-02 21:32:54 +02:00
Andrew Talbot 8c5c913fc0 jscript: Sign-compare warnings fix. 2008-08-28 11:24:49 +02:00
Jacek Caban 7d367d9260 jscript: Added JSGlobal typelib. 2008-08-26 10:56:40 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Francois Gouget 7b404ff9d6 jscript/tests: Fix the '\n's in an ok() call. 2008-04-14 12:40:22 +02:00
Jacek Caban b9117b6166 jscript: Added IObjectSafety tests. 2008-04-10 11:16:12 +02:00
Jacek Caban 7d95c210c8 jscript: Added IObjectSafety implementation. 2008-04-07 13:36:17 +02:00
Jacek Caban 63ebe0191e jscript: Added tests. 2008-03-25 11:44:06 +01:00
Jacek Caban 8d4aa7decf jscript: Added DllCanUnloadNow implementation. 2008-03-25 11:33:52 +01:00
Jacek Caban cd0213bcb9 jscript: Added IObjectSafety stub implementation. 2008-03-21 15:18:58 +01:00
Jacek Caban a0d8cbc6ef jscript: Added IActiveScriptParseProcedure2 stub implementation. 2008-03-21 15:18:55 +01:00
Jacek Caban 9ff3c3955d jscript: Added IActiveScriptProperty stub implementation. 2008-03-19 12:45:44 +01:00
Jacek Caban 12a5898436 jscript: Added IActiveScriptParse stub implementation. 2008-03-19 12:45:39 +01:00
Jacek Caban 0750bfbb1d jscript: Added JScript stub implementation. 2008-03-17 11:43:34 +01:00
Jacek Caban 85b024d5f7 jscript: Added JScript class factory. 2008-03-17 11:43:28 +01:00
Jacek Caban 66c728dec1 jscript: Added Dll[Un]RegisterServer implementation. 2008-03-12 19:20:56 +01:00
Jacek Caban fa23a2c4b6 jscript: Added stub DLL. 2008-03-10 11:30:19 +01:00