Commit Graph

1254 Commits

Author SHA1 Message Date
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
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
1d95e86391 Fix for bug #240
Christian Walther contributed Cocoa cursor code.
2006-06-24 17:36:55 +00:00
Sam Lantinga
38e7b9ce94 Fixed bug #258
Account for the menu height in AdjustWindowRectEx()
2006-06-24 04:30:01 +00:00
Sam Lantinga
afd236a42a Fixed bug #255
Fixed memory leaks in the windib driver.
2006-06-24 03:41:14 +00:00
Sam Lantinga
94d74c1271 Fixed bug #260
Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux
2006-06-24 01:59:43 +00:00
Ryan C. Gordon
dc1d31ffc9 Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.
Untested, but potentially fixes Bugzilla #110.
2006-06-23 08:35:48 +00:00
Sam Lantinga
1f2b2f370c Fixed bug #69
Hopefully this takes care of most of the audio dropouts in Windows
2006-06-23 08:15:47 +00:00
Sam Lantinga
a9a3b84a56 Fixed bug #147
Only enable Unicode key events if Unicode translation is enabled.
2006-06-23 04:27:55 +00:00
Ryan C. Gordon
f496989fdc Minor bit of sanity-checking debug info in dynamic X11 code. 2006-06-23 02:16:49 +00:00
Sam Lantinga
a272763e42 Renamed, per Mike's comment on bug #157 2006-06-21 08:26:05 +00:00
Sam Lantinga
f508424971 Renamed, per Mike's comment on bug #157 2006-06-21 08:25:28 +00:00
Sam Lantinga
8cba9367ac Fixed bug #157
[patch tweaked to handle older nasm, which doesn't support :function syntax]

------- Comment #5 From Mike Frysinger 2006-05-22 01:24 [reply] -------
Created an attachment (id=132) [edit]
libsdl-hidden-nasm.patch

here's the patch i posted here:
http://www.libsdl.org/pipermail/sdl/2006-March/073618.html

this will hide the symbols dynamically if the build nasm/yasm supports the
hidden stuff ... in other words, this patch should be safe with both older and
new versions of nasm/yasm
2006-06-21 07:57:34 +00:00
Sam Lantinga
0ef7c6c8f3 Date: Fri, 9 Jun 2006 11:35:23 +0300
From: "Janne Junnila"
Subject: [SDL] SDL_SetGamma bug

You can't set the the gamma 'brighter' than 1.0. There's a patch attached.
2006-06-20 06:50:42 +00:00
Sam Lantinga
9a48decd81 Fixed bug #251 2006-06-20 05:55:23 +00:00
Sam Lantinga
df51b8dd73 I think this fixes bug #244 2006-06-20 05:35:44 +00:00
Sam Lantinga
fd94b24155 Fixed bug #241 2006-06-20 05:25:04 +00:00
Sam Lantinga
739bed165d Fixed bug #232
------- Comment #2 From Matthias Geissert  2006-05-24 07:54  [reply] -------
See http://dri.sourceforge.net/doc/DRIuserguide.html, section 11.5. There is
written that you need to use RTLD_GLOBAL, since, otherwise, nested open of
dynamic libraries doesn't work. However, This is necassary in this case, since
libGL opens the hardware-specific driver/library. I hope this helps you.
2006-06-20 03:52:41 +00:00
Patrice Mandin
226b6cdcee Fix mouse cursor change 2006-06-14 18:57:58 +00:00
Sam Lantinga
61cc023f8a Moved DirectInput joystick code to 1.3 branch 2006-05-21 17:26:40 +00:00
Sam Lantinga
c0441f5cf0 Closed bug #74
Added DirectInput joystick code, contributed by Glenn Maynard.

This fixes a problem with the Windows Multimedia joystick driver
not showing all 6 axes on a GameCube controller converter, which
was donated by Jacob Kolding.
2006-05-21 16:47:41 +00:00
Ryan C. Gordon
9333377053 Removed unused variable with undefined type. Fixes Bugzilla #234. 2006-05-21 02:50:05 +00:00
Ryan C. Gordon
eb3b613dd0 Try to keep SDL keysyms sane regardless of keyboard layout in windib target.
Fixes Bugzilla #164.
2006-05-18 03:24:10 +00:00
Ryan C. Gordon
1890f79cea Make sure sem_wait didn't return early with EINTR. Fixes Bugzilla #231. 2006-05-17 23:42:48 +00:00
Sam Lantinga
0e9999cdab Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll 2006-05-17 18:57:04 +00:00
Sam Lantinga
b03120aa73 Fixed uninitialized variable warnings 2006-05-17 15:08:46 +00:00
Sam Lantinga
a13c34cfef Updated RPM spec file with License keyword 2006-05-17 06:09:27 +00:00
Sam Lantinga
79ad24c33b Patch from Ryan to fix compiler warnings 2006-05-17 04:01:53 +00:00
Sam Lantinga
757bed87ac Use the correct parameter for GLX_VISUAL_CAVEAT_EXT 2006-05-16 16:25:22 +00:00