Commit Graph

2249 Commits

Author SHA1 Message Date
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
Sam Lantinga
5b275faf0e Added missing DirectX data
--HG--
branch : SDL-1.2
2009-09-27 04:49:30 +00:00
Sam Lantinga
d89233093a Fixed bug #586
Vincent Povirk      2009-09-26 16:58:32 PDT

patch for setting the input hint correctly

--HG--
branch : SDL-1.2
2009-09-27 01:31:30 +00:00
Sam Lantinga
9759bc48d4 Fixed bug #810
Lauri Kenttä      2009-09-26 06:42:23 PDT

Support for disabling stdio redirect with environment variables.

--HG--
branch : SDL-1.2
2009-09-26 23:17:08 +00:00
Sam Lantinga
1e306ddee2 Fixed 32-bit build
--HG--
branch : SDL-1.2
2009-09-26 21:38:07 +00:00
Sam Lantinga
d94c76445d Fixed bug #806
Max Horn      2009-09-24 13:16:05 PDT

Current SDL 1.2 SVN luckily builds on several systems now: 10.4 (PPC and 32bit intel), 10.5 (32 bit) and 10.6 (32 bit). However, it fails to build on 10.5 in 64 bit mode

--HG--
branch : SDL-1.2
2009-09-26 11:42:39 +00:00
Sam Lantinga
6ae6dbc492 Fixed bug #797
Ryan C. Gordon      2009-09-19 08:25:21 PDT

This line in SDL_iconv_string (src/stdlib/SDL_iconv.c) ...

        if (!fromcode || !*fromcode) {
            tocode = "UTF-8";
        }

Is probably supposed to assign to "fromcode" and not "tocode".

--HG--
branch : SDL-1.2
2009-09-26 10:37:28 +00:00
Sam Lantinga
e74fca09fb Fixed bug #734
Nicholas Phillips      2009-04-26 21:34:05 PDT

I am using x64 Linux (using Intel Core 2 DUO), and I have noticed that there is
an error in SDL_cpuinfo.c, function CPU_getCPUIDFeaturesExt for my platform.

--HG--
branch : SDL-1.2
2009-09-26 10:05:07 +00:00
Sam Lantinga
7b694a65b7 Fixed crash with right side up BMP files
--HG--
branch : SDL-1.2
2009-09-26 06:01:27 +00:00
Sam Lantinga
1094598947 Fixed bug #719
Mike Blaguszewski      2009-03-23 13:32:22 PDT

Patch to 1.2 HEAD that fixes the issue

Fixes bug in SDL 1.2.13 where clicking on an app's title bar to activate the
app, when cursor capturing is enabled, will cause the window to jump. This is
because SDL's handler for activate events calls a low-level Quartz function to
move the cursor. Calling this when the mouse is down in the title bar confuses
the WindowServer into thinking the title bar has been dragged. The patch defers
processing of activate events in this case.

The bottom line is that CGWarpMouseCursorPosition() is not safe to call when
the mouse in down in a window's title bar.

--HG--
branch : SDL-1.2
2009-09-23 07:18:02 +00:00
Sam Lantinga
436deaf445 Fixed bug #732
If no -L is present in the library spec, try /usr/lib

--HG--
branch : SDL-1.2
2009-09-23 07:07:44 +00:00
Sam Lantinga
c2faa4c32c Fixed bug #803
Andrey      2009-09-21 19:14:43 PDT

gapi->hiresFix depends on the parameters GetSystemMetrics (SM_CXSCREEN) and
GetSystemMetrics (SM_CXSCREEN).
After the "Open GAPI display" they are changing.
Small patch fixed it.

--HG--
branch : SDL-1.2
2009-09-23 07:01:50 +00:00
Sam Lantinga
1bca236eb9 Potentially fixed bug #774
There's a mismatch between ndev and MAX_INPUTS

--HG--
branch : SDL-1.2
2009-09-23 06:57:12 +00:00
Sam Lantinga
094f5b6018 Fixed endianness issues with fullscreen mode
--HG--
branch : SDL-1.2
2009-09-23 06:56:28 +00:00
Sam Lantinga
975d46a9e7 Possibly fixed bug #601, definitely fixed a potential issue with threads
stopping and starting in rapid succession.

--HG--
branch : SDL-1.2
2009-09-23 06:35:28 +00:00
Sam Lantinga
4a8698df83 Added some extra headers
--HG--
branch : SDL-1.2
2009-09-23 05:16:54 +00:00