summaryrefslogtreecommitdiffstats
path: root/platform/web/js/libs
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@d09d82d433b03bb3773fd2a8cc8d6ccc2f8739ceSpartan3222024-11-261-8/+17
|\
| * Merge pull request #98069 from ↵Thaddeus Crews2024-11-251-8/+17
| |\ | | | | | | | | | | | | | | | thedinosoar/fix/service-worker-sandbox-error-98068 [Web] Fix PWA callback assignment causing crash in sandboxed iframes
| | * Fix PWA callback assignment and error handlingKeegan McGonigle2024-10-221-8/+17
| | |
* | | Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-121-38/+66
|\| |
| * | Fix issue where focus timer would throw continuouslyAdam Scott2024-11-111-9/+32
| | |
| * | Make IME code early return insteadAdam Scott2024-11-071-36/+41
| | |
* | | Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5Spartan3222024-10-241-2/+14
|\| |
| * | Merge pull request #98431 from lodicolo/4.3-stable_GH_76825Thaddeus Crews2024-10-241-2/+14
| |\ \ | | |/ | |/| | | | Fix GodotFetch glue code for null response bodies
| | * Fix GodotFetch glue code for null response bodiesRobbie Lodico2024-10-231-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec says that Response.body can be null (in the event of requests that should have no body, like HEAD requests) and Firefox adheres to it which results in request failure for HEAD requests on Firefox for web exports. This commit addresses that by treating a null body as an "empty" body (without using a polyfill) and avoids changing the request lifecycle as much as possible. PR review changes: - Use == instead of strict === - Do not use ?? null - Comment formatting
* | | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1110-0/+20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | [Web] Make audio bus fetching more resilient to errorsAdam Scott2024-10-021-7/+31
| |
* | Add `JavaScriptBridge` buffer methodsAdam Scott2024-09-161-0/+32
| |
* | Honor `pitch_scale` value before playing audio sampleAdam Scott2024-08-201-3/+7
| |
* | Merge pull request #95197 from yahkr/95128-audio-fixRémi Verschelde2024-08-162-3/+156
|\ \ | |/ |/| | | Fix AudioStreamPlayer `get_playback_position()` for web build
| * Fix AudioStreamPlayer get_playback_position() for web buildYahkub-R2024-08-082-3/+156
| |
* | 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
|