Mon, 16 Aug 2010 14:01:00 -0400 |
egottlieb |
Recoded Cocoa code that got erased by... failure to commit? Merge? Eh.
|
Mon, 16 Aug 2010 10:48:54 -0400 |
egottlieb |
Moved the +1 to mostly eliminate the visual artifact.
|
Mon, 16 Aug 2010 09:55:35 -0400 |
egottlieb |
Raised binarization cutoff to eliminate alpha-blending of trollface.
|
Mon, 16 Aug 2010 01:17:19 -0400 |
egottlieb |
Condensed flag-setting code and put parantheses in the appropriate places. It was that, in the end.
|
Sun, 15 Aug 2010 23:57:50 -0400 |
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?
|
Sun, 15 Aug 2010 22:03:38 -0400 |
egottlieb |
Removed useless debugging code.
|
Sun, 15 Aug 2010 21:46:46 -0400 |
Eli Gottlieb |
Added last test shape. Because.
|
Sun, 15 Aug 2010 21:46:04 -0400 |
egottlieb |
Added hiding-as-positioning trick and finally fixed flags.
|
Sun, 15 Aug 2010 18:52:57 -0400 |
Eli Gottlieb |
Changed flags and positioning (for the fake-hiding) as Andreas recommended.
|
Sat, 14 Aug 2010 20:29:51 -0400 |
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().
|
Sat, 14 Aug 2010 16:14:36 -0400 |
egottlieb |
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
|
Thu, 12 Aug 2010 18:17:15 -0400 |
Eli Gottlieb |
Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
|
Tue, 10 Aug 2010 16:30:53 -0400 |
egottlieb |
Fixing variable naming style.
|
Tue, 10 Aug 2010 16:10:26 -0400 |
Eli Gottlieb |
Fixed a bug in X11 shaping that refused to use color-key mode.
|
Tue, 10 Aug 2010 15:45:59 -0400 |
Eli Gottlieb |
Fixing bugs introduced into X11 shaping implementation by merge.
|
Tue, 10 Aug 2010 15:39:46 -0400 |
egottlieb |
Switched over to poly-polygon region building and shape-tree traversal for Win32.
|
Mon, 09 Aug 2010 20:32:15 -0400 |
Eli Gottlieb |
Fixed formatting of SDL_shape.c post-merge again.
|
Mon, 09 Aug 2010 20:29:21 -0400 |
Eli Gottlieb |
Merged branches again.
|
Mon, 09 Aug 2010 20:27:45 -0400 |
Eli Gottlieb |
Fixed overwriting of SDL_shape.c in merge.
|
Mon, 09 Aug 2010 16:26:45 -0400 |
egottlieb |
Updated shapes folder.
|
Mon, 09 Aug 2010 15:41:33 -0400 |
Eli Gottlieb |
Merging branches. Will begin correcting mistakes introduced by merging.
|
Mon, 09 Aug 2010 15:37:20 -0400 |
Eli Gottlieb |
Reformatting code to match the rest of SDL. Variable names seem OK; replaced tabs with 4 spaces each for indentation.
|
Fri, 06 Aug 2010 20:22:14 -0400 |
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.
|
Fri, 06 Aug 2010 13:52:38 -0400 |
egottlieb |
Fixed the off-by-one bug in SDL_RecursivelyCalculateShapeTree().
|
Thu, 05 Aug 2010 21:27:32 -0400 |
egottlieb |
Finally figured out how to use autorelease pools.
|
Thu, 05 Aug 2010 18:58:45 -0400 |
egottlieb |
Improving Cocoa implementation and fixed a small bug in SDL_shape.c.
|
Thu, 05 Aug 2010 01:03:24 -0400 |
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.
|
Thu, 05 Aug 2010 00:53:38 -0400 |
egottlieb |
Correcting minor bugs and adding assertions to help me track down a NULL pointer bug in Cocoa code.
|
Tue, 03 Aug 2010 23:41:57 -0400 |
egottlieb |
Building under OS X with command-line tools now works.
|
Tue, 03 Aug 2010 23:22:31 -0400 |
egottlieb |
Compiling for cocoa now works. Does it run? We'll see.
|
Tue, 03 Aug 2010 21:56:05 -0400 |
egottlieb |
Implemented shaped windows for Cocoa. Still need to see if they actually work.
|
Tue, 03 Aug 2010 10:10:06 -0400 |
egottlieb |
Removed superfluous VS2010 build files.
|
Tue, 03 Aug 2010 00:47:33 -0400 |
egottlieb |
Got basic, pre-actually-writing-anything Cocoa to build.
|
Mon, 02 Aug 2010 23:58:22 -0400 |
Eli Gottlieb |
Why wasn't this in the repository?
|
Mon, 02 Aug 2010 23:33:04 -0400 |
Eli Gottlieb |
Added SDL_cocoashape.h
|
Mon, 02 Aug 2010 22:20:13 -0400 |
egottlieb |
Added and re-added VS2010 solution files.
|
Mon, 02 Aug 2010 21:43:08 -0400 |
egottlieb |
Added VS2010 build files.
|
Mon, 02 Aug 2010 01:54:59 -0400 |
egottlieb |
Worked on Windows implementation and the quad-trees.
|
Sun, 01 Aug 2010 23:27:22 -0400 |
egottlieb |
Added VS2010 tests solution file.
|
Sun, 01 Aug 2010 23:26:37 -0400 |
egottlieb |
Added Windows build files for testshape.
|
Sun, 01 Aug 2010 23:16:32 -0400 |
egottlieb |
Converted some project files to VS2010, adding new files. Backups were made.
|
Sun, 01 Aug 2010 23:07:59 -0400 |
egottlieb |
Changed the file name to its correct, required one.
|
Sun, 01 Aug 2010 21:10:42 -0400 |
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.
|
Fri, 30 Jul 2010 18:04:21 -0400 |
Eli Gottlieb |
Added Andreas's VS2010 patch for testshape.
|
Thu, 29 Jul 2010 22:57:39 -0400 |
Eli Gottlieb |
Added Andreas's patch to fix my silly C++-style errors.
|
Thu, 29 Jul 2010 12:49:17 -0400 |
Eli Gottlieb |
Added the header to the repo. Oops.
|
Wed, 28 Jul 2010 23:35:24 -0400 |
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.
|
Mon, 26 Jul 2010 21:49:32 -0400 |
Eli Gottlieb |
Added shapes folder to hg.
|
Mon, 26 Jul 2010 21:48:53 -0400 |
Eli Gottlieb |
Working on Cocoa implementation.
|
Mon, 26 Jul 2010 20:41:45 -0400 |
Eli Gottlieb |
OK, it appears that dramatic hacks are not necessary to make Cocoa work...
|
Mon, 26 Jul 2010 17:27:04 -0400 |
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.
|
Fri, 23 Jul 2010 01:48:42 -0400 |
Eli Gottlieb |
More work on color-key mode.
|
Thu, 22 Jul 2010 23:11:01 -0400 |
Eli Gottlieb |
Added color-key mode and redid the code to work with it.
|
Tue, 20 Jul 2010 12:42:43 -0400 |
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.
|
Mon, 19 Jul 2010 00:24:02 -0400 |
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.
|
Sun, 18 Jul 2010 23:51:47 -0400 |
Eli Gottlieb |
Boxed up the rendering loop and turned it into a redraw/update function. This makes things way more responsive, usable again.
|
Sun, 18 Jul 2010 23:36:39 -0400 |
Eli Gottlieb |
Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke.
|
Sun, 18 Jul 2010 23:05:40 -0400 |
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.
|
Sun, 18 Jul 2010 22:24:52 -0400 |
Eli Gottlieb |
Added #define's for error codes returned from SDL shaped-window API.
|
Sun, 18 Jul 2010 22:17:52 -0400 |
Eli Gottlieb |
Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up.
|
Sun, 18 Jul 2010 21:31:22 -0400 |
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.
|
Sun, 18 Jul 2010 15:15:05 -0400 |
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.
|
Sun, 18 Jul 2010 14:47:04 -0400 |
Eli Gottlieb |
Added SDL_win32shape.h to version control. D'oh.
|
Thu, 15 Jul 2010 01:41:38 -0400 |
Eli Gottlieb |
Added in Visual Studio patch.
|