188 Commits

Author SHA1 Message Date
Sam Lantinga
de8aa2291c Fixed bug #52
Integrated most of the NetBSD and DragonFly patches at:
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/patches/

Thanks to Thomas Klausner for defailed information on the patches

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401569
2006-03-21 08:54:50 +00:00
Sam Lantinga
ab022a8987 Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401549
2006-03-15 17:46:41 +00:00
Sam Lantinga
5e6d989ad4 By default all the real targets have dummy audio/video and disk audio.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401537
2006-03-14 16:19:32 +00:00
Ryan C. Gordon
66d3d81854 Implemented dummy audio driver.
Fixes Bugzilla #161.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401536
2006-03-14 08:53:33 +00:00
Sam Lantinga
78d1c55577 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401521
2006-03-13 05:44:14 +00:00
Sam Lantinga
61549bf6a5 Updated MacOS Classic build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401520
2006-03-13 05:36:42 +00:00
Sam Lantinga
393b8049ba Added _strnicmp support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401516
2006-03-13 02:12:39 +00:00
Sam Lantinga
d99aa28246 Win32 fixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401514
2006-03-13 02:06:33 +00:00
Sam Lantinga
d066241b5d Fixed bug #112
Added SDL_GetKeyRepeat()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401511
2006-03-13 01:41:32 +00:00
Sam Lantinga
cf05f2fab8 Fixed bug #139
The text in SDL_WM_SetCaption() is in UTF-8 encoding.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401509
2006-03-13 01:33:58 +00:00
Sam Lantinga
3750cb6c4d Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401505
2006-03-13 01:08:00 +00:00
Sam Lantinga
cd3a1db9db 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401501
2006-03-11 23:46:45 +00:00
Sam Lantinga
f8abad7e04 X11 support isn't installed by default
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401496
2006-03-11 15:47:56 +00:00
Sam Lantinga
d12cf83d8f Dynamic OpenGL loading is the default now. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401494
2006-03-09 15:11:15 +00:00
Sam Lantinga
6b8ad54291 Prettified. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401493
2006-03-09 13:34:58 +00:00
Sam Lantinga
1e0fe602e4 Eric is setting up X11 support for the XCode project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401492
2006-03-09 13:25:43 +00:00
Sam Lantinga
c0aec157c6 Cleaning up warnings on MacOS X
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401491
2006-03-09 06:33:21 +00:00
Sam Lantinga
df3dfeb000 Added documentation on how to build a completely useless SDL library. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401488
2006-03-08 08:30:17 +00:00
Sam Lantinga
261018216d More Win64 updates
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401484
2006-03-07 05:21:32 +00:00
Sam Lantinga
309cc6b8e1 Updated MacOS X support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401483
2006-03-07 04:58:30 +00:00
Sam Lantinga
6ea7c0b0d1 Only use Altivec on PowerPC architecture
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401482
2006-03-06 19:20:38 +00:00
Sam Lantinga
ddf8eb57fc Get Microsoft's preprocessor symbols in there
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401479
2006-03-06 16:37:18 +00:00
Sam Lantinga
c27132b50d Maybe it's easier to collect the big-endian architectures. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401478
2006-03-06 16:33:23 +00:00
Sam Lantinga
97d70fea63 Whoops, built without libC support - doh!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401477
2006-03-06 15:29:41 +00:00
Sam Lantinga
8039553413 Enabled libc support on Win32, so we don't break binary compatibility in 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401475
2006-03-06 07:42:36 +00:00
Sam Lantinga
0917598732 Fixed declarations to match mingw includes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401474
2006-03-06 06:00:45 +00:00
Sam Lantinga
c86537b7d4 Added ARM and SH4 detection for WinCE development environment
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401473
2006-03-06 01:34:36 +00:00
Sam Lantinga
a401cf0a7a *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401470
2006-03-05 22:18:15 +00:00
Sam Lantinga
7d970e27e2 Updated WinCE support by Dmitry (with some tweaks)
Converted the disk audio driver to SDL_RWops for portability

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401469
2006-03-04 08:24:35 +00:00
Sam Lantinga
b8ecf02fdf Updated for Dreamcast KOS June 2005 snapshot:
http://cadcdev.sourceforge.net/svn/snapshots/
http://gamedev.allusion.net/softprj/kos/dcsetup.php

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401465
2006-03-02 13:16:02 +00:00
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
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
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
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
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
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
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
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
d5f983162e *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401410
2006-02-21 09:14:58 +00:00
Sam Lantinga
c36118165e Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
2006-02-21 08:46:50 +00:00
Sam Lantinga
5427ab0258 NetBSD support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401387
2006-02-20 03:57:03 +00:00
Sam Lantinga
c7eed5263e On FreeBSD, alloca is defined in stdlib.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401385
2006-02-20 02:30:15 +00:00