RSS feed
84faaff8
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/29 11:12
Add user context pointer and flag argument to js_State constructor.
65383080
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/29 11:01
Add short strings (with data embedded in js_Value).
4eae3ec1
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/29 08:59
Make js_toprimitive (and by consequence js_tonumber/string/...) in-place.
7bb55ad3
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/29 07:39
Add js_itoa for faster conversion of unsigned int to string.
0cbd5326
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/28 11:02
Garbage collect (some) strings.
6afabf44
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/17 10:31
Fix ifdef order to allow building jsdate on cygwin.
95e5aebc
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/17 10:26
Remove duplicate js_newerror prototype.
bc51de87
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/17 07:21
Use of try/catch must disqualify a function from being lightweight.
4a7ffbf2
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/10 07:19
Fix bug in Math.random().
339abac8
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/07 11:07
Optimize js_stringtofloat to use integer conversion when possible.
9f181651
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/07 11:00
Track array sparseness to be smarter in jsV_resizearray.
9ded251f
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/05 20:17
Oops. Remove stray printf.
98744d09
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/05 12:36
Fix bug in Array.prototype.splice().
9ed09147
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/05 12:35
Fix bug in js_setlength when used for relative indices.
a9e6b4cd
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/11/01 09:01
Fix bug in maintaining property enumeration list.
051d504c
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/31 12:58
Add missing js_endtry call in Fp_toString.
3f69364c
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/28 09:44
JSON.stringify: support 'space' argument.
64cd5867
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/28 08:35
Add static to some functions that should have it.
45c62b0f
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/28 08:21
Fix JSON parsing problems:
3fe66354
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/27 12:11
Differentiate between "global code" and "eval code" scripts.
7d771cb0
– Szabolcs Nagy <nsz@port70.net>
authored
and Tor Andersson <tor.andersson@artifex.com>
committed
on 2014/10/16 17:57
Fix js_strtod to set the sign of -0 correctly
85d4c8a5
– Szabolcs Nagy <nsz@port70.net>
authored
and Tor Andersson <tor.andersson@artifex.com>
committed
on 2014/10/16 17:52
Fix Math.min and Math.max to accept zero args and handle -0
a88e9d4c
– Szabolcs Nagy <nsz@port70.net>
authored
and Tor Andersson <tor.andersson@artifex.com>
committed
on 2014/10/16 17:44
Fix Math.atan2 and Math.pow argument evaluation order
e107fcf8
– Szabolcs Nagy <nsz@port70.net>
authored
and Tor Andersson <tor.andersson@artifex.com>
committed
on 2014/10/16 17:40
Fix Math.abs to use fabs instead of int abs
79010381
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/16 09:50
Add public property iterator function.
43de5a09
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/15 09:12
Implement Math.round according to the (stupid) specification.
46aca3b4
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/13 12:34
Fix return value of RegExp.prototype.exec()
ee6c9c53
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/13 12:34
Optimize isalpha/digit macros in lexer.
8ab50244
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/13 12:33
Fix 'make test' target.
5ba75dac
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/09 12:14
Allow identity escapes in regular expressions.
15795e2b
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/09 11:18
Allow unescaped / inside classes in regular expression tokens.
8a659b28
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/10/09 11:08
Typedef instruction and check addresses and literals for overflow when emitting code.
a381ba19
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/09/25 10:19
Change error message prefix to 'mujs:'.
9512755c
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/09/25 10:18
Use LDFLAGS when linking.
aba272ac
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/09/24 12:02
Fix bug where some environment records were not marked by GC.
2e196dd0
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/09/24 10:05
Strip backslash from escaped / when lexing regular expressions.
bc845cbd
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/09/22 11:47
Optimize lexnumber when using strtod.
93cc0584
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/09/01 12:56
Add portable strtod implementation.
1f137b8e
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/07/31 12:52
Improve MuJS interactive shell.
e7314780
– Ray Johnston <ray.johnston@artifex.com>
authored
on 2014/07/19 14:42
Fix compilation problem on VS 2013
7bab97a7
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/06/12 09:42
Tweak argument order in js_is/touserdata.
8f7c6499
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/06/11 08:58
Move ToPrimitive hint flags into jsvalue.h
3094ffc9
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/04/30 09:21
Add "make tarball" rule to create release archives.
b37173e5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/26 10:27
Silence "no return value"/"unreachable statement" warnings.
89dc0c8c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/26 09:09
Fix warnings on Windows.
9e41afff
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2014/03/21 11:55
Add signbit() implementation for MSVC.
546f0330
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/20 08:37
Update README.
40d4dff5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/20 08:37
Add debug, release and install targets.
48aed4bb
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/19 19:07
Name the library: MuJS!
83dd92f0
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/18 11:38
Add and use dtoa function from plan9/libfmt.
375c8a8e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/13 10:48
Use explicit MAX/MIN_VALUE constants.
8f87c0a8
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/13 10:41
Parse 0X1234 as hexadecimal numbers in ToNumber.
42234348
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/13 10:40
Fix attributes of numeric constants.
d664d08a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/13 10:23
Fix compilation of -0.
5dbd1201
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/13 09:36
Fix several constructors.
858d5890
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/13 09:11
Handle empty arguments to Function constructor.
a6ba5356
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/12 12:58
Makefile tweaks.
3e050a94
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/12 12:48
Rename libjs.c to one.c and commit it.
d366e4b8
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/09 12:13
Don't pass argc to functions. Use js_gettop instead.
1c52e8b7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/12 11:19
Fix semantics of x++: return ToNumber(x) rather than x.
46b9d8c7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/12 10:42
Check that operand to 'in' is an object (no implicit conversion).
eed40306
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/12 10:35
Use strtod when lexing numbers.
dc386479
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 17:33
Add and use js_touint16.
44ddedea
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 17:26
Some tidying.
41693fa6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 17:21
Add protected functions to load and call code.
222ae806
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 17:00
Add user customisable panic function.
b24fe473
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 16:40
Handle NaN and Infinity in Number.toFixed and friends.
69cb649c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 16:23
Use array helper functions.
c87898e6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 11:48
Implement Function.prototype.bind().
35cc7492
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/06 16:20
Fix regex.c test function printouts.
d608b2f9
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/03 19:05
Check bounds of date elements in Date.parse().
9eb0a65f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/03 18:47
Improve date parsing.
e4cafa6d
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/03 18:03
Always use ISO 8601 formats for date string formatting.
5961e390
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/03 14:14
Fix fmod use with negative (pre-1970) times.
5b567dd5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/03/03 13:30
Make date formatting and parsing re-entrant and libc independent.
b4223dfb
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/28 15:21
Use gettimeofday/_ftime if available for more accurate times.
7bac090c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/28 12:13
Tweak js_strtod.
abd59674
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/28 12:13
Allow custom allocator.
67b33c5a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/28 09:24
Handle malloc failure by throwing exceptions.
598de57d
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/27 08:49
Fix ToNumber from strings and parseInt and parseFloat.
43384d91
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/27 08:12
Parse \0 and \x00 and \u0000 in regular expressions.
9cb65f0e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/27 08:11
Check for invalid character escapes in regular expressions.
bfe56992
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 15:22
Improve Resub API.
01d85a49
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 12:35
Move nelem() macro into jsi.h
90c2ba0b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 11:00
Nul-terminate strings created by toUpper/LowerCase.
32ac46df
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 10:58
Fix relational equality with NaN.
7562052e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 10:30
Handle two-digit backreferences and captures.
fee803ad
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 10:06
Check for infinite loops matching the empty string at parse time.
b60c1cca
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 13:24
Use explicit backtracking stack rather than recursion.
697eee89
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 11:19
Use macro for magic number indicating an infinite number of repeats.
fd0ff38a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/26 07:57
Remove -Werror.
e7e1e0de
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 15:43
Build on MSVC 2005.
c67ca523
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 15:08
Remove more dead code.
a42d36ba
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 06:35
Potential win32 MSVC compilation fixes.
e766ed71
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 06:32
Always open files in binary mode.
11bcefd5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/25 08:40
Don't recurse on second branch of "split" instruction.
45e3a319
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/24 20:23
Some -pedantic warning fixes.
a98748a0
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/24 20:01
Use clang by default and enable more warnings.
70b0d8b9
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/24 19:56
Change C functions to not have a return value.
e4a6860f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/24 19:22
More signedness fixes.
Next