Commit graph

3739 commits

Author SHA1 Message Date
Sam Lantinga
bad45fc2b2 Need to set something valid for argc/argv 2011-01-04 15:25:49 -08:00
Sam Lantinga
1218c81cec Fixed problem with trailing space 2011-01-04 12:49:48 -08:00
Sam Lantinga
ae53874bd2 Change from jlunder:
Minor configuration changes to smooth the build process, make it work on mac.
2011-01-04 12:46:49 -08:00
Sam Lantinga
3fe08d6eb5 Added the step to edit local properties 2011-01-04 12:39:10 -08:00
Sam Lantinga
7a9c29baf3 Fixed prototype for SDL_main()
FIXME: Still need to pass some arguments - can we get them from the Java class?
2011-01-04 11:39:52 -08:00
Sam Lantinga
82f0d82581 Android needs the SDL_main() redirect as well 2011-01-04 11:39:04 -08:00
Sam Lantinga
a2954c5cc6 Fixes the following warning:
uses variable-size enums yet the output is to use 32-bit enums
2011-01-04 11:22:43 -08:00
Sam Lantinga
53eaef45fd Added the Android config include to the default config.h 2011-01-04 11:07:27 -08:00
Sam Lantinga
c7c6cb464a The source rectangle isn't modified in SDL_UpperBlit 2011-01-04 10:19:24 -08:00
Sam Lantinga
0398104662 Fixed crash on Windows XP 2011-01-03 14:39:41 -08:00
Sam Lantinga
794752a10c Fixed trying to create an XRender texture for YUV formats 2011-01-01 20:46:39 -08:00
Sam Lantinga
aac820df50 Missing math library for testgesture 2011-01-01 20:44:38 -08:00
Sam Lantinga
3927b4a33c Final touches on renaming SDL_eventtouch to SDL_x11touch 2011-01-01 20:04:50 -08:00
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
18f2ccec34 Use a typedef instead of a #define, to handle syntax like: SDL_TextureID a, b 2011-01-01 19:46:36 -08:00
Sam Lantinga
34b38d2798 Allow META-Enter to toggle fullscreen mode 2011-01-01 19:38:56 -08:00
Sam Lantinga
e082a3f57c Updated for NDK R5 2011-01-01 19:38:23 -08:00
Sam Lantinga
b369f1945a Android has atan() and atan2() 2011-01-01 16:56:54 -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
b0b0c5e0e9 Don't overwrite SDL_revision.h with a bad revision if Mercurial isn't installed 2010-12-31 08:42:47 -08:00
Sam Lantinga
0db1eb5652 Return an error code if Mercurial isn't installed 2010-12-31 08:40:09 -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
Jim Grandpre
bd88a60533 Fixed SDL_VS2005.vcproj 2010-12-15 21:31:12 -05:00
Jim Grandpre
cb98f67b45 Reverted SDL_VS2005.vcproj to revision 4634. 2010-12-15 21:21:13 -05: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
d3d39b950a Fixed the gcc include path when building on Mac OS X 10.5 2010-12-01 12:52:48 -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
7b8f9fe722 Allow the SDK path to be rebased
Fixed bug compiling on Mac OS X 10.5
2010-12-01 12:22:29 -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
14d78bb03f Don't conflict with glext.h if it's already been included 2010-12-01 12:02:52 -08:00
Sam Lantinga
dc22c27aad Fixed crash if the gesture coordinates go negative - FIXME: Should this protection be at a lower level? 2010-11-30 18:08:01 -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
Sam Lantinga
f7fc00e75c Added a Visual Studio project for testgesture 2010-11-30 12:38:46 -08:00
Sam Lantinga
f8d3e248f2 Removed references to testwm 2010-11-30 12:04:01 -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
26288db841 Fix Xcode project to turns the SDL_gesture.h and SDL_touch.h into public includes (since they are included when using the SDL/SDL.h file)
--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed Xcode/SDL/SDL.xcodeproj/project.pbxproj
2010-11-16 07:44:47 -08: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