Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Eugene Sandulenko
b0001ef9f6
BACKENDS: MACOSX: Display OSD messages on the Touchbar
...
Okay, so Apple now deprecated the Touchbar in their line of
MacBooks. Exciting! Time to finally add support for it!
2021-11-15 17:45:30 +01:00
Thierry Crozat
f2bc7c8874
MACOSX: Use OpenGL graphics mode by default
2021-08-15 17:52:45 +01:00
Cameron Cawley
c4699cb280
SDL: Move getDisplayDpiFromSdl and getDpiScalingFactor into the SdlWindow class
2021-08-14 19:09:33 +01:00
Max Horn
34523aba7e
JANITORIAL: Fix some typos
2021-08-04 15:43:15 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Eugene Sandulenko
e844981cd0
BACKENDS: MACOS: Query number of MIDI devices at the start of ScummVM in a thread
...
The call to MIDIGetNumberOfDestinations() starts the MIDI server which takes
3-4l seconds even on the modern hardware. We are querying this in the GUI Options
which then lags on the first launch.
Thus, we are creating a separate thread and make this call at the start of
ScummVM, so by the time the user gets to the GUI, the server is already launched
and there is no lag.
Of course, that would mean that we will launch MIDI even for the games which are
not using it, so this is a tradeoff for the better UX.
2021-03-29 20:25:37 +02:00
Cameron Cawley
0b7085fbea
SDL: Ensure that SDL is initialized before creating the window object
2020-10-11 22:45:38 +01:00
Paweł Kołodziejski
35b9cccbde
ALL: Merge ResidualVM
2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
d5304e2568
ALL: Synced with ScummVM - rev: 33a47d23b8
2020-09-03 02:21:14 +02:00
aryanrawlani28
4bcac1df17
GUI: U32: Use u32 in clipboards for MacOS
2020-08-30 14:43:41 +02:00
Pawel Kolodziejski
b586571900
ALL: synced with ScummVM commit 09bf38c120
2020-05-09 20:05:54 +02:00
Max Horn
08b4639cbb
ALL: fix a bunch of const warnings
...
Also while add it, constify some code
2020-04-17 22:41:11 +01:00
Bastien Bouclet
feaf9dc365
ALL: Sync with ScummVM rev. 55dba55056
2019-12-08 17:06:42 +01:00
Cameron Cawley
aa083256ec
SDL: Simplify implementations of getDefaultConfigFileName()
2019-12-07 21:15:41 +02:00
Jaromir Wysoglad
b97333d4b7
TTS: Remove USE_PLATFORM_TTS defines
...
Use defined(USE_TTS) && defined(PLATFORM) instead
2019-09-01 22:47:55 +03:00
Thierry Crozat
0434419b31
TTS: Implement TextToSpeechManager for macOS
2019-09-01 22:47:55 +03:00
Cameron Cawley
8b8fb6d3a4
SDL: Simplify implementation of createLogFile()
2019-08-05 10:01:30 +03:00
Bastien Bouclet
66654cb376
ALL: Sync with ScummVM - rev. cd37d510f9
2019-01-26 20:47:55 +01:00
Thierry Crozat
56d1305f9d
COMMON: Rename enum variable for native browser feature
...
There was a typo in the name (missing 'r' in browser).
2018-12-17 23:06:07 +00:00
Thierry Crozat
319b90fb21
BACKENDS: Add kFeatureNativeFileBowserDialog
2018-12-16 15:58:43 +00:00
SupSuper
28e4d7bb43
OSX: Integrate system file browser into DialogManager
2018-12-16 10:48:13 +00:00
Colin Snover
9686d8c8e6
MACOSX: Put documentation links in Help menu
...
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-08-28 15:52:23 +02:00
Bastien Bouclet
53759fe53a
ALL: Sync with ScummVM - rev. 2586ca2345
2018-07-31 21:09:37 +02:00
Bastien Bouclet
ff56446d6a
MACOSX: Set the search depth to 2 for the app bundle
...
The shader files are in a subdirectory.
2018-07-27 17:00:32 +02:00
Thierry Crozat
3fe0e3c38e
OSYSTEM: Add API to copy text to clipboard
...
This has also been implemented for the SDL2 and macOS backends.
2018-04-29 21:47:10 +01:00
Bastien Bouclet
3ec01653c3
ALL: Merge from ScummVM rev 3a933138ce
2017-12-06 21:41:03 +01:00
Thierry Crozat
3607b79d7d
MACOSX: Remove mixer init from derived class for macosx backend
...
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-12 21:30:29 +01:00
Colin Snover
bcbd443359
SDL: Stop using double buffering mixer on macOS
...
This mixer type was added in
943b4c2036
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-12 11:35:51 -05:00
Bastien Bouclet
84e62b6c8d
ALL: Sync with ScummVM - rev. 87ebc7140c
2017-09-02 15:04:07 +02:00
Colin Snover
2d3c86187f
MACOSX: Fix flipped return value of openUrl
2017-05-21 19:37:14 -05:00
Thierry Crozat
e96c057c3d
SDL: Allow specifying the screenshot directory in the config file
...
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-24 01:07:05 +01:00
Thierry Crozat
11dd33bb73
MACOSX: Create screenshot on Desktop
...
This is consistent with the OS shortcut (Crtl+Shift+3) to take a
screenshot.
2017-04-24 01:06:50 +01:00
Pawel Kolodziejski
19bcd1f3bc
ALL: Sync with ScummVM
2016-11-12 12:59:06 +01:00
Pawel Kolodziejski
9ba9c69b3f
ALL: Sync with ScummVM - rev. 823c2f899b
2016-11-12 08:49:29 +01:00
Eugene Sandulenko
355c4fa646
JANITORIAL: Remove more trailing spaces
2016-10-09 15:02:02 +02:00
Thierry Crozat
1f2a50bcd3
CLOUD: Move openUrl to OSystem
2016-09-10 01:12:42 +01:00
Thierry Crozat
f490fb811a
OSX: Implement clipboard support
...
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-08-30 21:37:34 +01:00
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
Pawel Kolodziejski
4fe80cd669
ALL: synced with ScummVM
2015-04-19 07:43:34 +02: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
Pawel Kolodziejski
88b93b36dd
ALL: sync with ScummVM
2014-07-02 01:02:35 +02:00
Matthew Hoops
7af36e9724
BACKENDS: Fix invalid buffer size in CFStringGetCString call
2014-06-01 17:02:18 -04:00
Pawel Kolodziejski
8759900b6a
ALL: synced with ScummVM
2014-04-05 18:18:42 +02: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
Pawel Kolodziejski
adcb0b8383
ALL: synced with scummvm
2012-11-18 19:07:46 +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
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