summaryrefslogtreecommitdiffstats
path: root/platform/osx
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #35301 from Calinou/improve-console-error-loggingRémi Verschelde2020-02-101-19/+16
|\ | | | | Improve the console error logging appearance
| * Improve the console error logging appearanceHugo Locurcio2020-01-191-19/+16
| | | | | | | | | | | | | | This makes secondary information less visually prominent to improve overall readability. Various loggers were also tweaked for consistency.
* | Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-052-3/+3
| |
* | Merge pull request #35684 from timothyqiu/macos-sanitizersRémi Verschelde2020-01-311-0/+18
|\ \ | | | | | | Adds sanitizer options for macOS
| * | Adds sanitizer options for macOSHaoyu Qiu2020-01-291-0/+18
| |/
* / Adds extra cursors for macOSHaoyu Qiu2020-01-311-6/+20
|/ | | | Before, plain arrow cursor or unsuitable ones were used.
* Remove unused ip_unix member from OSX/server.Fabio Alessandrelli2020-01-141-2/+0
|
* Fixes IME input backspace on macOSHaoyu Qiu2020-01-141-1/+5
|
* [macOS/Mono] Filter release/debug and rename Mono data folder on export.bruvzg2020-01-101-0/+18
|
* [macOS] Load PCK from the .app bundle resources, instead of changing working ↵bruvzg2020-01-103-29/+14
| | | | directory.
* macOS DMG export: create folder structure for the files extracted from ↵bruvzg2020-01-101-13/+18
| | | | export template ZIP.
* Export: Improve usability of command line interfaceRémi Verschelde2020-01-071-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
* Merge pull request #33967 from Calinou/add-os-is-window-focusedRémi Verschelde2020-01-062-5/+15
|\ | | | | Add an `OS.is_window_focused()` getter
| * Add an `OS.is_window_focused()` getterHugo Locurcio2019-11-282-5/+15
| | | | | | | | | | | | | | | | This makes it possible to know whether the window is focused at a given time, without having to track the focus state manually using `NOTIFICATION_WM_FOCUS_IN` and `NOTIFICATION_WM_FOCUS_OUT`. This partially addresses #33928.
* | Update copyright statements to 2020Rémi Verschelde2020-01-0116-32/+32
| | | | | | | | | | | | | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* | i18n: Sync translations with Weblate + update templateRémi Verschelde2019-12-221-1/+0
| | | | | | | | | | Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
* | Added microphone and camera usage descriptions to macOS builds.Catchawink2019-12-131-0/+9
| |
* | [macOS] Send resize event without actually resizing window on backing change.bruvzg2019-12-081-6/+2
| | | | | | | | Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
* | iOS modular build and export implementation.bruvzg2019-12-015-420/+0
|/
* [macOS] Fix locale detection.bruvzg2019-11-251-1/+1
|
* Fix typos with codespellRémi Verschelde2019-11-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* [macOS] Remove CVDisplayLink v-sync hack.bruvzg2019-11-212-55/+2
|
* [macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to ↵bruvzg2019-10-301-0/+5
| | | | InputEventMouseMotion event.
* Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` ↵bruvzg2019-10-246-15/+21
| | | | for macOS CI.
* [macOS] Fix non-ASCII volume name listing, replace deprecated volume listing ↵bruvzg2019-10-181-4/+11
| | | | API. Remove hidden mount points from the volume list.
* Merge pull request #32809 from bruvzg/macos_1015_non_hidpi_fixRémi Verschelde2019-10-131-0/+4
|\ | | | | Fix non-HiDPI mode on HiDPI displays on macOS Catalina.
| * Fix non-HiDPI mode on HiDPI displays on macOS Catalina.bruvzg2019-10-131-0/+4
| |
* | Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio2019-10-121-0/+0
|/
* Add code signing support for Windows exports (using "signtool" on Windows ↵bruvzg2019-10-041-5/+18
| | | | and "osslsigncode" on the other platforms)
* Merge pull request #32518 from nekomatata/fix-revert-cursorRémi Verschelde2019-10-031-1/+6
|\ | | | | Properly revert cursor when using set_custom_mouse_cursor with null
| * Properly revert cursor when using set_custom_mouse_cursor with nullPouleyKetchoupp2019-10-031-1/+6
| | | | | | | | Fixes #32486
* | macOS code signing improvements (timestamp and hardened runtime options, ↵bruvzg2019-10-021-16/+19
|/ | | | entitlements property hint, remove excessive codesign calls, suppress "file not found" error on first export)
* Changed some code found by Clang Tidy and Coverityqarmin2019-09-221-1/+1
|
* [macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg2019-08-262-1/+118
| | | | multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
* Merge pull request #31266 from ↵Rémi Verschelde2019-08-142-6/+0
|\ | | | | | | | | IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
| * Remove redundant author doc commentsIAmActuallyCthulhu2019-08-122-6/+0
| |
* | Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-4/+17
|/ | | | | | | | | So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-12/+4
| | | | "modules/gdnative", "modules/gdscript" directories.
* Turn `OS.set_min/max_window_size()` warnings into errorsHugo Locurcio2019-07-301-2/+2
| | | | | | Since invalid values will cause the setting to be discarded, it makes more sense to display an error message instead of a warning message.
* Fix crash caused by a9a0d0fb15cc5e028dbf8dab8b46d3dc197c4678Guilherme Felipe2019-07-241-0/+1
|
* Fix cursor blinking in integrated GPUsGuilherme Felipe2019-07-092-0/+19
| | | | | Optimization for Input::set_custom_mouse_cursor when used inside _process function. (Avoids cursor blinking in low end devices)
* SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde2019-07-031-6/+6
| | | | | | | | It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
* Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde2019-07-011-1/+1
|\ | | | | Replace ` + "/" + ` with `String::file_add()`
| * Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-1/+1
| |
* | Update macOS global mouse position at startupbruvzg2019-06-182-0/+12
| |
* | Add script to fix style issues and copyright headersRémi Verschelde2019-06-172-6/+6
| | | | | | | | | | This is only meant to check the validity of the whole codebase every now and then, or to apply clang-format config changes when relevant.
* | Merge pull request #29752 from bruvzg/window_size_limitsRémi Verschelde2019-06-172-0/+73
|\ \ | | | | | | Add ability to limit maximum/minimum window size.
| * | Add ability to limit maximum/minimum window size.bruvzg2019-06-152-0/+73
| |/
* / Adding a new Camera Server implementation to Godot.BastiaanOlij2019-06-156-1/+421
|/ | | | | | This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
* Merge pull request #29481 from bruvzg/macos_fix_dvorak_qwerty_cmd_hotkeysRémi Verschelde2019-06-121-9/+9
|\ | | | | Fixes hotkeys on "Dvorak - QWERTY ⌘" keyboard layout.