| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-11-26 | correct way of scrollinbg to bottom | Lu Wang | |
| 2013-10-28 | optimize Module.setStatus | Alon Zakai | |
| 2013-10-23 | write out html and side js when html output is requested, to improve page ↵ | Alon Zakai | |
| load times | |||
| 2013-08-24 | make script tag async in shell.html | Alon Zakai | |
| 2013-06-28 | improve error message | Alon Zakai | |
| 2013-06-19 | Ensure line numbers are the same in HTML. | Jez Ng | |
| Chrome and FF seem to be able to handle the extra empty lines, but no harm making things more accurate. One thing less to worry about when debugging. | |||
| 2013-03-20 | Remove border from canvas | Vladimir Vukicevic | |
| 2013-03-06 | enable pointer lock checkbox by default | Alon Zakai | |
| 2013-03-06 | realize fullscreen options (resize canvas and lock pointer) with checkboxes | Michael Riss | |
| 2013-03-06 | Fixes 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-06 | Improved 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-02-28 | support multiple arguments to default html print, printErr | Alon Zakai | |
| 2012-08-09 | show progress on datafile download | Alon Zakai | |
| 2012-07-23 | center progress | Alon Zakai | |
| 2012-07-23 | add progress to shell.html | Alon Zakai | |
| 2012-07-21 | nicer status text | Alon Zakai | |
| 2012-06-18 | write preparing, not downloading when preparing downloaded data | Alon Zakai | |
| 2012-06-17 | define preRun and postRun in browser html | Alon Zakai | |
| 2012-06-01 | but disable dump by default | Alon Zakai | |
| 2012-06-01 | use dump when available instead of console.log | Alon Zakai | |
| 2012-05-12 | show Running... when calling run() | Alon Zakai | |
| 2012-05-12 | nicer html messages during load/startup | Alon Zakai | |
| 2012-05-05 | fix fullscreen for closure | Alon Zakai | |
| 2012-04-29 | support for fullscreen and pointer lock, and prevent oom from sdl event ↵ | Alon Zakai | |
| queue overflow | |||
| 2012-04-18 | do not specify canvas size in css, to allow code to modify the size more easily | Alon Zakai | |
| 2012-04-18 | Make src/shell.html HTML5 compliant by fixing incorrect DOM around head/body ↵ | Diclophis | |
| tags, also declare a new CSS class 'emscripten' and make all generated elements use it so that we can prevent collision of additional elements if a developer chooses to modify this page and add additional elements, plus remove inline styles | |||
| 2012-04-04 | Prevent contextmenu event on canvas | Behdad Esfahbod | |
| I'm doing this in the shell so it benefits everyone, not only glut. | |||
| 2012-04-04 | Add border to canvas | Behdad Esfahbod | |
| 2012-04-02 | add encoding to html to remove browser warnings | Alon Zakai | |
| 2012-03-26 | show status messages for decompressing and clear status on run | Alon Zakai | |
| 2012-03-26 | improve output textarea behavior | Alon Zakai | |
| 2012-03-25 | show 'Downloading' in html on startup | Alon Zakai | |
| 2012-03-25 | update shell.html output for textarea | Alon Zakai | |
| 2012-03-25 | clear html debug output | Alon Zakai | |
| 2012-03-25 | make html print output more debug friendly | Alon Zakai | |
| 2012-03-23 | fix sdl keyboard input and add a test | Alon Zakai | |
| 2012-03-16 | show download number progress | Alon Zakai | |
| 2012-03-15 | almost working SDL_image test, just need async decoding | Alon Zakai | |
| 2012-03-06 | escape & in html | Alon Zakai | |
| 2012-03-05 | properly handle html-unfriendly print() output | Alon Zakai | |
| 2012-01-27 | Add a TODO message to add EMSCRIPTEN_ENVIRONMENT later | Ehsan Akhgari | |
| 2012-01-20 | Unify the 2D and WebGL contexts | Ehsan Akhgari | |
| 2012-01-20 | Enable SDL to create a 2D or WebGL context depending on what the caller wants | Ehsan Akhgari | |
| 2011-12-31 | override print() by default, to avoid errors when using the browser print() ↵ | Alon Zakai | |
| (print to printer) if it hasn't been overridden. Overriding is now possible through Module.print | |||
| 2011-12-13 | make shell.html more robust if no canvas support | Alon Zakai | |
| 2011-12-12 | support for generating html in emcc, and a test for that that also tests ↵ | Alon Zakai | |
| SDL, and some fixes for SDL | |||
