Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:59:14 +0000] rev 2433
Added line to set proper display resolution on iPhone OS
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:57:58 +0000] rev 2432
Added lines to change path when run on iPhone. Reason: iPhone operates in sandbox and so cannot write files just anywhere ... I use the documents folder in this test.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:56:43 +0000] rev 2431
Added some code to set proper screensize on iPhone
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:54:21 +0000] rev 2430
A version of testgl2 written using OpenGL ES calls. Necessary because there's no glBegin/glEnd, etc.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:52:52 +0000] rev 2429
testdyngles is exactly what it sounds like -- a version of testdyngl that uses OpenGL ES calls instead of OpenGL. Was necessary to create because glOrtho is called glOrthof in OpenGL ES, and OpenGL ES doesn't have glBegin() type semantics for specifying geometry.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:49:49 +0000] rev 2428
Added macros SDL_IPHONE_MAX_GFORCE (which is used in converting the floating point g-force value returned by the iPhone accelerometer to the Sint16 required by SDL_Joystick) and SDL_IPHONE_MULTIPLE_MICE, which when enabled allows multi-touch to be emulated as multiple mice.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:46:58 +0000] rev 2427
changed macro MAX_G_FORCE to SDL_IPHONE_MAX_GFORCE and moved it to the SDL_config_iphoneos.h file. This should allow users to convert between the Sint16 returned by polling the joystick and units of g-force, which better describe what is going on with the iPhone (and are what the iPhone OS actually gives you). This conversion wouldn't be necessary except that we'd need floating point to store everything as g-force.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:44:07 +0000] rev 2426
Removed log messages
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:42:14 +0000] rev 2425
Removed log messages (printf and NSLog)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:40:47 +0000] rev 2424
Added references to SDL_IPHONE_MAX_GFORCE ... that way this value can change without altering the demos behavior. More understandable too.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:38:49 +0000] rev 2423
Added conditional compilation line #ifdef __IPHONE_OS__ to prevent other platforms from including iPhone specific line of code that is used to toggle keyboard visibility.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:37:49 +0000] rev 2422
Just re-ordered some things logically in the project file
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:37:17 +0000] rev 2421
Readme file for iPhone OS Demo applications
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 15 Aug 2008 00:36:33 +0000] rev 2420
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Wed, 13 Aug 2008 23:14:36 +0000] rev 2419
Originally keyboard support was in the form of a category of the class SDL_uikitview. It turns out this can cause problems with compilation where the code is not actually included and doesn't fail until dynamic dispatch. This is just awful, so I've moved to the code into the SDL_uikitview class itself.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Wed, 13 Aug 2008 23:12:00 +0000] rev 2418
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Wed, 13 Aug 2008 23:10:51 +0000] rev 2417
Cleaned up code, added comments, added randomized colors, added check for extension GL_POINT_SIZE_ARRAY_OES, which not all OpenGL ES systems have.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Wed, 13 Aug 2008 20:56:21 +0000] rev 2416
Fixed a bug where bad access would occur if UIKIT_MakeCurrent is passed NULL for the parameter 'SDL_GLContext context'. Instead, it clears the current context.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Wed, 13 Aug 2008 18:16:27 +0000] rev 2415
updated XCode project, now includes files for keyboard support (oops)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Sat, 02 Aug 2008 00:57:15 +0000] rev 2414
Bitmap font used in bitmap font / keyboard demo, along with licsense. The license is Common Public License Version 1.0, so I don't see any problems here.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Sat, 02 Aug 2008 00:55:28 +0000] rev 2413
just updating XCode project files to include keyboard example as target
Holmes Futrell <hfutrell@umail.ucsb.edu> [Sat, 02 Aug 2008 00:54:30 +0000] rev 2412
keyboard.c contains the source code for the bitmap font keyboard example.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:37:53 +0000] rev 2411
whitespace
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:35:20 +0000] rev 2410
removed reference to pthread.h
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:33:24 +0000] rev 2409
This is the header file for SDL_uikitview.m ... somehow this file was not committed.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:25:54 +0000] rev 2408
Added SDL_IPHONE_KEYBOARD macro, which controls whether or not the SDL for iPhone is compiled with keyboard support or not.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:23:50 +0000] rev 2407
keyinfotable.h contains information which SDL_uikitkeyboard uses to convert between unichar characters that it reads from the text field (which acts as the keyboard's target) to SDL_scancodes and key modifiers which are sent to SDL's keyboard system.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:21:49 +0000] rev 2406
SDL_uikitkeyboard extends SDL_uikitview to add keyboard support. It adds several methods to the SDL_uikitview class for keyboard initialization, showing, and hiding. SDL_uikitkeyboard.m contains the implementation of these methods as well as the implementation of some iPhone specific additions to SDL so that a programmer can access the functionality of hiding and showing the keyboard.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:19:23 +0000] rev 2405
Added keyboard support in view initialization and proper deallocation of keyboard in -(void)dealloc, if keyboard is enabled
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 29 Jul 2008 17:09:29 +0000] rev 2404
Added textField view and member variable which shows if keyboard is shown
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 22 Jul 2008 23:05:40 +0000] rev 2403
Added standard SDL header comments
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 22 Jul 2008 23:03:51 +0000] rev 2402
removed references to singletons, now uses SDL_WindowData information instead.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 22 Jul 2008 23:02:53 +0000] rev 2401
turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 22 Jul 2008 23:01:01 +0000] rev 2400
removed white space
Holmes Futrell <hfutrell@umail.ucsb.edu> [Tue, 22 Jul 2008 22:59:59 +0000] rev 2399
Added SDL_WindowData for UIKit video driver. Now looks up instances here instead of assuming we're referring to a singleton.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:53:52 +0000] rev 2398
Fixed path to plist in fireworks target.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:50:20 +0000] rev 2397
fixed typo
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:37:46 +0000] rev 2396
XCode template for iPhone SDL projects
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:17:29 +0000] rev 2395
XCode files for iPhone SDL libraries
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:16:48 +0000] rev 2394
ugh
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:13:22 +0000] rev 2393
renamed to README
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:12:42 +0000] rev 2392
XCode project for iPhone SDL libraries.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:09:39 +0000] rev 2391
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 21:07:49 +0000] rev 2390
Xcode template
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:58:48 +0000] rev 2389
XCode files for test applications (the ones previously bundled with the source, mostly SDL 1.2 demos). README contains some notes on various problems.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:56:09 +0000] rev 2388
graphics for demos
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:55:33 +0000] rev 2387
Drums sounds for mixer demo
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:52:32 +0000] rev 2386
Touch input demo (multitouch)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:52:18 +0000] rev 2385
Rectangles demo (SDL_RenderFill)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:51:59 +0000] rev 2384
Drum kit demo (SDL_mixer)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:51:47 +0000] rev 2383
Happy faces demo (bitmaps)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:51:34 +0000] rev 2382
fireworks demo
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:51:25 +0000] rev 2381
Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:50:59 +0000] rev 2380
Demo of iPhone accelerometer as SDL joystick
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:48:15 +0000] rev 2379
XCode and data files for demos
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 20:46:02 +0000] rev 2378
iPhone SDL 1.3 demos go here. All these demos are written using pure SDL 1.3 code. No compatibility calls! Perhaps if they are any good they could be use as tests for the SDL 1.3 release.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 19:23:13 +0000] rev 2377
Just renamed it...
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 19:21:27 +0000] rev 2376
just a readme for the files located in this directory
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 19:12:49 +0000] rev 2375
Root directory for iPhone SDL Xcode projects.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 19:10:50 +0000] rev 2374
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 19:08:00 +0000] rev 2373
Project files for iPhone SDL
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:46:11 +0000] rev 2372
Fixed typo
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:45:36 +0000] rev 2371
Changed format of video texture to something compatible with iPhone ... a better solution is probably needed. Also set blending mode of video texture to none.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:41:08 +0000] rev 2370
Added macros to detect if you are compiling for iPhone OS vs Mac OS X.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:24:50 +0000] rev 2369
Added line to include SDL_config_iphoneos.h when the platform is __IPHONEOS__
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:23:23 +0000] rev 2368
added SDL_LOADSO_DLOPEN macro
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:22:41 +0000] rev 2367
Added SDL_VIDEO_RENDER_OGL macro back in
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:09:04 +0000] rev 2366
This file serves a similar purpose as SDL_opengl.h, but for OpenGL ES. It is based off of the official OpenGL ES v1.1 header file found at Kronos (http://www.khronos.org/registry/gles/api/1.1/gl.h).
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 18:05:54 +0000] rev 2365
Added SDL_GL_RETAINED_BACKING to SDL_GLattr enum. Retained backing means the memory for color buffers, depth buffers, etc cannot be overwritten by other applications between frames. The default for this setting is 'on'. I wanted to add this because turning retained backing off on iPhone dramatically increases performance.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 17:53:54 +0000] rev 2364
These files contain the audio support for iPhone. They are based on the CoreAudio audio driver for Mac OS X. The principle difference is that the iPhone doesn't seem to have a concept of audio devices ... it just has special units for audio in and audio out. Also had to change some functions to versions which seem to only exist on iPhone and will apparently exist in Mac OS X 10.6(!)
There is currently no audio recording support -- my iPod Touch doesn't have a microphone to test this with.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 17:47:36 +0000] rev 2363
Fixed a bug where SDL_SYS_JoystickUpdate would send update events even when the accelerometer delegate hadn't received new information from the hardware.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 17:46:17 +0000] rev 2362
These files contain the specification for a class which receives updates from the iPhone accelerometer. The class holds the accelerometer information, and is queried by SDL_sysjoystick.m.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 18 Jul 2008 17:30:56 +0000] rev 2361
test
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 23:45:58 +0000] rev 2360
Added declaration of UIKit video bootstrap. Added retained_backing property to glconfig structure.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 23:31:42 +0000] rev 2359
These files are the OpenGL ES render driver. You should be able to use them on any platform that supports OpenGL ES -- not just iPhone. The driver is based off the OpenGL render driver.
There are a few differences between OpenGL and OpenGL ES that present difficulties for this driver:
- OpenGL ES does NOT support many pixel formats (for example, no GL_BGR). Also, when using texture functions format and internalFormat must be the same -- this means 32 bit packed formats like SDL_PIXELFORMAT_BGR888 cannot be automatically converted to GL_RGB (which is 24bpp).
- OpenGL ES doesn't have GL_PACK_ROW_LENGTH, which means data must be reformatted before uploading changes to dirty rects. This change has been added.
- OpenGL ES doesn't support paletted textures, though there is an extension. I'm looking into this.
Some other notable differences:
- OpenGL ES has an extension called GL_OES_draw_texture which allows for quicker 2D sprite-type drawing. I use this in GL_RenderCopy when it is available. The iPhone supports the extension, but the iPhone Simulator does not (presently).
- No glBegin() / glEnd() and no GL_QUADS! I'm using glDrawArrays with GL_TRIANGLE_STRIP instead!
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 23:11:05 +0000] rev 2358
This file serves an analoguous purpose as SDL_glfuncs.h, but for OpenGL ES. I haven't put the 'unused' functions in this file yet.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 23:07:58 +0000] rev 2357
Added support for OpenGL ES and UIKit Video Driver:
- included SDL_renderer_gles.h
- added UIKit Video driver bootstrap declaration
- added property "retained_backing" to gl_config structure. Having retained backing means your video buffers can't be overwritten by other applications between drawing frames. By default, this is enabled. I wanted to give the option to disable this on iPhone because it increases performance greatly.
- modified SDL_GetAttribute and SDL_SetAttribute function for OpenGL ES support. OpenGL ES does not have support for accumulation buffers, and is always double buffered, among other things.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:50:39 +0000] rev 2356
These files contain some environment storage necessary for an ugly hack I had to write so that SDL_QUIT events would be handled correctly on the platform. Please see the comment in UIKit_PumpEvents located in SDL_uikitevents.m and let me know if there is a better way to do this.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:48:23 +0000] rev 2355
These files contain the events related functions for the UIKit video driver. Right now this is just UIKit_PumpEvents.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:45:41 +0000] rev 2354
These files contain the window related functions for the UIKit video driver.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:43:09 +0000] rev 2353
SDL_uikitview is just a generic view class which SDL_uikitopenglview inherits from. The functionality found in this class relates to (right now) mouse/touch input support. The reason for putting it here is that if someone wanted to write a render driver for iPhone based around CoreGraphics rather than OpenGL ES, they could make their Core Graphics view inherit from this class as well.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:38:29 +0000] rev 2352
SDL_uikitvideo.m is the main file for the UIKit video driver. It has the UIKit video bootstrap, initialization, device creation, etc.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:35:59 +0000] rev 2351
SDL_uikitopenglview is an OpenGL ES View class based on the one found in Apple's OpenGL ES based application template. It's created from SDL_uikitopengles.m, normally.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:32:16 +0000] rev 2350
SDL_uikitopengles is responsible for OpenGLES related functions in the UIKit video driver. The main thing to note is UIKit_GL_CreateContext which creates an instance of the SDL_uikitopenglview class, an OpenGL ES View. Most the real functionality is in SDL_uikitopenglview.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Thu, 17 Jul 2008 22:29:37 +0000] rev 2349
The class SDL_uikitappdelegate acts as the UIApplicationDelegate for an iPhone SDL project. This class is reponsible for application control flow, including initial setup of working directory, forwarding command line arguments to the user's main function, and handling application termination.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:54:04 +0000] rev 2348
Just the sysjoystick file for the iPhone accelerometer. It doesn't reveal anything under NDA, but I just wanted to make sure that adding files to the repository is working under XCode right now.
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:47:05 +0000] rev 2347
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:41:34 +0000] rev 2346
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:40:56 +0000] rev 2345
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:39:47 +0000] rev 2344
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:35:04 +0000] rev 2343
Just modified the macro so that iPhone will use the Mac OS X code here
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:32:38 +0000] rev 2342
Added Core Audio iPhone bootstrap
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:30:31 +0000] rev 2341
iPhone port uses custom main
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:29:35 +0000] rev 2340
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:29:18 +0000] rev 2339
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:28:50 +0000] rev 2338
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:24:22 +0000] rev 2337
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:23:01 +0000] rev 2336
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:22:16 +0000] rev 2335
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:21:45 +0000] rev 2334
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Fri, 11 Jul 2008 00:21:34 +0000] rev 2333
(none)
Holmes Futrell <hfutrell@umail.ucsb.edu> [Wed, 09 Jul 2008 21:32:49 +0000] rev 2332
just testing commit ... please commit to the right place.
Sam Lantinga <slouken@libsdl.org> [Wed, 23 Apr 2008 06:26:33 +0000] rev 2331
Creating GSoC 2008 code branches
Sam Lantinga <slouken@libsdl.org> [Tue, 18 Mar 2008 12:31:14 +0000] rev 2330
So we don't forget to do this...
Bob Pendleton <bob@pendleton.com> [Fri, 14 Mar 2008 20:43:44 +0000] rev 2329
ran make indent
Bob Pendleton <bob@pendleton.com> [Fri, 14 Mar 2008 18:17:49 +0000] rev 2328
re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being
fixed is caused by clearing SDL_COPY_RLE_COLORKEY without setting SDL_COPY_RLE_DESIRED in SDL_UnRELSurface.
Bob Pendleton <bob@pendleton.com> [Fri, 07 Mar 2008 23:57:15 +0000] rev 2327
In testdyngl.c the event type was being anded (&) with SDL_KEYDOWN and if the result was none zero the program was quiting. This is very weird because it was
working earlier this week.
I added some more trace code to SDL_x11events.c
In SDL_X11opengl.c I modified SDL_GL_GetSwapInterval() so that it returns a pretty good value even if you have the SGI swap extension instead of the MESA swap
extension. I just saved the value you set and return it too you.
Bob Pendleton <bob@pendleton.com> [Fri, 07 Mar 2008 21:01:54 +0000] rev 2326
oops, need to comment out some debug code.
Bob Pendleton <bob@pendleton.com> [Fri, 07 Mar 2008 20:54:11 +0000] rev 2325
Next version of internationalized input for X11. On my machine (famous last words :-) with a US English keyboard and locale I can compose ` and e and get a text
input event with the character รจ. You still get the keypress keyrelease events for the individual keys that go into composing the character.
Bob Pendleton <bob@pendleton.com> [Fri, 07 Mar 2008 17:20:37 +0000] rev 2324
more valgrind errors fixed. Plus I ran make indent which changed a few files.
Bob Pendleton <bob@pendleton.com> [Thu, 06 Mar 2008 23:07:02 +0000] rev 2323
Fixed many valgrind errors. But, I broke testdyngl.
Bob Pendleton <bob@pendleton.com> [Thu, 06 Mar 2008 17:08:10 +0000] rev 2322
Fixing valgrind errors.
One of the error was the result of an unitended recursive call to X11_GL_LoadLibrary which was also fixed.
Bob Pendleton <bob@pendleton.com> [Tue, 04 Mar 2008 23:09:28 +0000] rev 2321
SetupWindowData in SDL_X11window.c was realloc()ing the display window list and incrementing numwindows even though those are being updated in functions that call
this function. The result is that it is possible to get the same window added to the list twice.
Bob Pendleton <bob@pendleton.com> [Sat, 01 Mar 2008 20:34:36 +0000] rev 2320
Deleted a call to X__PumpEvents at the end of X11_GL_InitExtensions(). This function is being called from SDL_RecreateWindow at a point when the numwindows value in
is incorrect. The result is that an illegal access is being made in X_PumpEvents when it tries to look up the windows ID of the source of an event. Taking out that
call does not seem to have any effect on the testgl. But, I would be happy if someone else took a look at this problem and found a fix higher up the stack.
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Feb 2008 05:10:40 +0000] rev 2319
Now the program will process all events and then terminate. :)
Bob Pendleton <bob@pendleton.com> [Wed, 20 Feb 2008 23:27:33 +0000] rev 2318
HandleEvent() returns done each time it is called. If done was set to 0 the program should quit, but because done is not checked until *all* events are handled a
following event can reset done to 1 and prevent the program from terminating when told to. I fixed the while loop that handles events to check for the state of done
after handling each event. That could leave some events unhandled when the program exits, but it ensures that the program will exit.
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Feb 2008 21:06:32 +0000] rev 2317
Windows also remaps the numeric keypad... grrr
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Feb 2008 20:26:22 +0000] rev 2316
Checkout directly to the SDL 1.3 folder
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Feb 2008 17:29:23 +0000] rev 2315
Show integer scancode, since that's how it's defined in the header.
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Feb 2008 16:21:05 +0000] rev 2314
Disable DirectFB by default, since it hasn't been updated for the 1.3 API yet.