Commit graph

1004 commits

Author SHA1 Message Date
Sam Lantinga
a87c386058 Fixed compiling on Windows CE
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40141
2001-08-09 05:51:34 +00:00
Sam Lantinga
8fd4e7fc4e Fixed potential buffer overflow in Linux CD code (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40140
2001-08-09 05:34:17 +00:00
Sam Lantinga
848f5a9b72 Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40139
2001-08-09 05:31:32 +00:00
Sam Lantinga
3d9ea4a0ee Added hardware stretching code to scale 640x480 to TV resolution
There's a bug of some kind in the 16bpp code. ??

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40137
2001-08-01 08:41:45 +00:00
Sam Lantinga
76c9127515 Added initial support for TV output modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40136
2001-08-01 05:01:08 +00:00
Sam Lantinga
95e1f2d5eb Fix compile riva fb problem on older kernels
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40135
2001-08-01 03:23:40 +00:00
Sam Lantinga
a97788ad8e Added support for hardware accelerated NVidia driver on framebuffer console
Still missing colorkey and alpha blit support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40134
2001-07-31 20:08:51 +00:00
Sam Lantinga
9b77d2cd86 Added button-up with mouse-wheel on framebuffer console
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40133
2001-07-31 06:08:11 +00:00
Sam Lantinga
3f722efa22 Fixed audio format selection for OpenBSD (thanks Peter!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40132
2001-07-31 05:39:36 +00:00
Sam Lantinga
6bb44f76a9 The rectangle argument to SDL_SetClipRect is really const
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40131
2001-07-31 05:36:10 +00:00
Sam Lantinga
5641408419 Avoid a compiler warning when configured with --disable-threads
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40129
2001-07-31 00:32:27 +00:00
Sam Lantinga
5554c9e570 Oops, that wasn't right...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40128
2001-07-31 00:26:32 +00:00
Sam Lantinga
ea547cf165 Fix build when GL_CLIENT_PIXEL_STORE_BIT is not defined
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40126
2001-07-31 00:11:41 +00:00
Sam Lantinga
8a6dd452d0 Fixed the project builder project archive
Added a rule to generate the archive from loose directories too. :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40124
2001-07-23 19:48:28 +00:00
Sam Lantinga
15e2f09e61 Don't worry about a minimum repeat rate - let the user hang themselves...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40123
2001-07-23 04:34:52 +00:00
Sam Lantinga
1412a1724e Name changed from OBSD to OPENBSD_AUDIO
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40122
2001-07-23 02:58:42 +00:00
Sam Lantinga
d687fcb09b Re-adding SDLMain.nib.tar.gz, so people don't have to use stationary.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40121
2001-07-22 23:45:42 +00:00
Sam Lantinga
c41d612838 Fix noise when starting audio under DX5 (thanks Jesse!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40119
2001-07-22 21:25:22 +00:00
Sam Lantinga
77331bf064 Fixed fullscreen mouse events on MacOS X
Fixed crash when quitting fullscreen mode on MacOS X

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40118
2001-07-22 20:57:24 +00:00
Sam Lantinga
432e70c604 Removed debug info accidentally comitted
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40116
2001-07-21 18:36:37 +00:00
Sam Lantinga
841a877674 Now returns an error if unable to open audio on BeOS
Fixed bugs in fullscreen/windowed mode changes, removed duplicated code.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40115
2001-07-20 20:07:53 +00:00
Sam Lantinga
890d033735 Fixed crash if mouse is outside of the screen bounds for some reason
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40114
2001-07-18 20:08:18 +00:00
Sam Lantinga
37aa008a3e Incorporated slightly modified version of Rainer's WinCE patch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40113
2001-07-18 20:04:23 +00:00
Sam Lantinga
b444cb0240 Now gets correct keyboard state when starting up on X11
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40112
2001-07-14 20:37:24 +00:00
Sam Lantinga
8b57da4c5c SDL GL dynamic loading fix for OpenBSD
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40111
2001-07-14 19:11:26 +00:00
Sam Lantinga
75213d1709 Fixed switching away from the SDL at the framebuffer console
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40110
2001-07-14 19:10:06 +00:00
Sam Lantinga
a079e29715 Merged DGA video surface handling improvements, unified locking code.
Fixed matrox blit bug where src Y less than dst Y
Fixed hardware surface init when no resolution change

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40107
2001-07-13 10:19:51 +00:00
Sam Lantinga
7ddaf6cf9a Some minor name changes to clean up
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40106
2001-07-13 10:15:52 +00:00
Sam Lantinga
f4969ff561 Detect more types of IMPS/2 mouse
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40105
2001-07-13 01:21:59 +00:00
Sam Lantinga
c3aaf60a7d Don't crash if freeing a hardware surface after the video mode has been
reset.  Fortunately we keep track of the video memory internally.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40103
2001-07-12 23:34:44 +00:00
Sam Lantinga
76b5d94d9d DGA video driver is now thread-safe
Improved DGA hardware acceleration code

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40102
2001-07-12 20:42:22 +00:00
Sam Lantinga
a169a6c32e Fixed using the video mode extension on older servers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40101
2001-07-11 20:18:52 +00:00
Sam Lantinga
49aa27fdd4 Oops, I committed debug code...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40100
2001-07-09 23:26:13 +00:00
Sam Lantinga
d8a033f83d Fixed some problems with the fullscreen code. Wooo. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4099
2001-07-09 22:36:16 +00:00
Sam Lantinga
0d895fa8a8 Revert to old non-blocking writes (if it ain't broke, don't fix it)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4098
2001-07-09 15:47:40 +00:00
Sam Lantinga
c8f2e030dc Fixed blocking open bug when using blocking audio writes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4097
2001-07-09 15:46:41 +00:00
Sam Lantinga
acab15a3bd Cleaned up the OpenBSD port, thanks to Peter Valchev
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4095
2001-07-08 09:00:06 +00:00
Sam Lantinga
ea5f242f09 Applied Hannu's fix and switched to blocking writes .. seems to work?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4094
2001-07-07 23:27:29 +00:00
Sam Lantinga
e70ae1ccbc Fixed the DMA driver not to reset the audio descriptor (not needed, and
it breaks things on some drivers)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4093
2001-07-07 23:12:42 +00:00
Sam Lantinga
6369aeaaa5 From: "Markus F.X.J. Oberhumer"
Subject: SDL CVS patches

below you will find some small patches against the
current SDL CVS.

It adresses these things:

1) Use "&" instead of "%" in some cases. For negative
   signed integers (x % 8) is not always (x & 7),
   and the compiler can produce slightly faster
   code when using "&" here.

2) Some const issues.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4092
2001-07-07 20:20:17 +00:00
Sam Lantinga
b4001bd1ff Fix to allow SDL compiled under XFree v4 to work with XFree v3 xservers.
Contributed by Jarek Sobieszek

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4091
2001-07-07 08:08:42 +00:00
Sam Lantinga
ec76bd6aef Added Holger Schemel's fix for SDL_GetTicks() on W2K
This adds QueryPerformanceCounter() support, which is probably a good thing.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4090
2001-07-07 08:03:34 +00:00
Sam Lantinga
96c6144609 Hopefully fixed the fullscreen mode code for KDE
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4089
2001-07-07 07:59:37 +00:00
Sam Lantinga
b28f12dc1c Dummy audio and video drivers are enabled (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4087
2001-07-02 00:20:29 +00:00
Sam Lantinga
cd8cd98f62 Oops, don't include debug code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4084
2001-06-26 17:41:16 +00:00
Sam Lantinga
2311157d38 When the mouse is grabbed, send the application the motion associated with
the enter/leave notify events.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4083
2001-06-26 17:40:59 +00:00
Sam Lantinga
143a1a0938 Added the SDL_VIDEO_YUV_DIRECT hack for better performance when the
requested video mode is 16 bpp but the real video mode is 32 bpp.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4082
2001-06-25 22:16:44 +00:00
Sam Lantinga
3fe72f0ebb Oops, reversed the logic of the variable
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4081
2001-06-23 22:02:27 +00:00
Sam Lantinga
b84fc3f7b6 Allow the user to override the relative mouse mode.
They almost never want to do this, as it seriously affects
applications that rely on continuous relative mouse motion.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4080
2001-06-23 22:00:59 +00:00
Sam Lantinga
b51058100e Added the environment variable SDL_MOUSE_NORELATIVE to completely disable
relative mouse motion if the application desires it.  UNDOCUMENTED!!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4079
2001-06-23 18:51:29 +00:00