Sam Lantinga
f1d38d9c1c
Renamed SDL_Key to SDL_Keycode to clarify terminology.
2011-02-07 10:40:21 -08:00
Sam Lantinga
60016c514e
Renamed SDLKey and SDLMod for consistency
2011-02-07 09:42:08 -08:00
Sam Lantinga
23370c8928
Sheena pointed out that "scancode" and "keysym" are single words and shouldn't be camel-cased.
2011-02-07 09:37:11 -08:00
Sam Lantinga
1163ebc192
Updated testoverlay2 to use the SDL 2D rendering API
2011-02-07 00:46:43 -08:00
Sam Lantinga
92c1973815
Since we changed the API entirely, just remove the old function names
2011-02-06 08:57:29 -08:00
Sam Lantinga
bbf99fa10b
Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h
2011-02-06 02:35:14 -08:00
Sam Lantinga
ae2ce1d91e
Added an OpenGL ES 2.0 renderer, contributed by itsnotabigtruck
...
This compiles, but it untested.
2011-02-06 00:00:13 -08:00
Sam Lantinga
3d231d07df
Created a simpler version of SDL_SetHint() that doesn't need a priority.
2011-02-05 20:02:37 -08:00
Sam Lantinga
b31aaaaad7
Updated the DirectFB support, from Couriersud
...
attached is a working directfb driver diff which works with the current
changes. There are a number of changes around it as well, e.g.
configure.in.
The directfb renderdriver right now still depends on a some "includes"
from src/video/directfb. That's why it is not yet moved to the new
render folder.
2011-02-05 16:07:10 -08:00
Sam Lantinga
dd42a41854
Added the SDL_HINT_RENDER_DRIVER and SDL_HINT_RENDER_VSYNC hints.
2011-02-05 10:35:36 -08:00
Sam Lantinga
1012c06b0a
Added a hint to determine whether framebuffer texture acceleration should be used, and added default behaviors for the various platforms.
2011-02-05 10:03:12 -08:00
Sam Lantinga
8322900075
Added a hint system to allow configuration hints to be specified by the application.
2011-02-05 10:02:39 -08:00
Sam Lantinga
8bbd554984
Fixed permissions on the Android config header.
2011-02-05 01:02:24 -08:00
Sam Lantinga
4f6e1878af
Restored SDL_BLENDMODE_MOD for MAME
2011-02-04 19:50:56 -08:00
Sam Lantinga
e37fdde92a
Removed a bunch of X11 support that we no longer need.
2011-02-04 19:18:08 -08:00
Sam Lantinga
6d8925632d
Switched the SDL 1.2 compatibility to use the window surface, so it's fast even when there's no hardware acceleration available.
...
This means that the YUV overlay now uses software, but that's okay since fast YUV code should be using the textures now anyway.
2011-02-03 21:13:55 -08:00
Sam Lantinga
93a4e38e98
Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface.
...
The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
2011-02-03 15:49:37 -08:00
Sam Lantinga
7880fa3997
Extended SDL_SetWindowData() to allow arbitrary named values.
2011-02-03 11:16:57 -08:00
Sam Lantinga
4360f9d15a
Added an intro to the features and goals of the 2D rendering API.
2011-02-03 10:03:55 -08:00
Sam Lantinga
e4569cfdca
Making the API simpler, moved the surface drawing functions to the software renderer.
2011-02-03 02:45:29 -08:00
Sam Lantinga
dd03fe7ff1
Re-ordered platforms based on frequency
2011-02-03 01:19:10 -08:00
Sam Lantinga
533d4862d6
Simplified and improved the process of creating a texture from a surface.
2011-02-03 00:54:29 -08:00
Sam Lantinga
a5bfac214f
Making the API simpler, removed the writepixels interface
2011-02-03 00:22:18 -08:00
Sam Lantinga
405d4ed7e4
Made it possible to create a texture of any format, even if not supported by the renderer.
...
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
2011-02-03 00:19:40 -08:00
Sam Lantinga
433b8c4189
Fixed compiling on Windows
2011-02-02 22:55:12 -08:00
Sam Lantinga
8bf50cc83c
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
2011-02-02 14:34:54 -08:00
Sam Lantinga
482e5c0697
Nobody is currently maintaining the QNX code, so removing it for now.
2011-02-01 21:40:03 -08:00
Sam Lantinga
1f34b65342
Making the API simpler, removed support for palettized video modes and textures.
2011-02-01 21:23:43 -08:00
Sam Lantinga
adaab5944f
The rendering functions take a context so it's clear what window they're drawing to. This also potentially opens to the door to multi-threaded rendering in the future.
2011-02-01 19:19:43 -08:00
Sam Lantinga
5978f70063
Added functions to watch events as they go through the event queue.
2011-02-01 19:15:42 -08:00
Sam Lantinga
f729dd20de
Split the rendering API out into a separate header file.
2011-02-01 15:02:21 -08:00
Sam Lantinga
5d5f352744
Renumbered the renderer flags
2011-02-01 12:44:52 -08:00
Sam Lantinga
88718ffabe
Making the API simpler, the renderer present semantics are always having a backbuffer and then discarding it. This is best for hardware accelerated rendering.
2011-02-01 12:19:46 -08:00
Sam Lantinga
fb80cf39a4
Making the API simpler, texture color and alpha modulation are supported by all renderers.
2011-01-31 23:37:30 -08:00
Sam Lantinga
0efb1ea0b2
Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers.
2011-01-31 23:23:57 -08:00
Sam Lantinga
f9ebc0527f
Removed more partially functional renderers
2011-01-31 22:53:45 -08:00
Sam Lantinga
471a85fb52
Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers.
2011-01-31 22:44:43 -08:00
Sam Lantinga
096a6b8d79
Removed partially functional renderers
2011-01-31 22:21:29 -08:00
Sam Lantinga
2a2df3d2b1
Spacing for documentation tweaks
2011-02-01 12:01:37 -08:00
Sam Lantinga
e191dd269c
Tweak for documentation
2011-02-01 11:53:29 -08:00
Sam Lantinga
a961fbabfe
Added Edgar's blog to the haptic documentation
2011-01-28 12:09:25 -08:00
Sam Lantinga
74a3510cf2
Removed completely non-portable event thread hack.
...
Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
2011-01-27 22:44:08 -08:00
Sam Lantinga
357519de5a
Added API function to get CPU cache line size.
2011-01-27 20:46:45 -08:00
Sam Lantinga
c5035c553b
Bump up the default cache line size.
2011-01-27 16:51:47 -08:00
Sam Lantinga
d6a6503537
Added cache line size info in SDL_cpuinfo.h
...
I also added an implementation to dynamically query it, but didn't expose it since most x86 CPUs have an L1 cache line size of 64 bytes.
2011-01-27 16:46:15 -08:00
Sam Lantinga
9b5a15bc30
Improved timer implementation
...
The new timer model is formalized as using a separate thread to handle timer callbacks. This was the case on almost every platform before, but it's now a requirement, and simplifies the implementation and makes it perform consistently across platforms.
Goals:
* Minimize timer thread blocking
* Dispatch timers as accurately as possible
* SDL_AddTimer() and SDL_RemoveTimer() are completely threadsafe
* SDL_RemoveTimer() doesn't crash with a timer that's expired or removed
2011-01-27 14:45:06 -08:00
Sam Lantinga
98d356be1b
Improved condition variable documentation
2011-01-27 10:40:17 -08:00
Sam Lantinga
0ffe05f55f
Only document the public API, not the whole source tree.
2011-01-27 07:05:13 -08:00
Sam Lantinga
9195b9f922
Nobody is maintaining RISC OS code, so I'm removing it for now.
2011-01-27 00:06:36 -08:00
Sam Lantinga
c382f95013
Added a FIFO test to the atomic test suite.
...
This is really useful because we might be able to use something like this
for the SDL event queue.
2011-01-25 23:23:52 -08:00
Sam Lantinga
94cfb29bb1
More fixes for compilation on Visual Studio
2011-01-25 18:02:41 -08:00
Sam Lantinga
7dba2ad5da
Fixed compile error on Visual C++
2011-01-25 17:44:17 -08:00
Sam Lantinga
3dc1009723
Improvements based on feedback from Anthony Williams
2011-01-25 17:40:06 -08:00
Sam Lantinga
37df0221d4
Fixed cross-compiling for Windows
2011-01-24 21:41:36 -08:00
Sam Lantinga
57ac355cb5
Fixed bug #1100
...
Test the video features with #if instead of #ifdef
2011-01-24 17:38:18 -08:00
Sam Lantinga
ec39fffe84
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
2011-01-24 15:46:11 -08:00
krogoway
d35de7167f
Renamed SDL_keysym to SDL_KeySym
...
Renamed SDL_scancode to SDL_ScanCode
Added #defines to SDL_compat.h
2011-01-24 13:47:35 -06:00
Sam Lantinga
8ca87bec57
Fixed bug #1097
...
There are problems with including intrin.h in C linkage in C++ compilation,
and further conflicts between intrin.h and winnt.h on Visual Studio 2005.
2011-01-21 23:46:51 -08:00
Sam Lantinga
cabda4aa7c
HAVE_GCC_ATOMICS covers the test and set
2011-01-21 21:45:55 -08:00
Sam Lantinga
3b73c8e006
Yeah, go iPhone!
2011-01-21 21:43:56 -08:00
Sam Lantinga
69dab46757
Separated out the minimum functionality that we need from gcc for our spinlock fallback.
2011-01-21 21:42:04 -08:00
Sam Lantinga
dffcf58f01
Fixed bug #859
...
CREATE_SUBDIRS helps a lot if browsing HTML documentation in a file browser.
ALWAYS_DETAILED_SEC makes sure everything has at least the automatic
documentation like function prototype and source references.
STRIP_FROM_PATH allows you to include only the relevant portions of the files'
paths, cleaning up both the file list and directory tree, though you need to
change the path listed here to match wherever you put SDL.
ALIASES avoids some warnings generated by
C:\source\svn.libsdl.org\trunk\SDL\src\joystick\darwin\10.3.9-FIX\IOHIDLib.h.
It seems Apple uses a few commands which are not normally supported by Doxygen.
BUILTIN_STL_SUPPORT adds support for parsing code which makes use of the
standard template library. There isn't a lot of C++ in SDL (some in bwindow at
least), but this still seems like a good idea.
TYPEDEF_HIDES_STRUCT means that for code like this:
typedef struct A {int B;} C;
C is documented as a structure containing B instead of a typedef mapped to A.
EXTRACT_ALL, EXTRACT_PRIVATE, EXTRACT_STATIC, EXTRACT_LOCAL_METHODS,
EXTRACT_ANON_NSPACES and INTERNAL_DOCS make sure that _everything_ is
documented.
CASE_SENSE_NAMES = NO avoids potential conflicts when building documentation on
case insensitive file systems like NTFS and FAT32.
WARN_NO_PARAMDOC lets you know when you have documented some, but not all, of
the parameters of a function. This is useful when you're working on adding
such documentation since it makes partially documented functions easier to
spot.
WARN_LOGFILE writes warnings to a seperate file instead of mixing them in with
stdout. When not running in quiet mode, these warnings can be hard to spot
without this flag.
I added *.h.in and *.h.default to FILE_PATTERNS to generate documentation for
config.h.in and config.h.default.
RECURSIVE tells doxygen to look not only in the input directory, but also in
subfolders.
EXCLUDE avoids documenting things like test programs, examples and templates
which need to be documented separately.
I've used EXCLUDE_PATTERNS to exclude non-source subdirectories that often find
their way into source folders (such as obj or .svn).
EXAMPLE_PATH lists directories doxygen will search to find included example
code. So far, SDL doesn't really use this feature, but I've listed some likely
locations.
SOURCE_BROWSER adds syntax highlighted source code to the HTML output.
USE_HTAGS is nice, but not available on Windows.
INLINE_SOURCES adds the body of a function to it's documentation so you can
quickly see exactly what it does.
ALPHABETICAL_INDEX generates an alphabetical list of all structures, functions,
etc., which makes it much easier to find what you're looking for.
IGNORE_PREFIX skips the SDL_ prefix when deciding which index page to place an
item on so you don't have everything show up under "S".
HTML_DYNAMIC_SECTIONS hides the includes/included by diagrams by default and
adds JavaScript to allow the user to show and hide them by clicking a link.
ENUM_VALUES_PER_LINE = 1 makes enums easier to read by placing each value on
it's own line.
GENERATE_TREEVIEW produces a two frame index page with a navigation tree on the
left.
I have LaTeX and man pages turned off to speed up doxygen, you may want to turn
them back on yourself.
I added _WIN32=1 to PREDEFINED to cause SDL to output documentation related to
Win32 builds of SDL. Normally, doxygen gets confused since there are multiple
definitions for various structures and formats that vary by platform. Without
this doxygen can produce broken documentation or, if you're lucky, output
documentation only for the dummy drivers, which isn't very useful. You need to
pick a platform.
GENERATE_TAGFILE produces a file which can be used to link other doxygen
documentation to the SDL documentation.
CLASS_DIAGRAMS turns on class diagrams even when dot is not available.
HAVE_DOT tells doxygen to try to use dot to generate diagrams.
TEMPLATE_RELATIONS and INCLUDE_GRAPH add additional diagrams to the
documentation.
DOT_MULTI_TARGETS speeds up dot.
OUTPUT_DIRECTORY, INPUT and other paths reflect the fact that this Doxyfile is
intended to process src as well as include and is being run from a separate
subdirectory. Doxygen produces several temporary files while it's running and
if interrupted, can leave those files behind. It's easier to clean up if there
aren't a hundred or so files in the same folder. I typically run doxygen in
SDL/doxy and set the output directory to '.'. Since doxygen puts it's output
in subfolders by type, this keeps things pretty well organised. You could use
'../doc' instead and get the same results.
2011-01-21 12:57:01 -08:00
Sam Lantinga
7f59b3b677
Fixed compile error on Mac OS X
2011-01-21 11:23:19 -08:00
Sam Lantinga
3f8169298d
You can't have an empty union in the structure...
2011-01-20 18:09:55 -08:00
Sam Lantinga
08ad787807
Fixed bug #925
...
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00
Sam Lantinga
3fdc01d097
Added the ability to get the UIKit window through the SDL API.
...
You can also do this through the native API:
UIWindow *window = [[UIApplication sharedApplication] keyWindow];
Also needed to name the union for events and window info.
2011-01-20 16:05:59 -08:00
Sam Lantinga
3684c60e0c
SDL doesn't depend on GLU, and overwhelming feedback from the mailing list is that people don't want it included in SDL_opengl.h
2011-01-19 22:55:51 -08:00
Sam Lantinga
ed1f29af7d
PS3 Linux is no more...
2011-01-19 22:25:40 -08:00
Sam Lantinga
05e196a519
Nobody has stepped up to maintain an svgalib driver. Bye bye! :)
2011-01-19 22:21:31 -08:00
Sam Lantinga
8fb4ff28fb
Nobody has stepped up to maintain a framebuffer console driver. Bye bye! :)
2011-01-19 22:18:45 -08:00
Sam Lantinga
4c63689825
Fixed using the native iconv library
2011-01-19 15:28:01 -08:00
Sam Lantinga
32ac172d1a
Not all MinGW compilers have intrin.h, so we'll only use this with Visual Studio.
...
That's actually okay, since gcc has the builtin atomic intrinsics. :)
2011-01-18 15:07:53 -08:00
Sam Lantinga
1a141df371
SDL_atomic.h is safe to include in the main header now.
2011-01-17 14:08:00 -08:00
Sam Lantinga
2a3a996219
Fixed compiler warnings using Windows intrinsics
2011-01-17 14:07:15 -08:00
Sam Lantinga
f5bbe15139
Fixed compiler error
2011-01-17 14:05:14 -08:00
Sam Lantinga
f7788bbb12
Use compiler intrinsics, where available
2011-01-17 13:53:31 -08:00
Sam Lantinga
a4445e1512
Use the portable intrinsic
2011-01-17 13:52:40 -08:00
Sam Lantinga
9017f24006
Minor documentation consistency cleanup
2011-01-17 09:09:15 -08:00
Sam Lantinga
c94b5b6866
Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h
...
This allows all SDL code to take advantage of the atomic intrinsics on Windows, but doesn't cause applications just including SDL.h to pull in windows.h
2011-01-16 17:45:42 -08:00
Sam Lantinga
4c5bf24ecb
Don't hose code that isn't expecting a windows include
2011-01-16 15:31:09 -08:00
Sam Lantinga
89d48a0f83
Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
...
Changed the CAS return value to bool, so it's efficient with OSAtomicCompareAndSwap32Barrier()
Added an atomic test adapted from code by Michael Davidsaver
2011-01-16 15:16:39 -08:00
Sam Lantinga
38e31e4598
Updated the atomic API for better use cases
2011-01-15 12:41:59 -08:00
Sam Lantinga
890680f51e
Added some missing config for the iPhone
2011-01-15 12:34:43 -08:00
Sam Lantinga
be09e4e9a0
Added some missing pixel formats and SDL_GetPixelFormatName()
2011-01-12 14:53:23 -08:00
Sam Lantinga
036154b8c0
Fixed spacing in comments
2011-01-12 11:55:02 -08:00
Sam Lantinga
15e43076a4
Updated headers to match wiki documentation
2011-01-12 09:47:33 -08:00
Sam Lantinga
6da7a17174
Build the SDL library as a shared object on Android, so it will work correctly with SDL_image and SDL_ttf.
2011-01-06 16:11:21 -08:00
Sam Lantinga
49a4522f6f
Fixed 2D video on Android
...
There was a dummy renderer left in there which was overriding the OpenGL ES renderer.
2011-01-04 20:36:39 -08:00
Sam Lantinga
6c961a2344
Android needs the SDL_main() redirect as well
2011-01-04 11:39:04 -08:00
Sam Lantinga
c4f1a0abd3
Added the Android config include to the default config.h
2011-01-04 11:07:27 -08:00
Sam Lantinga
cead9cf66b
The source rectangle isn't modified in SDL_UpperBlit
2011-01-04 10:19:24 -08:00
Sam Lantinga
1fb3692730
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
80b28b58d8
Android has atan() and atan2()
2011-01-01 16:56:54 -08:00
Sam Lantinga
d6eac2c481
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
191d2b4366
Removed support for 10.3.9
...
Fixed building on Mac OS X 10.5
2010-12-01 12:23:16 -08:00
Sam Lantinga
fb97826021
Don't conflict with glext.h if it's already been included
2010-12-01 12:02:52 -08:00
Andreas Schiffler
b9e9c91a70
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
0fe9b68cc0
Documentation clarification
2010-09-29 21:24:50 -07:00
Sam Lantinga
276bfeac6c
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
bf43df8ba5
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
5426a79715
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
84cee89a18
Fixed documentation typo
2010-09-25 17:06:41 -07:00
Sam Lantinga
864edec6b4
Fixed grammar, thanks to Sheena's suggestion.
2010-09-18 17:12:19 -07:00
Sam Lantinga
823c38786d
Fixed documentation
2010-09-14 21:57:29 -07:00
Sam Lantinga
f5f5c845ae
Documentation consistency
2010-08-29 22:34:50 -07:00
Sam Lantinga
c9ac1fe3e5
Documentation consistency
2010-08-29 22:28:38 -07:00
Sam Lantinga
4913c48bba
Fixed typo in header
2010-08-29 22:22:27 -07:00
Sam Lantinga
a14a177d5f
Documentation clarification
2010-08-29 22:12:59 -07:00
Sam Lantinga
e7789ad75b
Suspending the screensaver defaults off.
2010-08-29 21:41:11 -07:00
Sam Lantinga
256b2c3990
Compiling in atan()/atan2() implementation on Visual Studio 2008.
2010-08-29 16:55:58 -07:00
Sam Lantinga
7a7d43524f
Added atan implementation from uClibc
2010-08-29 16:51:48 -07:00
Sam Lantinga
317cd0515f
Added atan2 implementation from uClibc
2010-08-29 16:05:34 -07:00
Sam Lantinga
b66ae96de5
Documentation clarification
2010-08-29 15:26:12 -07:00
Sam Lantinga
39db467ca6
While you can actually write to the error buffer, conceptually it's read-only.
2010-08-29 12:00:09 -07:00
Sam Lantinga
f0480c0501
Added a typedef for the thread function to simplify documentation
2010-08-28 22:56:52 -07:00
Sam Lantinga
3c0f319cce
Fixed documentation typo
2010-08-22 17:19:10 -07:00
Sam Lantinga
993db1a6aa
Fixed obsolete documentation
2010-08-22 15:34:28 -07:00
Sam Lantinga
b7c5d88e6a
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
2010-08-22 13:45:56 -07:00
Sam Lantinga
d4d88abae0
Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME
2010-08-22 12:39:27 -07:00
Sam Lantinga
4df9989dd4
Removed spurious carriage returns
2010-08-22 12:34:31 -07:00
Sam Lantinga
ac80a80f6a
Merged Paul's Google Summer of Code work from SDL-gsoc2010_android
2010-08-22 12:23:55 -07:00
Sam Lantinga
7f6ad8e572
Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture
2010-08-22 12:07:55 -07:00
Jim Grandpre
e9d12a479a
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
2010-08-15 00:36:28 -04:00
egottlieb
1dac65bd3a
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
2010-08-14 16:14:36 -04:00
Sam Lantinga
0f67a475f9
Fixed documentation error
2010-08-14 12:28:43 -07:00
Sam Lantinga
8ed311fcbf
Updated with the latest version of glext.h
2010-08-14 12:22:06 -07:00
Eli Gottlieb
12b0fa8c5e
Fixed a bug in X11 shaping that refused to use color-key mode.
2010-08-10 16:10:26 -04:00
Jim Grandpre
db352f3b39
Fixed gestureMulti. Disabled dollar gesture temporarily.
2010-08-04 23:17:30 -04:00
egottlieb
63f5546ab0
Implemented shaped windows for Cocoa. Still need to see if they actually work.
2010-08-03 21:56:05 -04:00
dewyatt
a83ba70ce5
Added SDL_wcslcpy and SDL_wcslcat.
2010-08-03 16:52:10 -04:00
egottlieb
4a74542b6e
Got basic, pre-actually-writing-anything Cocoa to build.
2010-08-03 00:47:33 -04:00
Eli Gottlieb
122c35caa0
Why wasn't this in the repository?
2010-08-02 23:58:22 -04:00
Sam Lantinga
0b1069a725
Fixed various type and print format issues
2010-07-31 20:38:37 -07:00
jimtla
05c264c774
Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working).
2010-07-31 20:02:54 +04:00
jimtla
214939549f
Upgraded touchId/fingerId to long. Changed position variables to floats.
2010-07-30 23:18:35 +04:00
Sam Lantinga
b8b0d2faaa
Documentation updates
2010-07-29 20:24:05 -07:00
Sam Lantinga
617542daf6
Merged Sunny's XRender changes from SDL-gsoc2010_xrender
2010-07-28 00:54:23 -07:00
Paul Hunkin
eb38d6aa71
- Cleaned up a bunch of code
...
- Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be
- More work on the sound system. But it still crashes pretty horribly, not sure why yet.
2010-07-27 21:21:24 +02:00
Paul Hunkin
daa451a473
Oops, I wasn't using pthreads. Fixed so we can have mutexes and stuff
2010-07-27 15:23:09 +02:00
Paul Hunkin
10203b606f
Updated test app to init the sound system
2010-07-27 11:35:06 +02:00
Eli Gottlieb
5416c894f4
Added color-key mode and redid the code to work with it.
2010-07-22 23:11:01 -04:00
Sunny Sachanandani
2fcfc81241
Advertise support for all supported texture formats.
2010-07-22 10:53:41 +05:30
Sam Lantinga
741880b4dc
Added support for keyboard repeat (only tested on Windows so far)
2010-07-20 23:25:24 -07:00
Sunny Sachanandani
51b997ebad
Integrate XFixes and XDamage into the build system.
2010-07-19 20:05:53 +05:30
Eli Gottlieb
f35e180363
Added #define's for error codes returned from SDL shaped-window API.
2010-07-18 22:24:52 -04:00
Sam Lantinga
d6cb212829
RedHat patch: SDL-1.2.14-byteorder.patch
2010-07-18 11:23:34 -07:00
dewyatt
ea01e5af61
Merge with main repo (mainly for non-printable character fix)
2010-07-18 13:48:23 -04:00
Sam Lantinga
ac279884c4
Fixed typo in the documentation
2010-07-17 22:59:28 -07:00
Jim Grandpre
d18ef30119
Bug fixes, now using RWops instead of File pointers.
2010-07-16 20:48:43 -04:00
Jim Grandpre
4b707013d1
Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS.
2010-07-13 18:31:09 -04:00
dewyatt
d3a558d55e
Added SDL_utf8strlcpy to copy at UTF-8 character boundaries.
...
Changed SDL_SendKeyboardText and SDL_SendEditingText to use SDL_utf8strlcpy.
2010-07-13 15:05:45 -04:00
Ryan C. Gordon
bf17cebd40
Add XShape test to configure scripts.
2010-07-13 02:43:10 -04:00
Sam Lantinga
6f2000e6d2
Merged changes from the main SDL codebase
2010-07-12 21:09:23 -07:00
dewyatt
5155fd21d2
Changed Start/StopTextInput back to not take any parameters.
...
We call SDL_GetKeyboardFocus internally now.
2010-07-12 14:17:43 -04:00
Sam Lantinga
b07db7e9c3
Implemented X11 system window manager info for SDL 1.3. It's simple. Really.
2010-07-12 01:20:57 -07:00
Sam Lantinga
6540320beb
Fixed compile warnings
2010-07-12 00:35:14 -07:00
Jim Grandpre
9e7603a6ba
Added some files I had previosuly missed
2010-07-11 01:15:39 -04:00
dewyatt
42439abb5e
Changed StopTextInput to take an SDL_Window parameter.
2010-07-10 13:15:47 -04:00
Jim Grandpre
bdbb130028
Moved $1 Gestures into the SDL Library
2010-07-09 00:50:40 -07:00
Sam Lantinga
ddf0465549
Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.
2010-07-08 22:54:03 -07:00
Sam Lantinga
e4fe1bb40f
Simplified clipboard API for sanity's sake.
...
A complete clipboard implementation would support multiple formats that could be queried at runtime, events for when the clipboard contents changed, support for HTML, images, etc. We're not going that crazy, at least for now. :)
2010-07-07 23:54:03 -07:00
Sam Lantinga
2612b4c651
Whoops, updated the copyright date
2010-07-07 23:26:07 -07:00
Sam Lantinga
261b8d8865
First pass at clipboard API, still very much in progress
2010-07-07 23:24:04 -07:00
dewyatt
e24912e909
Changed StartTextInput to take an SDL_Window parameter.
2010-07-08 01:35:47 -04:00
Sam Lantinga
a517ddf4a5
Added SDL_FOURCC()
2010-07-07 21:36:09 -07:00
Sam Lantinga
e983e5bb65
Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)
...
Updated iPhone demos (which build and run again)
2010-07-07 18:58:51 -07:00
Jim Grandpre
9d8bd2bcf5
Moved Multi finger gesture recognition into the library.
2010-07-07 04:13:08 -07:00
Eli Gottlieb
02cc7bc991
Updated test code, updated win32 code a bit (still not complete, but hopefully tonight), and removed the last vestiges of ellipse and polygon drawing support.
2010-07-06 22:05:22 -04:00
Eli Gottlieb
749298e6c2
Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
2010-06-30 16:19:44 -04:00
Sam Lantinga
672bd0bbc6
Typo in documentation
2010-06-27 23:17:36 -07:00
Eli Gottlieb
756b99c69f
Added Andreas's fixes to the header and stub file for SDL_shape.
2010-06-21 23:08:10 -04:00
Eli Gottlieb
c20899a378
Replaced the model of treating a window's shape as a render target with treating a window's shape as a surface passed into an SDL_SetWindowShape() function. I'll send this off to Andreas and Sam and start coding.
2010-06-19 23:10:57 -04:00
Jim Grandpre
4e7b6a96a5
Fixed bugs in input, cleaned up $1
2010-06-18 01:43:02 -04:00
Sam Lantinga
d89ec9302c
Hello Sam.
...
I did fix/update the SDL 1.3 pandora port today ( 11 june 2010 ) and you can find the "hg diff" attached :)
David Carré ( Cpasjuste )
2010-06-17 22:23:20 -07:00
Eli Gottlieb
390be0affb
Doxygen commenting is all finished up.
2010-06-10 17:50:38 -04:00
Eli Gottlieb
847ce12a33
Stubbed out the new get/set parameter functions, added the start of the enum, union, and struct for those parameters themselves, and added doxygen comments throughout the SDL_shape.h header.
2010-06-10 17:37:19 -04:00
Paul Hunkin
61ddab05c6
Added (partially implemented) android video backend and associated files needed to build
2010-06-10 18:54:23 +12:00
Sam Lantinga
3a228f30bf
Fixed wording for consistency
2010-06-06 21:09:45 -07:00
Eli Gottlieb
2ace9d0f8c
Removed and added back SDL_shape.{c,h} wholesale. Will this get them tracked properly?
2010-06-05 15:07:14 -04:00
Eli Gottlieb
9f0bc591c6
Updated SDL_shape.h by adding a line break... somehow it's not being tracked correctly.`
2010-06-05 15:01:40 -04:00
jimtla
ea0c984c8e
Addition of VC project for touchTest.c
2010-06-05 01:58:56 -04:00
Eli Gottlieb
0566e957f7
Fixed up new functions and files so that they build as part of SDL.
2010-06-03 17:21:40 -04:00
Eli Gottlieb
b24db2415a
Stubbed out the new drawing, filling, and geometry functions for ellipses and polygons.
2010-06-03 16:21:04 -04:00
Eli Gottlieb
46c89257a5
Added management and drawing functions for ellipses and polygons.
2010-06-03 14:43:38 -04:00
Jim Grandpre
60450688f9
Added include/touch.h Now reading in resolution of touch pad.
2010-06-01 02:54:33 -04:00
Sunny Sachanandani
bc6683eed7
Modified configure.in to allow building with Xrender. Fixed all problems that prevented compilation.
...
Builds fine now :)
2010-05-31 13:27:27 +05:30
Jim Grandpre
80ecbb9011
Added pressure support for touch events.
2010-05-29 02:09:16 -04:00
Jim Grandpre
a1401afe42
Added reading of event* for touch events.
2010-05-28 01:26:52 -04:00
Eli Gottlieb
fee0949a87
Added the standard headers and footers that make SDL_shape.h and SDL_shape.c integrate properly into the build.
2010-05-27 16:44:35 -04:00
Jim Grandpre
4a3ed7b859
Added touch event definitions. Heavily modified events/SDL_touch*.
2010-05-27 01:21:37 -04:00
Sam Lantinga
b8da79e726
SDL_KillThread() is no longer supported - it was always dangerous! :)
2010-05-24 22:56:36 -07:00
Eli Gottlieb
46a886a498
Changed API for shaped windows to make it much, much simpler. A shaped window's shape mask is now accessed as a render target, which means we can get at it with blit and draw functions, as well as (most likely) OpenGL.
2010-05-25 00:23:41 -04:00
Eli Gottlieb
89f8f1be75
I'm actually going to have to alter this proposed API a fair bit, but it's coming along. I want to keep it as orthogonal to the rest of SDL as possible.
2010-05-23 01:27:09 -04:00
Paul Hunkin
99ccaa6680
Added some android build stuff
2010-05-23 15:18:16 +12:00
Paul Hunkin
6b8d32ccde
Fix compile errors under Android toolchain. Seems to have the same issue as the NDS.
2010-05-23 15:10:18 +12:00
Paul Hunkin
3ca3ae0c70
Fixed comment style
2010-05-23 15:08:30 +12:00
Eli Gottlieb
1e5d71184b
Moved SDL_shape.h, and building out the API as needed by SDL_Eyes.
2010-05-21 17:28:12 -04:00
Sunny Sachanandani
7551aa6dd9
Adding a few #defines for Xrender support.
2010-05-19 18:58:28 +05:30
Paul Hunkin
205e65f689
Initial commit, adding __ANDROID__ to the platform list
2010-05-17 15:14:34 +12:00
Sam Lantinga
4b1c945432
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