Commit Graph

11015 Commits

Author SHA1 Message Date
Sam Lantinga
6c2c44ddc9 Minor crash bugfix 2001-05-23 00:06:08 +00:00
Sam Lantinga
9095cc7e0b Silly bug fix from Billy Biggs 2001-05-22 05:06:50 +00:00
Sam Lantinga
bca6dd54b8 Reverted ENABLE_X11 patch - FIXME, this needs a better solution in the future. 2001-05-22 05:05:16 +00:00
Sam Lantinga
bdd0dc3cd7 Catch up to Cygwin for the location of the Windows API libraries 2001-05-11 18:44:57 +00:00
Sam Lantinga
33d0e09bf7 Added initial support for Nano-X (thanks Hsieh-Fu!) 2001-05-11 01:13:35 +00:00
Sam Lantinga
7f61199fef Oops, the OpenBSD fix didn't. 2001-05-11 00:35:31 +00:00
Sam Lantinga
8ccc9b624f Updated config.guess and config.sub 2001-05-10 22:58:10 +00:00
Sam Lantinga
6542411e67 The keyboard modifiers are not set to the correct state on X11 startup. 2001-05-10 21:22:47 +00:00
Sam Lantinga
fbf830c25c Date: Wed, 9 May 2001 18:03:20 -0600
From: Peter Valchev <pvalchev@openbsd.org>
Subject: openbsd patches

- The dlsym() one is supposed to fix dynamic loading on our a.out
architectures, where prefixing of an underscore symbol is required.
Actually I don't know what kind of dynamic loading does SDL deal with,
but anyway.  You may want to make that change global, but only gcc's
preprocessor passes __ELF__, I think, so you can just add Linux or
something if you decide so.
2001-05-10 20:31:51 +00:00
Sam Lantinga
be3ec68154 Date: Wed, 9 May 2001 18:03:20 -0600
From: Peter Valchev <pvalchev@openbsd.org>
Subject: openbsd patches

- The other one dealing with the cdrom... the most likely place on an
OpenBSD system for a cdrom is cd?c, my mistake the first time.
2001-05-10 20:29:31 +00:00
Sam Lantinga
143d6388ee Fixed endian detection on IA64 architectures (thanks Bill!) 2001-05-10 20:25:51 +00:00
Sam Lantinga
b393ce534f *** empty log message *** 2001-05-10 20:20:50 +00:00
Sam Lantinga
5bafc6cdd4 Fixed to work on Solaris x86 2001-05-10 20:19:50 +00:00
Sam Lantinga
dc74cc4c2e Updated the Amiga OS port of SDL (thanks Gabriele) 2001-05-10 20:13:29 +00:00
Sam Lantinga
1f68c45edb Remove spurious warning 2001-05-10 20:10:54 +00:00
Sam Lantinga
033f17672b Date: Thu, 19 Apr 2001 08:36:54 +0300
From: "Mike Gorchak" <mike@malva.com.ua>
Subject: Patches for QNX RtP

Here my patch for QNX RtP/Photon for SDL-1.2.

Detailed description of my changes:

SDL/configure.in:
   If Photon detected declare define ENABLE_PHOTON.

SDL/src/video/SDL_sysvideo.h:
   Added extern to ph_bootstrap.

SDL/src/video/SDL_video.c:
   Added ph_bootstrap to bootstrap array.

SDL/src/video/photon/SDL_ph_events.c:
   Declare DISABLE_X11 if compiled for Photon.

SDL/src/video/photon/SDL_ph_image.c:
   Fixed segment violation on exit. Please update BUGS file.

SDL/src/video/photon/SDL_ph_video.c:
   1. Enabling window manager.
   2. Added to device capabilities Photon Window Manager functions:
      SetCaption and IconifyWindow.
   3. Renamed X11_bootstrap to ph_bootstrap.
   4. Removed SEGFAULT termination of programs if Photon not available.

SDL/src/video/photon/SDL_ph_wm.c:
   1. Declare DISABLE_X11 if compiled for Photon.
   2. Added ph_SetCaption and ph_IconifyWindow code. (Thanks to
      'phearbear' for iconify window source).
   3. Some stubers for other wm functions.

Thanks !

----------------------------
Mike Gorchak
CJSC Malva
System Programmer
2001-05-10 18:42:17 +00:00
Sam Lantinga
786dde16ba Added pthread.h - necessary on some configurations 2001-05-10 18:31:21 +00:00
Sam Lantinga
7ebebdb21d Fixed crash in GGI detection 2001-05-10 18:10:19 +00:00
Sam Lantinga
cb6f5e4f26 Added --disable-dga configure option to disable DGA entirely 2001-05-10 18:04:03 +00:00
Sam Lantinga
24c48b5ab6 Don't try to register the app if video code is disabled 2001-05-02 19:21:00 +00:00
Sam Lantinga
e55a62d158 Fixed stuck keys when changing the video mode 2001-05-01 21:12:57 +00:00
Sam Lantinga
5733d2fbcb Fixed double-mouse event bug on Windows using OpenGL 2001-04-29 23:00:03 +00:00
Sam Lantinga
506e57229b Fix key repeat detection on newer X servers 2001-04-29 22:59:47 +00:00
Sam Lantinga
17659f1de6 *** empty log message *** 2001-04-28 18:57:18 +00:00
Sam Lantinga
325c290c36 Fixed left arrow on iBook keyboard under MacOS X 2001-04-28 18:56:58 +00:00
Sam Lantinga
5b0b51aa33 Fixed memory leak in software YUV stretch code 2001-04-27 20:25:25 +00:00
Sam Lantinga
b82574e71f Fixed relative motion checking after restore under X11 2001-04-27 16:56:47 +00:00
Sam Lantinga
c8c2fa5137 *** empty log message *** 2001-04-26 18:37:24 +00:00
Sam Lantinga
13842131f7 Fixed 320x200 video mode on framebuffer console 2001-04-26 17:05:23 +00:00
Sam Lantinga
8372ffd477 Improved robustness for the ELO touchpad (thanks Alex!) 2001-04-26 16:55:37 +00:00
Sam Lantinga
1cad8195fd Date: Thu, 26 Apr 2001 10:46:23 +0200
From: Alexander Pipelka <pipelka@bms-austria.com>
Subject: SDL ELO driver bugfix

Hi Sam!

We noticed that the ELO serial touchscreen controller is quite sensitive
in terms of correct protocol handling.
The current implementation cause some controllers to hangup after some
time (> 24h).

I think the attached patch should fix this (I ran my device more than 3
days without any hangups).
2001-04-26 16:54:56 +00:00
Sam Lantinga
6f81bd9515 Use correct repository when generating CVS snapshots 2001-04-26 16:52:42 +00:00
Sam Lantinga
c48f16aac4 *** empty log message *** 2001-04-26 16:52:25 +00:00
Sam Lantinga
ffae27155e Changes since SDL 1.2.0 release 2001-04-26 16:50:19 +00:00
Sam Lantinga
5d2015c741 Initial revision 2001-04-26 16:45:43 +00:00
Sam Lantinga
34f20c8f0d Fixed crash if the OpenGL library hasn't been loaded yet 1970-01-01 04:04:21 +00:00
Yuri Kunde Schlesner
4927ba7549 Align pointer in SDL_memset before doing Uint32 loop
Some more recent compilers emit SSE aligned store instructions for the loop,
causing crashes if the destination buffer isn't aligned on a 32-bit boundary.
This would also crash on platforms like ARM that require aligned stores.

This fixes a crash inside SDL_FillRect that happens with the official x64 mingw
build.
2014-05-10 21:48:46 -03:00
Philipp Wiesemann
cbfd769a05 Changed C++ style comments. 2014-05-18 21:11:30 +02:00
Philipp Wiesemann
b1242be50b Fixed typo in header comment. 2014-05-18 21:05:39 +02:00
Philipp Wiesemann
275dddab6b Changed C++ style comments to fix pedantic warnings. 2014-05-17 22:02:25 +02:00
Philipp Wiesemann
cbb1a8a12d Removed unused standard library includes from gesture source. 2014-05-17 21:52:05 +02:00
Gabriel Jacobo
35e55adb13 Fixes #2541, build failure with Wayland enabled, OpenGL ES disabled
Also includes an attempt at fixing building SDL on Ubuntu 13.10, which hopefully
won't break 14.04
2014-05-13 19:42:40 -03:00
Sam Lantinga
89b0a3e80f Added a binding for the NVIDIA Shield controller 2014-05-13 12:10:37 -07:00
Sam Lantinga
9a700c5bf4 Updated coding style to match the rest of SDL 2014-05-13 11:32:36 -07:00
Philipp Wiesemann
9227317d4d Fixed typo in header comment. 2014-05-11 15:59:22 +02:00
David Ludwig
cb0ab5c68c WinRT: fixed the max-button count for WinPhone 8.1 message boxes
Doh.

The max button count on WinPhone 8.1 was set to three, not two.  Any more than
two leads to a crash.
2014-05-10 23:39:54 -04:00
David Ludwig
da5788fb90 Added limited message-box support for Windows Phone 8.1
The Windows Phone 8.1 'MessageDialog' API only seems to support two buttons,
despite the documentation for such mentioning support for three.  Trying to use
three or more buttons leads to an exception being thrown.  As such, any attempt
to use more than two buttons via SDL_ShowMessageBox (on Windows Phone 8.1) will
lead to no message box getting shown, and the call returning an error.

The Win32 MessageBox and dialog APIs are not available in WinRT apps, to note.

More extensive message dialog support might be available at some point, if and
when XAML support is more fully fleshed-out.  I'm not certain of this, though.
2014-05-10 23:28:53 -04:00
Gabriel Jacobo
48789acdd8 Improve handling of focus behaviour on Android. Patch by Alexey Petruchik 2014-05-10 18:24:39 -03:00
Gabriel Jacobo
7c86f42a25 Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW.
Based on feedback from Sven Bergström
2014-05-10 17:00:37 -03:00
Gabriel Jacobo
4cce598c92 Fixes #2512, handle configuration change messages sent by Wayland. Patch by Bryan Cain. 2014-05-10 16:50:05 -03:00