summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2023-03-25upas/runq: wait for bounce sender to exit (thanks grizi)Ori Bernstein
when we send a return message, we need to wait for the message to exit before we clean up the state files.
2023-03-22ape: add stdnoreturn.hJacob Moody
2023-03-21cpp: #pragma once supportJacob Moody
2023-03-21v8e: clean unused argument and tidy usage (thanks mkf)Jacob Moody
2023-03-20cc: fndecls: always ignore non-function typesSigrid Solveig Haflínudóttir
2023-03-17nusb(4): document a88179 support (thanks llamaa)Jacob Moody
2023-03-17cc: fndecls: use current fn node directlySigrid Solveig Haflínudóttir
2023-03-17cc: fix suicide with undefined function argumentsJacob Moody
_Noreturn change introduced a check on the type for OFUNC. This will be nil in the event that a symbol given as a function argument is undefined.
2023-03-17cc: add __func__ supportSigrid Solveig Haflínudóttir
2023-03-17cc: NORET -> _NoreturnJacob Moody
The committee has spoken
2023-03-16auth/none, mothra, news, libttf: unused variable removalJacob Moody
2023-03-16cc: add NORETJacob Moody
2023-03-13man1: various spelling fixesJacob Moody
2023-03-12imap4d: add entry to detect file locked errors on hjfsAlex Musolino
Hjfs reports "file locked" whilst cwfs reports "file is locked". This whole approach is a bit crappy, but this change will get us (me) by for now.
2023-03-10kbmap: fix multi column display for smaller windows (thanks mkf)Jacob Moody
2023-03-10factotum(4): fix typos (thanks sirjofri)Alex Musolino
2023-03-09print, strtod: fix -0 and -NaN, respect verb flags when formattingSigrid Solveig Haflínudóttir
2023-03-08mt7688 kerneladventuresin9
2023-03-08sys/src/libc/spim/mkfile: use port/lock.c and spim/tas.sadventuresin9
2023-03-08sys/src/libc/mips/tas.s: _tas() for spimadventuresin9
2023-03-07sys/src/9/port/sysproc.c: add spim magicadventuresin9
2023-03-06/sys/src/libc/mips/tas.s: remove _tas() problem elsewhereadventuresin9
2023-03-06/sys/src/libc/mips/tas.s: add _tas()adventuresin9
2023-03-05ip(3): corrections to Udphdr field descriptionsrodri
2023-03-05Mail: don't start plumb procs in their own note groupsAlex Musolino
Doing so means these procs hang around after acme exits.
2023-03-05/sys/src/games/^(aout2gba gba/rom): basic gba toolkitJacob Moody
2023-03-05import tc and tl from 9fernoJacob Moody
2023-03-04diff: add missing fileOri Bernstein
2023-03-04diff, merge3: refactor diff, implement merge3Ori Bernstein
Refactor diff internals to allow multiple diffs to be done in the same process. This allows a merge3 to be implemented off the guts of diff. Tests are added, files with no end of line terminator are currently broken.
2021-11-27a.out(6): document dynamically loadable modulesHumm
The loaders can generate export tables in executables and build dynamically loadable modules and there is a library to load those floating around. This documents the format of dynamically loadable modules.
2023-03-01test(1): add a missing space after -TSigrid Solveig Haflínudóttir
2023-02-28games/dmid: fix running status for streamsqwx
regression from previous commits; better handling
2023-02-25geometry(2): corrections and improvementsrodri
The dot and inner products are not the same, and neither are cross and outer ones. Trimmed function signatures—similar to those in draw(2)—were added to aid in comprehension.
2023-02-24games/gb: crude serial port emulationJacob Moody
Timing is not as good as it needs to be, but servicable in more forgiving scenarios. Clock drift between two paired systems sits around 8 - 32 cycles when tested locally.
2023-02-22etherbcm: support for newer BCM5717 series cards.james palmer
talk to the right phy for cards with many ports. fix pci ids.
2023-02-22libc: fix strchr() for little endian mips (thanks adventuresin9)cinap_lenrek
adventuresin9 wrote: I finally found the time to get the kernel working for the Mediatek mt7688. Just the uart works now, so I still need to do the ethernet and hopefully wifi and other stuff. But it boots all the way to the bootargs ask, and then running !rc lets you run rc in paqfs. https://github.com/adventuresin9/9front-mt7688 I had a heck of a time getting it to work at first, till I tracked down an issue in strlen, that comes from the strchr code. Lots of stuff broke, and this bug also meant error messages wouldn't print properly. running this on the mt7688; int n1, n2, n3, n4, n5, n6; char *a1, *a2, *a3, *a4, *a5, *a6; a1 = "\0"; a2 = "A"; a3 = "AA"; a4 = "AAA"; a5 = "AAAA"; a6 = "AAAAA"; n1 = strlen(a1); n2 = strlen(a2); n3 = strlen(a3); n4 = strlen(a4); n5 = strlen(a5); n6 = strlen(a6); iprint("STRLEN %d %d %d %d %d %d\n", n1, n2, n3, n4, n5, n6); would get ; STRLEN 0 1 1 2 1 6 and now it gets; STRLEN 0 1 2 3 4 5
2023-02-20cmd/mkfile: don't recurse into test/ when loopingOri Bernstein
the test mkfile doesn't support targets like install
2023-02-20cmd/mkfile: make tests depend on cmd buildOri Bernstein
2023-02-19mkfiles: add 'mk test' supportOri Bernstein
9front has several tests scattered throughout the source, as well as more tests in an external 'regress' repository. Many of these tests are broken, because there is no easy way to build and track all of them. This pulls in several tests from different sources, deletes the broken tests, tests with missing data, and adds a single command that can be run from the root of the src directory to test our system. The hope is that as we develop new code, we add more tests, and eventually start running the tests on every commit. Please enter the commit message for your changes. Lines starting
2023-02-18git: fix nil dereference in corrupt repositoriesOri Bernstein
2023-02-17devproc: Fix a double-free reading note file (thanks Josiah Frentsos)cinap_lenrek
Oversight, was using free() instead of freenote(), which handles the refcounting for gorup notes.
2023-02-11libtags: work around encoders producing Ogg containers with first granule ↵Sigrid Solveig Haflínudóttir
position set to non-zero outside of the first page
2023-02-11games/gb: implement internal window line counterJacob Moody
The y offset used for windows is not based on LY but another internal window counter that is incremented alongside LY but only when the window is on screen. This fixes an issue with the dmg-acid2 and cgb-acid2 test roms. https://github.com/mattcurrie/dmg-acid2 https://gbdev.io/pandocs/Tile_Maps.html#window
2023-02-10reform: put default "console=0" in #eccinap_lenrek
The default configuration for "console=0" should go into CONFADDR when using /dev/reboot.
2023-02-10audio/vocdec: handle non type 1 blocks betterJacob Moody
* skip over unrecognized blocks * correct improper read for reserved field in block 9 * read block type 2 correctly
2023-02-09audio/vocdec: Creative Voice File decoderJacob Moody
slight correction in file.c from previous commit
2023-02-09file: identify Creative Voice FileJacob Moody
2023-02-06rio: refactor the keyboardtap code a bitcinap_lenrek
run the keyboardtap as a thread instead of a proc so that we can read input window variable. This gets rid of the wintap channel. do focus handling by tracking the last window and only send context switch when we start typing into a different window. have fromtap, totap channels created by open and use the variable also as the in-use flag. handle use nbsendp() when sending to the tap program, as it might be blocked or misbehaving. if the totap channel is full, we bypass the tap and send to input again. handle keyup on focus loss in the window thread instead (just like the artificial mouseup) it is unrelated to keyboardtap.
2023-02-067c: eliminate MOVWU r, r instructions when possiblecinap_lenrek
2023-02-06libmemdraw: don't return Buffer copy from calc functionscinap_lenrek
The calc functions get their buffers passed by value. This is convenient as the code usually modifies the buffers during iteration. However, making ANOTHER copy (odst) and returning it at the end is a bit silly. We already made a copy when passing the arguments, and the caller of the calc function can just reuse the copy it already has. So changing the return type from Buffer to void.