summary refs log tree commit diff
Commit message (Collapse)AuthorAge
...
* Only list first space of tabsJune McEnroe2018-02-12
|
* Use Intel syntax in LLDBJune McEnroe2018-02-12
| | | | | 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?
* Add "Close Window" menu item to gfx/cocoaJune McEnroe2018-02-11
|
* Tweak gfxx code styleJune McEnroe2018-02-11
| | | | Just things.
* Avoid xres/yres names in gfxxJune McEnroe2018-02-11
|
* Only set GFX if unsetJune McEnroe2018-02-11
|
* Link -lncursesJune McEnroe2018-02-09
| | | | Apparently the curses link doesn't exist everywhere.
* Fix X11 KeySym lookup with modifiersJune McEnroe2018-02-09
| | | | | | 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.
* Clean up bin/gfx/x11.cJune McEnroe2018-02-09
| | | | | Only behavior that should have changed is avoiding reallocating the pixmap unless the width or height is larger.
* Move gfx interface to header fileJune McEnroe2018-02-09
| | | | | .o files should technically depend on this, but I don't think it will matter much.
* Silence BSD ctags warningsJune McEnroe2018-02-09
|
* Link LDLIBS regardless of GFXJune McEnroe2018-02-09
|
* Move gfx frontends around to simplify buildJune McEnroe2018-02-09
| | | | | I forgot that you can expand variables inside variables names in make. Certainly makes some fun things possible.
* Add janky X11 graphics frontendJune McEnroe2018-02-07
|
* Include stdio.h in gfb.cJune McEnroe2018-02-07
| | | | As promised.
* Exit by returning false from input to gf{b,cocoa}June McEnroe2018-02-07
| | | | I haven't built gfb yet, so a fix commit is probably incoming.
* Rename title to status in gfcocoaJune McEnroe2018-02-07
| | | | Also separate the options and fileName buffers in gfxx.
* Require 4 bit counts on gfxx command lineJune McEnroe2018-02-06
|
* Add gfxx controls for custom bitsJune McEnroe2018-02-06
|
* Add gfxx palette loading and dumpingJune McEnroe2018-02-06
|
* Add tags targetJune McEnroe2018-02-06
| | | | | | 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.
* Replace gfxx SCALE macro with interp functionJune McEnroe2018-02-06
| | | | Short-circuits for b = 8.
* Rename gfxx space indexed and add palette samplingJune McEnroe2018-02-05
|
* Take scale into account for when to stop drawing in gfxxJune McEnroe2018-02-05
|
* Always skip most significant bits in gfxxJune McEnroe2018-02-05
| | | | This works for CARDS.DLL but might not for other things. We'll see.
* Set title in gfcocoaJune McEnroe2018-02-05
|
* Double-buffer gfb frontendJune McEnroe2018-02-05
| | | | | | 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.
* Rewrite gfxx bit handlingJune McEnroe2018-02-05
| | | | | | | | | | | 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.
* Add flip option to gfxxJune McEnroe2018-02-05
| | | | This handles upside-down graphics much better than reverse did.
* Remove gfxx reverse optionJune McEnroe2018-02-05
|
* Fix gfxx draw stop conditionJune McEnroe2018-02-04
| | | | Would not draw the last partially visible column when mirrored.
* Reuse CGColorSpace and CGDataProvider in gfcocoaJune McEnroe2018-02-04
|
* Mark mac target phonyJune McEnroe2018-02-04
|
* Set up Makefile for gfxx-cocoa or gfxx-fbJune McEnroe2018-02-04
|
* Avoid doing excessive work in gfxxJune McEnroe2018-02-04
| | | | By stopping when the next column would be off the edge of the buffer.
* Handle window resizing in gfcocoaJune McEnroe2018-02-04
|
* Set cinoptionsJune McEnroe2018-02-04
|
* Tweak colorscheme moreJune McEnroe2018-02-04
|
* Color MatchParen DarkYellowJune McEnroe2018-02-04
| | | | White is not obvious enough.
* Add palette sampling to gfxxJune McEnroe2018-02-04
|
* Add 4-bit RGB to gfxxJune McEnroe2018-02-04
| | | | Replace default palette with alternating black and white.
* Add Quit menu item to gfcocoaJune McEnroe2018-02-04
|
* Switch back to sane Objective-C styleJune McEnroe2018-02-04
|
* Quit gfcocoa when window closesJune McEnroe2018-02-04
|
* Apparently this is how people write Objective-CJune McEnroe2018-02-03
|
* Add dirty but working cocoa frontendJune McEnroe2018-02-03
|
* Separate gfxx and its framebuffer frontendJune McEnroe2018-02-03
|
* Add gfxx palette loadingJune McEnroe2018-02-02
|
* Fix color scaling in gfxxJune McEnroe2018-02-02
| | | | The 8-bit RGB palette definitely looks right now.
* Rework gfxx controlsJune McEnroe2018-02-02
| | | | Also hardcode the right palette for CARDS.DLL.
id=31f56fc1ecfe7e5131cf31a30a74dcc0803d32d0&follow=1'>tests: set TEST_OUTPUT_DIRECTORY to the CGit test directoryJohn Keeping By default, Git's test suite puts the trash directories and test-results directory into its own directory, not that containing the tests being run. This is less convenient for inspecting test failures, so set the output directory to CGit's tests/ directory instead. Note that there is currently a bug in Git whereby it will create the trash directories in our tests/ directory regardless of the value of TEST_OUTPUT_DIRECTORY, and then fail to remove them once the tests are done. This change does currently affect the location of the test-results/ directory though. Signed-off-by: John Keeping <john@keeping.me.uk> 2013-04-15t0109: test more URLsJohn Keeping In order to ensure that we don't access $HOME at some point after initial startup when rendering a specific view, run the strace test on a range of different pages. This ensures that we don't end up reading a configuration later for some specific view. Signed-off-by: John Keeping <john@keeping.me.uk> 2013-04-10cgitrc.5.txt: Specify when scan-path must be defined before.Jason A. Donenfeld Several options must be specified prior to scan-path. This is consistant source of user confusion. Document these facts. Suggested-by: Lukas Fleischer <cgit@cryptocrack.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2013-04-10ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer In cgit_print_snapshot_links() we strip leading "v" and "V", while we currently only prepend a lower case "v" when parsing a snapshot file name. This results in broken snapshot links for tags that start with an upper case "V". Avoid this by prepending a "V" as a fallback. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-04-10t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer Note that we cannot use skip_all here since some tests have already been executed when ZIP tests are reached. Use test prerequisites to skip everything using unzip(1) if the binary is not available instead. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-04-10tests/: Do not use `sed -i`Lukas Fleischer "-i" isn't part of the POSIX standard and doesn't work on several platforms such as OpenBSD. Use a temporary file instead. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld When set to "name", branches are sorted by name, which is the current default. When set to "age", branches are sorted by the age of the repository. This feature was requested by Konstantin Ryabitsev for use on kernel.org. Proposed-by: Konstantin Ryabitsev <mricon@kernel.org> 2013-04-10t0109: chain operations with &&John Keeping Without '&&' between operations, we will not detect if strace or cgit exit with an error status, which would cause a false positive test status in this case. Signed-off-by: John Keeping <john@keeping.me.uk> 2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer getenv() returns a NULL pointer if the specified variable name cannot be found in the environment. However, some setenv() implementations crash if a NULL pointer is passed as second argument. Only restore variables that are not NULL. See commit d96d2c98ebc4c2d3765f5b35c4142e0e828a421b for a related patch. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer