aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement HTML5 touch eventsL. Krause2017-04-262-206/+109
|
* Reimplement HTML5 mouse input without GLUTL. Krause2017-04-253-93/+113
| | | | Fixes inverted scrolling on Chromium
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-102-5/+5
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0815-0/+15
|
* Merge pull request #8191 from eska014/webgl2-exportJuan Linietsky2017-03-296-426/+243
|\ | | | | WebGL 2 export per WebAssembly or asm.js
| * WebGL 2 export per WebAssembly or asm.jseska2017-03-296-426/+243
| |
* | Merge pull request #8159 from Hinsbart/last_idRémi Verschelde2017-03-272-16/+3
|\ \ | | | | | | Input: Remove usage of platform dependent event IDs.
| * | Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-262-16/+3
| |/ | | | | | | | | The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
* / 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-104-7/+6
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0512-393/+326
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-4/+4
|
* 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).