aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Javascript: Remove weird logMax Hilbrunner2018-06-011-2/+0
| | | | (cherry picked from commit 0c56e011adf4de59848d8fb801e8741119548543)
* Fix keyboard focus lock-out with HTML5 canvas in iframeLeon Krause2018-05-132-5/+9
| | | | (cherry picked from commit 9080e96bc81328e658a03e2cd248c06ddbf9f2ec)
* Fix relative mouse motion when captured in HTML5 platformLeon Krause2018-05-131-1/+1
| | | | (cherry picked from commit d78b10313b78e56a65ef4fdfeef6d85ae8ad5311)
* Merge pull request #18082 from RandomShaper/improve-gui-touch-3.0Hein-Pieter van Braam2018-05-131-35/+0
|\ | | | | Implement universal translation of touch to mouse (3.0)
| * Implement universal translation of touch to mousePedro J. Estébanez2018-04-301-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position.
* | Disable Emscripten assertions in release_debug buildsLeon Krause2018-04-291-1/+2
| | | | | | | | | | | | The messages generated by some assertions can be confusing to users. (cherry picked from commit d6c9d8d778954c65d69d1af04a9921d8887dec9f)
* | Fix bug in HTML5 HTTPClient.Fabio Alessandrelli2018-04-281-1/+1
| | | | | | | | | | | | | | The URL parameter already has a slash, adding an extra one results in an invalid resource path (cherry picked from commit b8c73b195fe2a5df407a5ef3423b182a6c19a93c)
* | Fix engine.js startGame() when loading from directoryLeon Krause2018-04-281-3/+14
| | | | | | | | (cherry picked from commit 3014e48ec5a985b9d143ba27b91e32b933dcfdad)
* | Allow custom path when using engine.js preloadFile() with URLLeon Krause2018-04-281-3/+3
| | | | | | | | (cherry picked from commit d373029382208226a55ddfc028a3261e0dc8279b)
* | Fix engine.js preloadFile() with directoriesLeon Krause2018-04-281-3/+13
| | | | | | | | (cherry picked from commit 6f1bddf4b5e6716f59bcbd9a7587b6d556251ef9)
* | Expose Emscripten libs to engine.js discreetlyLeon Krause2018-04-283-4/+6
|/ | | | (cherry picked from commit 63c7fc6358343c3de6cfaa40436063646eb8b7a1)
* Flush HTTPClient response data only on request/close in HTML5 platformLeon Krause2018-02-191-2/+0
| | | | (cherry picked from commit 98039909f202aac2795ead44104b56f7609059d8)
* Warn when polling HTTPClient synchronously in HTML5 platformLeon Krause2018-02-192-0/+24
| | | | (cherry picked from commit ca9fa9cca8a27f14a7b0178d6abf573815722996)
* Disable insecure HTTP methods CONNECT and TRACE in HTML5 platformLeon Krause2018-02-191-0/+2
| | | | (cherry picked from commit 2cd7bc04ea9a99510c26113a81f8371be5b1f49f)
* Fix HTML5 HTTPClient response header retrievalLeon Krause2018-02-191-2/+4
| | | | (cherry picked from commit 8a21f27f540750a76f19fcfb7d7a9d5e7f03f771)
* Fix HTML5 HTTPClient failure detectionLeon Krause2018-02-191-11/+7
| | | | (cherry picked from commit 9ea4452d2118fb071066cce1e2e2525bc4e29841)
* Merge pull request #16059 from eska014/html5-notlsRémi Verschelde2018-01-251-0/+5
|\ | | | | Disable OpenSSL module in HTML5 platform by default
| * Disable OpenSSL module in HTML5 platform by defaultLeon Krause2018-01-251-0/+5
| |
* | Fix HTML5 JS API setResizeCanvasOnStartLeon Krause2018-01-241-8/+3
|/
* HTML export: Make s3tc the standard Texture Formatx12122018-01-201-3/+3
|
* Wrap Emscripten module into JS Engine singleton per SConsLeon Krause2018-01-131-6/+5
| | | | | Emscripten's meta DCE changes in 1.37.27(/28?) make it impossible to keep using --pre-js for this
* Fix HTML5 feature tagsLeon Krause2018-01-123-13/+21
| | | | | | | 'HTML5' is the platform tag, the 'JavaScript' tag indicates availability of the JavaScript.eval singleton. Also report texture compression support.
* Merge pull request #15447 from eska014/html5-optmodeRémi Verschelde2018-01-071-2/+8
|\ | | | | Build WebAssembly release module with -Os to decrease file size
| * Build WebAssembly module with -Os to decrease file sizeLeon Krause2018-01-071-2/+8
| |
* | Initialize WebGL context in OSLeon Krause2018-01-071-3/+7
| |
* | Merge pull request #15422 from eska014/html5-loggerRémi Verschelde2018-01-071-0/+5
|\ \ | | | | | | Print without color control sequences in HTML5 platform
| * | HTML5: Print without color control sequencesLeon Krause2018-01-071-0/+5
| |/
* / Fix internal Emscripten JS API callsLeon Krause2018-01-062-4/+4
|/ | | | Emscripten 1.37.24 no longer exports these by default
* Add missing method for javascriptGuilherme Silva2018-01-052-0/+4
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0515-2/+17
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Fix macOS and other builds after #15299Duy-Nguyen TA2018-01-041-1/+1
| | | | Commit ammended by @akien-mga to fix more platforms.
* Fixed missing parenthesisArtem Varaksa2018-01-041-1/+1
|
* Add missing translation in Javascript export dialogRémi Verschelde2018-01-041-9/+9
| | | | Also remove newlines from translated strings.
* Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond2018-01-042-3/+5
|
* Update copyright statements to 2018Rémi Verschelde2018-01-0119-37/+37
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #14597 from NathanWarden/linux_extensionsRémi Verschelde2017-12-161-2/+2
|\ | | | | Updated Linux template extensions to match architecture.
| * Updated Linux template extensions to match architecture.Nathan Warden2017-12-121-2/+2
| |
* | Fix javascript build error and improve #14604Fabio Alessandrelli2017-12-151-3/+3
| |
* | HTTP cleanup & better defaultsmhilbrunner2017-12-141-15/+20
|/
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-072-8/+10
|
* Merge pull request #13387 from rraallvv/refactorRémi Verschelde2017-11-291-1/+1
|\ | | | | Add target helper functions and refactor (master)
| * disable caching for targets using helper functionsRhody Lugo2017-11-281-1/+1
| |
* | Fix inverted relative mouse motion in HTML5 exportLeon Krause2017-11-291-2/+2
|/
* Merge pull request #13278 from eska014/jseval-returntypesRémi Verschelde2017-11-251-40/+8
|\ | | | | Remove contrived JavaScript.eval() return types
| * Remove contrived JavaScript.eval return typesLeon Krause2017-11-251-40/+8
| |
* | Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-2/+2
| | | | | | | | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* | Return and repair file loggingRuslan Mustakov2017-11-212-5/+0
| | | | | | | | And make it configurable, too.
* | Allow configuring iOS exportRuslan Mustakov2017-11-211-0/+1
|/ | | | | | | | | | | | | | | | | - EditorExportPlugin's _export_begin accepts all the arguments related to the current export (is_debug, path, flags). - EditorExportPlugin API is extended with methods allowing to configure iOS export: add_ios_framework, add_ios_plist_content, add_ios_linker_flags, add_ios_bundle_file. - iOS export template now contains Godot as a static library so that it can be linked with third-party Frameworks and GDNative static libraries. - Adds method to DirAccess for recursive copying of a directory. - Fixes iOS export to work with Xcode 9 (released recently).
* Merge pull request #13061 from eska014/html5-exportRémi Verschelde2017-11-201-12/+56
|\ | | | | Export boot splash image and add option for custom HTML shell file in HTML5 export
| * Export boot splash and add custom HTML file option in HTML5 exportLeon Krause2017-11-201-12/+56
| |