Commit Graph

  • 30a5041a38 font Group has Lib, loads deferred faces when needed Mitchell Hashimoto 2022-09-29 10:30:45 -07:00
  • f9b78ad2ba update flake Mitchell Hashimoto 2022-09-25 14:04:09 -07:00
  • b11ed06fc2 font: test loading deferred face for fontconfig Mitchell Hashimoto 2022-09-24 06:24:51 -07:00
  • 88a4cb65f3 src/font: working on initiaizing deferred fonts from fc Mitchell Hashimoto 2022-09-23 12:09:40 -07:00
  • bc9a0a36a8 store requested size alongside deferred font for loading Mitchell Hashimoto 2022-09-17 10:05:26 -07:00
  • 92251ed913 font group works with deferred faces exclusively Mitchell Hashimoto 2022-09-17 09:29:34 -07:00
  • ac26c20e94 font discovery builds up a set of deferred faces Mitchell Hashimoto 2022-09-17 09:21:23 -07:00
  • 1c1da63c7e deferred face hasCodepoint Mitchell Hashimoto 2022-09-16 15:29:13 -07:00
  • 141182aa13 start adding fontconfig conditional compilation Mitchell Hashimoto 2022-09-16 15:06:00 -07:00
  • 51d70fc74e reproduced issue for upgrade comment Mitchell Hashimoto 2022-09-23 13:37:20 -07:00
  • 53f5739eca use meta.FnPtr to prep for stage2 Mitchell Hashimoto 2022-09-23 13:20:43 -07:00
  • 3bd9ed5952 Fix invalid c types with fontconfig Mitchell Hashimoto 2022-09-23 13:14:08 -07:00
  • 1a2b684b0e RGB should not be packed, so that it has align = 1 Mitchell Hashimoto 2022-09-23 13:10:51 -07:00
  • a1d238e385 Fix a couple bugs in memory access (tests only) Mitchell Hashimoto 2022-09-23 12:51:50 -07:00
  • 72105fc6cd update to the latest stage2 compiler we can Mitchell Hashimoto 2022-09-23 12:08:06 -07:00
  • 57a82a26e7 pkg/fontconfig: const pointers Mitchell Hashimoto 2022-09-17 09:19:00 -07:00
  • 9750ac87fd pkg/fontconfig: pattern get Mitchell Hashimoto 2022-09-17 09:04:40 -07:00
  • 86f7d0e04e pkg/fontconfig: add some error handling Mitchell Hashimoto 2022-09-17 08:58:42 -07:00
  • 0d80225977 fontconfig: charset and langset apis Mitchell Hashimoto 2022-09-16 15:12:02 -07:00
  • d69f8397f3 pkg/fontconfig: add weights/slants enum Mitchell Hashimoto 2022-09-16 10:08:49 -07:00
  • 5b215409c6 pkg/fontconfig: pattern.add Mitchell Hashimoto 2022-09-16 09:55:45 -07:00
  • c68c487e14 Make selection part of the cache key for GPU cells Mitchell Hashimoto 2022-09-14 19:58:36 -07:00
  • 77851b30a2 Revert "update to latest Zig nightly" Mitchell Hashimoto 2022-09-14 19:39:10 -07:00
  • f3f2c3df26 update to latest Zig nightly Mitchell Hashimoto 2022-09-14 19:34:19 -07:00
  • f5319f1ca6 Merge pull request #14 from mitchellh/fontconfig Mitchell Hashimoto 2022-09-14 14:33:00 -07:00
  • e4ea27ec37 fontconfig: more APIs Mitchell Hashimoto 2022-09-14 14:30:18 -07:00
  • aca36ba79b fontconfig: fc-match Mitchell Hashimoto 2022-09-14 14:26:42 -07:00
  • 03ab1bedd4 fontconfig: fc-match Mitchell Hashimoto 2022-09-14 12:49:43 -07:00
  • eb2ce495b3 fontconfig: font list Mitchell Hashimoto 2022-09-14 10:14:09 -07:00
  • ce899dca11 fontconfig: font sets Mitchell Hashimoto 2022-09-14 10:05:09 -07:00
  • 382f569d65 fontconfig: object sets and patterns Mitchell Hashimoto 2022-09-14 09:54:48 -07:00
  • b4d571e018 pkg/fontconfig: disable ubsan (reported upstream) Mitchell Hashimoto 2022-09-14 09:23:02 -07:00
  • 4ca71eef7c don't build fontconfig on mac Mitchell Hashimoto 2022-09-13 14:46:33 -07:00
  • 59191b05cd build fontconfig Mitchell Hashimoto 2022-09-13 14:34:40 -07:00
  • d422d1ee78 pkg/fontconfig: starting, not working Mitchell Hashimoto 2022-09-13 13:53:20 -07:00
  • d5ee4f8b21 Cell GPU cache must also key by screen type (primary/alternate) Mitchell Hashimoto 2022-09-13 10:43:03 -07:00
  • 7bde20a43d a cell is empty only if it also has no styling Mitchell Hashimoto 2022-09-13 10:12:44 -07:00
  • b5f9e8abf0 fix potential crash Mitchell Hashimoto 2022-09-13 10:12:29 -07:00
  • 0801786d51 Cache text shaping results per row Mitchell Hashimoto 2022-09-12 12:01:26 -07:00
  • b694afa425 update TODO Mitchell Hashimoto 2022-09-12 11:39:20 -07:00
  • 662b656218 implement LRU row GPU cell caching Mitchell Hashimoto 2022-09-12 11:24:34 -07:00
  • 3e27120e8c lru resize Mitchell Hashimoto 2022-09-12 11:01:22 -07:00
  • 4f6c67fe9d add LRU Mitchell Hashimoto 2022-09-12 10:21:18 -07:00
  • 8995e74e23 rows are dirty when initialized Mitchell Hashimoto 2022-09-10 11:01:40 -07:00
  • 08b7a866b6 Screen dirty tracking Mitchell Hashimoto 2022-09-10 10:59:57 -07:00
  • d7d372124b update to stage3 zig with -fstage1 Mitchell Hashimoto 2022-09-08 13:31:18 -07:00
  • 97aef76501 avoid large shaper buffer allocation on every frame Mitchell Hashimoto 2022-09-07 20:27:36 -07:00
  • 98dff5a163 better handling of combination characters Mitchell Hashimoto 2022-09-07 20:10:06 -07:00
  • d42c99b6be Merge pull request #12 from mitchellh/ligs Mitchell Hashimoto 2022-09-07 16:18:58 -07:00
  • 8d90292cb2 remove font conversion stuff Mitchell Hashimoto 2022-09-07 16:17:41 -07:00
  • d951e40553 update TODO Mitchell Hashimoto 2022-09-07 16:15:38 -07:00
  • 54d47e8390 update TODO Mitchell Hashimoto 2022-09-07 16:10:27 -07:00
  • 278d9ad9d6 add tracing Mitchell Hashimoto 2022-09-07 16:10:16 -07:00
  • 90e4d12f79 only scale fonts to height Mitchell Hashimoto 2022-09-07 15:59:23 -07:00
  • c1bb6450b0 fix some emoji sizing Mitchell Hashimoto 2022-09-07 14:41:37 -07:00
  • 85dff335f1 much more accurate run splits and cell widths in runs Mitchell Hashimoto 2022-09-07 10:30:40 -07:00
  • 3f1942223b only test presentation VS15/16 if directly adjacent to codepoint Mitchell Hashimoto 2022-09-06 14:26:43 -07:00
  • da7843e8b4 test shaping a long emoji Mitchell Hashimoto 2022-09-06 14:25:29 -07:00
  • 3754de3b95 test very long emoji Mitchell Hashimoto 2022-09-06 14:21:07 -07:00
  • f40eb3663a kind of handle VS15/16 better, its not blank anymore, but its wrong Mitchell Hashimoto 2022-09-06 13:56:20 -07:00
  • e326bc4921 fonts are presentation format aware (text vs emoji) Mitchell Hashimoto 2022-09-06 13:30:29 -07:00
  • 302889bfb3 font don't include convert Mitchell Hashimoto 2022-09-05 22:53:29 -07:00
  • 0d2c03c21c Font face handles zero-width glyphs (weird but happens) Mitchell Hashimoto 2022-09-05 22:53:00 -07:00
  • 90d250a3ba Rebase Mitchell Hashimoto 2022-09-05 11:41:40 -07:00
  • 480d262bc1 Calculate grid_width properly, use that instead of wide mask in shader Mitchell Hashimoto 2022-08-30 10:06:26 -07:00
  • 3231b84927 Ligatures Mitchell Hashimoto 2022-08-29 21:51:33 -07:00
  • d839257c04 Merge pull request #11 from mitchellh/graphemes Mitchell Hashimoto 2022-09-05 11:36:38 -07:00
  • 9e8d00f140 attach zero-width joiners to cells Mitchell Hashimoto 2022-09-05 11:32:14 -07:00
  • 8ef31aaaf9 Disable Mitchell Hashimoto 2022-09-05 11:22:29 -07:00
  • 802f230fa2 handle graphemes with more than 1 joiner Mitchell Hashimoto 2022-09-05 10:35:22 -07:00
  • 47242ad12a test writing graphemes Mitchell Hashimoto 2022-09-05 10:29:52 -07:00
  • 7ceff79ea9 various methods on Row are grapheme-aware and tested Mitchell Hashimoto 2022-09-05 09:47:35 -07:00
  • b3ec7028fb detect and attach grapheme to grapheme data Mitchell Hashimoto 2022-09-04 21:57:07 -07:00
  • a605ff07e1 setup flags, storage for graphemes Mitchell Hashimoto 2022-09-04 11:17:41 -07:00
  • eb0913d1b4 update TODO Mitchell Hashimoto 2022-09-04 09:47:49 -07:00
  • e6564dfd11 fix some resize crashes Mitchell Hashimoto 2022-09-04 09:43:20 -07:00
  • f417659368 on resize, if rows increasing, handle that first Mitchell Hashimoto 2022-09-03 22:33:20 -07:00
  • ac9f9b29d6 bump render to 144hz, slowest 120hz Mitchell Hashimoto 2022-09-03 22:17:25 -07:00
  • 1d5edb25b5 New Screen Storage Mitchell Hashimoto 2022-09-03 21:50:24 -07:00
  • f3f60e47d1 clearHistory Mitchell Hashimoto 2022-09-03 21:40:03 -07:00
  • 6373900dfa comment on screen struct Mitchell Hashimoto 2022-09-03 21:35:43 -07:00
  • c0e36bedd6 remove dirty for now Mitchell Hashimoto 2022-09-03 21:26:49 -07:00
  • 3d0ec16ad4 resize with shrinking cols Mitchell Hashimoto 2022-09-03 21:25:06 -07:00
  • 7134ddec4e resize less rows Mitchell Hashimoto 2022-09-03 17:59:24 -07:00
  • 1121438d8a maybe clean up resize more cols Mitchell Hashimoto 2022-09-03 17:50:04 -07:00
  • d6e243cde1 resize with reflow more cols Mitchell Hashimoto 2022-09-03 17:28:26 -07:00
  • 2583b8cb65 fix y pos on resize Mitchell Hashimoto 2022-09-03 12:25:26 -07:00
  • 41f2b756ae fix scrolling and new row calculation Mitchell Hashimoto 2022-09-03 12:18:45 -07:00
  • d22a323896 clean up some assertions Mitchell Hashimoto 2022-09-01 23:25:21 -07:00
  • 81b805b8c2 use an arena allocator for tty allocs Mitchell Hashimoto 2022-09-01 22:48:33 -07:00
  • 8d6e8eb0aa asserts not being optimized away, use comptime gate Mitchell Hashimoto 2022-09-01 22:21:54 -07:00
  • 57725cf3a4 cache row iterator max value Mitchell Hashimoto 2022-09-01 22:05:42 -07:00
  • 5aa6d79519 screen: cache history offset Mitchell Hashimoto 2022-09-01 21:36:59 -07:00
  • 73581eee0b small optimizations Mitchell Hashimoto 2022-09-01 18:36:27 -07:00
  • 30a14d230e process ASCII events manually to avoid function call overhead Mitchell Hashimoto 2022-09-01 17:53:40 -07:00
  • d404be2993 grow our scrollback much faster Mitchell Hashimoto 2022-09-01 01:15:20 -07:00
  • dba027d307 resize should maintain minimum of screen rows Mitchell Hashimoto 2022-09-01 01:09:06 -07:00
  • 77c8ec0a20 the big screen switchover Mitchell Hashimoto 2022-09-01 00:58:47 -07:00
  • 2f2b12a32f resize without reflow preserves cursor better Mitchell Hashimoto 2022-08-31 21:51:01 -07:00
  • 89e931e468 our new resize without reflow supports scrollback so test that Mitchell Hashimoto 2022-08-31 21:29:28 -07:00