Sam Lantinga
124315bff4
I am using SDL 1.3 on FreeBSD. I found two problems.
...
(1) SDL_atomic dummy version in SDL 1.3 is not used.
Because src/atomic/dummy/*.c are not used.
(2) Typo in src/joystick/bsd/SDL_sysjoystick.c.
Thanks,
IWATSUKI Hiroyuki
2011-01-01 19:50:50 -08:00
Sam Lantinga
35a1f5fbe0
Fixed restoring the desktop resolution when toggling fullscreen mode
2011-01-01 16:41:29 -08:00
Sam Lantinga
2ccdb31cb2
Fixed compiling on Android
2010-12-31 16:51:03 -08:00
Sam Lantinga
56d603e6e1
Don't crash when resizing non-shaped windows
2010-12-31 08:50:06 -08:00
Sam Lantinga
9854e3dd2d
Fixed compiling X11 touch interface
2010-12-30 13:21:39 -08:00
Sam Lantinga
85637106eb
Hopefully fix X11 compile error
2010-12-30 10:45:36 -08:00
Sam Lantinga
cd31bd4a56
Removed carriage returns
2010-12-29 15:23:54 -08:00
Sam Lantinga
35cc558917
Use the enumerated type for blend and scale mode instead of int
...
Renamed SDL_TextureScaleMode to SDL_ScaleMode
2010-12-12 15:19:05 -08:00
Sam Lantinga
0893ec9ce4
Fixed touch events on Mac OS X 10.6
2010-12-02 11:56:23 -08:00
Sam Lantinga
091cd521e3
Removed support for 10.3.9
...
Fixed building on Mac OS X 10.5
2010-12-01 12:23:16 -08:00
Sam Lantinga
556d9a92c2
Renamed X11 touch files for consistency
...
--HG--
rename : src/video/x11/SDL_eventtouch.c => src/video/x11/SDL_x11touch.c
rename : src/video/x11/SDL_eventtouch.h => src/video/x11/SDL_x11touch.h
2010-12-01 12:17:12 -08:00
Sam Lantinga
3d9620ed0a
Fixed massive stack memory usage in the gesture functions
2010-11-30 18:07:31 -08:00
Sam Lantinga
56c7ba92fb
First pass at Windows multi-touch gesture support
2010-11-30 17:58:51 -08:00
Daniel Wyatt
3dea87cdc7
Better horizontal candidate list rendering.
...
Added horzcandspacing constant to add space between horizontal candidates.
2010-11-28 22:30:16 -05:00
Jjgod Jiang
4312d18cf7
Fix right mouse event handling in Cocoa
...
NSView in Cocoa has a different event handling procedure for
right mouse events (rightMouseDown: etc.)
2010-05-09 12:58:58 +08:00
Daniel Wyatt
10fe7475a2
Code style updates.
2010-11-23 20:29:45 -05:00
Daniel Wyatt
423b30c5df
Windows candidate list support.
...
Candidate list should now be drawn and function normally.
Tested in XP and 7.
2010-11-23 17:46:47 -05:00
Daniel Wyatt
86c3638a9b
Add variables needed for win32 candidate list support.
2010-11-23 17:44:10 -05:00
Daniel Wyatt
f896125696
Add ITfCandidateListUIElement to SDL_msctf.h for MinGW.
2010-11-23 17:43:10 -05:00
Andreas Schiffler
ea576e6386
Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
...
--HG--
rename : VisualC/tests/automated/automated.vcxproj => VisualC/tests/automated/automated_VS2010.vcxproj
rename : VisualC/tests/checkkeys/checkkeys.vcxproj => VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj
rename : VisualC/tests/graywin/graywin.vcxproj => VisualC/tests/graywin/graywin_VS2010.vcxproj
rename : VisualC/tests/loopwave/loopwave.vcxproj => VisualC/tests/loopwave/loopwave_VS2010.vcxproj
rename : VisualC/tests/testalpha/testalpha.vcxproj => VisualC/tests/testalpha/testalpha_VS2010.vcxproj
rename : VisualC/tests/testdraw2/testdraw2.vcxproj => VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj
rename : VisualC/tests/testfile/testfile.vcxproj => VisualC/tests/testfile/testfile_VS2010.vcxproj
rename : VisualC/tests/testgamma/testgamma.vcxproj => VisualC/tests/testgamma/testgamma_VS2010.vcxproj
rename : VisualC/tests/testgl/testgl.vcxproj => VisualC/tests/testgl/testgl_VS2010.vcxproj
rename : VisualC/tests/testgl2/testgl2.vcxproj => VisualC/tests/testgl2/testgl2_VS2010.vcxproj
rename : VisualC/tests/testjoystick/testjoystick.vcxproj => VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj
rename : VisualC/tests/testoverlay/testoverlay.vcxproj => VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcxproj => VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj
rename : VisualC/tests/testpalette/testpalette.vcxproj => VisualC/tests/testpalette/testpalette_VS2010.vcxproj
rename : VisualC/tests/testplatform/testplatform.vcxproj => VisualC/tests/testplatform/testplatform_VS2010.vcxproj
rename : VisualC/tests/testpower/testpower.vcxproj => VisualC/tests/testpower/testpower_VS2010.vcxproj
rename : VisualC/tests/testshape/testshape.vcproj => VisualC/tests/testshape/testshape_VS2008.vcproj
rename : VisualC/tests/testshape/testshape.vcxproj => VisualC/tests/testshape/testshape_VS2010.vcxproj
rename : VisualC/tests/testsprite/testsprite.vcxproj => VisualC/tests/testsprite/testsprite_VS2010.vcxproj
rename : VisualC/tests/testsprite2/testsprite2.vcxproj => VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcxproj => VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj
rename : VisualC/tests/testwin/testwin.vcxproj => VisualC/tests/testwin/testwin_VS2010.vcxproj
rename : VisualC/tests/testwm/testwm.vcxproj => VisualC/tests/testwm/testwm_VS2010.vcxproj
2010-11-19 21:51:33 -08:00
Daniel Wyatt
8cc72d1d79
Use SDL endian macros in libm.
...
This fixes problems (specifically with SDL_floor) for systems where __BYTE_ORDER is not defined.
2010-11-16 13:24:55 -05:00
Andreas Schiffler
d1159d9a1b
Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.
...
--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed include/SDL_config_macosx.h
changed src/video/cocoa/SDL_cocoashape.m
2010-11-16 07:03:26 -08:00
Sam Lantinga
fa1e7172fc
This fixes some keyboard defs for Haiku.
...
From: François Revol <revol@free.fr>
Checked By: Scott McCreary <scottmc2@gmail.com>
2010-10-16 17:15:19 -07:00
Sam Lantinga
6340df79b2
This fixes SDL_renderer_gl so that it builds with c89.
...
From: François Revol <revol@free.fr>
Checked By: Scott McCreary <scottmc2@gmail.com>
2010-10-16 17:14:04 -07:00
Sam Lantinga
2b7c14949b
Removed debug output
2010-10-10 15:45:58 -07:00
Sam Lantinga
3189c43f85
Make the union nameless to reduce the complexity of the API.
...
(Are there any compilers still in use that don't support this?)
2010-09-29 21:13:52 -07:00
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
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
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
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
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
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
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
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
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
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