Commit Graph

1980 Commits

Author SHA1 Message Date
Ryan C. Gordon
28c9fb92a1 Removed AmigaOS code for 1.3 branch.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402215
2006-10-29 04:09:17 +00:00
Ryan C. Gordon
2ec5b5b343 Win32 joystick fix, ported from 1.2 branch r2887:2888. (Thanks, Ondrej!)
Fixes Bugzilla #267.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402211
2006-10-29 03:39:13 +00:00
Sam Lantinga
05a29201de indent is evil
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402208
2006-10-28 16:48:03 +00:00
Sam Lantinga
3d24370c4c Fixed mouse enter/leave events for a single window.
You lose mouse focus in Cocoa when the window is no longer key.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402207
2006-10-28 16:41:54 +00:00
Sam Lantinga
fa0d6bd068 Fixed focus comptability bug
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402206
2006-10-28 16:41:08 +00:00
Ryan C. Gordon
da664292cc Oh for crying out loud...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402205
2006-10-28 07:49:19 +00:00
Ryan C. Gordon
4e1aba0a8b Whoops, wrong variable name.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402204
2006-10-28 07:45:33 +00:00
Ryan C. Gordon
eebc7e6c2a Fix potential memory leaks if CoreAudio initialization fails.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402203
2006-10-28 07:44:38 +00:00
Ryan C. Gordon
5927dc70b0 Patched to compile.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402202
2006-10-28 07:39:35 +00:00
Ryan C. Gordon
3c592629bd 1.3 branch version of revision 2878.
Fixes Bugzilla #298.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402201
2006-10-27 20:19:48 +00:00
Patrice Mandin
ba64fd8340 Also save/restore fpu register in vbl interrupt
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402199
2006-10-21 18:56:35 +00:00
Ryan C. Gordon
0c642e7e31 Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402197
2006-10-20 00:15:18 +00:00
Ryan C. Gordon
95b6efb631 Patched to compile again (thanks, Rasmus!).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402196
2006-10-18 10:49:23 +00:00
Ryan C. Gordon
0089ba6cbe Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402195
2006-10-17 09:15:21 +00:00
Ryan C. Gordon
c500a06379 Double Whoops. :P
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402132
2006-10-01 16:10:41 +00:00
Sam Lantinga
e870669bee Whoops. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402131
2006-10-01 16:07:32 +00:00
Sam Lantinga
ede653d2cc Replaced strncmp for SDL_VIDEODRIVER test with strcasecmp
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402124
2006-10-01 02:28:41 +00:00
Ryan C. Gordon
f9b43fac01 Replaced strncmp for SDL_AUDIODRIVER test with strcasecmp.
Fixes Bugzilla #334.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402122
2006-10-01 02:06:37 +00:00
Ryan C. Gordon
75efbfe5d7 Minor cleanup in the mint driver that was sitting on my laptop (sorry!).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402121
2006-10-01 01:12:08 +00:00
Sam Lantinga
4ecb44b166 Formatting update
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402120
2006-09-24 15:56:55 +00:00
Sam Lantinga
d0a80f6b53 Fixed bug #292
I might be on crack here.

It looks like SDL_ConvertMono() in src/audio/SDL_audiocvt.c adds the left and
right channels of a stereo stream together, and clamps the new mono channel if
it would overflow.

Shouldn't it be dividing by 2 to average the two sample points instead of
clamping? Otherwise the mono sample point's volume doubles in the conversion.
This would also make the conversion faster, as it replaces two branches per
sample frame with a bitwise shift.

--ryan.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402119
2006-09-24 15:56:36 +00:00
Sam Lantinga
a42c7f1452 Fixed bug #316
Looks like this is a long standing typo... is this code even used anymore?

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402114
2006-09-24 00:55:19 +00:00
Sam Lantinga
a0b47a8c35 Fixed bug #321
Hi,
if "configure" is given an explicit --libdir, the sdl-config still contains
the default "${exec_prefix}/lib" for runtime linker path.

That should be changed to $libdir, as this is where the library goes to...

Regards,
  Juergen

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402112
2006-09-24 00:44:45 +00:00
Sam Lantinga
14eec51821 Fixed bug #270
SDL_SetCursor returns void, not void*

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402110
2006-09-24 00:36:49 +00:00
Sam Lantinga
b43de77bf4 --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402105
2006-09-23 23:15:56 +00:00
Sam Lantinga
c18cc10c08 Fixed bug #329
On tracing it turns out to fail from SDL_WM_SetCaption()

On going through the function it looks like the SDL_free() function is called
every alternate time with an invalid pointer that has already been freed.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402101
2006-09-23 22:51:37 +00:00
Patrice Mandin
b8493a11ee Pfiou, all of it to update, faster to rewrite from scratch?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402100
2006-09-22 21:52:20 +00:00
Patrice Mandin
c55e1b3fb7 Started update for 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402099
2006-09-20 22:09:19 +00:00
Patrice Mandin
31b71378d9 Oops, don't need to check that
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402098
2006-09-20 21:38:06 +00:00
Patrice Mandin
07ee716e3a More work for 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402097
2006-09-20 21:29:44 +00:00
Patrice Mandin
90e84f0556 Started work to update for 1.3 api
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402096
2006-09-20 21:22:08 +00:00
Patrice Mandin
4c0cd25c3b Reenable mouse usage using xbios vectors under MiNT
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402095
2006-09-20 19:49:23 +00:00
Patrice Mandin
2db3adb4f5 Forward keyboard reworking from 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402094
2006-09-20 19:47:09 +00:00
Patrice Mandin
b2c856d783 Add teamtap support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402093
2006-09-16 17:13:41 +00:00
Patrice Mandin
f2bc03cabf Update for recent changes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402092
2006-09-16 17:02:38 +00:00
Patrice Mandin
0fee077381 Save/restore FPU registers in interrupt
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402091
2006-09-16 16:59:46 +00:00
Ryan C. Gordon
5baf894ec9 Fixed typo in windib audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402082
2006-09-13 04:47:46 +00:00
Patrice Mandin
9d10b52e1c Allow grabing mouse by locking its position
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402081
2006-09-12 19:47:40 +00:00
Patrice Mandin
130a5acc98 Reenable xbios usage to get relative mouse motion
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402080
2006-09-12 19:44:51 +00:00
Patrice Mandin
41b2bb8004 Allow mouse to be locked when grabbed with GEM driver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402079
2006-09-12 19:43:29 +00:00
Patrice Mandin
d32e462e3f Disable MiNT thread usage and use hw access for updating DMA audio pointers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402075
2006-09-12 19:23:51 +00:00
Sam Lantinga
ac911fde85 Temporarily disabled framebuffer console support for SDL 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402073
2006-09-12 08:45:48 +00:00
Patrice Mandin
b2dfe29ef6 Forgot to reshow mouse cursor when exiting grab/hide mode
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402072
2006-09-08 19:18:02 +00:00
Patrice Mandin
672a050e8c /me dumb, sizeof(keymap != number of elements
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402069
2006-09-07 20:50:13 +00:00
Patrice Mandin
477dde8ea7 Use correct function to free allocated mem
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402068
2006-09-05 19:32:35 +00:00
Ryan C. Gordon
bf2a2d714d Fixed macosx audio initialization (passed wrong struct to CoreAudio).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402065
2006-09-02 21:50:04 +00:00
Ryan C. Gordon
0d6e6d5c9c Compile fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402064
2006-09-02 21:19:00 +00:00
Ryan C. Gordon
2f00844dab Added a FIXME and macro to sun audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402062
2006-09-01 22:48:43 +00:00
Ryan C. Gordon
4ada9445af Replaced unions with calls to SDL_SwapFloat...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402061
2006-09-01 19:29:49 +00:00
Ryan C. Gordon
b046008cbd Fixed S32 audio mixing, but I'm a bit nervous about the use of 64-bit
datatypes here...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402060
2006-09-01 19:17:05 +00:00