summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-03-18Merge pull request #57850 from pkowal1982/iconRémi Verschelde
Change godot.ico to uncompressed/fixed size
2022-03-17Fix DST Error on Windowsztco224
2022-03-17Merge pull request #59062 from BastiaanOlij/storagerd_textureRémi Verschelde
2022-03-16Merge pull request #59146 from m4gr3d/setup_mavencentral_publishingRémi Verschelde
2022-03-16Windows: Properly set `mouse_monitor` instead of shadowing itRémi Verschelde
GCC was raising a warning about unused variable, but it's actually meant to be used in the destructor for deinit.
2022-03-16Implement GDExtension export plugin.bruvzg
2022-03-16Split dummy renderer classes into separate filesBastiaan Olij
Split canvas_texture_storage and texture_storage from render_storage class
2022-03-14Setup logic to publish the Godot Android library to MavenCentralFredia Huya-Kouadio
2022-03-13Reenable window_set_vsync_mode on WindowsHendrik Brucker
2022-03-11Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde
2022-03-11Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
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-04Improve app name and system permission message localization.bruvzg
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
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