summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-10-05Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_masterRémi Verschelde
2021-10-05[HTML5] Refactor JS library listeners to OS.Fabio Alessandrelli
2021-10-05[HTML5] Refactor display/input JS library code.Fabio Alessandrelli
2021-10-05[HTML5] Implement Pointer Lock API in JS library.Fabio Alessandrelli
Removes more emscripten HTML5 library dependencies.
2021-10-05[HTML5] Implement window blur in JS library.Fabio Alessandrelli
Removes more emscripten HTML5 library dependencies.
2021-10-05[HTML5] Implement fullscreenchange in JS library.Fabio Alessandrelli
Removes more emscripten HTML5 library dependencies.
2021-10-05[HTML5] Implement mouse/touch/key events in JS library.Fabio Alessandrelli
This makes us more independent from emscripten libraries, giving us more control on the application lifecycle.
2021-10-05Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_masterRémi Verschelde
2021-10-05Merge pull request #53405 from winterpixelgames/PR-more-error-logging-releaseRémi Verschelde
2021-10-04revert 0d7409a so additional error information prints in release buildsJordan Schidlowsky
2021-10-01Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg
interface.
2021-10-01Merge pull request #52684 from Frixuu/masterRémi Verschelde
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Merge pull request #48685 from bruvzg/bundle_icon_4Rémi Verschelde
2021-09-29Merge pull request #52809 from selgesel/patch1Fabio Alessandrelli
Release pressed events when the window is blurred on HTML5 platform
2021-09-29HTML5: Fix minification error with Emscripten 1.39.9Rémi Verschelde
It used an old vendored version of acorn.js which seems to choke on this trailing comma. This is not a problem for more recent Emscripten versions. We disable the `comma-dangle` check in ESLint to prevent this issue.
2021-09-27[macOS, sandbox] Add export option to embed and sign helper executables.bruvzg
2021-09-24Replace `#pragma once` by traditional include guards for consistencyHugo Locurcio
`#pragma once` was used in a few files, yet we settled on using traditional include guards instead. The PooledList template comment was also moved to allow editors such as Visual Studio Code to display the comment when hovering PooledList. `app.h` was renamed to `app_uwp.h` to be less generic for the include guard.
2021-09-23Release pressed events when the window is blurred on HTML5 platformSelgesel
2021-09-23Add missing WIN32_LEAN_AND_MEANBartłomiej T. Listwon
2021-09-21Merge pull request #52842 from Ev1lbl0w/fix_win_open_errcodeRémi Verschelde
Fix shell_open not returning errors on Windows
2021-09-21Merge pull request #52649 from Faless/js/4.x_audioworklet_nothreads_prRémi Verschelde
[HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.
2021-09-21Allow for mapping keycodes to current layoutFrixuu
2021-09-19Fix Windows cursor with trails disappearing in fullscreenDan
Fixed by turning off mouse trails when going into fullscreen, then restoring trails when exiting fullscreen or game
2021-09-19Fix shell_open not returning errors on WindowsRicardo Subtil
2021-09-16Merge pull request #52715 from Calinou/linuxbsd-vulkan-driver-rebootRémi Verschelde
Mention that rebooting is required after updating graphics driver on Linux
2021-09-16Merge pull request #52720 from Faless/js/4.x_fix_wheelRémi Verschelde
[HTML5] Fix wheel/touch callback modifying event after parse.
2021-09-15Provide a getter for the project data directory.ne0fhyk
2021-09-15[HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.Fabio Alessandrelli
Performances are not great in general, bad on Firefox, on Chrome, well, it could be an improvement. Leave it as a fallback for now, but can be forced via project settings if desired (or custom JavaScript logic via the "args" option). I'm actually surprised this works, it involves so many allocations, but there's no way around it when SharedArrayBuffer is not available :(.
2021-09-15Merge pull request #52695 from Faless/js/4.x_audio_mix_rateFabio Alessandrelli
[HTML5] Use browser mix rate by default on the Web.
2021-09-15[HTML5] Fix wheel/touch callback modifying event after parse.Fabio Alessandrelli
The events should be duplicated or reinstantiated without assuming that parse_input will consume them immediately.
2021-09-15Mention that rebooting is required after updating graphics driver on LinuxHugo Locurcio
2021-09-15Add support for Play Asset Delivery.ne0fhyk
This only adds support for a subset of Play Asset Delivery: this causes a single install-time asset pack to always be present, but doesn't add support for dynamically downloaded asset packs.
2021-09-15Merge pull request #52696 from Faless/js/4.x_worklet_rb_bugRémi Verschelde
2021-09-15Merge pull request #52282 from Calinou/scons-improve-linuxbsd-build-messagesRémi Verschelde
Improve messages when compiling for Linux/*BSD
2021-09-15[HTML5] Fix bug in AudioWorklet when reading output buffer.Fabio Alessandrelli
Would attempt an out of bounds read, causing an exception.
2021-09-15[HTML5] Use browser mix rate by default on the Web.Fabio Alessandrelli
Browsers doesn't really like forcing the mix rate, e.g. Firefox does not allow input (microphone) if the mix rate is not the default one, Chrom* will exhibit worse performances, etc.
2021-09-15Re-enable building position-independent executables on Linux/*BSDHugo Locurcio
This provides better security at the cost of having misleading binary icons on some file managers. Now that recent Linux distributions no longer allow executing binaries by double-clicking them in a file manager (even if the binary is set to be executable), the usability cost of PIE is lowered. You have to use a terminal or install a `.desktop` file nowadays.
2021-09-14Merge pull request #52604 from Faless/js/4.x_input_fixFabio Alessandrelli
[HTML5] Fix input not working when buffered.
2021-09-12[HTML5] Fix input not working when buffered.Fabio Alessandrelli
After input buffering was reworked, input accumulation is now handled outside of OS, and the JavaScript plaform never implemented that. Additionally, the JavaScript platform is quite obnoxious about calling specific APIs outside specific user triggered events. This commit adds event flushing during the main iteration, and forces it during keydown/keyup/mousedown/mouseup/touchstart/touchend/touchcanel events (effectively only accumulating only "move" events).
2021-09-12[HTML5] Fix build error due to missing string cast.Fabio Alessandrelli
2021-09-11Add logo attribution for Android, HTML5 and Linux platform iconsHugo Locurcio
- Tweak the Android platform logo to remove the Android wordmark, as it can't be used without explicit permission.
2021-09-10Clean DisplayServerWindows and add missing guardsMax Hilbrunner
2021-09-08Use current androidx Fragment library instead of legacy librariesMarcel Admiraal
2021-09-07Merge pull request #47391 from Calinou/platform-feature-tags-lowercaseJuan Linietsky
Make platform feature tag names lowercase
2021-09-03fix fullscreen issue on macOSDaniel Kariv
adds a call for resize event.
2021-09-01Merge pull request #52159 from m4gr3d/addoculus_openxr_Fredia Huya-Kouadio
Update the AndroidManifest to enable access to Oculus OpenXR runtime
2021-09-01Add support for adding plugin views behind the main view on AndroidPouleyKetchoupp
Doesn't change the default behavior, but allows plugins to add their view behind the main view, which gives more control over what happens with inputs and can be useful along with transparent rendering.
2021-08-31Make platform feature tag names lowercaseHugo Locurcio
Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
2021-08-31Improve messages when compiling for Linux/*BSDHugo Locurcio
- Don't display messages when enabling PulseAudio/ALSA/D-Bus/udev as these become noisy in incremental builds. - Improve warning and error messages to be more descriptive and consistent.