Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-11 | chore: forgot to move old generators | Nicholas | |
2021-11-11 | feat: added libfmt | Nicholas | |
2021-11-11 | chore: libunicode -> libutf | Nicholas | |
2021-11-08 | feat(rc): added back functionality of prompt, now unicode aware | Nicholas Noll | |
2021-11-04 | Feat: input readline now unicode aware | Nicholas Noll | |
Updated our assumptions of readline to handle valid unicode input. This required integrating with an explicit library to handle unicode knowledge. | |||
2021-10-29 | fix(unicode): emoji widths and readline now moves in a more unicode aware manner | Nicholas Noll | |
2021-10-29 | checkin | Nicholas Noll | |
2021-10-29 | implemented functionality to compute rune widths from unicode data | Nicholas Noll | |
2021-10-29 | chore: stop tracking auto-gen file | Nicholas Noll | |
2021-10-29 | Prototype of unicode readline support | Nicholas Noll | |
The readline functionality operated on the assumption that 1 byte = 1 character. This is obviously wrong if you input a non-ascii character. This commit temporarily removes a lot of functionality but parses input bytes in a unicode-aware manner. The outstanding problem now is 1 unicode rune != 1 column. There are double wide characters, as well as zero width runes, that further break our assumption that 1 rune = 1 character = 1 column. This is the next iteration. | |||
2021-10-29 | Exposed some unicode values to library users. | Nicholas Noll | |
I was hiding too many important constants. This commit moves them to the main exported header. | |||
2021-10-28 | Feat(libunicode): cleaned up decode/encode | Nicholas Noll | |
Additionally, decode can now apply backwards on a byte string. | |||
2021-10-26 | fix(unicode): renamed functions to be easier to understand their functions | Nicholas Noll | |
2021-10-26 | Feat(libunicode): Added an explicit unicode library | Nicholas Noll | |
Refactored code to pull out utf8 functions from base into a standalone library. Also left the required function inside arg.c so that code that calls ARG_BEGIN doesn't have to link to libunicode. | |||
2021-10-26 | fix(rc): prompt during command entry | Nicholas Noll | |
2021-10-26 | feat(rc): keywords now recognized. for and while loop | Nicholas Noll | |
Prototypes for loops sketched. This required recognizing keywords and returning from yylex. Debugging/testing will be required. | |||
2021-10-26 | chore: space | Nicholas Noll | |
2021-10-26 | chore(rename): libn -> base | Nicholas Noll | |
2021-10-26 | proto(rc): control structures | Nicholas Noll | |
2021-10-26 | feat(rc): added index operations | Nicholas Noll | |
2021-10-21 | feat(rc): added a few builtins | Nicholas Noll | |
2021-10-21 | feat(rc): added andand and oror operators | Nicholas Noll | |
2021-10-21 | Fix: attempted to access stale memory upon exec failure. | Nicholas Noll | |
Now correctly prints out argv[1] | |||
2021-10-21 | feat(rc): string join operator | Nicholas Noll | |
2021-10-21 | feat(rc): string concatenation works | Nicholas Noll | |
2021-10-21 | feat(rc): expanded tree printing | Nicholas Noll | |
2021-10-21 | feat(rc): vi mode fleshed out | Nicholas Noll | |
2021-10-20 | Feat: now execs instead of exec + fork if going to exit. | Nicholas Noll | |
One quick solution to the lack of tracking deep into the command line is to note that the pattern of code emitted for an async is: Xasync |__ child (command) |__ parent (continues) The child creates a process group, as described before. If the child is a simple command, we will now "exec" as it will exit immediately after the command. This gives us the correct behavior, at least for simple cases. This also fixed pipes. However, if child has to be forked, i.e. can't be immediately execed, then I don't think this process works... | |||
2021-10-20 | Refactored interactivity to track with thread. | Nicholas Noll | |
Hit a bit of a stopping point. Specifically, the way XAsync runs currently is by forking the execution context and having the child run the async code while the parent runs the remainder. The problem with this architecture is it doesn't interact well with job control. When we fork, we create a new process group. Thus the Xasync fork becomes the new leader. In short, our traversal of the parse tree as to be less "preorder" and more "in order", i.e. from the leaves up. The "left" command of the pipeline should be the "leader" of the process group. | |||
2021-10-19 | Feat(rc): added subshell commands and cd builtin | Nicholas Noll | |
Slowly chipping away at a decent feature list. Subshell commands are executed by @{ ... }. | |||
2021-10-19 | feat(rc): prototype of async jobs | Nicholas Noll | |
2021-10-19 | Feat: word operators and more robust crashing | Nicholas Noll | |
Added the length and concatenate operators. Slightly improved the robustness on syntax errors. | |||
2021-10-19 | feat(rc): cleaner process watching for each job | Nicholas Noll | |
2021-10-18 | feat(rc): job control prototype working for basic commands | Nicholas Noll | |
2021-10-15 | feat(rc): working prototype of input->compile->print loop | Nicholas Noll | |
2021-10-13 | RM(rc): old code. too many assumptions baked in | Nicholas Noll | |
2021-10-13 | Feat(rc): working(ish) version of rc shell | Nicholas Noll | |
Removed compile commands | |||
2021-10-13 | feat(rc): added unix port of rc with linenoise | Nicholas Noll | |
2021-10-13 | fix(email): bytes error. updated vendoring | Nicholas Noll | |
2021-10-09 | chore(font): comment out makefile | Nicholas Noll | |
2021-10-09 | fix(term): forgot harfbuzz file | Nicholas Noll | |
2021-10-09 | feat(rc): added shell | Nicholas Noll | |
2021-10-08 | fix(tmux): regex to correctly deal with suspended nvim | Nicholas Noll | |
2021-10-08 | fix(theme): consistent theme | Nicholas Noll | |
2021-10-05 | feat(term): added ligature support. some combining character help | Nicholas Noll | |
2021-10-05 | feat(dwm): spatial movement and attach bottom | Nicholas Noll | |
2021-10-04 | feat(wm): layer shell | Nicholas Noll | |
2021-10-04 | feat(wm): mouse input | Nicholas Noll | |
2021-10-04 | feat(wm): keyboard focus corrected | Nicholas Noll | |
2021-10-04 | feat(wm): tiling prototype working | Nicholas Noll | |