Commit graph

  • 3afc5a723e
    selection: use selection_start() to initialize word/row-based selection Daniel Eklöf 2021-01-02 23:00:54 +01:00
  • 3dd6b7e4ef
    selection: don’t finalize selection when starting a word/row-based selection Daniel Eklöf 2021-01-02 22:40:33 +01:00
  • bef69cb961
    selection: remember whether word-wise selection uses spaces only for delimiters Daniel Eklöf 2021-01-02 21:38:41 +01:00
  • a1b52ee4a0
    changelog: double- or triple clicking then dragging extends word- or line-wise Daniel Eklöf 2021-01-02 21:28:55 +01:00
  • 55ecf29a36
    selection: wip: update selection row-wise when initial selection was by row Daniel Eklöf 2021-01-02 21:26:28 +01:00
  • 30de262d29
    selection: wip: update selection word-wise when initial selection was by word Daniel Eklöf 2021-01-02 21:20:41 +01:00
  • 482690e5fb
    render: draw combining characters on top of colored bitmap glyphs (emoji) Daniel Eklöf 2021-01-04 18:32:55 +01:00
  • 21c1d9739b
    input: don’t try to close an invalid FD Daniel Eklöf 2021-01-04 18:32:22 +01:00
  • 9d8ca321d6
    input: don’t assert when receiving a button release without a press event Daniel Eklöf 2021-01-04 18:32:00 +01:00
  • b4d7a60864
    Merge branch 'hex2nibble' Daniel Eklöf 2021-01-04 08:32:31 +01:00
  • 07f000fa45
    Merge branch 'blank-before-trailing-comment' Daniel Eklöf 2021-01-04 08:30:40 +01:00
  • b9a7cbf21d uri: rename nibbletohex() function to hex2nibble() Craig Barnes 2021-01-04 05:31:19 +00:00
  • d30414b3a3 uri: use nibble2hex() instead of isxdigit(3) to check valid hex digits Craig Barnes 2021-01-04 05:25:14 +00:00
  • 49ec4c79a7 Add myself to Contributors Peter Colberg 2021-01-03 15:49:24 -05:00
  • afc343d528 Require trailing comment to be preceded by a space or tab Peter Colberg 2021-01-03 14:08:25 -05:00
  • e2b3ef63b9
    Merge branch 'macros' Daniel Eklöf 2021-01-03 12:19:11 +01:00
  • 39b2e46e72 Use wrappers from macros.h instead of bare GCC attributes/pragmas Craig Barnes 2021-01-03 08:56:47 +00:00
  • 2559a9711c macros: add wrappers for more GCC/Clang attributes/pragmas/builtins Craig Barnes 2021-01-03 08:47:12 +00:00
  • 5cc2f94668
    Merge branch 'box-drawing' Daniel Eklöf 2021-01-03 00:08:08 +01:00
  • ae6d8e0c7f
    render: mark cell overflowed into as dirty Daniel Eklöf 2021-01-02 22:24:49 +01:00
  • 0861e8d377
    box-drawing: drop ‘pragma GCC optimize(“Os”)’ Daniel Eklöf 2021-01-02 17:47:47 +01:00
  • c7a611fdf3
    box-drawing: codespell: assymetrical -> asymmetrical Daniel Eklöf 2021-01-02 12:35:53 +01:00
  • e353edaf41
    box-drawing: add macros for {h,v}line_middle_mixed() Daniel Eklöf 2021-01-02 12:28:03 +01:00
  • 5a5134e9bd
    box-drawing: LIGHT ARC: simpler way to adjust for asymmetrical arc when mirroring Daniel Eklöf 2021-01-02 12:09:00 +01:00
  • 66497cfd4d
    box-drawing: LIGHT ARC: use min/max instead of checking range inside loop Daniel Eklöf 2021-01-02 12:08:32 +01:00
  • d8e40cf5d4
    box-drawing: LIGHT ARC: fix alignment of arcs when thickness is > 1px Daniel Eklöf 2021-01-02 02:26:12 +01:00
  • 87dcdc2b3b
    box-drawing: LIGHT ARC: test using a circle equation instead of a bezier curve Daniel Eklöf 2021-01-02 00:52:02 +01:00
  • 128883fa05
    box-drawing: guard GCC pragma with #if defined(__GNUC__) Daniel Eklöf 2021-01-01 23:35:55 +01:00
  • a20c6bd667
    box-drawing: do not inline any of the utility functions Daniel Eklöf 2021-01-01 22:29:26 +01:00
  • 7d0fb3cccd
    macros: add NOINLINE (__attribute__((noinline))) Daniel Eklöf 2021-01-01 22:29:12 +01:00
  • fc79dbb5a3
    box-drawing: dedicated functions to draw a full horizontal/vertical line Daniel Eklöf 2021-01-01 22:24:52 +01:00
  • 068f93d226
    box-drawing: convert {h,v}line_middle_{left,right,up,down}() macros to functions Daniel Eklöf 2021-01-01 22:12:40 +01:00
  • d1993f1f91
    box-drawing: sextants: convert sextant_*() macros to functions Daniel Eklöf 2021-01-01 22:01:09 +01:00
  • f7669c1e24
    box-drawing: quadrants: convert quad_*() macros to functions Daniel Eklöf 2021-01-01 21:56:53 +01:00
  • c75192b4f8
    box-drawing: reduce number of function arguments Daniel Eklöf 2021-01-01 21:47:05 +01:00
  • 25f21d4202
    box-drawing: force minsize optimization Daniel Eklöf 2021-01-01 21:28:12 +01:00
  • 11d4e9ee53
    box-drawing: disable debug output Daniel Eklöf 2021-01-01 21:27:53 +01:00
  • 71d187119f
    changelog: box drawing characters are rendered by foot Daniel Eklöf 2021-01-01 21:08:57 +01:00
  • 81ac95995a
    box-drawing: LIGHT DIAGONALs Daniel Eklöf 2021-01-01 21:01:02 +01:00
  • ca423bcb01
    box-drawing: silence variable-may-not-be-initialized warnings Daniel Eklöf 2021-01-01 21:00:27 +01:00
  • ebb5e9eeae
    box-drawing: LIGHT/HEAVY DOUBLE/TRIPLE/QUADRUPLE VERTICAL Daniel Eklöf 2021-01-01 20:33:38 +01:00
  • 34360fbb7d
    box-drawing: LIGHT/HEAVY DOUBLE/TRIPLE/QUADRUPLE HORIZONTAL Daniel Eklöf 2021-01-01 14:06:48 +01:00
  • 848bd27dd5
    box-drawing: LIGHT ARC: improve symmetry when cell width is even Daniel Eklöf 2021-01-01 13:18:51 +01:00
  • 167078c076
    box-drawing: LIGHT ARC: no need to do floating point since we’re truncating Daniel Eklöf 2021-01-01 13:18:05 +01:00
  • 56e947bb44
    box-drawing: LIGHT ARC: pixel-perfect Daniel Eklöf 2021-01-01 12:47:57 +01:00
  • c120e0c84f
    box-drawing: wip: LIGHT ARC: U+256d-U+2570 Daniel Eklöf 2020-12-31 17:22:14 +01:00
  • bd42986a8b
    box-drawing: {h,v}line(): handle both start/end point being too small *and* too large Daniel Eklöf 2020-12-30 13:30:39 +01:00
  • a8496eef03
    box-drawing: thickness(): ensure thickness is *at least* 1px Daniel Eklöf 2020-12-30 13:30:11 +01:00
  • 878adb970e
    box-drawing: make sure we never walk outside the (image) buffer Daniel Eklöf 2020-12-29 19:42:56 +01:00
  • b5ec34ca12
    box-drawing: wrap {h,v}hline() functions in macros, to shorten argument list Daniel Eklöf 2020-12-29 19:38:02 +01:00
  • 25d2b03a5c
    box-drawing: SEXTANTS, U+1fb00-1fb3b Daniel Eklöf 2020-12-29 13:02:08 +01:00
  • 00d0e53a95
    box-drawing: oops - remove accidental ‘x’ Daniel Eklöf 2020-12-29 11:39:10 +01:00
  • 4ac33f4f4e
    box-drawing: remove LOG_WARN from U+259x range - all codepoints have been implemented Daniel Eklöf 2020-12-29 11:37:20 +01:00
  • 705cb9cfb0
    box_drawing(): mark function as ‘cold’ Daniel Eklöf 2020-12-29 10:44:27 +01:00
  • 5b167bd185
    box-drawing: remove __attribute__((__const__)) from thickness() Daniel Eklöf 2020-12-29 10:41:38 +01:00
  • cf0270c1ea
    box-drawing: make ‘term’ parameter const Daniel Eklöf 2020-12-29 10:40:58 +01:00
  • 44f365bd00
    box-drawing: DOUBLE lines, U+2550-U+256C Daniel Eklöf 2020-12-28 14:08:57 +01:00
  • 2d4185567c
    box-drawing: LIGHT/MEDIUM/DARK SHADE Daniel Eklöf 2020-12-28 12:50:28 +01:00
  • 17a46378bf
    box-drawing: QUADRANTs: ensure all quads have equal width and hight Daniel Eklöf 2020-12-27 19:44:30 +01:00
  • ddc997dd5e
    box-drawing: QUADRANTs Daniel Eklöf 2020-12-27 18:43:11 +01:00
  • bca7c75393
    box-drawing: RIGHT HALF, UPPER ONE EIGHTH and RIGHT ONE EIGTH Daniel Eklöf 2020-12-27 18:42:23 +01:00
  • 08280553b5
    box-drawing: use floating point math, and round(), when drawing block elements Daniel Eklöf 2020-12-27 17:16:50 +01:00
  • 013253a20b
    box-drawing: first half of the block elements, U+2580-U+258F Daniel Eklöf 2020-12-27 17:11:49 +01:00
  • 0c263be815
    box-drawing: mixed LIGHT/HEAVY HORIZONTAL, VERTICAL Daniel Eklöf 2020-12-27 16:32:43 +01:00
  • b001b7d27b
    box-drawing: use #defines for LIGHT and HEAVY thicknesses Daniel Eklöf 2020-12-27 16:32:21 +01:00
  • f2add75895
    box-drawing: hline/vline macros now call thickness() Daniel Eklöf 2020-12-27 16:15:34 +01:00
  • 8b1e702827
    box-drawing: thickness(): tag as CONST, convert point-size to a float Daniel Eklöf 2020-12-27 16:14:37 +01:00
  • 973a57a096
    macros: add CONST (__attribute((__const__))) Daniel Eklöf 2020-12-27 16:14:17 +01:00
  • c1cc75051f
    box-drawing: LIGH/HEAVY LEFT, UP, RIGTH, DOWN Daniel Eklöf 2020-12-27 16:02:01 +01:00
  • 9a1e299cad
    box-drawing: mixed LIGHT/HEAVY variants of VERTICAL AND HORIZONTAL Daniel Eklöf 2020-12-27 12:44:02 +01:00
  • 011c58f759
    box-drawing: mixed LIGHT/HEAVY variants of UP AND HORIZONTAL Daniel Eklöf 2020-12-27 12:29:44 +01:00
  • 20c9a0a918
    box-drawing: mixed LIGHT/HEAVY variants of DOWN AND HORIZONTAL Daniel Eklöf 2020-12-27 12:21:37 +01:00
  • fe54fcc694
    box-drawing: mixed LIGHT/HEAVY variants of VERTICAL AND LEFT Daniel Eklöf 2020-12-27 12:12:24 +01:00
  • 56920558d6
    box-drawing: add mixed LIGHT/HEAVY VERTICAL AND RIGHT Daniel Eklöf 2020-12-26 23:14:54 +01:00
  • 42e22027ef
    box-drawing: add mixed LIGHT/HEAVY corners Daniel Eklöf 2020-12-26 22:58:08 +01:00
  • a692ecf656
    box-drawing: add {h,v}line_middle_{left,right,up,down} primitives Daniel Eklöf 2020-12-26 22:23:56 +01:00
  • 4f6595c0f3
    box-drawing: HEAVY versions of solid lines Daniel Eklöf 2020-12-26 21:21:58 +01:00
  • 032da5b14e
    box-drawing: break out thickness calculation Daniel Eklöf 2020-12-26 20:57:17 +01:00
  • fc95c7f48c
    box-drawing: initial set of LIGHT box drawings Daniel Eklöf 2020-12-26 18:47:55 +01:00
  • 736c88c3fb
    term: clear box drawing glyph cache when reloading fonts Daniel Eklöf 2020-12-26 16:44:11 +01:00
  • 92dc581bea
    box-drawing: fix compilation error on 32-bit; wc is int on 64-bit, long on 32-bit Daniel Eklöf 2020-12-26 16:34:55 +01:00
  • 7acdb3a0dd
    box-drawing: add infrastructure for rendering box drawing characters ourselves Daniel Eklöf 2020-12-26 16:24:16 +01:00
  • 44b32104a7
    doc: foot.ini: remove FONT FORMAT section, expand description of ‘font’ Daniel Eklöf 2020-12-31 12:57:37 +01:00
  • 20d1596c37
    foot.ini: add (default) size to font Daniel Eklöf 2020-12-31 12:48:20 +01:00
  • e7b2dcb619
    ci: run codespell on README/INSTALL/CHANGELOG Daniel Eklöf 2020-12-26 13:08:03 +01:00
  • 7a2084f2c2
    ci: run codespell on the man pages (the source files) Daniel Eklöf 2020-12-26 12:15:52 +01:00
  • cda647f2ca
    changelog: update ‘contributors’ Daniel Eklöf 2020-12-26 12:14:07 +01:00
  • 6dde6df25b
    Merge branch 'fix-typo' Daniel Eklöf 2020-12-26 12:13:11 +01:00
  • 2f867a8c2c
    Merge branch 'no-ime' Daniel Eklöf 2020-12-26 12:10:04 +01:00
  • 2227e36c66
    ime: don’t call text-input functions when it isn’t available Daniel Eklöf 2020-12-25 22:04:19 +01:00
  • 218ce4ab87
    wayland: log warning when compositor does not implement text-input Daniel Eklöf 2020-12-25 22:03:52 +01:00
  • 4e67940fd7 Fix typo Birger Schacht 2020-12-26 09:17:34 +01:00
  • 0dbd85ed9e
    terminal: reaper callback: don’t close ptmx if already closed Daniel Eklöf 2020-12-26 01:35:17 +01:00
  • 8b0ef6aa85
    terminal: shutdown (or --hold) when the client process terminates Daniel Eklöf 2020-12-26 01:29:40 +01:00
  • 3c6789fb8b
    reaper: add optional callback Daniel Eklöf 2020-12-26 01:26:54 +01:00
  • d778dc3d2a
    readme: add builds.sr.ht status badge Daniel Eklöf 2020-12-25 12:39:57 +01:00
  • 54dda3e560
    readme: try to position pipeline badge after description Daniel Eklöf 2020-12-25 12:36:40 +01:00
  • c56582cf03
    readme: try to fix gitlab pipeline status badge Daniel Eklöf 2020-12-25 12:36:00 +01:00
  • 529d534cba
    readme: test: add gitlab pipeline badge Daniel Eklöf 2020-12-25 12:34:51 +01:00
  • c3d067869d
    ci: sr.ht: cd into ‘foot’ before running codespell Daniel Eklöf 2020-12-24 13:44:09 +01:00