Commit Graph

267 Commits

Author SHA1 Message Date
Sam Lantinga
09cd129590 Fixed bug #464
Added X1/X2 button constants

--HG--
branch : SDL-1.2
2007-12-29 06:08:17 +00:00
Sam Lantinga
1b32f5a97d Updated version to 1.2.13
--HG--
branch : SDL-1.2
2007-12-29 05:20:51 +00:00
Sam Lantinga
87d97715ae Made the mprotect() fix for SDL_SoftStretch() more general for hardened linux, etc.
--HG--
branch : SDL-1.2
2007-12-29 05:18:33 +00:00
Sam Lantinga
88294ae6a7 Stephen Hurd fixed bug #505
Borland compilers have the alloca() prototype in malloc.h as with WATCOM.

--HG--
branch : SDL-1.2
2007-12-28 08:06:36 +00:00
Sam Lantinga
4884098ba4 Removed stray C++ comment
--HG--
branch : SDL-1.2
2007-12-28 07:50:01 +00:00
Ryan C. Gordon
98e1fb5a80 Date: Mon, 24 Sep 2007 17:54:58 +0200
From: Christopher GAUTIER <krys via.ecp.fr>
To: sdl@lists.libsdl.org
Subject: [SDL] SDL_INPUT_LINUXEV vs SDL_JOYSTICK_LINUXEVHello all,

There seems to be a slight inconsistency between the SDL_INPUT_LINUXEV
define (used in src/joystick/linux/), and SDL_JOYSTICK_LINUXEV defined
in include/SDL_config.h.

SDL_JOYSTICK_LINUXEV is never used, and SDL_INPUT_LINUXEV is not
mentioned in SDL_config.h.in (though set by the ./configure script).
This has the unfortunate effect of breaking the joystick detection on linux
boxes where /dev/input/event* is defined, but not /dev/(input/)?js*.

Trivial patch included.

Cheers.

--HG--
branch : SDL-1.2
2007-09-25 09:59:26 +00:00
Ryan C. Gordon
9fb3f4de89 Removed some C++ style comments from the public headers.
Fixes Bugzilla #474.

--HG--
branch : SDL-1.2
2007-08-05 03:21:18 +00:00
Sam Lantinga
26503f8143 Warn Visual C++ users if they have a stale configure generated SDL_config.h
--HG--
branch : SDL-1.2
2007-07-12 02:51:58 +00:00
Sam Lantinga
2b7f475ce0 Added read-ahead support for Win32 file IO
--HG--
branch : SDL-1.2
2007-07-10 04:01:46 +00:00
Sam Lantinga
66bad5e6ec Fixed bug #451
SDL_memset4 copies a 32-bit value, not an 8-bit value.

--HG--
branch : SDL-1.2
2007-07-08 14:24:27 +00:00
Sam Lantinga
cc9abb85bd Reverted mousewheel support in 1.2, since it breaks binary compatibility.
--HG--
branch : SDL-1.2
2007-07-06 13:39:03 +00:00
Sam Lantinga
9c3a477063 Fixed bug #382
Added horizontal scrolling support: SDL_BUTTON_WHEELLEFT (6) and SDL_BUTTON_WHEELRIGHT (7)

--HG--
branch : SDL-1.2
2007-07-06 09:15:43 +00:00
Ryan C. Gordon
f21a11a7d3 Minor updates to the Symbian/S60 port, plus project files that weren't
previously imported.

   Fixes Bugzilla #433.

--HG--
branch : SDL-1.2
2007-07-05 04:51:09 +00:00
Sam Lantinga
64f823384c Fixed bug #447
Xlib uses the native locale, not latin1

... the question is... what does the server use? :)

--HG--
branch : SDL-1.2
2007-07-04 07:54:06 +00:00
Sam Lantinga
b9b6dfe97a Fixed bug #349
Solaris doesn't support the LATIN1 character set alias.

--HG--
branch : SDL-1.2
2007-07-04 04:27:47 +00:00
Sam Lantinga
77b434c3a5 Better fix for bug 419
--HG--
branch : SDL-1.2
2007-06-28 05:35:50 +00:00
Sam Lantinga
ddcda50469 Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
--HG--
branch : SDL-1.2
2007-06-25 00:50:20 +00:00
Ryan C. Gordon
c66b807d4e Added S60 port.
--HG--
branch : SDL-1.2
2007-06-24 18:26:35 +00:00
Ryan C. Gordon
64c283b48b Whoops, fixed previous VC6 support patch.
--HG--
branch : SDL-1.2
2007-06-21 18:48:13 +00:00
Ryan C. Gordon
df1d10c53f Fixes for Visual C++ 6.0 with and without the Processor Pack.
--HG--
branch : SDL-1.2
2007-06-21 18:20:59 +00:00
Ryan C. Gordon
5ef9fe1331 Make sure __inline__ isn't defined before #defining it, since some compilers
(like Sun Studio) have this as a predefined macro.

   Fixes Bugzilla #434.

--HG--
branch : SDL-1.2
2007-06-15 07:19:05 +00:00
Ryan C. Gordon
11eee89627 Use system memset/memcpy on Mac OS X, since Apple hand-tunes these for each
processor they ship (and thus, it's likely to beat our code on PowerPC and
 Intel and whatever variants or new archs show up later).

--HG--
branch : SDL-1.2
2007-06-03 06:52:06 +00:00
Ryan C. Gordon
67c6247b61 Committed PulseAudio driver. Thanks, Stephan!
--HG--
branch : SDL-1.2
2007-05-13 23:12:46 +00:00
Ryan C. Gordon
e865281b0e Const correctness patch for SDL_MapRGB and SDL_MapRGBA.
Fixes Bugzilla #421.

--HG--
branch : SDL-1.2
2007-04-04 09:40:40 +00:00
Ryan C. Gordon
22f35aa3cb Adjusted to handle different constness in older versions of iconv.
Fixes Bugzilla #419.

--HG--
branch : SDL-1.2
2007-03-30 20:09:55 +00:00
Ryan C. Gordon
3e834e754f Fixed Mac OS X config header when compiling with -Wundef.
--HG--
branch : SDL-1.2
2007-03-28 00:36:35 +00:00
Ryan C. Gordon
b1f62e0e2f From: Laurence Passmore
Date: Mon, 26 Mar 2007 23:22:45 +0100
To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@lists.libsdl.org>
Subject: [SDL] SDL_config_macosx.h: MAC_OS_X_VERSION_MIN_REQUIRED

Hi,

I just compiled my SDL application on Mac OS X with -Wundef and it
threw a number of errors. Of note was:

     SDL_config_macosx.h: 34
     warning: "MAC_OS_X_VERSION_MIN_REQUIRED" is not defined

Line 34 is:

     #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined (__POWERPC__)) )

Now according to this mailing on the Apple developer lists:

     http://lists.apple.com/archives/Xcode-users/2005/May/msg00602.html

that particular #define was removed from the gcc compiler defaults
and AvailabilityMacros.h (/usr/include/AvailabilityMacros.h) should
be pulled in directly instead.

Would someone closer to the Mac OS X version of SDL be willing to
make that change please? Thanks.

Laurence Passmore
Homeworld SDL @ www.homeworldsdl.org

--HG--
branch : SDL-1.2
2007-03-27 00:37:51 +00:00
Ryan C. Gordon
c51512e418 Minor const correctness patch to SDL_iconv.
--HG--
branch : SDL-1.2
2007-02-16 03:50:42 +00:00
Ryan C. Gordon
331bafa250 Patched fbcon to compile on newer Linux kernels that don't #define PAGE_SIZE,
since a memory page's size may vary on various architectures and kernel
 configurations.

Will use getpagesize() if it exists, the PAGE_SIZE #define from older kernels
 if that doesn't, and #error out if that's not there either...but it's
 probably 4096 in that case. We may revisit this.

   Fixes Bugzilla #392.

--HG--
branch : SDL-1.2
2007-02-15 23:50:45 +00:00
Ryan C. Gordon
f3082c85ab Digital Mars has stdint.h, so use the header on Windows with that compiler.
Fixes Bugzilla #376.

--HG--
branch : SDL-1.2
2007-02-12 11:45:18 +00:00
Ryan C. Gordon
586c0038c1 Patched to compile on BeOS and old, old GCC releases.
--HG--
branch : SDL-1.2
2007-02-05 06:44:51 +00:00
Ryan C. Gordon
101070f1a5 Wrapped some macro params in parentheses for alloca wrappers.
Thansk, Suzuki Masahiro.

--HG--
branch : SDL-1.2
2006-11-29 10:30:05 +00:00
Ryan C. Gordon
5071475bf1 A few more AmigaOS things.
--HG--
branch : SDL-1.2
2006-10-29 04:08:50 +00:00
Ryan C. Gordon
52d7186a38 Removed broken AmigaOS support.
Fixes Bugzilla #337.

--HG--
branch : SDL-1.2
2006-10-29 03:58:27 +00:00
Sam Lantinga
d4a5e956a0 Bumped the version in subversion to 1.2.12
--HG--
branch : SDL-1.2
2006-09-24 00:10:59 +00:00
Sam Lantinga
630f780f93 Fixed bug #278
Added the GFX_Display to the wminfo structure, contributed by Eric

--HG--
branch : SDL-1.2
2006-09-24 00:08:28 +00:00
Sam Lantinga
5ffeed6e77 Updated the version to 1.2.11 2006-06-25 18:07:34 +00:00
Sam Lantinga
a3ab9747a9 2006-06-25 17:14:39 +00:00
Sam Lantinga
7e37690ca4 Fixed including stdint.h with gcc on Win32 2006-06-25 17:12:08 +00:00
Sam Lantinga
2e6c98ee3a Fixed bug #256 2006-06-21 07:35:02 +00:00
Sam Lantinga
61cc023f8a Moved DirectInput joystick code to 1.3 branch 2006-05-21 17:26:40 +00:00
Sam Lantinga
c0441f5cf0 Closed bug #74
Added DirectInput joystick code, contributed by Glenn Maynard.

This fixes a problem with the Windows Multimedia joystick driver
not showing all 6 axes on a GameCube controller converter, which
was donated by Jacob Kolding.
2006-05-21 16:47:41 +00:00
Sam Lantinga
0e9999cdab Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll 2006-05-17 18:57:04 +00:00
Sam Lantinga
530fd10d07 Fixed alloca declaration for MPW 2006-05-14 05:20:36 +00:00
Sam Lantinga
26a61f597c Hey, whaddy know! MacOS Classic has 64-bit types! 2006-05-13 16:30:59 +00:00
Sam Lantinga
b775d4c6b8 Fixed bug #221
The Carbon build on Mac OS X uses the toolbox video driver, not quartz.
2006-05-10 07:25:37 +00:00
Sam Lantinga
0083eea4ff Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior 2006-05-10 07:08:41 +00:00
Sam Lantinga
01facc50f8 Fixed bug #218
Currently there are two Classic-only drivers defined in "SDL_config_macos.h",
and the ones in "SDL_config_macosx.h" are Mach-O/framework-only (i.e. not CFM)

As a workaround, I disabled CDROM and JOYSTICK when building SDL for CFM
Carbon.
2006-05-09 15:14:48 +00:00
Sam Lantinga
556a504e41 Fixed bug #203
Disable screensaver and DPMS blanking while SDL app is running.
2006-05-08 06:38:13 +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