Commit Graph

2264 Commits

Author SHA1 Message Date
Sam Lantinga
599ce4dcba Disable iPodLinux code by default (can be enabled with --enable-ipod)
--HG--
branch : SDL-1.2
2009-10-10 08:59:28 +00:00
Sam Lantinga
81caff6917 Debian patch: 040_propagate_pic_to_nasm.diff
--HG--
branch : SDL-1.2
2009-10-10 08:56:01 +00:00
Sam Lantinga
282e6d58d5 Debian patch: 030_pulseaudio_enable.diff
--HG--
branch : SDL-1.2
2009-10-10 08:50:35 +00:00
Sam Lantinga
2158b7ad24 Debian patch: 020_libcaca_new_api.diff
--HG--
branch : SDL-1.2
2009-10-10 08:46:06 +00:00
Sam Lantinga
bd32e944cb Updated change log with recent checkins
--HG--
branch : SDL-1.2
2009-10-10 08:11:36 +00:00
Sam Lantinga
95666b4937 Fixed bug #627
Increased accuracy of alpha blend calculation

--HG--
branch : SDL-1.2
2009-10-10 07:48:15 +00:00
Ryan C. Gordon
d32ba2f65c 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
2009-10-10 07:33:18 +00:00
Sam Lantinga
76adf05962 Fixed bug #634
If TranslateMessage() isn't done, then IME messages aren't generated.

--HG--
branch : SDL-1.2
2009-10-10 07:30:00 +00:00
Ryan C. Gordon
e15e4f7acd Cache the swap control setting, even on Mesa.
--HG--
branch : SDL-1.2
2009-10-10 06:38:02 +00:00
Ryan C. Gordon
506ee5e93d Fixed incorrect return value test for SGI swap control.
--HG--
branch : SDL-1.2
2009-10-10 05:21:31 +00:00
Ryan C. Gordon
418bc10147 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
2009-10-10 05:17:47 +00:00
Sam Lantinga
0ae2005f14 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
2009-10-10 02:11:07 +00:00
Sam Lantinga
cbb826df29 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
2009-10-10 02:03:53 +00:00
Ryan C. Gordon
6f4aba436f Remove sdl.pc during "make uninstall"
Fixes Bugzilla #813 for the 1.2 branch.

--HG--
branch : SDL-1.2
2009-10-08 09:02:03 +00:00
Ryan C. Gordon
1abbe4e2eb Allow Unicode filenames in RWOPS on Windows.
Fixes Bugzilla #733.

--HG--
branch : SDL-1.2
2009-10-08 07:48:37 +00:00
Sam Lantinga
3d5fcac452 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
2009-10-08 07:45:55 +00:00
Sam Lantinga
06a18691c2 Update config.guess and config.sub
--HG--
branch : SDL-1.2
2009-10-08 07:09:04 +00:00
Sam Lantinga
31867aa56e SDL 1.2.14 is a recommended update.
--HG--
branch : SDL-1.2
2009-10-07 08:03:32 +00:00
Sam Lantinga
5fedd0c67c Updated documentation with major changes for 1.2.14
--HG--
branch : SDL-1.2
2009-10-07 08:00:20 +00:00
Sam Lantinga
d366feb90a 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
2009-10-07 06:11:19 +00:00
Sam Lantinga
00c96d0342 Fixed building without OpenGL support
--HG--
branch : SDL-1.2
2009-10-07 06:10:40 +00:00
Sam Lantinga
397282e6ea Updated libtool to version 2.2.6a
--HG--
branch : SDL-1.2
2009-10-04 22:31:25 +00:00
Sam Lantinga
792f5e361b Fixed make dist
--HG--
branch : SDL-1.2
2009-10-04 20:45:55 +00:00
Sam Lantinga
d8a3287e4b Split acinclude.m4 into its constituent parts for easy upgrading
--HG--
branch : SDL-1.2
2009-10-04 20:31:21 +00:00
Sam Lantinga
82b19c8676 Make the temporary black window be the maximum of all visible dimensions
--HG--
branch : SDL-1.2
2009-10-04 20:30:45 +00:00
Sam Lantinga
0fa2e03c27 You should check for the C compiler before you set CFLAGS. :)
--HG--
branch : SDL-1.2
2009-10-02 13:50:50 +00:00
Sam Lantinga
3a1c27f200 Fixed nasm detection for newer autotools
--HG--
branch : SDL-1.2
2009-10-02 11:26:59 +00:00
Sam Lantinga
aca9efac5f Updated version for mingw32 build
--HG--
branch : SDL-1.2
2009-10-02 11:12:04 +00:00
Sam Lantinga
005d305635 Fixed VC2005 compiler warnings
--HG--
branch : SDL-1.2
2009-09-30 20:38:28 +00:00
Sam Lantinga
3fbb5fa4d7 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
2009-09-30 04:49:57 +00:00
Ryan C. Gordon
59601227a2 Make SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) work with GLX_SGI_swap_control.
Fixes Bugzilla #697.

--HG--
branch : SDL-1.2
2009-09-29 13:50:33 +00:00
Ryan C. Gordon
be9f35e228 Removed isCustom ... not used any more.
--HG--
branch : SDL-1.2
2009-09-29 13:42:33 +00:00
Ryan C. Gordon
69eb1e2d10 Removed duplicate memset() calls.
--HG--
branch : SDL-1.2
2009-09-29 13:40:34 +00:00
Ryan C. Gordon
e50612281c Fixed SDL_VIDEO_WINDOW_POS environment variable for Quartz target.
Fixes Bugzilla #628.

--HG--
branch : SDL-1.2
2009-09-29 13:07:36 +00:00
Ryan C. Gordon
ef701274b2 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
2009-09-29 11:28:43 +00:00
Sam Lantinga
641dd7c194 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
2009-09-29 06:31:29 +00:00
Ryan C. Gordon
5780a9bdeb 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
2009-09-29 04:03:58 +00:00
Sam Lantinga
746b79e2be 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
2009-09-29 00:37:36 +00:00
Ryan C. Gordon
de4612f5d6 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
2009-09-28 18:21:58 +00:00
Ryan C. Gordon
fd65def669 Added *.dSYM (Mac OS X debug symbols) to svn:ignore list for test dir.
--HG--
branch : SDL-1.2
2009-09-28 18:16:48 +00:00
Sam Lantinga
720a615aa6 Fixed compile issue
--HG--
branch : SDL-1.2
2009-09-28 07:58:58 +00:00
Sam Lantinga
d7b741a10c Added keyboard output for debugging bug #659
--HG--
branch : SDL-1.2
2009-09-28 07:04:25 +00:00
Sam Lantinga
89efa2ee7b 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
2009-09-28 06:23:22 +00:00
Sam Lantinga
f9b3171be6 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
2009-09-27 23:22:57 +00:00
Sam Lantinga
08cf81f164 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
2009-09-27 22:41:34 +00:00
Sam Lantinga
fe7c7c6124 Improved bug #759
Don't crash if creating the X image failed.

--HG--
branch : SDL-1.2
2009-09-27 22:29:13 +00:00
Sam Lantinga
3d3061c5f8 Fixed bug #582
Tomi Belan      2008-05-03 00:52:32 PDT

If you release a mouse button while an application is minimized, the
application won't notice it and will still report the button is pressed.

--HG--
branch : SDL-1.2
2009-09-27 21:44:55 +00:00
Sam Lantinga
c705419676 Better fix from Max Horn
--HG--
branch : SDL-1.2
2009-09-27 19:23:04 +00:00
Sam Lantinga
61b130bc9c Fixed bug #725
Don't let windows reposition the fullscreen window.

--HG--
branch : SDL-1.2
2009-09-27 06:20:27 +00:00
Sam Lantinga
da233dbc7f Fixed bug #713
Don't clamp the mouse coordinates to the video surface size, instead clamp them  to the last known window size.

This allows users to get the correct mouse coordinates even if they don't call SDL_SetVideoMode() in response to an SDL_VIDEORESIZE event (used as a hack to retain the OpenGL context on Windows and Linux after a window resize)

--HG--
branch : SDL-1.2
2009-09-27 05:18:43 +00:00