aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-11-16Merge pull request #1818 from DopefishJustin/masterAlon Zakai
Don't throw an exception on SDL_ThreadID()
2013-11-16fix clock_getres for higher-resolution timing we now support; improves #1795Alon Zakai
2013-11-16Don't throw an exception on SDL_ThreadID()DopefishJustin
2013-11-15precise clock_gettime when not using CLOCK_REALTIME; fixes #17951.7.7Alon Zakai
2013-11-15ignore llvm ir fast-math notation; fixes #1762Alon Zakai
2013-11-15Merge pull request #1806 from juj/sdl_audio_queueingjuj
Sdl audio queueing
2013-11-16Add a configuration option Module.SDL_numSimultaneouslyQueuedBuffers to ↵Jukka Jylänki
allow user code to configure how many SDL audio buffers to keep simultaneously queued up for the audio backend. More buffers means less change of starving (and cracking audio), but increases latency. Fewer buffers lower the latency at the risk of playback glitches. Make minimum audio buffer size 128, which should be way below anything reasonable already. Clean up commented out code.
2013-11-15Never throw uncaught exceptions out from compiler.js, but just report the ↵Jukka Jylänki
exception message to stderr. Fixes other.test_warn_undefined on Windows, which would fail if Python spawned node.js in the case where it printed stderr and terminated to an uncaught exception, leaving unflushed data to stderr, and not all unresolved symbol errors were printed to console. Node.js stderr does not have a flush() mechanism, so must gracefully terminate the execution instead.
2013-11-15do not kill asm library functions with DEAD_FUNCTIONS, as they perform ↵Alon Zakai
fundamental things we cannot easily remove, and there are not many of them anyhow; fixes asm1.test_asm_pgo
2013-11-15option to hoist dead ends into loopsAlon Zakai
2013-11-14don't evaluate function table aliases containing relocation offsets; fixes #1807Alon Zakai
2013-11-14Merge pull request #1809 from juj/gles2_getsAlon Zakai
GLES2 glGetXXs()
2013-11-14ensure a >>> coercion on unsigned comparisons, even if the input is an i29 ↵Alon Zakai
which would be coerced using an &; fixes asm1.test_sqlite on llvm 3.3
2013-11-14handle odd types like i24 in makeSignOp, fixes asm1.test_fuzz on llvm 3.3Alon Zakai
2013-11-14Implement more complete glGetXXv() for GLES2 binary shader format and shader ↵Jukka Jylänki
compiler enums that WebGL will not implement for us. Fixes #1803.
2013-11-13don't show both errors and warnings on undefined symbolsAlon Zakai
2013-11-13test for multiple undefined symbolsAlon Zakai
2013-11-13tidy up case of first letter in error/warningAlon Zakai
2013-11-13warn on missing symbols by default; fixes #1794Alon Zakai
2013-11-13Merge pull request #1798 from juj/gles2_max_program_lengthsjuj
GLES2 max program identifier lengths.
2013-11-14Implement support for glGetProgramiv(GL_ACTIVE_UNIFORM_MAX_LENGTH) and ↵Jukka Jylänki
glGetProgramiv(GL_ACTIVE_ATTRIBUTE_MAX_LENGTH). Test this as part of gles2_uniform_arrays.cpp. Closes #1796.
2013-11-13Add concepts of current context, and current draw and read surfaces on that ↵Jukka Jylänki
context. Implement functions eglGetCurrentSurface(), eglGetCurrentDisplay() and eglGetCurrentContext(). Allow passing EGL_NO_SURFACE and EGL_NO_CONTEXT to eglMakeCurrent. Fixes #1793 and #1775.
2013-11-13Rename redundant wording EGL.eglErrorCode to just EGL.errorCode.Jukka Jylänki
2013-11-12don't print anything in exit(); fixes #1791Alon Zakai
2013-11-12make DEAD_FUNCTIONS work on js library functions tooAlon Zakai
2013-11-12ignore first L when demangling, literalness is irrelevant to the main nameAlon Zakai
2013-11-12refactor demanglerAlon Zakai
2013-11-12demangle constructorsAlon Zakai
2013-11-12demangle new and deleteAlon Zakai
2013-11-11Merge pull request #1774 from fadams/fix-getaddrinfo-null-hintsAlon Zakai
Provided an implementation for gai_strerror and gave getaddrinfo sensibl...
2013-11-11Merge branch 'sdl_joystick' of github.com:jvilk/emscripten into incomingAlon Zakai
2013-11-11Merge branch 'incoming' into f32Alon Zakai
2013-11-11coerce to double before converting a float to an i64Alon Zakai
2013-11-11Replaced loop in gai_strerror with writeAsciiToMemory call and made the ↵Fraser Adams
comment around hopefully a little more descriptive
2013-11-10use writeAsciiToMemory in library.js in more placesAlon Zakai
2013-11-10Merge pull request #1778 from ToadKing/nanosleep-fixAlon Zakai
nanosleep - don't write to rmtp if it's NULL
2013-11-10Make GL library more spec conformant by not throwing exceptions on errors, ↵Jukka Jylänki
but instead reporting them via glGetError() as the GLES2 spec says. Use the linker flag "-s GL_ASSERTIONS=1" to enable additional debug-time error logging from the GL layer for error reasons.
2013-11-10Support SDL audio sample size of 512 samples. Make the SDL audio buffer ↵Jukka Jylänki
queueing logic more resilient for jitter, and factor out a common parameter 'SDL.audio.numSimultaneouslyQueuedBuffers' that can be used to tune for a good quality<->latency balance.
2013-11-10nanosleep - don't write to rmtp if it's NULLToadKing
2013-11-10[SDL] Joystick API implementation using HTML5 Gamepad APIJohn Vilk
Works in browsers that implement the working draft of the standard (current Chrome / Firefox stable): http://www.w3.org/TR/2012/WD-gamepad-20120529/#gamepad-interface ...and browsers that implement the editor's draft (current Firefox Nightly): https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#idl-def-Gamepad Contains unit tests for both event types.
2013-11-10Changed library.js line 7509 to use hint !== 0 test vice hint != 0Fraser Adams
2013-11-09support inline asm comments; fixes #1766Alon Zakai
2013-11-09optimize fround polyfill a tiny bitAlon Zakai
2013-11-09fix ensureDot logicAlon Zakai
2013-11-09Provided an implementation for gai_strerror and gave getaddrinfo sensible ↵Fraser Adams
default behaviour when hints is set to NULL. Ideally getaddrinfo should supply multiple addrinfo values when hints is NULL or ai_family is set to AF_UNSPEC but this is a somewhat more complex proposition
2013-11-08emit proper large float constants when js opts are to be runAlon Zakai
2013-11-08Merge branch 'incoming' into f32Alon Zakai
Conflicts: src/parseTools.js src/preamble.js
2013-11-08Merge branch 'master' of github.com:bobroberts177/emscripten into incomingAlon Zakai
2013-11-08Merge pull request #1761 from prenaux/developAlon Zakai
GLUT support for DELETE & BACKSPACE keys ; Fixed lzma.js doit.sh so that it works on Windows ; Removed unnecessary warning in em++ ;
2013-11-08Merge pull request #1764 from juj/name_more_functionsAlon Zakai
Add more names for functions that show up in Firefox profiler as anonymous.