aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/SCsub
Commit message (Collapse)AuthorAgeFilesLines
* Small refactoring in HTML5 build scriptsLeon Krause2018-05-141-3/+3
| | | | Drop logic for non-existent 'profile' target
* Refactor JavaScript platform build scriptLeon Krause2018-03-261-25/+22
|
* Wrap Emscripten module into JS Engine singleton per SConsLeon Krause2018-01-131-6/+5
| | | | | Emscripten's meta DCE changes in 1.37.27(/28?) make it impossible to keep using --pre-js for this
* disable caching for targets using helper functionsRhody Lugo2017-11-281-1/+1
|
* Remove asm.js support from HTML5 platformLeon Krause2017-11-181-22/+6
| | | | | Since WebGL 2.0 is required, requiring WebAssembly support as well has little impact on compatibility.
* Implement HTTPClient in HTML5 platformLeon Krause2017-11-131-0/+7
| | | | | | | | | | | Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification
* Fix WebAudio and HTML5 buildLeon Krause2017-11-061-2/+1
|
* Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-251-1/+1
|
* HTML5 start-up overhaulLeon Krause2017-09-111-17/+16
| | | | | | | | | | | | | | | | - Implement promise-based JS interface for custom HTML page integration - Add download progress callback - Add progress bar and indeterminate spinner to default HTML page - Try downloading files multiple times when failing - Get rid of godotfs.js - Separate steps for engine initialization, game initialization and game start - Allow multiple games on one HTML page - Substitution placeholders only used in .html file - Placeholders renamed: $GODOT_BASE => $GODOT_BASENAME, $GODOT_TMEM -> $GODOT_TOTAL_MEMORY - Emscripten Module is now Engine.RuntimeEnvironment (no longer a global)
* Implement input focus behavior in HTML5L. Krause2017-07-221-1/+1
| | | | | | - Key and mouse events are only consumed if canvas is focused - NOTIFICATION_WM_MOUSE_ENTER, _MOUSE_EXIT, _FOCUS_IN and _FOCUS_OUT are emitted
* Fix zipping HTML5 templates when using implicit cacheL. Krause2017-07-171-17/+22
|
* Fix web export buildeska2017-03-101-4/+2
|
* Fix WebAssembly builds on Windowseska2017-02-211-1/+1
|
* Automatically zip web export templateseska2017-02-201-13/+24
| | | | Also fix web builds on Windows and clean up
* Relink web build when HTML shell changeseska2017-01-121-0/+1
| | | | | | | | Emscripten injects its loader script when linking, so force relinking whenever the HTML shell changes. Also remove useless FULL_ES2 flag, which should be a linker flag, but would impact performance too much.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-011-7/+7
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* Add option 'wasm' to compile to WebAssembly in web exporteska2016-10-311-5/+13
| | | | | | | WebAssembly is still experimental, so disabled by default. The HTML shell file now uses $GODOT_BASE, a placeholder for the base filename, instead of $GODOT_JS, $GODOT_MEM and $GODOT_FS.
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | Also switch existing shebangs to "better" /usr/bin/env python.
* Add JavaScript eval interfaceeska2016-06-301-1/+2
|
* HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-121-1/+1
| | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
* HTML5 exporter ImprovementsJuan Linietsky2015-09-101-1/+4
| | | | | | -Better template handling -Voice support -Stream support
* Build System ChangesJuan Linietsky2014-10-071-3/+1
| | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+25