summaryrefslogtreecommitdiff
path: root/platform/javascript
AgeCommit message (Collapse)Author
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-04Fix macOS and other builds after #15299Duy-Nguyen TA
Commit ammended by @akien-mga to fix more platforms.
2018-01-04Fixed missing parenthesisArtem Varaksa
2018-01-04Add missing translation in Javascript export dialogRémi Verschelde
Also remove newlines from translated strings.
2018-01-04Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-16Merge pull request #14597 from NathanWarden/linux_extensionsRémi Verschelde
Updated Linux template extensions to match architecture.
2017-12-15Fix javascript build error and improve #14604Fabio Alessandrelli
2017-12-14HTTP cleanup & better defaultsmhilbrunner
2017-12-12Updated Linux template extensions to match architecture.Nathan Warden
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-11-29Merge pull request #13387 from rraallvv/refactorRémi Verschelde
Add target helper functions and refactor (master)
2017-11-28disable caching for targets using helper functionsRhody Lugo
2017-11-29Fix inverted relative mouse motion in HTML5 exportLeon Krause
2017-11-25Merge pull request #13278 from eska014/jseval-returntypesRémi Verschelde
Remove contrived JavaScript.eval() return types
2017-11-25Remove contrived JavaScript.eval return typesLeon Krause
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-21Return and repair file loggingRuslan Mustakov
And make it configurable, too.
2017-11-21Allow configuring iOS exportRuslan Mustakov
- 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).
2017-11-20Merge pull request #13061 from eska014/html5-exportRémi Verschelde
Export boot splash image and add option for custom HTML shell file in HTML5 export
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-20Export boot splash and add custom HTML file option in HTML5 exportLeon Krause
2017-11-19Use new XDG folders to dehardcode pathsRémi Verschelde
2017-11-19Merge pull request #13044 from eska014/enginejsRémi Verschelde
Change HTML5 start-up API
2017-11-19Merge pull request #12961 from eska014/platform-docRémi Verschelde
Facilitate documenting platform-exclusive classes
2017-11-19Change HTML5 start-up APILeon Krause
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().
2017-11-18Remove asm.js support from HTML5 platformLeon Krause
Since WebGL 2.0 is required, requiring WebAssembly support as well has little impact on compatibility.
2017-11-18Facilitate exposing platform-exclusive interfaces to all platformsLeon Krause
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.
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-17Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde
Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
2017-11-15Fix HTML5 HTTPClient includesLeon Krause
2017-11-14Move singleton management from ProjectSettings to EngineLeon Krause
2017-11-13Fix HTML5 mouse button release eventsLeon Krause
2017-11-13Merge pull request #12867 from eska014/html5-httpRémi Verschelde
Implement HTTPClient in HTML5 platform
2017-11-13Implement HTTPClient in HTML5 platformLeon Krause
Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification
2017-11-09Make video mode initialization more intuitive, fixes #12022Juan Linietsky
2017-11-06Merge pull request #12691 from eska014/webaudioRémi Verschelde
Fix WebAudio and HTML5 build
2017-11-06Fix WebAudio and HTML5 buildLeon Krause
2017-11-03Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky
Physics server plug
2017-11-04Implemented physics plugAndreaCatania
Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
2017-10-28Detect javascript platform using EMSCRIPTEN env as wellMarcelo Fernandez
2017-10-26Sound support for Javascript (untested).Juan Linietsky
2017-10-11Merge pull request #12010 from eska014/jsevalRémi Verschelde
Improve JavaScript calls, allow passing byte arrays to GDScript
2017-10-11Improve JavaScript callsLeon Krause
- Allow returning ArrayBuffer and views as PoolByteArray - Return real_t for integral numbers - Read all color channels as 0.0 - 1.0 floating point numbers
2017-10-03Merge pull request #11782 from eska014/persistent-userfs-testHein-Pieter van Braam
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
2017-10-02Merge pull request #11568 from endragor/loggersAndreas Haas
Extract logging logic
2017-10-02Add OS::is_userfs_persistent to check user:// persistenceLeon Krause
Allows starting HTML5 export when IndexedDB is not available.
2017-10-02Use primary WebAssembly.instantiate overloadLeon Krause
Previously WebAssembly.compile was used along with the secondary WebAssembly.instantiate overload. Using only the primary overload is recommended to get best performance.
2017-09-25Use BoolVariable in platform-specific options.Elliott Sales de Andrade
2017-09-25Use BoolVariable for module options.Elliott Sales de Andrade