summaryrefslogtreecommitdiffstats
path: root/platform/osx
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * [macOS] Fixes hotkeys on "Dvorak - QWERTY ⌘" keyboard layout.bruvzg2019-06-041-9/+9
| |
* | Merge pull request #29465 from bruvzg/per_pixel_transp_imprRémi Verschelde2019-06-121-1/+1
|\ \ | |/ |/| Removes redundant "splash" setting, improves per pixel transparency documentation.
| * Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg2019-06-041-1/+1
| | | | | | | | improves per pixel transparency documentation.
* | [macOS] Fixes unicode input with IME mode inactive, Improves IME mode ↵bruvzg2019-06-042-35/+94
|/ | | | documentation.
* Merge pull request #29119 from bruvzg/native_icon_supportRémi Verschelde2019-05-272-0/+26
|\ | | | | Add native window/taskbar icon support for Windows and macOS.
| * Add native window/taskbar icon support for Windows and macOS.bruvzg2019-05-242-0/+26
| | | | | | | | Co-authored-by: Markus Törnqvist <mjt@nysv.org>
* | Check project settings live before lookup in crash handlerIbrahn Sahir2019-05-231-1/+6
|/ | | | | | | | 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.
* added a const keyword for a methods that return constant literal...hbina0852019-05-212-2/+2
|
* Allow project export to be canceledGeorge Marques2019-05-181-5/+13
|
* [macOS] Allow using user provided `.icns` files for exported app icons.bruvzg2019-05-171-6/+16
|
* Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde2019-05-011-1/+0
|\ | | | | Small fixes to static analyzer bugs
| * Small fixes to static analyzer bugsqarmin2019-04-041-1/+0
| |
* | SCons: Always use env.Prepend for CPPPATHRémi Verschelde2019-04-301-1/+1
| | | | | | | | | | | | 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).
* | Merge pull request #28061 from guilhermefelipecgs/fix_19137Rémi Verschelde2019-04-291-0/+5
|\ \ | | | | | | [Input] Release keys/actions pressed if window loses focus
| * | [Input] Release keys/actions pressed if window loses focusGuilherme Felipe2019-04-271-0/+5
| | | | | | | | | | | | | | | Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
* | | Merge pull request #28185 from KLee1248/key_remappingRémi Verschelde2019-04-291-4/+4
|\ \ \ | |/ / |/| | Re-maps KEY_BRACELEFT/RIGHT for OSX users
| * | Re-maps KEY_BRACELEFT/RIGHT for OSX usersKLee12482019-04-191-4/+4
| | | | | | | | | | | | Should fix #28098.
* | | SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGSRémi Verschelde2019-04-241-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky2019-04-071-1/+1
|/ /
* | Add Input::get_current_cursor_shapeGuilherme Felipe2019-04-152-4/+6
| | | | | | | | [Clean up] Removed unused/unnecessary methods.
* | Merge pull request #27490 from bruvzg/macos_non_resizable_fullscreenRémi Verschelde2019-04-091-1/+5
|\ \ | | | | | | Allow non-resizeable windows to enter full-screen mode.
| * | [macOS] Allow non-resizeable windows to enter fullscreen mode.bruvzg2019-03-281-1/+5
| | |
* | | Remove unused importsHendrikto2019-04-061-1/+0
| |/ |/|
* | [macOS] Fix hiDPI scaling support in `OS.get_real_window_size` and ↵bruvzg2019-03-121-2/+2
|/ | | | `OS.set_window.size` functions.
* osx: update mouse position on mouse pressPhilip Whitfield2019-03-071-7/+4
|
* [macOS] Fixes NumPad keys detection, adds some missing key mappings.bruvzg2019-03-061-15/+50
|
* Merge pull request #26707 from bruvzg/fix_macos_mscrollRémi Verschelde2019-03-061-1/+6
|\ | | | | Fix macOS accumulated mouse scroll events.
| * Fix macOS accumulated mouse scroll events.bruvzg2019-03-061-1/+6
| |
* | Fix directory check when exporting projectvolzhs2019-03-061-1/+1
|/ | | | Fix #26702
* Merge pull request #26633 from akien-mga/driver-fallback-etcRémi Verschelde2019-03-061-1/+1
|\ | | | | Disable driver fallback to GLES2 by default
| * Disable driver fallback to GLES2 by defaultRémi Verschelde2019-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLES2 is not designed to be a drop-in replacement for the GLES3 backend, so the fallback mode has to be used knowingly. It *can* make sense for simple projects which make sure to handle the differences between both rendering backends, but most users should stick to one supported backend. By making it opt-in, we can now use this parameter to define whether to export ETC textures to Android and iOS when using GLES3 + Fallback. When using GLES3 without Fallback on Android, set the proper min GLES version in the AndroidManifest. Also made the option boolean and renamed it for clarity and to avoid conflict with the previous String option (which would always evaluate as "true" otherwise). Fixes #26569.
* | Fixes misleading error message when trying to exportRicardo Lüders2019-03-051-0/+4
|/ | | | | | | This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
* More style cleanup...Rémi Verschelde2019-03-041-1/+0
|
* Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky2019-03-031-1/+4
|