aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
AgeCommit message (Collapse)Author
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
2013-06-22IMPROVED: fixed codestyle to match java/jsmanny/MADE
IMPROVED: handling mouse position when pointer is locked
2013-06-19CHANGED: removed "MADE"-tag from commentsmanny/MADE
2013-06-19BUGFIX: several SDL related bugfixesmanny/MADE
2013-06-18do not do full Browser.init() in workers, just the minimum we needAlon Zakai
2013-06-07add missing return values in ↵Alon Zakai
safeRequestAnimationFrame,safeSetTimeout,safeSetInterval
2013-06-04Merge branch 'incoming-merge' of github.com:modeswitch/emscripten into incomingAlon Zakai
2013-05-27emscripten_exit_with_live_runtimeAlon Zakai
2013-05-23Fix missing methods.Alan Kligman
2013-05-23Add support for webrtc-based sockets. Moved both backends behind a settings ↵Alan Kligman
flag, SOCKET_WEBRTC.
2013-05-22Browser.safeCallbackAlon Zakai
2013-05-22do not call code-running callbacks if ABORTing; fixes #1191Alon Zakai
2013-05-21fix crash when no exitPointerLock, see #1074Alon Zakai
2013-05-17make fullscreen handling closure friendlyAlon Zakai
2013-05-13use Browser mouse calculations in glutAlon Zakai