Sam Lantinga
af32a2f4cd
Updated copyright for 2019
2019-01-04 22:01:14 -08:00
Sam Lantinga
346af016a5
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
7f84fc46a4
Fixed bug 3740 - atexit() in test/testime.c
2017-08-27 19:00:03 -07:00
Philipp Wiesemann
c8245961bc
Fixed typo in log message in testime program.
2017-07-09 23:00:35 +02:00
Sam Lantinga
1b24bfad38
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Philipp Wiesemann
1b0a9a82c4
Fixed compiling of three test programs with C++.
2016-10-09 20:31:32 +02:00
Sam Lantinga
c897935592
Fixed bug 3318 - testime.c enhancement with GNU Unifont support
...
Simon Hug
I'm proposing some changes to the IME test program test/testime.c. The patch includes support for the GNU Unifont hex file, making the SDL_ttf dependency optional. There were also one or two bugs that prevented the text and underline from showing up poperly.
2016-10-01 12:43:14 -07:00
Philipp Wiesemann
7d41ef944e
Fixed compiling IME test program with HAVE_SDL_TTF on C89 compilers.
2016-03-10 21:00:27 +01:00
Philipp Wiesemann
15d78542ab
Fixed compile warnings about unused variables in IME test program.
2016-03-03 20:11:43 +01:00
Philipp Wiesemann
db1d8e84ae
Replaced strlen() with SDL_strlen() in IME test program.
2016-03-02 20:24:43 +01:00
Sam Lantinga
7ee8dda270
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Philipp Wiesemann
b5e3bd6ec1
Fixed compile warning in IME test program.
2015-12-01 22:22:58 +01:00
Sam Lantinga
56b58afdbe
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
583198f72e
Fixed bug 2132 - Tests may use invalid SDL_window pointers when windows are closed
...
norfanin
Some of the tests keep using the pointers of a destroyed SDL_Window when the common event handling handled the close event. The event handler itself does not NULL the pointer after the destruction.
The attached patch adds a loop in the handler that will assign NULL to the destroyed window. It also adds checks to some of the tests so they skip those windows by checking for NULL.
2013-10-05 19:09:03 -07:00
Sam Lantinga
c6b7c0f507
Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
2013-08-29 08:30:21 -07:00
Gabriel Jacobo
271e0d67c4
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Gabriel Jacobo
5e78879e76
More non C89 compliant comments
2013-08-20 20:34:40 -03:00
Andreas Schiffler
16a40598f6
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
2013-08-14 23:30:10 -07:00
Sam Lantinga
e2a14cf5dd
Updated the copyright year for the test programs
2013-07-25 09:51:21 -07:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Sam Lantinga
ac0f89315c
Switched the test code over to use the common functions in the test library.
2012-12-31 10:26:38 -08:00
Dimitris Zenios
f39fe05937
1.Fixed a memory leak inside XInput2 code
...
2.Replaced XKeycodeToKeysym with XkbKeycodeToKeysym since XKeycodeToKeysym is deprecated in newer X11 version
3.Rewrote testime.c since it was disabled after SDL_compat.c removal
4.Take into account common arguments also in testrelative.c
2012-05-31 19:23:30 +03:00
Sam Lantinga
5ef4144446
Removed the SDL 1.2 compatibility API... we'll see how painful this is.
2012-01-22 18:11:41 -05:00
Sam Lantinga
3ad2c65336
Removing some more references to SDL 1.3
2012-01-22 17:26:45 -05:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
e9689c29d5
Be explicit about what display you're querying. The default display is 0.
2011-02-10 12:14:37 -08:00
Sam Lantinga
a47948aab0
Nobody is currently maintaining the QNX code, so removing it for now.
2011-02-01 21:40:03 -08:00
Sam Lantinga
1f8dacabd7
Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME
2010-08-22 12:39:27 -07:00
Sam Lantinga
9b8ec5c66a
Don't need to use strlen() to determine if there's text.
...
Use the SDL safe strcpy() function
2010-08-22 11:56:07 -07:00
Jjgod Jiang
43cd4e54ac
Fix for deleting the last uncommit character
2010-08-12 16:00:47 +02:00
dewyatt
cae6f1376d
Correctly draw cursor based on position.
...
Had to add UTF-8 functions utf8_length, utf8_next, utf8_advance.
2010-07-25 13:17:31 -04:00
dewyatt
1d79a9b5d8
Changed markedText to have its own storage to resolve multiple bugs.
...
Changed an odd strcpy to a more appropriate strcat.
2010-07-24 20:48:50 -04:00
Sam Lantinga
338f95eb06
Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.
...
Plus, this lets me start implementing cursor support.
2010-05-09 20:47:22 -07:00
Ryan C. Gordon
791f5dbce4
Implemented SDL_setenv(), moved SDL_putenv() to compat.
...
Fixes Bugzilla #779 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404330
2009-12-16 10:59:51 +00:00
Mike Gorchak
21ee95a08f
Added support for QNX default font. Backspace and Return keys now handled.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404219
2009-11-21 08:42:42 +00:00
Sam Lantinga
00fcbc745d
Fixed bug #817
...
Daniele Forghieri 2009-09-30 15:48:24 PDT
Some tests doesn't use the correct include statement (and there are some
missing declaration) and some test use C++ variable after statement, preventing
compile wicth Open Watcom
The patch attached fixes this
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403962
2009-10-04 09:55:20 +00:00
Bob Pendleton
1dc16d423f
I'm gussing that this was never compiled where TTF support was missing. As a result a call to SDL_GetError and a call to TTF_GetError were swapped.
...
I "fixed" it. That is it now compiles.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403825
2009-09-19 15:22:33 +00:00
Sam Lantinga
d4f133c2bf
Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403823
2009-09-19 13:29:40 +00:00