aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
AgeCommit message (Collapse)Author
2014-01-14Add GLEW 1.10.0 emulationJari Vetoniemi
Includes library_glew.js that stubs the init functions, but also provides the other functions. GL/glew.h is now changed to work with GLEW_EXT_foo_bar constants, some missing constants that are in GLEW 1.10.0 are also provided. Otherwise it still uses SDL_opengl.h to provide function definitions and other constants. Linaro's GLEW (glew-oes) is also supported to some degree to make it easier to get ES1 and ES2 software using it running. What it lacks: - Some constants and function declarations that are in GLEW 1.10.0 might be missing. - The real glew-es fork also includes normal GL constants and function pointers, this does not. Tests ran: - tests/runner.py browser Real world example using this code (and upcomming glfw3 port) can be found here: http://cloudef.eu/glhck http://cloudef.eu/glhck/qb.html
2013-12-31implementation of libuuidFraser Adams
2013-12-16fix varargs signature generation, '...' is optional and both cases must be ↵Alon Zakai
handled; fixes #1918
2013-12-14export code for CallHandlers.hAlon Zakai
2013-12-10do not skip vector types in function signaturesAlon Zakai
2013-11-30send EXPORTED_FUNCTIONS to fastcomp glueAlon Zakai
2013-11-26Implemented #1573. All functions marked as "used" will be automatically ↵ngld
added to EXPORTED_FUNCTIONS.
2013-11-20hack up support for 'glue' phase in js compiler, to just generate glue for ↵Alon Zakai
backend output
2013-11-15ignore llvm ir fast-math notation; fixes #1762Alon Zakai
2013-11-14don't evaluate function table aliases containing relocation offsets; fixes #1807Alon Zakai
2013-10-29simplify wrapper asm coercionsAlon Zakai
2013-10-29cast to double before float in function pointer wrappersAlon Zakai
2013-10-25do not send floats to ffisAlon Zakai
2013-10-25support fround in function tables and asm module support functionsAlon Zakai
2013-10-25add fpext and fptrunc to list of llvm conversions, so we differentiate ↵Alon Zakai
float/double in them
2013-10-18integrate the SIMD polyfill codeAlon Zakai
2013-10-09remove old function indexing codeAlon Zakai
2013-10-02optimize Math.x to Math_xAlon Zakai
2013-10-02align function tables in non-asm modeAlon Zakai
2013-10-02make function pointer aliasing configurableAlon Zakai
2013-10-01optimize asm function table emittingAlon Zakai
2013-09-27 - added idbfs and nodefsAnthony Pesch
- minor coding convention fixes
2013-09-23remove framework entirelyAlon Zakai
2013-09-08track if there is inline js, and if so do not mark as valid asm.jsAlon Zakai
2013-09-03do not eliminate supposedly stub functions in side modules, as they may be ↵Alon Zakai
imported from the parent
2013-08-16generate separate function table wrappers for a single library function ↵Alon Zakai
aliased with different signatures
2013-08-16simplify and automate GetProcAddress logic, and move it out of GL emulationAlon Zakai
2013-08-09 - merged FS and VFS namespacesAnthony Pesch
- split off fs, memfs, sockfs and tty libraries
2013-08-08metadata parsing tweaksAlon Zakai
Modified by ncbray to simultaniously support LLVM 3.2 and 3.3.
2013-08-05initial VFS workAnthony Pesch
2013-07-15fix Functions.getSignature to handle non-legalized dataAlon Zakai
2013-07-15when we are calling an implemented function, call it using the signature it ↵Alon Zakai
is implemented as, to avoid issues with LLVM casting for no reason
2013-07-11Implement self-dlopen.Jez Ng
2013-07-03emit F_BASEAlon Zakai
2013-07-03refactor getIndex calls to include the signatureAlon Zakai
2013-07-03clone aliased functions in shared modulesAlon Zakai
2013-06-20In metadata, store paths parsed from .ll files using forward slashes on ↵Jukka Jylänki
Windows. Fixes safe heap line detection on Windows (the code splits on '/' only as path delimiter), closes issue #1233.
2013-06-10warn if setjmp is used as a function pointerAlon Zakai
2013-05-16when not aliasing tables, keep them all at full size to avoid aliasing ↵Alon Zakai
through the &M mask in a small table
2013-05-15emit each function table of its own sizeAlon Zakai
2013-05-15refactor code to generate empty function tablesAlon Zakai
2013-05-15do not index functions in postAlon Zakai
2013-05-13don't break on trying to eval FUNCTION_TABLE_OFFSET in multi-level alias ↵Alon Zakai
resolving
2013-05-08fix FI_* of Math.*Alon Zakai
2013-05-08fix function table wrapping of Math.*Alon Zakai
2013-04-29align the stack to 64 bits in le32Alon Zakai
2013-04-24auto-generate library stubs that abort for missing library functions, and ↵Alon Zakai
implement DEAD_FUNCTIONS that way
2013-04-19support for Runtime.addFunction in asm.jsAlon Zakai
2013-04-14use compiled compiler-rt code for i64 multiplicationAlon Zakai
2013-04-04Update AUTHORSÉloi Rivard