aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-06Implement stub for sched_yield().Bruce Mitchener
This was in the headers, but had no implementation resulting in an undefined at runtime.
2013-03-05limit output in error messageAlon Zakai
2013-03-05run compiler engine in src/Alon Zakai
2013-03-05fix coding convention stuffAlon Zakai
2013-03-05Merge branch 'sd-audio' of github.com:michaeljbishop/emscripten into ↵Alon Zakai
michaeljbishop-sd-audio
2013-03-05add lto in benchmarksAlon Zakai
2013-03-05Add support for getopt/getopt_longmanuels
2013-03-05Merge pull request #897 from lptr/unregister_functionsAlon Zakai
Add Runtime.removeFunction()
2013-03-05Merge pull request #908 from waywardmonkeys/fix-typosAlon Zakai
Fix typos.
2013-03-05Merge pull request #909 from waywardmonkeys/fix-stdbool-hAlon Zakai
Ensure __bool_true_false_are_defined is defined.
2013-03-05Merge pull request #912 from waywardmonkeys/implement-nanosleepAlon Zakai
Implement nanosleep.
2013-03-05Merge pull request #913 from waywardmonkeys/implement-sc-nprocessors-onlnAlon Zakai
Implement _SC_NPROCESSORS_ONLN.
2013-03-051.2.61.2.6Alon Zakai
2013-03-05make FindLabeledLoops not recurse on ->NextAlon Zakai
2013-03-05Merge branch 'incoming' of github.com:kripken/emscripten into incomingAlon Zakai
2013-03-05fix cache clear time savingAlon Zakai
2013-03-05update relooper testsAlon Zakai