aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
AgeCommit message (Collapse)Author
2013-04-25fix llvm_uadd_with_overflow_i64 in the case of 0 higher bitsAlon Zakai
2013-04-24fix asm validation of llvm_uadd_with_overflow_i64Alon Zakai
2013-04-24simplify i64Add|Substract coercionsAlon Zakai
2013-04-24Merge pull request #1088 from juj/branchless_i64_opsAlon Zakai
Remove 'if()' branches from i64 add and subtract code.
2013-04-24avoid warning on llvm_dbg_declareAlon Zakai
2013-04-24Remove unneeded >>> 0 in llvm_uadd_with_overflow_i64.Jukka Jylänki
2013-04-24fix and simplify a few str* asm library functionsAlon Zakai
2013-04-23Merge pull request #1063 from waywardmonkeys/musl-libc1.3.7Alon Zakai
Add wchar and multibyte libc functions
2013-04-23add coercion in strncasecmpAlon Zakai
2013-04-23add missing coercion in strcatAlon Zakai
2013-04-23properly coerce setjmp helpersAlon Zakai
2013-04-23Restore the overflow check to llvm_uadd_with_overflow_i64 to account for the ↵Jukka Jylänki
case 0xFFFFFFFFFFFFFFFF + 0x0000000100000001 == 0x0000000100000000.
2013-04-23Remove 'if()' branches from i64 add and subtract code.Jukka Jylänki
2013-04-22show clear error message instead of 987 when too many setjmp callsAlon Zakai
2013-04-22Add musl multibyte function implementations.Bruce Mitchener
2013-04-22Add musl wchar function implementations.Bruce Mitchener
2013-04-19add erf dep and testingAlon Zakai
2013-04-19Merge pull request #1060 from arlolra/socketpairAlon Zakai
Socketpair
2013-04-18exit to caller when setjmp encounters an id that is not ours; enable ↵Alon Zakai
test_longjmp2 and 3 in asm
2013-04-18throw in longjmp, do not overwrite previous throw data in setThrew, and ↵Alon Zakai
enable test_longjmp in asm
2013-04-18setjmp support for asm.jsAlon Zakai
2013-04-18Just return op not supported.Arlo Breault
See #1060
2013-04-18be more flexible in check for keeping std* as low values; cttz/ctlz can add ↵Alon Zakai
512 bytes to initial allocations
2013-04-14use compiled compiler-rt code for i64 multiplicationAlon Zakai
2013-04-14asmify ctlz/cttzAlon Zakai
2013-04-14add handwritten asm i64SubtractAlon Zakai
2013-04-13fix overflow detection in i64 uadd, and add testcaseAlon Zakai
2013-04-13socketpairArlo Breault
2013-04-12move exception resuming into a dedicated functionAlon Zakai
2013-04-12avoid emitting non-asm code for cxa_find_matching_catchAlon Zakai
2013-04-11avoid unnecessary array creation in cxa_find_matching_catch callsAlon Zakai
2013-04-11infrastructure for supporting exceptions in asm.js, by going through ↵Alon Zakai
invoke_* calls
2013-04-09implement setgroupsArlo Breault
2013-04-06scanf: support '*', which matches without assigning to an argument.Jacob Lee
For example, sscanf("1 2 3", "%*d %d", &foo) stores 2 into foo.
2013-03-25Merge pull request #898 from MichaelRiss/selectFixAlon Zakai
select function: return error condition when network connection fails
2013-03-25Get things working with the new libcxx / libcxxabi.Bruce Mitchener
2013-03-22add default c++ terminate() in library.jsAlon Zakai
2013-03-22- added test cases for select error reportingMichael Riss
- added missing error reporting for sockets in the write file descriptor set
2013-03-22Move error check into canRead function and use an outer scope variable to ↵Michael Riss
report the error condition.
2013-03-22remove stray console.logMichael Riss
2013-03-22select function: return error condition when network connection failsMichael Riss
2013-03-20remove CATCH_EXIT_CODE and make it the default behaviorAlon Zakai
2013-03-20refactor Browser initializationAlon Zakai
2013-03-19handle negative zero; fixes #921Alon Zakai
2013-03-20Fix large values in llvm_ctpop_i32().Bruce Mitchener
Large values looked like negative values, we have to do an unsigned shift. Fixes issue #966.
2013-03-18Merge pull request #945 from ting-yuan/incomingAlon Zakai
Fix the return value of fgets().
2013-03-18switchify the main formatString loopAlon Zakai
2013-03-18fix printing of %llx very small and very large valuesAlon Zakai
2013-03-15remove leading zeros in %llxAlon Zakai
2013-03-15mark UTF_STRING_SUPPORT as an unsafe but useful opt, in -O3Alon Zakai