shithub: libmujs

RSS feed

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

9eb0a65f – Tor Andersson <tor@ccxvii.net> authored on 2014/03/03 18:47
Improve date parsing.

e4cafa6d – Tor Andersson <tor@ccxvii.net> authored on 2014/03/03 18:03
Always use ISO 8601 formats for date string formatting.

5961e390 – Tor Andersson <tor@ccxvii.net> authored on 2014/03/03 14:14
Fix fmod use with negative (pre-1970) times.

5b567dd5 – Tor Andersson <tor@ccxvii.net> authored on 2014/03/03 13:30
Make date formatting and parsing re-entrant and libc independent.

b4223dfb – Tor Andersson <tor@ccxvii.net> authored on 2014/02/28 15:21
Use gettimeofday/_ftime if available for more accurate times.

7bac090c – Tor Andersson <tor@ccxvii.net> authored on 2014/02/28 12:13
Tweak js_strtod.

abd59674 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/28 12:13
Allow custom allocator.

67b33c5a – Tor Andersson <tor@ccxvii.net> authored on 2014/02/28 09:24
Handle malloc failure by throwing exceptions.

598de57d – Tor Andersson <tor@ccxvii.net> authored on 2014/02/27 08:49
Fix ToNumber from strings and parseInt and parseFloat.

43384d91 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/27 08:12
Parse \0 and \x00 and \u0000 in regular expressions.

9cb65f0e – Tor Andersson <tor@ccxvii.net> authored on 2014/02/27 08:11
Check for invalid character escapes in regular expressions.

bfe56992 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 15:22
Improve Resub API.

01d85a49 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 12:35
Move nelem() macro into jsi.h

90c2ba0b – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 11:00
Nul-terminate strings created by toUpper/LowerCase.

32ac46df – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 10:58
Fix relational equality with NaN.

7562052e – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 10:30
Handle two-digit backreferences and captures.

fee803ad – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 10:06
Check for infinite loops matching the empty string at parse time.

b60c1cca – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 13:24
Use explicit backtracking stack rather than recursion.

697eee89 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 11:19
Use macro for magic number indicating an infinite number of repeats.

fd0ff38a – Tor Andersson <tor@ccxvii.net> authored on 2014/02/26 07:57
Remove -Werror.

e7e1e0de – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 15:43
Build on MSVC 2005.

c67ca523 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 15:08
Remove more dead code.

a42d36ba – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 06:35
Potential win32 MSVC compilation fixes.

e766ed71 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 06:32
Always open files in binary mode.

11bcefd5 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/25 08:40
Don't recurse on second branch of "split" instruction.

45e3a319 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 20:23
Some -pedantic warning fixes.

a98748a0 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 20:01
Use clang by default and enable more warnings.

70b0d8b9 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 19:56
Change C functions to not have a return value.

e4a6860f – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 19:22
More signedness fixes.

fe723b6f – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 19:21
Fix unreachable code warnings.

c7e9ab0b – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 18:50
Fix signed/unsigned comparison warnings.

ef891c5c – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 17:44
Oops. Forgot to emit "setprop" for assignment operators.

d4f7b160 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 11:14
Fix lookahead captures.

55ad3326 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 10:33
Rename some regex opcodes.

d50c934f – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 07:04
Fix jsone build.

2d28162c – Tor Andersson <tor@ccxvii.net> authored on 2014/02/24 07:03
typeof X when X in not declared should return undefined rather than throw.

3585abad – Tor Andersson <tor@ccxvii.net> authored on 2014/02/21 14:46
More robust character class parser.

d68a6f34 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/21 13:32
More robust BoL handling.

8898715c – Tor Andersson <tor@ccxvii.net> authored on 2014/02/20 21:48
Regular expression implementation.

2ac601d0 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/20 10:07
Prepare for regular expression library.

577585c2 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/18 10:17
Silence scan-build warnings about maybe uninitialized variables.

588fdd18 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/18 08:39
Small cleanups.

5f3ea413 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/18 09:36
Rename jump to emitjump in compiler.

ccf14d4a – Tor Andersson <tor@ccxvii.net> authored on 2014/02/14 05:49
Fix bug in comment lexing.

5b86924f – Tor Andersson <tor@ccxvii.net> authored on 2014/02/13 08:53
Fix typo in ToBoolean.

9f7141ce – Tor Andersson <tor@ccxvii.net> authored on 2014/02/13 07:06
Make array length helper public.

759d6095 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/12 11:26
Fixes.

91c0e066 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 12:08
Check in auto-generated headers for ease of building.

c7335fa3 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 11:54
Prune unused UTF-8 and rune string functions.

60bde0ad – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 10:26
Improve jsV_stringtonumber.

7d698ae9 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 09:57
Compile pre/post increment/decrement as special opcodes.

8ef83a3c – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 09:49
Fix boolean equality tests.

56c5249e – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 09:28
Revert "Handle js_tostring on objects without toString or toValue methods."

722c02ee – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 09:25
Never compile scripts as lightweight functions.

0d83e44c – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 08:54
Add "jsone" makefile target.

8e938724 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 08:42
Clean up for one.c compilation.

0edd1026 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 08:05
JSON.stringify()

f4bb8070 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/11 06:24
Fix eval() return value when no arguments are passed.

be3ed525 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 18:51
Some cleanups.

e45115fa – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 13:54
Handle variable shadowing.

68862386 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 13:00
Implement lightweight functions.

e39e0bdc – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 10:44
Separate generic AST_IDENTIFIER and EXP_IDENTIFIER.

ab5236f2 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 10:01
UTF string index/pointer juggling.

0ddbab57 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 07:52
Date.prototype.toJSON().

39dd0a36 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 07:42
JSON.parse()

b8aa34d9 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 12:39
JSON skeleton.

06e821df – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 08:40
Quote strings properly in jsdump.

46dec712 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/10 08:17
Simplify string-buffer function API.

31acf851 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 11:52
Expose magic properties in Object.keys and Object.getOwnPropertyNames.

b219aef8 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 11:40
Add virtual string array index properties for characters.

d59d0e27 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 10:45
Make argc/undefined checks more resilient.

22a74771 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 10:21
Implement ES5 array functions.

411b8b5b – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 09:24
Use length property of cfunctions to make sure we have at least N args.

7b37ef2b – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 08:48
Handle js_tostring on objects without toString or toValue methods.

d5b83c3b – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 06:44
Implement Function constructor.

979c7bc1 – Tor Andersson <tor@ccxvii.net> authored on 2014/02/07 05:57
Implement extensible object attribute.

Next