aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-012-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-012-73/+73
| | | | | | | | | | | | | | | | | | | 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-314-13/+385
| | | | | | | 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.
* | Fix extraneous NULL character on HTML exportGeorge Marques2016-10-201-2/+2
| | | | | | | | Fix #2801
* | 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.
* | 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-306-2/+242
|\ | | | | Add JavaScript eval interface to web export
| * Add JavaScript eval interfaceeska2016-06-306-2/+242
| |
* | Pass mouse position to Input singleton in web exporteska2016-07-081-0/+3
| |
* | Merge pull request #5362 from J08nY/pngRémi Verschelde2016-06-231-0/+0
|\ \ | | | | | | libpng: New version 1.6.27
| * | Fixed iCCp chunk in pngsJ08nY2016-06-221-0/+0
| | | | | | | | | | | | neccesary for libpng 1.6.27 to work silently
* | | Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky2016-06-222-2/+2
|/ / | | | | | | | | | | statically typed languages, should help in the Mono integration. Disabled by default.
* | Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-182-0/+56
| | | | | | Also removes a couple wrong Godot headers from third-party source files.
* | Fix javascript build in WindowsGeorge Marques2016-06-141-0/+3
| | | | | | | | Fix #3438
* | remove trailing whitespaceHubert Jarosz2016-05-211-15/+15
| |
* | Move export GUI debug toggle to export settings windoweska2016-04-281-1/+1
|/
* Add fallback to legacy KeyboardEvent in web exporteska2016-04-191-1/+21
| | | | | Fallback to KeyboardEvent property `charCode` is absence of both `key` and `char` for retrieval of unicode value.
* Reimplement key input events in Emscripten exporteska2016-04-194-121/+435
| | | | | Scancodes work, but unicode values are now completely broken in some browser/OS combinations.
* Remove trailing spacesRémi Verschelde2016-04-021-2/+2
|
* html5: workaround for echo key events.hondres2016-03-043-2/+27
|
* add mappings and increase max number of buttonshondres2016-01-221-1/+1
|
* html5 gamepad supportHinsbart2016-01-212-1/+75
|
* fix string conversion in javascript exporthondres2016-01-201-1/+1
|
* Revamp web export pageeska2016-01-201-17/+55
|
* Update copyright to 2016 in headersGeorge Marques2016-01-018-8/+8
|
* Remove bogus argument in sample_get_descriptionRémi Verschelde2015-12-282-2/+2
| | | | Copy-paste mistake from the setter most likely.
* threadsAriel Manzur2015-12-221-1/+1
|
* missing?Ariel Manzur2015-12-221-0/+7
|
* Add way to look for templates at system wide level tooest312015-11-301-11/+16
| | | | | | | | Useful for everybody wanting to package godot. Fixes #1026. -> Retain the old behaviour: path in error msg only when exporting. -> User templates override system templates
* Add support for Opus audio formatGeorge Marques2015-10-021-0/+3
|
* Rename voice_set_volume argument to p_volume to avoid confusionRémi Verschelde2015-09-262-3/+3
| | | | | This argument is indeed expected to be a volume on a linear scale (not dB), typically from 0.0 to 1.0, though it can go higher than 1.0.
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2015-09-246-19/+111
|\
| * Ability to visually debug geometry visually:Juan Linietsky2015-09-201-5/+5
| | | | | | | | | | | | | | -Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings
| * HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-124-10/+99
| | | | | | | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
| * remotion of some c++ includes to avoid dependency on libstdc++Juan Linietsky2015-09-101-4/+7
| |
* | Added ability to set custom mouse cursors. Not hardware accelerated yet.Juan Linietsky2015-09-241-0/+1
|/
* HTML5 exporter ImprovementsJuan Linietsky2015-09-108-18/+1032
| | | | | | -Better template handling -Voice support -Stream support