Commit Graph

11015 Commits

Author SHA1 Message Date
Sam Lantinga
5cf1524725 *** empty log message *** 2006-03-14 16:20:28 +00:00
Sam Lantinga
9491ae58df By default all the real targets have dummy audio/video and disk audio. 2006-03-14 16:19:32 +00:00
Ryan C. Gordon
58b18d03af Implemented dummy audio driver.
Fixes Bugzilla #161.
2006-03-14 08:53:33 +00:00
Ryan C. Gordon
1d1702a6bd Fixed cut-and-paste error in DC audio target. 2006-03-14 08:35:39 +00:00
Sam Lantinga
0d42fc151d Updated CodeWarrior export list with SDL_iconv 2006-03-14 08:01:30 +00:00
Sam Lantinga
dc991f4f84 Updated MacOS Classic and MacOS X exports list 2006-03-14 07:55:40 +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
f783145e4f Fixed bug #67
Re-enable OpenGL window resetting code for the windib driver
2006-03-14 07:40:33 +00:00
Sam Lantinga
9dca113b1c Fixed bug #124
Print Screen key events weren't reported on Windows
2006-03-14 07:06:06 +00:00
Sam Lantinga
a23a0d8b52 Fixed bug #38
I'm using SDL 1.2.9 with Visual C++ 7.0 on Windows 2000.

Here's the setup: my game starts in a window, with
SDL_WM_GrabInput(SDL_GRAB_ON) to constrain the cursor to the game window. The
mouse cursor is outside of the window when the game launches, and when the
window appears the cursor is grabbed and placed at the top left corner of the
inside of the game window. At this point, if I click the mouse without moving
it, the SDL_MOUSEBUTTONDOWN event's mouse coordinates are (65535,65535).
2006-03-14 06:00:30 +00:00
Sam Lantinga
b12fa835ee Fixed bug #46
Date: Fri, 13 Jan 2006 18:09:45 -0500
From: mhall4400 vipmail kvcc edu
Subject: Possible SDL bug

Greetings

I believe Ive come across a bug in your SDL product (1.2.9), in the CD-ROM
control portion of the library.

When calling the SDL_CDPlay() function to play the last track of a CD using the
offset and length from an SDL_CD structure generated by SDL_CDOpen(), I get the
following error from a call to SDL_Error():

mciSendCommand() error: The specified parameter is out of range for the
specified command.

The code returning the error is:
SDL_CDPlay(g_playingDriveSDLCD,
g_playingDriveSDLCD->track[trackNumberInt].offset,
g_playingDriveSDLCD->track[trackNumberInt].length)

Subtracting one from the length of the provided length seems to repair the
problem:
SDL_CDPlay(g_playingDriveSDLCD,
g_playingDriveSDLCD->track[trackNumberInt].offset,
(g_playingDriveSDLCD->track[trackNumberInt].length) - 1)

Ive replicated this problem on Windows 98 SE (several months since last
patch), fully-patched Window ME, seldom-patched Windows XP SP1, and
fully-patched Windows XP SP2.

While investigating the issue, I came across a line in your librarys win32
source code in file \src\cdrom\win32\SDL_syscdrom.c (source code zip archive
from your download page), function: SDL_SYS_CDGetTOC(), line 226 where you add
1 to the value for length to fix MCI last track length bug.  This may be the
source of the issue (because subtracting 1 from the length seems to resolve the
issue).  Microsoft may have patched the referenced bug since you wrote that
line.

Mike Hall
2006-03-14 05:34:39 +00:00
Sam Lantinga
15ec416643 (patch tweaked a bit)
Date: Tue, 14 Mar 2006 03:30:11 +0000
From: Peter Mulholland
Subject: [SDL] Windows MessageBox() strangeness fixes

Hello all,

I *think* this should fix the issues that people were seeing with
MessageBox() not working and therefore assert() on mingw/msvc. Forgive
me if i've screwed up making the diff file - I'm a total newb when it
comes to things like CVS and diff.

It modifies a few files as I saw that FlushMessageQueue() was in both
the windx5 and windib driver, so I moved this into wincommon. It was
also in the gapi driver, so I changed that too. The function is now
WIN_FlushMessageQueue() in src/video/wincommon/SDL_syswm.c
2006-03-14 04:00:03 +00:00
Sam Lantinga
43f3300313 *** empty log message *** 2006-03-14 03:04:50 +00:00
Sam Lantinga
84f5e115fd CFLAGS are separate from EXTRA_CFLAGS
Fixed iconv.h detection on Cygwin32
2006-03-14 02:46:26 +00:00
Sam Lantinga
c43f4f0dcb Add the NAS library directory, since X11 is dynamically loaded now...
FIXME: See if we can dynamically load NAS
2006-03-13 18:01:34 +00:00
Sam Lantinga
b6313a8a66 RFC 3629 restricted the range of characters encoded with UTF-8 to 0000-10FFFF (the UTF-16 accessible range) 2006-03-13 17:25:44 +00:00
Sam Lantinga
d9374eb0ea Updated by Ryan Gordon 2006-03-13 16:56:01 +00:00
Sam Lantinga
b61fcd32f3 *** empty log message *** 2006-03-13 05:44:14 +00:00
Sam Lantinga
9e352303d7 Updated MacOS Classic build 2006-03-13 05:36:42 +00:00
Sam Lantinga
3f35ae60ac The exports file isn't necessary on BeOS anymore 2006-03-13 04:35:59 +00:00
Sam Lantinga
d352cae418 Added SDL_iconv.c to the Embedded Visual C++ projects
Added missing target configurations
2006-03-13 02:35:32 +00:00
Sam Lantinga
2650f98d04 *** empty log message *** 2006-03-13 02:26:47 +00:00
Sam Lantinga
3227f8dde8 Added _strnicmp support 2006-03-13 02:12:39 +00:00
Sam Lantinga
ef9f176174 Added SDL_iconv.c to MPW Makefile 2006-03-13 02:12:15 +00:00
Sam Lantinga
2b03f1c722 Win32 fixes 2006-03-13 02:06:33 +00:00
Sam Lantinga
b23eae2079 Added SDL_iconv.c to the Dreamcast Makefile 2006-03-13 01:47:03 +00:00
Sam Lantinga
576291efb0 The Win32 exports file isn't used by mingw anymore 2006-03-13 01:43:18 +00:00
Sam Lantinga
165dd0af40 Fixed bug #112
Added SDL_GetKeyRepeat()
2006-03-13 01:41:32 +00:00
Sam Lantinga
cdcf935e32 Added SDL_iconv.c to the Visual C++ projects 2006-03-13 01:40:49 +00:00
Sam Lantinga
a50362ff8f Fixed bug #139
The text in SDL_WM_SetCaption() is in UTF-8 encoding.
2006-03-13 01:33:58 +00:00
Sam Lantinga
a4aafdfe5d *** empty log message *** 2006-03-13 01:20:05 +00:00
Sam Lantinga
80b5071de2 props yo 2006-03-13 01:17:22 +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
870a0b4ab6 Fixed bug #150
memory leak in SDL_thread.c
2006-03-12 01:18:29 +00:00
Sam Lantinga
7e824c4d92 Fixed bug #149 2006-03-12 00:57:50 +00:00
Sam Lantinga
bba47a076b Fixes from Dmitry Yakimov:
fixed bugs 159 and 160:

+ added threaded timers support
! fixed restoring sdl window focus (AV in windows message handler)
! disabled forgotten cdrom and joystick in config file.
* disabled minimizing sdl window while loosing focus.
  PocketPC does not have a task bar, so it is an inconvenient and unusual
  behaviour for PPC users.
+ added WIN_Paint handler for GAPI
! fixed loosing focus while using GAPI videi driver

+ added TestTimer project
* removed unnecessary macros (ENABLE_WINDIB ...) from projects
2006-03-11 23:46:45 +00:00
Sam Lantinga
551ac822f6 *** empty log message *** 2006-03-11 23:44:21 +00:00
Sam Lantinga
3169ca4c13 Might have fixed 64-bit issues. :) 2006-03-11 22:54:12 +00:00
Sam Lantinga
f98b79e0f3 Fixed make distclean 2006-03-11 20:16:50 +00:00
Sam Lantinga
5b4e4f9c01 Clean up temporary files. I'm not sure how this got removed, but whatever... 2006-03-11 20:16:20 +00:00
Sam Lantinga
01ddf01384 X11 support isn't installed by default 2006-03-11 15:47:56 +00:00
Sam Lantinga
0145498df7 Don't crash if SDL_Flip() is called with an OpenGL mode set 2006-03-09 16:12:34 +00:00
Sam Lantinga
14c1061d01 Dynamic OpenGL loading is the default now. :) 2006-03-09 15:11:15 +00:00
Sam Lantinga
08dc55989c Prettified. :) 2006-03-09 13:34:58 +00:00
Sam Lantinga
5965120edc Eric is setting up X11 support for the XCode project 2006-03-09 13:25:43 +00:00
Sam Lantinga
887d7dce86 Cleaning up warnings on MacOS X 2006-03-09 06:33:21 +00:00
Sam Lantinga
71b551642f Re-added C runtime support for Visual C++ 5,6 2006-03-08 18:30:12 +00:00
Sam Lantinga
cbdcbbf82c *** empty log message *** 2006-03-08 08:31:08 +00:00