summaryrefslogtreecommitdiffstats
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Hide HTML5 native-run icon without runnable presetL. Krause2017-06-271-1/+28
|
* Use custom native-run icons for Android and HTML5L. Krause2017-06-272-0/+12
|
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
|
* Update HTML5 platform for new InputEventsL. Krause2017-06-191-95/+96
|
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-202-61/+61
| | | | this might cause bugs I haven't found yet..
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-1/+1
|
* Merge pull request #8625 from eska014/html5-cursorshapeRémi Verschelde2017-05-052-3/+33
|\ | | | | HTML5: Cursor style control
| * Implement cursor style control in HTML5 platformL. Krause2017-05-022-3/+33
| |
* | Merge pull request #8574 from eska014/html5-noglutRémi Verschelde2017-05-023-75/+27
|\ \ | |/ |/| Remove GLUT usage in HTML5 platform
| * Remove GLUT usage in HTML5 platformL. Krause2017-04-283-75/+27
| |
* | Implement mouse capture and hiding in HTML5 exportL. Krause2017-05-022-10/+54
| | | | | | | | MOUSE_MODE_CONFINED cannot be implemented.
* | Fix HTML5 key eventsL. Krause2017-04-291-3/+3
|/ | | | Regression from 86f5ac3
* Implement HTML5 touch eventsL. Krause2017-04-262-207/+110
|
* 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-430/+247
|\ | | | | WebGL 2 export per WebAssembly or asm.js
| * WebGL 2 export per WebAssembly or asm.jseska2017-03-296-430/+247
| |
* | 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-33/+33
| | | | 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-189/+250
|\ | | | | Improve Web export presentation
| * Improve usability and style in web export presentationeska2017-01-144-188/+249
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| |