log

age author description
2010-08-16 egottlieb Raised binarization cutoff to eliminate alpha-blending of trollface.
2010-08-16 egottlieb Condensed flag-setting code and put parantheses in the appropriate places. It was that, in the end.
2010-08-16 Eli Gottlieb 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?
2010-08-16 egottlieb Removed useless debugging code.
2010-08-16 Eli Gottlieb Added last test shape. Because.
2010-08-16 egottlieb Added hiding-as-positioning trick and finally fixed flags.
2010-08-15 Eli Gottlieb Changed flags and positioning (for the fake-hiding) as Andreas recommended.
2010-08-15 egottlieb 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().
2010-08-14 egottlieb Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
2010-08-12 Eli Gottlieb Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
2010-08-10 egottlieb Fixing variable naming style.
2010-08-10 Eli Gottlieb Fixed a bug in X11 shaping that refused to use color-key mode.
2010-08-10 Eli Gottlieb Fixing bugs introduced into X11 shaping implementation by merge.
2010-08-10 egottlieb Switched over to poly-polygon region building and shape-tree traversal for Win32.
2010-08-10 Eli Gottlieb Fixed formatting of SDL_shape.c post-merge again.
2010-08-10 Eli Gottlieb Merged branches again.
2010-08-10 Eli Gottlieb Fixed overwriting of SDL_shape.c in merge.
2010-08-09 egottlieb Updated shapes folder.
2010-08-09 Eli Gottlieb Merging branches. Will begin correcting mistakes introduced by merging.
2010-08-09 Eli Gottlieb Reformatting code to match the rest of SDL. Variable names seem OK; replaced tabs with 4 spaces each for indentation.
2010-08-07 egottlieb 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.
2010-08-06 egottlieb Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree().
2010-08-06 egottlieb Finally figured out how to use autorelease pools.
2010-08-05 egottlieb Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
2010-08-05 egottlieb 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.
2010-08-05 egottlieb Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code.
2010-08-04 egottlieb Building under OS X with command-line tools now works.
2010-08-04 egottlieb Compiling for cocoa now works. Does it run? We'll see.
2010-08-04 egottlieb Implemented shaped windows for Cocoa. Still need to see if they actually work.
2010-08-03 egottlieb Removed superfluous VS2010 build files.
2010-08-03 egottlieb Got basic, pre-actually-writing-anything Cocoa to build.
2010-08-03 Eli Gottlieb Why wasn't this in the repository?
2010-08-03 Eli Gottlieb Added SDL_cocoashape.h
2010-08-03 egottlieb Added and re-added VS2010 solution files.
2010-08-03 egottlieb Added VS2010 build files.
2010-08-02 egottlieb Worked on Windows implementation and the quad-trees.
2010-08-02 egottlieb Added VS2010 tests solution file.
2010-08-02 egottlieb Added Windows build files for testshape.
2010-08-02 egottlieb Converted some project files to VS2010, adding new files. Backups were made.
2010-08-02 egottlieb Changed the file name to its correct, required one.
2010-08-02 Eli Gottlieb 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.
2010-07-30 Eli Gottlieb Added Andreas's VS2010 patch for testshape.
2010-07-30 Eli Gottlieb Added Andreas's patch to fix my silly C++-style errors.
2010-07-29 Eli Gottlieb Added the header to the repo. Oops.
2010-07-29 Eli Gottlieb 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.
2010-07-27 Eli Gottlieb Added shapes folder to hg.
2010-07-27 Eli Gottlieb Working on Cocoa implementation.
2010-07-27 Eli Gottlieb OK, it appears that dramatic hacks are not necessary to make Cocoa work...
2010-07-26 Eli Gottlieb Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
2010-07-23 Eli Gottlieb More work on color-key mode.
2010-07-23 Eli Gottlieb Added color-key mode and redid the code to work with it.
2010-07-20 Eli Gottlieb Reapplied Win32 make-it-build patch. What's going on? Still get rendering artifacts when testing on x11, have literally no idea why.
2010-07-19 Eli Gottlieb Put the render loop back in its right place, but with delaying functionality to keep it down to roughly 60fps, not eating up all the X11 time.
2010-07-19 Eli Gottlieb Boxed up the rendering loop and turned it into a redraw/update function. This makes things way more responsive, usable again.
2010-07-19 Eli Gottlieb Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke.
2010-07-19 Eli Gottlieb Minor bugfixes. testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down.
2010-07-19 Eli Gottlieb Added #define's for error codes returned from SDL shaped-window API.
2010-07-19 Eli Gottlieb Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up.
2010-07-19 Eli Gottlieb Rewrote test program for shaped windows. It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values.
2010-07-18 Eli Gottlieb Updated testeyes.c. It now shows some kind of gibberish Missingno-type picture somewhere on the screen and, possibly, hangs the window system. On the upside, the Missingno is definitely a non-rectangular window.