Commit Graph

  • 4df9989dd4 Removed spurious carriage returns Sam Lantinga 2010-08-22 12:34:31 -07:00
  • ac80a80f6a Merged Paul's Google Summer of Code work from SDL-gsoc2010_android Sam Lantinga 2010-08-22 12:23:55 -07:00
  • 7f6ad8e572 Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture Sam Lantinga 2010-08-22 12:07:55 -07:00
  • dd3bf43610 Fixed some typos in the documentation Sam Lantinga 2010-08-22 12:03:53 -07:00
  • fe0cdcd582 According to Jim, the touchTest directory is no longer necessary. Sam Lantinga 2010-08-22 12:00:02 -07:00
  • 45fff76a4f Don't need to use strlen() to determine if there's text. Use the SDL safe strcpy() function Sam Lantinga 2010-08-22 11:56:07 -07:00
  • 19cbdaa0c7 Fixed hgIgnore to ignore test/gesturetest Jim Grandpre 2010-08-19 13:49:11 -04:00
  • 3b876a9b92 Updated README's Jim Grandpre 2010-08-19 13:47:12 -04:00
  • b03ba1321d Removed obsolete test project Sam Lantinga 2010-08-19 00:21:20 -07:00
  • faaae689b9 Updated the readme Paul Hunkin 2010-08-17 17:28:14 +12:00
  • 6d0fb58d50 Create all shaped windows at -1000,-1000 and save the real coordinates. egottlieb 2010-08-17 01:11:11 -04:00
  • fe9cff081b Cleanups. Paul Hunkin 2010-08-17 15:35:56 +12:00
  • b6a4181ee9 Recoded Cocoa code that got erased by... failure to commit? Merge? Eh. egottlieb 2010-08-16 14:01:00 -04:00
  • b09f1ba43d Moved the +1 to mostly eliminate the visual artifact. egottlieb 2010-08-16 10:48:54 -04:00
  • 394cc7bd48 Raised binarization cutoff to eliminate alpha-blending of trollface. egottlieb 2010-08-16 09:55:35 -04:00
  • 91ba94a87c Condensed flag-setting code and put parantheses in the appropriate places. It was that, in the end. egottlieb 2010-08-16 01:17:19 -04:00
  • ce14844102 Set flag bits *exactly* as Andreas showed me in his screenshot. This shouldn't be different, but what do I know about C's order of operations? Eli Gottlieb 2010-08-15 23:57:50 -04:00
  • 2c4b1f57f7 Removed useless debugging code. egottlieb 2010-08-15 22:03:38 -04:00
  • 0292ed62d8 Added last test shape. Because. Eli Gottlieb 2010-08-15 21:46:46 -04:00
  • d7e4ccead0 Added hiding-as-positioning trick and finally fixed flags. egottlieb 2010-08-15 21:46:04 -04:00
  • 4246295677 Changed flags and positioning (for the fake-hiding) as Andreas recommended. Eli Gottlieb 2010-08-15 18:52:57 -04:00
  • e9d12a479a Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture Jim Grandpre 2010-08-15 00:36:28 -04:00
  • 502e27f1c8 Mostly seem to have fixed SDL_CalculateShapeTree. Mostly. There still seem to be some rendering artifacts, stepping effects, and such on Windows -- which indicates subtle logic errors in SDL_CalculateShapeTree(). egottlieb 2010-08-14 20:29:51 -04:00
  • 1dac65bd3a Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now! egottlieb 2010-08-14 16:14:36 -04:00
  • 412a885716 Added initial README.android Paul Hunkin 2010-08-14 16:17:17 +12:00
  • bb00fc114d Fixed bugs related to keyboard handling in gestureSDLTest. Fixed gesture code (dynamic memory allocation). Cleaned up gesture and test code. Jim Grandpre 2010-08-13 23:08:32 -04:00
  • 2384244845 Working on the sound system Paul Hunkin 2010-08-14 12:35:21 +12:00
  • 6b5ac4fefa Fixed so the origin of the touch events is the upper left. Sam Lantinga 2010-08-13 17:05:06 -07:00
  • c02cbc3cbc Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows. Eli Gottlieb 2010-08-12 18:17:15 -04:00
  • 885a15db6b Fix for deleting the last uncommit character Jjgod Jiang 2010-08-12 16:00:47 +02:00
  • 40a17f8980 Couriersud to Sam Sam Lantinga 2010-08-16 09:04:55 -07:00
  • 0f67a475f9 Fixed documentation error Sam Lantinga 2010-08-14 12:28:43 -07:00
  • 8ed311fcbf Updated with the latest version of glext.h Sam Lantinga 2010-08-14 12:22:06 -07:00
  • 15e6500cbb Fixing variable naming style. egottlieb 2010-08-10 16:30:53 -04:00
  • 12b0fa8c5e Fixed a bug in X11 shaping that refused to use color-key mode. Eli Gottlieb 2010-08-10 16:10:26 -04:00
  • 84161d16a6 Fixing bugs introduced into X11 shaping implementation by merge. Eli Gottlieb 2010-08-10 15:45:59 -04:00
  • f3f20e2df1 Switched over to poly-polygon region building and shape-tree traversal for Win32. egottlieb 2010-08-10 15:39:46 -04:00
  • b60c431a34 Fixed formatting of SDL_shape.c post-merge again. Eli Gottlieb 2010-08-09 20:32:15 -04:00
  • 22cc9dd63f Merged branches again. Eli Gottlieb 2010-08-09 20:29:21 -04:00
  • bad338e4af Fixed overwriting of SDL_shape.c in merge. Eli Gottlieb 2010-08-09 20:27:45 -04:00
  • e497b88e5a Updated shapes folder. egottlieb 2010-08-09 16:26:45 -04:00
  • 61432b5725 Merging branches. Will begin correcting mistakes introduced by merging. Eli Gottlieb 2010-08-09 15:41:33 -04:00
  • 75d19f4863 Reformatting code to match the rest of SDL. Variable names seem OK; replaced tabs with 4 spaces each for indentation. Eli Gottlieb 2010-08-09 15:37:20 -04:00
  • 9aa3fcfe91 Documentation and code safety updates. (x11 renderer) Sunny Sachanandani 2010-08-08 19:26:30 +05:30
  • 5f75d528bc Removed some debug prints. Jim Grandpre 2010-08-07 11:35:24 -04:00
  • 0f020bbf55 Fixed Dollar Recognition. Jim Grandpre 2010-08-07 11:32:11 -04:00
  • 75a9691e3e Fixed lots of little bugs in Win32 shaping and in SDL_CalculateShapeTree(). Still not actually showing anything on Windows, though there's no crashes and everything compiles fine. Bugger. egottlieb 2010-08-06 20:22:14 -04:00
  • 2ad29056fc Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree(). egottlieb 2010-08-06 13:52:38 -04:00
  • c3213f36fb Re-enabled dollar gesture Jim Grandpre 2010-08-06 01:55:38 -04:00
  • 082b1f9d41 Finally figured out how to use autorelease pools. egottlieb 2010-08-05 21:27:32 -04:00
  • 86bd63adea Improving Cocoa implementation and fixed a small bug in SDL_shape.c. egottlieb 2010-08-05 18:58:45 -04:00
  • f6801f7941 Shaped windows for Cocoa build and testshape runs, but the actual shaping doesn't work. Something, however, is definitely happening, because we get the backgrounds drawn in two different colors. egottlieb 2010-08-05 01:03:24 -04:00
  • c2c9b63c50 Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code. egottlieb 2010-08-05 00:53:38 -04:00
  • db352f3b39 Fixed gestureMulti. Disabled dollar gesture temporarily. Jim Grandpre 2010-08-04 23:17:30 -04:00
  • 6cb78fc012 Updated to fit SDL style a little more. dewyatt 2010-08-04 23:17:12 -04:00
  • c4d3ce5615 Building under OS X with command-line tools now works. egottlieb 2010-08-03 23:41:57 -04:00
  • db9e3b827b Compiling for cocoa now works. Does it run? We'll see. egottlieb 2010-08-03 23:22:31 -04:00
  • 63f5546ab0 Implemented shaped windows for Cocoa. Still need to see if they actually work. egottlieb 2010-08-03 21:56:05 -04:00
  • aaf5ab0a46 Large commit with initial reading string support, TSF UILess code, etc. dewyatt 2010-08-03 16:57:49 -04:00
  • a83ba70ce5 Added SDL_wcslcpy and SDL_wcslcat. dewyatt 2010-08-03 16:52:10 -04:00
  • 1123728a5d Removed superfluous VS2010 build files. egottlieb 2010-08-03 10:10:06 -04:00
  • 4a74542b6e Got basic, pre-actually-writing-anything Cocoa to build. egottlieb 2010-08-03 00:47:33 -04:00
  • b24755cd8e Minimized functionality of gestureSDLTest. Jim Grandpre 2010-08-03 00:18:00 -04:00
  • 122c35caa0 Why wasn't this in the repository? Eli Gottlieb 2010-08-02 23:58:22 -04:00
  • f24f9b94db Added SDL_cocoashape.h Eli Gottlieb 2010-08-02 23:33:04 -04:00
  • 49c44d1baa Fixed the code to use the correct scaling transformation matrix with XRender. Sunny Sachanandani 2010-08-03 08:53:20 +05:30
  • d73650fe60 Merge. Sunny Sachanandani 2010-08-03 08:05:53 +05:30
  • 1d4ad960e8 Added and re-added VS2010 solution files. egottlieb 2010-08-02 22:20:13 -04:00
  • d8d77da906 Added VS2010 build files. egottlieb 2010-08-02 21:43:08 -04:00
  • 8b6f49c03b Added some comments. Sunny Sachanandani 2010-08-02 17:14:09 +05:30
  • ce799da578 Worked on Windows implementation and the quad-trees. egottlieb 2010-08-02 01:54:59 -04:00
  • 99444c9c81 Fixed a huge bug with texture scaling. Sunny Sachanandani 2010-08-02 11:13:40 +05:30
  • f54f9af209 Fixed some Gesture bugs Jim Grandpre 2010-08-02 00:14:53 -04:00
  • 1341532f15 Added VS2010 tests solution file. egottlieb 2010-08-01 23:27:22 -04:00
  • 94bc2a7db5 Added Windows build files for testshape. egottlieb 2010-08-01 23:26:37 -04:00
  • 157494348a Converted some project files to VS2010, adding new files. Backups were made. egottlieb 2010-08-01 23:16:32 -04:00
  • ad864c387a Changed the file name to its correct, required one. egottlieb 2010-08-01 23:07:59 -04:00
  • fd29b00539 Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT. Eli Gottlieb 2010-08-01 21:10:42 -04:00
  • 9dfff60176 Fixed sending motion and finger up events Sam Lantinga 2010-07-31 20:55:33 -07:00
  • 0b1069a725 Fixed various type and print format issues Sam Lantinga 2010-07-31 20:38:37 -07:00
  • 05c264c774 Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working). jimtla 2010-07-31 20:02:54 +04:00
  • d184c2cdf1 Added Andreas's VS2010 patch for testshape. Eli Gottlieb 2010-07-30 18:04:21 -04:00
  • edc78a1b7e Added Iphone project. Iphone multi-touch is now functional. jimtla 2010-07-31 01:24:50 +04:00
  • 214939549f Upgraded touchId/fingerId to long. Changed position variables to floats. jimtla 2010-07-30 23:18:35 +04:00
  • 5820c8d5fd When querying the display size for a fullscreen window, the display size is the size of the fullscreen video mode. Sam Lantinga 2010-07-30 00:55:00 -07:00
  • b8b0d2faaa Documentation updates Sam Lantinga 2010-07-29 20:24:05 -07:00
  • c94b94e367 Added Andreas's patch to fix my silly C++-style errors. Eli Gottlieb 2010-07-29 22:57:39 -04:00
  • ee13761474 Added the header to the repo. Oops. Eli Gottlieb 2010-07-29 12:49:17 -04:00
  • 57e38a4e3e Added better logging Jim Grandpre 2010-07-29 12:26:59 -04:00
  • 26f08cee05 Prevented SDL_SendDown from sending on nonexistent touch devices. Jim Grandpre 2010-07-29 12:24:34 -04:00
  • c36fe02431 Fixed the code so we receive Cocoa touch events Sam Lantinga 2010-07-28 23:32:13 -07:00
  • 4b3a7e0386 For consistency, swapped line order Sam Lantinga 2010-07-28 22:24:13 -07:00
  • f22109ed40 Added dynamic loading of XFixes and XDamage on Mac OS X Sam Lantinga 2010-07-28 22:22:08 -07:00
  • dee5233291 Wrote out the system for breaking shape-masks into quad-trees of rectangles, and added code to conglomerate those quad-trees of rectangles into regions for setting shapes under Win32. Eli Gottlieb 2010-07-28 23:35:24 -04:00
  • e04609dd3a Oops! Sunny Sachanandani 2010-07-28 15:35:18 +05:30
  • c2baeb311e Depend on XRender version 0.10 or above and XFixes version 2.0 or above. Moved these dependency checks into CheckXRender() and CheckXFixes(). Sunny Sachanandani 2010-07-28 15:33:28 +05:30
  • ad5bb9b296 Set the default XRender filter to "fast". testoverlay2 works now. Sunny Sachanandani 2010-07-28 15:13:16 +05:30
  • 17fd339bb6 Added missing pixel format Sam Lantinga 2010-07-28 01:32:39 -07:00
  • dbc95711f2 Fixed compiling without XRender enabled Sam Lantinga 2010-07-28 01:14:48 -07:00
  • dee37ad73f Moved brace to the beginning of the line for the beginning of functions Sam Lantinga 2010-07-28 01:05:58 -07:00