summaryrefslogtreecommitdiffstats
path: root/platform/web/os_web.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for non-blocking IO mode to `OS.execute_with_pipe`.bruvzg2024-09-061-1/+1
|
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-2/+2
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* 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-3/+3
| | | | 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/+4
|
* 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/+4
| | | | 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-0/+6
| | | | Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* Web: Clarify that `OS.get_unique_id` is not supportedRémi Verschelde2023-09-271-0/+4
| | | | | | | | 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.
* [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-1/+1
|
* Fix formatting of dlopen error message on WindowsKamil Brzoskowski2023-07-091-1/+1
| | | | | | And harmonize the format for all platforms. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Style: Harmonize header includes in platform portsRémi Verschelde2023-06-081-4/+4
| | | | | | | | | | | | | | | | 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.
* [Web] Detect host OS and use macOS keys on mac hosts.bruvzg2023-04-111-0/+3
|
* [Web] User FS (user://) now correctly uses project name.Fabio Alessandrelli2023-01-181-1/+17
| | | | | This allows multiple instances to co-exist in the same domain while keeping their user data separate (each in its own folder).
* Merge pull request #70626 from Faless/web/4.x_expose_force_fs_syncFabio Alessandrelli2023-01-091-0/+6
|\ | | | | [Web] Expose API to force file system sync.
| * [Web] Expose API to force file system sync.Fabio Alessandrelli2022-12-271-0/+6
| | | | | | | | | | 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".
* [WebSocket] Fix debugger implementation.Fabio Alessandrelli2022-10-131-8/+0
| | | | | Register module during core initialization so the remote debugger can properly handle the "wss://" protocol.
* Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde2022-10-031-3/+0
| | | | | This also removes `OS::can_use_threads` from the public API since it's always true.
* Rename JavaScript singleton to JavaScriptBridgeGeequlim2022-09-021-3/+3
|
* [Web] Require threads, rtti, allow optimize=speed.Fabio Alessandrelli2022-08-301-17/+0
| | | | | | | Update export names (web[_dlink]_[release|debug].zip). The Build with dynamic linking is broken due to high number of imports in output wasm (likely emscripten regression issue 15487).
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-0/+275
Also rename export name from "HTML5" to "Web".