Commit graph

2219 commits

Author SHA1 Message Date
Sam Lantinga
e2898c73af indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402544
2007-07-15 21:53:51 +00:00
Ryan C. Gordon
b98b6308d1 Merged r3292:3293 from branches/SDL-1.2: testjoystick verbose info.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402539
2007-07-15 17:25:59 +00:00
Sam Lantinga
6793a28d06 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402537
2007-07-15 16:59:16 +00:00
Sam Lantinga
cfcb0787d2 Split acinclude.m4 into its component parts for easy updating
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402532
2007-07-15 01:51:11 +00:00
Ryan C. Gordon
01b58163f3 Merged r3261:3262 from branches/SDL-1.2: MMX/YUV with __OPTIMIZE__.
"Mac OS X/x86 won't build the MMX/YUV inline assembly without optimizations
 enabled (not enough registers), so for now, we only build it if we see
 the __OPTIMIZE__ #define, which GCC provides when you build at -O1 or higher."

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402528
2007-07-14 07:28:45 +00:00
Ryan C. Gordon
280618d6f5 Reverted r3255:3256. Don't actually need it unless the build is broken. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402525
2007-07-14 07:05:19 +00:00
Ryan C. Gordon
3a31a8b822 Merged r3257:3258 from branches/SDL-1.2: unused MMX variables.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402524
2007-07-14 07:03:07 +00:00
Ryan C. Gordon
73619c3660 Merged r3255:3256 from branches/SDL-1.2: stdlib problem with SDL_memcpy macro.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402522
2007-07-14 06:46:33 +00:00
Patrice Mandin
f792ff238f Use correct function
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402520
2007-07-14 00:07:37 +00:00
Patrice Mandin
67cbe3bb0d Missing variable declarations
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402519
2007-07-14 00:03:04 +00:00
Patrice Mandin
5eb122882e Rename LockAudio,UnlockAudio to LockDevice,UnlockDevice. Also some small fixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402518
2007-07-13 23:58:22 +00:00
Patrice Mandin
39a207a501 Delete old files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402517
2007-07-13 22:55:54 +00:00
Patrice Mandin
8947676265 Update GEM driver to new API, will have to fill the void later :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402516
2007-07-13 22:55:15 +00:00
Patrice Mandin
ff41113968 Disable video extensions atm
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402515
2007-07-13 22:52:53 +00:00
Patrice Mandin
d53ee909be Missing include file
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402514
2007-07-13 22:51:42 +00:00
Patrice Mandin
864ad7581d Simplify setting window title
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402512
2007-07-13 16:11:58 +00:00
Bob Pendleton
abcafc2125 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402509
2007-07-12 20:00:50 +00:00
Sam Lantinga
942236ea2a Merged Ryan's patch from revision 3238 in SDL 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402507
2007-07-12 08:07:30 +00:00
Sam Lantinga
fc3b506099 Whoops, needed to remove the other version of getlocale()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402504
2007-07-12 07:55:18 +00:00
Sam Lantinga
fc4cf4c9fc 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402503
2007-07-12 07:52:50 +00:00
Sam Lantinga
4a00054e18 Updated version to 1.3, added testgl2 test program
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402500
2007-07-12 07:02:44 +00:00
Sam Lantinga
a5ba7573a3 Yes, you need to set the pixel format before creating a context.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402499
2007-07-12 06:59:43 +00:00
Sam Lantinga
a154c5dad2 Visual C++ compiler warning fixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402498
2007-07-12 06:53:20 +00:00
Sam Lantinga
a3245a4e7c Creating a context makes it current, per the documentation.
Applied a variant of the multi-card OpenGL fix from SDL 1.2

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402497
2007-07-12 06:31:36 +00:00
Sam Lantinga
463ba0e0a6 Added note about SDL_config.h - merged from revision 3227 on SDL 1.2 branch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402496
2007-07-12 05:32:07 +00:00
Sam Lantinga
9868189326 Fixed joystick name detection - merged from revision 3226 on SDL 1.2 branch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402495
2007-07-12 05:31:08 +00:00
Sam Lantinga
53fac91c80 Warn Visual C++ users if they have a stale configure generated SDL_config.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402492
2007-07-12 03:14:49 +00:00
Sam Lantinga
bc4e3e95e3 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402490
2007-07-11 14:52:13 +00:00
Sam Lantinga
a65843c05a indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402489
2007-07-11 14:51:49 +00:00
Sam Lantinga
e6e24a41f2 Fixed compiling YUV code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402488
2007-07-11 14:50:21 +00:00
Sam Lantinga
20ec54e649 Fixed compiling the x11 driver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402487
2007-07-11 14:49:44 +00:00
Sam Lantinga
b9e09cec0b Needed an autorelease pool around the NSText allocation
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402486
2007-07-11 14:44:28 +00:00
Sam Lantinga
f7ff123cf8 Added key composition support, courtesy of Kuon
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402485
2007-07-11 08:09:20 +00:00
Ryan C. Gordon
ffec21f2e4 Merged r3211:3213 from branches/SDL-1.2: YUV MMX inline asm for GCC.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402482
2007-07-11 07:39:01 +00:00
Sam Lantinga
3a0afdca57 indent doesn't know how to handle inline asm
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402475
2007-07-11 04:47:25 +00:00
Sam Lantinga
dd7106f6a8 Updated SVN checkout instructions
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402474
2007-07-10 20:16:35 +00:00
Ryan C. Gordon
8b6833c4e2 Merged r3201:3204 from branches/SDL-1.2: win32 rwops tweaks.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402472
2007-07-10 19:06:02 +00:00
Sam Lantinga
ff88381b73 Merged memory leak fix from SDL 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402469
2007-07-10 16:05:50 +00:00
Sam Lantinga
7347a1dbeb NAS dynamic loading is going to be have to looked at... *sigh*
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402467
2007-07-10 15:51:17 +00:00
Bob Pendleton
7d395c042a Added stubs for x11 gamma functions and enabled them in SDL_x11video.c
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402463
2007-07-10 14:44:20 +00:00
Sam Lantinga
e7c690e52e Oh yeah, they're boolean values...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402458
2007-07-10 05:29:56 +00:00
Sam Lantinga
1330dc92d3 Updated to use size_t instead of int for amounts of data.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402457
2007-07-10 05:25:19 +00:00
Sam Lantinga
8daaa10d40 Merged read-ahead support for Win32 file I/O from SDL 1.2 revision 3183
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402456
2007-07-10 05:01:22 +00:00
Sam Lantinga
f7d87960f4 Merged part of NetBSD pkgsrc patch-aj:
chunk 2:
-L/usr/lib is unnecessary

chunk 3:
Better DragonFly support.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402453
2007-07-10 04:45:50 +00:00
Sam Lantinga
203416ced2 Fixed bug #451
SDL_memset4 copies a 32-bit value, not an 8-bit value.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402444
2007-07-08 14:24:55 +00:00
Sam Lantinga
71c8b26130 Fixed configure warning about datarootdir
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402442
2007-07-08 05:58:51 +00:00
Ryan C. Gordon
1d89fd5fc7 Merged r3165:3166 from branches/SDL-1.2: gcc -Wall fix in arts audio target.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402437
2007-07-08 01:37:48 +00:00
Bob Pendleton
04c05620db fixed code for printing mousewheel events to match the new format of mousewheel events.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402432
2007-07-06 15:45:28 +00:00
Sam Lantinga
82e02091bc Reverted mousewheel support in 1.2, since it breaks binary compatibility.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402431
2007-07-06 13:45:10 +00:00
Sam Lantinga
43e5d2b938 Fixed bug #382
Added horizontal scrolling support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402428
2007-07-06 09:22:18 +00:00