summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-10-11Merge pull request #67244 from RandomShaper/split_render_further_2Rémi Verschelde
Polish rendering driver refactor further (take 2)
2022-10-11Polish rendering driver refactor further (take 2)Pedro J. Estébanez
2022-10-11Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfoRémi Verschelde
Fetch video adapter driver name and version from OS
2022-10-11Fetch video adapter driver name and version from OS on Linux/*BSD and WindowsMJacred
2022-10-11Merge pull request #67242 from akien-mga/cleanup-unused-definesRémi Verschelde
Cleanup unused defines in platform code
2022-10-11Cleanup unused defines in platform codeRémi Verschelde
2022-10-11Fix newlines not honored in Windows consolePedro J. Estébanez
This is relevant when building with `windows_subsystem=console`.
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-10Merge pull request #67183 from akien-mga/gcc-warnings-cleanupRémi Verschelde
SCons: Cleanup GCC warnings configuration
2022-10-10Merge pull request #67200 from bruvzg/fix_win_gcc_warnRémi Verschelde
[Windows] Fix GCC MinGW warnings.
2022-10-10Merge pull request #67184 from zaevi/web_fix_GodotJSWrapper_object_typeFabio Alessandrelli
[Web] Fix `Object` type in GodotJSWrapper.
2022-10-10[Windows] Fix GCC MinGW warnings.bruvzg
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10Fix Object type in GodotJSWrapper.Zae
2022-10-10[macOS] Fix window button position and title bar size when editor scale do ↵bruvzg
not match OS UI scale.
2022-10-07Change auto to default in cursor css settings.Jason Knight
2022-10-07Merge pull request #67021 from RandomShaper/window_create_ret_madnessRémi Verschelde
Harmonize return values of `window_create()` in rendering drivers
2022-10-07Harmonize return values of window_create() in rendering driversPedro J. Estébanez
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Merge pull request #66965 from bruvzg/win_llvmRémi Verschelde
[Windows] Fix LLVM MinGW build.
2022-10-06Merge pull request #64815 from RandomShaper/default_cpu_countRémi Verschelde
Improve default `OS`'s CPU count getter
2022-10-06[Windows] Fix LLVM MinGW build.bruvzg
2022-10-05Merge pull request #66946 from m4gr3d/cursor_shape_logic_cleanup_mainFredia Huya-Kouadio
Cleanup of the Android cursor shape logic
2022-10-05Cleanup of the Android cursor shape logicFredia Huya-Kouadio
2022-10-05Keep a single, portable implementation of `OS::get_processor_count()`Pedro J. Estébanez
2022-10-05Merge pull request #66941 from winterpixelgames/bugfix-android-null-input-eventFredia Huya-Kouadio
Fix null in android keyboard handling.
2022-10-05Fix null in android keyboard handling.Jason Knight
2022-10-05Fix the gradle build configuration for the Android platform following ↵Fredia Huya-Kouadio
https://github.com/godotengine/godot/pull/66242
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05Merge pull request #64819 from RandomShaper/enhance_thread_funcsRémi Verschelde
Enhance portability of threading
2022-10-05Merge pull request #64886 from Calinou/web-editor-add-local-web-server-2Rémi Verschelde
Replace local web server setup for web editor with a Python-based solution
2022-10-05Merge pull request #63983 from Calinou/scons-linux-execinfo-muslRémi Verschelde
Automatically use execinfo for crash handler on *BSD and musl-based Linux
2022-10-04Automatically use execinfo for crash handler on *BSD and musl-based LinuxHugo Locurcio
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-10-04Replace local web server setup for web editor with a Python-based solutionHugo Locurcio
This makes it easier to set up, as you always have Python installed when building Godot. On the other hand, you don't always have Node.js + npm installed (and you may not want to spend time running `npm install`). Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2022-10-04Enhance portability of threadingPedro J. Estébanez
2022-10-04Merge pull request #66773 from MladoniSzabi/numpad-no-numlock-bug-linuxRémi Verschelde
Remapped the numpad keys on linux when numlock is off
2022-10-04Merge pull request #66274 from Calinou/engine-rename-max-fpsRémi Verschelde
Rename `Engine.target_fps` and associated project setting to `max_fps`
2022-10-04Merge pull request #66832 from bruvzg/cmd_p_fixRémi Verschelde
[macOS] Fix ⌘ + . + other modifier triggering twice.
2022-10-04Merge pull request #66559 from zaevi/fix_ScrollContainer_touch_scrollRémi Verschelde
Fix ScrollContainer touch-scrolling not working.
2022-10-04Merge pull request #66807 from ↵Rémi Verschelde
akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS Unix: Remove now unnecessary I/O defines, cleanup
2022-10-04Merge pull request #66804 from akien-mga/core-remove-NO_SAFE_CASTRémi Verschelde
Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android build
2022-10-03Rename `Engine.target_fps` and associated project setting to `max_fps`Hugo Locurcio
This makes the setting easier to find, as research has found there are numerous use cases to limiting FPS. This also improves documentation related to the Engine property and project setting. The project setting also works in projects exported in release mode, so its location in the `debug/` section was misleading.
2022-10-03[macOS] Fix ⌘ + . + other modifier triggering twice.bruvzg
2022-10-03Remapped the numpad keys on linux when numlock is offMladoniSzabi
On Linux, when using the numpad while numlock is off doesn't do anything. Made the numpad keys map to the correct control keys. Resolves: #54814.
2022-10-03Unix: Remove now unnecessary I/O defines, cleanupRémi Verschelde
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_. - `NO_NETWORK` is also never defined. It probably isn't enough anyway to disable network APIs in the current codebase. - `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some other platforms, clarify that. - `NO_STATVFS` can be removed as Android supports it since API level 19, which is our current min SDK level. It's also only used for `DirAccessUnix::get_space_left()` which is anyway overridden by `DirAccessJAndroid::get_space_left()` so it shouldn't make a difference. * Fixed documentation for `DirAccess.get_space_left()`. - `NO_FCNTL` is likely also a remnant of early Android days, in current NDK r23 it seems to be available. Also cleaned up unused `fcntl.h` includes. - `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-10-03Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde
This also removes `OS::can_use_threads` from the public API since it's always true.
2022-10-03Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android buildRémi Verschelde
Android was the last platform to still attempt to disable RTTI (for binary size), but both the Android editor and now the ICU library used by templates need RTTI. There could still be the possibility to support this for non-ICU template builds (i.e. without the TextServerAdvanced module), but since this isn't one of the build configurations we test regularly it's pretty risky to keep this option only for that specific use case. And our code is already littered with `dynamic_cast`s which weren't guarded with `!defined(NO_SAFE_CAST)`.
2022-10-01Fix inconsistent window state on X11.Matthew Munro (mam552)
Fixes #66413. DisplayServerX11 tracks some internal state about whether the window is fullscreen, minimized, maximized or none. This commit queries the display server when the window changes, so that this internal state can be correctly updated.
2022-10-01Remove usage of unitialized variablesRafał Mikrut
2022-09-30Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypyRémi Verschelde
ci: add Python static analysis check via mypy