Commit graph

55 commits

Author SHA1 Message Date
c709ec0dc8
fix: remove extra slash in keybind config path 2024-12-11 21:27:19 +01:00
3b4687761e
fix: search path for flow when restarting
If argv[0] is not an absolute or relative path.
2024-12-06 21:06:04 +01:00
264c6ca54b
feat: dynamically determine available keybind namespaces 2024-12-01 23:24:13 +01:00
0cb0f59de8
Merge branch 'master' into keybind 2024-11-25 16:34:30 +01:00
ba82922ce9
feat: add env override FLOW_KEYS_DIR 2024-11-20 22:12:53 +01:00
47dd41bdf6
feat: add --literal cli option to disable file name parsing for line numbers 2024-11-20 21:33:18 +01:00
dc914ba562
feat: load and edit key bindings in config directory 2024-11-19 18:11:22 +01:00
45bba616df
feat: add cli option to enable syntax timing reports 2024-10-29 20:44:51 +01:00
9db287bcc3
docs: add missing colon 2024-10-14 19:47:41 +02:00
cb11ccfeb4
docs: remove trailing periods from --help strings to match flags library 2024-10-14 19:46:21 +02:00
832aff1d6f
refactor: run zig fmt 2024-10-14 19:44:58 +02:00
f2ae12a298
docs: tweak application title in --help output 2024-10-14 19:44:01 +02:00
Joe Mckay
0c239ec92d
refactor: cleanup 2024-10-14 19:34:37 +02:00
Joe Mckay
9e35eb8ff1
feat: Add flag formats 2024-10-14 19:34:32 +02:00
Joe Mckay
47f29e70f4
feat: Replace 'zig-clap' with 'flags' 2024-10-14 19:34:28 +02:00
b1362814db
fix: catch more errors in file browser 2024-10-14 19:27:38 +02:00
870ee1df1f
feat: log config file errors 2024-10-14 17:58:14 +02:00
75b1c85723
fix: print a message to stderr if setlocale fails 2024-09-03 17:34:12 +02:00
595919c764
feat: colorize --list-languages output 2024-09-02 21:43:39 +02:00
Yhya Ibrahim
7fad128304 fix: pass allocator to list_languages.list 2024-09-02 20:33:46 +03:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
409f636902
refactor: move application title and subtext to root module 2024-08-23 22:20:43 +02:00
08e06bc8dd
refactor: clean-up flow logo rendering 2024-08-21 21:55:35 +02:00
5fdcdba4b8 refactor: move abbreviate_home to root module 2024-08-17 23:27:36 +02:00
1f6bc86265 feat: add cli option to disable syntax highlighting 2024-08-16 22:00:25 +02:00
3cbca45b82 feat: improve layout of filelist view 2024-08-11 21:03:37 +02:00
b09aa98f70 feat: support loading extreamly large files
- Allocate initial file and leaf data outside of Buffer.arena
- Disable gutter diffs for very large files
- Disable syntax highlighting for very large files
2024-08-05 22:05:38 +02:00
9139e3f9ad feat: add --exec command line option
This allows you to execute mini scripts on flow startup.

For example to change flow's whitespace setting:

`flow --exec toggle_whitespace --exec quit'

Or open and move to the end of a file:

`flow src/main.zig --exec move_buffer_end`
2024-07-30 22:16:52 +02:00
7ccc0e15f6 feat: Add --list-languages command line parameter 2024-07-30 21:55:50 +02:00
a3a298f721 feat: enable zig stack traces on errors with --debug-dump-on-error 2024-07-04 23:16:50 +02:00
d965a70b21 feat: add detailed version info cli option 2024-07-02 18:38:33 +02:00
16ec05c75b feat: add force_terminate command 2024-07-02 12:21:40 +02:00
563772659f fix: is_directory should return false for non-existent (new) files 2024-07-02 09:54:35 +02:00
cb3be2845c fix(windows): support --debug-wait on windows 2024-07-01 19:45:16 +02:00
21b604f4d6 fix(windows): reduce idle cpu usage to zero on windows
Now we use a keepalive timer instead of forcing no-sleep to keep the work
queue from running empty and causing flow to exit early.
2024-06-26 22:24:36 +02:00
1533ec2993 feat: allow opening project directories on the command line 2024-06-23 21:37:37 +02:00
692e04b6a8 refactor: re-work how projects are opened
Prep for opening directories on the command line.
2024-06-23 21:37:37 +02:00
e1a94bf8f2 fix: move flow state files from ~/.cache/flow to ~/.local/state/flow
This better matches the XDG Base Directory Specification.

Please move existing state files from ~/.cache/flow to ~/.local/state/flow
manually if you want to keep them.
2024-06-23 15:49:40 +02:00
3dc56ea6db fix(log): allow std.log calls outside of actor contexts 2024-06-13 16:56:49 +02:00
b4a37c9eb3 fix(windows): place config and cache dirs in %APPDATA%/Roaming on Windows 2024-06-08 20:10:17 +02:00
805003cc77 fix: fallback to treating cli args with colons as plain filenames
This allows us to open files that contain colons if they do not otherwise
look like file:row:col. This also fixes opening absolute file paths on Windows.
2024-06-08 20:10:17 +02:00
4d8d538c9a fix(windows): force no-sleep mode on windows
This is possibly just a workaround. Sleeping on windows causes the task queue
to run empty even though we have pending async reads. This is possibly an
issue with asio on windows that may be difficult to fix properly. For now
we just disable sleeping altogether and leave the frame metronome running
which will keep flow alive.
2024-06-08 20:10:17 +02:00
961e5afe41 feat: initial windows support 2024-06-07 22:12:28 +02:00
dc21e7f6ac feat(vaxis): reset terminal state on panic with a custom panic handler 2024-05-22 21:19:48 +02:00
d9087f9884 fix: create ~/.cache and ~/.config if they do not exist 2024-05-17 15:19:57 +02:00
76d1e7e34d feat: redirect std.log to log service 2024-05-10 23:47:26 +02:00
137947355d feat: move session restore file to cache directory 2024-04-11 18:33:49 +02:00
78c738a644 feat: add cli option to write traces to file 2024-04-08 22:25:30 +02:00
1406052c06 feat: lots more work on LSP support (still WIP) 2024-04-02 23:07:27 +02:00
5dd30679dc docs: make help output a little prettier 2024-03-25 20:46:58 +01:00