summaryrefslogtreecommitdiffstats
path: root/platform/osx
Commit message (Collapse)AuthorAgeFilesLines
* [macOS] Add support for OpenGLES3 video driver.bruvzg2021-11-027-242/+370
|
* [macOS] Add `create_instance` function to spawn editor copies.bruvzg2021-11-012-0/+60
| | | | [macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
* Use OpenGL 3.3 core profile instead of compatibility profileClay John2021-10-315-25/+25
| | | | | | | | | | - Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
* Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio2021-10-302-3/+2
| | | | | - Use lowercase driver names for the `--rendering-driver` command line argument.
* Add GLES2 2D renderer + Linux display managerlawnjelly2021-10-301-0/+2
| | | | | | | | | First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* Adds support for 'use_coverage' flag in OSX.Sean Kim2021-10-281-0/+5
| | | | Based on #36572 which added support for Linux
* clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde2021-10-281-5/+5
| | | | All reviewed manually and occasionally rewritten to avoid bad auto formatting.
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-4/+4
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* Remove unimplemented methodsMarcel Admiraal2021-10-211-1/+0
|
* Merge pull request #52940 from groud/toast_notificationRémi Verschelde2021-10-191-1/+1
|\
| * Implement toast notifications in the editorGilles Roudière2021-10-141-1/+1
| |
* | Merge pull request #53833 from akien-mga/remove-webm-supportRémi Verschelde2021-10-151-2/+0
|\ \
| * | Remove WebM support (and deps libvpx and opus)Rémi Verschelde2021-10-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've had many issues with WebM support and specifically the libvpx library over the years, mostly due to its poor integration in Godot's buildsystem, but without anyone really interested in improving this state. With the new GDExtensions in Godot 4.0, we intend to move video decoding to first-party extensions, and this would likely be done using something like libvlc to expose more codecs. Removing the `webm` module means we can remove libsimplewebm, libvpx and opus, which we were only used for that purpose. Both libvpx and opus were fairly complex pieces of the buildsystem, so this is a nice cleanup. This also removes the compile-time dependency on `yasm`. Fixes lots of compilation or non-working WebM issues which will be linked in the PR.
* | | SCons: Set `DEBUG_ENABLED` and `DEV_ENABLED` in SConstructRémi Verschelde2021-10-151-3/+0
|/ / | | | | | | | | They're the same for all platforms so they don't need to be repeated in all platform definitions.
* / Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee2021-10-141-2/+0
|/ | | | Found by `scons dev=yes` on llvm-mingw.
* SCons: Add `DEV_ENABLED` defines for `target=debug` buildsRémi Verschelde2021-10-141-0/+1
| | | | | | | | | | | This will allow adding developer checks which will be fully compiled out in user builds, unlike `DEBUG_ENABLED` which is included in debug tempates and the editor builds. This define is not used yet, but we'll soon add code that uses it, and change some existing `DEBUG_ENABLED` checks to be performed only in dev builds. Related to godotengine/godot-proposals#3371.
* Replaced NULL with nullptrM. Huri2021-10-121-2/+2
|
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-011-5/+15
| | | | interface.
* Merge pull request #52684 from Frixuu/masterRémi Verschelde2021-10-012-134/+155
|\
| * Allow for mapping keycodes to current layoutFrixuu2021-09-212-134/+155
| |
* | Merge pull request #48685 from bruvzg/bundle_icon_4Rémi Verschelde2021-09-302-4/+17
|\ \
| * | [macOS] Prefer .app bundle icon over the default one.bruvzg2021-05-132-4/+17
| | |
* | | [macOS, sandbox] Add export option to embed and sign helper executables.bruvzg2021-09-271-5/+48
| |/ |/|
* | Merge pull request #47391 from Calinou/platform-feature-tags-lowercaseJuan Linietsky2021-09-071-1/+1
|\ \ | | | | | | Make platform feature tag names lowercase
| * | Make platform feature tag names lowercaseHugo Locurcio2021-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
* | | fix fullscreen issue on macOSDaniel Kariv2021-09-031-0/+4
|/ / | | | | | | adds a call for resize event.
* | Merge pull request #47829 from Calinou/improve-crash-handler-displayHugo Locurcio2021-08-251-0/+10
|\ \ | | | | | | Improve crash handler message display
| * | Improve crash handler message displayHugo Locurcio2021-06-171-0/+10
| | | | | | | | | | | | | | | | | | - State the Godot version and full hash in the backtrace. - Add decoration around the crash backtrace, both to make it stand out from other messages and help the user figure out what they should copy.
* | | Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke2021-08-221-2/+2
| | |
* | | Add partial support for Android scoped storage.ne0fhyk2021-08-162-2/+2
| | | | | | | | | | | | | | | This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30. In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
* | | Merge pull request #51116 from Calinou/macos-fix-xbox-bluetooth-controllersRémi Verschelde2021-08-162-2/+15
|\ \ \ | | | | | | | | Fix Xbox controllers in Bluetooth mode on macOS
| * | | Fix Xbox controllers in Bluetooth mode on macOSHugo Locurcio2021-08-162-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the D-pad up arrow from being registered as pressed when it isn't, and pressing any direction from activating the next arrow clockwise of it. Co-authored-by: Scott Wadden <scott.wadden@gmail.com>
* | | | Merge pull request #51587 from Calinou/use-unicode-multiplication-symbolRémi Verschelde2021-08-131-8/+8
|\ \ \ \ | | | | | | | | | | Use the Unicode multiplication symbol where relevant
| * | | | Use the Unicode multiplication symbol where relevantHugo Locurcio2021-08-121-8/+8
| | | | |
* | | | | Add input buffering frameworkPedro J. Estébanez2021-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Input buffering is implicitly used by event accumulation, but this commit makes it more generic so it can be enabled for other uses. For desktop OSs it's currently not feasible given main and UI threads are the same).
* | | | | Improve input event accumulationPedro J. Estébanez2021-08-131-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - API has been simplified: all events now go through `parse_input_event()`. Whether they are accumulated or not depends on the `use_accumulated_input` flag. - Event accumulation is now thread-safe (it was not needed so far, but it prepares the ground for the following changes). - Touch drag events now support accumulation.
* | | | | Upgrade Vulkan memory allocatorPedro J. Estébanez2021-08-131-1/+1
|/ / / /
* | | | Split osx platform export template into multiple filesSergey Minakov2021-08-123-1147/+1214
| | | |
* | | | Use "volk" instead of statically linked Vulkan loader.bruvzg2021-08-122-14/+10
| | | |
* | | | Use Key enum instead of plain integersAaron Franke2021-08-102-10/+10
| | | |
* | | | [macOS] Move captured mouse cursor to the center when window gain focus.bruvzg2021-08-081-2/+10
|/ / /
* | | Removed Redundant assignement of name inside configure_joypad functionvitika92021-07-271-1/+2
| | |
* | | [macOS] Add "debugging" (`get-task-allow`) to the export options, to allow ↵bruvzg2021-07-261-0/+5
| | | | | | | | | | | | using native debugger.
* | | Fix various typos with codespellluz paz2021-07-251-1/+1
| | | | | | | | | | | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
* | | Move `alert` function from `DisplayServer` to `OS`.bruvzg2021-07-224-213/+243
| | |
* | | Fix MoltenVK static linking on macOS (add missing include path, Vulkan SDK ↵bruvzg2021-07-221-1/+2
| | | | | | | | | | | | path option, use xcframework instead of static framework).
* | | Merge pull request #48622 from Geometror/reimplement-disableable-vsyncHugo Locurcio2021-07-104-15/+34
|\ \ \
| * | | Restructure and reimplement vsync optionsHendrik Brucker2021-07-064-15/+34
| | | | | | | | | | | | | | | | | | | | -Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX -Removed the V-Sync via Compositor option
* | | | [macOS, Mono] Automatically enable JIT entitlements for the Mono exports.bruvzg2021-07-091-8/+23
|/ / /
* | | [macOS] Fix custom mouse cursor not set after mouse mode change.bruvzg2021-06-231-0/+6
| | |