Matthew Hoops
47a82f2d1b
BACKENDS: Add a custom Mac OS X CD audio manager
...
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.
2016-03-13 13:53:55 +01:00
Thierry Crozat
ef62422e59
OSX: Fix menus when using SDL2
...
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-12-16 20:42:11 +00:00
Matthew Hoops
5936f7c9d1
MACOSX: Fix compilation
...
Broken by 3f22c12
2015-03-05 08:02:54 -05:00
Johannes Schickel
3f22c12c56
SDL: Handle icon setup in SdlWindow.
2015-02-16 01:25:22 +01:00
Matthew Hoops
7af36e9724
BACKENDS: Fix invalid buffer size in CFStringGetCString call
2014-06-01 17:02:18 -04:00
Thierry Crozat
6d7fcdd2b5
OSX: Implement TaskbarManager for Mac OS X
...
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-23 21:54:47 +00:00
Johannes Schickel
63304ee9ec
SDL: Make GPL headers consistent in themselves.
2014-02-18 02:39:38 +01:00
Thierry Crozat
67493394b3
OSX: Remove use of deprecated methods
...
FSRef and FSPathMakeRef have been deprecated in OS X 10.8. So we
use CFURLRef instead.
2012-11-18 01:29:09 +00:00
Max Horn
a49f55878a
OSX: Improve native OS X browser dialog
...
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-11-18 01:29:08 +00:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Christoph Mallon
9f827e3392
JANITORIAL: Remove +x from files, which should not be executable.
2012-03-17 22:43:32 +01:00
Oystein Eftevaag
09ce3407b1
OSX: Avoid use of NSString:stringWithCString, for OS X 10.2 and 10.3 compatibility
2012-01-14 11:04:58 -05:00
Thierry Crozat
e3d7606188
MACOSX: Detect system preferred language when starting bundle
...
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-10-03 23:53:22 +01:00
Oystein Eftevaag
7e7e606919
MACOSX: Turned update support off by default, simplified and cleaned the pull request
2011-08-02 21:00:57 -04:00
CeRiAl
828f1884b4
MACOSX: Add Sparkle support
2011-07-19 21:33:01 +02:00
Matthew Hoops
5825ccc168
BACKENDS: Fix spelling of 'Mac OS X'
2011-07-13 09:47:03 -04:00
Matthew Hoops
554dda7008
BACKENDS: Fix compilation on case-sensitive Mac OS X
2011-07-13 09:43:16 -04:00
Matthew Hoops
708f7739eb
BACKENDS: Fix a typo
2011-07-13 09:30:15 -04:00
Matthew Hoops
7f58d62ba1
BACKENDS: Remove unneeded define check
2011-07-13 09:28:53 -04:00
Matthew Hoops
cde3a3d9a0
BACKENDS: Rename appMenu_osx.* to appmenu_osx.*
2011-07-13 09:26:50 -04:00
Matthew Hoops
19bb69c7ed
BACKENDS: Fix compilation on Mac OS X without translation support
2011-07-13 09:20:34 -04:00
CeRiAl
5a42f2901f
MACOSX: Fix application menu i18n compilation for Mac OSX 10.4+
2011-07-12 00:47:02 +02:00
CeRiAl
b00586df82
MACOSX: Add i18n support for Mac OSX application menu
2011-07-07 01:07:06 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
6287426db0
MACOSX: Include ApplicationServices header
...
This should pacify buildbot. Somehow on my system, it does not need it, though.
2011-06-03 18:31:29 +02:00
Max Horn
59646053a3
MACOSX: Fix indention
2011-06-03 18:25:57 +02:00
Max Horn
279a5b4f32
BACKENDS: Add OSystem::displayLogFile interface + OSX implementation
2011-06-03 13:36:04 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
73cf5dba99
SDL: Add Mac OS X log file support
...
svn-id: r54589
2010-11-29 19:54:55 +00:00
Johannes Schickel
39aad6ece7
SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
...
svn-id: r54581
2010-11-29 18:30:23 +00:00
Max Horn
df05ed1a46
BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
...
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
7760077cf5
Merging the gsoc2010-opengl branch
...
svn-id: r54518
2010-11-28 14:56:31 +00:00
Alejandro Marzini
f9c3a4547c
Cleanup and documentation.
...
svn-id: r50589
2010-07-02 06:44:42 +00:00
Matthew Hoops
cd5546f1d1
Override setupIcon() for both Mac OS X and SymbianOS, they have their own icons.
...
svn-id: r50476
2010-06-29 01:59:10 +00:00
Alejandro Marzini
494755cc36
Renamed BufferingSDLMixerManager to DoubleBufferSDLMixerManager.
...
svn-id: r50458
2010-06-28 20:41:08 +00:00
Alejandro Marzini
936f558579
Improved getDefaultConfigFileName(). Code cleanup.
...
svn-id: r50364
2010-06-27 05:12:37 +00:00
Alejandro Marzini
32b5f5e4ae
Removed unused function, fixing a linker error.
...
svn-id: r50343
2010-06-26 21:05:34 +00:00
Alejandro Marzini
70e9a5b951
Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString function.
...
svn-id: r50301
2010-06-26 03:44:47 +00:00
Alejandro Marzini
e9c12368fc
Fix link error with duplicated name files.
...
svn-id: r50255
2010-06-25 00:02:58 +00:00
Matthew Hoops
a8120dd9d6
Fix compile on Mac OS X (and probably *nix systems).
...
svn-id: r50254
2010-06-24 23:51:02 +00:00
Alejandro Marzini
de2b74e15a
Added missing header.
...
svn-id: r50253
2010-06-24 23:41:27 +00:00
Alejandro Marzini
419e05bb89
Created macosx port from sdl backend.
...
svn-id: r50228
2010-06-24 19:05:59 +00:00