Commit Graph

1171 Commits

Author SHA1 Message Date
Jacek Caban
ee880b28c5 jscript: Fixed BSTR leak. 2013-02-19 19:50:53 +01:00
Jacek Caban
1926b5617d jscript: Use to_int32 in to_uint32 implementation. 2013-02-19 19:50:53 +01:00
Piotr Caban
f16c9877bd jscript: Avoid copying regular expression results. 2013-02-19 19:50:40 +01:00
Piotr Caban
67c7cc5517 jscript: Cleanup regular expressions engine API. 2013-02-19 19:50:36 +01:00
Piotr Caban
4c6a1d1d92 jscript: Rename JSREG_* defines to REG_*. 2013-02-19 13:47:57 +01:00
Piotr Caban
06e8d830e2 jscript: Moved generic regular expressions code to separate file. 2013-02-15 14:43:17 +01:00
Piotr Caban
5f06c6de28 jscript: Make context generic in internal regular expression functions. 2013-02-15 14:43:09 +01:00
Piotr Caban
deca5e1aca jscript: Move code operating on JSRegExp out of do_regexp_match_next function. 2013-02-15 14:43:06 +01:00
Piotr Caban
1d61b4581a jscript: Don't use jsstr_t in js_NewRegExp. 2013-02-15 14:43:04 +01:00
Piotr Caban
89711e35c1 jscript: Don't use jsstr_t in JSRegExp structure. 2013-02-15 14:43:01 +01:00
Piotr Caban
02d63cb312 jscript: Rename jsheap_t to heap_pool_t. 2013-02-15 14:42:58 +01:00
Andrew Talbot
6b5a18f619 jscript: Avoid signed-unsigned integer comparisons. 2013-02-11 11:46:05 +01:00
Piotr Caban
c3bdaf59a8 jscript: Update buffer size in do_regexp_match_next. 2013-01-28 13:59:54 +01:00
Piotr Caban
c45c7bf94c jscript: Fixed a leak in regexp_match function. 2013-01-25 17:33:05 +01:00
Piotr Caban
1548d0ef7b jscript: Fixed a leak in do_regexp_match_next function. 2013-01-25 17:31:21 +01:00
Jacek Caban
7726e01844 jscript: Don't pass 'this' argument to DISPID_VALUE of pure IDispatch interfaces. 2012-12-24 13:33:14 +01:00
Jacek Caban
99d1a8529b jscript: Added null and undefined values support to to_object. 2012-12-21 17:28:55 +01:00
Jacek Caban
0e6d3b8611 jscript: Optimized concatenation of empty strings. 2012-12-18 12:37:14 +01:00
Jacek Caban
f0c0c14241 jscript: Moved string concatenation to helper function. 2012-12-18 12:37:08 +01:00
Jacek Caban
f780ae0f86 jscript: Fixed deleting property by ID from IDispatchEx interface. 2012-12-17 20:31:19 +01:00
Jacek Caban
2d7a3bb482 jscript: Fixed deleting properties by name from IDispatchEx interface. 2012-12-17 20:31:18 +01:00
Jacek Caban
7202f1a32f jscript: Fixed deleting properties of pure dispatch interface. 2012-12-17 20:31:18 +01:00
Jacek Caban
4dbd777de2 jscript: Fixed deleting nonexistent identifiers. 2012-12-17 20:31:17 +01:00
Jacek Caban
7f07bb9a7a jscript: Fixed deleting nonexisting properties from member expression. 2012-12-17 20:31:16 +01:00
Jacek Caban
9de9c353ac jscript: Fixed Number.toFixed for value 0 with 0 precision. 2012-12-17 20:31:16 +01:00
Jacek Caban
0f0f76ce6b jscript: Allow poping multiple stack values at the time. 2012-12-14 11:54:47 +01:00
Jacek Caban
10c2a2bba4 jscript: Properly handle return value evaluation in comma expression. 2012-12-14 11:54:44 +01:00
Jacek Caban
1000a6bf34 jscript: Ensure correct stack state for non-returning expression evaluation in compile_expression. 2012-12-13 12:24:15 +01:00
Jacek Caban
162f2e6be2 jscript: Moved eval return value logic to specific statement handlers. 2012-12-13 12:24:07 +01:00
Jacek Caban
2c41c4c1cb jscript: Added SCRIPTTEXT_ISEXPRESSION tests. 2012-12-12 20:23:20 +01:00
Jacek Caban
5e4a16819e jscript: Added support for SCRIPTTEXT_ISEXPRESSION. 2012-12-12 20:23:17 +01:00
Jacek Caban
b568d88815 jscript: Throw an error if return statement is in eval code. 2012-12-12 20:23:13 +01:00
Jacek Caban
e8766bb66f jscript: Added more useful debug traces. 2012-12-07 12:04:25 +01:00
Jacek Caban
11f41aa05a jscript: Treat VT_UNKNOWN VARIANTs supporting IDispatch interface as VT_DISPATCH. 2012-12-05 20:23:51 +01:00
Jacek Caban
0e5933f70a jscript: Added support for indexed string access. 2012-11-30 19:12:16 +01:00
Jacek Caban
956cb343b2 jscript: Cut arguments circular reference after returning from the function. 2012-11-30 19:12:15 +01:00
Jacek Caban
d9d8c8b716 jscript: Added support for DontDelete attribute and use it for arguments object. 2012-11-30 19:12:15 +01:00
Jacek Caban
466fae6444 jscript: Added disp_delete_name helper and use it in interp_delete. 2012-11-30 19:12:14 +01:00
Jacek Caban
e6fc8d9b0c jscript: Added disp_delete helper and use it in interp_delete_ident. 2012-11-30 19:12:14 +01:00
Jacek Caban
6b56c65f8d jscript: Alias arguments properties to real values. 2012-11-30 19:12:14 +01:00
Jacek Caban
ac41380b94 jscript: Fixed some Coverity issues. 2012-11-27 17:00:45 +01:00
André Hentschel
6804ae26fb jscript: Fix possible NULL pointer access in heap_strdupW. 2012-11-19 16:36:41 +01:00
Jacek Caban
55f0663e3e jscript: Use proper object as 'this' when function is called on an activation object. 2012-11-14 16:37:49 +01:00
Jacek Caban
74a83150ab jscript: Fixed leak in disp_propget. 2012-11-09 16:42:47 +01:00
Jacek Caban
25ffa3d97b jscript: Added more enumerable attribute tests. 2012-11-05 17:44:16 +01:00
Jacek Caban
78652f7602 jscript: Added propertyIsEnumerable implementation. 2012-11-05 17:44:16 +01:00
Jacek Caban
ea34e01493 jscript: Use jsdisp_propput_dontenum where appropriate. 2012-11-05 17:44:15 +01:00
Jacek Caban
57f7a6fa4e jscript: Create non-enumerable properties in jsdisp_propput_const. 2012-11-05 17:44:15 +01:00
Jacek Caban
7491d480a9 jscript: Use prop_put in jsdisp_propput_dontenum. 2012-11-05 17:44:14 +01:00
Jacek Caban
12adc67782 jscript: Fixed some leaks (coverity). 2012-10-31 16:12:27 +01:00