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
Sam Lantinga
98918d160e
Updated with the SDL 1.3 list of supported operating systems
2010-05-09 09:53:57 -07:00
Ryan C. Gordon
8524311b24
Implemented SDL power APIs for iPhoneOS.
2010-04-30 00:39:31 -04:00
Sam Lantinga
23267677ee
esigra 2010-04-17 03:53:57 PDT
...
If this header file is supposed to be includable from C++ code, the code should
of course use one of the SDL_*_cast macros from SDL_stdinc.h.
2010-04-23 02:15:05 -07:00
Sam Lantinga
6c556c1780
Minor cleanup on Jiang's patch
2010-04-15 22:27:01 -07:00
Sam Lantinga
b87ae3913b
changeset: 4433:25667ea797fa
...
tag: tip
user: Jiang Jiang <gzjjgod@gmail.com>
date: Thu Apr 15 12:01:46 2010 +0800
summary: Add windowID to text editing event
2010-04-15 22:14:26 -07:00
Sam Lantinga
b740fb4389
Fixed bug 944
...
Tatu Kilappa 2010-02-11 12:13:20 PST
When compiling with -Wconversion, gcc complains about a cast in SDL_endian.h
that might change the result as we are casting from an int into an Uint16. This
is of course not visible unless we are on a non-x86 platform where the
assembler is not available.
While it's not really an error, the warning is really annoying. To fix, change
SDL_endian.h line 87 to:
return(Uint16)((x<<8)|(x>>8));
Thank you.
2010-04-13 22:01:14 -07:00
Sam Lantinga
b0847f3de2
General improvements for user custom event registration
...
* Switched event type to enum (int32)
* Switched polling by mask to polling by type range
* Added SDL_RegisterEvents() to allow dynamic user event registration
* Spread events out to allow inserting new related events without breaking binary compatibility
* Added padding to event structures so they're the same size regardless of 32-bit compiler structure packing settings
* Split SDL_HasEvent() to SDL_HasEvent() for a single event and SDL_HasEvents() for a range of events
* Added SDL_GetEventState() as a shortcut for SDL_EventState(X, SDL_QUERY)
* Added SDL_FlushEvent() and SDL_FlushEvents() to clear events from the event queue
2010-03-25 01:08:26 -07:00
Sam Lantinga
c863037677
Fixed bug #961
...
Kalle Olavi Niemitalo 2010-02-28 09:15:50 PST
It seems the SDLK_LMETA and SDLK_RMETA constants have been removed from SDL
1.3. I grepped for them in the SDL source tree and these were the only hits:
./include/SDL_compat.h:230:#define SDLK_LSUPER SDLK_LMETA
./include/SDL_compat.h:231:#define SDLK_RSUPER SDLK_RMETA
./src/video/bwindow/SDL_BWin.h:194: keymap[0x66] = SDLK_LMETA;
./src/video/bwindow/SDL_BWin.h:195: keymap[0x67] = SDLK_RMETA;
I don't know how compatible SDL 1.3 is supposed to be with applications
designed for SDL 1.2. However, as you can see, SDL itself is still trying to
use the removed constants, and that is clearly a bug.
Because SDL_compat.h defines KMOD_LMETA as KMOD_LGUI, I suppose it should also
define SDLK_LMETA as SDLK_LGUI, and SDLK_RMETA likewise.
2010-03-09 06:07:48 +00:00
Sam Lantinga
d2520173cd
Removed reference to compatibility function
2010-03-05 15:43:46 +00:00
Ryan C. Gordon
0b60050ea1
Changed revision details to be a string (an hg changeset) instead of an int.
2010-02-28 02:07:40 -05:00
Sam Lantinga
fae1ae3788
Removed reference to compatibility function
2010-02-26 04:50:38 +00:00
Sam Lantinga
77c0f695f9
Fixed typo in the comment
2010-02-26 03:34:10 +00:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
102fd54847
Fixed bug #935
...
Patrice Mandin
Hello,
I originally added pth support for threads in SDL 1.2 because on the Atari
platform we did not have any thread library.
I think pth support could be removed from SDL 1.3 for two reasons:
- Atari platform removed
- pth does not provides real (preemptive) threads, because it is user space,
and expect the application to call one of its function to give CPU to another
thread. So it is not exactly useful for applications, that expect threads to
run simultaneously.
2010-01-24 20:47:20 +00:00
Sam Lantinga
8de28c8753
Documentation consistency
2010-01-22 06:50:17 +00:00
Sam Lantinga
e0a31b4dbb
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
2010-01-21 06:21:52 +00:00