summaryrefslogtreecommitdiffstats
path: root/platform/javascript/detect.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11154 from eska014/html5-startup-revampPoommetee Ketson2017-09-121-0/+2
|\ | | | | HTML5 start-up overhaul with download progress display
| * HTML5 start-up overhaulLeon Krause2017-09-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
* | Make build scripts Python3 compatibleMatthias Hoelzl2017-08-271-1/+1
|/ | | | | | | | - The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
* Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde2017-07-011-26/+36
| | | | | | | | | | | | | | | | | | | Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
* Merge pull request #8191 from eska014/webgl2-exportJuan Linietsky2017-03-291-1/+1
|\ | | | | WebGL 2 export per WebAssembly or asm.js
| * WebGL 2 export per WebAssembly or asm.jseska2017-03-291-1/+1
| |
* | SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-1/+1
|/ | | | | | | | All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
* Some WebGL 2 and build fixes/clean-upeska2017-03-171-16/+13
|
* more html5 fixesJuan Linietsky2017-03-141-2/+3
|
* Fix web export buildeska2017-03-101-2/+1
|
* Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky2017-02-221-1/+0
| | | | work though
* Fix WebAssembly builds on Windowseska2017-02-211-12/+28
|
* Automatically zip web export templateseska2017-02-201-18/+7
| | | | Also fix web builds on Windows and clean up
* Fix parallel asm.js/WebAssembly buildseska2017-02-201-1/+1
|
* Enable WebGL2 in web export, start fixing buildeska2017-02-011-10/+3
| | | | Will not yet compile
* Relink web build when HTML shell changeseska2017-01-121-1/+0
| | | | | | | | 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.
* Emit asm.js code into a dedicated file for asm.js exporteska2016-11-301-0/+1
| | | | | This helps prevent browser lockups during start-up at the cost of having to distribute an extra file.
* Remove explicit BINARYEN_METHOD for WebAssembly buildeska2016-11-131-1/+0
| | | | This option is the default since Binaryen version 21.
* Enable memory growth in WebAssembly buildseska2016-11-131-0/+7
| | | | | This allows setting TOTAL_MEMORY during runtime at the cost of reserving a bit more memory.
* scons: Reorder options for clarityRémi Verschelde2016-11-031-1/+0
| | | | Also prefix all thirdparty-related toggles with `builtin`.
* style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-011-1/+1
| | | | | | | | | | | | Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-1/+5
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-68/+68
| | | | | | | | | | | | | | | | | | | 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-3/+9
| | | | | | | 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.
* Merge pull request #6993 from eska014/remove-js-compressionRémi Verschelde2016-10-311-8/+1
|\ | | | | Remove JavaScript compilation option 'compress'.
| * Remove JavaScript compilation option `compress`.eska2016-10-211-8/+1
| | | | | | | | | | This functionality has been removed from Emscripten in version 1.36.13, server-side compression is recommended instead.
* | zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-151-0/+1
| |
* | squish: Move to a module and split thirdparty libRémi Verschelde2016-10-151-2/+1
| |
* | mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde2016-10-151-1/+1
| |
* | theora: Move to a module and split thirdparty libRémi Verschelde2016-10-151-1/+1
| | | | | | | | Same rationale as the previous commits.
* | ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde2016-10-151-2/+3
| | | | | | | | | | | | | | | | | | Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus.
* | Drop nedmalloc which is apparently not used anymoreRémi Verschelde2016-10-141-9/+0
| |
* | Remove speex support, it is obsoleted by opusRémi Verschelde2016-10-131-1/+0
|/ | | | | | | | | As mentioned by upstream, Xiph.Org [0]: > The Speex codec has been obsoleted by Opus. It will continue to be > available, but since Opus is better than Speex in all aspects, > users are encouraged to switch. [0] http://www.speex.org/
* Merge pull request #4376 from eska014/js-evalRémi Verschelde2016-08-301-1/+6
|\ | | | | Add JavaScript eval interface to web export
| * Add JavaScript eval interfaceeska2016-06-301-1/+6
| |
* | Fix javascript build in WindowsGeorge Marques2016-06-141-0/+3
|/ | | | Fix #3438
* Remove trailing spacesRémi Verschelde2016-04-021-2/+2
|
* threadsAriel Manzur2015-12-221-1/+1
|
* missing?Ariel Manzur2015-12-221-0/+7
|
* Add support for Opus audio formatGeorge Marques2015-10-021-0/+3
|
* HTML5 exporter ImprovementsJuan Linietsky2015-09-101-1/+0
| | | | | | -Better template handling -Voice support -Stream support
* Revert "Revert "Removing etc1 from build for javascript platform.""V.VamsiKrishna2015-03-201-0/+1
| | | | This reverts commit 9965e93f7eb7297490de597cc8ed8e18b4ba2872.
* Revert "Removing etc1 from build for javascript platform."V.VamsiKrishna2015-03-201-1/+0
| | | | This reverts commit 41b729ccff74e5a9154bee7db0d36ffd74641eae.
* Removing etc1 from build for javascript platform.V.VamsiKrishna2015-03-201-0/+1
| | | | | | | Based on inputs from reduz 1) Made etc1 optional driver and default yes. 2) Reverted the hack in rg_etc1.cpp 3) Disabled etc1 for javascript plaform.
* Replacing spaces with tabsV.VamsiKrishna2015-03-201-77/+77
|
* Fix Javascript build.V.VamsiKrishna2015-03-191-73/+77
|
* Build System ChangesJuan Linietsky2014-10-071-10/+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.
* Light Baker!Juan Linietsky2014-06-111-1/+1
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+102