summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Migrate the Godot Editor java source file to Kotlin.Fredia Huya-Kouadio2022-06-093-85/+77
|
* Add readable export errors.bruvzg2022-06-088-111/+217
|
* Remove mouse events that closed the popup from queue, to fix pop-up reopening.bruvzg2022-06-026-11/+25
|
* Merge pull request #61579 from madmiraal/android-kotlin-java-versionRémi Verschelde2022-06-018-12/+69
|\ | | | | Ensure Android Java and Kotlin compile to the same version
| * Ensure Android Java and Kotlin compile to the same versionMarcel Admiraal2022-06-018-12/+69
| |
* | Misc editor tweaks and polishes:Fredia Huya-Kouadio2022-05-316-5/+64
|/ | | | | | - 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
* Merge pull request #61573 from madmiraal/android-cleanupRémi Verschelde2022-05-3133-239/+182
|\ | | | | Cleanup Android C++ code
| * Cleanup Android C++ codeMarcel Admiraal2022-05-3133-239/+182
| |
* | Only use Android fullscreen theme for splash screenMarcel Admiraal2022-05-271-2/+2
|/
* HTML5: Run `npm audit fix`Rémi Verschelde2022-05-252-90/+151
| | | | | And re-add `node_modules` to `.gitignore` which I mistakenly removed with an earlier cleanup.
* HTML5: Enable mbedTLS module for Crypto objectRémi Verschelde2022-05-251-5/+0
| | | | | | | | | | 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.
* Merge pull request #61352 from Faless/ext/linux_exportRémi Verschelde2022-05-251-1/+1
|\ | | | | [Editor] Fix GDExtension GNU/Linux export.
| * [Editor] LinuxBSD export reports Linux as OS name.Fabio Alessandrelli2022-05-241-1/+1
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #61333 from m4gr3d/fix_restart_logic_mainRémi Verschelde2022-05-237-88/+156
|\ \
| * | Fix the logic to restart the Godot applicationFredia Huya-Kouadio2022-05-237-88/+156
| | |
* | | Merge pull request #61330 from madmiraal/android-duplicate-registerRémi Verschelde2022-05-231-4/+0
|\ \ \ | |/ / |/| | Remove duplicate Android sensor listener registrations
| * | Remove duplicate Android sensor listener registrationsMarcel Admiraal2022-05-231-4/+0
| |/
* / Fix typos with codespellRémi Verschelde2022-05-231-1/+1
|/ | | | Using codespell 2.2-dev from current git.
* Add a new HashSet templatereduz2022-05-2015-17/+17
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Merge pull request #61020 from timothyqiu/wait-busyRémi Verschelde2022-05-191-2/+2
|\
| * Swap the meaning of CURSOR_WAIT and CURSOR_BUSYHaoyu Qiu2022-05-141-2/+2
| |
* | Use range iterators for RBSet in most casesAaron Record2022-05-191-2/+2
| |
* | Add dedicated macros for property name extractionHaoyu Qiu2022-05-192-20/+20
| | | | | | | | | | | | | | * 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
* | Merge pull request #61001 from derammo/derammo_popup_conditional_hideRémi Verschelde2022-05-171-1/+5
|\ \
| * | popup deferred hide suppressed if reopenedderammo2022-05-131-1/+5
| |/ | | | | | | | | | | | | | | | | 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
* | Merge pull request #61074 from timoschwarzer/fix-ios-vibration-durationRémi Verschelde2022-05-161-1/+1
|\ \
| * | Fix vibration duration on iOSTimo Schwarzer2022-05-161-1/+1
| |/ | | | | | | Fixes #61063
* / Replace most uses of Map by HashMapreduz2022-05-1640-113/+114
|/ | | | | | | | | | | | * 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!
* Merge pull request #60894 from derammo/derammo_opengl3_windowsRémi Verschelde2022-05-138-81/+193
|\
| * opengl3 driver now works on windows including multi windowderammo2022-05-118-81/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Increase compiler optimization when using `target=release` on iOS/AndroidHugo Locurcio2022-05-132-4/+10
| |
* | Merge pull request #60643 from clayjohn/GLES3-3DRémi Verschelde2022-05-121-2/+2
|\ \
| * | Basic 3D renderingclayjohn2022-05-121-2/+2
| | |
* | | Add a new HashMap implementationreduz2022-05-121-15/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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<>
* | Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-116-9/+17
| |
* | [HTML5] Limit the returned OS cpu count to 2.Fabio Alessandrelli2022-05-111-1/+3
| | | | | | | | Temporarily workaround issues due to godot spawning too many threads.
* | [HTML5] Fix JS "tools" editor plugin.Fabio Alessandrelli2022-05-101-1/+1
| | | | | | | | Needed update after file/dir access refactoring.
* | [HTML5] Add "webgl/webgl2.h" as OpenGL include.Fabio Alessandrelli2022-05-102-0/+39
| | | | | | | | Requires emscripten versions > 2.0.17 .
* | [macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg2022-05-109-39/+49
| | | | | | | | | | | | Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
* | Try to convert OS::execute() output to Unicode on WindowsHaoyu Qiu2022-05-101-7/+55
| |
* | [Windows] Save and re-apply window icon when changing window style.bruvzg2022-05-102-3/+10
|/
* Crash handler: Use `print_error` to include backtrace in logsRémi Verschelde2022-05-053-41/+47
|
* Read and store joypad events in a separate thread on x11 platformMarcel Admiraal2022-05-052-173/+204
|
* Fix export plugins after embedded PCK loading changes.bruvzg2022-05-042-7/+11
|
* Merge pull request #51682 from mdavisprog/os-is-process-runningRémi Verschelde2022-05-046-0/+30
|\ | | | | OS::is_process_running function.
| * Add OS::is_process_running function.mdavisprog2022-05-036-0/+30
| | | | | | | | | | | | | | | | 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.
* | [JS] Add flag to disable weak symbols in ZSTD.Fabio Alessandrelli2022-05-031-0/+2
| | | | | | | | Weak symbols are currently broken in upstream emscripten.
* | Added missing signature.Fabio Alessandrelli2022-05-031-0/+1
|/
* Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde2022-05-0311-11/+11
|\ | | | | Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
| * Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-0311-11/+11
| | | | | | | | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.