Commit Graph

  • 161ad64f9f add homedir utility Mitchell Hashimoto 2022-11-02 15:35:38 -07:00
  • 116a157e17 change defaults to be more aesthetically pleasing Mitchell Hashimoto 2022-11-01 18:25:36 -07:00
  • b528d435fb properly handle "inherit" working directory value Mitchell Hashimoto 2022-11-01 18:22:33 -07:00
  • df50aacff1 macos: Default working directory to home dir if launched from app Mitchell Hashimoto 2022-11-01 18:10:30 -07:00
  • 63fab367fe Command supports setting cwd Mitchell Hashimoto 2022-11-01 17:51:50 -07:00
  • be1fa78511 extract passwd to its own file so its easier to test Mitchell Hashimoto 2022-11-01 17:47:34 -07:00
  • c7db5b96d6 get rid of stage1 compat Mitchell Hashimoto 2022-11-01 14:10:35 -07:00
  • 74d8d6cd6c source default shell from SHELL if set Mitchell Hashimoto 2022-11-01 14:09:40 -07:00
  • 7da18d8063 look up default shell in user passwd entry Mitchell Hashimoto 2022-11-01 14:02:10 -07:00
  • 4d13f2648a update zig Mitchell Hashimoto 2022-11-01 13:26:46 -07:00
  • f09ba38c6f remove stage1 hack Mitchell Hashimoto 2022-11-01 13:25:20 -07:00
  • 3d5ea05565 update zig Mitchell Hashimoto 2022-10-31 21:34:36 -07:00
  • 9e3bbc1598 macos: send logs to unified logging Mitchell Hashimoto 2022-10-31 15:15:32 -07:00
  • 7608d7921f pkg/macos: OS Log support Mitchell Hashimoto 2022-10-31 14:47:10 -07:00
  • e0933ed62e Update README.md Mitchell Hashimoto 2022-10-31 14:05:53 -07:00
  • 9d736985b3 Mac bundle, icons Mitchell Hashimoto 2022-10-31 14:04:41 -07:00
  • a9df393580 fix mouse scroll direction Mitchell Hashimoto 2022-10-31 12:09:34 -07:00
  • a14871e38a Metal Renderer Mitchell Hashimoto 2022-10-31 10:48:53 -07:00
  • 8dd68ea5fe metal: reallocate textures if they grow Mitchell Hashimoto 2022-10-31 10:42:27 -07:00
  • 9e628635c2 metal: hollow rect cursor works Mitchell Hashimoto 2022-10-31 10:33:31 -07:00
  • 20adaa7b66 metal: disable v-sync Mitchell Hashimoto 2022-10-31 10:25:49 -07:00
  • 1d1f161b03 metal: fix double wide cell width Mitchell Hashimoto 2022-10-31 08:54:23 -07:00
  • 901ff199c8 log the renderer on startup Mitchell Hashimoto 2022-10-30 22:20:17 -07:00
  • ddc0d60ea2 metal: set contentsScale and handle screen scale factor for retina Mitchell Hashimoto 2022-10-30 22:04:37 -07:00
  • c1b70cb788 metal: devmode Mitchell Hashimoto 2022-10-30 20:24:11 -07:00
  • 666833f12f metal: color textures Mitchell Hashimoto 2022-10-30 19:55:47 -07:00
  • ee45d363a9 metal: cursor and underline Mitchell Hashimoto 2022-10-30 19:47:15 -07:00
  • 4b5174d2c6 metal: blending Mitchell Hashimoto 2022-10-30 19:09:03 -07:00
  • 178418834c metal: glyphs show up (poorly) Mitchell Hashimoto 2022-10-30 12:34:00 -07:00
  • 0058906035 metal: handle HiDPI scaling Mitchell Hashimoto 2022-10-30 11:04:15 -07:00
  • fb49595904 metal: pass colors in Mitchell Hashimoto 2022-10-30 10:47:04 -07:00
  • a7c1f63ad8 metal: populate the greyscale texture, prep ubershader Mitchell Hashimoto 2022-10-30 10:32:13 -07:00
  • 89610f9b8d metal: setup vertex data Mitchell Hashimoto 2022-10-29 20:10:16 -07:00
  • 6b7ed3fefb metal: use content scale when resizing Mitchell Hashimoto 2022-10-29 19:16:41 -07:00
  • ea0265f021 projection matrix, render cell Mitchell Hashimoto 2022-10-29 14:49:01 -07:00
  • a17a7426a3 draw a square, handle resize Mitchell Hashimoto 2022-10-29 13:55:52 -07:00
  • 4d4c1790cb draw a triangle Mitchell Hashimoto 2022-10-29 13:21:04 -07:00
  • fc7e457098 add first pass metal shader Mitchell Hashimoto 2022-10-29 11:41:10 -07:00
  • 90a284e176 boilerplate for rendering Mitchell Hashimoto 2022-10-29 10:43:01 -07:00
  • 873afd042b don't test stage1 Mitchell Hashimoto 2022-10-28 15:52:25 -07:00
  • 090bab6798 metal: setup the render loop, draw the background color Mitchell Hashimoto 2022-10-28 15:46:05 -07:00
  • 07271a6cfd Initial metal abstraction (noop) Mitchell Hashimoto 2022-10-28 14:48:36 -07:00
  • 19f003d7d0 mac: load emoji font last so it is not preferred for text Mitchell Hashimoto 2022-10-31 09:44:19 -07:00
  • 7557b7b831 update zig Mitchell Hashimoto 2022-10-30 22:27:08 -07:00
  • 6203893d45 update README about release builds Mitchell Hashimoto 2022-10-30 22:22:39 -07:00
  • f89b5d12f6 fixed bugs Mitchell Hashimoto 2022-10-29 09:48:57 -07:00
  • 6d0b8a24d9 pkg/objc: shortcut for set/get property Mitchell Hashimoto 2022-10-28 14:38:50 -07:00
  • 1e5c17dffa Comment to show native access Mitchell Hashimoto 2022-10-28 10:02:32 -07:00
  • 71042b6f1b pkg/objc: more methods Mitchell Hashimoto 2022-10-28 09:36:56 -07:00
  • b4a83d98c4 window no longer makes any OpenGL calls Mitchell Hashimoto 2022-10-28 09:24:40 -07:00
  • 209cad609c update zig Mitchell Hashimoto 2022-10-27 17:06:45 -07:00
  • 7d3eb2579a Objective-C Runtime (Low-level ObjC interfacing) Mitchell Hashimoto 2022-10-25 21:32:56 -07:00
  • 59cb774cdd pkg/objc: properties Mitchell Hashimoto 2022-10-25 21:25:07 -07:00
  • aaaae38fa1 pkg/objc: more message send stuff Mitchell Hashimoto 2022-10-25 20:55:41 -07:00
  • f587b222e7 don't need fstage1 Mitchell Hashimoto 2022-10-25 20:55:34 -07:00
  • 7d48e564b5 pkg/objc: message send Mitchell Hashimoto 2022-10-25 20:30:42 -07:00
  • 10ee05b435 pkg/objc: selectors Mitchell Hashimoto 2022-10-25 16:33:45 -07:00
  • dd8fde52d9 pkg/objc starting Mitchell Hashimoto 2022-10-25 16:21:11 -07:00
  • e7ffb823af propertly deinit the GPA so we can detect leaks in debug Mitchell Hashimoto 2022-10-25 15:49:21 -07:00
  • d8cdd5d8fe Fix the primary leak with config Mitchell Hashimoto 2022-10-25 15:48:13 -07:00
  • 233ee2b3eb fixing more memory leaks Mitchell Hashimoto 2022-10-25 15:40:26 -07:00
  • bcf485342e fix a couple more memory leaks Mitchell Hashimoto 2022-10-24 16:17:18 -07:00
  • ef57e1e56a free memory in cells LRU Mitchell Hashimoto 2022-10-24 16:09:08 -07:00
  • 8dd9e7b325 Fix memory leak forgetting to clean up fontconfig Mitchell Hashimoto 2022-10-24 15:55:57 -07:00
  • 9ef431c632 use the c allocator when running under valgrind Mitchell Hashimoto 2022-10-24 15:34:30 -07:00
  • cf14ea506f update zig Mitchell Hashimoto 2022-10-24 14:35:42 -07:00
  • d346309cb3 pkg/libuv: generate cimport.zig for specific platforms Mitchell Hashimoto 2022-10-24 14:35:30 -07:00
  • 672e0d1d63 Multi-threaded Rendering Mitchell Hashimoto 2022-10-24 11:17:43 -07:00
  • c2ce158342 remove the max timer Mitchell Hashimoto 2022-10-24 10:54:38 -07:00
  • c0f96f591b remove render timer from window Mitchell Hashimoto 2022-10-24 10:50:42 -07:00
  • 536f5c4487 set proper opengl background Mitchell Hashimoto 2022-10-24 10:04:40 -07:00
  • b4859625bf bring back out of focus no blink Mitchell Hashimoto 2022-10-24 10:01:38 -07:00
  • dc908cb73d support screen size, rip out shared state Mitchell Hashimoto 2022-10-24 09:52:08 -07:00
  • 45ff936ddf no longer store grid size on the renderer Mitchell Hashimoto 2022-10-24 09:32:51 -07:00
  • ce384c2356 renderer: extract the size structs to a shared file Mitchell Hashimoto 2022-10-24 09:27:09 -07:00
  • aa3d132947 run rendering on another real thread (still bugs) Mitchell Hashimoto 2022-10-24 09:02:11 -07:00
  • 77b981950c pkg/libuv: Idle handles Mitchell Hashimoto 2022-10-23 21:15:58 -07:00
  • aeb592bae9 move to new renderstate, new render method Mitchell Hashimoto 2022-10-23 21:04:52 -07:00
  • b347ff458b prepare our render state on the window Mitchell Hashimoto 2022-10-23 20:55:04 -07:00
  • 9913bba2e8 introduce renderer thread logic (not starting it yet) Mitchell Hashimoto 2022-10-23 20:18:10 -07:00
  • 89a4c59f3c make opengl loader context-aware Mitchell Hashimoto 2022-10-23 19:39:02 -07:00
  • de9731da1f rename grid to a renderer, extract to subfolder Mitchell Hashimoto 2022-10-23 16:47:34 -07:00
  • c3d9ee1d85 pkg/libuv: get rid of sleep state, it did nothing Mitchell Hashimoto 2022-10-23 16:15:47 -07:00
  • 34e1c96dd7 workaround for https://github.com/ziglang/zig/issues/13277 Mitchell Hashimoto 2022-10-23 11:39:21 -07:00
  • bc3762e85b update zig to latest, fix todos Mitchell Hashimoto 2022-10-23 10:54:39 -07:00
  • 79f69885ca update to latest zig which renames @min/@max Mitchell Hashimoto 2022-10-19 10:42:31 -07:00
  • 366ea2ff4c cell under cursor always remains visible by inverting fg colors Mitchell Hashimoto 2022-10-18 15:28:31 -07:00
  • fa0028f104 coretext: rasterize glyph with a padding to prevent artifacting Mitchell Hashimoto 2022-10-18 14:57:44 -07:00
  • c00c8f52b5 coretext: render glyph on its own bounding box, calculate bearings Mitchell Hashimoto 2022-10-18 14:49:23 -07:00
  • 38e0c258d0 coretext: we do want to smooth and anti-alias glyphs Mitchell Hashimoto 2022-10-18 12:56:02 -07:00
  • 4669032e56 face: coretext zero the bitmap before render Mitchell Hashimoto 2022-10-18 12:52:37 -07:00
  • 58c107dceb freetype: resize glyphs that are too tall prior to storing in texture Mitchell Hashimoto 2022-10-17 19:04:39 -07:00
  • c103a278f1 render font info in dev mode Mitchell Hashimoto 2022-10-17 14:47:51 -07:00
  • 7cb3f2267f use our built-in font for dev mode Mitchell Hashimoto 2022-10-17 11:56:46 -07:00
  • 20f1077e86 enable freetype with imgui Mitchell Hashimoto 2022-10-17 11:41:46 -07:00
  • ab721b5b26 disable inputs when they're captured by dev mode Mitchell Hashimoto 2022-10-17 11:19:35 -07:00
  • 15a57983a6 pkg/freetype: remove unused API Mitchell Hashimoto 2022-10-16 21:03:17 -07:00
  • a39fe6baed Use scalable check rather than fixed size check for setting char size Mitchell Hashimoto 2022-10-16 20:55:06 -07:00
  • 2e1bc7bb01 Bring back freetype font bitmap conversion Mitchell Hashimoto 2022-10-16 20:47:21 -07:00
  • 9d37458ed8 update zig Mitchell Hashimoto 2022-10-16 19:47:43 -07:00