RSS feed
fea0707d
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/06/29 10:10
Support 'radix' argument for Number.prototype.toString.
4792d16f
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/07/05 09:37
Fix 698191: don't call pexp with NULL expression in jsdump.c
ae54eaa6
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/07/05 08:40
Move js_Buffer to jsi.h and fix some potential leaks.
a7aae8f8
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/07/05 09:23
Clamp to INT_MIN/INT_MAX explicitly in jsV_numbertointeger.
e8dad5a3
– Sebastian Rasmussen <sebras@gmail.com>
authored
on 2017/07/04 22:45
Make js_freestate() not segfault on NULL argument.
0a3fc126
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/06/21 09:47
Fix typo in js_strtod that affects parsing exponents.
4c53c271
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/06/21 09:46
Only strip linked binaries in release mode.
c8934909
– Tor Andersson <tor.andersson@artifex.com>
authored
on 2017/06/19 07:50
Silence a few compiler warnings for harmless, impossible cases.
f0ed0d0b
– Tor Andersson <tor.andersson@gmail.com>
authored
and Tor Andersson <tor.andersson@artifex.com>
committed
on 2017/06/15 12:46
Use separate directories for debug and release builds.
a6e84431
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/06/15 12:22
Add separate install-static and install-shared targets.
ca22ed48
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/06/14 08:37
Add pkgconfig file and shared library target.
03c889d5
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/06/14 08:37
Update docs.
2dced7cf
– Tor Andersson <tor@ccxvii.net>
authored
on 2017/06/05 06:20
Update docs website.
be0685e8
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/23 08:13
Optimize js_isarrayindex.
ebbc191f
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/23 06:54
Add fast integer special case in jsV_numbertostring.
3f5f3034
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/23 09:13
Fix grisu2 code to build on MSVC.
1399bbe2
– Sebastian Rasmussen <sebras@gmail.com>
authored
on 2017/05/22 18:17
Free script buffer read from standard input.
c5296bf4
– Sebastian Rasmussen <sebras@gmail.com>
authored
and Tor Andersson <tor.andersson@gmail.com>
committed
on 2017/05/21 12:08
Add sanitize build variant.
bfebb7aa
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/22 10:48
Use grisu2 algorithm for locale independent dtoa. Use BSD strtod.
5f83cc98
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/16 09:05
Add recursion overflow checks in parser.
0365576b
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/16 09:16
Emit line numbers for each entry in compound literals.
6a85c78a
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/16 09:08
Fix error message when missing stack traces in main.c
fb32b5c8
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/16 07:55
Add a js_setreport callback function to report warnings.
50281c9c
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/12 08:01
Update docs.
d2c8e710
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/12 07:40
Fix public header so it can be used with C++.
134134e8
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/09 10:23
Don't do unprotected js_tostring calls in js_dostring/file.
2b4d05a5
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/20 19:06
Revert 'Maintain order of property enumeration by keeping a linked list.'
f18f2c0c
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/09 09:17
Don't force 'this' to be the global object in js_dostring/dofile.
44d4109a
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/05/09 09:16
Use the line number of the lookahead token when building the syntax tree.
617261bf
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/26 07:52
Update docs with userdata callbacks.
2e7550e7
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/20 19:19
Fix bounds checks for string object array accesses.
32bf345f
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/21 07:03
Fix stack management error in JSON.stringify.
24b19973
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/20 11:12
Add setjmp.h to public header (since js_try is a macro over setjmp).
50ee2a2e
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/20 11:12
Update docs to mention we don't support zero valued chars in strings.
2296f47e
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/20 10:54
Make Error.prototype.toString conform to the spec.
c1bd0672
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/19 19:49
Don't truncate error messages.
9321f8fe
– Tor Andersson <tor.andersson@gmail.com>
authored
on 2017/04/19 19:49
Check for cyclic structures in JSON.stringify.
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.
Next