summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* README: WRITEMEPatrick McDermott2019-07-181-0/+18
|
* examples/proteanos-motd/*: Add color MOTD examplePatrick McDermott2019-07-188-0/+33
|
* lib/fonts/*.c: Add fonts from upstream LinuxPatrick McDermott2019-07-1814-5/+34437
| | | | | | | The macros, declarations, and array are all sorted according to the array in Linux's lib/fonts/fonts.c, since that affects picking a default font and finding a font by name (if there were conflicts, which there aren't).
* main(): Set text domain, locale, etc.Patrick McDermott2019-07-181-0/+9
|
* src/image.h, src/text.h: Suffix "_" to guardsPatrick McDermott2019-07-182-6/+6
|
* Don't use libpng's pointer typedefsPatrick McDermott2019-07-185-5/+5
| | | | Pointers should be as obvious as possible.
* assert() function argumentsPatrick McDermott2019-07-185-3/+56
|
* image_*(), text_*(), sgr(): Add error() outputPatrick McDermott2019-07-183-0/+16
|
* set_program_name(), error(): New functionsPatrick McDermott2019-07-186-14/+93
|
* font_list(): New functionPatrick McDermott2019-07-183-0/+20
|
* main(): Print usagePatrick McDermott2019-07-181-6/+24
|
* main(): Add option parsingPatrick McDermott2019-07-181-8/+61
|
* font_default(): New functionPatrick McDermott2019-07-182-2/+23
| | | | And make font_find() return NULL if a font can't be found.
* font_*(), text_*(), image_*(): Add const qualifiersPatrick McDermott2019-07-186-14/+16
|
* text_*(), font_*(), sgr(): Convert to unsigned charPatrick McDermott2019-07-185-26/+27
|
* text_new(): Read a file streamPatrick McDermott2019-07-183-21/+61
| | | | | text_render() must now consume the CSI "[" in the if condition, as text_new() does.
* src/font.c: Reduce spacing in macro definitionsPatrick McDermott2019-07-181-6/+6
|
* image_new(): Support "-" file name for stdoutPatrick McDermott2019-07-182-6/+17
|
* image_destroy(): Close file streamPatrick McDermott2019-07-181-4/+5
|
* main(): Accept image file name argumentPatrick McDermott2019-07-181-2/+2
|
* text_set_width(), text_set_height(): New functionsPatrick McDermott2019-07-173-2/+25
| | | | And fill in all the remaining rows in text_render().
* sgr(): Add reset codePatrick McDermott2019-07-171-1/+9
|
* text_render(): Make default fg color "dark" whitePatrick McDermott2019-07-171-1/+1
|
* sgr(): New function (4-bit colors only)Patrick McDermott2019-07-174-0/+123
|
* text_render(): Duplicate stringPatrick McDermott2019-07-171-7/+16
|
* text_*(): Store dimensions as size_tPatrick McDermott2019-07-172-7/+7
|
* text_render(): Fill to end of each linePatrick McDermott2019-07-171-0/+6
|
* text_new(): Handle missing trailing newlinePatrick McDermott2019-07-171-0/+8
| | | | Or maybe people who omit trailing newlines deserve buffer overflows.
* font_render(): Actually address bits in fontPatrick McDermott2019-07-171-6/+15
|
* include/linux/font.h: Fix type of (struct font_desc).dataPatrick McDermott2019-07-171-6/+6
|
* font_render(): Fix pixel sizePatrick McDermott2019-07-171-6/+7
|
* image_render() Call text_render()Patrick McDermott2019-07-171-0/+2
|
* text_render(): New functionPatrick McDermott2019-07-172-0/+44
|
* font_render(): New functionPatrick McDermott2019-07-172-3/+35
|
* src/image.c: Move macros to src/image.hPatrick McDermott2019-07-172-6/+6
|
* image_render(): Switch to 8-bit/color RGBPatrick McDermott2019-07-171-7/+4
|
* image_render(): Use font dimensionsPatrick McDermott2019-07-173-5/+8
|
* font_get_width(), font_get_height(): New functionsPatrick McDermott2019-07-172-0/+18
|
* font_find(): New functionPatrick McDermott2019-07-174-3/+95
|
* main(): Destroy textPatrick McDermott2019-07-171-0/+1
|
* text_new(): Increment through stringPatrick McDermott2019-07-171-0/+2
|
* text_new(): Reset width after newlinesPatrick McDermott2019-07-171-0/+1
|
* image_render(): Get dimensions from textPatrick McDermott2019-07-173-6/+19
|
* text_*(): New functionsPatrick McDermott2019-07-173-1/+132
|
* po/stamp-po: Exclude from GitPatrick McDermott2019-07-171-0/+1
|
* image_render(): Allocate and free row buffersPatrick McDermott2019-07-171-18/+19
| | | | | Move code from image_new() and image_destroy() and drop rows member from struct image.
* po/POTFILES.in: UpdatePatrick McDermott2019-07-171-0/+1
|
* po/Makevars: New filePatrick McDermott2019-07-171-0/+43
|
* include/linux/module.h: Fix extra ";" warningsPatrick McDermott2019-07-171-1/+2
|
* lib/fonts/*.c: Add fontsPatrick McDermott2019-07-176-0/+20590
|