Kyzentun
87ccbbd5dd
Merge branch 'SextetStream-lights-and-input' of https://github.com/psmay/stepmania
2014-12-08 16:46:41 -07:00
Jonathan Berney
4c7c64de62
Preserves backwards compatibility with 10.6
...
sync_volume_np was introduced in the 10.8 SDK. This commit ensures that
some related constants are defined before calling the function. If they
are not, we fallback to the older logic.
2014-10-30 14:36:10 -07:00
Peter S. May
a991ae18a0
SextetStream input and lights drivers.
2014-10-19 16:51:54 -04:00
Jason Felds
578f0b8b0b
Merge pull request #324 from jberney/master
...
Mac OS X 10.10 Yosemite crash fix
2014-10-13 18:54:05 -04:00
Thai Pangsakulyanont
36aa012f03
fallback to the fallback when KeyCodeToChar does not work
2014-10-11 21:10:23 +07:00
Thai Pangsakulyanont
85f6f2e5d4
added the code that works. It is tested outside of StepMania
2014-10-11 14:34:05 +07:00
Thai Pangsakulyanont
b0106312c4
remove untested code
2014-10-11 14:19:20 +07:00
Thai Pangsakulyanont
a2e66a7803
Use Quarts to map raw keyboard to character code.
2014-10-11 13:49:43 +07:00
Thai Pangsakulyanont
a4f9df9cbc
Merge branch 'master' of https://github.com/stepmania/stepmania into MacOSX10.9.sdk
2014-10-11 12:40:18 +07:00
Jonathan Berney
f9f486b812
Fixed indentation issues accidentally introduced
2014-10-07 19:56:33 -07:00
Jonathan Berney
218c10ef97
Update RageSoundDriver_AU.cpp
...
The Yosemite crash happens when we call CFRunLoopAddObserver. It doesn't seem to like runLoopRef. Replacing the first argument to this call with CFRunLoopGetCurrent() avoids the crash, but the app then hangs because CFRunLoopWakeUp doesn't cause observerRef (NameHALThread) to fire, so the semaphore is not posted. Commenting the semaphore wait line allows the game to boot in Yosemite, and seems to play totally normally. This doesn't really fix our problem (we are trying to name the HAL thread, and a catastrophic error occurs), but it shows us what the problem is.
We are obtaining runLoopRef using an API call that was deprecated years ago. However, the Apple-approved replacement code doesn't produce a runLoopRef that avoids the crash, either. So I'm not sure how we get the correct runLoopRef so we can name the thread.
This is my first time looking at the code base, but I don't see the value of naming the thread. In the interest of keeping Stepmania compatible with the upcoming operating system, I propose we just remove the thread-naming logic.
2014-10-07 19:48:58 -07:00
freem
ef04f2914a
Replace the usage of SOUND_PCM_WRITE_RATE with SNDCTL_DSP_SPEED. (See issue #292 )
2014-09-05 03:43:00 -05:00
Devin J. Pohly
4ccdf776cb
point at the right file in the filesystem
2014-08-31 17:23:42 -07:00
Devin J. Pohly
9a76fdf04e
don't set lights for nonexistent lights
...
duh.
2014-08-31 17:23:41 -07:00
Devin J. Pohly
f386a7ae58
add PIUIO_Leds driver
...
The mappings in this driver are specific to the piuio kernel driver, but
once lights mapping is possible this could be made into a generic leds
class driver.
2014-08-31 17:23:41 -07:00
freem
194c8de8f8
add pkgingo's (Win32) Minimaid driver.
...
* new makefile config option "HAVE_MINIMAID"
* update all Visual Studio projects
2014-08-02 00:38:20 -07:00
Thai Pangsakulyanont
c4c0e9b0a1
[WIP] Update to Mac OS X 10.9 SDK
...
Untested Parts
--------------
`ArchHooks_MacOSX::DumpDebugInfo()`
- Used `sysctlbyname` to find the Mac OS X version instead of the deprecated `Gestalt`.
- http://stackoverflow.com/questions/11072804/how-do-i-determine-the-os-version-at-runtime-in-os-x-or-ios-without-using-gesta
`MemoryCardDriverThreaded_MacOSX::Unmount( UsbStorageDevice *pDevice )`
- Updated to use `sync_volume_np` instead of deprecated `PBFlushVolSync`.
- http://lists.apple.com/archives/carbon-dev/2010/Nov/msg00030.html
2014-07-25 09:14:06 +09:00
freem
995a9c6d37
add pkgingo's (Win32) Minimaid driver.
...
* new makefile config option "HAVE_MINIMAID"
* update all Visual Studio projects
2014-07-08 16:51:11 -05:00
Elliot Wolk
62630f7960
Revert "FFMpeg: Fix uninitialized AVFrame, which led to crashes with recent version of libav and ffmpeg"
...
This reverts commit 84903fce25 .
2014-05-07 22:51:39 -04:00
David Buckley
71a499481f
Properly handle Linux event device button numbers
...
Old code would, by coincidence, map 1->16 to 1->16, then 17->32 to
1->32, leaving 1 and 17 on the same button number.
We still map 33->56 to 1->24, creating some overlap. But at least that's
because StepMania will have run out of buttons.
THIS PATCH WILL CHANGE THE CODES OF JOYSTICK BUTTONS 17 AND UP.
2014-04-27 17:19:31 +01:00
Vincent Laviron
44fede6c1e
Fix building on older versions on FFMpeg
2014-04-16 15:12:23 +02:00
Vincent Laviron
84903fce25
FFMpeg: Fix uninitialized AVFrame, which led to crashes with recent version of libav and ffmpeg
2014-04-03 17:28:13 +02:00
Jason Felds
9bbefe2240
Attempt prep work for 64 bit just in case.
...
If SDL2 fails, someone (not me) will have to try to
keep these updated.
2014-02-12 19:40:27 -05:00
Devin J. Pohly
b2744946c9
fix memory leak in JACK driver
2014-02-08 21:40:40 -05:00
Devin J. Pohly
db894326e7
fix port-choosing logic in JACK driver
2014-02-08 21:40:40 -05:00
Ben "root" Anderson
970bb39a81
RageSoundDriver_JACK: Autoconnect by default. More robust port detection and connection logic.
2014-01-25 11:04:46 -06:00
Ben "root" Anderson
36864f8ae7
RageSoundDriver_JACK: Try to connect to the system playback ports if no SoundDevice was specified.
2014-01-25 10:16:26 -06:00
Ben "root" Anderson
5a78561806
Change Linux sound driver load order (reasons in comments)
2014-01-25 09:56:24 -06:00
Ben "root" Anderson
fe91ae4b18
RageSoundDriver_JACK: Explicitly hint that we would rather fail than start a new jackd instance.
2014-01-25 09:55:45 -06:00
Ben "root" Anderson
6f499cb7e2
Typo
2014-01-22 00:43:18 -06:00
Ben "root" Anderson
5ee2c4c20c
Fix a (probably very very rare) memory leak
2014-01-22 00:35:44 -06:00
Ben "root" Anderson
2ee216d061
ArchHooks_Unix: Implement GetClipboard()
2014-01-22 00:31:06 -06:00
Ben "root" Anderson
6dcbcd1d7b
Oh no you don't.
2014-01-22 00:10:50 -06:00
Ben "root" Anderson
2164320354
Nuke another old unused arch thing
2014-01-21 21:52:38 -06:00
Ben "root" Anderson
0bb54f7c9c
Unused header
2014-01-21 21:48:12 -06:00
Ben "root" Anderson
323e4752bb
Nuke old unused arch infrastructure
2014-01-21 21:38:19 -06:00
Ben "root" Anderson
04079c0c1b
Unused header
2014-01-21 21:36:14 -06:00
Ben "root" Anderson
faabc52d3b
Unused header
2014-01-21 21:33:17 -06:00
Ben "root" Anderson
26986db6d3
ArchHooks: new function, GetClipboard(). ArchHooks_Win32: Implementd GetClipboard(). ScreenTextEntry: Allow pasting from clipboard.
2014-01-14 13:36:34 -06:00
Ben "root" Anderson
a040c4a586
1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence
2013-11-30 09:50:54 -06:00
Ben "root" Anderson
e011f8ca70
IH_Linux_Joystick: Make sure we have joysticks to manage before starting the thread.
2013-11-30 01:01:24 -06:00
Ben "root" Anderson
3cd3db7b6a
IH_Linux_Joystick cleanup. Hack to make sure thread gets started.
2013-11-30 01:00:07 -06:00
Ben "root" Anderson
0e0922ad8e
1) Event -> LinuxEvent and Joystick -> LinuxJoystick 2) Rewritten Linux input device detection: introducing LinuxInputManager. It keeps IH_Linux_Event and IH_Linux_Joystick playing nice with each other, and will later be fundamental in hotplugging support.
2013-11-30 00:08:04 -06:00
Jason Felds
09f8219a67
Revert "Xcode 5 fixing, part 1."
...
This reverts commit bfab952b6a .
2013-11-06 23:33:31 -05:00
Jason Felds
bfab952b6a
Xcode 5 fixing, part 1.
...
Need someone on xcode 4.x to confirm this works.
Once this file gets fixed, the others will be removed.
2013-11-04 19:45:23 -05:00
Ben "root" Anderson
8ad1a75f69
elseif -> elif. Apparently I need to brush up on my CPP.
2013-10-30 00:13:07 -05:00
Ben "root" Anderson
d2f43a73e4
LinuxThreadHelpers -> PthreadHelpers part 3
2013-10-30 00:08:19 -05:00
Ben "root" Anderson
32a25023d3
Die early if CreateDialog fails
2013-10-29 15:51:47 -05:00
Ben "root" Anderson
b676d136e4
Stub out SetThreadName for now
2013-10-27 15:55:22 -05:00
Ben "root" Anderson
f876fa233c
Cannot pass RString to ... in GCC
2013-10-26 15:40:00 -05:00