Commit graph

132 commits

Author SHA1 Message Date
Sam Lantinga
a0fa14aca9 subversion conversion complete!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401658
2006-04-26 20:30:11 +00:00
Sam Lantinga
a4f336faee Fixed bug #189
Clip the overlay destination rectangle to the screen area on X11

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401649
2006-04-17 05:38:33 +00:00
Sam Lantinga
be0f0ff107 Fixes bug #195:
The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can
bee seen in many places, for example http://www.apple.com/macosx/). This
contrasts the naming of the old operating system, which was called "MacOS" and
today is often refered to as "MacOS Classic".

The attached patches fixes the misuse of the name "MacOS X" in both the SDL12
and sdlweb CVS modules.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401628
2006-04-13 13:08:26 +00:00
Sam Lantinga
f2c3b5141a *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401625
2006-04-12 14:25:29 +00:00
Sam Lantinga
9ccb05a0a6 Ugh, more 64-bit cleanup
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401622
2006-03-31 06:27:47 +00:00
Sam Lantinga
3d9db3824d Show an error message if autoconf isn't found
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401568
2006-03-21 07:02:34 +00:00
Sam Lantinga
6f035998f4 Fall back to autogen259 if autogen isn't available
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401567
2006-03-21 06:54:24 +00:00
Sam Lantinga
505a58469a Fixed bug #166
From the autoconf obsolete macros documentation:
Macro: AC_CANONICAL_SYSTEM

    Determine the system type and set output variables to the names of the canonical system types. See section Getting the Canonical System Type, for details about the variables this macro sets.

    The user is encouraged to use either AC_CANONICAL_BUILD, or AC_CANONICAL_HOST, or AC_CANONICAL_TARGET, depending on the needs. Using AC_CANONICAL_TARGET is enough to run the two other macros.

From the documentation for the canonical environments:
case $target in
i386-*-mach* | i386-*-gnu*)
             obj_format=aout emulation=mach bfd_gas=yes ;;
i960-*-bout) obj_format=bout ;;
esac

Note that the above example uses $target because it's taken from a tool which can be built on some architecture ($build), run on another ($host), but yet handle data for a third architecture ($target). Such tools are usually part of a compiler suite, they generate code for a specific $target.

However $target should be meaningless for most packages. If you want to base a decision on the system where your program will be run, make sure you use the $host variable.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401554
2006-03-19 05:27:22 +00:00
Sam Lantinga
ab022a8987 Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401549
2006-03-15 17:46:41 +00:00
Sam Lantinga
3ad866a41f The check for UTF-* isn't needed anymore since UTF-8 has the same code range.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401532
2006-03-14 07:45:15 +00:00
Sam Lantinga
de88144cde Updated by Ryan Gordon
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401522
2006-03-13 16:56:01 +00:00
Sam Lantinga
61549bf6a5 Updated MacOS Classic build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401520
2006-03-13 05:36:42 +00:00
Sam Lantinga
ffbb789969 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401508
2006-03-13 01:20:05 +00:00
Sam Lantinga
fbc44f92d6 UTF-32 by definition can't handle characters higher than 0x10FFFF
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401506
2006-03-13 01:16:16 +00:00
Sam Lantinga
3750cb6c4d Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401505
2006-03-13 01:08:00 +00:00
Sam Lantinga
5f71e5a774 Blah
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401504
2006-03-12 01:47:23 +00:00
Sam Lantinga
2a752c3732 Might have fixed 64-bit issues. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401499
2006-03-11 22:54:12 +00:00
Sam Lantinga
670b863ec9 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401489
2006-03-08 08:31:08 +00:00
Sam Lantinga
df3dfeb000 Added documentation on how to build a completely useless SDL library. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401488
2006-03-08 08:30:17 +00:00
Sam Lantinga
7d970e27e2 Updated WinCE support by Dmitry (with some tweaks)
Converted the disk audio driver to SDL_RWops for portability

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401469
2006-03-04 08:24:35 +00:00
Sam Lantinga
ba34e91b65 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401467
2006-03-03 04:43:42 +00:00
Sam Lantinga
8d37d5c766 Whoops, missed one
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401458
2006-02-27 21:17:12 +00:00
Sam Lantinga
680be24372 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401457
2006-02-27 19:19:22 +00:00
Sam Lantinga
46f459a736 Updated OS/2 build, yay!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401446
2006-02-26 19:30:21 +00:00
Sam Lantinga
094df0007e Passing a NULL GL library does the right thing nowadays.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401444
2006-02-26 13:40:26 +00:00
Sam Lantinga
00cfc17565 Fixed warnings in -pedantic mode
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401443
2006-02-26 05:02:14 +00:00
Sam Lantinga
218d042d75 Use the right dynamic GL on MacOS Classic
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401440
2006-02-26 03:51:08 +00:00
Sam Lantinga
e6d661762f 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401433
2006-02-25 15:01:44 +00:00
Sam Lantinga
8e8a8d88df Updated MacOS Classic MPW build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401428
2006-02-24 09:57:14 +00:00
Sam Lantinga
20ee4c7b98 testplatform replaces testtypes, testendian, and testcpuinfo
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401425
2006-02-24 06:49:31 +00:00
Sam Lantinga
08177094b3 Added a test case
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401409
2006-02-21 09:11:53 +00:00
Sam Lantinga
c36118165e 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
2006-02-21 08:46:50 +00:00
Sam Lantinga
7e395220f0 Tests require SDL 1.2.10
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401391
2006-02-20 10:19:47 +00:00
Sam Lantinga
b76a6d8e08 Pick the right default GL library on IRIX
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401390
2006-02-20 10:19:22 +00:00
Sam Lantinga
b51a5b98fc Completely removed dependency on automake
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401384
2006-02-20 02:09:49 +00:00
Sam Lantinga
0449d3bfca Fixes for BeOS and Solaris builds
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401371
2006-02-17 08:43:23 +00:00
Sam Lantinga
ed6a111bc6 Added some useful command line arguments for testing
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401296
2006-01-29 23:06:05 +00:00
Sam Lantinga
baaae734d7 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401288
2006-01-29 08:19:27 +00:00
Sam Lantinga
dd2c4cfcfd Report both absolute and relative motion
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401287
2006-01-29 08:18:56 +00:00
Sam Lantinga
ca8ee26f87 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! :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401268
2006-01-25 07:04:02 +00:00
Sam Lantinga
e63977fbad 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)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401256
2006-01-19 09:09:32 +00:00
Sam Lantinga
c34047f576 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401252
2006-01-19 05:34:24 +00:00
Ryan C. Gordon
7341c5d504 testblitspeed.c improvements: cleaned up output, and allow user to set surface
alpha attributes.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401234
2006-01-05 16:37:46 +00:00
Ryan C. Gordon
1c8744d7fb Toggle flip debugging in testsprite.c on the command line, not as a hardcoded
#define.

--ryan.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401217
2006-01-02 08:07:41 +00:00
Ryan C. Gordon
b08452cb40 OS/2 port!
This was mostly, if not entirely, written by "Doodle" and "Caetano":
    doodle@scenergy.dfmk.hu
    daniel@caetano.eng.br

--ryan.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401193
2005-11-23 07:29:56 +00:00
Ryan C. Gordon
197396555b Fixed compiler warnings in Watcom C.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401157
2005-10-03 08:12:32 +00:00
Ryan C. Gordon
ba06fd388b Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at
activekitten.com.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401155
2005-09-29 09:43:00 +00:00
Ryan C. Gordon
91121c3104 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!).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401154
2005-09-28 11:36:20 +00:00
Ryan C. Gordon
3eacd1d2c1 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401123
2005-08-20 21:39:06 +00:00
Ryan C. Gordon
8556c7d396 Added testblitspeed to aid in profiling of SDL's blitters.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401040
2005-02-15 11:50:33 +00:00