summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Add Metal support for macOS (arm64) and iOSStuart Carnie2024-08-209-7/+96
|
* macOS/iOS: Fix various warnings when targeting newer SDKsStuart Carnie2024-08-202-1/+5
|
* Merge pull request #95794 from bruvzg/win_fd_threadRémi Verschelde2024-08-192-81/+267
|\ | | | | | | [Windows] Run native file dialogs in thread to make it non-blocking.
| * [Windows] Run native file dialogs in thread to make it non-blocking.bruvzg2024-08-192-81/+267
| |
* | Merge pull request #90352 from Faless/web/serve_fix_browser_orderRémi Verschelde2024-08-191-4/+16
|\ \ | |/ |/| | | [Web] Fix browser opening too early with `serve.py`
| * [Web] Fix browser opening too early with serve.pyFabio Alessandrelli2024-08-011-4/+16
| |
* | Merge pull request #95272 from akien-mga/applicalifragilisticexpialidociousRémi Verschelde2024-08-173-4/+4
|\ \ | | | | | | | | | iOS: Fix typo in GodotApplicationDelegate
| * | iOS: Fix typo in GodotApplicationDelegateRémi Verschelde2024-08-083-4/+4
| | | | | | | | | | | | Fixes #90714.
* | | Merge pull request #94799 from ↵Rémi Verschelde2024-08-169-185/+572
|\ \ \ | | | | | | | | | | | | | | | | | | | | m4gr3d/memory_allocation_cleanup_and_optimizations Android memory cleanup and optimizations
| * | | Memory cleanup and optimizationsFredia Huya-Kouadio2024-08-169-185/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Returns an empty list when there's not registered plugins, thus preventing the creation of spurious iterator objects - Inline `Godot#getRotatedValues(...)` given it only had a single caller. This allows to remove the allocation of a float array on each call and replace it with float variables - Disable sensor events by default. Sensor events can fired at 10-100s Hz taking cpu and memory resources. Now the use of sensor data is behind a project setting allowing projects that have use of it to enable it, while other projects don't pay the cost for a feature they don't use - Create a pool of specialized input `Runnable` objects to prevent spurious, unbounded `Runnable` allocations - Disable showing the boot logo for Android XR projects - Delete locale references of jni strings
* | | | [Windows/Linux] Check custom export templates architecture.bruvzg2024-08-164-11/+157
| | | |
* | | | Merge pull request #95498 from LeonardoDemartino/fix_macos_dylibsigningRémi Verschelde2024-08-161-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | macOS: Only set entitlements for main binaries, fixing C# signing issues
| * | | | Only main binaries require entitlements. This fixes signing issues on macOS.Leonardo Demartino2024-08-131-4/+4
| | | | |
* | | | | Merge pull request #95197 from yahkr/95128-audio-fixRémi Verschelde2024-08-168-3/+170
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix AudioStreamPlayer `get_playback_position()` for web build
| * | | | | Fix AudioStreamPlayer get_playback_position() for web buildYahkub-R2024-08-088-3/+170
| | | | | |
* | | | | | Merge pull request #94971 from bruvzg/drv_msgsRémi Verschelde2024-08-162-18/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | [Windows] Improve video driver error messages.
| * | | | | | [Windows] Improve video driver error messages.bruvzg2024-07-312-18/+45
| | | | | | |
* | | | | | | Merge pull request #94720 from noidexe/fix-gamepad-triggersRémi Verschelde2024-08-161-2/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix gamepad triggers not working on web exports
| * | | | | | | Fix gamepad triggers not working on web exportsLisandro Lorea2024-08-141-2/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #81758 DisplayServerWeb::process_joypads handles buttons 6 and 7 of the HTML5 Standard Gamepad as a special case by doing: `input->joy_axis(idx, (JoyAxis)b, s_btns[b]);` This doesn't work because there is no JoyAxis 6 or 7 in the enum To fix this we use JoyAxis::TRIGGER_LEFT and TRIGGER_RIGHT for button 6 and 7 However since we are now lying to input->joy_axis we also need to lie in the mappings for the standard gamepad in godotcontrollersdb.txt, otherwise input->joy_axis will try to find a mapping to axis 4(LT) and axis 5(RT) that's not defined. Therefore we set lefttrigger to +a4 and righttrigger to +a5 in the mapping, to match what we are actually sending. A cleaner, and more involved fix to this would be modifying input->joy_button so that it can handle analog buttons and map them to axes preserving their value instead of converting to boolean
* | | | | | | Merge pull request #95586 from m4gr3d/fix_last_modified_time_unitRémi Verschelde2024-08-162-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Update the Android `fileLastModified` method to return values in seconds instead of milliseconds
| * | | | | | | Update the Android `fileLastModified` method to return values in seconds ↵Fredia Huya-Kouadio2024-08-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of milliseconds
* | | | | | | | Merge pull request #95143 from TV4Fun/fix_non_windows_library_loadRémi Verschelde2024-08-161-15/+15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix reload of GDExtension libraries in framework package on macOS
| * | | | | | | | Fix reload of GDExtension libraries in framework package on macosJoel Croteau2024-08-081-15/+15
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `GDExtension::open_library` has a check in it to see if the library was loaded from a temp file, and if it was to restore the original name as that is the one we actually care about. This check is breaking extension reloading on Mac when the library path is to a framework folder, as the file inside the framework will not generally be the same name as the folder. This check also shouldn't be necessary even on Windows, which is the only platform that uses `generate_temp_files`, since disposal of the created temp file is handled within `OS_Windows::open_dynamic_library`, and `GDExtension::open_library` (which is the only function to call `open_dynamic_library` with a `p_data` argument) only cares about the original library file path and has to do extra work to remove the name of the temp file. Instead, I have removed that check and set `OS_Windows::open_dynamic_library` to return the name of the original file and not the name of the copy. This fixes GDExtension reloading on macOS. I do not have a Windows machine available to test that it still works properly on Windows, so someone should check that before merging this.
* | | | | | | | Merge pull request #91271 from m4gr3d/clean_gradle_build_setupRémi Verschelde2024-08-164-219/+110
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | Clean up the gradle build logic used to generate the Godot Android binaries
| * | | | | | | Clean up the build commands used by the editor for gradle buildsFredia Huya-Kouadio2024-05-313-64/+33
| | | | | | | |
| * | | | | | | Clean up the gradle build logic used to generate the Godot Android binariesFredia Huya-Kouadio2024-05-311-155/+77
| | | | | | | |
* | | | | | | | DisplayServerWindows: Fix logic when creating with transient parentAlvin Wong2024-08-151-7/+9
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #95425 from bruvzg/macos_joypad_queueRémi Verschelde2024-08-121-3/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [macOS] Fix wrong object type in joypad queue.
| * | | | | | | [macOS] Fix wrong object type in joypad queue.bruvzg2024-08-121-3/+2
| | | | | | | |
* | | | | | | | Merge pull request #95331 from Riteo/seat-tight-this-is-weirdRémi Verschelde2024-08-121-17/+21
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | Wayland: Avoid recreating input objects on capability change
| * | | | | | | Wayland: Avoid recreating input objects on capability changeRiteo2024-08-091-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, multiple capability events would instantiate the same object over and over as long as its bit was set. This caused issues with hotplug and device suspension.
* | | | | | | | Merge pull request #95323 from bruvzg/ios_dylRémi Verschelde2024-08-091-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | [iOS] Fix dylib GDExtension convertion.
| * | | | | | | [iOS] Fix dylib GDExtension convertion.bruvzg2024-08-091-1/+1
| | |/ / / / / | |/| | | | |
* / | | | | | [macOS] Remove kill override.bruvzg2024-08-082-13/+0
|/ / / / / /
* | | | | | [macOS] Load OpenGL.framework by path to avoid issues with non-Latin ↵bruvzg2024-08-072-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | executable names.
* | | | | | Merge pull request #95191 from bruvzg/macos_termRémi Verschelde2024-08-061-2/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | [macOS] Attempt to terminate process normally before using `forceTerminate`.
| * | | | | | [macOS] Attempt to terminate process normally before using `forceTerminate`.bruvzg2024-08-061-2/+5
| | | | | | |
* | | | | | | Merge pull request #95189 from bruvzg/fix_mono_bundleRémi Verschelde2024-08-061-5/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [macOS] Fix `generate_bundle` build flag for .NET builds.
| * | | | | | | [macOS] Fix `generate_bundle` build flag for .NET builds.bruvzg2024-08-061-5/+7
| |/ / / / / /
* | | | | | | Merge pull request #95155 from bruvzg/win_pen_checksRémi Verschelde2024-08-061-0/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [Windows] Reject `WM_POINTER(UP/DOWN)` messages for non pen pointer type.
| * | | | | | | [Windows] Reject WM_POINTER(UP/DOWN) messages for non pen pointer type.bruvzg2024-08-041-0/+10
| |/ / / / / /
* | | | | | | Merge pull request #95046 from timothyqiu/typosRémi Verschelde2024-08-062-6/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix several typos in the documentation
| * | | | | | | Fix several typos in the documentationHaoyu Qiu2024-08-022-6/+6
| |/ / / / / /
* | | | | | | Merge pull request #95009 from bruvzg/win_transp_checksRémi Verschelde2024-08-061-26/+29
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [Windows] Check if transparency is enabled in the project setting before applying DWM blur.
| * | | | | | | [Windows] Check if transparency is enabled in the project setting before ↵bruvzg2024-08-011-26/+29
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | applying DWM blur.
* / / / / / / [X11] Use motion event button state instead of async state.bruvzg2024-08-011-2/+19
|/ / / / / /
* | | | | | [macOS] Fix `is_process_running` and `kill` for bundled apps.bruvzg2024-07-312-0/+20
| | | | | |
* | | | | | Merge pull request #94976 from bruvzg/win_app_nameRémi Verschelde2024-07-311-2/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | [Windows] Improve editor grouping, set friendly name registry key for exported projects.
| * | | | | | [Windows] Improve editor grouping, set friendly name registry key for ↵bruvzg2024-07-311-2/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | exported projects.
* | | | | | Merge pull request #94958 from adamscott/fix-missing-web-nullcheck-sourceRémi Verschelde2024-07-311-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Add missing null check before disconnecting source