summary refs log tree commit diff
path: root/bin/watch.c (unfollow)
Commit message (Collapse)Author
2018-02-14Write at least 1 for each component of sBIT in gfxxJune McEnroe
PNG requires each to be 0 < x <= depth. ImageMagick actually checks.
2018-02-14Write newlines between watch iterationsJune McEnroe
2018-02-14Add gfxx DUMP_ALLJune McEnroe
2018-02-14Replace pngChunk with glorious C metaprogrammingJune McEnroe
2018-02-14Move PNG filename counter into gfxxJune McEnroe
pngs.c was a fun idea but a little convoluted.
2018-02-14Remove typoJune McEnroe
The bin, not a typographical error. I only made it because I was switching keyboard layouts but now I'm back on QWERTY and can type fine.
2018-02-13Unset dump in gfxx drawJune McEnroe
Otherwise hitting 'x' then resizing would cause dumps.
2018-02-13Add PNG stream splitterJune McEnroe
I don't know, somehow this is easier than having gfxx care about where it's writing to.
2018-02-12Dump gfxx screen to PNG on stdout with xJune McEnroe
2018-02-12Add PNG encoder to gfxxJune McEnroe
2018-02-12Only list first space of tabsJune McEnroe
2018-02-12Use Intel syntax in LLDBJune McEnroe
GDB has no idea what's going on if you run it on a Cocoa app, and it turns out LLDB is pretty nice. Why does it get a bad reputation?
2018-02-11Add "Close Window" menu item to gfx/cocoaJune McEnroe
2018-02-11Tweak gfxx code styleJune McEnroe
Just things.
2018-02-11Avoid xres/yres names in gfxxJune McEnroe
2018-02-11Only set GFX if unsetJune McEnroe
2018-02-09Link -lncursesJune McEnroe
Apparently the curses link doesn't exist everywhere.
2018-02-09Fix X11 KeySym lookup with modifiersJune McEnroe
On friends' systems there appear to be modifiers that are always set which were intefering with selecting the KeySym based on the state of shift.
2018-02-09Clean up bin/gfx/x11.cJune McEnroe
Only behavior that should have changed is avoiding reallocating the pixmap unless the width or height is larger.
2018-02-09Move gfx interface to header fileJune McEnroe
.o files should technically depend on this, but I don't think it will matter much.
2018-02-09Silence BSD ctags warningsJune McEnroe
2018-02-09Link LDLIBS regardless of GFXJune McEnroe
2018-02-09Move gfx frontends around to simplify buildJune McEnroe
I forgot that you can expand variables inside variables names in make. Certainly makes some fun things possible.
2018-02-07Add janky X11 graphics frontendJune McEnroe
2018-02-07Include stdio.h in gfb.cJune McEnroe
As promised.
2018-02-07Exit by returning false from input to gf{b,cocoa}June McEnroe
I haven't built gfb yet, so a fix commit is probably incoming.
2018-02-07Rename title to status in gfcocoaJune McEnroe
Also separate the options and fileName buffers in gfxx.
2018-02-06Require 4 bit counts on gfxx command lineJune McEnroe
2018-02-06Add gfxx controls for custom bitsJune McEnroe
2018-02-06Add gfxx palette loading and dumpingJune McEnroe
2018-02-06Add tags targetJune McEnroe
This seems a bit out of character for me, but this is basically free: ctags(1) is part of FreeBSD and Darwin, and vim automatically uses tags. Also the format of tags files is cute.
2018-02-06Replace gfxx SCALE macro with interp functionJune McEnroe
Short-circuits for b = 8.
2018-02-05Rename gfxx space indexed and add palette samplingJune McEnroe
2018-02-05Take scale into account for when to stop drawing in gfxxJune McEnroe
2018-02-05Always skip most significant bits in gfxxJune McEnroe
This works for CARDS.DLL but might not for other things. We'll see.
2018-02-05Set title in gfcocoaJune McEnroe
2018-02-05Double-buffer gfb frontendJune McEnroe
Still not vsync (seems like a newer DRM-fbdev implementation handles FBIO_WAITFORVSYNC but my kernel doesn't), but avoids flicker from clearing to black for each frame.
2018-02-05Rewrite gfxx bit handlingJune McEnroe
Specifies how many bits for each of "alpha" (ignored), red, green, blue. Separates byte-order and bit-order. Much more flexible, but now won't render CARDS.DLL graphics properly due to the skip bit being not where it expects. Also mmaps the file instead of reading it all in. And the default palette and sampling got removed again for now, since it's too awkward to use.
2018-02-05Add flip option to gfxxJune McEnroe
This handles upside-down graphics much better than reverse did.
2018-02-05Remove gfxx reverse optionJune McEnroe
2018-02-04Fix gfxx draw stop conditionJune McEnroe
Would not draw the last partially visible column when mirrored.
2018-02-04Reuse CGColorSpace and CGDataProvider in gfcocoaJune McEnroe
2018-02-04Mark mac target phonyJune McEnroe
2018-02-04Set up Makefile for gfxx-cocoa or gfxx-fbJune McEnroe
2018-02-04Avoid doing excessive work in gfxxJune McEnroe
By stopping when the next column would be off the edge of the buffer.
2018-02-04Handle window resizing in gfcocoaJune McEnroe
2018-02-04Set cinoptionsJune McEnroe
2018-02-04Tweak colorscheme moreJune McEnroe
2018-02-04Color MatchParen DarkYellowJune McEnroe
White is not obvious enough.
2018-02-04Add palette sampling to gfxxJune McEnroe