aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
AgeCommit message (Collapse)Author
2013-03-15fix strncasecmp comparison signednessAlon Zakai
2013-03-15optimize use of .charCodeAt(0) at compile timeAlon Zakai
2013-03-15asmify strcasecmpAlon Zakai
2013-03-15asmify strncasecmpAlon Zakai
2013-03-15asmify tolowerAlon Zakai
2013-03-14optimize strcat a littleAlon Zakai
2013-03-14asmify strcatAlon Zakai
2013-03-14add branch in strncpy to avoid reading from possible invalid memoryAlon Zakai
2013-03-14optimize bitshift64* a littleAlon Zakai
2013-03-14fix bitshift64Ashr bugAlon Zakai
2013-03-14move dynamic 64-bit shifts into asm library callsAlon Zakai
2013-03-12asmify strncpyAlon Zakai
2013-03-12write strcpy in asm and add some testingAlon Zakai
2013-03-12optimize pread to use typed array set()Alon Zakai
2013-03-12infrastructure for implementing i64 math in asm.js, and implement i64Add and ↵Alon Zakai
llvm_uadd_with_overflow_i64 that way
2013-03-12Fix the return value of fgets().tingyuan
2013-03-11add ASSERTIONS to asm2g, and fix assertions for asmAlon Zakai
2013-03-07support llvm_ctpop_*; fixes #918Alon Zakai
2013-03-07Merge pull request #931 from xxuejie/stdlib_strtodAlon Zakai
Implement strtod in native C code as part of libc.
2013-03-07Merge pull request #932 from tobydox/incomingAlon Zakai
Emit correct code for setjmp() calls when in UNALIGNED_MEMORY mode
2013-03-06Move strtod, strtold, strtof, strtod_l, strtold_l, atof from JS side to libc ↵1.2.9Xuejie "Rafael" Xiao
side, this can fix double precision bug in original strtod implementation.
2013-03-06simplify loop unrolling of memcpy and memsetAlon Zakai
2013-03-06Emit correct code for setjmp() calls when in UNALIGNED_MEMORY modeTobias Doerffel
makeSetValue() returns multiple statements when in UNALIGNED_MEMORY mode and thus have to be separated by commas in this context.
2013-03-07Implement llabs().Bruce Mitchener
2013-03-05Merge pull request #922 from waywardmonkeys/implement-signbitAlon Zakai
Implement signbit in terms of copysign.
2013-03-06Implement signbit in terms of copysign.Bruce Mitchener
Currently, copysign is broken for negative zero, so this will be as well. Fixes #911.
2013-03-05Merge pull request #924 from waywardmonkeys/implement-sched-yieldAlon Zakai
Implement stub for sched_yield().
2013-03-05Merge pull request #926 from waywardmonkeys/implement-pthread-cond-timedwaitAlon Zakai
Implement stub for pthread_cond_timedwait().
2013-03-06Add some return values for pthread_cond_*.Bruce Mitchener
2013-03-06Implement stub for sched_yield().Bruce Mitchener
This was in the headers, but had no implementation resulting in an undefined at runtime.
2013-03-05Merge pull request #912 from waywardmonkeys/implement-nanosleepAlon Zakai
Implement nanosleep.
2013-03-05Merge pull request #913 from waywardmonkeys/implement-sc-nprocessors-onlnAlon Zakai
Implement _SC_NPROCESSORS_ONLN.
2013-03-05Implement stub for pthread_cond_timedwait().Bruce Mitchener
This was in the headers, but had no implementation resulting in an undefined at runtime.
2013-03-04emscripten_jcache_printfAlon Zakai
2013-03-04Implement _SC_NPROCESSORS_ONLN.Bruce Mitchener
This lets std::hardware_concurrency() give a valid return value.
2013-03-04Implement nanosleep.Bruce Mitchener
2013-03-02fix another memset fuzz bugAlon Zakai
2013-03-02fix memset bugAlon Zakai
2013-03-02Merge pull request #883 from MichaelRiss/perrorFixAlon Zakai
Perror formatting fix
2013-02-28pthread_key_deleteAlon Zakai
2013-02-27Fixed the following problems in the perror function:Michael Riss
- putc is not declared -> replaced by fputc - puts was used to output the user message which automatically introduced an unwanted newline between user message and error description -> replaced by fputs which does not add the newline Signed-off-by: Michael Riss <Michael.Riss@gmx.de>
2013-02-27Add a stub pthread_mutex_trylock().Bruce Mitchener
2013-02-26Merge pull request #857 from caiiiycuk/writefdsAlon Zakai
draft implementation for writefds
2013-02-26handle missing pthread key-values properlyVladimir Vukicevic
2013-02-25fix asm.js parsing of memcpyAlon Zakai
2013-02-23implementation for writefdsAleksander Guryanov
2013-02-22asmify memcmpAlon Zakai
2013-02-21Merge pull request #860 from waywardmonkeys/strtok-allocAlon Zakai
Statically allocate the strtok state block so it doesn't trip up our leak detection
2013-02-21Add TODO for missing %c functionality.Roger Braun
2013-02-21Handle %c in sscanf.Roger Braun