aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-09-04do not emit externals in side modulesAlon Zakai
2013-09-04handle glBufferData usages that are not in WebGL; fixes #1589Alon Zakai
2013-09-04fix repeated calls to glDraw* where the count changes but not the client ↵Alon Zakai
attributes; fixes part of #1589
2013-09-04rearranged FS function orderAnthony Pesch
2013-09-04Revert "reimplement getCurrentTime"Anthony Pesch
This reverts commit bd615f6f4499cc2b928c5603ba98d6bd689e608e.
2013-09-04Single quotes for cDefine.Bruce Mitchener
2013-09-04Simplify some timezone code.Bruce Mitchener
Since we only allow GMT as a timezone and ignore what the browser says, we can simplify a lot of this code.
2013-09-03 - added readFile and writeFile helpersAnthony Pesch
- added default modes to mkdir / mkdev
2013-09-03add extCall_* methods in asm dlopen support, parallel to invoke in that they ↵Alon Zakai
are able to access other modules, but do not catch exceptions
2013-09-03abort with error message if dlopen called in asm.js mode without DLOPEN_SUPPORTAlon Zakai
2013-09-03refactor dlfcn support into DLFCNAlon Zakai
2013-09-03add some long double libc stubsAlon Zakai
2013-09-03free H_BASE on cleanupAnthony Pesch
2013-09-03do not eliminate supposedly stub functions in side modules, as they may be ↵Alon Zakai
imported from the parent
2013-09-03do no run cleanups on dlclose of selfAlon Zakai
2013-09-03typo fix, index is in arguments[0]Anthony Pesch
2013-09-03fix cleanup code to not happen in main moduleAlon Zakai
2013-09-03clean up shared modules when dlclose()dAlon Zakai
2013-09-03do not require LINKABLE in DLOPEN_SUPPORTAlon Zakai
2013-09-03move neededTables assignment to right place; fixes test_dlfcn_unique_sigAlon Zakai
2013-09-03use a separate stack in each asm module; fixes asm2g.test_dlfcn_stack_forwardAlon Zakai
2013-09-03support function pointer calls across asm modules by passing them all ↵Alon Zakai
through invoke (for now), and have a global function table in the Runtime, which modules register their functions to
2013-09-03use addFunction in dlsym, and define F_BASE in side modules so they can run ↵Alon Zakai
as shared libs
2013-09-03commentAlon Zakai
2013-09-03emit side module memory initializer in the right place; test_dlfcn_basic ↵Alon Zakai
works in asm
2013-09-03forward parent Module to side moduleAlon Zakai
2013-09-03do not emit static allocations in side modulesAlon Zakai
2013-09-03track maximum function index when using dlopen supportAlon Zakai
2013-09-03Merge pull request #1576 from inolen/misc_stubsAlon Zakai
misc stubs for in.h and sdl.h
2013-09-03disable node stdin fixes due to side effectsAnthony Pesch
2013-09-01gracefully handle ExitStatus exception in async main loopsAnthony Pesch
2013-09-01misc in.h and SDL joystick stubsAnthony Pesch
2013-08-31Merge pull request #1575 from inolen/accept_fixesAlon Zakai
accept fixes
2013-08-31remove temporary enet fix, and define gethostbyname_r in a header, so that ↵Alon Zakai
we can be sure at compilation time that it is used in the way it is expected to be (that function has more than one possible signature in various unixes)
2013-08-31 - refactored accept code to automatically setup peers for incoming ↵Anthony Pesch
connections immediately upon connect. previously, this wasn't done until the server called accept, creating a small window of time for peer message events to be lost - renamed send_queue to dgram_send_queue just so its purpose is more clear
2013-08-31 - temp fix for test_enetAnthony Pesch
- added debugging info to websocket backend
2013-08-31better error messageAlon Zakai
2013-08-30Merge pull request #1557 from inolen/sockfsAlon Zakai
getaddrinfo, freeaddrinfo, getnameinfo support and sockfs
2013-08-30 - moved hostname resolution functions to DNS objectAnthony Pesch
- minor whitespace fixes
2013-08-29Merge pull request #1311 from juj/emscripten_get_nowAlon Zakai
emscripten_get_now enabled for SpiderMonkey, optimization and test.
2013-08-29Merge pull request #1555 from inolen/tty_fixesAlon Zakai
added stubs for tcgetattr and tcsetattr, minor node tty fixes
2013-08-29Merge pull request #1572 from rharkeadsk/fix-stdio-fileno-constantsAlon Zakai
Fix STD*_FILENO constants in JavaScript to match C
2013-08-29 - added tests for tcgetattr / tcsetattrAnthony Pesch
- made test_stdin async to work in the node environment - clearerr should reset both eof and error indicators - fgetc was incorrectly setting the eof indicator. in cases where fread had errored with EAGAIN it was setting eof. I removed the set entirely, as there is no need for fgetc to even worry about it, fread will set the correct value in any case
2013-08-29 - added stubs for tcgetattr and tcsetattrAnthony Pesch
- added fixes for tty get_char in the node environment
2013-08-29allow null second param in createPreloadedFile|createDataFile so that file ↵Alon Zakai
packager does not need PATH, and works through closure
2013-08-29Update STD*_FILENO constants in settings.js to match unistd.hRanger Harke
They are 1,2,3 in unistd.h (correct) but were 0,1,2 in settings.js, so calling `cDefine('STDOUT_FILENO')` (for example) would return the incorrect value. This addresses issue #1570, but not #1408.
2013-08-29Formatting.Jukka Jylänki
2013-08-29emscripten_get_now enabled for SpiderMonkey, optimization and test for shell ↵Jukka Jylänki
and browser.
2013-08-29lazy evaluate ws module requireAnthony Pesch
2013-08-29 - created SOCKFSAnthony Pesch
- added support for node-based listen servers - updated tests to also test against compiled listen servers