aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-06-02glDrawRangeElementsAlon Zakai
2012-06-02add parents to makeHEAPViewAlon Zakai
2012-06-02return correct values for GL_SHADER_COMPILER and GL_NUM_SHADER_BINARY_FORMATSAlon Zakai
2012-06-02clean up unneeded commentAlon Zakai
2012-06-02make temp buffer size larger by default, and add assertionsAlon Zakai
2012-06-02scan indices when necessary to figure out what vertex data to push, when no ↵Alon Zakai
buffers are being used. allows use of vertex data from arbitrary parts of the vertex data range, not just the beginning
2012-06-01clarify the difference between drawArrays and drawElements index argumentAlon Zakai
2012-06-01fix drawArrays emulated buffer size calculationAlon Zakai
2012-06-01handle pointers to clientside data in glDrawElements when emulating GLAlon Zakai
2012-06-01but disable dump by defaultAlon Zakai
2012-06-01use dump when available instead of console.logAlon Zakai
2012-06-01properly fix bug with holding mouse down while exiting canvasAlon Zakai
2012-06-01fix handling of glUseProgram(0) and gl_ModelViewMatrixTransposeAlon Zakai
2012-05-31fix minus keybindingAlon Zakai
2012-05-31disable mouse unpressing on mouse exit, til we figure out the bugginessAlon Zakai
2012-05-31make strtod properly handle .5 etcAlon Zakai
2012-05-31un-press all mouse buttons when the mouse leaves the canvas, prevents bug ↵Alon Zakai
with mouse button staying down after leaving, until reentering and clicking
2012-05-31Merge pull request #460 from adetaylor/llvm_uadd_with_overflow_i16Alon Zakai
Adding LLVM intrinsic llvm_uadd_with_overflow_i16.
2012-05-31Merge pull request #455 from caiiiycuk/library_sdlAlon Zakai
Add missing sdl functions
2012-05-31do not do GL immediate mode emulation if a 2D context is being used, even if ↵Alon Zakai
compiled with emulation
2012-05-31Adding LLVM intrinsic llvm_uadd_with_overflow_i16.Adrian Taylor
With -O1, sometimes LLVM generates code which calls its intrinsic llvm_uadd_with_overflow_i16, which was previously missing in emscripten's library. This commit adds that intrinsic, and also adds a test which causes LLVM to call that intrinsic (only in 'o1'). This test previously failed in 'o1' but now passes.
2012-05-30properly identify function pointers that return things like [64 x i16]*Alon Zakai
2012-05-30Merge pull request #450 from caiiiycuk/openttdAlon Zakai
strndump function implementation
2012-05-30Add sdl functions: 'SDL_UpdateRects', 'SDL_GetKeyState'Aleksander Guryanov
2012-05-29Add missing sdl functions (SDL_VideoModeOK SDL_VideoDriverName ↵Aleksander Guryanov
SDL_QuitSubSystem)
2012-05-29Fix behavior strndup whern size <= 0, in this case strndup returns empty stringAleksander Guryanov
2012-05-28fix string detection regexp and add testAlon Zakai
2012-05-28throw on writes to absolute memory addresses; fixes #451Alon Zakai
2012-05-28Fix size of new string (0 +1->size +1)Aleksander Guryanov
2012-05-28Add implementation of strndup function and test for itAleksander Guryanov
2012-05-26fix strtod behavior on non-intsAlon Zakai
2012-05-25allow - in globals, aliases and typesAlon Zakai
2012-05-24make fgetc return the char value as unsigned (in a signed int)Alon Zakai
2012-05-24Merge pull request #435 from ehsan/sdlmouseAlon Zakai
Fix the SDL mouse motion events
2012-05-23Stub a few more gl functionsEhsan Akhgari
These are useful for fog implementation, which we can look into implementing in the future.
2012-05-22Save the state of the mouse button as we're creating a C event for itEhsan Akhgari
2012-05-22Fix the SDL mouse motion eventsEhsan Akhgari
2012-05-18WARN_ON_UNDEFINED_SYMBOLSAlon Zakai
2012-05-18sdl backtickAlon Zakai
2012-05-18ignore module asm, in some cases it is ok to do so, but warnAlon Zakai
2012-05-16ignore GL_FOG_ENDAlon Zakai
2012-05-16ignore GL_FOG_STARTAlon Zakai
2012-05-16fix invalid characterAlon Zakai
2012-05-16Fix the incorrect initial value of GL.immediate.currentMatrixEhsan Akhgari
2012-05-15Merge pull request #428 from ehsan/fixesAlon Zakai
A bunch of random fixes
2012-05-15browser gc testAlon Zakai
2012-05-15Stub glAlphaFuncEhsan Akhgari
It's not implemented for now...
2012-05-15Fix IMG_Load to work with absolute pathsEhsan Akhgari
2012-05-15Make FS_LOG work againEhsan Akhgari
Use Module.print, since the print function doesn't seem to be accessible any more for some reason. Without this, enabling FS_LOG causes the browser's print UI to be invoked, which is pretty bad!
2012-05-15Make glHint accept two argumentsEhsan Akhgari