Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-20 | Chore: cleaned up the exit code to cleanly interface with libc | Nicholas | |
We use weak linking to ensure we clean up at exit time correctly. If libc is linked, then we call our cleanup function by registering an atexit callback with the library. If libc is not linked, we have a weak symbol that results in a noop. Similarly, if we call rt·exit while linked with libc, this immediately calls libc's exit (which will call our cleanup as we registered it). If we are not linked to libc, exit() is given as a weak link to a noop function. | |||
2021-11-20 | chore: simplify makefiles | Nicholas | |
2021-11-20 | Chore: reorganize libutf and libfmt into base | Nicholas | |
I found the split to be arbitrary. Better to include the functionality in the standard library. I also split the headers to allow for more granular inclusion (but the library is still monolithic). The only ugliness is the circular dependency introduced with libutf's generated functions. We put explicit prereqs with the necessary object files instead. | |||
2021-11-20 | Feature: self hosting prototype implemented | Nicholas Noll | |
This is a large change. In order to remove myself from libc's arcane interface, I implemented an independent runtime layer. It is based on musl's wonderful implementation mostly. Critically, if libc is linked to the program, then we cooperate. Namely, we call start main and let libc do all initialization. If not, then we have a noop defined in rt3.a. The general structure of the file is: 1. sys/$os/$arch contains all architecture dependent code 2. sys/$os/port contains all code that depends on the os, but is portable 3. rt/$arch contains all the runtime architecture dependent code 4. rt/* contains the portable runtime code. Obviously testing is needed. Specifically, while code is checked in for the most popular architectures, it only has been tested on one computer! Overall this is exciting and as been educational. | |||
2021-11-18 | feat: continued filling out system layer | Nicholas Noll | |
2021-11-18 | feat: filling out system layer's interface | Nicholas Noll | |
2021-11-18 | filling out system layer | Nicholas Noll | |
2021-11-17 | automated platform specific code parsing | Nicholas Noll | |
2021-11-17 | update: sys | Nicholas | |
2021-11-17 | fix: mkfile names | Nicholas | |
2021-11-17 | checkin | Nicholas | |
2021-11-15 | Fix: Qsort had bad macro capture | Nicholas | |
2021-11-12 | chore: error->int | Nicholas | |
2021-11-11 | chore: split up base library into individual files for smaller binaries | Nicholas Noll | |
2021-11-11 | feat: libfmt prototype added from plan9 | Nicholas Noll | |
2021-11-11 | feat: added libfmt | Nicholas | |
2021-11-11 | chore: libunicode -> libutf | Nicholas | |
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 | checkin | Nicholas Noll | |
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 | chore(rename): libn -> base | Nicholas Noll | |
2021-10-08 | fix(theme): consistent theme | Nicholas Noll | |
2021-09-28 | Checkin: various small changes | Nicholas Noll | |
2021-09-23 | feat: improved interface of map macro | Nicholas Noll | |
2021-09-08 | checkin | Nicholas Noll | |
2021-04-26 | fix(bio): buffer copying error | Nicholas Noll | |
2021-04-22 | chore(refactor): libraries to define explicit interfaces | Nicholas Noll | |
2021-04-22 | chore(refactor): explicit definition of useful interfaces | Nicholas Noll | |
2021-04-22 | chore: rm unfinished projects | Nicholas Noll | |
2021-02-17 | chore: update to configs before playing with ligature support in terminal | Nicholas Noll | |
2020-06-20 | feat: file globbing in shell. added dynamic.mk | Nicholas Noll | |
2020-06-18 | feat: working parser for rc shell language | Nicholas Noll | |
2020-06-10 | checkin: massive restructuring of dvtm | Nicholas Noll | |
2020-06-08 | checkin: looking at curses API surface area | Nicholas Noll | |
2020-06-06 | done tinkering with st | Nicholas Noll | |
2020-06-06 | small changes to exposure of allocation functions | Nicholas Noll | |
2020-06-03 | changed from short to int in vertex | Nicholas Noll | |
2020-06-03 | checkin: before attempting hinting engine | Nicholas Noll | |
2020-06-02 | fix: remaining raw free calls | Nicholas Noll | |
2020-06-02 | fix: added include file and fixed calls to free instead of interface | Nicholas Noll | |
2020-06-02 | prototype of dway. needs testing | Nicholas Noll | |
2020-06-02 | feat: started port of st to wayland | Nicholas Noll | |
2020-05-31 | minor changes | Nicholas Noll | |
2020-05-29 | blas code update | Nicholas Noll | |
2020-05-25 | deprecated old python generation files | Nicholas Noll | |
2020-05-24 | feat: added set data structure to libn macro | Nicholas Noll | |
2020-05-20 | fix: made rune constants unsigned for implicit casting | Nicholas Noll | |