summaryrefslogtreecommitdiff
path: root/platform/osx
AgeCommit message (Collapse)Author
2019-10-13Merge pull request #32809 from bruvzg/macos_1015_non_hidpi_fixRémi Verschelde
Fix non-HiDPI mode on HiDPI displays on macOS Catalina.
2019-10-13Fix non-HiDPI mode on HiDPI displays on macOS Catalina.bruvzg
2019-10-12Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2019-10-04Add code signing support for Windows exports (using "signtool" on Windows ↵bruvzg
and "osslsigncode" on the other platforms)
2019-10-03Merge pull request #32518 from nekomatata/fix-revert-cursorRémi Verschelde
Properly revert cursor when using set_custom_mouse_cursor with null
2019-10-03Properly revert cursor when using set_custom_mouse_cursor with nullPouleyKetchoupp
Fixes #32486
2019-10-02macOS code signing improvements (timestamp and hardened runtime options, ↵bruvzg
entitlements property hint, remove excessive codesign calls, suppress "file not found" error on first export)
2019-09-22Changed some code found by Clang Tidy and Coverityqarmin
2019-08-26[macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg
multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
2019-08-14Merge pull request #31266 from ↵Rémi Verschelde
IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
2019-08-12Export: Remove temp files from cache after exportRémi Verschelde
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.
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner
"modules/gdnative", "modules/gdscript" directories.
2019-07-30Turn `OS.set_min/max_window_size()` warnings into errorsHugo Locurcio
Since invalid values will cause the setting to be discarded, it makes more sense to display an error message instead of a warning message.
2019-07-24Fix crash caused by a9a0d0fb15cc5e028dbf8dab8b46d3dc197c4678Guilherme Felipe
2019-07-09Fix cursor blinking in integrated GPUsGuilherme Felipe
Optimization for Input::set_custom_mouse_cursor when used inside _process function. (Avoids cursor blinking in low end devices)
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
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.
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-23Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG
2019-06-18Update macOS global mouse position at startupbruvzg
2019-06-17Add script to fix style issues and copyright headersRémi Verschelde
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.
2019-06-17Merge pull request #29752 from bruvzg/window_size_limitsRémi Verschelde
Add ability to limit maximum/minimum window size.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
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.
2019-06-15Add ability to limit maximum/minimum window size.bruvzg
2019-06-12Merge pull request #29481 from bruvzg/macos_fix_dvorak_qwerty_cmd_hotkeysRémi Verschelde
Fixes hotkeys on "Dvorak - QWERTY ⌘" keyboard layout.
2019-06-12Merge pull request #29465 from bruvzg/per_pixel_transp_imprRémi Verschelde
Removes redundant "splash" setting, improves per pixel transparency documentation.
2019-06-04[macOS] Fixes hotkeys on "Dvorak - QWERTY ⌘" keyboard layout.bruvzg
2019-06-04[macOS] Fixes unicode input with IME mode inactive, Improves IME mode ↵bruvzg
documentation.
2019-06-04Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg
improves per pixel transparency documentation.
2019-05-27Merge pull request #29119 from bruvzg/native_icon_supportRémi Verschelde
Add native window/taskbar icon support for Windows and macOS.
2019-05-24Add native window/taskbar icon support for Windows and macOS.bruvzg
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
2019-05-23Check project settings live before lookup in crash handlerIbrahn Sahir
In x11, windows and osx crash handlers, check project settings exists before looking up the crash handler message setting. Avoids crashing the crash handler when handling a crash outside project settings lifetime. Instead omitting the configurable message and continuing with trace dump.
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-18Allow project export to be canceledGeorge Marques
2019-05-17[macOS] Allow using user provided `.icns` files for exported app icons.bruvzg
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
Small fixes to static analyzer bugs
2019-04-30SCons: Always use env.Prepend for CPPPATHRémi Verschelde
Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
2019-04-29Merge pull request #28061 from guilhermefelipecgs/fix_19137Rémi Verschelde
[Input] Release keys/actions pressed if window loses focus
2019-04-29Merge pull request #28185 from KLee1248/key_remappingRémi Verschelde
Re-maps KEY_BRACELEFT/RIGHT for OSX users
2019-04-27[Input] Release keys/actions pressed if window loses focusGuilherme Felipe
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
2019-04-24SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGSRémi Verschelde
Many contributors (me included) did not fully understand what CCFLAGS, CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them in the way they are intended to be. As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html - CCFLAGS: General options that are passed to the C and C++ compilers. - CFLAGS: General options that are passed to the C compiler (C only; not C++). - CXXFLAGS: General options that are passed to the C++ compiler. By default, this includes the value of $CCFLAGS, so that setting $CCFLAGS affects both C and C++ compilation. - CPPFLAGS: User-specified C preprocessor options. These will be included in any command that uses the C preprocessor, including not just compilation of C and C++ source files [...], but also [...] Fortran [...] and [...] assembly language source file[s]. TL;DR: Compiler options go to CCFLAGS, unless they must be restricted to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to CPPFLAGS.
2019-04-19Re-maps KEY_BRACELEFT/RIGHT for OSX usersKLee1248
Should fix #28098.
2019-04-15Add Input::get_current_cursor_shapeGuilherme Felipe
[Clean up] Removed unused/unnecessary methods.
2019-04-09Merge pull request #27490 from bruvzg/macos_non_resizable_fullscreenRémi Verschelde
Allow non-resizeable windows to enter full-screen mode.
2019-04-07Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky
2019-04-06Remove unused importsHendrikto
2019-04-04Small fixes to static analyzer bugsqarmin
2019-03-28[macOS] Allow non-resizeable windows to enter fullscreen mode.bruvzg
2019-03-12[macOS] Fix hiDPI scaling support in `OS.get_real_window_size` and ↵bruvzg
`OS.set_window.size` functions.
2019-03-07osx: update mouse position on mouse pressPhilip Whitfield