summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2023-01-09iOS: Add new model identifiers for DPI metricsMarius Seufzer
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07[Windows] Fix primary screen detection.bruvzg
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #70624 from bruvzg/cur_scRémi Verschelde
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
2023-01-03Merge pull request #70482 from bruvzg/ios_pencilRémi Verschelde
[iOS] Add Apple Pencil pressure and tilt support.
2023-01-03Merge pull request #70498 from bruvzg/macos_tilt_fixRémi Verschelde
[macOS] Fix stylus tilt Y direction.
2023-01-03Merge pull request #63483 from qianjunakasumi/qianjunakasumi/masterRémi Verschelde
Introduce `appCategory` attribute of android to set category
2023-01-03Merge pull request #70612 from floppyhammer/fix-dark-title-barRémi Verschelde
Fix dark title bar on Windows 11
2023-01-01 Introduce `appCategory` attribute of android to set category千橘 雫霞
2022-12-29Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg
and positions.
2022-12-27Allow building X11 without VulkanRiteo
This limit was likely introduced when Vulkan was the only option.
2022-12-27Fix dark title barfloppyhammer
2022-12-23Merge pull request #67668 from nikitalita/apk-signerRémi Verschelde
Improve get_apksigner_path() robustness
2022-12-23Merge pull request #67759 from TechnoPorg/jni-64-bit-arraysRémi Verschelde
Improve support for 64-bit types on Android.
2022-12-23[iOS] Add Apple Pencil pressure and tilt support.bruvzg
2022-12-23[macOS] Fix stylus tilt Y direction.bruvzg
2022-12-23fix contentScaleFactor on iOSMarius Seufzer
2022-12-21SCons: Fix `separate_debug_symbols` option for Windows/MinGWRémi Verschelde
2022-12-21Fix reading Unicode from stdio.bruvzg
2022-12-17Remove Disable Touch debug project settingHugo Locurcio
This project setting was only implemented and iOS and likely served no purpose outside of debugging during development of engine features. It was also located in a confusing location in the project settings editor, as it was located below a root category (which appears in bold and is normally not seen as clickable by users).
2022-12-17add missing comma in file filterSelene29
2022-12-16Add boot splash for the Godot Android EditorFredia Huya-Kouadio
2022-12-16Merge pull request #69477 from bruvzg/bplist_and_fwrkRémi Verschelde
[macOS/iOS] Use framework Info.plist to determine library name.
2022-12-16Merge pull request #69678 from Sauermann/fix-slider-button-upRémi Verschelde
Fix colorpicker slider bug with mouse-up outside of popup
2022-12-16[macOS/iOS] Use framework Info.plist to determine library name.bruvzg
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-06Fix colorpicker slider bug with mouse-up outside of popupMarkus Sauermann
When releasing the mouse button outside of the popup while dragging a slider, the slider still gets adjusted by mouse-move events. The reason for this bug is that the mouse-up event is sent to the focused window (main editor window) instead of the colorpicker popup window. This PR adjusts the linuxbsd X11 DisplayServer to send the event to the correct expected window.
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