Commit Graph

2003 Commits

Author SHA1 Message Date
Patrice Mandin
cbdb82cef6 make enable match name 2007-02-08 21:54:18 +00:00
Ryan C. Gordon
e5b23cae8f Merged Bugzilla #354 fix into trunk. 2007-02-03 08:18:41 +00:00
Sam Lantinga
7cf984965d Updated svn repository 2007-01-23 04:50:14 +00:00
Patrice Mandin
8e1d001e89 Alpha sort the test list, add missing ones, remove removed ones 2007-01-05 19:12:50 +00:00
Ryan C. Gordon
bf4644bc10 Look for an exact match first when setting a video mode on BeOS.
Fixes Bugzilla #370.
2006-12-08 00:31:32 +00:00
Ryan C. Gordon
3686368f2c Logic error in BeOS video mode selection ("width" where it should be "height").
Fixes Bugzilla #370.
2006-12-08 00:16:38 +00:00
Ryan C. Gordon
7547b79191 From: Torsten Giebl
Subject: ALLOCA Patch for SDL-1.2
Newsgroups: gmane.comp.lib.sdl
Date: 2006-10-24 00:31:16 GMT

Hello !

As alloca.h is not available on CYGWIN and MinGW32
it should not be checked there or it should be checked
with -mno-cygwin using.

I am a total configure.in newbie, but i found the way
that things are handled in configure.in pretty bad for the
case CYGWIN with MinGW Mode or not.

Maybe this is not possible but i would like to
have a way to detect at the start for example CYGWIN
and then add. ask if configure was called with --enable-cygwin
for example. --enable-cygwin should be optional and disabled
by default as we want to have MinGW Mode by default.

Only if the user wants it he should be able to use it.

Then the whole configure.in would get add. questions
okay the system is CYGWIN with or without MinGW Mode.

The alloca.h thing for example is only
available under CYGWIN ( without MinGW Mode ).

CU
2006-12-01 20:25:03 +00:00
Ryan C. Gordon
4b1c92befb Apparently it's possible that MSVC will want to call a built-in function to
bitshift an Sint64, but it can't find this function since we don't use the
 C runtime on Windows.

Division doesn't have this problem, though. Strange.

  Thanks, Suzuki Masahiro.
2006-11-29 10:38:07 +00:00
Ryan C. Gordon
1330f6b999 Merge r2918:2919 from 1.2 branch: alloca macro params in parentheses. 2006-11-29 10:34:05 +00:00
Ryan C. Gordon
ca8a1cb794 Use SDL_strcmp(), not strcmp().
Thanks, Suzuki Masahiro.
2006-11-29 10:26:32 +00:00
Ryan C. Gordon
756b168b3b Logic error in SDL_video.c (used bitwise OR instead of logical OR).
Thanks, Suziki Masahiro.
2006-11-29 10:22:59 +00:00
Ryan C. Gordon
a5b36fd782 Merged r2913:2914 from SDL-1.2 branch into trunk: alpha blit GCC MMX asm fix. 2006-11-21 23:24:33 +00:00
Patrice Mandin
1c82ba0340 Save/restore current video mode and palette 2006-11-13 20:34:18 +00:00
Patrice Mandin
fe0a1a35c6 xbios: preliminary video mode init 2006-11-13 19:59:28 +00:00
Ryan C. Gordon
5f1123d8ed Merged r2906:2907 from 1.2 branch to trunk: power of two channels in dsp backend. 2006-11-13 00:38:13 +00:00
Ryan C. Gordon
b932761626 Fixed building of Windows waveout audio. 2006-11-11 06:48:57 +00:00
Ryan C. Gordon
cdf5d71b84 Merged r2903:2904 from SDL-1.2 branch to trunk: BeOS loadso updates. 2006-11-07 15:18:42 +00:00
Ryan C. Gordon
1d568c715b Merged r2901:2902 from SDL-1.2 branch to trunk: printf stupidity fixes. 2006-11-07 15:02:12 +00:00
Ryan C. Gordon
2c138525f1 Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program. 2006-11-07 14:36:47 +00:00
Ryan C. Gordon
83a9990de9 Use dummy joystick backend if subsystem is enabled but no better driver was
found.

Fixes Bugzilla #356 (and possibly Bugzilla #350).
2006-11-03 21:48:35 +00:00
Sam Lantinga
906f8566ac @#$% indent 2006-10-29 15:00:54 +00:00
Sam Lantinga
e8ab4cad6b 2006-10-29 14:47:20 +00:00
Sam Lantinga
dbc11167df Merged Ryan's fix, in case we need it later. 2006-10-29 14:45:46 +00:00
Ryan C. Gordon
b94f08253a Removed AmigaOS code for 1.3 branch. 2006-10-29 04:09:17 +00:00
Ryan C. Gordon
a08b4ac133 Win32 joystick fix, ported from 1.2 branch r2887:2888. (Thanks, Ondrej!)
Fixes Bugzilla #267.
2006-10-29 03:39:13 +00:00
Sam Lantinga
c91d18d6ad indent is evil 2006-10-28 16:48:03 +00:00
Sam Lantinga
317f4be23e Fixed mouse enter/leave events for a single window.
You lose mouse focus in Cocoa when the window is no longer key.
2006-10-28 16:41:54 +00:00
Sam Lantinga
83ada51d56 Fixed focus comptability bug 2006-10-28 16:41:08 +00:00
Ryan C. Gordon
76e994db80 Oh for crying out loud... 2006-10-28 07:49:19 +00:00
Ryan C. Gordon
39648c129d Whoops, wrong variable name. 2006-10-28 07:45:33 +00:00
Ryan C. Gordon
d83482271b Fix potential memory leaks if CoreAudio initialization fails. 2006-10-28 07:44:38 +00:00
Ryan C. Gordon
1d7dbbd9b4 Patched to compile. 2006-10-28 07:39:35 +00:00
Ryan C. Gordon
0dccc26b00 1.3 branch version of revision 2878.
Fixes Bugzilla #298.
2006-10-27 20:19:48 +00:00
Patrice Mandin
4b82340a21 Also save/restore fpu register in vbl interrupt 2006-10-21 18:56:35 +00:00
Ryan C. Gordon
3ea337d9e6 Whoops, need a pointer to an LPDIRECTSOUNDBUFFER and not the
LPDIRECTSOUNDBUFFER itself.
2006-10-20 00:15:18 +00:00
Ryan C. Gordon
2e9d561b56 Patched to compile again (thanks, Rasmus!). 2006-10-18 10:49:23 +00:00
Ryan C. Gordon
7f17eb8863 Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk. 2006-10-17 09:15:21 +00:00
Ryan C. Gordon
e475d47d2a Double Whoops. :P 2006-10-01 16:10:41 +00:00
Sam Lantinga
c7e5b9cf89 Whoops. :) 2006-10-01 16:07:32 +00:00
Sam Lantinga
14c991b826 Replaced strncmp for SDL_VIDEODRIVER test with strcasecmp 2006-10-01 02:28:41 +00:00
Ryan C. Gordon
6fa020d0c5 Replaced strncmp for SDL_AUDIODRIVER test with strcasecmp.
Fixes Bugzilla #334.
2006-10-01 02:06:37 +00:00
Ryan C. Gordon
56a3951902 Minor cleanup in the mint driver that was sitting on my laptop (sorry!). 2006-10-01 01:12:08 +00:00
Sam Lantinga
9d4b500741 Formatting update 2006-09-24 15:56:55 +00:00
Sam Lantinga
d2c2ac4b80 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.
2006-09-24 15:56:36 +00:00
Sam Lantinga
ce919aafbe Fixed bug #316
Looks like this is a long standing typo... is this code even used anymore?
2006-09-24 00:55:19 +00:00
Sam Lantinga
d85ec807ec 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
2006-09-24 00:44:45 +00:00
Sam Lantinga
12aeeeb643 Fixed bug #270
SDL_SetCursor returns void, not void*
2006-09-24 00:36:49 +00:00
Sam Lantinga
e9e009b4d5 2006-09-23 23:15:56 +00:00
Sam Lantinga
b21b05ee5d 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.
2006-09-23 22:51:37 +00:00
Patrice Mandin
46772adc90 Pfiou, all of it to update, faster to rewrite from scratch? 2006-09-22 21:52:20 +00:00