Commit graph

2041 commits

Author SHA1 Message Date
Patrice Mandin
46da5465d6 Save/restore current video mode and palette
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402233
2006-11-13 20:34:18 +00:00
Patrice Mandin
d5cf1663de xbios: preliminary video mode init
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402232
2006-11-13 19:59:28 +00:00
Ryan C. Gordon
a39f5c21f2 Merged r2906:2907 from 1.2 branch to trunk: power of two channels in dsp backend.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402230
2006-11-13 00:38:13 +00:00
Ryan C. Gordon
2a14d5cdca Fixed building of Windows waveout audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402228
2006-11-11 06:48:57 +00:00
Ryan C. Gordon
797faa052f Merged r2903:2904 from SDL-1.2 branch to trunk: BeOS loadso updates.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402227
2006-11-07 15:18:42 +00:00
Ryan C. Gordon
fb64b4e6a0 Merged r2901:2902 from SDL-1.2 branch to trunk: printf stupidity fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402225
2006-11-07 15:02:12 +00:00
Ryan C. Gordon
f99e5395bc Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402223
2006-11-07 14:36:47 +00:00
Ryan C. Gordon
0966f84b76 Use dummy joystick backend if subsystem is enabled but no better driver was
found.

Fixes Bugzilla #356 (and possibly Bugzilla #350).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402219
2006-11-03 21:48:35 +00:00
Sam Lantinga
146180e7f7 @#$% indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402218
2006-10-29 15:00:54 +00:00
Sam Lantinga
a5dc4b0ce9 --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402217
2006-10-29 14:47:20 +00:00
Sam Lantinga
c5557f3a53 Merged Ryan's fix, in case we need it later.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402216
2006-10-29 14:45:46 +00:00
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