Commit Graph

81 Commits

Author SHA1 Message Date
Jacek Caban 2d962d0395 jscript: Use jsstr_t for passing strings to regexp matching functions. 2012-10-18 19:23:07 +02:00
Jacek Caban 3182852293 jscript: Store regexp source as jsstr_t. 2012-10-11 18:53:08 +02:00
Jacek Caban 7f1e3300fe jscript: Use custom string container instead of BSTR. 2012-10-11 18:53:04 +02:00
Francois Gouget a809803a92 jscript: Make regexp_match() static. 2012-10-01 11:59:43 +02:00
Jacek Caban 87d6e2385a jscript: Added support for RegExp.$* properties. 2012-09-20 19:23:08 +02:00
Jacek Caban 6f5475dd26 jscript: Store exception value in script_ctx_t instead of passing it everywhere. 2012-09-19 13:04:16 +02:00
Jacek Caban 6920b289b0 jscript: Use BOOL instead of VARIANT_BOOL in a few more places. 2012-09-17 18:30:03 +02:00
Jacek Caban a3f7f0f7de jscript: Store regexp last_index value as jsval. 2012-09-17 18:29:35 +02:00
Jacek Caban acfd2b98c3 jscript: Always use jsval-based to_string implementation. 2012-09-17 18:29:11 +02:00
Jacek Caban 0bab034fac jscript: Always use jsval-based to_number implementation. 2012-09-17 18:28:52 +02:00
Jacek Caban daf0b8dad2 jscript: Store exception value as jsval_t instead of VARIANT. 2012-09-17 18:28:05 +02:00
Jacek Caban 847aebdc87 jscript: Use jsval instead of VARIANT to pass arguments to builtin functions. 2012-09-17 18:27:36 +02:00
Jacek Caban 932b3dd088 jscript: Added new variable representation and use it for internal function return values. 2012-09-17 18:27:17 +02:00
Jacek Caban 1dfb75d9a3 jscript: Use prototype for builtin RegExp properties. 2012-07-24 13:38:37 +02:00
Jacek Caban d492650332 jscript: Properly handle constructor property for most builtin constructors. 2012-07-16 16:29:31 +02:00
Jacek Caban f8383c3417 jscript: Don't use DISPPARAMS for internal arguments. 2012-06-25 18:12:51 +02:00
Jacek Caban 1532037bcd jscript: Use num_set_int where possible. 2012-06-20 19:21:05 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Jacek Caban 5b83abced7 jscript: Properly test if double may be converted to int32. 2012-05-02 20:14:56 +02:00
André Hentschel 6677982728 jscript: Remove unneeded shadow variable. 2012-04-18 17:13:14 +02:00
Jacek Caban e21588aef7 jscript: Pass correct cpbegin to InitMatch. 2012-04-18 15:44:43 +02:00
Frédéric Delanoy 69f3d23045 jscript: Assorted spelling fixes. 2012-04-18 13:59:44 +02:00
Jacek Caban 451169fb93 jscript: Return double instead of VARIANT from to_number. 2012-03-27 11:43:01 +02:00
Jacek Caban 84ed86c431 jscript: Get rid of no longer needed caller argument from builtin_invoke_t. 2012-03-14 17:34:00 +01:00
Jacek Caban 7d4ba8db63 jscript: Removed no longer needed caller argument from jsdisp_propput_idx. 2012-03-12 16:37:20 +01:00
Jacek Caban 12bc6e0cc7 jscript: Removed no longer needed caller argument from jsdisp_propput_name and jsdisp_propget. 2012-03-12 16:37:20 +01:00
Nikolay Sivov b4987d095f jscript: Use specified expression length to trace it. 2011-11-02 20:01:27 +01:00
Andrew Talbot e67aaab27a jscript: Add breaks to some switch statements. 2011-10-10 13:30:18 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Jacek Caban 7774a0a4c1 jscript: Pass HRESULTs instead of IDSs to throw_* functions. 2010-12-28 16:35:41 +01:00
Piotr Caban b9b11c6c67 jscript: Add index, input and lastIndex properties to regexp functions results. 2010-10-19 15:26:16 +02:00
Jacek Caban ac8d2f1fae jscript: jsdisp_t to IDispatch casts clean up. 2010-09-07 16:01:52 +02:00
Jacek Caban 2ae0f44033 jscript: Added a helper function for setting VARIANT value to jsdisp_t. 2010-09-07 16:01:46 +02:00
Jacek Caban 8c2a548b54 jscript: Rename DispatchEx to jsdisp_t to match jscript naming convention. 2010-09-06 17:09:57 +02:00
Jacek Caban ce67c76328 jscript: Added RegExp.rightContext implementation. 2010-05-27 14:46:42 +02:00
Jacek Caban 9159ddce92 jscript: Added RegExp.leftContext implementation. 2010-05-27 14:46:42 +02:00
Jacek Caban 32c61c5092 jscript: Store match result in script context. 2010-05-27 14:46:42 +02:00
Jacek Caban fe86330d7e jscript: Treat no argument as "undefined" in RegExp.test. 2010-05-27 14:46:42 +02:00
Jacek Caban 0acb7fb1e4 jscript: Added RegExp.leftContext and RegExp.rightContext stub implementation. 2010-05-27 14:46:42 +02:00
Michael Stefaniuc cd6ba3519a jscript: Avoid using long. 2010-05-12 14:13:15 +02:00
Jacek Caban 6f17fa5298 jscript: Fixed String.match implementation for non-global regexps. 2010-04-15 14:19:19 +02:00
Jacek Caban e3ae02433a jscript: Use special case for lastIndex<0 only for global regexps in run_exec. 2010-04-15 14:19:16 +02:00
Alexandre Julliard 0572d81c2d jscript: Add casts to pointer differences in traces. 2010-04-09 16:49:27 +02:00
Jacek Caban 09651321e0 jscript: Moved resetting lastIndex to do_regexp_match_next. 2010-01-25 12:53:22 +01:00
Jacek Caban 7749951d35 jscript: Make RegExp contructor implementation more generic. 2010-01-25 12:53:13 +01:00
Rob Shearman 9dc584d0a2 jscript: Fix various memory and reference count leaks. 2009-12-31 14:27:06 +01:00
Rob Shearman 07183b28eb jscript: Make sure to initialise the string output parameter in run_exec. 2009-12-31 12:12:16 +01:00
Jacek Caban c665b86cd0 jscript: Moved set_last_index call to do_regexp_match_next. 2009-12-08 12:36:01 +01:00
Jacek Caban 9ac7949810 jscript: Correctly handle -1 index in regexp match result. 2009-12-03 10:22:20 +01:00
Jacek Caban d0062198b6 jscript: Added lastIndex setter implementation. 2009-12-01 12:59:44 +01:00