1657 Commits

Author SHA1 Message Date
Sam Lantinga
a9ee23bb9f Fixed a bunch of 64-bit compatibility problems
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401460
2006-03-01 09:43:47 +00:00
Sam Lantinga
e539f5ab85 Hah, standard stdio code crashed on the test case.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401459
2006-02-27 22:14:40 +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
03c1ccfae0 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401456
2006-02-27 18:58:12 +00:00
Sam Lantinga
1a9d2fdeb0 Argh, I forgot that zip merges files into the archive instead of recreating it.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401455
2006-02-27 16:29:04 +00:00
Sam Lantinga
febb6d5248 Removing unused Makefile.am files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401454
2006-02-27 15:51:34 +00:00
Sam Lantinga
6413245265 Did I mention I'm anal? :) Fixed spacing in SDL_rwops.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401453
2006-02-27 04:46:34 +00:00
Sam Lantinga
422fa052d6 Build both the .tar.gz and .zip archives when creating a CVS snapshot.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401452
2006-02-27 04:44:31 +00:00
Sam Lantinga
cbc10a962d Prefer the raw Win32 API over stdio for file RWops
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401451
2006-02-27 04:16:44 +00:00
Sam Lantinga
ec48a1ec62 Date: Mon, 27 Feb 2006 02:17:29 +0100
From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: questions regarding HAVE_STDIO_H in standard w

I managed to get a first implementation of it, which I tested for "simple" use
with tests sample apps, they work ok. I think this needs more tests.

Here is the diff against CVS/SDL12, attached.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401450
2006-02-27 03:48:48 +00:00
Ryan C. Gordon
5e4bf29fa7 Need this or things might misbuild on G3 Mac OS, I think.
Potentially fixes Bugzilla #148.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401449
2006-02-27 01:32:12 +00:00
Sam Lantinga
e7188c1d7c Oops, missed the header
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401448
2006-02-26 19:46:17 +00:00
Sam Lantinga
66a8f11c20 Fixed some OpenWatcom warnings
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401447
2006-02-26 19:37:40 +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
e1f2aca17a Getting closer... :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401445
2006-02-26 13:42:00 +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
df36fe080a Date: Sun, 26 Feb 2006 11:25:09 +0900
From: Hayashi Naoyuki
Subject: Re: [SDL] CVS stable again, please update SDL ports

Some problems are caused on Tru64 UNIX.
If applying SDL12-osf1.path, these problems are fixed.


1. configure-script say "recursive mutexes... no" and "pthread
semaphores... no".
checking for pthreads... yes
checking for recursive mutexes... no
checking for pthread semaphores... no

This is because it compiled without pthread_cflags and pthread_lib when
checking recursive mutexes and pthread semaphores.


2. Compiling src/audio/mme/SDL_mmeaudio.c fails.
cc: Severe: ./src/audio/mme/SDL_mmeaudio.c, line 25: Cannot find file
<mme_api.h> specified in #include directive. (noinclfilef)
#include <mme_api.h>
-^

This is because BUILD_CFLAGS is wrong.


3. Compiling src/cdrom/osf/SDL_syscdrom.c fails.
cc: Warning: ./src/cdrom/osf/SDL_syscdrom.c, line 176: Too few actual
parameters in the invocation of the macro "SDL_stack_alloc". (toofewactuals)
        cdpath = SDL_stack_alloc(len);
------------------------------------^
cc: Error: ./src/cdrom/osf/SDL_syscdrom.c, line 176: Invalid expression.
(badexpr)
        cdpath = SDL_stack_alloc(len);
-----------------^

SDL_stack_alloc is defined in include/SDL_stdinc.h.
#define SDL_stack_alloc(type, count)    (type*)alloca(sizeof(type)*count)


4. Linking fails if running configure with --enable-x11-shared=yes.
/usr/ccs/bin/ld:
Warning: Unresolved:
p_XData32


5. Compiling src/video/x11/SDL_x11dyn.c fails if running configure with
--enable-x11-shared=no.
cc: Error: ./src/video/x11/SDL_x11sym.h, line 149: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: ./src/video/x11/SDL_x11sym.h, line 150: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: ./src/video/x11/SDL_x11sym.h, line 150: In this statement,
"_SmtIpError" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtIpError,(Display *dpy,register smtDisplayPtr, int))
^

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401442
2006-02-26 04:54:01 +00:00
Sam Lantinga
cbc63acdb0 Make sure the OpenGL library is loaded before setting up OpenGL
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401441
2006-02-26 04:48:24 +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
2b14c4d56e Created a single makefile for all the tests
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401439
2006-02-26 03:36:33 +00:00
Sam Lantinga
d259f33c63 Added SDL_sysloadso.c to the Visual C++ project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401438
2006-02-25 22:20:03 +00:00
Sam Lantinga
883b235150 SDL_windows.h is no longer necessary
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401437
2006-02-25 22:18:25 +00:00
Sam Lantinga
83090323ef *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401436
2006-02-25 20:48:26 +00:00
Sam Lantinga
34802f061b Updated CodeWarrior projects (at least MacOS ones)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401435
2006-02-25 20:47:42 +00:00
Sam Lantinga
64d37bbe89 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401434
2006-02-25 18:52:36 +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
bb11c757f7 Update for Visual C++ 6.0
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401432
2006-02-24 18:24:57 +00:00
Sam Lantinga
90e0097344 Updated with MrC includes and function definitions
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401431
2006-02-24 17:03:06 +00:00
Sam Lantinga
b25211fd37 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401430
2006-02-24 10:23:49 +00:00
Sam Lantinga
e0ad8e3603 Hmm, how am I going to keep from committing bad versions of this?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401429
2006-02-24 09:58:03 +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
ef1df3f896 Updated for Visual Studio Express 2005
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401427
2006-02-24 08:17:28 +00:00
Sam Lantinga
14c0a48114 Added pre-configured versions of SDL_config.h for various platforms
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401426
2006-02-24 07:26:31 +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
Patrice Mandin
e32e1fa965 Added preliminary support for MiNT /dev/mouse driver (disabled atm)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401424
2006-02-23 21:51:10 +00:00
Sam Lantinga
9deda87010 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401423
2006-02-23 04:16:08 +00:00
Sam Lantinga
cd56901cd9 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401422
2006-02-23 01:09:47 +00:00
Sam Lantinga
fb6b885718 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401421
2006-02-22 05:01:43 +00:00
Sam Lantinga
40c21d512e Fixed script on mingw
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401420
2006-02-22 04:44:33 +00:00
Sam Lantinga
eea555f262 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401419
2006-02-22 00:33:10 +00:00
Sam Lantinga
e4fa71362e ranlib needs to be run after the library is installed...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401418
2006-02-21 22:30:43 +00:00
Sam Lantinga
7c6f290b55 FIXME:
This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2)
This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401417
2006-02-21 22:12:55 +00:00
Patrice Mandin
8b957d575c Fixed include files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401416
2006-02-21 21:45:31 +00:00
Sam Lantinga
a0dcf4a00d Fixed assembly alignment error on Intel Macs.
Do we really need 16-bit alignment here?

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401415
2006-02-21 19:28:45 +00:00
Sam Lantinga
550d557de5 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401414
2006-02-21 19:27:34 +00:00
Sam Lantinga
6d2f939f1b Fixed build warnings on Intel Mac
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401413
2006-02-21 19:24:09 +00:00
Sam Lantinga
0487d9cfe1 Fixed some preprocessor mangling
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401412
2006-02-21 18:29:39 +00:00
Sam Lantinga
b2a121cbd9 Whoops, forgot to check in this fix
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401411
2006-02-21 18:20:10 +00:00