summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-16i18n: Sync editor translations with WeblateRémi Verschelde
Minor proofreading of new OSX export strings. (cherry picked from commit 9f09251027a485f14740dce7b753e962d26bff78)
2022-02-16Merge pull request #58173 from akien-mga/js-build-fix-is_project_managerRémi Verschelde
2022-02-16HTML5: Fix build after #52742Rémi Verschelde
Fixes #58172.
2022-02-15Add an `OS.get_processor_name()` methodHugo Locurcio
This method can be used to get the CPU model name. It can be used in conjunction with `RenderingServer.get_video_adapter_name()` and `RenderingServer.get_video_adapter_vendor()` for annotating benchmarks and automatic graphics quality configuration.
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-15Merge pull request #58081 from tavurth/bugfix/high-macos-cpu-usageRémi Verschelde
2022-02-15Fix new performance regressions (short delay_usec)Will Whitty
My Mac was using 20% cpu again, which was related to the Javascript Export plugin. I had however no export templates setup in the project so this is more of a stopgap fix.
2022-02-14Merge pull request #57306 from trollodel/remove_editornode_paramRémi Verschelde
2022-02-14Remove most EditorNode constructor parameters and fieldstrollodel
2022-02-14[OSX] Codesign exporter now uses CryptoCore RNG.Fabio Alessandrelli
2022-02-14[OS/Crypto] Add get_entropy to OS.Fabio Alessandrelli
Implemented via `BCryptGenRandom` on Windows. Implemented via `getentropy` syscall when available. Implemented via `/dev/urandom` device as a fallback. The `/dev/urandom` fallback can be disabled via the `NO_URANDOM` build flag. Note: The HTML5 version relies on emscripten file system urandom device which itself uses the Crypto API when available or the plain old not crypto-safe `Math.random()` otherwise. Restore get_entropy.
2022-02-12[macOS] Fix macOS producing alert sound on some input actions.bruvzg
2022-02-12Merge pull request #56953 from bruvzg/ex_wndRémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-12Add exclusive window handling to DisplayServer (on macOS and Windows).bruvzg
2022-02-11[Windows] Fix drag-and-drop.bruvzg
2022-02-10[HTML5] Fetch API now passes credentials.Fabio Alessandrelli
Used default value before, i.e. "same-origin", now uses "include" (i.e. include for cross-origin if cross-origin is allowed).
2022-02-10Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
2022-02-09Merge pull request #57605 from naithar/fix/godot-view-touch-4.0Rémi Verschelde
2022-02-09Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde
This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
2022-02-09Merge pull request #57825 from Calinou/ios-remove-obsolete-defineRémi Verschelde
2022-02-08Remove obsolete define in the iOS buildsystem codeHugo Locurcio
This define was used by the WebM/libvpx code, but it's now removed in `master`.
2022-02-08Remove support for ARMv7 (32-bit) on iOSHugo Locurcio
All iOS devices since the iPhone 5S support ARMv8 (64-bit). The last iOS version supported on ARMv7 devices is 10.x, which is too old to run Godot 4.0 projects since the minimum supported iOS version is 11.0.
2022-02-08Merge pull request #57809 from akien-mga/osx-11.00-warningRémi Verschelde
2022-02-08OSX: Pass `-mmacosx-version-min=11.0` instead of `11.00`Rémi Verschelde
Both are recognized by Xcode and equivalent, but osxcross issues a warning for the latter: ``` osxcross: warning: '-mmacosx-version-min=' (11.0.0 != 11.00) ```
2022-02-08Merge pull request #57612 from maiself/improve-gamepad-detectionRémi Verschelde
2022-02-08[macOS] Fix NO_FOCUS macOS flag.bruvzg
2022-02-08Merge pull request #57794 from bruvzg/x11_fs_fixRémi Verschelde
2022-02-08[X11] Fix decoration reset when returning from fullscreen mode.bruvzg
2022-02-08[Windows] Fix fullscreen mode detection on window move/resize.bruvzg
2022-02-07Merge pull request #57736 from TechnicalSoup/Patch-3Rémi Verschelde
2022-02-07Merge pull request #57305 from bruvzg/macos_cleanupRémi Verschelde
2022-02-07Fix icons for sub windowsTechnicalSoup
Modify the create_sub_window method to set an icon for all sub windows, setting the icon to the same icon as the main window. Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2022-02-06[HTML5] Implement JavaScript PWA update callbacks.Fabio Alessandrelli
Allows detecting when a new version of the progressive web app service worker is waiting (i.e. an update is pending), along a function to force the update and reload all clients.
2022-02-06[HTML5] PWA service worker prefers cached version.Fabio Alessandrelli
Use an offline first approach, where we prefer the cached version over the network one. This forces games using PWA to always re-export the project and not just the PCK, so that the service worker version gets updated correctly, and the end-user cache is correctly cleared on update.
2022-02-06Merge pull request #57709 from jmb462/missing-sname-optimizationRémi Verschelde
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-06Snap refresh rate to hundreths place on X11jordi
2022-02-04Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde
2022-02-04Merge pull request #57617 from bruvzg/char_cleanupRémi Verschelde
2022-02-04Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde
2022-02-04Merge pull request #54645 from rxlecky/editor-window-offset-bug-45740Rémi Verschelde
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Improve detection of gamepads on LinuxMai Lavelle
Some devices (Nintendo Switch Right Joy-Con) report only a right stick.
2022-02-03Add screen_get_refresh_rate to DisplayServerjordi
2022-02-03[iOS] Fix touch handling for overlay viewsSergey Minakov
Workaround for GodotView touches being called from UIWindow on different UIView input
2022-02-03Revert "[HTML5] Better engine config parsing."Fabio Alessandrelli
This reverts commit 2f509f1b12c33234a0d8f0e254c727fd92e57720. Breaks closure compiler builds. And adds a warning for future readers.
2022-02-03Merge pull request #57577 from bruvzg/mac_export_trRémi Verschelde