Commit Graph

120 Commits

Author SHA1 Message Date
Sam Lantinga
a4aafdfe5d *** empty log message *** 2006-03-13 01:20:05 +00:00
Sam Lantinga
992d5b4402 UTF-32 by definition can't handle characters higher than 0x10FFFF 2006-03-13 01:16:16 +00:00
Sam Lantinga
48c546dc44 Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability 2006-03-13 01:08:00 +00:00
Sam Lantinga
e68111fb08 Blah 2006-03-12 01:47:23 +00:00
Sam Lantinga
3169ca4c13 Might have fixed 64-bit issues. :) 2006-03-11 22:54:12 +00:00
Sam Lantinga
cbdcbbf82c *** empty log message *** 2006-03-08 08:31:08 +00:00
Sam Lantinga
339f03befc Added documentation on how to build a completely useless SDL library. :) 2006-03-08 08:30:17 +00:00
Sam Lantinga
223544e90d Updated WinCE support by Dmitry (with some tweaks)
Converted the disk audio driver to SDL_RWops for portability
2006-03-04 08:24:35 +00:00
Sam Lantinga
c761cb162a *** empty log message *** 2006-03-03 04:43:42 +00:00
Sam Lantinga
abbc4d7fbd Whoops, missed one 2006-02-27 21:17:12 +00:00
Sam Lantinga
ec7cfdfea1 Date: Mon, 27 Feb 2006 17:01:43 +0100
From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: standard win32 SDL.DLL file test [patch]

I found a bug or two in previous patch, so here is a patch to correct this.
2006-02-27 19:19:22 +00:00
Sam Lantinga
aaf71291d0 Updated OS/2 build, yay! 2006-02-26 19:30:21 +00:00
Sam Lantinga
f8adcc6ef8 Passing a NULL GL library does the right thing nowadays. 2006-02-26 13:40:26 +00:00
Sam Lantinga
1abf1b3fc2 Fixed warnings in -pedantic mode 2006-02-26 05:02:14 +00:00
Sam Lantinga
bd3a6921d1 Use the right dynamic GL on MacOS Classic 2006-02-26 03:51:08 +00:00
Sam Lantinga
cdf2e8909f Date: Sat, 25 Feb 2006 14:26:19 +0100 (CET)
From: "Torsten Giebl"
Subject: [SDL] testpalette.diff

To get rid of Mousecursor Fullscreen problems on Mac OSX.
2006-02-25 15:01:44 +00:00
Sam Lantinga
7e11ec69f9 Updated MacOS Classic MPW build 2006-02-24 09:57:14 +00:00
Sam Lantinga
37049ba983 testplatform replaces testtypes, testendian, and testcpuinfo 2006-02-24 06:49:31 +00:00
Sam Lantinga
65825dce1d Added a test case 2006-02-21 09:11:53 +00:00
Sam Lantinga
190b425364 Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
42eb2c0afa Tests require SDL 1.2.10 2006-02-20 10:19:47 +00:00
Sam Lantinga
9aaf977aff Pick the right default GL library on IRIX 2006-02-20 10:19:22 +00:00
Sam Lantinga
65aa0aef4d Completely removed dependency on automake 2006-02-20 02:09:49 +00:00
Sam Lantinga
49255e3fa6 Fixes for BeOS and Solaris builds 2006-02-17 08:43:23 +00:00
Sam Lantinga
937467e40a Added some useful command line arguments for testing 2006-01-29 23:06:05 +00:00
Sam Lantinga
50f352e421 *** empty log message *** 2006-01-29 08:19:27 +00:00
Sam Lantinga
3ac3d4eb74 Report both absolute and relative motion 2006-01-29 08:18:56 +00:00
Sam Lantinga
cefbe73b27 Date: Mon, 22 Sep 2003 23:31:54 -0700 (PDT)
From: Rob Neff
Subject: [SDL] testgl.c minor bug fix for fullscreen mode

from:

  if ( strcmp(argv[1], "-fullscreen") == 0 ) {

to:

  if ( strcmp(argv[i], "-fullscreen") == 0 ) {


Minor bug, but might help someone else out who is trying to pass
the command-line params -logo -fullscreen like I was! :)
2006-01-25 07:04:02 +00:00
Sam Lantinga
7a839d1e03 Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP
This is a collaborative effort between Alex Volkov and John Popplewell.
Thanks guys!  (Fixes bug #39)
2006-01-19 09:09:32 +00:00
Sam Lantinga
84b606910a *** empty log message *** 2006-01-19 05:34:24 +00:00
Ryan C. Gordon
d9f58b2f88 testblitspeed.c improvements: cleaned up output, and allow user to set surface
alpha attributes.
2006-01-05 16:37:46 +00:00
Ryan C. Gordon
6ae4d895ed Toggle flip debugging in testsprite.c on the command line, not as a hardcoded
#define.

--ryan.
2006-01-02 08:07:41 +00:00
Ryan C. Gordon
406ef7dae9 OS/2 port!
This was mostly, if not entirely, written by "Doodle" and "Caetano":
    doodle@scenergy.dfmk.hu
    daniel@caetano.eng.br

--ryan.
2005-11-23 07:29:56 +00:00
Ryan C. Gordon
8d582813e0 Fixed compiler warnings in Watcom C. 2005-10-03 08:12:32 +00:00
Ryan C. Gordon
1153e32122 Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at
activekitten.com.
2005-09-29 09:43:00 +00:00
Ryan C. Gordon
6f65a3b4b8 Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe
if SDL is built with a non-cdecl calling convention, and it's just generally
 bad practice anyhow.

Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in
 a cdecl function where it can't be avoided, and rely on the parachute where
 a crash might have hit the atexit() before (these ARE test programs, after
 all!).
2005-09-28 11:36:20 +00:00
Ryan C. Gordon
a89d11c266 From Patrice Mandin:
"Just a request about test subdirectory: the autotools files
(config.guess, config.sub, etc...) are a bit outdated, and I have to
update them for my cross-compilation party. So it would be nice to
have these updated.

...

Just removing these files works, because then configure will use
those of SDL's topdir. Could someone else check this, just to be sure?
i.e. remove config.guess, config.sub, install-sh and mkinstalldirs from
test subdir."


I tested on Linux and MacOSX...seems to be safe, so I'm nuking the files.

--ryan.
2005-08-20 21:39:06 +00:00
Ryan C. Gordon
54d5471cf7 Added testblitspeed to aid in profiling of SDL's blitters. 2005-02-15 11:50:33 +00:00
Sam Lantinga
12274bb72e Date: Sat, 15 Jan 2005 15:06:01 -0600
From: Tyler Montbriand
Subject: [SDL] minor bugfix for test/testoverlay2.c

Programs that use malloc ought to #include <stdlib.h> .  On 32-bit systems you
can get away with not including it, but on 64-bit systems it will assume
malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
2005-01-18 18:32:10 +00:00
Patrice Mandin
9f98662ee6 Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon. 2004-11-26 16:16:50 +00:00
Patrice Mandin
8caa9e226d Restore everything when a function pointer is NULL 2004-11-26 16:13:24 +00:00
Patrice Mandin
c06c18e45f Add missing --add-missing 2004-11-20 20:57:28 +00:00
Patrice Mandin
032ec82e08 sdl-config already provides needed libs for MiNT build 2004-11-20 20:56:23 +00:00
Patrice Mandin
67968b56f4 Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa 2004-11-17 23:13:15 +00:00
Sam Lantinga
c228b93933 *** empty log message *** 2004-08-21 13:49:22 +00:00
Sam Lantinga
11edfddf36 Added an option to show the logo at the cursor position for debugging 2004-08-20 22:33:11 +00:00
Sam Lantinga
ddf57c3389 Date: Sat, 26 Jun 2004 14:58:42 +0300
From: "Mike Gorchak"
Subject: QNX 6.3 fixes for SDL

Sam, I've added new OpenGL framework for SDL, which appeared in the new QNX version - 6.3. I've leave compatibility with previous QNX versions. And I've moved all GL specific functions to the separate module, like it done for the other platforms.

SDL is now ready for the QNX 6.3 :)
2004-07-18 19:46:38 +00:00
Sam Lantinga
356c197ebd Date: Sat, 24 Apr 2004 15:13:32 +0300
From: "Mike Gorchak"
Subject: SDL updates for the QNX6

1. Updated the README.QNX
2. Updated libtool scripts, which are shipped with SDL for QNX6 support.
3. Added some code to support the new QNX 6.3.0, which is in beta now.
4. Added code to detect the hw features, which driver supports.
5. Added hw alpha blits code.
6. Fixed bug when application switches to fullscreen more the 2 times. (afte\
r that window becames always stay on top).
7. Updated a bit README for the tests.
8. Added information about acceleration show in the testalpha.c test.
9. Added small fixes to the testoverlay2.c test.
10. Added alpha and cc+alpha blits benchmarks to the testvidinfo.c test.
2004-05-06 15:55:06 +00:00
Sam Lantinga
e073227440 Date: Wed, 28 Apr 2004 16:52:41 -0400
From: "Damien A"
Subject: testdyngl fix

The test program you included in the latest version of SDL crashes on startup in Window (XP). The reason for this is that OpenGL functions on Windows use the __stdcall calling convention, not the C convention.  Placing APIENTRY infront of the * operator solves this problem.
2004-04-30 18:33:30 +00:00
Sam Lantinga
760068f108 Added an endian detection and byte swapping test program 2004-02-23 08:03:14 +00:00