aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
AgeCommit message (Collapse)Author
2013-09-04Single quotes for cDefine.Bruce Mitchener
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-03do no run cleanups on dlclose of selfAlon Zakai
2013-09-03clean up shared modules when dlclose()dAlon 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-03forward parent Module to side moduleAlon Zakai
2013-09-03track maximum function index when using dlopen supportAlon Zakai
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-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-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-29 - created SOCKFSAnthony Pesch
- added support for node-based listen servers - updated tests to also test against compiled listen servers
2013-08-29 - added raw addr / hostname lookup supportAnthony Pesch
- added getaddrinfo, freeaddrinfo, getnameinfo and gai_strerror stub - added tests for getaddrinfo and getnameinfo - consolidated test_gethostbyname and test_sockets_gethostbyname
2013-08-29 - minor refactoring to new address translation functions to support better ↵Anthony Pesch
"raw" functionality - moved test_inet* tests into sockets test suite
2013-08-16Bug fixes of the pthread specific and a test added.Yu Kobayashi
2013-08-15Merge pull request #1513 from modeswitch/webrtc-testsAlon Zakai
Webrtc test
2013-08-14Merge pull request #1514 from inolen/default_open_modeAlon Zakai
default to mode 0666 in FS.open
2013-08-14Minor fixes for webrtc test.Alan Kligman
2013-08-13default to mode 0666Anthony Pesch
2013-08-14Add return value to sendmsg.Alan Kligman
2013-08-13 - made FS.readdir easier to useAnthony Pesch
- tightened up exported node and stream ops for each type
2013-08-11use performance timers for usleep if availableToadKing
2013-08-10Merge pull request #1498 from inolen/lib_reorgAlon Zakai
FS-related module reorganization
2013-08-09 - merged FS and VFS namespacesAnthony Pesch
- split off fs, memfs, sockfs and tty libraries
2013-08-10Provide additional errno messages.Bruce Mitchener
2013-08-10Remove errno codes that don't exist in musl.Bruce Mitchener
2013-08-09print from exit(), so that explicitly calling it prints out the exit statusAlon Zakai
2013-08-09Merge pull request #1488 from waywardmonkeys/errno-definitionsAlon Zakai
Errno definitions
2013-08-09Merge pull request #1487 from waywardmonkeys/fix-typosAlon Zakai
Fix typos
2013-08-09Merge pull request #1477 from inolen/websocket_testsAlon Zakai
misc socket-related library fixes and updated websocket tests
2013-08-09Use cDefine to get numerical values for errors.Bruce Mitchener
2013-08-09Fix some typos.Bruce Mitchener
2013-08-08converted Object.defineProperty calls to use Object.defineProperties in ↵Anthony Pesch
order to make closure happy
2013-08-08Merge pull request #1470 from inolen/preload_path_fixesAlon Zakai
file preload path fixes
2013-08-08Added FS deps to socket-related library functionsAnthony Pesch
2013-08-07 - select shouldn't return an error when the socket is valid, but disconnectedAnthony Pesch
- recv should return 0 once the socket has disconnected - send should set ENOTCONN once closed, and EAGAIN while connecting - updated tests to use O_NONBLOCK and better conform to coding standards
2013-08-07add missing return value in readdir_rAlon Zakai
2013-08-07fix test_filesAlon Zakai
2013-08-07manually fill heap history in write targets of VFS.write|read into the heapAlon Zakai
2013-08-07indentation fixAlon Zakai
2013-08-07Merge pull request #1478 from inolen/function_spacingAlon Zakai
updated bad function formatting
2013-08-07Merge pull request #1479 from j4m3z0r/fast_isspaceAlon Zakai
Workaround for Chrome bug https://code.google.com/p/chromium/issues/deta...
2013-08-07Workaround for Chrome bug ↵James Gregory
https://code.google.com/p/chromium/issues/detail?id=269679 : switch statement I added in isspace to make it faster seemed to cause the whole function to be optimized away. Replace with simple range checks in conditional expression.