Bob Pendleton
b315d5379d
Fixed many valgrind errors. But, I broke testdyngl.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402740
2008-03-06 23:07:02 +00:00
Bob Pendleton
011c8c6dc3
Fixing valgrind errors.
...
One of the error was the result of an unitended recursive call to X11_GL_LoadLibrary which was also fixed.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402739
2008-03-06 17:08:10 +00:00
Bob Pendleton
e6d4abc63e
SetupWindowData in SDL_X11window.c was realloc()ing the display window list and incrementing numwindows even though those are being updated in functions that call
...
this function. The result is that it is possible to get the same window added to the list twice.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402738
2008-03-04 23:09:28 +00:00
Bob Pendleton
b8101a644e
Deleted a call to X__PumpEvents at the end of X11_GL_InitExtensions(). This function is being called from SDL_RecreateWindow at a point when the numwindows value in
...
is incorrect. The result is that an illegal access is being made in X_PumpEvents when it tries to look up the windows ID of the source of an event. Taking out that
call does not seem to have any effect on the testgl. But, I would be happy if someone else took a look at this problem and found a fix higher up the stack.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402737
2008-03-01 20:34:36 +00:00
Sam Lantinga
ff06a9b069
Now the program will process all events and then terminate. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402731
2008-02-23 05:10:40 +00:00
Bob Pendleton
ba6d728feb
HandleEvent() returns done each time it is called. If done was set to 0 the program should quit, but because done is not checked until *all* events are handled a
...
following event can reset done to 1 and prevent the program from terminating when told to. I fixed the while loop that handles events to check for the state of done
after handling each event. That could leave some events unhandled when the program exits, but it ensures that the program will exit.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402730
2008-02-20 23:27:33 +00:00
Sam Lantinga
1af0c41561
Windows also remaps the numeric keypad... grrr
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402729
2008-02-11 21:06:32 +00:00
Sam Lantinga
f520bc7066
Checkout directly to the SDL 1.3 folder
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402728
2008-02-11 20:26:22 +00:00
Sam Lantinga
c4302ca808
Show integer scancode, since that's how it's defined in the header.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402727
2008-02-10 17:29:23 +00:00
Sam Lantinga
d32c0108c0
Disable DirectFB by default, since it hasn't been updated for the 1.3 API yet.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402726
2008-02-10 16:21:05 +00:00
Sam Lantinga
c9d5848a25
Added support for keypad enter
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402725
2008-02-10 05:34:33 +00:00
Sam Lantinga
1f3deaa8b5
Updated Visual C++ project
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402724
2008-02-10 05:14:28 +00:00
Sam Lantinga
1a34de2773
Friggin' Windows remaps alphabetic keys based on keyboard layout.
...
We try to figure out what the actual layout independent values are.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402723
2008-02-09 22:28:27 +00:00
Sam Lantinga
69b676ff9d
Undo keyboard layout based alphabetic key mapping. Grr.... HACK HACK HACK...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402722
2008-02-09 07:18:38 +00:00
Sam Lantinga
9533cd16c5
Implemented text input event for Win32
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402721
2008-02-09 06:47:46 +00:00
Sam Lantinga
4447e6cfab
Untested Win32 keyboard scancode code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402720
2008-02-08 08:35:49 +00:00
Sam Lantinga
1623092784
Fixed array overrun
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402719
2008-02-07 16:14:43 +00:00
Sam Lantinga
0f15089eef
Fixed compile errors
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402718
2008-02-07 16:00:29 +00:00
Sam Lantinga
49f4428692
First pass of new SDL scancode concept for X11.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402717
2008-02-07 15:31:09 +00:00
Sam Lantinga
671a7085d9
Christian's comment:
...
/* Actually returns a UInt32 containing two character codes (and two 'reserved' bytes), but we're only interested in the second (or only) one */
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402716
2008-02-05 07:30:50 +00:00
Sam Lantinga
02f2e328bd
First pass implementation of new SDL scancode concept, as discussed with
...
Christian Walther. Currently only implemented on Mac OS X for sanity
checking purposes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402715
2008-02-05 07:19:23 +00:00
Ryan C. Gordon
844280a6a9
Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy().
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402714
2008-02-04 17:25:33 +00:00
Sam Lantinga
227be0923a
Merged fix for bug #542 from SDL 1.2
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402711
2008-01-24 15:51:52 +00:00
Bob Pendleton
79041b0a87
Minimal implementation of textinput events for x11. It only works for latin-1.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402709
2008-01-15 22:37:17 +00:00
Bob Pendleton
05ad8bbf51
Enabled key board auto repeat in X11_InitKeyboard.c. Had to add a couple of new Xlib symbols.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402708
2008-01-12 18:07:06 +00:00
Bob Pendleton
4cf4bef5c7
one more time... I must be brain dead...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402707
2008-01-12 16:56:42 +00:00
Bob Pendleton
4ae83d01f2
More typos
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402706
2008-01-12 16:53:30 +00:00
Bob Pendleton
40dcc0abff
Fixed some typos in SDL_x11keyboard.c
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402705
2008-01-09 23:40:56 +00:00
Bob Pendleton
e558eee568
Checking in Christian Walther's patch for x11 keyboard input. Minor code tweaks by Bob.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402704
2008-01-08 00:10:46 +00:00
Sam Lantinga
6f2082d584
Updated config scripts
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402702
2008-01-03 06:07:30 +00:00
Sam Lantinga
b366c70511
Merged fix for bug #531 from SDL 1.2 revision 3511
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402700
2008-01-01 15:26:11 +00:00
Sam Lantinga
60e54e65d4
Merged -fvisibility detection fix from SDL 1.2 revision 3500
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402689
2007-12-30 05:01:35 +00:00
Sam Lantinga
35b98313ed
Christian Walther fixed bug #529
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402687
2007-12-29 22:15:39 +00:00
Sam Lantinga
c3d60df45d
Christian Walther fixed bug #530
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402686
2007-12-29 22:13:47 +00:00
Sam Lantinga
619b44ee7f
Merged fix for bug #508 from SDL 1.2 revision 3495
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402684
2007-12-29 21:36:17 +00:00
Sam Lantinga
14ad7b457d
Merged fix for bug #482 from SDL 1.2 revision 3492.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402681
2007-12-29 20:13:23 +00:00
Sam Lantinga
7261caf15b
Fixed bug #478
...
Take the min and max values into account.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402679
2007-12-29 19:45:09 +00:00
Sam Lantinga
feb78335ca
Merged fix for bug #503 from SDL 1.2 revision 3487
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402677
2007-12-29 19:29:20 +00:00
Sam Lantinga
42495af337
Fixed bug #497
...
Check all joysticks instead of stopping if one has been removed.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402670
2007-12-29 06:17:31 +00:00
Sam Lantinga
1a95219d9e
Fixed bug #464
...
Added X1/X2 button constants
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402668
2007-12-29 06:09:25 +00:00
Sam Lantinga
722780a3c1
Merged revision 3472 from SDL 1.2, fixing bug #493
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402661
2007-12-29 03:25:11 +00:00
Sam Lantinga
19682ed1d3
Fixed fatbuild.sh script for building on Mac OS X 10.5
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402657
2007-12-28 20:42:06 +00:00
Sam Lantinga
5678f51d85
Date: Wed, 14 Nov 2007 22:20:27 -0500
...
From: Calvin Vette
Subject: Fix to compile SDL-1.2 SVN on OS X Leopard
I found I needed to add a conditional check for Leopard to compile
cleanly on 1.2-SVN (20071114):
#include <AudioUnit/AudioUnit.h>
#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
#include <AudioUnit/AUNTComponent.h>
#endif
where there is now just:
#include <AudioUnit/AudioUnit.h>
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402655
2007-12-28 18:16:42 +00:00
Sam Lantinga
a3e06251f2
Merged changeset 3463 from SDL 1.2, fixed compile error with Intel compiler.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402653
2007-12-28 18:08:43 +00:00
Sam Lantinga
1cb50341fd
Merged revision 3458 from SDL 1.2, fixed Borland C alloca() prototype
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402649
2007-12-28 08:07:57 +00:00
Sam Lantinga
49492c3e4c
Merged revision 3455 from SDL 1.2, fixing documentation typo.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402646
2007-12-28 07:54:35 +00:00
Bob Pendleton
8fd44712e9
Added SDL_rect.h and SDL_surface.h to the initialization of HDRS in Makefile.in. Because they were missing those header files were not being installed and
...
./configure in the test directory was erroring off.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402642
2007-12-13 03:53:02 +00:00
Ryan C. Gordon
a29f17021d
Merged r3449:3450 from branches/SDL-1.2: SDL_config.h.in Linux joystick fix.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402641
2007-09-25 10:01:10 +00:00
Sam Lantinga
68d2b55278
Split out the SDL_rect and SDL_surface functions into their own headers.
...
Removed unused count from the dirty rect list.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402639
2007-09-10 12:20:02 +00:00
Sam Lantinga
fa9233eaca
indent
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402638
2007-09-10 12:11:40 +00:00