Commit Graph

15 Commits

Author SHA1 Message Date
Sebastian Lackner 69437afed1 jscript: Change prototype of jsstr_alloc_buf and fix some error handling issues.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 10:05:46 +09:00
Sebastian Lackner d36ae568c1 jscript: Fix definition of JSSTR_MAX_LENGTH.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-06 11:29:13 +09:00
Sebastian Lackner 7369836323 jscript: Simplify jsstr_release implementation.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-06 11:29:00 +09:00
Jacek Caban 2ac35ac441 jscript: Use single string instance for strings representing NULL BSTR instead of a flag. 2013-04-24 14:34:26 +02:00
Jacek Caban 8541f94e2c jscript: Store concatenated strings as a rope string to avoid useless copying. 2013-04-23 17:20:14 +02:00
Jacek Caban 29d9d668f7 jscript: Moved string buffer to separated struct from jsstr_t. 2013-04-01 12:19:06 +02:00
Jacek Caban 618b88ef30 jscript: Added jsstr_extract helper and use it in String.charCodeAt implementation. 2013-03-28 17:36:53 +01:00
Jacek Caban e3d940334f jscript: Added jsstr_flatten helper and use it to access string buffer in date.c. 2013-03-26 12:15:57 +01:00
Jacek Caban 4ece40f86b jscript: Return buffer pointer separately from jsstr_t from jsstr_alloc_len. 2013-03-25 14:10:08 +01:00
Jacek Caban d7f24b0956 jscript: Reuse static instance of 'undefined' string. 2013-03-08 18:11:05 +01:00
Jacek Caban 29ff14493d jscript: Added jsstr_flush helper and use it in array_join. 2013-03-05 12:43:16 +01:00
Jacek Caban 6e3895ad76 jscript: Added jsstr_substr helper and use it in String object implementation. 2013-03-04 11:19:27 +01:00
Jacek Caban f0c0c14241 jscript: Moved string concatenation to helper function. 2012-12-18 12:37:08 +01:00
Michael Stefaniuc f3d15811b4 jscript: Move 'inline' to the beginning of the declaration. 2012-10-15 15:24:37 +02:00
Jacek Caban 7f1e3300fe jscript: Use custom string container instead of BSTR. 2012-10-11 18:53:04 +02:00