summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-12-16Fix String::word_wrap() for long wordsHaoyu Qiu
- Changes `TextServer.string_get_word_breaks()` - Returns pairs of boundary start and end offsets - Accepts `chars_per_line` to return line breaks - Removes `String::word_wrap()` Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-12-15Fix typos with codespellRémi Verschelde
2022-12-14Merge pull request #69990 from exoticorn/fix-android-touch-inputFredia Huya-Kouadio
Fix ambiguous touch input events on Android
2022-12-12handle ambiguous input events as touch eventsDennis Ranke
there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events.
2022-12-12Merge pull request #69966 from bruvzg/ios_fix_single_line_input_and_offsetsRémi Verschelde
[iOS] Fix broken single line input and incorrect selection / caret position.
2022-12-12[iOS] Fix broken single line input and incorrect selection / caret position.bruvzg
2022-12-12Windows: Validate that the font family name exists before trying to get the ↵oOjor-elOo
font family I didn't have the first emoji font installed, which led an an exception when calling font_collection->GetFontFamily() no the new rows.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Only support XDG directory path configuration on LinuxHugo Locurcio
XDG support breaks when running Windows builds via WINE. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-09fix dbus and fontconfig linksnikitalita
2022-12-07Merge pull request #69712 from bruvzg/real_sizeRémi Verschelde
Rename `window_get_real_size`, add position counterpart.
2022-12-07Merge pull request #69707 from bruvzg/x11_exfsRémi Verschelde
[Linux/X11] Split fullscreen mode into `WINDOW_MODE_EXCLUSIVE_FULLSCREEN` and `WINDOW_MODE_FULLSCREEN` to improve multi-window handling.
2022-12-07Merge pull request #69686 from bruvzg/win_mgmt_fixes_batch1Rémi Verschelde
[Windows] Window management fixes.
2022-12-07Merge pull request #69638 from bruvzg/macos_notarytoolRémi Verschelde
[macOS export] Add support for Xcode notarytool.
2022-12-07[macOS export] Add support for Xcode notarytool.bruvzg
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-07[Linux/X11] Split fullscreen mode into `WINDOW_MODE_EXCLUSIVE_FULLSCREEN` ↵bruvzg
and `WINDOW_MODE_FULLSCREEN` to improve multi-window handling.
2022-12-06[Windows] Window management fixes.bruvzg
Fix popup menus having incorrect scale when main window is in full-screen mode and multiple monitors with different DPI are used. Prevent mouse move code from accessing deleted window data (and creating zombie records in the windows map).
2022-12-05Fix that mouse-button-up event is parsed twice for drag-and-dropMarkus Sauermann
Currently Input::get_singleton()->parse_input_event(mb); is called twice for mouse-button-up events when dropping in a different window on linuxbsd.
2022-12-05Merge pull request #69563 from nyanpasu64/patch-1Rémi Verschelde
Fix burning CPU with udev disabled on Flatpak
2022-12-05Windows: Make MSVC debug CRT opt-in (`debug_crt=yes`)Rémi Verschelde
Follow-up to #69294 which enabled it automatically for `dev_build=yes`, but this seems to cause some issues. Those issues should likely be debugged but until then this can stay opt-in.
2022-12-05Merge pull request #69294 from akien-mga/windows-msvc-link-debug-runtimeRémi Verschelde
Windows: Link MSVC dynamic debug CRT for debug builds
2022-12-05[Linux/BSD] Fix build without fontconfig.bruvzg
2022-12-05Merge pull request #69578 from dsnopek/android-native-handlesRémi Verschelde
Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 renderer
2022-12-04Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 ↵David Snopek
renderer
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-12-03Fix burning CPU with udev disabled on Flatpaknyanpasu64
Fixes #67355.
2022-12-03Merge pull request #69390 from Sauermann/fix-mouse-event-positionRémi Verschelde
Fix incorrect mouse event position while hovering different window
2022-12-03Load X11 dynamicallyRiteo
The loaders have been generated through hpvb's dynload-wrapper, although they had to be heavily handpatched to workaround some already reported issues with it. I added a note to each generated file to account for that. As GLAD uses X11 stuff directly, I had to define the GLAD_GLX_NO_X11 macro to not let do it that, and handle myself the display loading and screen handling part myself, which wasn't that hard but it's still something worth saying. I plan to improve greatly the X11 backend (including this aspect) but, as the release isn't that far and I'm also working on the Wayland backend, this will do for now, I hope.
2022-12-02Merge pull request #69380 from bruvzg/mac_max_wsRémi Verschelde
[macOS] Improve maximized and non-resizable modes handling.
2022-12-02Merge pull request #68870 from dsnopek/master-webxr-inputRémi Verschelde
Get WebXR fully working in Godot 4!
2022-12-01Get WebXR fully working in Godot 4!David Snopek
2022-11-30Updating the minimum Android target api for proper Vulkan supportFredia Huya-Kouadio
2022-11-30Fix incorrect mouse event position while hovering different windowMarkus Sauermann
2022-11-30[macOS] Improve maximized and non-resizable modes handling.bruvzg
2022-11-30[macOS] Fix export button incorrectly disabled when using login/app password ↵bruvzg
for notarization.
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-29[iOS] Read document and cache path directly in the OS code, instead of ↵bruvzg
passing in from main.
2022-11-29Merge pull request #69332 from bruvzg/exact_symbolsRémi Verschelde
[MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
2022-11-29Merge pull request #69110 from bruvzg/con_icon2Rémi Verschelde
[Windows] Optimize editor icon, use different icon for console executable.
2022-11-29[MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace ↵bruvzg
when symbols are missing.
2022-11-29[Windows] Optimize editor icon, use different icon for console executable.bruvzg
2022-11-28[macOS] Fix sub-windows opening in fullscreen.bruvzg
2022-11-28Windows: Link MSVC dynamic debug CRT for debug buildsRémi Verschelde
Fixes #31608.
2022-11-28Merge pull request #69277 from pkdawson/construct-joypad-firstRémi Verschelde
[Windows] Fix joypad crash
2022-11-28Merge pull request #67815 from Calinou/html5-improve-feature-errorsRémi Verschelde
Improve feature errors in HTML5 for easier understanding
2022-11-28Merge pull request #68740 from bruvzg/ios_fixesRémi Verschelde
[iOS] Fix getting Unicode executable path, fix error spam on start.
2022-11-27Add missing display server overridesFredia Huya-Kouadio
Improves the base functionality for the Android platform and helps reduce the amount of spurious error logs emitted.