Commit graph

3784 commits

Author SHA1 Message Date
Sam Lantinga
51b19abe02 Minor cleanup in patches from Coursoud 2010-09-27 01:30:42 -07:00
Sam Lantinga
45e68f6c5c Merged the Windows custom window system hooks into the union used by X11.
Added Cocoa custom window system hooks
2010-09-27 01:24:05 -07:00
Sam Lantinga
8e2a972b50 attached is a patch to support DirectFB in include/SDL_syswm.h. It
defines SDL_SYSWM_DIRECTFB as a subsystem.
This allows developers to e.g. access DirectFB's video and picture
providers.

Kind regards,

André
2010-09-27 00:50:46 -07:00
Sam Lantinga
e2b5e8275b XDamageDestroy is called before use_damage is tested. This crashes on my
setup. The patch calls XDamageDestroy only when use_damage is true.

Kind regards,

André
2010-09-27 00:49:56 -07:00
Sam Lantinga
bbf3279972 SDL_DestroyWindow is setting window->magic to NULL too early. -
window->magic is also checked in SDL_DestroyRenderer. All cleanup code
like freeing the renderer and textures is not executed.
The patch moves window_magic = NULL behind the SDL_DestroyRenderer call.

Kind regards,

André
2010-09-27 00:49:34 -07:00
Sam Lantinga
1af81c30b3 Code will never reach SDL_SetTexturePalette since SDL_SetDisplayPalette
will fail if the display e.g. is RGB32 or RGB24. The patch will ignore
errors in SDL_SetDislayPalette.
This should also affect the opengl renderer on systems supporting
paletted textures - mine does not (NVIDIA).
With this patch the directfb drivers delivers the same results for
test_palette like the software renderer.

Kind regards,

André
2010-09-27 00:48:56 -07:00
Sam Lantinga
b6d190a459 Fixed documentation typo 2010-09-25 17:06:41 -07:00
Sam Lantinga
44eb5de93d Fixed compiling with mingw32/64 2010-09-19 16:46:56 -07:00
Daniel Wyatt
12be16146b Fixed all MinGW problems (except libraries not added to build yet).
Added SDL_msctf.h for MinGW.
Added a few casts to fix warnings on MinGW.
2010-09-19 16:19:22 -04:00
Daniel Wyatt
a55c55c319 Added imm.h include, will be needed on MinGW.
Changed comment to c-style and removed some end-of-line whitespace.
2010-09-19 14:41:18 -04:00
Sam Lantinga
eaca51873a Fixed crash on systems that don't have StopTextInput 2010-09-18 18:31:01 -07:00
Sam Lantinga
7fcd8b7560 Fixed crashing loading 48KHz audio, contributed by Terry Welsh 2010-09-18 18:15:08 -07:00
Sam Lantinga
200c3c74ab Fixed grammar, thanks to Sheena's suggestion. 2010-09-18 17:12:19 -07:00
Sam Lantinga
f968057d82 Updated build for Visual Studio 2010 2010-09-17 09:08:47 -07:00
Andreas Schiffler
80c83499bf Remove superflous sample shapes (same BMPs) 2010-09-15 22:33:46 -07:00
Andreas Schiffler
1975b91fae - added directx include path to VS2008 solution
- updated shape vcproj and add it to VS2008 solution
- minor changes (i.e. typecasting) to get rid of compiler warnings in VS
2010-09-15 22:15:47 -07:00
Sam Lantinga
458c6eda30 Fixed documentation 2010-09-14 21:57:29 -07:00
dewyatt
d0de6340e8 Ensure compositions are committed when keyboard focus changes.
There may be a better way to do this.
2010-09-15 00:28:19 -04:00
Andreas Schiffler
5b9ec3c812 Add missing imm32.lib from VS2010 project 2010-09-07 20:56:02 -07:00
Sam Lantinga
b7c57f809f Documentation consistency 2010-08-29 22:34:50 -07:00
Sam Lantinga
5ba14426fa Documentation consistency 2010-08-29 22:28:38 -07:00
Sam Lantinga
2ef894f75e Fixed typo in header 2010-08-29 22:22:27 -07:00
Sam Lantinga
1877442eb2 Documentation clarification 2010-08-29 22:12:59 -07:00
Sam Lantinga
f56e6b9244 Suspending the screensaver defaults off. 2010-08-29 21:41:11 -07:00
Sam Lantinga
515a3e58ab Compiling in atan()/atan2() implementation on Visual Studio 2008. 2010-08-29 16:55:58 -07:00
Sam Lantinga
d8303d3f7a Added atan implementation from uClibc 2010-08-29 16:51:48 -07:00
Sam Lantinga
4d97d1a549 Whoops, return "" even if the window is invalid. 2010-08-29 16:28:04 -07:00
Sam Lantinga
b59ef043a6 The title is stored internally as NULL if it's empty, and returned as "" 2010-08-29 16:26:35 -07:00
Sam Lantinga
21e184b0bb Added atan2 implementation from uClibc 2010-08-29 16:05:34 -07:00
Sam Lantinga
fa8d01e8ab Documentation clarification 2010-08-29 15:26:12 -07:00
Sam Lantinga
7411f7531b Fixed compiling with Visual Studio 2008 2010-08-29 14:22:22 -07:00
Sam Lantinga
adc9598f1a While you can actually write to the error buffer, conceptually it's read-only. 2010-08-29 12:00:09 -07:00
Sam Lantinga
09ad8038b8 Added a typedef for the thread function to simplify documentation 2010-08-28 22:56:52 -07:00
Andreas Schiffler
dc0f95c447 Update VS2010 project to add new files; update new files so code builds on Win32/Win64 2010-08-23 23:44:28 -07:00
Sam Lantinga
9412167e50 Fixed documentation typo 2010-08-22 17:19:10 -07:00
Sam Lantinga
81d43b4e7f Fixed obsolete documentation 2010-08-22 15:34:28 -07:00
Sam Lantinga
7c463932c2 Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
--HG--
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
2010-08-22 13:45:56 -07:00
Sam Lantinga
cfd892d841 Merged no changes? 2010-08-22 12:43:27 -07:00
Sam Lantinga
3ac7385c23 Removed Daniel's test code 2010-08-22 12:39:56 -07: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
66d40ad333 Cleanup from the Android commit 2010-08-22 12:35:34 -07:00
Sam Lantinga
7d245d0532 Removed spurious carriage returns 2010-08-22 12:34:31 -07:00
Sam Lantinga
a64fc29cfb Merged Paul's Google Summer of Code work from SDL-gsoc2010_android 2010-08-22 12:23:55 -07:00
Sam Lantinga
238acbd53d Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture 2010-08-22 12:07:55 -07:00
Sam Lantinga
6354bc898e Fixed some typos in the documentation 2010-08-22 12:03:53 -07:00
Sam Lantinga
c8de3db358 According to Jim, the touchTest directory is no longer necessary. 2010-08-22 12:00:02 -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
Jim Grandpre
d3998822f2 Fixed hgIgnore to ignore test/gesturetest 2010-08-19 13:49:11 -04:00
Jim Grandpre
f1b2b9f801 Updated README's 2010-08-19 13:47:12 -04:00
Sam Lantinga
0d3fdb86c9 Removed obsolete test project 2010-08-19 00:21:20 -07:00