aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
AgeCommit message (Collapse)Author
2014-04-01fix mkdir on a path ending in a slash; fixes #2263 and #2258Alon Zakai
2014-03-18Remove empty std::type_info destructor.Bruce Mitchener
This is provided by libcxxabi and there are actually 3 different destructors, not just this one, so let things pick up libcxxabi correctly.
2014-03-17Merge pull request #2020 from fadams/improve-websocket-config-optionsAlon Zakai
Provide compile time and run time options for WebSocket URL and subproto...
2014-03-17Set errno and return -1Charlie Birks
2014-03-17Return error in raiseCharlie Birks
2014-03-15Add stub for raiseCharlie Birks
2014-03-11Implement a IE10+ specific path to emscripten_get_callstack to get the call ↵Jukka Jylänki
stack information. In IE, callstacks are populated only when an exception object is thrown. Closes #2212.
2014-03-05emscripten_debugger()Alon Zakai
2014-02-27Fix bug that caused emscripten_get_callstack to not truncate the output ↵Jukka Jylänki
buffer. Add test. Closes #2171.
2014-02-26Merge pull request #2157 from rfk/rfk/fileno-error-reportingAlon Zakai
Ensure that fileno() returns -1 when given an invalid file pointer.
2014-02-26Ensure that fileno() returns -1 when given an invalid file pointer.Ryan Kelly
2014-02-25Introduce the asmjs-unknown-emscripten target triple.Dan Gohman
2014-02-24add _ZNSt9exceptionD0Ev; fixes fastcomp issue 20Alon Zakai
2014-02-25Fix emscripten_get_callstack to work on Firefox 30 after it implemented ↵Jukka Jylänki
column information in callstack info. See https://bugzilla.mozilla.org/show_bug.cgi?id=762556 . Fixes test browser.test_emscripten_log on Firefox 30.
2014-02-21Merge pull request #2139 from TV4Fun/memfixesAlon Zakai
Fix errors in locale and allocate, and a few other tweaks
2014-02-21Fix indentation in localeconvJoel Croteau
2014-02-21Correct some function dependencies to address unresolved symbols in tests.Bruce Mitchener
2014-02-20tolerate negative values of precision in printf, fallback to default precisionAlon Zakai
2014-02-19Formatting fix and add testJoel Croteau
2014-02-19Correct syntax of allocate functionJoel Croteau
Fix mistaken syntax for use of allocate and restore original, very strange syntax.
2014-02-19Provide better implementation of localeconv and fix logic error in allocateJoel Croteau
This allocates more space to the structure returned by localeconv. This fixes an error caused by some locale functions (specifically moneypunct_byname::init trying to access members of the lconv struct beyond the first and dereferencing invalid pointers. This also fixes a bug in allocate() which occurred when allocating a single-typed array of data of type size greater than one byte. The function had been incrementing its index into the array by the byte size, causing it to skip elements in arrays of larger type sizes. Fixes issue #2134.
2014-02-16support memory growth in (non-validating) asm.jsAlon Zakai
2014-02-16RETAIN_COMPILER_SETTINGS, Runtime.getCompilerSetting and ↵Alon Zakai
emscripten_get_compiler_setting - an optional way to look up compiler flags at runtime
2014-02-10don't forget to set ai_next in getaddrinfo, and use emcc in test_getaddrinfo ↵Alon Zakai
as it now needs libc
2014-02-10add stub for mkport in non-webrtcAlon Zakai
2014-02-10fix typo in exceptions codeAlon Zakai
2014-02-10fix fake _ZTISt9exceptionAlon Zakai
2014-02-10Merge pull request #1408 from rfk/move-std-fdsAlon Zakai
Make stdin/stdout/stderr be 0/1/2 per standard posix convention
2014-02-09Merge pull request #2084 from amatus/push-upstreamAlon Zakai
Remove _-prefix from in6addr_*
2014-02-09manually define typeinfo for std::exceptionAlon Zakai
2014-02-06Remove constants that are missing in netinet/in.h1.10.2-0amatus1David Barksdale
2014-02-06Remove _-prefix from in6addr_*David Barksdale
2014-02-06Merge pull request #2103 from juj/opt_cmp1.10.2Alon Zakai
Add optimized versions of musl libc string and memory comparison functions.
2014-02-06use .set on big memcpysAlon Zakai
2014-02-06Add strcoll as well so that library.js does not need to depend on musl libc ↵Jukka Jylänki
code.
2014-02-06Add optimized versions of musl libc string and memory comparison functions.Jukka Jylänki
2014-02-03sscanf fix and test fixAlon Zakai
2014-02-01make sure RAND_MAX is a proper valueAlon Zakai
2014-02-02Differentiate between file pointers and file descriptors.Ryan Kelly
2014-01-31make sure rand() returns values only up to RAND_MAX; #18551.10.1Alon Zakai
2014-01-31further fix for #1407Alon Zakai
2014-01-30asmify randAlon Zakai
2014-01-30asmify rand_rAlon Zakai
2014-01-30use Math.imul in rand_rAlon Zakai
2014-01-30use all 32 bits in rand_rAlon Zakai
2014-01-30misc cleanupsAlon Zakai
2014-01-30Merge branch 'rand' of github.com:coolwanglu/emscripten into incomingAlon Zakai
2014-01-29fix locale-removing aliases that break because they then have the wrong sig; ↵Alon Zakai
fixes #2076
2014-01-27fix some safeHeap errors with the new exceptions code; fixes #2068Alon Zakai
2014-01-24Improve C++ exception handling.Bruce Mitchener
We now allocate extra bytes before the exception data and use that, rather than globals, to store the exception type and destructor information. This is step one towards having multiple exceptions in flight at once. We also track what exceptions are currently being caught in a stack maintained in __cxa_begin_catch and __cxa_end_catch. This is used for ensuring that we handle nested exception catch blocks correctly.