summaryrefslogtreecommitdiffstats
path: root/platform/osx
Commit message (Collapse)AuthorAgeFilesLines
* Rename OSX to macOS and iPhoneOS to iOS.bruvzg2022-07-2149-14572/+0
|
* Improve DisplayServer.window_set_current_screenbruvzg2022-07-191-0/+4
| | | | | Prevent unnecessary fullscreen toggle animation on macOS, when screen is not changed Fix window position on Linux/X11
* Add static methods for creating Image and ImageTexturekobewi2022-07-082-8/+3
|
* [macOS] Improve file association handling, and allow URL schema handling.bruvzg2022-07-075-34/+55
|
* Check if GL manager exist to prevent crash when using multithreaded renderer ↵bruvzg2022-07-061-1/+3
| | | | with Vulkan.
* Merge pull request #62212 from hansemro/eraser-detect-4Rémi Verschelde2022-07-042-1/+9
|\ | | | | Add inversion/eraser-end property for tablet pens
| * [macOS, Windows, X11] Add stylus inverted/eraser support toHansem Ro2022-07-042-1/+9
| | | | | | | | InputEventMouseMotion event
* | [macOS] Use statically linked MoltenVK by default, automatically detect ↵bruvzg2022-07-031-3/+52
| | | | | | | | MoltenVK SDK install (only in the default location).
* | Fix exit code of --help and --version, and test them in CIJan Haller2022-07-021-1/+3
| | | | | | | | Corrects prior regression which caused ERROR output and exit code of 1.
* | [macOS export] Unref FileAccess to ensure chmod is successful.bruvzg2022-07-021-0/+1
| |
* | Add arch flag to assembler to fix build on ARM64 macOS / iOS.bruvzg2022-07-011-0/+2
|/
* Adding function key support from F17 to F35gregcsokas2022-06-161-5/+24
| | | | | | OSX supports everything by default, Linux is also capable of supporting every function key, Windows as I know support only up to F24
* Add readable export errors.bruvzg2022-06-081-32/+81
|
* Remove mouse events that closed the popup from queue, to fix pop-up reopening.bruvzg2022-06-023-6/+12
|
* Add a new HashSet templatereduz2022-05-203-3/+3
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-169-42/+43
| | | | | | | | | | | | * 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!
* Fix ZipIO crash when reused (and possible leaks).bruvzg2022-05-111-2/+4
|
* [macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg2022-05-108-38/+44
| | | | | | Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
* Crash handler: Use `print_error` to include backtrace in logsRémi Verschelde2022-05-051-10/+12
|
* Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde2022-05-032-2/+2
|\ | | | | 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-032-2/+2
| | | | | | | | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* | Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond2022-04-292-2/+7
|/
* Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-285-0/+385
| | | | | | Windows. Implement TextServer word break method.
* Fix sub-menu keyboard navigation.bruvzg2022-04-131-1/+1
|
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-121-14/+16
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-1111-142/+106
|
* Fix some issues found by cppcheck.bruvzg2022-04-064-5/+7
|
* Fix a possible race condition on popup close, that might cause multiple ↵bruvzg2022-04-051-14/+22
| | | | deletions of the same list item.
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-041-1/+1
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* [macOS] Add bundle launch code for older (pre 10.15) macOS versions.bruvzg2022-04-041-10/+23
|
* Add CI build with clang sanitizers, increase stack size to 30 MB for builds ↵bruvzg2022-04-012-0/+11
| | | | with sanitizers.
* Rename warp mouse functions to warp_mouseMarkus Sauermann2022-03-272-3/+3
|
* Fix PopupMenu behavior on MacOS when multiple monitors are usedC.Even2022-03-241-1/+5
| | | | | | | * DisplayServerOSX::mouse_get_position returns wrong x axis data in multi-monitor case, which makes mouse_process_popups send WINDOW_EVENT_CLOSE_REQUEST, then eventually make PopupMenu close on mouse down without activating item.
* [macOS] Add missing global menu features.bruvzg2022-03-223-29/+556
|
* Merge pull request #58455 from bruvzg/export_scriptRémi Verschelde2022-03-182-9/+41
|\
| * [Export] Add "export console script" option for Linux, macOS, and Windows ↵bruvzg2022-03-142-9/+41
| | | | | | | | exports.
* | Implement GDExtension export plugin.bruvzg2022-03-162-14/+23
|/
* Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde2022-03-111-2/+2
|\
| * Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-2/+2
| | | | | | | | | | | | | | | | `DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* | Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde2022-03-111-12/+106
|\ \ | |/ |/|
| * Improve app name and system permission message localization.bruvzg2022-03-041-12/+106
| | | | | | | | | | | | | | Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
* | [X11] Do not try to focus unmapped window.bruvzg2022-03-081-1/+1
|/
* Merge pull request #58738 from bruvzg/mac_resize_crashRémi Verschelde2022-03-044-1/+27
|\ | | | | [macOS] Disable window redraw during resize, when rendering in the separate thread.
| * [macOS] Disable window redraw during resize, when rendering in the separate ↵bruvzg2022-03-044-1/+27
| | | | | | | | thread.
* | [macOS and iOS export] Add localized application name to the translation ↵bruvzg2022-03-041-0/+5
|/ | | | .plist files.
* Improve popup window handling.bruvzg2022-02-256-15/+172
| | | | Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
* Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-166-14/+23
| | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* i18n: Sync editor translations with WeblateRémi Verschelde2022-02-161-9/+9
| | | | | | Minor proofreading of new OSX export strings. (cherry picked from commit 9f09251027a485f14740dce7b753e962d26bff78)
* Add an `OS.get_processor_name()` methodHugo Locurcio2022-02-152-0/+12
| | | | | | | | This method can be used to get the CPU model name. It can be used in conjunction with `RenderingServer.get_video_adapter_name()` and `RenderingServer.get_video_adapter_vendor()` for annotating benchmarks and automatic graphics quality configuration.
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-152-2/+7
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.