Commit Graph

1384 Commits

Author SHA1 Message Date
Sam Lantinga
35a29575fc NetBSD support 2006-02-20 03:57:03 +00:00
Sam Lantinga
99931e8d0e *** empty log message *** 2006-02-20 03:11:04 +00:00
Sam Lantinga
eda62d8a77 On FreeBSD, alloca is defined in stdlib.h 2006-02-20 02:30:15 +00:00
Sam Lantinga
65aa0aef4d Completely removed dependency on automake 2006-02-20 02:09:49 +00:00
Sam Lantinga
0ef73d9eae Use only safe string functions 2006-02-19 23:46:34 +00:00
Sam Lantinga
b56a6d0212 *** empty log message *** 2006-02-19 23:38:57 +00:00
Sam Lantinga
8cca5f73c6 *** empty log message *** 2006-02-19 19:38:27 +00:00
Sam Lantinga
ef2b1e5cc5 I don't think we need aclocal anymore (comes from the automake package) 2006-02-19 18:52:51 +00:00
Sam Lantinga
be4ab70dbf sprintf should have been snprintf 2006-02-19 18:46:58 +00:00
Sam Lantinga
ffcf29eab9 QuickTime depends on Carbon and ApplicationServices 2006-02-19 17:38:32 +00:00
Sam Lantinga
278934ee01 *** empty log message *** 2006-02-19 16:42:18 +00:00
Sam Lantinga
2c134486a9 Whoops 2006-02-19 06:02:57 +00:00
Sam Lantinga
0df665cb1f Added a reminder on where to put libSDL.so 2006-02-18 07:21:42 +00:00
Sam Lantinga
c422a88e93 Detect the X11 library on Solaris x86 2006-02-18 07:11:58 +00:00
Sam Lantinga
1d5ee7e595 Doh! Bitten by search and replace. :) 2006-02-18 07:05:18 +00:00
Sam Lantinga
b4ce56d8b0 More fixes for building on BeOS 2006-02-18 06:51:00 +00:00
Sam Lantinga
49255e3fa6 Fixes for BeOS and Solaris builds 2006-02-17 08:43:23 +00:00
Sam Lantinga
ce9148fdf0 spaces, not tabs. :) 2006-02-16 23:32:39 +00:00
Patrice Mandin
b148e4efd7 Add missing clause 2006-02-16 22:33:34 +00:00
Patrice Mandin
229acf7303 Fix typo 2006-02-16 22:00:06 +00:00
Sam Lantinga
9f4d5a314a Fixed building with cygwin 2006-02-16 20:17:43 +00:00
Sam Lantinga
38c41c9e6e *** empty log message *** 2006-02-16 10:22:28 +00:00
Sam Lantinga
f05187e232 New configure-based build system. Still work in progress, but much improved 2006-02-16 10:11:48 +00:00
Sam Lantinga
7eac789438 *** empty log message *** 2006-02-10 07:29:08 +00:00
Sam Lantinga
bcdfa07625 *** empty log message *** 2006-02-10 07:03:22 +00:00
Sam Lantinga
769424426d More header massaging... works great on Windows. ;-) 2006-02-10 06:48:43 +00:00
Sam Lantinga
438d1885a7 Whoops, need this. :) 2006-02-10 03:21:39 +00:00
Sam Lantinga
5022a01e6c *** empty log message *** 2006-02-10 03:19:02 +00:00
Sam Lantinga
c9070f53df *** empty log message *** 2006-02-10 03:00:38 +00:00
Sam Lantinga
20c4849e7e Fixed build problem with SDL_string.c
Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h
Moved endian-related SDL_rwops code into SDL_rwops.c
2006-02-09 09:38:05 +00:00
Sam Lantinga
8df54cd371 Started the process of improving configure support, and merging C types
and library support into a single header.
2006-02-09 09:07:13 +00:00
Sam Lantinga
35665a2a6c Disable freaking autoheader. :) 2006-02-09 05:46:55 +00:00
Ryan C. Gordon
890fc9e8b0 Changed X11 header order so it works on Solaris.
Fixes Bugzilla #138.

--ryan.
2006-02-08 20:29:12 +00:00
Patrice Mandin
c309a78b29 Fixes for new SDL embedded libc stuff 2006-02-08 18:59:49 +00:00
Sam Lantinga
8ef756c67b *** empty log message *** 2006-02-08 17:23:32 +00:00
Sam Lantinga
4fc41406a8 Date: Mon, 6 Feb 2006 11:41:04 -0500
From: "mystml@adinet.com.uy"
Subject: [SDL] ALT-F4 using DirectX

My game isn't getting SDL_QUIT when I press ALT-F4 using the DirectX
driver; it does get SDL_QUIT when I press the red X in the window.

I tracked this down to DX5_HandleMessage() in SDL_dx5events.c;
WM_SYSKEYDOWN is being trapped and ignored which causes Windows not to post
a WM_CLOSE, hence no SDL_QUIT is being generated.

The relevant code is this :

                /* The keyboard is handled via DirectInput */
                case WM_SYSKEYUP:
                case WM_SYSKEYDOWN:
                case WM_KEYUP:
                case WM_KEYDOWN: {
                        /* Ignore windows keyboard messages */;
                }
                return(0);

If I comment the WM_SYSKEYDOWN case, it falls through DefWindowProc() and
ALT-F4 starts working again.

I'm not sure about the best way to fix this. One option is handling ALT-F4
as a particular case somehow, but doesn't sound good. Another option would
be to handle WM_SYSKEYDOWN separately and breaking instead of returning 0,
so processing falls through and goes to DefWindowProc which does The Right
Thing (TM). This seems to be the minimal change that makes ALT-F4 work and
normal keyboard input continues to work.

Does this sound reasonable? Am I overlooking anything? Do I submit a patch?

--Gabriel
2006-02-08 17:19:43 +00:00
Sam Lantinga
46a48c3887 Check for strtod 2006-02-08 09:06:34 +00:00
Sam Lantinga
05f9cca4a3 Default to build SDL without MSVCRT 2006-02-08 08:55:33 +00:00
Sam Lantinga
b0e5472b68 Fixes for Visual C++ 6.0 2006-02-07 18:36:54 +00:00
Sam Lantinga
2bbcb7bdd0 G:\SDL-12-CVS\src\video\math_private.h(171) : error C4226:
nonstandard extension used : 'huge' is an obsolete keyword
2006-02-07 17:49:40 +00:00
Sam Lantinga
e28c454fca *** empty log message *** 2006-02-07 17:46:19 +00:00
Sam Lantinga
835cdcb355 Fixed it Hayashi Naoyuki's way. :) 2006-02-07 12:15:46 +00:00
Sam Lantinga
d72a9898ed Configure dynamically generates SDL_config.h
I'm still wrestling with autoheader, but this should work for now...
Fixed lots of build problems with C library support disabled
2006-02-07 12:11:33 +00:00
Ryan C. Gordon
5ff3069784 Faster fades when changing to/from/between fullscreen modes on Mac OS X. Also,
it doesn't show the desktop between modes anymore.

 Fixes Bugzilla #100.

--ryan.
2006-02-07 11:18:21 +00:00
Sam Lantinga
bd5cd274af *** empty log message *** 2006-02-07 10:40:14 +00:00
Sam Lantinga
1e037cc218 Removed uses of stdlib.h and string.h 2006-02-07 09:29:18 +00:00
Sam Lantinga
c7319385b8 Don't touch code that we brought in from other sources 2006-02-07 07:03:29 +00:00
Sam Lantinga
02cc6c0f11 Use SDL_ prefixed versions of C library functions.
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
2006-02-07 06:59:48 +00:00
Sam Lantinga
b9704a2004 SDL_config.h will eventually be a general feature set test,
which will be useful for any program built with SDL on a given platform.
2006-02-06 17:28:04 +00:00
Sam Lantinga
735e84a7f0 Proper credit to uClibc :) 2006-02-06 17:26:47 +00:00