Commit Graph

  • c602820dc9 Set proper keybinds Mitchell Hashimoto 2022-11-06 17:27:17 -08:00
  • fd304c9338 Deinit devmode more cleanly Mitchell Hashimoto 2022-11-06 17:26:01 -08:00
  • 135b859b8f raise max file descriptors on launch Mitchell Hashimoto 2022-11-06 16:38:33 -08:00
  • e0db46ac97 clean up some resources better on error Mitchell Hashimoto 2022-11-06 16:23:36 -08:00
  • 05cd77e7cf DevMode only renders on first window Mitchell Hashimoto 2022-11-06 16:06:34 -08:00
  • afd4800da4 pkg/imgui: support context current Mitchell Hashimoto 2022-11-06 16:03:03 -08:00
  • 705772ed28 termio: clean up error handling for kill Mitchell Hashimoto 2022-11-06 15:26:18 -08:00
  • c9b01fdc6c support app quitting to close all windows Mitchell Hashimoto 2022-11-06 14:10:28 -08:00
  • ac6f960b92 termio: on deinit, send SIGHUP to child process to exit it Mitchell Hashimoto 2022-11-06 14:08:42 -08:00
  • be76bc6c1a close window action Mitchell Hashimoto 2022-11-06 10:44:23 -08:00
  • 410b2b4486 Do not block on app mailbox Mitchell Hashimoto 2022-11-06 10:41:57 -08:00
  • ecbd119654 Hook up new window, modify renderers Mitchell Hashimoto 2022-11-06 10:34:43 -08:00
  • a2edbb4698 App prepare for multi-window Mitchell Hashimoto 2022-11-06 10:05:08 -08:00
  • 91d165f4f9 delete unused comment Mitchell Hashimoto 2022-11-06 09:41:59 -08:00
  • 0104032679 Move pty IO to dedicated thread Mitchell Hashimoto 2022-11-05 19:44:13 -07:00
  • 8f1fcc64e8 rename termio thread message struct Mitchell Hashimoto 2022-11-05 19:34:41 -07:00
  • cd705359e8 Window thread is now single event loop! Mitchell Hashimoto 2022-11-05 19:30:15 -07:00
  • 746858cea6 implement cursor reset when data comes in pty Mitchell Hashimoto 2022-11-05 19:26:42 -07:00
  • aa98e3ca3a Move cursor timer to renderer Mitchell Hashimoto 2022-11-05 19:18:22 -07:00
  • e2d8ffc3c1 renderer mailbox, focus message Mitchell Hashimoto 2022-11-05 18:51:39 -07:00
  • 9a44e45785 bug: assume focused on launch Mitchell Hashimoto 2022-11-05 17:45:21 -07:00
  • 95d054b185 allocate data for paste data if its too large Mitchell Hashimoto 2022-11-05 17:37:21 -07:00
  • 8652b2170e fix deadlock with mouse reports Mitchell Hashimoto 2022-11-05 17:12:37 -07:00
  • 90061016df field rename Mitchell Hashimoto 2022-11-05 17:05:24 -07:00
  • a05b08fdc7 move bracketed paste to terminal state Mitchell Hashimoto 2022-11-05 17:04:24 -07:00
  • 57b4c73bb2 remove unused fields on Window Mitchell Hashimoto 2022-11-05 17:00:45 -07:00
  • f2d9475d5d Switch over to the IO thread. A messy commit! Mitchell Hashimoto 2022-11-05 09:39:56 -07:00
  • 5cb6ebe34d Actually, we'll manage selection and viewports on the windowing thread Mitchell Hashimoto 2022-11-04 22:32:06 -07:00
  • 989046a06c More IO events Mitchell Hashimoto 2022-11-04 22:13:37 -07:00
  • 1a7b9f7465 termio: clear selection Mitchell Hashimoto 2022-11-04 20:47:01 -07:00
  • f1d2df1a54 fully hook up resize Mitchell Hashimoto 2022-11-04 20:33:44 -07:00
  • b100406a6e termio: start the thread mailbox, hook up resize Mitchell Hashimoto 2022-11-04 20:27:48 -07:00
  • a8e7c52041 IO thread can trigger render and write data Mitchell Hashimoto 2022-11-03 15:49:04 -07:00
  • d916d56bff IO thread stream handler is in, lots of commented TODOs Mitchell Hashimoto 2022-11-03 15:32:29 -07:00
  • 9b3d22e55e IO thread has more state setup Mitchell Hashimoto 2022-11-03 15:07:51 -07:00
  • 35c1decd58 Start pulling out IO thread and IO implementation Mitchell Hashimoto 2022-11-03 13:30:30 -07:00
  • 8dd67662b3 Blocking queue implementation for thread message passing Mitchell Hashimoto 2022-11-03 10:51:55 -07:00
  • 72ac3b4685 re-enable hot path optimization Mitchell Hashimoto 2022-11-03 15:37:24 -07:00
  • d75e869b4e Load $XDG_CONFIG_HOME/ghostty/config if it exists (#25) Mitchell Hashimoto 2022-11-02 16:12:50 -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