shithub: libmujs

RSS feed

88b31f34 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/02 10:29
Allow holes at the end of a simple array.

7d9888b7 – Tor Andersson <tor.andersson@artifex.com> authored on 2023/01/04 12:25
Return "undefined" from C functions if no return value is pushed.

bd037ab7 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/16 16:12
Bug 706081: Fix off by one in size calculation.

09b3fcb1 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/14 12:43
Bug 706075: Fix errors in property deletion.

f882c6c5 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/09 11:01
Rename private functions to avoid problems with MSYS stdio.h.

66d98a5f – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/02 09:35
Fix Array.prototype.slice when deleteCount is missing.

c067e129 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/01 09:34
Avoid using the string interning table.

0e611cdc – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/07 08:00
1.3.2 patch release for UAF bug fix.

edb50ad6 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/11/07 07:52
Bug 706057: Fix use-after-free in getOwnPropertyDescriptor.

bf4ac942 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/10/26 16:42
Set length of output array Array.prototype.map.

69e2767d – Tor Andersson <tor.andersson@artifex.com> authored on 2022/10/20 14:19
Make a patch release for important iterator bug fix.

8b5ba209 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/10/20 08:59
Issue #166: Use special iterator for string and array indices.

d592c785 – Ismael Luceno <ismael@iodev.co.uk> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2022/03/18 14:51
Enable choice of library version for shell

11385152 – Ismael Luceno <ismael@iodev.co.uk> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2022/03/18 14:04
Use $(@D) instead of $(dir $@)

4d3165ba – Ismael Luceno <ismael@iodev.co.uk> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2022/03/18 13:58
Bug 705905: Compute VERSION using Make.

ebf235bf – Tor Andersson <tor.andersson@artifex.com> authored on 2022/10/11 14:18
Bump version number.

bbb2c511 – Sebastian Rasmussen <sebras@gmail.com> authored on 2022/10/11 14:01
Avoid freeing buffer twice in case of error.

3f71a1c9 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/08/31 10:10
Fast path for "simple" arrays.

ac03b95b – Tor Andersson <tor.andersson@artifex.com> authored on 2022/08/23 07:16
Bug 705775: Fix double fclose in pretty-printing tool.

1cbf19e7 – Wessel Dankers <wsl@fruit.je> authored and Tor Andersson <tor.andersson@gmail.com> committed on 2022/03/31 10:21
Makefile: fix parallel builds

3451b6ca – Tor Andersson <tor.andersson@artifex.com> authored on 2022/06/09 10:58
Guard state initialization with try to avoid panic in initialization.

88f6d86b – Tor Andersson <tor.andersson@artifex.com> authored on 2022/05/25 12:33
Add js_isbooleanobject and js_isdateobject functions.

f5b3c703 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/05/17 11:57
Issue #161: Cope with empty programs in mujs-pp.

910acc80 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/05/17 11:53
Issue #161: Don't fclose a FILE that is NULL.

160ae295 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/05/17 11:31
Issue #162: Check stack overflow during regexp compilation.

db110ea8 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/03/16 07:34
Bug 705052: Don't use private STACK/TOP macros in jsstate.c

76e400fb – Tor Andersson <tor.andersson@artifex.com> authored on 2022/03/10 12:42
Add "console" object to mujs shell.

434ae672 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/03/10 12:42
Issue #156: Fix check for duplicate formal parameters when strict.

4586e818 – Tor Andersson <tor.andersson@artifex.com> authored on 2022/02/23 09:11
Some minor optimizations to Ap_join.

a2b628c9 – Avi Halachmi (:avih) <avihpit@yahoo.com> authored on 2022/02/16 06:35
array join: avoid strcat, speedup from O(N^2) to O(N)

dd0a0972 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/10/21 10:04
Add JS_VERSION_MAJOR/MINOR/PATCH defines to mujs.h

1780d0ea – Tor Andersson <tor.andersson@artifex.com> authored on 2021/12/08 07:54
Bug 704756: Don't trust function.length property!

70bd7ea6 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/12/06 11:23
Minor cleanups.

78e56b78 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/12/06 10:54
Bug 704748: Save original object in stack slot for returning after constructor.

eed8a67a – Tor Andersson <tor.andersson@artifex.com> authored on 2021/12/06 10:40
Bug 704750 and 704751: Save transient js_toobject in stack slot.

70a299c7 – 李通洲 <carter.li@eoitek.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2021/12/06 08:41
Build shared libs as dylib on macOS

df8559e7 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/12/06 06:47
Bug 704749: Clear jump list after patching jump addresses.

90a63426 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/11/04 08:21
Issue #152: Work around GCC compiler bug introduced in 2015.

e7ba8767 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/11/04 08:27
Silence harmless GCC warnings.

3bd234c6 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/10/24 09:12
Math.random: Use Lehmer LCG instead of borrowing the hack from musl.

fe8cac61 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/10/19 11:47
Add user data to C functions with extended constructor.

daa22410 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/09/20 10:08
Increase default string limit to 256M.

b06a5e9b – Tor Andersson <tor.andersson@artifex.com> authored on 2021/09/07 14:02
Bug 704238: Limit max string lengths.

453d28fc – Tor Andersson <tor.andersson@artifex.com> authored on 2021/08/01 09:58
Don't use realloc(p, 0) to mean free() in default regex allocator.

9dd965b6 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/23 12:23
Add special error handling for safe 'protected' functions.

82206153 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/23 08:43
Fix leaks if js_try runs out of exception stack space.

a9d88e54 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/23 07:42
Handle try stack errors like stack overflow errors.

2a1804ea – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/20 11:01
Generate new tables for isalpha/toupper/tolower from UnicodeDate.txt

1b8aae1d – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/20 07:24
Restore missing copyright headers!

d4a599ed – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/08 14:13
Issue 150: Fix regexp.exec bugs.

c3ce563a – Tor Andersson <tor.andersson@artifex.com> authored on 2021/07/08 14:13
Debug print whether a function is strict.

c3715ce3 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/06/08 09:28
Fix error in Array.prototype.toString().

6625d1ea – Robin Watts <Robin.Watts@artifex.com> authored on 2021/06/03 08:45
Disable const warnings in Visual Studio.

7ef066a3 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/04/23 07:11
Fix use-after-free in regexp source property access.

dbb86fcd – Tor Andersson <tor.andersson@artifex.com> authored on 2021/04/23 07:12
Call "join" property instead of hardcoding Ap_join in Ap_toString.

e38bff1f – Tor Andersson <tor.andersson@artifex.com> authored on 2021/04/21 11:07
... and leave a bit of margin.

833b6f16 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/04/21 08:25
Issue #148: Check for overflow when reading floating point exponent.

292415b6 – Avi Halachmi (:avih) <avihpit@yahoo.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2021/04/19 17:54
test262: improve quoting, handle spaces at files/arguments

d5f6b3b6 – Avi Halachmi (:avih) <avihpit@yahoo.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2021/04/19 17:38
test262: remove incorrect shift

857ffd39 – Avi Halachmi (:avih) <avihpit@yahoo.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2018/09/02 19:41
tools: add test262 and harness

e00c9ba7 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/04/17 17:42
Don't call realloc with size=0 to free data.

6d140439 – Connor Nelson <Connor@ConnorNelson.com> authored and GitHub <noreply@github.com> committed on 2021/04/12 15:22
Prevent negative table indexing in js_strtol

f93d2453 – Connor Nelson <Connor@ConnorNelson.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2021/03/26 14:40
Fix js_strtol

72e95a48 – Sebastian Rasmussen <sebras@gmail.com> authored on 2021/03/26 12:40
Add user.make for persistent custom settings.

d1160c79 – Sebastian Rasmussen <sebras@gmail.com> authored on 2021/03/26 12:40
Improve gitignore.

3d29cd2f – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/26 11:47
Issue #135: Expose type of value as an enum with js_type().

33ffe6ef – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/26 08:58
Inline doubles and interned string pointers in the byte code.

06a6f9fb – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/26 08:05
Issue #120: Optimize array construction bytecode.

4c7f6be4 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/25 09:18
Issue #139: Parse integers with floats to support large numbers.

1616c184 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/22 09:51
Some Makefile tweaks.

625542e4 – isRyven <ryven.mt@gmail.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2020/03/17 12:16
fix split doesn't convert context to string if no argument is passed

7ebc570d – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/23 10:34
regexp: Dump character class definitions in -DTEST build.

94000c66 – Connor Nelson <Connor@ConnorNelson.com> authored and GitHub <noreply@github.com> committed on 2021/03/23 08:47
Fix crash when length is negative

364acef4 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/10 13:10
Bug 703670: Throw when redefining non-configurable/readonly properties.

c9d05aab – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/10 12:26
Bug 703675: RegExp.prototype should be a regular expression object.

a34fdf2a – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/04 07:20
Bug 701886: Don't redefine/reset existing vars in script code.

9f34a074 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/03/04 07:08
Revert "Bug 701886: Always create new scope for eval()."

80e222d9 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/02/04 04:56
Support externally set CFLAGS, CPPFLAGS, and LDFLAGS.

368fe837 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/02/03 13:11
Bug 703461: Escape '/' characters in regular expression source.

ccf7fa6c – Tor Andersson <tor.andersson@artifex.com> authored on 2021/02/03 12:42
Bug 703457: Fix typo in uriMark definition used by encodeURI(Component).

2eb4fd22 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/02/03 12:18
Bug 703459: Handle undefined argument to Error constructor.

d11c7107 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/02/03 12:07
Bug 703458: Handle NaN in Date accessors.

d3a99000 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/01/25 12:49
Bug 703371: Add '-' to list of quoted escape characters in regex parser.

789f30b5 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/01/25 09:38
Bug 703376: Don't allow creating new properties on transient objects.

a09d8697 – Tor Andersson <tor.andersson@artifex.com> authored on 2021/01/12 09:54
Bug 697702: Add workaround for MSVC not having unistd.h

6871e5b4 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/09/08 06:49
Issue #141: Add missing end-of-string checks in regexp lexer.

6a9eedea – Tor Andersson <tor.andersson@artifex.com> authored on 2020/08/24 10:27
Fix type error in jsdate.js InLeapYear that led to bad calculations.

b5eccea6 – Avi Halachmi (:avih) <avihpit@yahoo.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2020/03/28 12:06
gc: use proportional instead of fixed threshold

c4c1524e – Avi Halachmi (:avih) <avihpit@yahoo.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2020/03/27 14:33
gc: don't ignore property allocations count

ed33bc01 – Avi Halachmi (:avih) <avihpit@yahoo.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2020/07/03 19:16
gc: fix incorrect free of some objects

ad3817fc – Tor Andersson <tor.andersson@artifex.com> authored on 2020/06/25 07:51
Silence gcc warning about overflow.

9f3e141d – Tor Andersson <tor.andersson@artifex.com> authored on 2020/06/25 09:29
Fix typo in lexlinecomment where it did not detect EOF properly.

ac25ac54 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/05/27 13:07
Fix typo in comment.

02bdafb4 – Sebastian Rasmussen <sebras@gmail.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2020/05/26 17:15
Fix a number of typos.

832e0690 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/02/19 05:11
Support 4-byte UTF-8 sequences.

0261579d – Tor Andersson <tor.andersson@artifex.com> authored on 2020/05/14 09:59
Support embedded 0 in strings by using modified UTF-8.

331c5ecb – Tor Andersson <tor.andersson@artifex.com> authored on 2020/05/14 09:42
Issue 133: Eliminate recursion in GC scanning phase.

8c5f2f24 – Tor Andersson <tor.andersson@artifex.com> authored on 2018/09/04 12:30
Don't allow setting a property when the prototype's property is read-only.

90aca808 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/03/17 10:04
Fix potential memory corruption when jsV_newmemstring fails to allocate.

8f12e045 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/03/17 10:03
Return "[object Iterator]" when running toString on an iterator value.

Next