aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/macosx
AgeCommit message (Collapse)Author
2019-09-01TTS: Remove USE_PLATFORM_TTS definesJaromir Wysoglad
Use defined(USE_TTS) && defined(PLATFORM) instead
2019-09-01TTS: Implement TextToSpeechManager for macOSThierry Crozat
2019-08-05SDL: Simplify implementation of createLogFile()Cameron Cawley
2019-05-05BUILD: Add the licence file for the Source Code Pro fontBastien Bouclet
2019-04-21MACOSX: Improve opening files from the Help menuThierry Crozat
Now in addition to rtf extension and no extension, it also looks for the html and md extensions. Also unless the extension is RTF or HTML, which are widely recognized, it explicitely indicate that the file should be open with TextEdit. This fixes bug #10938, with opening the README and NEWS file from the Help menu failing when the bundle was compiled without using pandoc and thus the only files available are the markdown ones. Support for the html extension is to prepare for a future change to have a nicer README than the plain text one.
2018-12-17COMMON: Rename enum variable for native browser featureThierry Crozat
There was a typo in the name (missing 'r' in browser).
2018-12-16BACKENDS: Add kFeatureNativeFileBowserDialogThierry Crozat
2018-12-16OSX: Integrate system file browser into DialogManagerSupSuper
2018-10-14BACKENDS: Use OSystem::destroy() instead of deleting directly the g_system ↵Thierry Crozat
instance
2018-08-28MACOSX: Fix compilation with the 10.4 SDKCameron Cawley
2018-08-28MACOSX: Update link to documentationCameron Cawley
2018-08-28MACOSX: Give every license file a menu itemangstsmurf
We make a renamed copy of the three license files with non-standard suffixes, to make them open in TextEdit by default.
2018-08-28MACOSX: Keep the original license files when combiningangstsmurf
2018-08-28MACOSX: Fix compilation with the 10.9 SDK and belowCameron Cawley
2018-08-28MACOSX: Put documentation links in Help menuColin Snover
The local documents are not currently internationalised simply because the internationalised resources are not put into the right places (NSBundle will handle this automatically when they are); Trac#10464 is a tracking bug for this outstanding issue. Fixes Trac#10437.
2018-04-29OSX: Handle encoding conversion for clipboard textThierry Crozat
2018-04-29OSYSTEM: Add API to copy text to clipboardThierry Crozat
This has also been implemented for the SDL2 and macOS backends.
2017-09-12MACOSX: Remove mixer init from derived class for macosx backendThierry Crozat
Since the macosx backend now does the same as the base SDL backend we can just let the base class do its stuff.
2017-09-12SDL: Stop using double buffering mixer on macOSColin Snover
This mixer type was added in 943b4c2036002454b276e0190dfc2c8919fb0cbf because "anything which produces sampled data with high latency (like the MT-32 emulator) will sound terribly", but as far as I can see (or reproduce), this mixer doesn't do anything that would solve that problem, except that it effectively doubles the size of the audio buffer so there's less chance of an underflow due to slower-than-realtime synthesis by the softsynth. But you don't need the overhead of a separate thread to do that, you just need to increase the buffer size.
2017-09-10MACOS: Fix builds on case-sensitive filesystemsColin Snover
2017-09-10MACOS: Fix warnings about undeclared selectorsColin Snover
When -Wundeclared-selector is enabled (recommended by Apple), the calls to the setBadgeLabel selector in MacOSXTaskbarManager are warned on because NSDockTile declarations are not included because they do not exist in macOS 10.4 and earlier. While I don't know that we are even supporting such old macOS versions these days, it is simple enough to fix this problem when compiling to modern macOS versions by conditionally including the necessary header.
2017-09-10MACOS: Fix deprecation warnings in macOS 10.12Colin Snover
2017-05-21MACOSX: Fix flipped return value of openUrlColin Snover
2017-04-26MACOSX: Expand ~ in default screenshot pathThierry Crozat
When using SDL to save the screenshot, using a told results in an error.
2017-04-24SDL: Allow specifying the screenshot directory in the config fileThierry Crozat
There is no GUI option to set the screenshot directory, but this allows power users to set it if they don't want to use the default.
2017-04-24MACOSX: Create screenshot on DesktopThierry Crozat
This is consistent with the OS shortcut (Crtl+Shift+3) to take a screenshot.
2016-10-09JANITORIAL: Remove more trailing spacesEugene Sandulenko
2016-09-10CLOUD: Move openUrl to OSystemThierry Crozat
2016-08-30OSX: Implement clipboard supportThierry Crozat
There was already an implementation using SDL2 in the SDL backend, but this way we have it available also when using the SDL 1.
2016-03-13BACKENDS: Add a custom Mac OS X CD audio managerMatthew Hoops
Since Mac OS X Carbon/Cocoa API isn't stable (in that it's changed multiple times over the years). Maintaining two versions of the same code (one in some foreign language with overly long names) isn't very appealing to me.
2015-12-16OSX: Fix menus when using SDL2Thierry Crozat
We remove the menus added by SDL before inserting our own menus, but the code assumed that there were two SDL generated menus. SDL2 actually adds three menus. So the new code makes no assumptions on the number of menus so that it works with both SDL1.2 and SDL2. Also fix an issue on OS X 10.4 and earlier that caused the app menu to be nameless.
2015-03-05MACOSX: Fix compilationMatthew Hoops
Broken by 3f22c12
2015-02-16SDL: Handle icon setup in SdlWindow.Johannes Schickel
2014-06-01BACKENDS: Fix invalid buffer size in CFStringGetCString callMatthew Hoops
2014-02-23OSX: Implement TaskbarManager for Mac OS XThierry Crozat
This implements count badge, progress bar, and icon overlay. It uses the NSDockTile API which is available since OS X 10.5. The code compiles and run on older system but without doing anything.
2014-02-18SDL: Make GPL headers consistent in themselves.Johannes Schickel
2012-11-18OSX: Remove use of deprecated methodsThierry Crozat
FSRef and FSPathMakeRef have been deprecated in OS X 10.8. So we use CFURLRef instead.
2012-11-18OSX: Improve native OS X browser dialogMax Horn
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-03-17JANITORIAL: Remove +x from files, which should not be executable.Christoph Mallon
2012-01-14OSX: Avoid use of NSString:stringWithCString, for OS X 10.2 and 10.3 ↵Oystein Eftevaag
compatibility
2011-10-03MACOSX: Detect system preferred language when starting bundleThierry Crozat
This reimplement getSystemLanguage() for MacOS X because setlocale() only works if the application is started from the terminal. Instead we use CFBundleCopyPreferredLocalizationsFromArray() which requires the translations to be listed in the bundle plist file (this had already been committed). This fixes bug #3394080.
2011-08-02MACOSX: Turned update support off by default, simplified and cleaned the ↵Oystein Eftevaag
pull request
2011-07-19MACOSX: Add Sparkle supportCeRiAl
2011-07-13BACKENDS: Fix spelling of 'Mac OS X'Matthew Hoops
2011-07-13BACKENDS: Fix compilation on case-sensitive Mac OS XMatthew Hoops
2011-07-13BACKENDS: Fix a typoMatthew Hoops
2011-07-13BACKENDS: Remove unneeded define checkMatthew Hoops
2011-07-13BACKENDS: Rename appMenu_osx.* to appmenu_osx.*Matthew Hoops
2011-07-13BACKENDS: Fix compilation on Mac OS X without translation supportMatthew Hoops