summaryrefslogtreecommitdiffstats
path: root/platform/web/js/libs
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand preambles to RedotSpartan3222024-10-1310-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Honor `pitch_scale` value before playing audio sampleAdam Scott2024-09-161-3/+7
| | | | (cherry picked from commit aaafd163b29180090161c0169c70ab2772dfdcd7)
* Fix AudioStreamPlayer get_playback_position() for web buildYahkub-R2024-09-162-3/+156
| | | | (cherry picked from commit bcd776e44174677f1995a49b697f9651f1f692ec)
* Add missing null check before disconnecting sourceAdam Scott2024-07-301-1/+3
|
* [Web] Gracefully handle non-finite audio volumesA Thousand Ships2024-07-291-1/+4
|
* [Web] Enable the closure compiler in CIFabio Alessandrelli2024-07-261-13/+8
| | | | Also fixes some JSDoc annotations in GodotAudio
* Merge pull request #94044 from adamscott/fix-web-sample-playback-finished-signalRémi Verschelde2024-07-071-2/+25
|\ | | | | | | Fix Web samples finished missing signal
| * Fix Web samples finished missing signalAdam Scott2024-07-071-2/+25
| |
* | Fix IME blocking controlsAnni Ryynänen2024-07-071-0/+1
|/
* Merge pull request #93750 from ↵Rémi Verschelde2024-07-041-4/+12
|\ | | | | | | | | | | adamscott/add-bigint-support-on-js-value-conversion Add `bigint` support on JS value conversion
| * Add `bigint` support on JS value conversionAdam Scott2024-07-031-4/+12
| |
* | Fix assignations to non-existing keys and clean-upAdam Scott2024-06-291-6/+4
|/
* Fix pausing issues when using Web Audio samplesAdam Scott2024-06-201-59/+117
|
* Add samples playback supportAdam Scott2024-06-181-30/+1584
|
* Merge pull request #91695 from bruvzg/web_ime_posRémi Verschelde2024-05-281-4/+13
|\ | | | | | | [Web IME] Fix suggestion window position in Chromium based browsers.
| * [Web IME] Fix suggestion window position in Chromium based browsers.bruvzg2024-05-091-4/+13
| |
* | Upgrade to eslint 9patwork2024-05-224-16/+16
|/
* Add THREADS_ENABLED macro in order to compile Godot to run on the main threadAdam Scott2024-01-171-2/+2
|
* [Web] Add IME input support.bruvzg2023-12-151-1/+134
|
* Add MSAA support for WebXRDavid Snopek2023-12-112-0/+33
|
* Fix various typos with codespellRémi Verschelde2023-11-111-2/+2
| | | | Using 2.2.7.dev51+geb4a58fe.
* Add `proxy_to_pthread` option to `platform=web`Adam Scott2023-10-097-0/+104
| | | | Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* Fix godot_js_wrapper_create_cb regressionAdam Scott2023-10-031-1/+1
|
* Fix JavaScript callback memory leak issueSysError992023-09-071-1/+3
| | | | Typo fix
* Fix `JavaScriptBridge.eval()` never returning PackedByteArrayEmmanouil Papadeas2023-08-281-3/+3
| | | | | | It wrongly returned 20 on array buffers, which used to be the enumerator value of Godot 3.x's type PoolByteArray, and now is the value of type Color, while it should return 29 which is the enumerator value for PackedByteArray.
* Fix various typos with codespellRémi Verschelde2023-08-072-5/+5
| | | | | | | | | Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
* [Web] Update npm packagesFabio Alessandrelli2023-07-311-1/+1
|
* [Web] Always return -1 as body length in HTTPClientWeb.Fabio Alessandrelli2023-07-241-15/+0
| | | | | | | | | | | | | | | Body length cannot be reliably retrieved from the web. Reading the "content-length" value will return a meaningless value when the response is compressed, as reading will return uncompressed chunks in any case, resulting in a mismatch between the detected body size and the actual size returned by repeatedly calling read_response_body_chunk. Additionally, while "content-length" is considered a safe CORS header, "content-encoding" is not, so using the "content-encoding" to decide if "content-length" is meaningful is not an option either. We simply must accept the fact that browsers are awful when it comes to networking APIs.
* Merge pull request #78437 from bruvzg/set_iconYuri Sizov2023-07-121-9/+16
|\ | | | | | | Add error checks and harmonize behavior of the `set_icon` method.
| * Add error checks and harmonize behavior of the set_icon method.bruvzg2023-07-031-9/+16
| |
* | fix typo on TLSOptions.xml and library_godot_display.jsSeptian2023-07-081-1/+1
|/
* Fix `HTTPClient.get_response_body_length()` incorrect on WebZae2023-05-301-0/+5
|
* [Web] Detect host OS and use macOS keys on mac hosts.bruvzg2023-04-111-0/+22
|
* Further refactoring to AudioDriver implementations after #69120.Emmanouil Papadeas2023-02-091-6/+6
| | | | | | | | | | | | - Rename all instances of `capture_start()` and `capture_end()` to their new names. Fixes #72892. - More internal renames to match what was started in #69120. - Use `override` consistently so that such refactoring bugs can be caught. - Harmonize the order of definition of the overridden virtual methods in each audio driver. - Harmonize prototype for `set_output_device` and `set_input_device`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* One Copyright Update to rule them allRémi Verschelde2023-01-059-260/+261
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Get WebXR fully working in Godot 4!David Snopek2022-12-012-2/+39
|
* Add multiview to the opengl3 driverDavid Snopek2022-10-211-0/+52
|
* Fix Object type in GodotJSWrapper.Zae2022-10-101-2/+2
|
* Change auto to default in cursor css settings.Jason Knight2022-10-071-3/+3
|
* [Web] Small fixes and enhancements.Fabio Alessandrelli2022-09-113-7/+18
| | | | | | | | | | - "Definitive" fix for ENOENT randomly disappearing from emscripten. - Proper shutdown when setup fails. - Re-enable WebGL explicit buffer swap. - Re-enable optional per-pixel transparency. - Add type cast to make closure compiler happy. - Remove emscripten Safari WebGL workaround. - Improve AudioWorklet cleanup.
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-298-0/+3152
Also rename export name from "HTML5" to "Web".