Commit Graph

143 Commits

Author SHA1 Message Date
Sam Lantinga
995e9e0fd6 Needed unistd.h for unlink() 2006-05-17 04:11:33 +00:00
Sam Lantinga
6ca7e9990c Added yet another variant of autoconf to the list 2006-05-15 06:39:10 +00:00
Sam Lantinga
0145303a7d Fixed building with CodeWarrior on MacOS Classic 2006-05-11 08:09:16 +00:00
Sam Lantinga
e31e073820 sdl-config doesn't include the OpenGL library in --libs 2006-05-11 04:16:39 +00:00
Sam Lantinga
fb2c5efc9e Fat test programs! :) 2006-05-09 16:10:04 +00:00
Sam Lantinga
3b565b12b6 Made it easier to test some things on the framebuffer console 2006-05-08 05:30:15 +00:00
Sam Lantinga
1195dd8133 Fixed bug #215
The current SVN trunk is missing the SDLCALL specifier at numerous locations.

It has to be added for all (possibly user provided) callbacks.

I stumbled over this while creating a makefile for the OpenWatcom compiler for
Win32.
2006-05-07 03:40:06 +00:00
Sam Lantinga
064511501d Patch from Dmitry Yakimov to fix building on WinCE 2006-05-03 04:11:38 +00:00
Sam Lantinga
d8a526a463 Don't add NONE/bin to the path - inexplicably fixes building on mingw+msys, apparently 2006-05-01 07:23:46 +00:00
Sam Lantinga
bc35de2e30 Implemented bug #5
Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
2006-04-27 08:39:51 +00:00
Sam Lantinga
2a622cd891 Implemented bug #2, 117:
Date: Mon, 21 Mar 2005 12:06:14 +0100
From: Per Inge Mathisen
Subject: Re: [SDL] Outstanding patches?

The patch adds support for setting SDL_GL_SWAP_CONTROL to Windows and
X11. In Windows you can also query this enum to check that it is
working, or see what the default is - such functionality does not
exist in GLX. For more information on the standards implemented:
http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt
http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
2006-04-27 07:59:16 +00:00
Sam Lantinga
60b9732963 subversion conversion complete! 2006-04-26 20:30:11 +00:00
Sam Lantinga
b57d5c3424 Fixed bug #189
Clip the overlay destination rectangle to the screen area on X11
2006-04-17 05:38:33 +00:00
Sam Lantinga
b0519469db 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.
2006-04-13 13:08:26 +00:00
Sam Lantinga
d399ca9ce4 *** empty log message *** 2006-04-12 14:25:29 +00:00
Sam Lantinga
62dac2c788 Ugh, more 64-bit cleanup 2006-03-31 06:27:47 +00:00
Sam Lantinga
8043ef85fd Show an error message if autoconf isn't found 2006-03-21 07:02:34 +00:00
Sam Lantinga
351eafeef7 Fall back to autogen259 if autogen isn't available 2006-03-21 06:54:24 +00:00
Sam Lantinga
b4a7fb3471 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.
2006-03-19 05:27:22 +00:00
Sam Lantinga
e9e9f43bc0 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.)
2006-03-15 17:46:41 +00:00
Sam Lantinga
04576001ed The check for UTF-* isn't needed anymore since UTF-8 has the same code range. 2006-03-14 07:45:15 +00:00
Sam Lantinga
d9374eb0ea Updated by Ryan Gordon 2006-03-13 16:56:01 +00:00
Sam Lantinga
9e352303d7 Updated MacOS Classic build 2006-03-13 05:36:42 +00:00
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