Commit Graph

2111 Commits

Author SHA1 Message Date
Patrice Mandin
04c06e94eb Use correct function 2007-07-14 00:07:37 +00:00
Patrice Mandin
449514cde4 Missing variable declarations 2007-07-14 00:03:04 +00:00
Patrice Mandin
2e5f27ad54 Rename LockAudio,UnlockAudio to LockDevice,UnlockDevice. Also some small fixes 2007-07-13 23:58:22 +00:00
Patrice Mandin
8eac2e2d05 Delete old files 2007-07-13 22:55:54 +00:00
Patrice Mandin
1c6a373e3d Update GEM driver to new API, will have to fill the void later :) 2007-07-13 22:55:15 +00:00
Patrice Mandin
b0096fae26 Disable video extensions atm 2007-07-13 22:52:53 +00:00
Patrice Mandin
13f058d4eb Missing include file 2007-07-13 22:51:42 +00:00
Patrice Mandin
960c1fbf71 Simplify setting window title 2007-07-13 16:11:58 +00:00
Bob Pendleton
3dc377941a This code adds support for DirectColor visuals to SDL 1.3. The support uses part of the Xmu library. To ensure that the library is
available and to keep people form having to install yet another library I have added the essential parts of Xmu in
src/video/extensions/XmuStdCmap and an include file in src/video/extensions. The support makes use of standard X11 mechanisms to
create color maps and make sure that an application uses the same color map for each window/visual combination. This should make it
possible for gamma support to be implemented based on a single color map per application.

Hurm... it looks like "make indent" modified a few extra files. Those are getting committed too.
2007-07-12 20:00:50 +00:00
Sam Lantinga
08ab0f198f Merged Ryan's patch from revision 3238 in SDL 1.2 2007-07-12 08:07:30 +00:00
Sam Lantinga
691d57d9df Whoops, needed to remove the other version of getlocale() 2007-07-12 07:55:18 +00:00
Sam Lantinga
46a6657c71 Fixed bug #455
If passed "" for the character set, let iconv_open() interpret it as
locale.

This was merged from revision 3234,3235 from SDL 1.2
2007-07-12 07:52:50 +00:00
Sam Lantinga
62a26718be Updated version to 1.3, added testgl2 test program 2007-07-12 07:02:44 +00:00
Sam Lantinga
be4cb77638 Yes, you need to set the pixel format before creating a context. 2007-07-12 06:59:43 +00:00
Sam Lantinga
49f67ffc0c Visual C++ compiler warning fixes 2007-07-12 06:53:20 +00:00
Sam Lantinga
45339ba922 Creating a context makes it current, per the documentation.
Applied a variant of the multi-card OpenGL fix from SDL 1.2
2007-07-12 06:31:36 +00:00
Sam Lantinga
55309a86d0 Added note about SDL_config.h - merged from revision 3227 on SDL 1.2 branch 2007-07-12 05:32:07 +00:00
Sam Lantinga
d92137dfe0 Fixed joystick name detection - merged from revision 3226 on SDL 1.2 branch 2007-07-12 05:31:08 +00:00
Sam Lantinga
0527f061ac Warn Visual C++ users if they have a stale configure generated SDL_config.h 2007-07-12 03:14:49 +00:00
Sam Lantinga
87e10ffe0c indent 2007-07-11 14:52:13 +00:00
Sam Lantinga
c6f4fbead2 indent 2007-07-11 14:51:49 +00:00
Sam Lantinga
b7712d9f7a Fixed compiling YUV code 2007-07-11 14:50:21 +00:00
Sam Lantinga
da74dd24a7 Fixed compiling the x11 driver 2007-07-11 14:49:44 +00:00
Sam Lantinga
d1184a5c65 Needed an autorelease pool around the NSText allocation 2007-07-11 14:44:28 +00:00
Sam Lantinga
c74b896ae4 Added key composition support, courtesy of Kuon 2007-07-11 08:09:20 +00:00
Ryan C. Gordon
74b0ae1377 Merged r3211:3213 from branches/SDL-1.2: YUV MMX inline asm for GCC. 2007-07-11 07:39:01 +00:00
Sam Lantinga
cb51385055 indent doesn't know how to handle inline asm 2007-07-11 04:47:25 +00:00
Sam Lantinga
5a94bdd25c Updated SVN checkout instructions 2007-07-10 20:16:35 +00:00
Ryan C. Gordon
fe87971b62 Merged r3201:3204 from branches/SDL-1.2: win32 rwops tweaks. 2007-07-10 19:06:02 +00:00
Sam Lantinga
892d73c061 Merged memory leak fix from SDL 1.2 2007-07-10 16:05:50 +00:00
Sam Lantinga
ce281a91be NAS dynamic loading is going to be have to looked at... *sigh* 2007-07-10 15:51:17 +00:00
Bob Pendleton
d247838455 Added stubs for x11 gamma functions and enabled them in SDL_x11video.c 2007-07-10 14:44:20 +00:00
Sam Lantinga
f1a7210ec4 Oh yeah, they're boolean values... 2007-07-10 05:29:56 +00:00
Sam Lantinga
4148b45eb1 Updated to use size_t instead of int for amounts of data. 2007-07-10 05:25:19 +00:00
Sam Lantinga
dc327d9d79 Merged read-ahead support for Win32 file I/O from SDL 1.2 revision 3183 2007-07-10 05:01:22 +00:00
Sam Lantinga
e07f3053c1 Merged part of NetBSD pkgsrc patch-aj:
chunk 2:
-L/usr/lib is unnecessary

chunk 3:
Better DragonFly support.
2007-07-10 04:45:50 +00:00
Sam Lantinga
e9a87fd5e2 Fixed bug #451
SDL_memset4 copies a 32-bit value, not an 8-bit value.
2007-07-08 14:24:55 +00:00
Sam Lantinga
62424f5686 Fixed configure warning about datarootdir 2007-07-08 05:58:51 +00:00
Ryan C. Gordon
2d8bb10980 Merged r3165:3166 from branches/SDL-1.2: gcc -Wall fix in arts audio target. 2007-07-08 01:37:48 +00:00
Bob Pendleton
686d49d1ff fixed code for printing mousewheel events to match the new format of mousewheel events. 2007-07-06 15:45:28 +00:00
Sam Lantinga
581076f3aa Reverted mousewheel support in 1.2, since it breaks binary compatibility. 2007-07-06 13:45:10 +00:00
Sam Lantinga
49c02d670f Fixed bug #382
Added horizontal scrolling support
2007-07-06 09:22:18 +00:00
Sam Lantinga
cf2814a169 Fixed bug #436
The install-lib target should depend on the libraries that are built.
2007-07-05 06:35:40 +00:00
Sam Lantinga
cad0ed9d4d Fixed bug #77
If the ARB pixel format selection fails, use a version of ChoosePixelFormat() that doesn't return a less capable format than was requested.
2007-07-05 06:14:26 +00:00
Sam Lantinga
6948a5048a Fixed mode code under VMware running Windows 98 2007-07-05 05:57:31 +00:00
Sam Lantinga
e391f24db8 I'm not sure this is a good idea yet, since it adds a unicows.dll redistribution requirement on windows, but adding unicows allows SDL 1.3 to run on Windows 98. 2007-07-05 05:28:08 +00:00
Sam Lantinga
df1fb188b1 Removed campatibility behavior for 1.3 2007-07-05 04:34:48 +00:00
Ryan C. Gordon
8f93afdb30 Replaced a few memset/memcpy calls with SDL_memset/SDL_memcpy. 2007-07-05 02:47:54 +00:00
Ryan C. Gordon
eba15b3817 Merged r3140:3141 from branches/SDL-1.2: loopwave fix. 2007-07-05 02:45:47 +00:00
Ryan C. Gordon
55bedc2819 Merged r3138:3139 from branches/SDL-1.2: Don't init audio callback buffer.
(This already had a concession for devices opened via the 1.2 entry points,
 I've changed it to respect the environment variable and do it for all devices
 now.)
2007-07-05 02:30:10 +00:00