Commit Graph

73 Commits

Author SHA1 Message Date
Jacek Caban 571125455e jscript: Fixed replace string parsing.
Reported by Dan Kegel.
2009-10-22 10:42:55 +02:00
Jacek Caban 98b5a1c6e8 jscript: Separate flags parsing from regexp creating. 2009-10-14 15:10:24 +02:00
Piotr Caban 662a8525f4 jscript: Fixed Global functions lengths. 2009-10-14 11:23:40 +02:00
Marcus Meissner bc4633a25b jscript: Initialize val_str (Coverity). 2009-09-28 12:54:05 +02:00
Jacek Caban f8c2b42de4 jscript: Allow 'this' to be host object in builtin functions. 2009-09-23 16:25:23 +02:00
Jacek Caban 5dcd182e8f jscript: Avoid using dispex->ctx. 2009-09-23 16:25:13 +02:00
Jacek Caban a5e8281947 jscript: Avoid calling JS builtin functions directly. 2009-09-23 16:20:44 +02:00
Jacek Caban 5511f7173f jscript: Pass script_ctx_t to builtin functions. 2009-09-23 16:19:44 +02:00
Jacek Caban f14c5f074a jscript: Get rid of lcid argument in builtin function implementations. 2009-09-23 16:19:31 +02:00
Jacek Caban fadfab5ff6 jscript: Use script LCID in *disp_propput* functions. 2009-09-23 16:19:11 +02:00
Jacek Caban 1f565ac095 jscript: Use script global LCID in *disp_call* functions. 2009-09-23 16:18:54 +02:00
Jacek Caban d918a1890b jscript: Added Function.toString implementation for builtin functions. 2009-09-17 10:07:51 -05:00
Jacek Caban 8988156255 jscript: Added String.lastIndexOf implementation. 2009-09-01 15:59:30 +02:00
Jacek Caban 81fc9ade37 jscript: Code clean up. 2009-09-01 15:59:15 +02:00
Piotr Caban b9d7ebd95a jscript: Added String.substr implementation. 2009-08-24 15:17:32 +02:00
Piotr Caban 3da1773cc3 jscript: Fixed String's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban 79f45c5374 jscript: Inherit some String functions from Object. 2009-08-12 17:04:37 +02:00
Piotr Caban 59cf9c449e jscript: Added $ handling to String.replace. 2009-08-11 17:29:37 +02:00
Piotr Caban 8dd1d9b92e jscript: Throw TypeErrors when _value functions are used as a function. 2009-07-22 14:42:50 +02:00
Marcus Meissner bd2b6bda6b jscript: Initialize val_str to NULL (Coverity). 2009-07-20 12:19:28 +02:00
Piotr Caban c44056d4b2 jscript: Added String_fromCharCode implementation. 2009-07-14 10:46:44 +02:00
Piotr Caban 91ce0dd6a3 jscript: Fix String_match implementation. 2009-07-13 12:21:22 +02:00
Piotr Caban df8195668d jscript: Make String_toUpperCase generic. 2009-07-13 12:20:59 +02:00
Piotr Caban ab8168141b jscript: Make String_toLowerCase generic. 2009-07-13 12:20:54 +02:00
Piotr Caban 973f3be02c jscript: Make String_substring generic. 2009-07-13 12:20:50 +02:00
Piotr Caban 09e1b37fea jscript: Make String_split generic. 2009-07-13 12:20:44 +02:00
Piotr Caban 2f28956f06 jscript: Make String_slice generic. 2009-07-13 12:20:39 +02:00
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 41e297af11 jscript: Added stub implementation of Date constructor properties. 2009-07-03 13:28:19 +02:00
Piotr Caban eb203a149b jscript: Remove NaN related FIXMEs. 2009-06-04 12:12:56 +02: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 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