aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-3/+3
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Add API to access battery power stateJulian Murgia2017-03-044-1/+148
| | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky2017-02-225-4/+7
| | | | work though
* Fix WebAssembly builds on Windowseska2017-02-212-13/+29
|
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-213-5/+4
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Automatically zip web export templateseska2017-02-202-30/+30
| | | | Also fix web builds on Windows and clean up
* Fix parallel asm.js/WebAssembly buildseska2017-02-201-1/+1
|
* Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky2017-02-191-5/+5
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-1/+1
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Merge pull request #7689 from eska014/webgl2Rémi Verschelde2017-02-027-56/+23
|\ | | | | Enable WebGL2 in web export, start fixing build
| * Enable WebGL2 in web export, start fixing buildeska2017-02-017-56/+23
| | | | | | | | Will not yet compile
* | Removed import/export system, will start new one from scratch.Juan Linietsky2017-01-251-0/+4
|/
* Adapt platforms to AudioServer refactoringRémi Verschelde2017-01-165-45/+19
| | | | | | Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
* Style: Prevent clang-format on JS codeRémi Verschelde2017-01-164-89/+122
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-153-3/+3
|
* Merge pull request #7519 from eska014/web-presentationRémi Verschelde2017-01-156-184/+245
|\ | | | | Improve Web export presentation
| * Improve usability and style in web export presentationeska2017-01-144-183/+244
| | | | | | | | | | | | | | | | | | | | | | | | - Check for WebGL support, don't load if unsupported - Check for IndexedDB support - Make canvas support check message visible - Colored debug output for warnings and errors - Make it obvious status can be closed by clicking - Don't use status to display non-critical errors - Limit output message count - Add clear output button - Fix setting total memory
| * Relink web build when HTML shell changeseska2017-01-122-1/+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 whole-line commented codeRémi Verschelde2017-01-144-13/+21
| | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-141-7/+7
| | | | | | | | String.get_basename()
* | rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
| |
* | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-082-3/+3
| |
* | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-072-6/+6
| | | | | | | | renamed to PoolVector
* | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-052-5/+5
| | | | | | | | | | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* | ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-023-3/+3
| | | | | | | | | | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0113-13/+13
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Merge pull request #7219 from eska014/separate-asmjsRémi Verschelde2016-12-022-0/+6
|\ | | | | Fix browser lockups in web export startup
| * Emit asm.js code into a dedicated file for asm.js exporteska2016-11-302-0/+6
| | | | | | | | | | This helps prevent browser lockups during start-up at the cost of having to distribute an extra file.
* | Add window features in web exporteska2016-11-302-38/+161
| | | | | | | | | | | | - Add 'window' (canvas) resize, maximize and fullscreen - Implement get_screen_size - Fix fullscreen resolution
* | Fix some mouse bugs in WebAssembly/asm.jseska2016-11-303-5/+17
| | | | | | | | | | - Emit mouse wheel release events - Set button masks, fixes #5092
* | OS additions and fixes for WebAssembly/asm.jseska2016-11-303-54/+49
|/ | | | | | | - Implement alert, shell_open, set_window_title - Add locale lookup, fixes #2477 - Print without color control sequences - Move get_executable_path implementation to OS_JavaScript
* 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
| |