shithub: libmujs

RSS feed

543115ba – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 13:08
strict mode: Errors when extending non-extensible objects.

91dc20d3 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 13:06
strict mode: Errors on read-only and non-configurable properties.

b51b05b2 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 12:24
strict mode: No automatic creation of global variables.

7bdfc5e2 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 12:08
strict mode: No arguments.callee property.

ffa8de1f – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 11:47
strict mode: eval code is evaluated in its own scope.

e9f4ecc3 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 11:45
strict mode: No 'with' statements allowed.

8f790df9 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 11:45
Add strict mode flag to constructor.

c6d17c7f – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/14 07:01
Add finalize callback to userdata objects.

40dd4a25 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/08 10:44
Add eval op-code to implement proper 'this' binding for eval code.

e673ae66 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/08 10:18
Clean up some error messages.

05c2ee9e – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/08 09:28
Use last resort '[object]' ToPrimitive rather than throwing an error.

cb6facdf – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/08 09:16
Remove redundant type checking in iterator opcode.

b0059285 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 14:59
Add paranoid asserts to check js_Value struct layout and alignment.

c1edf586 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 14:38
Apply short string changes in jsvalue.c as well.

9281c68b – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 12:32
Use offsetof instead of hardcoded short string length.

3ceaeb15 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 12:09
Use manual loop instead of memcpy/strcpy when creating short strings.

1a1d2669 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 09:03
Annotate fall through switch cases.

9b151f15 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 08:10
Fix test for empty string in String.prototype.split with regexp.

5e3e9fdd – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 08:03
Check error for all fseek/ftell calls.

13c7d26d – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/05 07:57
Deoptimize isalpha macro due to potential overflow errors.

15ef29e7 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/02 08:47
Use memcpy instead of strcpy when copying short strings.

b4fb1266 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/02 08:39
Rename next/accept/expect macros in lexer and parser.

0ac4cce8 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/02 08:39
Fix bound checks in jsdump.

720aec8c – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/02 08:38
Fix memory leak when freeing js_State.

9bc5fec0 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/12/11 11:45
Fix makefile issues.

031513b2 – Tor Andersson <tor@ccxvii.net> authored on 2014/12/02 20:18
Add stack traces to error objects.

5a486710 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/12/01 11:41
Clean up cassign[op] arguments.

8c566e16 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/11/29 15:00
Fix bug in js_pushlstring.

6fa0097d – Tor Andersson <tor.andersson@artifex.com> authored on 2014/11/29 11:16
Silence GCC warning.

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().

Next