Commit Graph

  • 3c077ee19b pkg/harfbuzz: buffer init, add Mitchell Hashimoto 2022-08-28 11:42:57 -07:00
  • 5d42e2711f pkg/harfbuzz: face, font, freetype Mitchell Hashimoto 2022-08-28 11:21:35 -07:00
  • 3d68c72912 pkg/harfbuzz: some blob APIs Mitchell Hashimoto 2022-08-28 10:54:42 -07:00
  • 44dfe54fe8 output harfbuzz version on startup Mitchell Hashimoto 2022-08-28 10:26:49 -07:00
  • 755760a79e pkg/harfbuzz: some functions and tests Mitchell Hashimoto 2022-08-28 10:24:07 -07:00
  • 367aba62c4 Add harfbuzz build (not used yet) Mitchell Hashimoto 2022-08-28 10:09:39 -07:00
  • 8ff98446a9 sgr parsing bright colors now sets color properly Mitchell Hashimoto 2022-08-27 10:55:10 -07:00
  • 1609c8e775 hook up scroll down and up CSI codes (SD/SU) Mitchell Hashimoto 2022-08-27 10:46:11 -07:00
  • cd74902f89 Charsets Mitchell Hashimoto 2022-08-27 10:33:38 -07:00
  • 1be4626726 update TODO Mitchell Hashimoto 2022-08-27 10:29:52 -07:00
  • 312d589a2e implement locking shift Mitchell Hashimoto 2022-08-27 10:20:54 -07:00
  • 4a247e3bb8 single shift 2/3 Mitchell Hashimoto 2022-08-27 10:16:21 -07:00
  • bee82d58dc Shift Out/Shift In (invoke charset into GL) Mitchell Hashimoto 2022-08-27 10:08:01 -07:00
  • 7626f194e9 basic charset mapping, support configuration, print tests Mitchell Hashimoto 2022-08-27 09:42:05 -07:00
  • 75b63f3df3 british charset Mitchell Hashimoto 2022-08-27 08:41:06 -07:00
  • 40ca2a69fb starting charset tables Mitchell Hashimoto 2022-08-26 20:00:25 -07:00
  • 1f4572b3d2 update TODO Mitchell Hashimoto 2022-08-26 15:20:21 -07:00
  • 50409271a3 Mouse Reporting #8 Mitchell Hashimoto 2022-08-26 15:10:14 -07:00
  • ff460887b5 fix miscompilation around sgr mode Mitchell Hashimoto 2022-08-26 15:07:22 -07:00
  • fe6ba02709 sgr pixels mouse report format Mitchell Hashimoto 2022-08-26 14:59:44 -07:00
  • 1039ad76bf urxvt reporting format Mitchell Hashimoto 2022-08-26 14:57:35 -07:00
  • f551c0ef66 SGR reporting Mitchell Hashimoto 2022-08-26 14:55:18 -07:00
  • b46fe522d5 UTF-8 mouse reporting Mitchell Hashimoto 2022-08-26 14:42:20 -07:00
  • ab305add6c any event mouse tracking Mitchell Hashimoto 2022-08-26 14:26:42 -07:00
  • bd5dd69538 normal event (motion) mouse tracking Mitchell Hashimoto 2022-08-26 14:17:42 -07:00
  • 9aa5378ffa Track/cache button state and mods state Mitchell Hashimoto 2022-08-26 13:55:24 -07:00
  • a4bab6592d normal events can now track scroll Mitchell Hashimoto 2022-08-26 12:24:24 -07:00
  • 3096b32f13 mouse normal events in x10 format Mitchell Hashimoto 2022-08-26 12:15:13 -07:00
  • 93f45af41b X10 click-only mouse reporting Mitchell Hashimoto 2022-08-26 12:04:54 -07:00
  • 43b7727cf8 change u1 in mode to bool Mitchell Hashimoto 2022-08-26 11:27:44 -07:00
  • f9274bdafc define mouse events, all TODO Mitchell Hashimoto 2022-08-26 10:46:22 -07:00
  • dc6fc5c1c3 implement faint colors (SGR 2) Mitchell Hashimoto 2022-08-26 11:13:34 -07:00
  • 65df657b4e make cell attrs bools instead of u1s Mitchell Hashimoto 2022-08-26 11:09:48 -07:00
  • 469515c02b bind function keys (F1 to F12) Mitchell Hashimoto 2022-08-26 10:27:41 -07:00
  • 4ffd5cd994 SGR 39/49 (reset fg/bg, respectively) Mitchell Hashimoto 2022-08-26 09:56:17 -07:00
  • a1130095f8 note charsets are TODO Mitchell Hashimoto 2022-08-26 09:27:51 -07:00
  • 551de6eda4 update TODO Mitchell Hashimoto 2022-08-25 16:45:39 -07:00
  • c7a5045bd4 missed comment Mitchell Hashimoto 2022-08-25 16:24:20 -07:00
  • 84b75967a2 scale the cursor position from screen coords to pixels Mitchell Hashimoto 2022-08-25 16:09:54 -07:00
  • a9b34b43c5 code for getting physical DPI Mitchell Hashimoto 2022-08-25 15:53:29 -07:00
  • 9601920b4d font size is now in font points, determine size based on window DPI Mitchell Hashimoto 2022-08-25 12:29:28 -07:00
  • 46bbab5d10 ignore zero-width characters for now Mitchell Hashimoto 2022-08-24 13:48:22 -07:00
  • d0f888daae update TODO, we fixed atlas resizing Mitchell Hashimoto 2022-08-24 12:41:51 -07:00
  • f4b1783c1f atlas tracks modified/resize state, reallocate on GPU if resized Mitchell Hashimoto 2022-08-24 12:41:31 -07:00
  • d8248ef0ae fix data corruption on growing the Atlas Mitchell Hashimoto 2022-08-24 12:14:02 -07:00
  • 4751e3185d update TODO Mitchell Hashimoto 2022-08-24 11:32:47 -07:00
  • 76bce8893c Keybindings, support arrow keys, home/end, page up/down Mitchell Hashimoto 2022-08-24 11:24:30 -07:00
  • 5713c2f468 move input test to qualified Mitchell Hashimoto 2022-08-24 11:17:28 -07:00
  • 3b5a9caff5 hook up more control keys: home, end, page up, page down Mitchell Hashimoto 2022-08-24 11:16:36 -07:00
  • 80376ce6da hook up keybindings for copy/paste and arrow keys Mitchell Hashimoto 2022-08-24 11:08:39 -07:00
  • e6f09093dd unify non-printables up by bindings Mitchell Hashimoto 2022-08-24 10:21:27 -07:00
  • b33268cee3 only handle non-printables on press/release, and BS is 0x7F Mitchell Hashimoto 2022-08-24 10:18:05 -07:00
  • 622537d665 look up keybindings on keypress, clean up how non-printables are handled Mitchell Hashimoto 2022-08-24 10:02:13 -07:00
  • 2800a46854 keybind parsing in CLI args Mitchell Hashimoto 2022-08-24 09:31:14 -07:00
  • 222f70857a move input stuff to src/input Mitchell Hashimoto 2022-08-23 19:52:14 -07:00
  • bc9f81e8d2 binding parse action with parameter Mitchell Hashimoto 2022-08-23 17:48:52 -07:00
  • 7303909d01 key.Binding and basic parsing Mitchell Hashimoto 2022-08-23 17:40:36 -07:00
  • 5d8915cc9a remove unused zig file Mitchell Hashimoto 2022-08-23 15:30:13 -07:00
  • 8e1e8cfc51 pin new zig-overlay repo Mitchell Hashimoto 2022-08-23 10:23:02 -07:00
  • 3774972caf update mach Mitchell Hashimoto 2022-08-23 10:07:18 -07:00
  • 5c61bfbe8f fix stage2 compiler error Mitchell Hashimoto 2022-08-21 21:38:24 -07:00
  • 13225a2d78 remove done shader TODO Mitchell Hashimoto 2022-08-20 17:39:34 -07:00
  • f19f5fdc79 update TODO Mitchell Hashimoto 2022-08-20 17:37:41 -07:00
  • 235146ccd4 Emoji and Wide Unicode Char Support (i.e. Asian characters) Mitchell Hashimoto 2022-08-20 17:33:59 -07:00
  • ec288d9111 get rid of assertions because its possible they're false Mitchell Hashimoto 2022-08-20 17:21:14 -07:00
  • 561bbca053 don't render wide char trailers Mitchell Hashimoto 2022-08-20 17:17:13 -07:00
  • 28072157d5 selection of wide chars and copy/paste works Mitchell Hashimoto 2022-08-20 17:10:10 -07:00
  • 8a1d7070b3 render wide chars Mitchell Hashimoto 2022-08-20 16:49:55 -07:00
  • da79aae0ab terminal: print wide characters Mitchell Hashimoto 2022-08-20 16:11:48 -07:00
  • ecf8353c74 support dynamic linking (not default) test in GH actions Mitchell Hashimoto 2022-08-20 14:53:53 -07:00
  • f93e9eedb3 font: move codepoint into a public API Mitchell Hashimoto 2022-08-20 10:50:37 -07:00
  • 32d96dd49b add utf8proc so we can detect unicode char width Mitchell Hashimoto 2022-08-20 10:48:54 -07:00
  • e83262e48e nix: remove libpng Mitchell Hashimoto 2022-08-20 10:37:39 -07:00
  • 813f11a5eb fix crash that could happen looking up fallback Mitchell Hashimoto 2022-08-19 22:25:11 -07:00
  • c29f4cace6 remove the font style fallback for the fallback set Mitchell Hashimoto 2022-08-19 22:22:13 -07:00
  • 6026fdf834 only downsample size if its an emoji Mitchell Hashimoto 2022-08-19 22:08:51 -07:00
  • 43c61f57ef font FallbackSet for looking up in fallback TTFs (emoji) Mitchell Hashimoto 2022-08-19 22:05:27 -07:00
  • 22ed65a818 really hacked in emoji support, time to clean it up Mitchell Hashimoto 2022-08-19 21:03:04 -07:00
  • 3d6ca0e423 font face supports loading color fonts (emoji!) Mitchell Hashimoto 2022-08-19 16:28:47 -07:00
  • 5d27fd55e9 temp: add libpng to nix Mitchell Hashimoto 2022-08-19 16:24:06 -07:00
  • 5ae450099d freetype builds in png support, uses our own zlib Mitchell Hashimoto 2022-08-20 10:33:57 -07:00
  • 54b0c6cd03 Merge branch 'ft-libpng' Mitchell Hashimoto 2022-08-20 10:25:32 -07:00
  • 43e42a54cd vendor Mitchell Hashimoto 2022-08-20 10:25:19 -07:00
  • 728df4af16 build libpng and link freetype to it Mitchell Hashimoto 2022-08-20 10:24:49 -07:00
  • 583eec0fe6 zlib Mitchell Hashimoto 2022-08-20 10:02:04 -07:00
  • f9313801f1 avoid an alloc and buffer copy in the common case on font loading Mitchell Hashimoto 2022-08-19 15:12:57 -07:00
  • 742dd010eb Texture atlas supports variable color depth, not just greyscale Mitchell Hashimoto 2022-08-19 14:37:22 -07:00
  • eeaad799e5 get rid of Z buffer stuff Mitchell Hashimoto 2022-08-19 13:47:57 -07:00
  • 2351f88631 updateCell sets the proper Z value and bumps it Mitchell Hashimoto 2022-08-19 13:34:07 -07:00
  • 73e43b6e64 Grid supports sending partial cell updates to GPU Mitchell Hashimoto 2022-08-19 12:54:07 -07:00
  • 4ca45936f7 Only reallocate the GPU buffer if our CPU capacity changes Mitchell Hashimoto 2022-08-19 10:25:19 -07:00
  • 390d95a5af Enable depth buffer, add depth to shader Mitchell Hashimoto 2022-08-19 10:07:30 -07:00
  • a36ae221ae rename font/font.zig to font/main.zig Mitchell Hashimoto 2022-08-19 09:56:01 -07:00
  • d16c672771 update Zig, fixed new invalid octal error Mitchell Hashimoto 2022-08-19 08:58:27 -07:00
  • 1aecfc1061 math style Mitchell Hashimoto 2022-08-18 11:42:32 -07:00
  • 4dd8924427 clean up ortho2d to do less things Mitchell Hashimoto 2022-08-18 11:37:29 -07:00
  • e5c583ccf5 get rid of gb_math and create matrices from scratch Mitchell Hashimoto 2022-08-18 11:33:28 -07:00
  • b562eec83c erase display complete should scroll to bottom Mitchell Hashimoto 2022-08-17 17:24:09 -07:00
  • 16f981a48a Typing a character clears selection, scrolls to bottom Mitchell Hashimoto 2022-08-17 17:23:58 -07:00
  • 5e42d56d95 update zig Mitchell Hashimoto 2022-08-17 17:09:13 -07:00