Commit Graph

1854 Commits

Author SHA1 Message Date
Ryan C. Gordon
52d7186a38 Removed broken AmigaOS support.
Fixes Bugzilla #337.

--HG--
branch : SDL-1.2
2006-10-29 03:58:27 +00:00
Ryan C. Gordon
48c9a3d1a2 Added some newer binaries to svn:ignore.
--HG--
branch : SDL-1.2
2006-10-29 03:44:25 +00:00
Ryan C. Gordon
73f0f91145 joyGetPosEx() was using the wrong variable for specifying a device; this is
corrected now. (thanks, Ondrej!)

Fixes Bugzilla #267.

--HG--
branch : SDL-1.2
2006-10-29 03:37:24 +00:00
Ryan C. Gordon
c2899bd3ed Closing minor memory leak in XME code.
--HG--
branch : SDL-1.2
2006-10-29 02:46:42 +00:00
Ryan C. Gordon
106664a5ec Fix for buffer overflow in audio code, when feeding a device that needs
resampling.

Fixes Bugzilla #298.

--HG--
branch : SDL-1.2
2006-10-27 20:18:24 +00:00
Patrice Mandin
b133717f80 Also save/restore fpu register in vbl interrupt
--HG--
branch : SDL-1.2
2006-10-21 18:53:33 +00:00
Sam Lantinga
269d54fdff backport from 1.3
--HG--
branch : SDL-1.2
2006-10-01 02:30:03 +00:00
Ryan C. Gordon
12ac461082 1.2 backport: Replaced strncmp for SDL_AUDIODRIVER test with strcasecmp.
Fixes Bugzilla #334.

--HG--
branch : SDL-1.2
2006-10-01 02:07:09 +00:00
Sam Lantinga
63f70fc5be 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--
branch : SDL-1.2
2006-09-24 15:45:37 +00:00
Sam Lantinga
c5aad8550a Fixed formatting
--HG--
branch : SDL-1.2
2006-09-24 15:36:37 +00:00
Sam Lantinga
26d3de141a Fixed bug #286
Date: Thu, 9 Feb 2006 17:06:51 +0300
From: "Oleg K  [BeSman]"
Subject: BeOS SDL patches

Hello all. My name is Oleg K. [BeSman], Im a BeOS user from Russia.This mail
contain a BeOs-specific patches to SDL (implementation of InputGrabbing and
mouse_relative mode). See the source in attached file for details.

--HG--
branch : SDL-1.2
2006-09-24 15:31:42 +00:00
Sam Lantinga
a6a02b0e45 Fixed bug #281
------- Comment #2 From Christian Walther 2006-07-23 07:37 [reply] -------

Wow, that was an interesting bug to chase. It was a timing issue: it seems that
for some reason, a certain time must pass between ShowMenuBar() being called in
QZ_UnsetVideoMode() and the application quitting. Before rev. 1885, this delay
was provided by the slow hand-coded fade. With the asynchronous Core Graphics
fading introduced in rev. 1885, that delay was no longer present (most of the
time) and the bug became apparent. Adding an SDL_Delay(100) somewhere between
ShowMenuBar() and the end of QZ_VideoQuit() lowered the frequency of the bug
appearing from "almost every time" to "very rarely" here.

However, there is another solution: doing the ShowMenuBar() before releasing
the captured display instead of afterwards. Apparently, no delay is necessary
in that case, and it looks nicer to me anyway because it is the reverse order
of the way things are set up in the beginning: capture display - set video mode
- hide menu bar - ... - show menu bar - reset video mode - release captured
display. So, this is what the attached patch does.

In addition, I've taken the liberty of
- removing some unused code that I forgot to remove in rev. 1885,
- fixing two warnings about undeclared functions in SDL_QuartzVideo.m by
including OpenGL.h (whose name is a bit misleading - it only declares CGL
stuff, so there's no interference with SDL_opengl.h).

--HG--
branch : SDL-1.2
2006-09-24 01:27:40 +00:00
Sam Lantinga
c4f57659ea Fixed bug #316
Looks like this is a long standing typo... is this code even used anymore?

--HG--
branch : SDL-1.2
2006-09-24 00:55:00 +00:00
Sam Lantinga
79d620de8e 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--
branch : SDL-1.2
2006-09-24 00:43:36 +00:00
Sam Lantinga
526d2cf337 Fixed bug #270
SDL_SetCursor returns void, not void*

--HG--
branch : SDL-1.2
2006-09-24 00:36:24 +00:00
Sam Lantinga
d4a5e956a0 Bumped the version in subversion to 1.2.12
--HG--
branch : SDL-1.2
2006-09-24 00:10:59 +00:00
Sam Lantinga
630f780f93 Fixed bug #278
Added the GFX_Display to the wminfo structure, contributed by Eric

--HG--
branch : SDL-1.2
2006-09-24 00:08:28 +00:00
Sam Lantinga
20827b34ea Fixed bug #276
PlanarPixmapInfoYUV420 is a big endian structure.
Fix contributed by Jean-Charles BERTIN

--HG--
branch : SDL-1.2
2006-09-24 00:04:06 +00:00
Sam Lantinga
0f44de6b50 --HG--
branch : SDL-1.2
2006-09-23 23:15:34 +00:00
Sam Lantinga
5869c4af06 Fixed bug #304
WinCE - refactoring of hardware buttons handling
Contributed by Dmitry Yakimov

--HG--
branch : SDL-1.2
2006-09-23 23:12:44 +00:00
Sam Lantinga
f5e80ac132 Fixed bug #294
Can't build SDL 1.2.11(and svn) for Pocket PC 2003 with Visual Studio 2005
Fix contributed by Dmitry Yakimov

--HG--
branch : SDL-1.2
2006-09-23 23:07:52 +00:00
Patrice Mandin
755b70a8bc Forgot cpu boundaries
--HG--
branch : SDL-1.2
2006-09-16 12:00:03 +00:00
Patrice Mandin
8e86ef0e4d Save/restore fpu registers if needed
--HG--
branch : SDL-1.2
2006-09-16 11:50:34 +00:00
Patrice Mandin
4f8de66d47 Add function to check FPU presence
--HG--
branch : SDL-1.2
2006-09-16 10:38:09 +00:00
Patrice Mandin
283553ef9f Only saved non preserved registers
--HG--
branch : SDL-1.2
2006-09-16 09:15:11 +00:00
Patrice Mandin
bfb4b4f968 Only convert endianness if both src and dest are 16bits
--HG--
branch : SDL-1.2
2006-09-16 09:14:25 +00:00
Patrice Mandin
08715ab5dd Update to reflect driver changes
--HG--
branch : SDL-1.2
2006-09-15 21:26:36 +00:00
Patrice Mandin
db079fbdf0 Use new keyboard mapping routines
--HG--
branch : SDL-1.2
2006-09-13 21:19:13 +00:00
Patrice Mandin
9102f8da68 Factorize keyboard mapping between drivers
--HG--
branch : SDL-1.2
2006-09-13 21:18:35 +00:00
Patrice Mandin
f929a691e2 Allow grabing mouse by locking its position
--HG--
branch : SDL-1.2
2006-09-12 19:34:18 +00:00
Patrice Mandin
63b7465729 Reenable xbios usage to get relative mouse motion
--HG--
branch : SDL-1.2
2006-09-12 19:33:33 +00:00
Patrice Mandin
ba17db28cc Allow mouse to be locked when grabbed with GEM driver
--HG--
branch : SDL-1.2
2006-09-12 19:28:54 +00:00
Patrice Mandin
65cb0379aa Disable MiNT thread usage and use hw access for updating DMA audio pointers
--HG--
branch : SDL-1.2
2006-09-12 19:20:50 +00:00
Patrice Mandin
1d0e492525 Forgot to reshow mouse cursor when exiting grab/hide mode
--HG--
branch : SDL-1.2
2006-09-08 19:17:03 +00:00
Patrice Mandin
becd4e589f /me dumb, sizeof(keymap) != number of elements
--HG--
branch : SDL-1.2
2006-09-07 20:52:31 +00:00
Patrice Mandin
772f307e34 Use correct function to free allocated mem
--HG--
branch : SDL-1.2
2006-09-05 19:31:48 +00:00
Ryan C. Gordon
f6397b8d67 Removed some new 1.3 symbols from code backported to 1.2.
--HG--
branch : SDL-1.2
2006-09-03 21:34:11 +00:00
Ryan C. Gordon
76a071559c Backport from 1.3: most of the audio drivers can now handle data
conversion at a higher level when they can't open the hardware in the
 exact format requested.

--HG--
branch : SDL-1.2
2006-09-01 22:50:24 +00:00
Patrice Mandin
0bf1189888 Add teamtap support (4 joypads adapter on 1 port)
--HG--
branch : SDL-1.2
2006-08-02 21:26:31 +00:00
Ryan C. Gordon
f5bea8bb3e Patched to compile. Fixes Bugzilla #285.
--HG--
branch : SDL-1.2
2006-07-24 23:29:01 +00:00
Sam Lantinga
8fb477c2c6 Updated the snapshot build target to reflect the new source location
--HG--
branch : SDL-1.2
2006-07-10 21:23:11 +00:00
Sam Lantinga
505df8f4b4 SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
--HG--
branch : SDL-1.2
2006-07-10 21:03:59 +00:00
Patrice Mandin
8f3655506a sdl.pc is in build directory, not source 2006-07-06 18:01:37 +00:00
Sam Lantinga
8aa7cbafae Include sdl.pc in the development RPM 2006-06-27 04:58:26 +00:00
Sam Lantinga
119848d88c Added 1.2.11 patch notes 2006-06-27 04:33:31 +00:00
Sam Lantinga
c439460cf0 Fixed libiconv detection 2006-06-26 16:20:51 +00:00
Sam Lantinga
0c9f2f1373 Fixed problem with nasm hidden visibility detection 2006-06-26 16:15:21 +00:00
Sam Lantinga
1e3df63f46 Almost added Mac OS X nasm support 2006-06-26 05:27:15 +00:00
Sam Lantinga
120ebc4e66 ------- Comment #5 From Marc Peter 2006-06-25 18:03 [reply] -------
Created an attachment (id=142) [edit]
updated makefiles for 1.2.11 release

The new Watcom-Win32.zip
- includes the new testcursor test, and
- doesn't link to dxguid.lib anymore (by defining INITGUID for
SDL_dx5events.c),
  to fix issue with stack calling convention (-6s can now be used instead of
-6r
  in CFLAGS).

------- Comment #6 From Marc Peter 2006-06-25 18:12 [reply] -------
Created an attachment (id=143) [edit]
updated README.Watcom for 1.2.11

- lists new testcursor test
- mentions possibility to build with -6s (stack calling convention) instead
  of -6r (register calling convention)
2006-06-26 01:33:53 +00:00
Sam Lantinga
0dd4fea4b2 Updated version to SDL 1.2.1 2006-06-25 18:26:15 +00:00