Commit Graph

  • 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
  • 16a5a45293 when growing rows, offset cursor by added rows Mitchell Hashimoto 2022-08-08 18:14:11 -07:00
  • d551f1126b when less cols, cursor needs to be in screen space, not viewport Mitchell Hashimoto 2022-08-08 17:44:13 -07:00
  • 113b5a318b when shrinking rows, clear empty space from the end (see test case) Mitchell Hashimoto 2022-08-08 17:08:57 -07:00
  • a2cf116063 fix a crash when reflowing to smaller cols but still buggy Mitchell Hashimoto 2022-08-08 14:20:52 -07:00
  • f3d3d255fb handle case where cursor is past where content is on col shrink Mitchell Hashimoto 2022-08-08 14:08:01 -07:00
  • 9493561159 assertions to save our bacon Mitchell Hashimoto 2022-08-08 14:03:14 -07:00
  • e4c8bbd394 reflow cursor when shrinking cols Mitchell Hashimoto 2022-08-08 14:02:28 -07:00
  • 6fa4cb07c7 more cursor reflow Mitchell Hashimoto 2022-08-08 13:56:09 -07:00
  • bfbeceeefa when cols grow, move cursor if it unwraps the line it is on Mitchell Hashimoto 2022-08-08 13:47:49 -07:00
  • a37bf60bf6 update TODO Mitchell Hashimoto 2022-08-08 13:06:32 -07:00
  • 9ddb19e9b0 replace old resize with new reflow resize Mitchell Hashimoto 2022-08-08 13:06:01 -07:00
  • f97b739317 reflow when columns get smaller Mitchell Hashimoto 2022-08-08 13:04:27 -07:00
  • 8a5dadd995 rowIndex uses tag max so we have max in just one place Mitchell Hashimoto 2022-08-08 10:38:24 -07:00
  • 57f6986343 rowIterator(.screen) now ignores unused lines, fixes shrinking rows Mitchell Hashimoto 2022-08-08 10:32:42 -07:00
  • 4ef73efeac resize less rows, but currently not 100% working (see commented tests) Mitchell Hashimoto 2022-08-08 10:28:11 -07:00
  • 2cf4a265e5 reflow when cols grow Mitchell Hashimoto 2022-08-08 09:36:04 -07:00
  • dc351582bc resize increasing column width without reflow Mitchell Hashimoto 2022-08-07 16:23:23 -07:00
  • be3a539152 start working on new resize with reflow, can grow rows Mitchell Hashimoto 2022-08-07 15:52:53 -07:00
  • 039b640f6b Merge branch 'reflow' Mitchell Hashimoto 2022-08-07 10:47:27 -07:00
  • 2d6d027097 Screen.region to get a region of contiguous memory for a tag Mitchell Hashimoto 2022-08-07 10:46:35 -07:00
  • 92602dafca rowIterator takes the tag type to iterate over Mitchell Hashimoto 2022-08-07 10:26:04 -07:00
  • 05e0adaa01 screen operations operate on the active area Mitchell Hashimoto 2022-08-07 09:48:22 -07:00
  • 8ea20f9e41 start changing getRow and rowIndex to use tagged indexes Mitchell Hashimoto 2022-08-07 09:41:30 -07:00
  • e687cdb82f more TODO Mitchell Hashimoto 2022-08-06 16:15:52 -07:00
  • f4e00859ce update TODO with a bunch of select tasks Mitchell Hashimoto 2022-08-06 16:13:45 -07:00
  • 1da5ca0a7f mouse xpos/ypos can be negative or larger than window size Mitchell Hashimoto 2022-08-06 16:05:32 -07:00
  • 109e2a67ab selectionString: realloc so free gets the correct length Mitchell Hashimoto 2022-08-06 15:50:25 -07:00
  • 9d26ab2dc8 memset zero values when resizing a screen Mitchell Hashimoto 2022-08-06 15:44:20 -07:00
  • 80719d1467 update TODO Mitchell Hashimoto 2022-08-06 11:19:23 -07:00
  • 8ba9209f64 update mach vendor Mitchell Hashimoto 2022-08-06 11:10:56 -07:00
  • ac5b4d8760 update zig Mitchell Hashimoto 2022-08-05 20:00:56 -07:00
  • c99a79055c HPA does nothing when status display is active Mitchell Hashimoto 2022-08-05 19:56:40 -07:00
  • ce6f022a7e cursor should be a hollow rect on unfocus, regression from e163e4962b Mitchell Hashimoto 2022-08-05 19:26:50 -07:00
  • dd98768400 note that selectionSlices is tested Mitchell Hashimoto 2022-08-05 11:40:52 -07:00
  • 263ca66b74 update TODO Mitchell Hashimoto 2022-08-05 11:39:04 -07:00
  • 2670ae1265 Copy Selection to Clipboard Mitchell Hashimoto 2022-08-05 11:38:41 -07:00
  • d4c4330d4d copy! Mitchell Hashimoto 2022-08-05 11:37:02 -07:00
  • abde2b9e18 way easier way to slice to end of storage duh Mitchell Hashimoto 2022-08-05 11:21:37 -07:00
  • ecaca23959 selectionString: test wraparound case, fix bugs Mitchell Hashimoto 2022-08-05 11:20:53 -07:00
  • 363c51360b selectionString: more accurate buf allocation Mitchell Hashimoto 2022-08-05 11:08:56 -07:00
  • 25dc292c14 selectionString unwraps properly Mitchell Hashimoto 2022-08-05 11:04:41 -07:00
  • dd76fe124d terminal.selectionString to grab the string value of a selection Mitchell Hashimoto 2022-08-05 10:57:08 -07:00
  • 140f66937d update TODO Mitchell Hashimoto 2022-08-04 16:58:09 -07:00
  • 0855d391a8 fix selection of a single character Mitchell Hashimoto 2022-08-04 16:53:10 -07:00
  • 68260cc3d0 fix some selection contains logic on single lines Mitchell Hashimoto 2022-08-04 14:40:28 -07:00
  • d0dc69a0a8 color selection! Mitchell Hashimoto 2022-08-04 14:37:10 -07:00
  • 40161a9eff track mouse state, setup selection state on cursor move with click Mitchell Hashimoto 2022-08-04 14:21:40 -07:00
  • f2e9746d2b fix build error Mitchell Hashimoto 2022-08-04 13:08:51 -07:00
  • 974138378b introducing dedicated point types Mitchell Hashimoto 2022-08-04 13:04:42 -07:00
  • 8facf9b942 terminal: add Selection struct Mitchell Hashimoto 2022-08-04 11:44:36 -07:00
  • bb0b95732e opengl: support extension iteration, list in debug mode Mitchell Hashimoto 2022-08-04 11:13:56 -07:00
  • e163e4962b refactor cursor implementation, implement cursor visible (mode 25) Mitchell Hashimoto 2022-08-03 21:39:42 -07:00
  • 1680aee880 some logging improvements Mitchell Hashimoto 2022-08-03 21:13:05 -07:00
  • b2a9f1f79e update nixpkgs Mitchell Hashimoto 2022-08-03 09:57:47 -07:00
  • befeb08b3d add a lot more tracing as I hunt down some performance things Mitchell Hashimoto 2022-08-03 09:56:32 -07:00
  • 0bc8300e74 remove unused line Mitchell Hashimoto 2022-08-02 21:45:20 -07:00
  • f82b8f89e7 releast-fast for dev/install otherwise renders are slow Mitchell Hashimoto 2022-08-02 21:03:34 -07:00
  • 40cec18943 implement DECSASD by just blackholing the output for now Mitchell Hashimoto 2022-08-02 11:03:01 -07:00
  • 2b80699179 cursor position absolute needs to ignore all the offset stuff Mitchell Hashimoto 2022-08-02 10:30:20 -07:00
  • 1fbfc8a664 update Zig nightly Mitchell Hashimoto 2022-08-02 09:27:05 -07:00
  • 84af11e1eb detect config file load in config file Mitchell Hashimoto 2022-08-02 09:25:36 -07:00
  • 782ddfe722 --config-file to load a config file Mitchell Hashimoto 2022-08-01 18:04:39 -07:00
  • bf526fb217 cli: support multiple calls into parse without clobbering arena Mitchell Hashimoto 2022-08-01 12:56:28 -07:00
  • 0249f3c174 cli parsing supports modification, add "RepeatableString" as example Mitchell Hashimoto 2022-08-01 11:54:51 -07:00
  • 8267f10cc1 Update makefile to only patchelf on NixOS Mitchell Hashimoto 2022-07-31 16:44:29 -07:00
  • d614da2435 make dev/install to add a dev install Mitchell Hashimoto 2022-07-31 16:11:01 -07:00
  • 9779b565bf nix: add other X11 deps Mitchell Hashimoto 2022-07-26 15:02:03 -07:00
  • 23548852c6 update to nixpkgs 22.05 Mitchell Hashimoto 2022-07-26 14:40:57 -07:00
  • fc611ec28b nix: update the package to set proper rpath Mitchell Hashimoto 2022-07-26 14:39:40 -07:00
  • 2453b40e5d log glfw errors globally Mitchell Hashimoto 2022-07-26 13:05:57 -07:00
  • 2be6de7ebd nix: we have a package that builds, but doesn't run Mitchell Hashimoto 2022-07-26 12:04:51 -07:00
  • 702f54a6fa first attempt at a derivation Mitchell Hashimoto 2022-07-26 11:38:54 -07:00
  • adba7aae22 Add sdk submodule Mitchell Hashimoto 2022-07-26 11:33:15 -07:00
  • e4dd940c98 vendor: update mach for glfw Mitchell Hashimoto 2022-07-26 11:24:36 -07:00
  • c09498318a don't install conformance tests Mitchell Hashimoto 2022-07-26 09:55:37 -07:00