Commit Graph

  • 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
  • 7c50ac2be5 skip a test on stage2, with this the main package tests pass! Mitchell Hashimoto 2022-08-17 17:06:42 -07:00
  • ffa9ddc0d9 only build tracy if enabled Mitchell Hashimoto 2022-08-17 17:03:38 -07:00
  • 08292e58f3 add system SDK to build to enable cross compilation Mitchell Hashimoto 2022-08-17 14:53:34 -07:00
  • 5c2edf4d2a Fix some stage2 compilation errors Mitchell Hashimoto 2022-08-17 14:42:23 -07:00
  • fcfd8da57a Fix libuv tests Mitchell Hashimoto 2022-08-17 14:40:46 -07:00
  • 2f36d5f715 pkg/tracy Mitchell Hashimoto 2022-08-17 14:03:49 -07:00
  • ea1e972a29 turn tracy into proper package Mitchell Hashimoto 2022-08-17 14:02:09 -07:00
  • 2457454b07 test wasm of the term package Mitchell Hashimoto 2022-08-17 13:57:21 -07:00
  • ead6e5a435 src/terminal can build into a minimal wasm library, I think Mitchell Hashimoto 2022-08-17 12:25:53 -07:00
  • 37b854f77c Revert "update libuv tests" Mitchell Hashimoto 2022-08-17 11:36:08 -07:00
  • 2228675973 update libuv tests Mitchell Hashimoto 2022-08-17 11:29:08 -07:00
  • f2d65d4524 move freetype into pkg Mitchell Hashimoto 2022-08-17 11:20:31 -07:00
  • b2192ea8f7 move libuv into pkg Mitchell Hashimoto 2022-08-16 17:47:44 -07:00
  • f7d55ce334 update zig Mitchell Hashimoto 2022-08-15 09:59:21 -07:00
  • 3b7a6b78a7 fix ttyWrite calculation to avoid truncating data Mitchell Hashimoto 2022-08-15 09:57:38 -07:00
  • e3ddffdf36 don't scale up OpenGL projection in Retina, use true values Mitchell Hashimoto 2022-08-09 10:21:23 -07:00
  • f94f3cb5a4 enable retina on Mac, set OpenGL to pixel size properly Mitchell Hashimoto 2022-08-09 10:06:30 -07:00
  • cbaf5b585d update zig Mitchell Hashimoto 2022-08-09 09:24:00 -07:00
  • ad1cdbcd59 implement erase display scrollback ("clear" command) Mitchell Hashimoto 2022-08-09 09:22:34 -07:00
  • fb5afbedd2 add screen .history tag to fetch scrollback region Mitchell Hashimoto 2022-08-09 09:18:10 -07:00
  • 04ddd3e9ff update TODO Mitchell Hashimoto 2022-08-09 09:01:59 -07:00
  • 57cec33303 set a minimum window size Mitchell Hashimoto 2022-08-09 08:59:45 -07:00
  • febec6f91b Merge pull request #2 from mitchellh/reflow Mitchell Hashimoto 2022-08-08 21:17:48 -07:00
  • 38af14ff3a resize alt screen without reflow Mitchell Hashimoto 2022-08-08 21:14:27 -07:00
  • f82493cccf when growing cols, adjust viewport and cursor if we shorten Mitchell Hashimoto 2022-08-08 20:52:36 -07:00