930 Commits

Author SHA1 Message Date
Sam Lantinga
461cccf912 Fixed mouse focus events after resetting video mode on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40830
2004-02-15 22:50:28 +00:00
Sam Lantinga
1d18f35f0b Lots of people have contributed cash. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40829
2004-02-15 22:04:46 +00:00
Sam Lantinga
e7ba4dda09 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40828
2004-02-15 21:47:42 +00:00
Sam Lantinga
e846c76112 Showed how to toggle fullscreen mode if the API isn't supported
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40827
2004-02-15 20:31:27 +00:00
Sam Lantinga
5204847367 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40826
2004-02-15 18:45:45 +00:00
Patrice Mandin
4114dc9f1a -lgem must appear after -lldg
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40825
2004-02-15 08:32:25 +00:00
Sam Lantinga
1cafb7e2d4 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40824
2004-02-15 03:42:56 +00:00
Sam Lantinga
1ebb410fc7 Programs should really be handling SIGPIPE themselves
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40823
2004-02-14 23:45:42 +00:00
Sam Lantinga
d3c3bef835 Date: Sat, 14 Feb 2004 14:52:40 +0200
From: "Mike Gorchak"
Subject: Batch of the QNX6 fixes for the SDL

1.  Updated readme.QNX
2.  Fixed crashes during intensive window updating under fast machines (got over 200 rectangles for update).
3.  Fixed double-buffered fullscreen modes, now it works as needed.
4.  Fixed Photon detection algorithm.
5.  Fixed HWSURFACE update function.
6.  Added SDL_PHOTON_FULLSCREEN_REFRESH environment variable support for control refresh rates under Photon.
7.  Added 640x400 fullscreen mode emulation via 640x480 (if videodriver not supports original 640x400 mode of course) shifted by 40 vertical pixels from begin, to center it. It's needed for some old DOS games which ran in doubled 320x200 mode.
8.  Added available video ram amount support.
8.  Added hardware surface allocation/deallocation support if current videomode and videodriver supports it.
9.  Added hardware filling support.
10. Added hardware blits support (simple and colorkeyed).

And I've added to testvidinfo test color-keyed blits benchmark (maybe need to add alpha blits benchmark too ?). Currently Photon not supporting any alpha hardware blittings (all drivers lack of alpha blitting code support, only software alpha blitting exist in photon, which is hundreds times slowest than the SDL's one). So I've not added the alpha support. I suppose new QNX 6.3 will have the hardware alpha support, so when it will be done, I'll add alpha support.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40822
2004-02-14 20:22:21 +00:00
Patrice Mandin
bdc7c65e1a Important crash fix: system vectors for mouse/joystick were not restored
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40821
2004-02-14 10:12:27 +00:00
Sam Lantinga
0776f6fd31 Update the version on the SDL shared library. Use SDL stub library for tests.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40820
2004-02-14 06:04:41 +00:00
Sam Lantinga
79e4af5a53 Fixed typo in DirectFB driver (thanks Frank!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40819
2004-02-13 18:39:01 +00:00
Sam Lantinga
79e9658546 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40818
2004-02-13 18:01:22 +00:00
Sam Lantinga
c5311cee75 Date: Fri, 13 Feb 2004 17:03:16 +0100
From: Max Horn
Subject: Modifier key fix

The internal modifier state can get out of sync with reality. To
trigger this, do for example this:
  1) Launch an SDL app
  2) Alt-click on the desktop (this will hide the SDL app).
  3) Bring the SDL app back to the front
  4) SDL will still think alt is pressed (and as such will treat left
clicks like middle clicks). If you press and release alt, it'll be fine
again.

The attached patch cures this by rechecking the modifier state whenever
we process an event.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40817
2004-02-13 17:57:16 +00:00
Sam Lantinga
70fe60bc54 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40816
2004-02-13 06:42:17 +00:00
Sam Lantinga
12fa222cec Use sigaction instead of signal to preserve handler flags (thanks Matthew!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40815
2004-02-12 16:29:24 +00:00
Sam Lantinga
b2cf21a244 Added support for remote XVideo (thanks Frederic!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40814
2004-02-12 16:05:30 +00:00
Sam Lantinga
4434a0e564 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40813
2004-02-12 06:21:13 +00:00
Sam Lantinga
20f0f2997d Don't use hardware overlay by default (seems much faster this way)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40812
2004-02-11 16:50:54 +00:00
Sam Lantinga
7158e313c2 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40811
2004-02-11 16:40:17 +00:00
Sam Lantinga
6858c59ad0 Date: Tue, 13 Jan 2004 19:25:37 +0300
From: Dmitry Yakimov
Subject: [SDL] [PATCH] SDL bug patch

  Let me introduce 2 fixes to SDL.

  1. Preventing great slowdown on fast machines while hardware
     flipping (it's obviously bug).
  2. Setting up 85 Hz of monitor if supported. The reason is that
     Win98 by default sets lowest frequency 60 Hz.
     And we can't set up maximum frequency because some users can have
     wrong monitor drivers.
     This is important for shareware and commercial programs.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40810
2004-02-11 16:10:16 +00:00
Sam Lantinga
317cf8a35b Simplify code and clean up Valgrind warning
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40809
2004-02-11 07:26:29 +00:00
Sam Lantinga
cd10cd4c74 Fixed static linking on MacOS X (thanks Max!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40808
2004-02-11 07:09:11 +00:00
Sam Lantinga
f183cb88cf Updated projects with cpuinfo API
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40807
2004-02-10 17:34:38 +00:00
Sam Lantinga
a423b0ba59 Date: Wed, 04 Feb 2004 13:51:56 +0100
From: Jens Leuschner
Subject: Small patch for libSDL

In newer XFree86 releases in the German keyboard the "AltGr"-Key no
longer produces the keysym "Mode_switch", instead it produces
"ISO_Level3_Shift".
I have created a small patch against SDL-1.2.6 (which cleanly applies to
the current CVS-SDL too) that makes SDL recognize ISO_Level3_Shift as
AltGR key.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40806
2004-02-10 15:39:15 +00:00
Sam Lantinga
f199a5d964 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40805
2004-02-10 15:31:35 +00:00
Sam Lantinga
fbce506d5a Updated SDL HTML documentation
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40804
2004-02-10 15:15:40 +00:00
Sam Lantinga
83ca4b6cb1 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40803
2004-02-08 22:21:30 +00:00
Patrice Mandin
242d72da84 Video modes must be sorted by Y size, for SDL_GetVideoMode() to operate properly
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40802
2004-02-07 11:25:56 +00:00
Patrice Mandin
1eb2c47509 When commiting code, cleanup before doing it
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40801
2004-02-06 22:53:32 +00:00
Patrice Mandin
4bbc2ed998 Bugfixes: some info about current framebuffer overwritten by some default values, and screen width must be multiple of 16 pixels to work correctly
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40800
2004-02-06 22:41:00 +00:00
Sam Lantinga
7877fcc87d *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40799
2004-01-31 21:23:15 +00:00
Patrice Mandin
11632a8558 Milan and Hades Atari clones do not have an Atari video chip
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40798
2004-01-31 08:57:03 +00:00
Sam Lantinga
28e5ce27fc *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40797
2004-01-31 06:49:18 +00:00
Sam Lantinga
fdf58b5852 Check for altivec assembly support before trying to use it. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40796
2004-01-29 16:15:12 +00:00
Sam Lantinga
ac5cdde4c1 Updated for the latest version of automake
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40795
2004-01-29 16:14:09 +00:00
Sam Lantinga
19cdbdcc6b Altivec detection on non-MacOS X systems
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40794
2004-01-29 05:22:23 +00:00
Sam Lantinga
5bc0572376 Added an exports target so I can make the exports all at once. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40793
2004-01-29 04:39:08 +00:00
Sam Lantinga
9ba01100ec *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40792
2004-01-29 04:35:51 +00:00
Sam Lantinga
07754d3f95 Date: Wed, 28 Jan 2004 20:25:54 +0100
From: Thomas Jarosch
Subject: Re: [SDL] DSPF_RBG15 in src/video/directfb/SDL_DirectFB_video.c

In my local DirectFB 0.1.19 copy, DSPF_RGB15 is an alias for DSPF_ARGB1555.
They seem to have it removed in DirectFB CVS.

As DSPF_RGB15 was only an alias, the attached patch
can safely be applied to SDL and won't brake older DirectFB versions.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40791
2004-01-28 22:01:02 +00:00
Sam Lantinga
3949843e34 Date: Wed, 28 Jan 2004 02:37:04 +0100
From: Max Horn
Subject: Small libtool patch (framework related)

here is a small patch for ltmain.sh. It corrects a problems with the
libSDL.la file, which prevented applications using a version of libtool
w/o framework support (read: all currently released libtool version) to
not being able to link with SDL anymore. I also notified the libtool
maintainers, as the same problem exists in libtool CVS.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40790
2004-01-28 01:57:34 +00:00
Sam Lantinga
12dff8fe0a Updated Project Builder projects
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40789
2004-01-26 06:33:27 +00:00
Sam Lantinga
3ea2a3ddaa Date: Sat, 24 Jan 2004 14:49:58 +0100
From: Stephane Marchesin
Subject: Re: [SDL] 3DNow! detection on a P4 system

Well... I found another bug : 3dnow was detected on P2/P3 cpus. So I
took one more look at the code and found a mistake in
CPU_getCPUIDFeaturesExt :
The condition for having extended cpuinfo is that when we query extended
cpuinfo we get a result >=  0x80000001. So we must exit if eax < 0x80000001.
The attached patch does that.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40788
2004-01-24 15:55:00 +00:00
Sam Lantinga
f423ef91dd *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40787
2004-01-24 05:57:56 +00:00
Sam Lantinga
faea93909a Fixed bugs in CPU feature detection and added extended feature detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40786
2004-01-24 05:47:19 +00:00
Sam Lantinga
64e04065e4 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40785
2004-01-17 20:37:06 +00:00
Sam Lantinga
2767c4d681 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40784
2004-01-13 15:14:27 +00:00
Sam Lantinga
573ea99423 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40783
2004-01-11 21:43:13 +00:00
Sam Lantinga
846597a040 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40782
2004-01-08 16:01:07 +00:00
Patrice Mandin
1c5d8853a5 Add to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40781
2004-01-07 18:24:06 +00:00