Sam Lantinga
a9072159b2
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Ozkan Sezer
acb6843b24
SDL_endian.h: add SDL_Swap16 and SDL_Swap32 for Watcom/x86 as inline asm
...
Partially fixes Bugzilla #3758 .
2017-08-17 21:32:00 -04:00
Sam Lantinga
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
9cc7ce9008
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Philipp Wiesemann
1968212d51
Fixed comments at conditional compilation macro in header file.
2015-06-05 19:41:34 +02:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Gabriel Jacobo
8515791f86
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
871473e032
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Ryan C. Gordon
28a15d3609
Replace all the "static __inline__" functions with SDL_FORCE_INLINE.
2013-03-15 01:09:19 -04:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
e2df95c6f2
Fixed inline assembly warning for PPC
...
input constraint with a matching output constraint of incompatible type
2012-01-14 00:49:25 -05:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
f0c424685b
SDL 1.3 requires a 64-bit type for the platform.
2011-03-25 13:47:49 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
d6cb212829
RedHat patch: SDL-1.2.14-byteorder.patch
2010-07-18 11:23:34 -07:00
Sam Lantinga
23267677ee
esigra 2010-04-17 03:53:57 PDT
...
If this header file is supposed to be includable from C++ code, the code should
of course use one of the SDL_*_cast macros from SDL_stdinc.h.
2010-04-23 02:15:05 -07:00
Sam Lantinga
b740fb4389
Fixed bug 944
...
Tatu Kilappa 2010-02-11 12:13:20 PST
When compiling with -Wconversion, gcc complains about a cast in SDL_endian.h
that might change the result as we are casting from an int into an Uint16. This
is of course not visible unless we are on a non-x86 platform where the
assembler is not available.
While it's not really an error, the warning is really annoying. To fix, change
SDL_endian.h line 87 to:
return(Uint16)((x<<8)|(x>>8));
Thank you.
2010-04-13 22:01:14 -07:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Ryan C. Gordon
0a3afaa588
Merged r5194:5195 from branches/SDL-1.2: coldfire cpu arch support.
2010-01-10 08:21:19 +00:00
Sam Lantinga
27294b7a4e
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
2009-10-19 13:31:58 +00:00
Sam Lantinga
e6a40c7de4
Fixed bug #537
...
Description From esigra 2008-01-07 16:20:21 (-) [reply]
I try to get a clean compile for a project using SDL. But I get warnings
from SDL headers when I use -Wold-style-cast. This is especially bad
because I plan to build the software with -Werror=old-style-cast when we
have switched over to GCC 4.2, which has that option.
But this problem can be fixed in the SDL headers. I checked out the SVN
version and made some patches. See the attached patch.
2009-02-17 04:57:39 +00:00
Sam Lantinga
19b003367c
Reverted Bob's indent checkin
2009-01-10 21:50:26 +00:00
Bob Pendleton
68ff2ab932
I ran a global "make indent" it modified the following files.
2009-01-09 20:43:30 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
7462d2796b
Added source color and alpha modulation support.
...
Added perl script to generate optimized render copy functions.
2006-08-28 03:17:39 +00:00
Ryan C. Gordon
1ee9fc8f50
Added SDL_SwapFloat* function/macros. Reference Bugzilla #293 .
2006-08-24 12:49:59 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00
Sam Lantinga
eee9b381ab
Get Microsoft's preprocessor symbols in there
2006-03-06 16:37:18 +00:00
Sam Lantinga
a745f33d22
Maybe it's easier to collect the big-endian architectures. :)
2006-03-06 16:33:23 +00:00
Sam Lantinga
e7a772f10b
Added ARM and SH4 detection for WinCE development environment
2006-03-06 01:34:36 +00:00
Sam Lantinga
b633882919
Updated for Visual Studio Express 2005
2006-02-24 08:17:28 +00:00
Sam Lantinga
2c134486a9
Whoops
2006-02-19 06:02:57 +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
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
82bfaee73a
It's now possible to build SDL without any C runtime at all on Windows,
...
using Visual C++ 2005
2006-02-06 08:28:51 +00:00
Sam Lantinga
808a16717c
Updated copyright information and removed rcs id lines (problematic in branch merges)
...
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
2006-02-01 06:32:25 +00:00
Patrice Mandin
6eccd4db50
Optimize also for 68020 and higher CPUs
2005-03-30 12:38:03 +00:00
Sam Lantinga
e69d32a51d
The fix is going back in. :)
2005-01-25 17:58:44 +00:00
Sam Lantinga
ec15ddd4df
Date: Sun, 16 Jan 2005 19:20:15 +0100
...
From: Stephane Marchesin
To: Kirill Ponomarew
Subject: [SDL] Problem on x86_64 with latest CVS (Re: sdl12 with gcc-2.95)
>-I../../src -I../../src/main/freebsd -I../../src/audio
>-I../../src/video -I../../src/video/XFree86/extensions
>-I../../src/events -I../../src/joystick -I../../src/cdrom
>-I../../src/thread -I../../src/timer -I../../src/endian
>-I../../src/file -I../../src/thread -MT SDL_endian.lo -MD -MP -MF
>.deps/SDL_endian.Tpo -c SDL_endian.c -fPIC -DPIC -o
>.libs/SDL_endian.o
>{standard input}: Assembler messages:
>{standard input}:144: Error: suffix or operands invalid for `xchg'
>*** Error code 1
>
That's a totally different problem. This was introduced in CVS 4 days ago :
http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/include/SDL_endian.h.diff?r1=1.11 \
&r2=1.12
Just revert this patch.
2005-01-18 18:40:48 +00:00
Sam Lantinga
c2113a949a
Select patches included from The NetBSD Package Collection (www.pkgsrc.org)
2005-01-12 06:04:48 +00:00
Patrice Mandin
ae203664c1
Wrong size of parameters for SDL_Swap32 m68k assembly routine
2004-11-27 23:11:20 +00:00
Patrice Mandin
05034eabf2
Add m68k assembly routines for endianness conversion
2004-11-22 10:16:58 +00:00
Sam Lantinga
743d10080e
This works on MacOS X too. :)
2004-02-26 14:26:07 +00:00
Sam Lantinga
2838191e14
Added inline byte swapping code for other architectures
2004-02-23 06:09:21 +00:00