Commit graph

1798 commits

Author SHA1 Message Date
Sam Lantinga
9f57178bfb Fixed bug #260
Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401888
2006-06-24 01:59:43 +00:00
Sam Lantinga
ccd4d68be0 Default the X11 dynamically loading on if the OS loader loads libraries
with their private symbols hidden.  If that isn't the case, and someone
tries to enable it anyway, spit out a warning and don't let them do it.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401884
2006-06-23 08:39:05 +00:00
Ryan C. Gordon
90b3fbb429 Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.
Untested, but potentially fixes Bugzilla #110.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401883
2006-06-23 08:35:48 +00:00
Sam Lantinga
d9c54aecc1 Fixed bug #69
Hopefully this takes care of most of the audio dropouts in Windows

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401882
2006-06-23 08:15:47 +00:00
Sam Lantinga
f955c92364 Fixed bug #147
Only enable Unicode key events if Unicode translation is enabled.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401881
2006-06-23 04:27:55 +00:00
Ryan C. Gordon
1f8047fa4e Only allow dynamic X11 if gcc4 (-fvisibility=hidden) is used.
Fixes Bugzilla #242.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401880
2006-06-23 02:19:52 +00:00
Ryan C. Gordon
6ba30e1368 Minor bit of sanity-checking debug info in dynamic X11 code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401879
2006-06-23 02:16:49 +00:00
Sam Lantinga
65be12979c Renamed, per Mike's comment on bug #157
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401877
2006-06-21 08:26:05 +00:00
Sam Lantinga
06d61220cc Renamed, per Mike's comment on bug #157
--HG--
rename : src/hermes/common.asm => src/hermes/common.inc
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401876
2006-06-21 08:25:28 +00:00
Sam Lantinga
d94573621a 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401873
2006-06-21 07:57:34 +00:00
Sam Lantinga
739db2c78e Fixed bug #256
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401871
2006-06-21 07:35:02 +00:00
Sam Lantinga
fdfcc79761 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401869
2006-06-20 06:50:42 +00:00
Sam Lantinga
772972e264 Date: Thu, 15 Jun 2006 14:19:47 +0200 (CEST)
From: "Torsten Giebl"
Subject: [SDL] Patch for Makefile.DC

Hello !


This patch autom. copys SDL_config.h.default
into SDL_config.h when compiling SDL for Dreamcast
using Makefile.dc.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401867
2006-06-20 06:39:01 +00:00
Sam Lantinga
e64b9862f0 Fixed bug #251
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401865
2006-06-20 05:55:23 +00:00
Sam Lantinga
a4fb97b662 Bug #250, pkg-config support contributed by Mikael Eriksson
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401863
2006-06-20 05:49:53 +00:00
Sam Lantinga
a4191d397d Bug #250, pkg-config support contributed by Mikael Eriksson
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401862
2006-06-20 05:49:20 +00:00
Sam Lantinga
e3993a9c60 I think this fixes bug #244
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401860
2006-06-20 05:35:44 +00:00
Sam Lantinga
d565a14593 Fixed bug #241
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401858
2006-06-20 05:25:04 +00:00
Sam Lantinga
dd7009690f Test case for bug #240
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401856
2006-06-20 04:04:25 +00:00
Sam Lantinga
f9881b12fa 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401855
2006-06-20 03:52:41 +00:00
Sam Lantinga
11452ed23e Fixed bug #232
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401854
2006-06-20 03:29:47 +00:00
Patrice Mandin
165561408f Oops, reverted single/double buffer update
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401845
2006-06-14 19:03:01 +00:00
Patrice Mandin
0475249450 Add program to test mouse cursor change
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401844
2006-06-14 18:59:30 +00:00
Patrice Mandin
4e4aa03a8c Fix mouse cursor change
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401843
2006-06-14 18:57:58 +00:00
Sam Lantinga
27e82c6f22 Date: Mon, 22 May 2006 01:16:47 -0400
From: Mike Frysinger
Subject: [SDL] [patch] fix sed expression in sdl-config

just noticed that sdl-config uses '[a-z]' with sed in sdl-config without
forcing the locale to C ... this could cause problems with locales where the
letter 'z' is not the last letter in the alphabet

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401823
2006-05-23 15:07:56 +00:00
Sam Lantinga
f2d67baf34 Moved DirectInput joystick code to 1.3 branch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401821
2006-05-21 17:26:40 +00:00
Sam Lantinga
fe915b7a0a 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401820
2006-05-21 16:47:41 +00:00
Ryan C. Gordon
722e73af32 Removed unused variable with undefined type. Fixes Bugzilla #234.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401819
2006-05-21 02:50:05 +00:00
Ryan C. Gordon
1e7ce9a960 Try to keep SDL keysyms sane regardless of keyboard layout in windib target.
Fixes Bugzilla #164.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401817
2006-05-18 03:24:10 +00:00
Ryan C. Gordon
f60db1758a Make sure sem_wait didn't return early with EINTR. Fixes Bugzilla #231.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401816
2006-05-17 23:42:48 +00:00
Sam Lantinga
90a334ec54 Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401815
2006-05-17 18:57:04 +00:00
Sam Lantinga
dc00237efc Fixed uninitialized variable warnings
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401813
2006-05-17 15:08:46 +00:00
Sam Lantinga
851c3b8fbb Clean out the tests before creating distribution archive
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401809
2006-05-17 07:38:34 +00:00
Sam Lantinga
c1d479762f Updated RPM spec file with License keyword
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401808
2006-05-17 06:09:27 +00:00
Sam Lantinga
331b0087ee Whoops, clean files in the dist directory
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401807
2006-05-17 04:42:37 +00:00
Sam Lantinga
823969fe45 --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401806
2006-05-17 04:36:31 +00:00
Sam Lantinga
3c5d934204 Removed support for Darwin, due to build problems on ps2linux
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401805
2006-05-17 04:21:33 +00:00
Sam Lantinga
2b266d55f9 Needed unistd.h for unlink()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401804
2006-05-17 04:11:33 +00:00
Sam Lantinga
38fd0dc83a Patch from Ryan to fix compiler warnings
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401803
2006-05-17 04:01:53 +00:00
Sam Lantinga
15bcc2d457 Use the correct parameter for GLX_VISUAL_CAVEAT_EXT
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401802
2006-05-16 16:25:22 +00:00
Sam Lantinga
3470d1df70 Updated docs for SDL 1.2.10 release
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401801
2006-05-16 08:00:25 +00:00
Sam Lantinga
c77fbca391 Added information about gcc-fat.sh to README.MacOSX
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401800
2006-05-16 07:26:48 +00:00
Sam Lantinga
2e54e83306 Fixed compiling GS YUV conversion code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401799
2006-05-16 06:53:27 +00:00
Sam Lantinga
467c8a81dd Date: Mon, 15 May 2006 17:18:34 +0300
From: Vassilis Virvilis
Subject: Re: [SDL] SDL + fbcon = weird colors (resolved)

> I am getting weird colors in 16/32 bpp in an VIA custom
> board with savagefb and in qemu (cirrusfb).

Ok looks that nowadays if you follow compiler warnings closely
all bugs will be resolved by you. This one was that a non void
function (do_mmap) was not returning anything.
I also silenced a warning since I was in janitor mode.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401798
2006-05-16 03:58:08 +00:00
Sam Lantinga
3e2af2ef39 DragonFly BSD has an older version of VGL which SDL doesn't support.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401797
2006-05-15 12:22:58 +00:00
Sam Lantinga
11c5892acb Fixed corrupt image
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401796
2006-05-15 11:58:29 +00:00
Sam Lantinga
059fc960c8 OpenBSD doesn't ship with X11 library major version symlinks
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401795
2006-05-15 07:24:24 +00:00
Sam Lantinga
1e00017e0a Added yet another variant of autoconf to the list
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401794
2006-05-15 06:39:10 +00:00
Sam Lantinga
6b9e7a15fd Added yet another variant of autoconf to the list
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401793
2006-05-15 06:30:38 +00:00
Sam Lantinga
690f472d02 Fix from Marc Peter: slightly fixed Watcom makefiles for 1.2.10 release
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401792
2006-05-14 21:18:26 +00:00