Commit graph

5169 commits

Author SHA1 Message Date
Sam Lantinga
291e8f9bf5 Atari joystick fixes contributed by Patrice Mandin
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40508
2002-10-05 16:27:29 +00:00
Sam Lantinga
1af95cab8a Fixed cursor resource leak in Windows (thanks Huib-Jan Imbens!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40507
2002-10-05 05:46:32 +00:00
Sam Lantinga
3d1ff0f23e *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40506
2002-10-05 05:44:09 +00:00
Sam Lantinga
605e7e0057 Fixed SDL_main.c on Windows CE with applications containing spaces in their names.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40505
2002-10-05 05:42:56 +00:00
Sam Lantinga
f4d9f8e59f Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahiro!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40504
2002-10-05 05:32:49 +00:00
Sam Lantinga
0a5479f0c8 Fixed mouse wheel events on MacOS X
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40503
2002-10-05 05:11:20 +00:00
Sam Lantinga
7b88c89815 Lots of cleanups by Darrell, added the ability to resize Cocoa windows.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40502
2002-10-05 05:07:57 +00:00
Sam Lantinga
2ac6973950 Fixed YUV overlay code for Quicktime 6
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40501
2002-10-05 04:56:32 +00:00
Sam Lantinga
e001f91de4 Added an aborted try at making fullscreen work on Xinerama screen != 0
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40500
2002-09-30 00:35:25 +00:00
Sam Lantinga
9489d57f28 Fixed window update problems on MacOS X 10.2 (thanks Darrell!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40499
2002-09-16 18:38:09 +00:00
Sam Lantinga
b191a1af95 Cleaned up the SDL_VIDEO_WINDOW_POS variable support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40498
2002-09-16 08:22:25 +00:00
Sam Lantinga
6bbd447643 Don't be fooled by unclutter - the mouse isn't really leaving our window
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40497
2002-09-16 07:09:04 +00:00
Sam Lantinga
34a52528ff Date: Thu, 12 Sep 2002 20:35:51 -0400
From: Darrell Walisser
Subject: Jag joystick fix (take 2)

This patch enables all HID devices, not just joysticks. This quell
complaints about gamepads not working, though I don't have I gamepad to
verify this theory.

Before, only joysticks were recognized. Now, all HID devices except the
keyboard and mouse will be recognized.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40496
2002-09-16 06:50:26 +00:00
Sam Lantinga
d81041f4bb *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40495
2002-09-16 06:26:22 +00:00
Sam Lantinga
40bb8b5aab Applied John Popplewell's fix for left-handed mice under Windows.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40492
2002-09-16 06:14:46 +00:00
Sam Lantinga
f580d052f7 Fixed missing cursor after shadow buffer flip (thanks Jan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40489
2002-09-09 03:22:19 +00:00
Sam Lantinga
aee272f0a5 Fixed trashing the framebuffer console on broken video drivers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40488
2002-09-02 21:42:15 +00:00
Sam Lantinga
32e1f1bc86 Fixed a typo in a previous patch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40487
2002-09-02 16:02:17 +00:00
Sam Lantinga
82ab8e4d2d Date: Sun, 1 Sep 2002 21:27:54 -0400 (EDT)
From: "Ryan C. Gordon"
Subject: [SDL] Minor X11 hack:

Here's a patch to center a newly-created, non-fullscreen X11 window.
While this may or may not be suitable for adding to SDL officially, I
didn't want to put any Xlib dependencies in my code directly.

To use:

- Apply patch/rebuild.
- export SDL_WINDOW_POS=center
- Call SDL_SetVideoMode as needed.

(Ideally, this could be expanded to handle other commands like
SDL_WINDOW_POS=20x190, etc, and could be implemented for other targets,
but this is really a hack to avoid API changes).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40486
2002-09-02 15:58:29 +00:00
Sam Lantinga
513d7b333c Date: Sat, 31 Aug 2002 15:42:45 +0200
From: Alexandre Courbot
Subject: [SDL] Qtopia port fixes/improvments

-Whenever the screen is rotated, the pad is rotated as well,
-Fixed a mouse bug: when tapping on the screen, the click event was
often sent at the previous position of the stylus (resulting in strange
behavior in Scummvm for instance)
-Added the SDL_QT_INVERT_ROTATION environment variable which, when set,
rotates the screen (and the mouse, and the pad) the other way. This can
be useful for left-handed people.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40482
2002-09-01 00:37:24 +00:00
Sam Lantinga
cf7d4082e0 Date: Tue, 27 Aug 2002 19:07:38 +0200
From: Denis Oliver Kropp
Subject: YUV support

I just added YUV overlay support to the DirectFB backend.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40479
2002-08-31 04:13:28 +00:00
Sam Lantinga
4a1ab27d1f Date: Tue, 27 Aug 2002 16:14:11 +0200
From: Denis Oliver Kropp
Subject: Palette support and 8bit color keying fix

This patch adds support for 8bit palette modes dropping
the RGB332 stuff. It also fixes color keying for 8bit.
testsprite (without -bpp >8) looks correct again.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40478
2002-08-31 04:06:37 +00:00
Sam Lantinga
b653266009 Tell the dock about command-line launched applications
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40477
2002-08-31 04:01:19 +00:00
Sam Lantinga
9f74acc70f Darrell's Jag joystick fix
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40476
2002-08-31 01:31:44 +00:00
Sam Lantinga
e9f15ec055 Doh! Patch by Joel Ray Holveck
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40475
2002-08-28 23:25:09 +00:00
Sam Lantinga
169fcbaa21 Date: Sat, 24 Aug 2002 22:20:01 -0600
From: "Greg Haerr"
Subject: Announce: sdl-nanox-patch

Sam,
    I've created an update patch for enhanced Nano-X support
with SDL.  I've created the patch against SDL-1.2.4.  I'd appreciate
it if you would apply it to the next SDL version.

Enhancements include:

1. Small bugfixes to compile without errors
2. Support for direct client-side framebuffer access with configure option
3. Add dynamic pixel type support for hardware framebuffer; eliminating the
need for compile-time configuration option.

I've updated the README.NanoX file with the details.

This version has been tested with Microwindows v0.89pre9 CVS
and SMPEG 0.4.4.  I've added multi-threading support to
Microwindows to support the multi-threaded SMPEG, and
all works fine.  To turn on thread safety in Microwindows,
use THREADSAFE=Y in the Microwindows config file.

Thanks!

Regards,

Greg
Founder, The Microwindows Project
http://microwindows.org

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40472
2002-08-25 06:21:49 +00:00
Sam Lantinga
76728d8561 Removed unused function
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40470
2002-08-24 17:30:49 +00:00
Sam Lantinga
314bd78b53 Fixed 2048 pixel limitation in DirectX blit code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40469
2002-08-24 17:15:45 +00:00
Sam Lantinga
8a2b5b9e0c Date: Fri, 23 Aug 2002 11:48:56 +0200
From: Denis Oliver Kropp
Subject: Another patch

this is another patch fixing key code mapping
along with some other fixes and better mode handling.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40465
2002-08-24 15:29:06 +00:00
Sam Lantinga
5310d6d97f Fixed offset bug in hardware accelerated fills and blits
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40463
2002-08-20 16:58:49 +00:00
Sam Lantinga
fae7d836a8 Date: Thu, 18 Jul 2002 23:51:40 +0200 (MEST)
From: Krister Walfridsson
Subject: [SDL] src/joystick/bsd/SDL_sysjoystick.c patch

The *BSD USB HID joystick code has two serious bugs:

1. If a joystick reports unhandled hid_input usage (for example HUG_RZ or
   HUG_DIAL), then the last handled value will be overwritten with an
   arbitrary value. (Fixed in the patch below by adding a default case.)

2. The current code does only handle logical coordinates in the range 0-255,
   while a big part of available joysticks report -128 - 127. (This is solved
   in the patch below by first center the range around 0, and then stretch
   it to the correct range.)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40462
2002-08-20 06:08:42 +00:00
Sam Lantinga
8b7ced1708 Reset mouse state when changing video modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40461
2002-08-20 06:01:20 +00:00
Sam Lantinga
d79f2837b1 Fixed bug where video mode wasn't restored after ALT-tab in with DirectX
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40460
2002-08-20 05:59:31 +00:00
Sam Lantinga
96f1a7b806 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40459
2002-08-20 04:55:37 +00:00
Sam Lantinga
81a23f5e99 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40458
2002-08-20 04:49:05 +00:00
Sam Lantinga
9e7b2297be Fixed crash with invalid bpp in SDL_SetVideoMode()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40457
2002-08-20 04:44:36 +00:00
Sam Lantinga
76afd78776 Fixed mouse motion on MacOS X (recently broken)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40455
2002-08-20 00:24:38 +00:00
Sam Lantinga
a3897183c7 Updated for embedded Visual C++ 4.0
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40454
2002-08-20 00:20:06 +00:00
Sam Lantinga
aa3ff02a85 Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40452
2002-08-19 18:09:44 +00:00
Sam Lantinga
a05e8ec098 Added SDL_GL_STEREO for stereoscopic OpenGL contexts
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40451
2002-08-19 17:58:08 +00:00
Sam Lantinga
79fc29317c Added an environment variable SDL_VIDEO_X11_WMCLASS
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40450
2002-08-19 03:40:44 +00:00
Sam Lantinga
12ceb2a088 Fullscreen windows are always topmost under Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40449
2002-08-19 03:09:25 +00:00
Sam Lantinga
09288d7f56 Fixed mouse grab going fullscreen to windowed in Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40448
2002-08-19 02:34:22 +00:00
Sam Lantinga
4fe2e406a5 Fixed video crash on older XFree86 servers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40446
2002-08-18 18:33:02 +00:00
Sam Lantinga
fe1b097b38 Only modifier key state is noted when X11 window opens
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40445
2002-08-18 03:19:59 +00:00
Sam Lantinga
ebfc431b9f Added temporarily disabled code for hardware acceleration in windowed mode.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40444
2002-08-17 19:36:43 +00:00
Sam Lantinga
da6273a8f0 Flush message queue when shutting down video mode on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40443
2002-08-17 19:17:18 +00:00
Sam Lantinga
16a3c5faef Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40442
2002-08-17 19:17:01 +00:00
Sam Lantinga
c077c03867 Removed DDFLIP_WAIT flag from DirectX flip for improved performance
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40441
2002-08-17 18:11:23 +00:00
Sam Lantinga
0d4764446e *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40440
2002-08-17 18:03:06 +00:00