aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde2017-11-203-10/+10
|\ \ | |/ |/| Add support for XDG Base Directory spec
| * Use new XDG folders to dehardcode pathsRémi Verschelde2017-11-191-1/+1
| |
| * EditorSettings: Rename settings_path to settings_dirRémi Verschelde2017-11-171-1/+1
| | | | | | | | Also to prepare for upcoming refactoring for XDG support.
| * Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-172-9/+9
| | | | | | | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* | Merge pull request #13044 from eska014/enginejsRémi Verschelde2017-11-194-82/+124
|\ \ | | | | | | Change HTML5 start-up API
| * | Change HTML5 start-up APILeon Krause2017-11-194-82/+124
| | | | | | | | | | | | | | | | | | | | | | | | Rename engine.start() to startGame(), new start() takes string arguments handed directly to main(). Rename Engine.loadEngine() to load(). Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and preloadFile().
* | | Merge pull request #12961 from eska014/platform-docRémi Verschelde2017-11-196-35/+105
|\ \ \ | |/ / |/| | Facilitate documenting platform-exclusive classes
| * | Facilitate exposing platform-exclusive interfaces to all platformsLeon Krause2017-11-186-35/+105
| |/ | | | | | | | | | | | | | | | | | | | | This makes the interfaces available, without implementation, in other platforms and the editor, which facilitates documenting platform-exclusive classes. Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp. Provide noop method-implementations where necessary. Also setup and document the HTML5 platform's JavaScript singleton.
* / Remove asm.js support from HTML5 platformLeon Krause2017-11-186-146/+25
|/ | | | | Since WebGL 2.0 is required, requiring WebAssembly support as well has little impact on compatibility.
* Fix HTML5 HTTPClient includesLeon Krause2017-11-151-0/+2
|
* Move singleton management from ProjectSettings to EngineLeon Krause2017-11-141-3/+2
|