summaryrefslogtreecommitdiffstats
path: root/platform/web/os_web.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotSpartan3222024-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (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>
* Implement `amplitude` to Input.vibrate_handheldRadiant2024-05-021-1/+1
| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com>
* Collapse the gdextension arguments into the `GDExtensionData` structFredia Huya-Kouadio2024-04-191-1/+1
| | | | This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`.
* Fix loading GDExtension dependencies on AndroidFredia Huya-Kouadio2024-04-191-1/+1
|
* Add get_process_exit_code() methodkobewi2024-04-161-0/+1
|
* Add renaming of PDB files to avoid blocking themDmitriySalnikov2024-04-051-1/+1
|
* Implement `OS.execute_with_pipe` method to run process with redirected stdio.bruvzg2024-03-271-0/+1
| | | | Implement `pipe://*` path handling for creation of named pipes.
* Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-2/+2
|
* Add `proxy_to_pthread` option to `platform=web`Adam Scott2023-10-091-1/+2
| | | | Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* Merge pull request #82633 from Faless/web/visibility_exposeRémi Verschelde2023-10-021-4/+6
|\ | | | | | | [Web] Fix `dlink_enabled` build
| * [Web] Fix dlink_enabled buildFabio Alessandrelli2023-10-011-4/+6
| | | | | | | | | | | | | | | | After changing the default visibility to hidden to avoid generating thousands of import/export symbols (browsers have a hard limit of 10k), explicitly setting visibility for "boundary functions" (i.e. wasm callbacks called by JS via pointer) is required to ensure the function can be retrieved via pointer from the function table.
* | Web: Clarify that `OS.get_unique_id` is not supportedRémi Verschelde2023-09-271-0/+1
|/ | | | | | | | Remove the base error message in `OS`, we no longer really error out this way for not implemented methods. Instead, each platform should override them to provide the context they want. Fixes #82439.
* Style: Harmonize header includes in platform portsRémi Verschelde2023-06-081-0/+1
| | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module should be included with relative paths (relative to the root folder of the modular component, e.g. `platform/linuxbsd/`), in their own section before Godot's "core" includes. The `api` and `export` subfolders also need to be handled as self-contained (and thus use relative paths for their "local" includes) as they are all compiled for each editor platform, without necessarily having the api/export matching platform folder in the include path. E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp` and those need to use relative includes for it to work.
* Merge pull request #70626 from Faless/web/4.x_expose_force_fs_syncFabio Alessandrelli2023-01-091-0/+1
|\ | | | | [Web] Expose API to force file system sync.
| * [Web] Expose API to force file system sync.Fabio Alessandrelli2022-12-271-0/+1
| | | | | | | | | | Mostly useful for modules and extensions that can't use FileAccess to write files.
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
|/ | | | | | | | | | | | | | | | | | | | 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".
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-0/+111
Also rename export name from "HTML5" to "Web".