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
Sam Lantinga
bdab6824fd
Fix for bug #447 merged from SDL 1.2
2007-07-04 08:01:04 +00:00
Sam Lantinga
c123a18337
Fixed bug #349
...
Solaris doesn't support the LATIN1 character set alias.
Merged from 1.2 svn revision 3133f
2007-07-04 07:08:16 +00:00
Sam Lantinga
803256bf09
stupid indent
2007-07-03 09:55:29 +00:00
Ryan C. Gordon
ee105c10fd
Merged r3125:3126 from branches/SDL-1.2: yasm/nasm warning fix.
2007-07-03 09:54:27 +00:00
Sam Lantinga
de6e1e7bf9
Fixed assembly relocation problems, so we can check for NASM on Mac OS X.
2007-07-02 02:49:34 +00:00
Sam Lantinga
0878fc88cf
Merged change from 1.2 to add X11 path for OpenGL detection
2007-06-30 08:11:02 +00:00
Ryan C. Gordon
8ed68c97b0
Patched to compile (missing #endif from a mismerge). Thanks to Peter Mackay
...
for pointing it out.
2007-06-29 11:08:53 +00:00
Sam Lantinga
34f8946d43
iconv() doesn't write to the data, just make compilers happy
2007-06-28 08:35:35 +00:00