aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-01-07make aggressiveVariableElimination usable through a settingAlon Zakai
2014-01-07properly overflow gep arguments; fixes #1975Alon Zakai
2014-01-07Merge branch 'add-libuuid' of github.com:fadams/emscripten into incomingAlon Zakai
Conflicts: tools/shared.py
2014-01-07Implementing keycodes for numpad numbered keys.AlexPerrot
They return the same keycode as the numbers on the main keyboard.
2014-01-07Added ENVIRONMENT_IS_WEB test prior to checking window.crypto etc. so we are ↵Fraser Adams
sure that window is defined
2014-01-06preprocess recursively into #include's; fixes #1984Alon Zakai
2014-01-06ignore new readonly attribute in llvm 3.4Alon Zakai
2014-01-06ignore new readnone attribute in llvm 3.4Alon Zakai
2014-01-06Merge pull request #1982 from floooh/incomingAlon Zakai
Added missing Return and Tab keycode support to library_glut.js
2014-01-06Merge pull request #1978 from coolwanglu/prAlon Zakai
correct annotation for closure
2014-01-06Added support for Return and Backspace key to glutfloooh
2014-01-06changed != to !== in a couple of places. Added fix to prevent closure ↵Fraser Adams
minifying crypto randomBytes etc. this fix makes use of closure externs so I've added a closure-externs.js to hold the definitions and modified tools/shared.py closure_compiler method to point to closure-externs.js. I've added externs to fix minification of the ws library used in library_sockfs.js too
2014-01-06tokenize() does not accept a 2nd parameterLu Wang
2014-01-05correct annotation for closureLu Wang
2014-01-04fix some relooper compiler warnings and update reftests for previous fixes1.8.3Alon Zakai
2014-01-03Merge pull request #1967 from coolwanglu/pr_cleanAlon Zakai
clean extra arg of JSify
2014-01-03Merge pull request #1941 from onnoj/incomingAlon Zakai
Added workaround for window.scrollX compat.
2014-01-03optimize main loop in SDL_UnlockSurface to avoid a branchAlon Zakai
2014-01-03[SDL] Actually fix SDL_UnlockSurface in IE10/IE11.John Vilk
The previous revision did not copy over pixel data properly. This time, I have reverted the IE path to the code used in this method prior to the breaking change, and have tested it with JSMESS.
2014-01-03[SDL] Fixing SDL_UnlockSurface in IE10/IE11.John Vilk
Previously, just calling SDL_UnlockSurface in IE10/IE11 would throw an exception, since Emscripten assumed that the ImageData's `data` property was Uint8ClampedArray, which has a backing buffer. IE10/IE11 still uses the deprecated CanvasPixelArray, which does not have a backing buffer property: https://developer.mozilla.org/en-US/docs/Web/API/CanvasPixelArray I've added an additional path to SDL_UnlockSurface for these browsers.
2014-01-03fix output in glGetFramebufferAttachmentParameterivAlon Zakai
2014-01-03properly handle getParameter returning null when it means a null object ↵Alon Zakai
(e.g., no buffer is bound) and not an invalid name
2014-01-03make sure to give Ids to split blocks in relooper1.8.1Alon Zakai
2014-01-03do not assume callee.caller always existsAlon Zakai
2014-01-03Update library_browser.jsonnoj
2014-01-03clean extra arg of JSifyLu Wang
2014-01-02adjust TOTAL_MEMORY at runtime, to take into account last minute changes to ↵Alon Zakai
Module.TOTAL_MEMORY
2014-01-02support #include x.js in our preprocessed js sourcesAlon Zakai
2014-01-02Added crypto quality random number generators for Node.js and browser ↵Fraser Adams
environment if available
2014-01-02minor cleanLu Wang
2014-01-02Fixed undefined check.onnoj
Forgot I had to explicitly check the type of variable type to see if it's undefined.
2014-01-02Added comments & assert to scrollX fix.onnoj
Added comments to fix as per @kripken's request. Added an assert too (guarded by ASSERTIONS define)
2014-01-01ensure we add precision in gl emulation to both fragment and vertex shadersAlon Zakai
2014-01-01fix gl typosAlon Zakai
2014-01-01Merge pull request #1870 from inolen/structinfo_fixAlon Zakai
fix for structures generated by manually calling generateStructInfo
2014-01-01minor cleanLu Wang
2013-12-31implementation of libuuidFraser Adams
2013-12-29Merge pull request #1928 from anlambert/webgl_ANGLE_instanced_arraysAlon Zakai
Add support for WebGL hardware instancing through extension ANGLE_instanced_arrays
2013-12-28Merge pull request #1954 from richq/lockrefAlon Zakai
Fix missing SDL_LockSurface reference
2013-12-28optimize relooper id counters1.8.0Alon Zakai
2013-12-27Fix missing SDL_LockSurface referenceRichard Quirk
Prior to this change, when blitting from the screen to a memory buffer the code could throw a "ReferenceError: _SDL_LockSurface is not defined" if SDL_LockSurface was not used elsewhere in the C code.
2013-12-26support for optional complete emulation in relooper1.7.9Alon Zakai
2013-12-26fix js libraries in fastcomp; fixes #1948Alon Zakai
2013-12-25ignore whitespace in relooper reftestsAlon Zakai
2013-12-25properly handle invoke of setjmp, by lowering to a call, which fixes phis ↵Alon Zakai
that refer to it. fixes #1942
2013-12-23Added workaround for window.scrollX compat.onnoj
window.scrollX/Y is not available in IE11. As far as specifications go, is currently only specified in draft (http://dev.w3.org/csswg/cssom-view/#refsCSSOM). Falling back to window.pageXOffset seems like a good workaround. On a related note; my Emscriptified project runs on IE11 although performance is very poor (mostly due to Internet Explorer itself, I think). It's pretty finicky about the shaders, as they introduced an extra set of requirements. (inout/in/out keywords not supported, can't construct mat3 from mat4, etc).
2013-12-20Move emscripten-source-map.min.js to src/ since it is a non-tests file ↵Jukka Jylänki
needed by public use when user wants to emscripten_log with a C callstack. Remove redundant emscripten_demangle function.
2013-12-20Update emscripten_log to work with the handwritten JS demangler. Update tests.Jukka Jylänki
2013-12-20Also give the ability to print out function parameters in the callstack with ↵Jukka Jylänki
emscripten_get_callstack.
2013-12-20Add new functions emscripten_log() in emscripten.h which allows printing out ↵Jukka Jylänki
log messages with callstack information, and function emscripten_get_callstack(), which allows programmatically obtaining the current callstack.