summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-10-12free dbus errors when inhibiting freedesktop screensaver (prevents small ↵Mark Riedesel
memory leak)
2021-10-12Merge pull request #53712 from CakHuri/nullptrRémi Verschelde
Replace NULL with nullptr
2021-10-12Build for 64-bit ARM by default when compiling or exporting for AndroidHugo Locurcio
All Android devices that support Vulkan support 64-bit ARM. This also removes NEON opt-out code for ARMv7 as pretty much all ARMv7 devices also support NEON.
2021-10-12Replaced NULL with nullptrM. Huri
2021-10-12Fix some LGTM errors of "Multiplication result converted to larger type"Aaron Franke
2021-10-11Pass the correct `export_format` argument to locate the assets directory ↵ne0fhyk
when exporting.
2021-10-09Merge pull request #53580 from RandomShaper/improve_cache_funcsRémi Verschelde
2021-10-09Implement get_cache_path() for iOS, and improve it for Android and WindowsPedro J. Estébanez
2021-10-09Merge pull request #51429 from omar-polo/fix-basenameRémi Verschelde
2021-10-08use .get_file() instead of basename(3)Omar Polo
On OpenBSD the compiler complains that calling basename(3) would lose const qualifier. basename(3) is defined as char *basename(char *); and can, accorgindly to the POSIX.1, modify the passed string. This uses the .get_file() method. The check is necessary because file_name could be a directory, in which case .get_file() would return an empty string. The .get_base_dir().get_file() idiom is already used. The usage of get_file() and the check were suggested by theraot, thanks!
2021-10-06Change dragging cursor on Windowskobewi
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.