aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-07Merge branch 'ldc' of github.com:gagern/emscripten into gagern-ldc2Alon Zakai
2013-03-07support llvm_ctpop_*; fixes #918Alon Zakai
2013-03-07Merge pull request #931 from xxuejie/stdlib_strtodAlon Zakai
Implement strtod in native C code as part of libc.
2013-03-07Merge pull request #932 from tobydox/incomingAlon Zakai
Emit correct code for setjmp() calls when in UNALIGNED_MEMORY mode
2013-03-07FULL_ES2 todoAlon Zakai
2013-03-07use temp buffers for indices in glDrawElements in FULL_ES2Alon Zakai
2013-03-07use temp buffers in FULL_ES2 array buffersAlon Zakai
2013-03-07refactor gl temporary buffer codeAlon Zakai
2013-03-07optimize out creation of new JS objects in each glVertexAttribPointer call ↵Alon Zakai
in FULL_ES2
2013-03-07add test for animation in FULL_ES2Alon Zakai
2013-03-07fix FULL_ES2 bug with not taking into account 'first' in glDrawArraysAlon Zakai
2013-03-07Merge pull request #933 from vvuk/cache-fixAlon Zakai
Fix debug prints in tools/cache.py
2013-03-07gl commentsAlon Zakai
2013-03-07gl whitespace cleanupAlon Zakai
2013-03-07Fix debug prints in tools/cache.pyVladimir Vukicevic
2013-03-06Move strtod, strtold, strtof, strtod_l, strtold_l, atof from JS side to libc ↵1.2.9Xuejie "Rafael" Xiao
side, this can fix double precision bug in original strtod implementation.
2013-03-06simplify loop unrolling of memcpy and memsetAlon Zakai
2013-03-06patch to allow loopvars from memset/cpy in asmAlon Zakai
2013-03-06remove trivial whitespaceAlon Zakai
2013-03-06loopify big memcpys in asmAlon Zakai
2013-03-06loopify big memsets in asmAlon Zakai
2013-03-06fix IE comma issueAlon Zakai
2013-03-06enable pointer lock checkbox by defaultAlon Zakai
2013-03-06Merge pull request #845 from MichaelRiss/FullScreenEnhancementAlon Zakai
Improved fullscreen functionality.
2013-03-06assert on no variable name collisions for #923Alon Zakai
2013-03-06more log output in failed emscripten subprocessesAlon Zakai
2013-03-06Merge pull request #929 from waywardmonkeys/remove-test-OsAlon Zakai
Remove test_Os now that emcc supports -Os.
2013-03-06Merge pull request #848 from manuels/incomingAlon Zakai
Add getopt and getopt_long (libc) support
2013-03-06Merge pull request #920 from waywardmonkeys/fix-include-orderAlon Zakai
Search libcxx includes before others (libc).
2013-03-06update csmith driverAlon Zakai
2013-03-06Merge pull request #925 from waywardmonkeys/implement-llabsAlon Zakai
Implement llabs().
2013-03-06Emit correct code for setjmp() calls when in UNALIGNED_MEMORY modeTobias Doerffel
makeSetValue() returns multiple statements when in UNALIGNED_MEMORY mode and thus have to be separated by commas in this context.
2013-03-07Implement llabs().Bruce Mitchener
2013-03-06Remove test_Os now that emcc supports -Os.Bruce Mitchener
2013-03-06realize fullscreen options (resize canvas and lock pointer) with checkboxesMichael Riss
2013-03-06Fixes for the full screen implementation:Michael Riss
- formatting fixes - added comments (for the SDL_FULLSCREEN flag) - add event handlers only once and communicate through object variables (Browser.lockPointer and Browser.resizeCanvas) Signed-off-by: Michael Riss <Michael.Riss@gmx.de>
2013-03-06Further improvement of the full screen support:Michael Riss
- SDL_WM_ToggleFullScreen now delivers correct return values, reflecting that for a SDL program it's impossible to switch to full screen mode in the browser environment Signed-off-by: Michael Riss <Michael.Riss@gmx.de>
2013-03-06- fixed formatting issuesMichael Riss
- bugfix: an existing pointerLockChange handler now gets properly removed before it is installed anew - completed the implementation of the SDL_ShowCursor() function: - can now query the current state of the cursor/pointer - properly delivers adequate return values - added safeguard: when not in fullscreen mode, attempts to lock the pointer are ignored as they would fail due to the security model of the browser and a return value indicating the error is returned Signed-off-by: Michael Riss <Michael.Riss@gmx.de>
2013-03-06Improved fullscreen functionality.Michael Riss
- the requestFullScreen function now has two boolean arguments: "doLockPointer" and "doResizeCanvas" - when using "doResizeCanvas", the SDL application gets notified via the "SDL_VIDEORESIZE" event of the new resolution, the old resolution setting is saved and gets restored when the canvas returns to windowed mode - when setting "doLockPointer" to false the mouse pointer remains visible in fullscreen mode and allows e.g. RTS (Real Time Strategy) type games - the SDL application can check via the "SDL_FULLSCREEN" flag in the flags field of the SDL_Surface struct whether the canvas is currently in fullscreen mode or not. - depending on the browser the SDL application can switch out of the fullscreen mode with the "SDL_WM_ToggleFullScreen(SDL_Surface*);" call (currently chrome supports it, firefox does not) - Also, the requestFullScreen has been fixed to avoid repeated adding of the event listeners every time requestFullScreen is called. - src/shell.html got changed to demonstrate all variants to switch to fullscreen mode Note: Due to the security model of web browsers, the SDL model cannot be fully supported. What is not possible? - Initiating the switch to fullscreen from the SDL application. - Initiating the pointer lock from the SDL application when *not* in fullscreen mode How to work around the limitations? All the actions that cannot be initiated by the SDL application have to be initiated by the web browser instead. A good practice should be to start the application in windowed mode and have a button situated close to the canvas which switches the canvas into fullscreen mode and also changes the canvas size to fullscreen resolution. This way, the SDL application receives a SDL_VIDEORESIZE event and can check in the even handler whether it is now in fullscreen mode and take further actions. When leaving fullscreen mode the old windowed canvas resolution gets restored and triggers another SDL_VIDEORESIZE event which - again - can be used to adapt the application to windowed mode. Signed-off-by: Michael Riss <Michael.Riss@gmx.de>
2013-03-05make -Os like -O2 but also disable inliningAlon Zakai
2013-03-05remove unnecessary recursion in relooper RemoveUnneededFlows1.2.8Alon Zakai
2013-03-05remove recursion in relooper FindLive1.2.7Alon Zakai
2013-03-05do not break on call/invoke to undef; fixes #914Alon Zakai
2013-03-05Merge pull request #922 from waywardmonkeys/implement-signbitAlon Zakai
Implement signbit in terms of copysign.
2013-03-06Implement signbit in terms of copysign.Bruce Mitchener
Currently, copysign is broken for negative zero, so this will be as well. Fixes #911.
2013-03-05Merge pull request #924 from waywardmonkeys/implement-sched-yieldAlon Zakai
Implement stub for sched_yield().
2013-03-05Merge pull request #926 from waywardmonkeys/implement-pthread-cond-timedwaitAlon Zakai
Implement stub for pthread_cond_timedwait().
2013-03-05handle invoke to setjmpAlon Zakai
2013-03-06Add some return values for pthread_cond_*.Bruce Mitchener
2013-03-06Adding myself to AUTHORS.Martin von Gagern