summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-06-14refactoring: simplify compiler version checkJiri Suchan
2022-06-14[HTML5] Add GDNative+Threads build.Fabio Alessandrelli
2022-06-09Migrate the Godot Editor java source file to Kotlin.Fredia Huya-Kouadio
2022-06-08Add readable export errors.bruvzg
2022-06-02Remove mouse events that closed the popup from queue, to fix pop-up reopening.bruvzg
2022-06-01Merge pull request #61579 from madmiraal/android-kotlin-java-versionRémi Verschelde
Ensure Android Java and Kotlin compile to the same version
2022-06-01Ensure Android Java and Kotlin compile to the same versionMarcel Admiraal
2022-05-31Misc editor tweaks and polishes:Fredia Huya-Kouadio
- Using a bucketized approach to select the editor scale in order to avoid too high values - Add default app dimensions: used on Android devices with free floating app windows to set the default app frame - Add ability to launch the Game window in an adjacent frame when in multi window mode
2022-05-31Merge pull request #61573 from madmiraal/android-cleanupRémi Verschelde
Cleanup Android C++ code
2022-05-31Cleanup Android C++ codeMarcel Admiraal
2022-05-27Only use Android fullscreen theme for splash screenMarcel Admiraal
2022-05-25HTML5: Run `npm audit fix`Rémi Verschelde
And re-add `node_modules` to `.gitignore` which I mistakenly removed with an earlier cleanup.
2022-05-25HTML5: Enable mbedTLS module for Crypto objectRémi Verschelde
Increases the size of the wasm by around 3% (~300-350 KiB). This enables using the Crypto object for hashing, signing and encryption, and therefore reduces the gap between the features of the HTML5 platform and other platforms. Closes https://github.com/godotengine/godot-proposals/issues/3574.
2022-05-25Merge pull request #61352 from Faless/ext/linux_exportRémi Verschelde
[Editor] Fix GDExtension GNU/Linux export.
2022-05-24[Editor] LinuxBSD export reports Linux as OS name.Fabio Alessandrelli
This is in line with what's reported by the `OS` class on GNU/Linux, and is required by the extension exporter to identify the correct library. For BSD, we should either finish splitting the platform (into platform/bsd) or register a separate exporter with OS name BSD and proper templates detection.
2022-05-23Merge pull request #61333 from m4gr3d/fix_restart_logic_mainRémi Verschelde
2022-05-23Fix the logic to restart the Godot applicationFredia Huya-Kouadio
2022-05-23Merge pull request #61330 from madmiraal/android-duplicate-registerRémi Verschelde
Remove duplicate Android sensor listener registrations
2022-05-23Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git.
2022-05-23Remove duplicate Android sensor listener registrationsMarcel Admiraal
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