summaryrefslogtreecommitdiff
path: root/platform/osx
AgeCommit message (Collapse)Author
2017-10-23Implemented vsync OS functions for OS XMarcelo Fernandez
2017-10-13Use binary names instead of absolute paths in calls to OS::execute.J08nY
Now that #12009 is merged, we should let the system find the binary on the users $PATH and don't assume we know where to look for them in different distributions.
2017-10-09Merge pull request #11810 from marcelofg55/osx_export_improvRémi Verschelde
OS X export code improvements
2017-10-09Merge pull request #11718 from poke1024/retinaRémi Verschelde
Fixes some retina problems on multi monitor setups
2017-10-07Fix python 3 build in osx-specific platformN0hbdy
2017-10-05fixes several scaling problems on multi monitor retina/non-retina setups on OS XBernhard Liebl
2017-10-03fixed the OS.has_feature() API, and added support for 32 and 64.Juan Linietsky
2017-10-03Improvements on the export code on OS XMarcelo Fernandez
2017-10-02Merge pull request #11568 from endragor/loggersAndreas Haas
Extract logging logic
2017-10-02Merge pull request #11575 from marcelofg55/move_path_to_trashPoommetee Ketson
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-09-30Merged iphone and osx audio drivers into drivers/coreaudioMarcelo Fernandez
2017-09-25FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trashMarcelo Fernandez
2017-09-25Use BoolVariable for third-party options.Elliott Sales de Andrade
2017-09-25Use EnumVariable for choice-based build options.Elliott Sales de Andrade
2017-09-25Extract logging logicRuslan Mustakov
Previously logging logic was scattered over OS class implementations with plenty of duplication. Major changes in this commit: - Extracted logging logic into a separate Logger hierarchy. It allows easy configuration of logging mechanism depending on compile-time or run-time configuration. - Implemented RotatedFileLogger which is usually used with StdLogger, providing persistency of logs. It is often important to be able to obtain logs of the game even in production to be able to understand what happened prior to some problem. On mobile there previously was no way to obtain the logs aside from having the device connected to your machine. - flush() is not performed in release mode for every logged line. It is only performed for errors.
2017-09-24Removed get_resource_dir from osx platformBastiaanOlij
2017-09-22Comment out code that is causing project loading to fail on osxBastiaanOlij
2017-09-21Merge pull request #11243 from hpvb/add-debug-info-on-releaseRémi Verschelde
Create separate debug info files by default
2017-09-20Rename pos to position in user facing methods and variablesletheed
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
2017-09-19Fix crash handler not including stdlib.hMarcelo Fernandez
2017-09-18Prevent running the crash_handler when a debugger is present on windowsMarcelo Fernandez
2017-09-17Merge pull request #11252 from marcelofg55/fix_noaudio_crashRémi Verschelde
Fix crash when no audio driver is available
2017-09-16Create separate debug info files by defaultHein-Pieter van Braam
Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
2017-09-15Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog
Fix enums bindings
2017-09-13Fix crash when no audio driver is availableMarcelo Fernandez
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-09-13Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez
2017-09-13Merge pull request #11062 from BastiaanOlij/osx_datapackRémi Verschelde
Fixed loading package from resource folder, exporting textures to bun…
2017-09-12Fixed issues with surround sound on audio serverMarcelo Fernandez
2017-09-11Implemented DirAccess get_drive and get_drive_count for OS XMarcelo
2017-09-08Fixed loading package from resource folder, exporting textures to bundle and ↵BastiaanOlij
added a bit of feedback for a debug compile
2017-09-01Merge pull request #10775 from marcelofg55/buffersize_fixesRémi Verschelde
Corrections to audio buffer size calculations
2017-09-01Corrections to audio buffer size calculationsMarcelo Fernandez
2017-09-01Fix files headerPoommetee Ketson
2017-08-29Implements OS_OSX::get_system_dir()poke1024
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-23Allow building fat binaries with osxcrossFabio Alessandrelli
2017-08-22Merge pull request #10487 from marcelofg55/curscr_as_defaultRémi Verschelde
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-22Merge pull request #10254 from marcelofg55/masterRémi Verschelde
Added notification const NOTIFICATION_WM_ABOUT
2017-08-21p_screen param from get_screen_* funcs now default to the current screenMarcelo Fernandez
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Fix y axis for set_window_position on OS XMarcelo Fernandez
2017-08-17Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez
2017-08-17Added notification const NOTIFICATION_WM_ABOUTMarcelo Fernandez
2017-08-09Implement NSTextInputClient protocol for IMEbruvzg
2017-08-08removed calls to cursor_set_visible on all platforms fixes #10167toger5
2017-08-07Merge pull request #10127 from bruvzg/3.0-osx-loggingRémi Verschelde
Duplicate error messages to macOS logging system (Console.app)
2017-08-07Merge pull request #10099 from bruvzg/3.0-fix-osx-warp_mouse_posRémi Verschelde
Fix warp_mouse_pos on macOS