summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-09-13Merge pull request #65509 from gotnospirit/master-os-get_datetimeRémi Verschelde
get_datetime_* functions can return wrong values
2022-09-13Merge pull request #65262 from bruvzg/win10_dmRémi Verschelde
Disable dark mode title bar on Windows 10.
2022-09-13Merge pull request #65682 from m4gr3d/update_editor_versioning_mainRémi Verschelde
2022-09-13Merge pull request #65704 from akien-mga/web-editor-fix-some-errorsRémi Verschelde
Fix some errors affecting the Web editor
2022-09-12Fix multiwindow support in GLES3 for X11, Windows, and MacOS.clayjohn
Instead of updating all viewports, then blitting all viewports to the backbuffer, then swapping all buffers, we run through all viewports and render, blit, and swap backbuffer before going to the next viewport.
2022-09-12Exclude small screens from the set of supported devices.Fredia Huya-Kouadio
2022-09-12Update the versioning logic for the Godot Android EditorFredia Huya-Kouadio
This is necessary to separate subsequent uploads to the Google Play store as each upload needs to increment the version code.
2022-09-12Fix some errors affecting the Web editorRémi Verschelde
- Don't warn about minimized/maximized modes not being available. - Blender and FBX export both depend on running thirdparty applications, which can't be done (easily at least) for Web and Android editors. - Editor theme complained about not being able to retrieve texture data for an icon. It was only used once so instead of flipping at runtime, let's just add a flipped icon. Part of #65702.
2022-09-11[Web] Small fixes and enhancements.Fabio Alessandrelli
- "Definitive" fix for ENOENT randomly disappearing from emscripten. - Proper shutdown when setup fails. - Re-enable WebGL explicit buffer swap. - Re-enable optional per-pixel transparency. - Add type cast to make closure compiler happy. - Remove emscripten Safari WebGL workaround. - Improve AudioWorklet cleanup.
2022-09-10Fixes #65377: get_datetime_* functions can return wrong valuesJames
2022-09-08Merge pull request #44118 from Calinou/windows-enable-ansi-escape-codesYuri Sizov
Enable ANSI escape code processing on Windows 10 and later
2022-09-08SCons: Refactor LTO options with `lto=<none|thin|full>`Rémi Verschelde
Adds support for LTO on macOS and Android. We don't have much experience with LTO on these platforms so for now we keep it disabled by default even when `production=yes` is set. Similarly for iOS where we ship object files for the user to link in Xcode so LTO makes builds extremely slow to link. `production=yes` defaults to full LTO. ThinLTO is much faster for LLVM-based compilers but seems to produce bigger binaries (at least for the Web platform).
2022-09-08Merge pull request #65241 from bruvzg/no_keymap_ambiguityRémi Verschelde
Fix key mapping changes when moving from macOS to other platform.
2022-09-08Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_moreRémi Verschelde
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_mainRémi Verschelde
Fix issue causing the project manager to crash because of missing path argument
2022-09-08[Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli
2022-09-07Fix issue causing the project manager to crash because of missing path argumentFredia Huya-Kouadio
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07Enable long press, pan and scale gestures for the Godot Android EditorFredia Huya-Kouadio
Fix the bug causing the editor to crash when running the project.
2022-09-07Cleanup the Android input logic implementationFredia Huya-Kouadio
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-07[Web] Enable Web exporter in non-dev mode.Fabio Alessandrelli
We now have a working OpenGL3/WebGL2 renderer, but extra work is needed in project manager and editor to simplify the creation of OpenGL3 projects.
2022-09-07Merge pull request #65239 from Geequlim/js2webFabio Alessandrelli
Rename JavaScript singleton to JavaScriptBridge
2022-09-07[Net] Rename StreamPeerSSL to StreamPeerTLS.Fabio Alessandrelli
SSL has been deprectated almost 10 years ago.
2022-09-06Merge pull request #64417 from aaronfranke/has-spaceRémi Verschelde
Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods
2022-09-06Rename `range_lerp` to `remap`Micky
2022-09-04Replace Rect2(i) has_no_area with has_areaAaron Franke
2022-09-04Fix XSendEvent crash & bootsplash.MatthewZelriche
Fixes a crash due to an Xlib error, as well as ensures that Godot holds the correct size of the window after window modes have been applied, before exiting the DisplayServerX11 constructor. This ensures the bootsplash will be displayed with the correct dimensions. Fixes #65320
2022-09-04fix: graceful exit on macOS missing VulkanJiri Suchan
2022-09-03Merge pull request #65283 from bruvzg/reenable_per_pix_transpRémi Verschelde
Re-enable per-pixel transparency support on Linux, macOS, and Windows.
2022-09-03Merge pull request #65111 from MatthewZelriche/DroppedXEventFixRémi Verschelde
Fix dropped XEvents early in main window lifetime.
2022-09-03Re-enable per-pixel transparency support on Linux, macOS, and Windows (for ↵bruvzg
Vulkan and OpenGL rendering drivers).
2022-09-03Disable dark mode title bar on Windows 10.bruvzg
2022-09-02Add support for system dark mode (Linux)Raul Santos
- Use `org.freedesktop.appearance color-scheme` to support system dark mode.
2022-09-02Rename JavaScript singleton to JavaScriptBridgeGeequlim
2022-09-02Merge pull request #65242 from bruvzg/menu_event_multiwindowRémi Verschelde
2022-09-02Merge pull request #65026 from bruvzg/dark_modeRémi Verschelde
2022-09-02[macOS] Simplify handling of menu accelerators, and send event to the ↵bruvzg
focused window instead of main.
2022-09-01Merge pull request #65132 from bruvzg/global_menu_shortcuts_contextRémi Verschelde
2022-09-01Fix dropped XEvents early in main window lifetime.MatthewZelriche
The DisplayServerX11 constructor processes pending events shortly after constructing the main window. However, it discards pending events on the event queue that it is not interested in. This results in these events never making it to the main events thread and as a result are never processed. We need to save the events we don't handle in DisplayServerX11 so that they can be resent for later handling by the events thread.
2022-09-01Merge pull request #65107 from MatthewZelriche/X11MinimizeMaximizeFixRémi Verschelde
Fix minimize/maximize not taking effect in X11.
2022-09-01[macOS] Handle accelerator and click events of the global menu items separately.bruvzg
2022-08-31Add support for system dark mode and accent color detection (macOS and ↵bruvzg
Windows). Add support for dark mode title bar on Windows.
2022-08-31Merge pull request #65095 from m4gr3d/update_get_current_dir_mainRémi Verschelde
Additional fixes to the Android `get_current_dir()` implementation.
2022-08-30Merge pull request #65094 from Faless/web/4.x_templates_refactorRémi Verschelde
[Web] Require threads, rtti, allow optimize=speed.
2022-08-30Fix minimize/maximize not taking effect in X11.MatthewZelriche
Attempts to construct an X11 window in an initial state of minimized/maximized would fail due to the window being unmapped. We simply check for failed mode changes during an unmap and reapply them if necessary.
2022-08-30[Web] Require threads, rtti, allow optimize=speed.Fabio Alessandrelli
Update export names (web[_dlink]_[release|debug].zip). The Build with dynamic linking is broken due to high number of imports in output wasm (likely emscripten regression issue 15487).
2022-08-30Additional fixes to the Android `get_current_dir()` implementation.Fredia Huya-Kouadio
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-29Fix fullscreen on X11.MatthewZelriche
Attempts to set a Godot window to fullscreen prior to the window being mapped would silently fail. This commit uses _window_fullscreen_check to test if a window had been set to fullscreen while unmapped, and if so, resets it to fullscreen once the window has been successfully mapped. Fixes #54065
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke