Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-05 | Chore: simplified allocator interfaces. | Nicholas Noll | |
I was never happy with the allocator/reallocator split. It was originally designed to accomodate things like arenas that don't free. But the majority of the time you don't care about this. | |||
2021-12-05 | Chore: more explicit namespace for memory buffer | Nicholas Noll | |
2021-12-05 | Feat: basic string and memory functions | Nicholas Noll | |
Continue filling out the basic standard lib functions. Included prototypes of the str* and mem* families. Plan to add e(str|mem) and n(str|mem) variants as well. | |||
2021-12-05 | Feat: libbase partitioning. Cleaned up hash map macros. | Nicholas Noll | |
Additionally, fixed varargs cleanup when done with fmt.write. Some system constants were added to allow for directory walking. | |||
2021-12-04 | chore(rm): removed small os package. moved functions to filesystem | Nicholas Noll | |
2021-12-04 | Chore(REMOVE): finished deprecation of old io functions. | Nicholas Noll | |
The old methods were simple wrappers of C standard library functions. We've moved (painfully) over to a new interface that allows for files to live on the stack. All users of the functionality are ported over. | |||
2021-12-02 | many small updates | Nicholas Noll | |
2021-11-20 | Feat: added buffered io from plan9 | Nicholas | |
As we no longer have the FILE type, we need to buffer our reading and writing so that we don't have to make so many syscalls. The API is nice so that we can buffer other readers. We will update it so that it eats io·Readers/io·Writers. | |||
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 | |