aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | 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
|