summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-03-10Merge pull request #58335 from maiself/fix-directory-delete-linuxRémi Verschelde
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-09Remove unused Bullet module and thirdparty codeRémi Verschelde
It has been disabled in `master` since one year (#45852) and our plan is for Bullet, and possibly other thirdparty physics engines, to be implemented via GDExtension so that they can be selected by the users who need them.
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-03-09Add missing header for headless buildsMmAaXx500
2022-03-08[X11] Do not try to focus unmapped window.bruvzg
2022-03-07Revert "[HTML5] Fetch API now passes credentials."Rémi Verschelde
2022-03-05Rename StreamTexture* to CompressedTexture*reduz
* Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-04Merge pull request #58742 from timothyqiu/x11-leakRémi Verschelde
Fix X11 memory leak after drag & drop file into the editor
2022-03-04Merge pull request #58738 from bruvzg/mac_resize_crashRémi Verschelde
[macOS] Disable window redraw during resize, when rendering in the separate thread.
2022-03-04Fix X11 memory leak after drag & drop file into the editorHaoyu Qiu
2022-03-04[macOS] Disable window redraw during resize, when rendering in the separate ↵bruvzg
thread.
2022-03-04[macOS and iOS export] Add localized application name to the translation ↵bruvzg
.plist files.
2022-02-26[iOS] Fix multitouch not working correctlySergey Minakov
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-22[Windows] Fix borderless window flag toggle and restoring minimized ↵bruvzg
borderless window.
2022-02-20Fix deleting of directories on LinuxMai Lavelle
Trailing slash of directories was mishandled, and incorrect derived paths were formed. Stripping the slash fixes this.
2022-02-19[iOS] Fix incorrect method name for input dragging eventSergey Minakov
2022-02-17[Windows] Fix Vulkan driver crash on sub-window minimization.bruvzg
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