Commit graph

2268 commits

Author SHA1 Message Date
Sam Lantinga
42b81dd3ee Added patch note for revision 5005
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404019
2009-10-10 09:21:09 +00:00
Sam Lantinga
c56bce7975 Debian patch: 209_alsa_priority.diff
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404018
2009-10-10 09:07:51 +00:00
Sam Lantinga
87ffb1444e Debian patch: 050_altivec_detection.diff
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404017
2009-10-10 09:03:08 +00:00
Sam Lantinga
2fd226c25c Changed environment variable to match Debian patch 205_lock_keys.diff
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404016
2009-10-10 09:02:17 +00:00
Sam Lantinga
37ec7a4604 Disable iPodLinux code by default (can be enabled with --enable-ipod)
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404015
2009-10-10 08:59:28 +00:00
Sam Lantinga
69e01437c8 Debian patch: 040_propagate_pic_to_nasm.diff
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404014
2009-10-10 08:56:01 +00:00
Sam Lantinga
de7e975cc7 Debian patch: 030_pulseaudio_enable.diff
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404013
2009-10-10 08:50:35 +00:00
Sam Lantinga
650e3d941d Debian patch: 020_libcaca_new_api.diff
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404012
2009-10-10 08:46:06 +00:00
Sam Lantinga
e154913136 Updated change log with recent checkins
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404011
2009-10-10 08:11:36 +00:00
Sam Lantinga
467af3d4a9 Fixed bug #627
Increased accuracy of alpha blend calculation

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404008
2009-10-10 07:48:15 +00:00
Ryan C. Gordon
a716c9878f Moved to stable ALSA API.
This cleans up a few problems with our use of the ancient ALSA 0.9 API.

This means we can ditch the dlvsym() nonsense and use SDL_LoadFunction(), too.

 Fixes Bugzilla #745.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404006
2009-10-10 07:33:18 +00:00
Sam Lantinga
b613ffc4f1 Fixed bug #634
If TranslateMessage() isn't done, then IME messages aren't generated.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404005
2009-10-10 07:30:00 +00:00
Ryan C. Gordon
f0c110f75a Cache the swap control setting, even on Mesa.
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404002
2009-10-10 06:38:02 +00:00
Ryan C. Gordon
f9ef094b34 Fixed incorrect return value test for SGI swap control.
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403999
2009-10-10 05:21:31 +00:00
Ryan C. Gordon
f9c9c5e9c5 Default value for SGI swap control GL attribute should be -1.
Explicitly try to set it if you want a different value. Different glX
 implementations appear to have different defaults for this, and you can't
 query them for the current value.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403998
2009-10-10 05:17:47 +00:00
Sam Lantinga
259a72541e Fixed bug #798
kty@lavabit.com      2009-09-19 14:19:04 PDT

The stable release of SDL 1.2.13 for BeOS/Haiku has a bug in
BE_FindClosestFSMode that causes it to sometimes not select the best mode when
going fullscreen. There are in fact two bugs in the implementation but I will
not go into specifics because there is already a patch for it in the developer
SVN 1.3. However I am still reporting it because I believe the following code
is a better patch for the issue. The current implementation on SVN only works
if it is able to find an exact match for the requested mode. However, by
scanning from lowest-to-highest resolution instead of highest-to-lowest, one
can find the best mode at all times

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403997
2009-10-10 02:11:07 +00:00
Sam Lantinga
dbb19d2093 Fixed bug #831
Andrey      2009-10-09 08:08:04 PDT

gapi_hires_fix

I made a mistake with the conclusions.
And last time I as was mistaken with conclusions.
Now I thought about in more detail the algorithm works.
I have made it that the project fheroes2 well worked.
The result of my work in attachment.
I have a possibility to check up it on different models pocketpc.
I checked various modes screen of 320x320, 320x240, 640x480, 800x400.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403996
2009-10-10 02:03:53 +00:00
Ryan C. Gordon
f8cb9e8845 Remove sdl.pc during "make uninstall"
Fixes Bugzilla #813 for the 1.2 branch.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403991
2009-10-08 09:02:03 +00:00
Ryan C. Gordon
ef83107326 Allow Unicode filenames in RWOPS on Windows.
Fixes Bugzilla #733.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403990
2009-10-08 07:48:37 +00:00
Sam Lantinga
f619466ff9 Ozkan Sezer 2009-04-01 23:17:13 PDT
This change should be applied to the 1.2 branch, too, because the svn version
SDL_net requires it.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403989
2009-10-08 07:45:55 +00:00
Sam Lantinga
0cfa331d1a Update config.guess and config.sub
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403988
2009-10-08 07:09:04 +00:00
Sam Lantinga
0818c28108 SDL 1.2.14 is a recommended update.
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403985
2009-10-07 08:03:32 +00:00
Sam Lantinga
8329a0a1dd Updated documentation with major changes for 1.2.14
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403984
2009-10-07 08:00:20 +00:00
Sam Lantinga
70baaa8962 SuSE 11.1 installs directfb-config without directfb-devel, so check to
make sure the development headers are actually available!

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403982
2009-10-07 06:11:19 +00:00
Sam Lantinga
6ae47f142b Fixed building without OpenGL support
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403981
2009-10-07 06:10:40 +00:00
Sam Lantinga
b3e1d764b8 Updated libtool to version 2.2.6a
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403975
2009-10-04 22:31:25 +00:00
Sam Lantinga
c333e0b976 Fixed make dist
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403970
2009-10-04 20:45:55 +00:00
Sam Lantinga
4b01e2b3df Split acinclude.m4 into its constituent parts for easy upgrading
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403968
2009-10-04 20:31:21 +00:00
Sam Lantinga
7938819eb0 Make the temporary black window be the maximum of all visible dimensions
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403967
2009-10-04 20:30:45 +00:00
Sam Lantinga
8306ca976a You should check for the C compiler before you set CFLAGS. :)
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403956
2009-10-02 13:50:50 +00:00
Sam Lantinga
63514f1d3d Fixed nasm detection for newer autotools
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403954
2009-10-02 11:26:59 +00:00
Sam Lantinga
2f5c328821 Updated version for mingw32 build
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403953
2009-10-02 11:12:04 +00:00
Sam Lantinga
6c8ffa7537 Fixed VC2005 compiler warnings
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403950
2009-09-30 20:38:28 +00:00
Sam Lantinga
891d14426c I just tested DGA mouse motion with X.org 1.6.0 and it's working fine,
with evdev and the G5 mouse.  It's not creating a ton of events here.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403949
2009-09-30 04:49:57 +00:00
Ryan C. Gordon
8c8764bf22 Make SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) work with GLX_SGI_swap_control.
Fixes Bugzilla #697.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403947
2009-09-29 13:50:33 +00:00
Ryan C. Gordon
6e3f41a14a Removed isCustom ... not used any more.
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403946
2009-09-29 13:42:33 +00:00
Ryan C. Gordon
5e4d01fd76 Removed duplicate memset() calls.
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403945
2009-09-29 13:40:34 +00:00
Ryan C. Gordon
0dce7571db Fixed SDL_VIDEO_WINDOW_POS environment variable for Quartz target.
Fixes Bugzilla #628.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403944
2009-09-29 13:07:36 +00:00
Ryan C. Gordon
c33a599c21 Batch x11 dga mouse motion events into a single SDL event.
Untested attempt to fix Bugzilla #609. Do not merge into 1.3 in any case.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403943
2009-09-29 11:28:43 +00:00
Sam Lantinga
7641b0d28a Reverted revision 4880 since this breaks installation on Mac OS X.
We'll just punt the bug for 1.2.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403940
2009-09-29 06:31:29 +00:00
Ryan C. Gordon
a743f75101 Fixed strict aliasing (or inline asm?) issue.
Some versions of GCC need this fix or alpha blending is broken.

  Fixes Bugzilla #648.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403939
2009-09-29 04:03:58 +00:00
Sam Lantinga
47ede754f4 Temporary band-aid for bug #575
It looks like newer kernels do the logical device mapping in the driver,
so this code crashes.  I don't have one of these nor do I have remote
access to debug this, so I'm disabling the logical mapping for now.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403936
2009-09-29 00:37:36 +00:00
Ryan C. Gordon
2a75c8d91a Removed -rpath from link line.
We don't need to look in the library's install dir for dependencies;
 They are all system libraries that should be in other path lists anyhow.

 Fixes Bugzilla #499.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403934
2009-09-28 18:21:58 +00:00
Ryan C. Gordon
1f55bda9c6 Added *.dSYM (Mac OS X debug symbols) to svn:ignore list for test dir.
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403933
2009-09-28 18:16:48 +00:00
Sam Lantinga
24c1ef56a4 Fixed compile issue
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403930
2009-09-28 07:58:58 +00:00
Sam Lantinga
0284e3d3c2 Added keyboard output for debugging bug #659
--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403929
2009-09-28 07:04:25 +00:00
Sam Lantinga
a1bc67d384 Vitaly Minko to slouken
Hi all,

I wrote a patch, which allows user to rotate the screen in case of fbcon driver.
The rotation angle is controlled by SDL_VIDEO_FBCON_ROTATION environment variable and possible values are:
not set        - Not rotating, no shadow.
"NONE"    - Not rotating, but still using shadow.
"CW"         - Rotating screen clockwise.
"UD"          - Rotating screen upside down.
"CCW"      - Rotating screen counter clockwise.

The patch is based on wscons driver, written by Staffan Ulfberg.

I tested it on
Device:                Sharp Zaurus SL-C1000
SDL version:       1.2.13
Kernel version:    2.6.24.4

Best regards,
Vitaly.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403928
2009-09-28 06:23:22 +00:00
Sam Lantinga
da04894796 Fixed bug #716
Armin Burgmeier      2009-03-15 04:35:45 PDT

When I hold a mouse button down on another (non-SDL) window, then move the
mouse over an SDL window and releasing the mouse button there, then the
application does not receive an SDL_ACTIVEEVENT with state SDL_APPMOUSEFOCUS
and gain 1.

Furthermore, SDL_GetAppState() reports the application not having mouse focus
until moving the mouse out of the window and back in again.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403926
2009-09-27 23:22:57 +00:00
Sam Lantinga
0bb1a6126e Fixed bug #616
rainer canavan      2009-03-29 12:30:12 PDT

add default visual to this->hidden->visuals

X11_SetIcon appears to have problems getting the correct bpp for the default
visual of my screen. With larger icons, this causes a segfault somewhere in
libX11. Instead of adding the default visual to the internal list, I can work
around this problem (both the segfault and the distortion) by setting bpp to 32
before sicon = SDL_CreateRGBSurface(...) in X11_SetIcon, although with this
patch, it stays at 24.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403925
2009-09-27 22:41:34 +00:00
Sam Lantinga
f0e159b32a Improved bug #759
Don't crash if creating the X image failed.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403924
2009-09-27 22:29:13 +00:00