summaryrefslogtreecommitdiffstats
path: root/platform/macos/os_macos.mm
Commit message (Collapse)AuthorAgeFilesLines
* [macOS] Fix `is_process_running` and `kill` for bundled apps.bruvzg2024-07-311-0/+18
|
* Collapse the gdextension arguments into the `GDExtensionData` structFredia Huya-Kouadio2024-04-191-3/+3
| | | | This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`.
* Fix loading GDExtension dependencies on AndroidFredia Huya-Kouadio2024-04-191-1/+1
|
* Add renaming of PDB files to avoid blocking themDmitriySalnikov2024-04-051-1/+1
|
* clang-tidy: Enforce `modernize-use-nullptr`Thaddeus Crews2024-03-121-1/+1
|
* [macOS] Fix some deprecation warnings.bruvzg2024-02-281-0/+4
|
* Migrate macos controller API to GameController.hJezer Mejía2024-02-201-2/+2
| | | | | | | | | | This should fix a lot of issues regarding to old controller API, such as vibration Haptics (vibrations) are only available in macOS 11+, so haptics are now processed in macOS 11+ only. Also, this doesn't interfere with controller's input as controller support is available in macOS 10.9+. Added a Note for macOS regarding vibration support
* Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-2/+2
|
* [macOS] Add support for native help menu search callbacks, integrate editor ↵bruvzg2024-02-131-0/+1
| | | | help.
* [macOS] Allow `open_shell` to handle filenames without `file://`.bruvzg2024-02-091-1/+4
|
* use autorelease pools around main loopStuart Carnie2024-02-021-10/+14
| | | | Reduces memory usage considerably
* Distinguishs between dynamic library not found and can't be opened.Daylily-Zeleen2024-01-011-0/+2
|
* Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-10-081-1/+1
|
* [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-1/+1
|
* [macOS] Implement optional native file selection dialog support for ↵bruvzg2023-07-121-0/+59
| | | | sandboxed apps.
* Fix formatting of dlopen error message on WindowsKamil Brzoskowski2023-07-091-1/+1
| | | | | | And harmonize the format for all platforms. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Enable S3TC_BPTC but not ETC2_ASTC by defaultAaron Franke2023-06-091-0/+6
|
* Style: Harmonize header includes in platform portsRémi Verschelde2023-06-081-4/+4
| | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module should be included with relative paths (relative to the root folder of the modular component, e.g. `platform/linuxbsd/`), in their own section before Godot's "core" includes. The `api` and `export` subfolders also need to be handled as self-contained (and thus use relative paths for their "local" includes) as they are all compiled for each editor platform, without necessarily having the api/export matching platform folder in the include path. E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp` and those need to use relative includes for it to work.
* [TLS] Add support for platform-specific CA bundles.Fabio Alessandrelli2023-05-121-0/+29
| | | | | | | | | | | | | | | | | Adds a new OS::get_system_ca_certs method which can be implemented by platforms to retrieve the list of trusted CA certificates using OS specific APIs. The function should return the certificates in PEM format, and is currently implemented for Windows/macOS/LinuxBSD(*)/Android. mbedTLS will fall back to bundled certificates when the OS returns no certificates. (*) LinuxBSD does not have a standardized certificates store location. The current implementation will test for common locations and may return an empty string on some distributions (falling back to the bundled certificates).
* [macOS] Implement OS::shell_show_in_file_manager()bruvzg2023-04-251-0/+21
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* [macOS/iOS] Use framework Info.plist to determine library name.bruvzg2022-12-161-10/+22
|
* Only support XDG directory path configuration on LinuxHugo Locurcio2022-12-121-24/+0
| | | | | | XDG support breaks when running Windows builds via WINE. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Use system fonts as fallback and improve system font handling.bruvzg2022-12-041-4/+136
| | | | | | | Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
* Load and use system emoji font in the editor.bruvzg2022-11-011-1/+8
|
* [macOS] Fit OS::alert to the text width for better readability.bruvzg2022-10-181-1/+3
|
* Add get_distribution_name() and get_version() to OSMJacred2022-09-161-0/+9
| | | | | | supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
* [macOS, 4.0] Fix unresponsive redraw during live resizing.bruvzg2022-09-141-2/+3
|
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-6/+6
|
* Remove unused force_quit variable from many OS abstractionsPedro J. Estébanez2022-08-271-4/+1
|
* Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg2022-07-261-0/+74
|
* Rename OSX to macOS and iPhoneOS to iOS.bruvzg2022-07-211-0/+524