shithub: libmujs

RSS feed

e676a871 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/19 12:14
JSON.stringify replacer callback.

8e7d5795 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/19 09:22
JSON.parse reviver callback.

58b44200 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/17 19:25
Add function-level linking.

1062e70c – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/17 11:01
Track strictness during runtime based on 'use strict' pragma.

8a26e209 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/17 11:00
Compile functions with per-function strictness.

75cab70a – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/17 09:03
Handle undefined this at the OP_THIS level.

9e9f168c – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/17 10:09
Add strictness check when setting a property that only has a getter.

aa18ef32 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/04 11:57
Update documentation to note our use of CESU-8 encoded strings.

45208d73 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/03 08:31
Be stricter when parsing JSON strings.

05aeef46 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/03 08:13
Use regular number to string conversion in JSON.stringify.

dbeda99b – Tor Andersson <tor.andersson@gmail.com> authored on 2017/04/03 08:09
Fix JSON number parsing.

581412fb – Tor Andersson <tor@ccxvii.net> authored on 2017/03/30 09:00
Optimize regexp interpreter loop.

872cef58 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/03/29 11:55
Bug 697700: Fix typo and add more range checks in parseDateTime.

14b9aab1 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/03/28 19:02
Change to ISC license.

4006739a – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/24 09:42
Fix 697497: Ensure array length is positive.

8f62ea10 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/24 09:32
Fix 697496: Check NAN before accessing array in MakeDay().

7e00def3 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/20 09:36
Fix 697486: Workaround non-c99 compilers griping about trailing commas.

336097c5 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/20 09:23
Reimplement Math.round using floor().

f32bcea8 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/20 09:22
Avoid C++ comments.

7318098a – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/17 17:18
Add a simple example.

0bb8f448 – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/13 11:13
Update docs.

fa3d30fd – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/12 10:13
Fix 697448: Limit the maximum program size to something reasonable.

77ab465f – Tor Andersson <tor.andersson@gmail.com> authored on 2017/01/12 09:47
Fix 697401: Error when dropping extra arguments to lightweight functions.

12a66c0a – Tor Andersson <tor.andersson@artifex.com> authored and Tor Andersson <tor.andersson@gmail.com> committed on 2016/12/23 11:28
Fix printf format warnings.

86feee5b – Tor Andersson <tor.andersson@artifex.com> authored and Tor Andersson <tor.andersson@gmail.com> committed on 2016/12/23 11:13
Pacify valgrind: it doesn't know realloc(p, 0) is equivalent to free(p).

eafe7943 – Tor Andersson <tor.andersson@artifex.com> authored and Tor Andersson <tor.andersson@gmail.com> committed on 2016/12/19 12:52
Handle non-tty stdin more gracefully in example shell tool.

fd003ece – Tor Andersson <tor@ccxvii.net> authored on 2016/12/02 09:56
Fix 697381: check allocation when compiling regular expressions.

129dff49 – Tor Andersson <tor@ccxvii.net> authored on 2016/11/17 11:21
Silence gcc 6 indentation warning.

a0ceaf50 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/10/31 09:05
Fix 697244: Check for incomplete escape sequence at end of input.

b6de34ac – Tor Andersson <tor.andersson@artifex.com> authored on 2016/10/31 08:58
Fix 697281: numeric overflow in regular expression repetition count.

50081057 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/10/26 10:31
Fix 697172: degenerate labeled break/continue statement.

a5c747f1 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/10/25 10:08
Fix 697171: missed an operand in the bytecode debugger dump.

5c337af4 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/09/21 12:01
Fix bug 697142: Stale string pointer stored in regexp object.

5000749f – Tor Andersson <tor.andersson@artifex.com> authored on 2016/09/21 12:02
Fix bug 697141: buffer overrun in regexp string substitution.

8c805b4e – Tor Andersson <tor.andersson@artifex.com> authored on 2016/09/21 11:21
Fix bug 697140: Overflow check in ascii division in strtod.

a3a4fe84 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/09/20 13:19
Fix bug 697137: off by one in string length calculation.

f8234d83 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/09/20 13:11
Fix bug 697136.

b3dece5f – Robin Watts <robin.watts@artifex.com> authored on 2016/09/14 12:04
Make some static functions static inline.

805e0f0f – Tor Andersson <tor@ccxvii.net> authored on 2016/09/09 15:56
Add js_newobjectx to create an object with a specific prototype object.

a4158ae6 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/07/04 11:19
Fix call stack overflow triggering off-by-one too late.

9219eca1 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/06/23 09:54
Fix JSON formatting of strings with unicode characters.

89793bba – Tor Andersson <tor.andersson@artifex.com> authored and Robin Watts <robin.watts@artifex.com> committed on 2016/06/02 07:52
Fix Object.prototype.toString when called with null or undefined this.

066a0674 – Robin Watts <robin.watts@artifex.com> authored on 2016/06/10 11:19
Correct #ifdeffery for VS 2012

c596dd58 – Tor Andersson <tor@ccxvii.net> authored on 2016/06/01 11:22
Fix stack trace off-by-one error when skipping the top level entry.

1930f359 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/05/04 08:13
Fix \s and \S ranges in regular expression.

1b5cc3a0 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/28 09:33
Improve debugging stack trace print-out.

361b6ca9 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/28 09:15
Add CheckObjectCoercible in String prototype functions.

e4c77a78 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/28 09:04
Handle null/undefined argArray in Function.prototype.apply().

a2fcfd69 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/28 08:57
Define built-in functions with the full name.

4b68d523 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/28 08:48
Add js_iscoercible function.

5aed7d6e – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/28 08:40
Fix bug in Function.prototype.bind().

3e3c382a – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/27 12:26
Avoid using 'unsigned int'.

7c7a9cd7 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/04/27 11:54
Oops! Forgot to use the allocator in a few places...

44842719 – Tor Andersson <tor@ccxvii.net> authored on 2016/04/19 11:36
Fix typo in parseInt: radix was limited to 2-32 but it should be 2-36.

c90c3232 – Tor Andersson <tor@ccxvii.net> authored on 2016/04/15 08:18
Fix bugs introduced when moving from argc to js_gettop.

aba66442 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/03/01 16:52
Add delete callback to userdata objects.

2db68ab8 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/03/01 16:51
Chain if-else statements in has/put/delproperty.

624f975a – Tor Andersson <tor.andersson@artifex.com> authored on 2016/02/22 15:19
Set the internal length attribute for C constructors.

0b71921d – Tor Andersson <tor.andersson@artifex.com> authored on 2016/02/05 12:24
Document js_try and js_endtry.

7bbec417 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/02/05 11:43
Add callback example to docs to show how to use js_ref.

a462ed44 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/02/01 09:00
Don't use unsafe _snprintf on MSVC older than 2015.

0fd82b60 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/01/18 08:33
Make js_try, js_savetry and js_endtry public functions/macros.

f5b3d15f – Tor Andersson <tor.andersson@artifex.com> authored on 2016/01/12 11:42
Make convenience stack manipulation functions public.

4e6c74b5 – Tor Andersson <tor.andersson@artifex.com> authored on 2016/01/11 12:02
Add userdata has/put callbacks for custom properties.

d800b59f – Tor Andersson <tor.andersson@artifex.com> authored on 2016/01/06 08:43
Clean up stack on errors in js_pcall and js_pconstruct.

c1c637b7 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/12/17 06:24
Implement js_replace.

0b9d3be3 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/12/16 06:49
Remove 'report' argument from js_dostring.

08276111 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/09/29 06:18
Add documentation.

26996070 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/09/28 11:27
Rework try macros to simplify setjmp expression.

17019d29 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/04/08 10:05
Rewrite parseInt to follow spec.

78ed7e6a – Tor Andersson <tor@ccxvii.net> authored on 2015/09/14 07:57
Use fabs rather than integer abs for taking absolute value of floats.

eed76191 – Tor Andersson <tor@ccxvii.net> authored on 2015/08/14 08:05
Rename our internal regex.h to not collide with system regex.h.

c1ad1ba1 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/02/02 12:27
Fix mistake when compiling array literals.

d9ed73fd – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 11:54
strict mode: 'this' is undefined for normal function calls.

d05415b0 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 19:00
strict mode: No redefining 'eval' or 'arguments'.

44c0e12d – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 17:37
strict mode: Check duplicate property names.

63a542aa – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 16:34
strict mode: No duplicate formal parameters.

62c6e3f6 – Tor Andersson <tor.andersson@artifex.com> authored on 2015/01/07 16:33
strict mode: No delete operator with an unqualified name.

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.

Next