Commit Graph

381 Commits

Author SHA1 Message Date
Sam Lantinga
b72574a05f Added UNIX RDTSC code by Lompak (disabled by default) 2002-03-23 20:54:17 +00:00
Sam Lantinga
4dd0495e9d Date: Sat, 23 Mar 2002 13:53:37 +0200
From: "Mike Gorchak" <mike@malva.ua>
Subject: Big QNX patch again.

Added 8bit palette emulation code for window mode with bpp>=15.
Added store/restore original palette for 8bit modes.
Added more information about photon API call fails.
Rewroten change palette code, slow but works.
Fixed bug with set caption before window was inited.
Fixed bugs with some initial state of variables.
Fixed bug with storing old video mode settings.
Fixed bug with switching to fullscreen mode and back.
Fixed few double SEGFAULTS during parachute mode.
Removed compilation warning with no PgWaitHWIdle prototype.
Removed pack of dead unusable code.
Cleanups SDL_PrivateVideoData structure, some headers.
Some code formatting.
2002-03-23 20:19:44 +00:00
Sam Lantinga
3e40bd66ae *** empty log message *** 2002-03-22 18:11:56 +00:00
Sam Lantinga
3bf83bf076 *** empty log message *** 2002-03-20 02:37:44 +00:00
Sam Lantinga
ae7fc0d9ac Date: Fri, 15 Mar 2002 18:24:59 GMT+1
From: Patrice Mandin <pmandin@caramail.com>
Subject: [SDL] [PATCH] Atari port, bug in xbios driver driver

Hello,
This patch correct a stupid mistake in the FlipHWSurface
function, where I forgot to update surface->pixels when
using a double buffered surface.
2002-03-20 02:24:29 +00:00
Sam Lantinga
168be7ea37 Blit bug fix from John Popplewell 2002-03-20 02:21:46 +00:00
Sam Lantinga
2284e9b846 *** empty log message *** 2002-03-11 17:38:56 +00:00
Sam Lantinga
89ae82d36d *** empty log message *** 2002-03-10 03:55:45 +00:00
Sam Lantinga
07517ed0a3 This properly scales axes, and adds support for sliders/wheels 2002-03-10 03:49:25 +00:00
Sam Lantinga
d7b7de529d Only put surfaces in video memory if there are accelerated blits 2002-03-10 03:38:32 +00:00
Sam Lantinga
e8bc164967 Atari port cleanups from Patrice 2002-03-10 03:33:59 +00:00
Sam Lantinga
c614d54c49 *** empty log message *** 2002-03-10 03:25:47 +00:00
Sam Lantinga
13cdb1874f *** empty log message *** 2002-03-07 20:29:04 +00:00
Sam Lantinga
fb51244561 Added Atari joystick support (thanks Patrice!) 2002-03-07 20:23:11 +00:00
Sam Lantinga
a920f9c93e Fixed dynamic arts support. 2002-03-06 19:14:17 +00:00
Sam Lantinga
630eb716ba *** empty log message *** 2002-03-06 18:25:45 +00:00
Sam Lantinga
44941fea20 *** empty log message *** 2002-03-06 11:32:00 +00:00
Sam Lantinga
df4885048e Updated copyright information for 2002 2002-03-06 11:23:08 +00:00
Sam Lantinga
eba3a46432 Removed the API changes to preserve SDL 1.2 stability 2002-03-06 11:05:47 +00:00
Sam Lantinga
5f032b10b9 *** empty log message *** 2002-03-06 05:37:21 +00:00
Sam Lantinga
663bb62fb6 Added a new header file: SDL_loadso.h
It contains the following functions:
	SDL_LoadObject(), SDL_LoadFunction(), SDL_UnloadObject()
The UNIX esd and arts audio code use these to dynamically load
their respective audio libraries.
2002-03-06 05:20:11 +00:00
Sam Lantinga
1b3daf84e9 *** empty log message *** 2002-03-05 23:19:37 +00:00
Sam Lantinga
393bef31ab Added SDL_LockRect() and SDL_UnlockRect()
Incorporated XFree86 extension libraries into the source
2002-03-05 19:55:32 +00:00
Sam Lantinga
3ff890d752 Date: Thu, 21 Feb 2002 09:18:24 +0200
From: "Mike Gorchak" <mike@malva.ua>
Subject: Re: Patches for QNX RtP again.

SDL_ph_image.c   - Added OpenGL update functions - fixed some application
crashes.
                   Some dead code removed, reformatting some functions.
SDL_ph_image_c.h - Added OpenGL update function prototype.
SDL_ph_video.c   - Added GL_GetAttribute and GL_SetAttribute functions
                   with next supported flags: SDL_GL_DOUBLEBUFFER,
                   SDL_GL_STENCIL_SIZE, SDL_GL_DEPTH_SIZE
                   GetWMInfo function (stub) has been implemented by me,
                   but not listed in device structure - fixed.
SDL_ph_wm.c      - fixed warning 'no return in non-void function'.
README.QNX       - Updating readme. Some spellcheck. ;-)
2002-03-02 16:50:35 +00:00
Sam Lantinga
927224b6da *** empty log message *** 2002-03-01 18:24:12 +00:00
Sam Lantinga
d83b593984 Fixed "short jump out of range" error in MMX code 2002-03-01 18:01:16 +00:00
Sam Lantinga
d7055457fd Updated for Watcom C++ and LCC compilers 2002-02-28 00:28:26 +00:00
Sam Lantinga
2c0dc59125 From: Patrice Mandin <pmandin@caramail.com>
Subject: [SDL] [PATCH] Little cleanups for Atari port
2002-02-27 16:15:34 +00:00
Sam Lantinga
db9d6663b4 Updated for DirectFB 0.9.9 2002-02-26 14:38:53 +00:00
Sam Lantinga
c368187c6f *** empty log message *** 2002-02-22 17:39:11 +00:00
Sam Lantinga
76b2f0f6fe *** empty log message *** 2002-02-21 21:51:29 +00:00
Sam Lantinga
33fd976b90 Date: Mon, 18 Feb 2002 16:46:59 +1200
From: Julian Kinraid <jkinraid@clear.net.nz>
Subject: Patches for photon port of SDL

Hi,

A couple more patches for photon and the nto audio.  Adds mouse grabbing
support, fixed cursor images, unicode keyboard events (though no unicode
data on kye release, is that a problem?), hopefully fixing some audio
lag problems, and a few other fixes.

Thanks,
Julian Kinraid
2002-02-20 01:05:51 +00:00
Sam Lantinga
7abcf44b51 Fixed SDL_OPENGLBLIT with OpenGL API newer than 1.2 2002-02-20 01:02:33 +00:00
Sam Lantinga
78006c91ad Added initial support for Atari (thanks Patrice!) 2002-02-17 19:54:28 +00:00
Sam Lantinga
28ac66feae Mike Gorchak added some QNX tweaks, including OpenGL support 2002-02-14 02:15:15 +00:00
Sam Lantinga
24a229e61b Added support for joysticks on *BSD (thanks Wilbern!) 2002-02-14 01:24:08 +00:00
Sam Lantinga
c512571a8a Updated the documentation for the SDL_PushEvent() call. 2002-02-13 23:40:13 +00:00
Sam Lantinga
00667d13c7 Added support for the pause key under DirectX 2002-02-13 18:21:48 +00:00
Sam Lantinga
17066571f5 David Snopek added Borland compiler support 2002-02-13 17:45:24 +00:00
Sam Lantinga
1cddfc9f70 *** empty log message *** 2002-01-22 21:14:36 +00:00
Sam Lantinga
4d6f5152b8 Date: Sat, 19 Jan 2002 17:24:32 -0500 (EST)
From: Darrell Walisser <dwaliss1@purdue.edu>
Subject: SDL Quartz video update

-better mouse motion events
-fixed minification bugs (except OpenGL)
-fixed QZ_SetGamma for correct semantics
-fade/unfade display before/after rez switch
-experimental obscured-check/blind-copy code

The obscured code, while it speeds up window drawing substantially, isn't
ready yet. The reason is that there doesn't (yet) seem to be a way to know
when the window is dragged or when the window suddenly comes to the
foreground. Since Carbon windows seem to allow detection of such things, I
suspect it is possible through some window server API. Cocoa(NSWindow) has no
functions for such things, AFAIK.
2002-01-22 18:46:28 +00:00
Sam Lantinga
73be5737ee Now works "out of the box" on BSDI 2002-01-22 18:28:35 +00:00
Sam Lantinga
929836e200 From: "Mattias Engdeg�rd" <f91-men@nada.kth.se>
To: slouken@devolution.com
Subject: Re: [SDL] Question about SDL_FillRect()

I benchmarked with and without clipping UpdateRects and was unable to find
any difference on my moderately slow machine. Anyway, I haven't added
clipping in this patch, but fixed a couple of bugs and generally cleaned
up some of the X11 image code. Most importantly, UpdateRects now checks
for both zero height and width. Also, I eliminated the entire code to
byteswap X11 images since X11 can do that automatically if you ask it
nicely :-)
2002-01-18 22:02:03 +00:00
Sam Lantinga
cc70c7851b Added Quartz version of SDL_SetIcon() for MacOS X (thanks Bob) 2002-01-18 19:41:59 +00:00
Sam Lantinga
ab110067b7 Added QNX cleanups by Mike Gorchak (thanks!) 2002-01-18 18:14:03 +00:00
Sam Lantinga
ca11fc6596 *** empty log message *** 2002-01-18 17:14:16 +00:00
Sam Lantinga
390463c009 *** empty log message *** 2002-01-14 19:20:39 +00:00
Sam Lantinga
b198dbb7d5 Don't allow multiple audio opens to succeed (until SDL 1.3) 2002-01-09 16:04:58 +00:00
Sam Lantinga
dc8a7d752f *** empty log message *** 2001-12-20 22:46:09 +00:00
Sam Lantinga
763e6eaffc *** empty log message *** 2001-12-17 19:56:28 +00:00
Sam Lantinga
5cf27bf3f5 Updated Amiga port by Gabriele Greco 2001-12-16 20:00:27 +00:00
Sam Lantinga
acfcfd3e44 Updated the source with the correct e-mail address 2001-12-14 12:38:15 +00:00
Sam Lantinga
170e6c55bc *** empty log message *** 2001-12-14 12:30:25 +00:00
Sam Lantinga
ffd31e2ecf Reset the device before closing it - fixes a hang with some audio drivers 2001-12-06 01:20:22 +00:00
Sam Lantinga
e3a9b8d5a8 Fix crash with Linux supermount fstab entries (thanks Erno!) 2001-12-05 23:49:09 +00:00
Sam Lantinga
46d9b34ab4 From: "Mattias Engdeg�rd" <f91-men@nada.kth.se>
Subject: X11 icon byte order bug

This fixes a small byte order bug when running X on a remote host
with a >8bpp screen.

Cheers,
       	Mattias
2001-11-27 01:26:57 +00:00
Sam Lantinga
4faa015012 *** empty log message *** 2001-11-26 22:22:20 +00:00
Sam Lantinga
afa1d7f8fd Fixed timeout in Linux condition variable implementation 2001-11-23 17:11:05 +00:00
Sam Lantinga
e58898392c Added support for Xi Graphics XME fullscreen extension 2001-11-22 04:55:38 +00:00
Sam Lantinga
f8e6b4ee92 Oops, forgot a directory here... 2001-11-08 07:27:25 +00:00
Sam Lantinga
19fbf189dc Fixed X11 icon color allocation (thanks Mattias!) 2001-11-07 17:59:07 +00:00
Sam Lantinga
e7bd69be5f Removed a warning 2001-11-07 17:58:41 +00:00
Sam Lantinga
ceeb50bee0 Don't generate a spurious error on SDL_InitVideo() 2001-11-06 00:15:04 +00:00
Sam Lantinga
716d5f5e1f Greatly improved Xinerama video mode support 2001-11-04 04:18:43 +00:00
Sam Lantinga
6972d8be3a Fix a crash if an OpenGL video mode can't be set. 2001-11-04 04:18:27 +00:00
Sam Lantinga
6eef77e957 Added X11 Xinerama support - fullscreen starts on screen 0 2001-11-03 17:03:16 +00:00
Sam Lantinga
090e4d7ff0 Disabled virtual terminal check for SVGAlib video 2001-11-02 22:41:32 +00:00
Sam Lantinga
d68f41c1bc Fixed building hermes objects with automake 1.5 (thanks winterlion) 2001-11-02 19:59:41 +00:00
Sam Lantinga
8c52fa6ea0 Fixed key repeat interactions with event filters (thanks Elmar!) 2001-11-02 19:49:14 +00:00
Sam Lantinga
5f2a95f4ca *** empty log message *** 2001-11-02 18:12:52 +00:00
Sam Lantinga
3f32bb3f05 *** empty log message *** 2001-11-01 16:45:40 +00:00
Sam Lantinga
22702a3868 Updated SDL DirectFB backend for DirectFB version 0.9.7 2001-11-01 16:21:40 +00:00
Sam Lantinga
9388d01003 Hack workaround to fix MacOS X install problems 2001-10-26 14:51:22 +00:00
Sam Lantinga
b5a328767b Use the sticky focus flag so audio isn't muted when application is switched. 2001-10-25 08:45:17 +00:00
Sam Lantinga
bf208cab4a Fail if setting a video mode when requesting GL and can't get it. 2001-10-25 06:22:38 +00:00
Sam Lantinga
dc476eef77 *** empty log message *** 2001-10-25 04:35:42 +00:00
Sam Lantinga
8a8a90deea If we're looking at the /dev/input event devices, and we found
at least one, then we don't want to look at the input joystick
devices, since they're built on top of devices that we've already
seen, so we're done.
2001-10-22 21:34:50 +00:00
Sam Lantinga
b89c0c35c5 *** empty log message *** 2001-10-18 15:07:09 +00:00
Sam Lantinga
7ae557e4d2 *** empty log message *** 2001-10-16 15:04:00 +00:00
Sam Lantinga
bb34dcfc73 *** empty log message *** 2001-10-16 15:01:37 +00:00
Sam Lantinga
971133992f Fixed flashing the screen when creating a window on BeOS 2001-10-14 20:30:10 +00:00
Sam Lantinga
01485db66e Added double-buffering support for SVGAlib (thanks Kutak!) 2001-10-14 19:49:02 +00:00
Sam Lantinga
851e200c32 Added photon fixes submitted by Luca Barbato 2001-10-08 18:54:06 +00:00
Sam Lantinga
2f093a6d0d Fixed crash when using double-buffering with DGA 2001-09-30 20:19:20 +00:00
Sam Lantinga
7fecde14df Fixed last track time calculation (thanks Tchi Southivong) 2001-09-30 19:07:56 +00:00
Sam Lantinga
fddab31e4b *** empty log message *** 2001-09-23 22:16:02 +00:00
Sam Lantinga
9ce6f9c692 *** empty log message *** 2001-09-23 22:10:03 +00:00
Sam Lantinga
f6f355df36 *** empty log message *** 2001-09-23 21:58:52 +00:00
Sam Lantinga
2d8666020c Oops, back out that SDL_main -> SDLMain conversion 2001-09-23 21:09:08 +00:00
Sam Lantinga
10281e513e *** empty log message *** 2001-09-23 20:52:11 +00:00
Sam Lantinga
1db106b3c1 Fixed resuming a paused CD on Win2K (thanks Aragorn) 2001-09-23 20:51:36 +00:00
Sam Lantinga
d08a76b227 Changed SDLMain to SDL_main for MacOS X stuff 2001-09-23 20:42:00 +00:00
Sam Lantinga
fbf4e3619d *** empty log message *** 2001-09-23 18:19:44 +00:00
Sam Lantinga
a3841f5d8f *** empty log message *** 2001-09-14 04:58:24 +00:00
Sam Lantinga
42f4b914ae Added support for the GNU Pth thread lib (thanks Mandin!) 2001-09-14 04:34:15 +00:00
Sam Lantinga
242df18e66 Added the Undo key for the Atari keyboard 2001-09-14 04:33:01 +00:00
Sam Lantinga
c7e0ec9735 *** empty log message *** 2001-09-14 02:59:59 +00:00
Sam Lantinga
b4130ea24b Fix XVideo on GeForce by using last available adaptor 2001-09-14 02:55:36 +00:00
Sam Lantinga
128d20567a Do proper typecasting so this compiles on IRIX 2001-09-13 16:41:03 +00:00
Sam Lantinga
5120a1a09f *** empty log message *** 2001-09-13 16:15:43 +00:00
Sam Lantinga
e889a75dbc Added CD-ROM support for BSD/OS (thanks Steven!) 2001-09-13 15:57:48 +00:00
Sam Lantinga
9d24ce25e5 *** empty log message *** 2001-09-11 20:58:28 +00:00
Sam Lantinga
ea0baf75a0 Fix for "make dist" 2001-09-11 20:49:27 +00:00
Sam Lantinga
cebbe1bf54 *** empty log message *** 2001-09-11 20:42:32 +00:00
Sam Lantinga
c0412c2a37 Added initial support for EPOC/Symbian OS (thanks Hannu!) 2001-09-11 20:38:49 +00:00
Sam Lantinga
6de0291d84 Date: Sat, 8 Sep 2001 04:42:23 +0200
From: Max Horn <max@quendi.de>
Subject: SDL/OSX: Joystick; Better key handling

I just finished implementing improved keyhandling for OS X (in fact
the code should be easily ported to the "normal" MacOS part of SDL, I
just had no chance yet). Works like this:
First init the mapping table statically like before. Them, it queries
the OS for the "official" key table, then iterates over all 127
scancode and gets the associates ascii code. It ignores everythng
below 32 (has to, as it would lead to many problems if we did not...
e.g. both ESC and NUM LOCk produce an ascii code 27 on my keyboard),
and all stuff above 127 is mapped to SDLK_WORLD_* simply in the order
it is encountered.
In addition, caps lock is now working, too.
The code work flawless for me, but since I only have one keyboard, I
may have not encountered some serious problem... but I am pretty
confident that it is better than the old code in most cases.


The joystick driver works fine for me, too. I think it can be added
to CVS already. It would simply be helpful if more people would test
it. Hm, I wonder if Maelstrom or GLTron has Joystick support? That
would be a wonderful test application :)


I also took the liberty of modifying some text files like BUGS,
README.CVS, README.MacOSX (which now contains the OS X docs I long
promised)
2001-09-11 19:00:18 +00:00
Sam Lantinga
c91c0751a6 Handle the case where the WAVE magic number was already read in a non-seekable
stream.  I don't know if the code works with non-seekable streams anyway, but
...
2001-09-11 18:52:45 +00:00
Sam Lantinga
10c9f2909e Allow building SDL on Windows without audio support 2001-09-04 23:21:20 +00:00
Sam Lantinga
3e1a97bb62 Added Max's patches for building MacOS X apps on command line 2001-09-04 23:18:45 +00:00
Sam Lantinga
f6e8084c7c Added support for DirectFB video on Linux (thanks Denis!) 2001-09-04 22:53:46 +00:00
Sam Lantinga
e51e5b7d1e Fixed Solaris nitpicks (thanks Mattias!) 2001-09-04 22:48:09 +00:00
Sam Lantinga
b236717d4e Joystick initialization fix submitted by Vitaliy Mikitchenko 2001-09-04 22:38:01 +00:00
Sam Lantinga
15ca6fecf4 *** empty log message *** 2001-09-04 22:28:58 +00:00
Sam Lantinga
3651d77620 Removed SDL_blit_A.h (obsolete) 2001-09-04 22:28:55 +00:00
Sam Lantinga
70b09e3401 Fixed mouse wheel motion position on Windows 2001-08-31 21:21:24 +00:00
Sam Lantinga
645f738483 An expose event is now sent when using XVideo output. 2001-08-31 21:08:30 +00:00
Sam Lantinga
bba9986412 Fix title bar setting bug 2001-08-31 20:53:05 +00:00
Sam Lantinga
43ae18a8fa Date: Tue, 21 Aug 2001 03:50:01 +0200
From: Max Horn <max@quendi.de>
Subject: New patch for OS X

Attached a .patch file for SDL/OSX with some nice bug fixes / enhancments.

* fixes the activation issues, which also caused the window to be
always drawn like an inactive. The close/minimize widgets now are
animated properly, too.

* the menu items are automatically adjusted to use the app name
instead of just "SDL App". I did this so that we really can use one
central SDLMain.nib file, w/o requiring developers to make a copy of
it and adjust it.

* libSDLMain now contains the proper cocoa code, not as before the
carbon code. This means apps no longer have to carry a copy of
SDLMain.m/SDLMain.h

* revamped configure.in to properly build a Cocoa/Quartz SDL lib, not
a Carbon based SDL lib
2001-08-21 07:19:59 +00:00
Sam Lantinga
4fe505f6bc Is this right?? 2001-08-20 00:10:35 +00:00
Sam Lantinga
9603c167e6 Date: Thu, 16 Aug 2001 21:50:51 -0500 (EST)
From: Darrell Walisser <dwaliss1@purdue.edu>
Subject: Patch for video bugs + Max's additions

        I've attached a patch for today's CVS that includes Max's virtual
mouse button fix as well as some other changes:

-building mode list correctly now (had duplicate entries, was unsorted)
-switching modes correctly now (wasn't destroying previous mode)
-releasing memory correctly in event loop
2001-08-19 23:57:39 +00:00
Sam Lantinga
49708f7397 Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!) 2001-08-18 22:03:11 +00:00
Sam Lantinga
a679bab3f8 *** empty log message *** 2001-08-18 21:58:26 +00:00
Sam Lantinga
3f94823e27 Fix compiler warnings 2001-08-18 19:21:04 +00:00
Sam Lantinga
463048fb03 Fixed compile errors and added call to SDL_SetModuleHandle() in WinMain() 2001-08-09 14:04:46 +00:00
Sam Lantinga
ed31df1fd6 Audio subsystem no longer assumes sun audio API on UNIX systems 2001-08-09 13:09:47 +00:00
Sam Lantinga
7fcbb74492 Applied David MacCormack's patch to fix SDL_WINDOWID on Windows,
and added a function to cache the application handle so DirectInput
still works properly.
2001-08-09 12:21:32 +00:00
Sam Lantinga
72ee681d20 Include MacOS X in the distribution 2001-08-09 06:05:55 +00:00
Sam Lantinga
0a46f96746 Fixed compiling on Windows CE 2001-08-09 05:51:34 +00:00
Sam Lantinga
7bd83346de Fixed potential buffer overflow in Linux CD code (thanks Ryan!) 2001-08-09 05:34:17 +00:00
Sam Lantinga
be67787cfb Applied Paul Jenner's patches to fix "make distcheck" and "make rpm" 2001-08-09 05:31:32 +00:00
Sam Lantinga
3fc8a94444 Added hardware stretching code to scale 640x480 to TV resolution
There's a bug of some kind in the 16bpp code. ??
2001-08-01 08:41:45 +00:00
Sam Lantinga
e38f96ba18 Added initial support for TV output modes 2001-08-01 05:01:08 +00:00
Sam Lantinga
d0bad78060 Fix compile riva fb problem on older kernels 2001-08-01 03:23:40 +00:00
Sam Lantinga
6d7a58b627 Added support for hardware accelerated NVidia driver on framebuffer console
Still missing colorkey and alpha blit support
2001-07-31 20:08:51 +00:00
Sam Lantinga
8cc99c7505 Added button-up with mouse-wheel on framebuffer console 2001-07-31 06:08:11 +00:00
Sam Lantinga
2cd26c079c Fixed audio format selection for OpenBSD (thanks Peter!) 2001-07-31 05:39:36 +00:00
Sam Lantinga
721e17ba34 The rectangle argument to SDL_SetClipRect is really const 2001-07-31 05:36:10 +00:00
Sam Lantinga
70e1d99b9d Avoid a compiler warning when configured with --disable-threads 2001-07-31 00:32:27 +00:00
Sam Lantinga
0166cd5b97 Oops, that wasn't right... 2001-07-31 00:26:32 +00:00
Sam Lantinga
80329f867e Fix build when GL_CLIENT_PIXEL_STORE_BIT is not defined 2001-07-31 00:11:41 +00:00
Sam Lantinga
466d324523 Fixed the project builder project archive
Added a rule to generate the archive from loose directories too. :)
2001-07-23 19:48:28 +00:00
Sam Lantinga
83b3b692fc Don't worry about a minimum repeat rate - let the user hang themselves... 2001-07-23 04:34:52 +00:00
Sam Lantinga
458f68b0a8 Name changed from OBSD to OPENBSD_AUDIO 2001-07-23 02:58:42 +00:00
Sam Lantinga
c1fb91f6c5 Re-adding SDLMain.nib.tar.gz, so people don't have to use stationary. 2001-07-22 23:45:42 +00:00
Sam Lantinga
85bb94c413 Fix noise when starting audio under DX5 (thanks Jesse!) 2001-07-22 21:25:22 +00:00
Sam Lantinga
3fd373dee2 Fixed fullscreen mouse events on MacOS X
Fixed crash when quitting fullscreen mode on MacOS X
2001-07-22 20:57:24 +00:00
Sam Lantinga
9f587f9b4f Removed debug info accidentally comitted 2001-07-21 18:36:37 +00:00
Sam Lantinga
003579a4fd Now returns an error if unable to open audio on BeOS
Fixed bugs in fullscreen/windowed mode changes, removed duplicated code.
2001-07-20 20:07:53 +00:00
Sam Lantinga
51274ed559 Fixed crash if mouse is outside of the screen bounds for some reason 2001-07-18 20:08:18 +00:00
Sam Lantinga
56d4564bdf Incorporated slightly modified version of Rainer's WinCE patch 2001-07-18 20:04:23 +00:00
Sam Lantinga
a6921c9ad4 Now gets correct keyboard state when starting up on X11 2001-07-14 20:37:24 +00:00
Sam Lantinga
1a8a42eaa1 SDL GL dynamic loading fix for OpenBSD 2001-07-14 19:11:26 +00:00
Sam Lantinga
5884f4c543 Fixed switching away from the SDL at the framebuffer console 2001-07-14 19:10:06 +00:00
Sam Lantinga
5a5132c4be 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
2001-07-13 10:19:51 +00:00
Sam Lantinga
b991a7625c Some minor name changes to clean up 2001-07-13 10:15:52 +00:00
Sam Lantinga
ef7a4e7ca3 Detect more types of IMPS/2 mouse 2001-07-13 01:21:59 +00:00
Sam Lantinga
d14663d824 Don't crash if freeing a hardware surface after the video mode has been
reset.  Fortunately we keep track of the video memory internally.
2001-07-12 23:34:44 +00:00
Sam Lantinga
a02cbafda0 DGA video driver is now thread-safe
Improved DGA hardware acceleration code
2001-07-12 20:42:22 +00:00
Sam Lantinga
1a90a84b31 Fixed using the video mode extension on older servers 2001-07-11 20:18:52 +00:00
Sam Lantinga
cc8ea47fa6 Oops, I committed debug code... 2001-07-09 23:26:13 +00:00
Sam Lantinga
7cb12346d8 Fixed some problems with the fullscreen code. Wooo. :) 2001-07-09 22:36:16 +00:00
Sam Lantinga
b188ea1aae Revert to old non-blocking writes (if it ain't broke, don't fix it) 2001-07-09 15:47:40 +00:00
Sam Lantinga
a4899fcf59 Fixed blocking open bug when using blocking audio writes 2001-07-09 15:46:41 +00:00
Sam Lantinga
59b840a340 Cleaned up the OpenBSD port, thanks to Peter Valchev 2001-07-08 09:00:06 +00:00
Sam Lantinga
b979cd7045 Applied Hannu's fix and switched to blocking writes .. seems to work? 2001-07-07 23:27:29 +00:00
Sam Lantinga
a2bcc85453 Fixed the DMA driver not to reset the audio descriptor (not needed, and
it breaks things on some drivers)
2001-07-07 23:12:42 +00:00
Sam Lantinga
560f273160 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.
2001-07-07 20:20:17 +00:00
Sam Lantinga
e9751fb8fb Fix to allow SDL compiled under XFree v4 to work with XFree v3 xservers.
Contributed by Jarek Sobieszek
2001-07-07 08:08:42 +00:00
Sam Lantinga
59275d4691 Added Holger Schemel's fix for SDL_GetTicks() on W2K
This adds QueryPerformanceCounter() support, which is probably a good thing.
2001-07-07 08:03:34 +00:00
Sam Lantinga
d673f7377b Hopefully fixed the fullscreen mode code for KDE 2001-07-07 07:59:37 +00:00
Sam Lantinga
1599fa494c Dummy audio and video drivers are enabled (thanks Ryan!) 2001-07-02 00:20:29 +00:00
Sam Lantinga
05246a8c28 Oops, don't include debug code 2001-06-26 17:41:16 +00:00
Sam Lantinga
1bbfbc26e7 When the mouse is grabbed, send the application the motion associated with
the enter/leave notify events.
2001-06-26 17:40:59 +00:00
Sam Lantinga
a1c01f9031 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.
2001-06-25 22:16:44 +00:00
Sam Lantinga
b4bf807506 Oops, reversed the logic of the variable 2001-06-23 22:02:27 +00:00
Sam Lantinga
15e9de32c0 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.
2001-06-23 22:00:59 +00:00
Sam Lantinga
e823f3f3c2 Added the environment variable SDL_MOUSE_NORELATIVE to completely disable
relative mouse motion if the application desires it.  UNDOCUMENTED!!
2001-06-23 18:51:29 +00:00
Sam Lantinga
b9601c2409 Don't crash if freeing a cursor after quit... 2001-06-19 21:07:12 +00:00
Sam Lantinga
1d2a08a805 Added patches from FreeBSD ports 2001-06-19 13:33:54 +00:00
Sam Lantinga
597fa80ec1 *** empty log message *** 2001-06-16 06:47:45 +00:00
Sam Lantinga
3ad73fcf82 Oops, forgot the Quartz video directory 2001-06-16 06:43:44 +00:00
Sam Lantinga
de20671834 *** empty log message *** 2001-06-16 03:18:26 +00:00
Sam Lantinga
49bf7df612 Added Linux PlayStation 2 Graphics Synthesizer support 2001-06-16 03:17:45 +00:00
Sam Lantinga
6bcf1db2dd Added /dev/usbmouse to the list of mice to check 2001-06-16 02:48:39 +00:00
Sam Lantinga
046d04bfd8 Added an audio driver that writes to disk (thanks Ryan!) 2001-06-16 01:51:42 +00:00
Sam Lantinga
a937a9eaf5 Support for SVGALib 2.0, thanks to Benjamin Joel Stover 2001-06-16 01:32:09 +00:00
Sam Lantinga
6e12dc6c33 Mouse wheel sends mouse button (4/5) events on Windows 2001-06-16 01:01:42 +00:00
Sam Lantinga
350e33a512 *** empty log message *** 2001-06-11 22:54:34 +00:00
Sam Lantinga
a113e1cdf0 Ryan's IMPS/2 mouse fix 2001-06-11 15:48:32 +00:00
Sam Lantinga
6afaf1af8e * Removed fullscreen menu option from the "Window" menu
* Updated the BUGS file
* Fixed command line parameters when launched from Finder
* Implemented setting the icon window caption
* Implemented frameless style windows
* Added note about SDL_RESIZABLE implementation to SDL_QuartzVideo.m
* Window close requests now go through the event filtering system
2001-06-11 06:44:43 +00:00
Sam Lantinga
a344d09980 *** empty log message *** 2001-06-11 00:08:35 +00:00
Sam Lantinga
c9256f1083 Date: Sun, 10 Jun 2001 17:33:44 -0500
From: Darrell Walisser <dwaliss1@purdue.edu>
Subject: Re: [SDL] Mac OS X Goodies For You

Updates and fixes:

-fixed erasing window when minmizing it (with some minor window redraw problems)
-implemented close box to send SDLQuit event
-fixed messed up alpha on 32bpp windows
2001-06-11 00:08:10 +00:00
Sam Lantinga
6fd76c4cb0 Added MacOS X Project Builder projects 2001-06-10 18:20:23 +00:00
Sam Lantinga
3c15ec830a MacOS X additions from Darrell 2001-06-10 05:02:38 +00:00
Sam Lantinga
7b4aa84979 Oops, back it out... 2001-06-07 15:04:04 +00:00
Sam Lantinga
7f6f1c1a66 Fixed bug in joystick motion, thanks to Alexandre Duret-Lutz 2001-06-07 14:57:07 +00:00
Sam Lantinga
bc0f799883 Mattias' patch 2001-06-07 14:53:18 +00:00
Sam Lantinga
3cbdc6b721 Added initial support for Quartz video (thanks Darrell!) 2001-06-07 14:28:11 +00:00
Sam Lantinga
7392c75089 *** empty log message *** 2001-06-07 13:53:51 +00:00
Sam Lantinga
1962672059 Fix palette creation in windowed mode at 8 bpp 2001-06-07 13:52:10 +00:00