aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
AgeCommit message (Collapse)Author
2014-03-07Implement emscripten_async_wget2_dataJoel Croteau
This adds the new function emscripten_async_wget2_data to read from an XMLHTTPRequest directly into memory while supporting advanced features.
2014-03-06Fixed full screen closing immediatelyDerKoun
Fixed full screen closing immediately because of canvas container not being defined.
2014-03-03Merge branch 'allow_multiple_worker_responses' of ↵Alon Zakai
github.com:virusdave/emscripten into incoming Conflicts: AUTHORS
2014-03-03Allow multiple worker responses (via messages) if desired.Dave Nicponski
Add unit test for multiple worker responses. Test command: python tests/runner.py browser.test_worker_api_3 Add self to authors file.
2014-02-28fix some whitespaceAlon Zakai
2014-02-28Merge branch 'incoming' of ↵Alon Zakai
github.com:DerKoun/emscripten-fullscreen-improvements into incoming Conflicts: AUTHORS
2014-02-28Full screen fixes (aspect ratio & IE11) & AR optDerKoun
Full screen image now has correct aspect ratio (parent of canvas is full screen root, canvas size is adapted via styles). Full screen now works properly in Internet Explorer 11. It is now possible to optionally force a specific aspect ratio for the canvas (canvas size is adapted via styles, ratio for now has to be set manually in compiled JS).
2014-02-21strict fix: Don't define functions within conditionals or try blocks.Bruce Mitchener
2014-02-18add a version of emscripten_set_main_loop where the main loop takes an ↵Alon Zakai
argument; fixes #2114
2014-02-11refactor mouse wheel handling code to be shared across SDL, glfw, glutAlon Zakai
2014-02-10keep runtime alive if workers are calledAlon Zakai
2014-02-10keep runtime alive if we call async_prepare*Alon Zakai
2014-02-06warn when rendering without setAnimationFrameAlon Zakai
2014-01-15Optimize rendering from client-side memory by maintaining a set of ↵Jukka Jylänki
doublebuffered VBOs. This improves performance by reducing CPU-GPU pipeline stalls.
2014-01-09Simplify verbose object dereference hierarchy in library_gl.js by storing ↵Jukka Jylänki
global WebGL context in the variable GLctx in addition to Module.ctx.
2014-01-03Update library_browser.jsonnoj
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)
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-01fix emscripten_hide_mouse removal of old ruleAlon Zakai
2013-11-25fix typo in onContextCreationErrorAlon Zakai
2013-11-22listen to webglcontextcreationerror for information; fixes #1846Alon Zakai
2013-11-17try 'webgl' as well for webgl context creation; fixes #1813Alon Zakai
2013-11-15precise clock_gettime when not using CLOCK_REALTIME; fixes #17951.7.7Alon Zakai
2013-11-07Add more names for functions that show up in Firefox profiler as anonymous.Jukka Jylänki
2013-11-06Merge pull request #1743 from fadams/fix-nodejs-socket-clientAlon Zakai
add support for node.js to act as a socket client
2013-11-04Give names to most manually assigned functions in the .js files, in form ↵Jukka Jylänki
"var x = function()" -> "function x()" so that error stack traces and profiling stack traces are more informative and do not contain anonymous functions.
2013-10-29updated library_sockfs.js to make WebSocket a local var and updated ↵Fraser Adams
library_browser.js to modify requestAnimationFrame to provide a fallback to setTimeout if window is undefined
2013-10-27add support for node.js to act as a socket clientFraser Adams
2013-10-14Minor fixes and improvementsRemi Papillie
2013-10-13Switched off antialiasing by default for WebGL contexts.Rémi Papillié
Allowed customization of context attributes through Browser.createContext().
2013-10-09print call stack of errors, when there is oneAlon Zakai
2013-09-13emscripten_async_load_scriptAlon Zakai
2013-09-01gracefully handle ExitStatus exception in async main loopsAnthony Pesch
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-25implement emscripten_get_canvas_sizeToadKing
2013-08-19Merge remote-tracking branch 'origin/incoming' into touch_handlingJames Gregory
2013-08-15expose setCanvasSizeAnthony Pesch
2013-08-08Merge pull request #1470 from inolen/preload_path_fixesAlon Zakai
file preload path fixes
2013-08-08Basic touch event support in GLUT for mobile browsers.James Gregory
2013-08-08Do not attempt browser image decoding if the browser does not have the ↵Jukka Jylänki
window.URL or window.webkitURL objects. Fix the warning print to appear in that case on Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16.
2013-08-06store preloaded images by their absolute pathAnthony Pesch
2013-07-22Made getMimetype() a public method of the Browser module and used itMichael J. Bishop
inside the SDL module.
2013-07-12Add bug number to comment.Jez Ng
2013-07-12Simplify ArrayBuffer copy.Jez Ng
2013-07-12Work around Safari image loading bug. Closes #1130.Jez Ng
2013-07-09Bunch of changes to support Syobon Action.Jez Ng
2013-06-30Fixed emscripten_get_now in a shellJoseph Gentle
2013-06-24Merge pull request #1302 from Manny-MADE/glut_fixesAlon Zakai
Several GLUT library improvements