Jacek Caban
baa07477d2
jscript: Bettter handling of to_number result in String.indexOf.
2012-05-03 20:44:09 +02:00
Jacek Caban
621180e81c
jscript: Better handling of to_integer result in String.charCodeAt.
2012-05-03 20:44:08 +02:00
Jacek Caban
0143201eac
jscript: Better handling of to_integer result in String.charAt.
2012-05-03 20:44:08 +02:00
Jacek Caban
30acd235dd
jscript: Removed unused do_*_tag_format arguments.
2012-04-27 12:02:31 +02:00
Jacek Caban
c1cb8f29b0
jscript: Correctly handle empty matches in String.replace.
2012-04-18 15:44:47 +02:00
Jacek Caban
78fc648dec
jscript: Replace only the first match for non-regexp pattern in String.replace.
2012-04-09 17:16:00 +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
07be020a48
jscript: Removed no longer needed caller argument from jsdisp_call_value.
2012-03-12 16:37:19 +01:00
Jacek Caban
7774a0a4c1
jscript: Pass HRESULTs instead of IDSs to throw_* functions.
2010-12-28 16:35:41 +01: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
32c61c5092
jscript: Store match result in script context.
2010-05-27 14:46:42 +02:00
Jacek Caban
6f17fa5298
jscript: Fixed String.match implementation for non-global regexps.
2010-04-15 14:19:19 +02:00
Jacek Caban
09651321e0
jscript: Moved resetting lastIndex to do_regexp_match_next.
2010-01-25 12:53:22 +01:00
Jacek Caban
43bc4af02d
jscript: Added String.replace implementation.
2010-01-25 12:53:18 +01:00
Rob Shearman
9dc584d0a2
jscript: Fix various memory and reference count leaks.
2009-12-31 14:27:06 +01:00
Jacek Caban
1045bffcc0
jscript: Fixed String.split for missing regexp separator.
2009-12-08 12:36:05 +01:00
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
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
Jacek Caban
b67e875eed
jscript: Added String.split implementation for non-regexp arguments.
2008-10-08 12:18:45 +02:00
Jacek Caban
43c7907f31
jscript: Added String.indexOf implementation.
2008-10-07 12:16:56 +02:00
Marcus Meissner
db447d0f66
jscript: Fixed crash in run test.
2008-09-29 17:22:46 -05: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
Francois Gouget
db031bff74
jscript: Add a trailing '\n' to a Wine trace.
2008-09-24 13:12:16 +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
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
4731f17435
jscript: Added String.charAt implementation.
2008-09-19 12:07:53 +02:00
Jacek Caban
b48489be3c
jscript: Added String.length implementation.
2008-09-18 12:23:01 +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
8482abe29c
jscript: Added String constructor object.
2008-09-10 10:56:21 +02:00