summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Merge pull request #61020 from timothyqiu/wait-busyRémi Verschelde
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-17Merge pull request #61001 from derammo/derammo_popup_conditional_hideRémi Verschelde
2022-05-16Merge pull request #61074 from timoschwarzer/fix-ios-vibration-durationRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-16Fix vibration duration on iOSTimo Schwarzer
Fixes #61063
2022-05-14Swap the meaning of CURSOR_WAIT and CURSOR_BUSYHaoyu Qiu
2022-05-13popup deferred hide suppressed if reopenedderammo
popup no longer tries to close itself a second time popup no longer closes after having been reopened fixed bug in RenameDialog not calling base (by inspection) fixes #59181 fixes #60921 reverts #59287
2022-05-13Merge pull request #60894 from derammo/derammo_opengl3_windowsRémi Verschelde
2022-05-13Increase compiler optimization when using `target=release` on iOS/AndroidHugo Locurcio
2022-05-12Merge pull request #60643 from clayjohn/GLES3-3DRémi Verschelde
2022-05-12Basic 3D renderingclayjohn
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-11opengl3 driver now works on windows including multi windowderammo
fixed and simplified gl_manager_windows swap buffers now called for all windows fixed missing pixel format setting in additional windows this makes them work in OpenGL contexts changed verbose error printing to write once this error message happens very frequently while opengl3 is not finished removed dead code no longer needed after changes fixed comments that were misinformation window messages during window creation now handled these were previously discarded messages now tunnel the required context changed failure to create opengl3 window on windows to be more fatal marked a problem with pen code conditional compilation of vulkan and opengl3 on windows fixed windows debug builds now show messages on debug console also rendering driver selection box now shows only compiled drivers marked some problematic code thanks to akien-mga for patiently rewriting my style mistakes
2022-05-11Fix ZipIO crash when reused (and possible leaks).bruvzg
2022-05-11[HTML5] Limit the returned OS cpu count to 2.Fabio Alessandrelli
Temporarily workaround issues due to godot spawning too many threads.
2022-05-10[HTML5] Fix JS "tools" editor plugin.Fabio Alessandrelli
Needed update after file/dir access refactoring.
2022-05-10[HTML5] Add "webgl/webgl2.h" as OpenGL include.Fabio Alessandrelli
Requires emscripten versions > 2.0.17 .
2022-05-10[macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg
Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
2022-05-10Try to convert OS::execute() output to Unicode on WindowsHaoyu Qiu
2022-05-10[Windows] Save and re-apply window icon when changing window style.bruvzg
2022-05-05Crash handler: Use `print_error` to include backtrace in logsRémi Verschelde
2022-05-05Read and store joypad events in a separate thread on x11 platformMarcel Admiraal
2022-05-04Fix export plugins after embedded PCK loading changes.bruvzg
2022-05-04Merge pull request #51682 from mdavisprog/os-is-process-runningRémi Verschelde
OS::is_process_running function.
2022-05-03Add OS::is_process_running function.mdavisprog
Adds the is_process_running function to the native OS class and exposes it to script. This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function. Documentation is updated to reflect new API function.
2022-05-03[JS] Add flag to disable weak symbols in ZSTD.Fabio Alessandrelli
Weak symbols are currently broken in upstream emscripten.
2022-05-03Added missing signature.Fabio Alessandrelli
2022-05-03Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03Merge pull request #60224 from pfeodrippe/fix-simultaneous-touchesRémi Verschelde
2022-05-03Merge pull request #60553 from madmiraal/separate-display_safe_areaRémi Verschelde
2022-05-03Merge pull request #60601 from touilleMan/gdextension_get_library_pathRémi Verschelde
Add GDNativeInterface::get_library_path to GDExtension
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-02Merge pull request #60638 from m4gr3d/support_hand_tracking_v2_mainRémi Verschelde
2022-05-02Fix screen_get_usable_rect returning display safe areaMarcel Admiraal
2022-05-02Merge pull request #60551 from madmiraal/implement-3466Rémi Verschelde
Add a method for obtaining display cutouts on Android
2022-04-29Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond
2022-04-29Merge pull request #60563 from madmiraal/fix-60562Rémi Verschelde
2022-04-28[Linux] Disable speech-dispatcher, pulse audio and udev wrapper builds, when ↵bruvzg
library is not found.
2022-04-28Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg
Windows. Implement TextServer word break method.
2022-04-28[Windows Export] Improve error messages for missing rcedit and signtool.bruvzg
2022-04-27Update Meta hand tracking versionFredy Huya-Kouadio
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
2022-04-27Check for null when retrieving clip data item text on AndroidMarcel Admiraal
2022-04-27Merge pull request #56093 from bruvzg/pck_section_loadRémi Verschelde
Improve embedded PCK loading and exporting.
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-27Merge pull request #60523 from akien-mga/linux-pkgconfig-nixosRémi Verschelde
2022-04-27Merge pull request #60397 from timoschwarzer/ios-haptic-engineRémi Verschelde