shithub: libmujs

RSS feed

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.

84752905 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/03/17 09:10
Document the expected behavior of js_Put correctly.

fe63f4cb – Tor Andersson <tor.andersson@artifex.com> authored on 2020/03/11 11:59
Note that js_Report callback must not throw an exception.

e3f04e7f – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/30 07:46
Check for empty string in js_isarrayindex.

11c894d0 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/23 06:55
Tweak default recursion limit.

6f93cab7 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/23 06:54
Fix enumerability of Error and Function properties.

e082e6e6 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/20 07:18
Check for leading zero in js_isarrayindex that caused false positives.

fe71080c – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/10 06:16
Bug 698496: Handle leap years correctly in the Date constructor.

8ee595be – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/10 06:08
Bug 701355: Fix separate compilation issues that have crept in.

d248b0ce – Tor Andersson <tor.andersson@artifex.com> authored on 2019/11/11 06:34
Bug 701886: Always create new scope for eval().

d0225981 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/02 09:36
Update COPYING copyright year.

c695b53a – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/02 09:30
Issue 117: Skip first line if it starts with a shebang when loading files.

457f87b1 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/02 09:22
Issue 128: Support property list as replacer argument in JSON.stringify.

d9f55565 – isRyven <ryven.mt@gmail.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2019/12/20 09:21
Fix date setMonth and setUTCMonth processed wrong optional argument

ddd1e5eb – isRyven <ryven.mt@gmail.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2019/12/21 09:29
Issue 126: accept String and Number objects as space parameter

e690d31e – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/02 07:34
Issue 122: Allow floating point return values from Array.sort callback.

b4484ab1 – Tor Andersson <tor.andersson@artifex.com> authored on 2020/01/02 07:31
Issue 118: Add REG_ to limit defines, and use REG_MAXSUB in header.

8c868344 – gardhr <24468810+gardhr@users.noreply.github.com> authored and Tor Andersson <tor.andersson@artifex.com> committed on 2019/11/24 09:55
Issue 114: Allow compile time limits to be configured.

6b522a0b – Tor Andersson <tor.andersson@artifex.com> authored on 2019/11/28 06:30
Issue 115: Fix compilation of small floating point numbers.

6e62eb09 – Tor Andersson <tor.andersson@artifex.com> authored on 2019/11/19 07:53
Issue 113: Add a js_delglobal function.

3d3f473c – Tor Andersson <tor.andersson@artifex.com> authored on 2019/11/11 06:02
Bug 701887: Create arguments if eval is present.

69b312d1 – Tor Andersson <tor.andersson@artifex.com> authored on 2019/09/06 08:14
Fix coverity issue: memory corruption due to overlapping copy.

Next