summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-23[9front] cc: fix comparison warning with constant LHSMichael Forney
This prevents an incorrect warning for a comparison such as `0 < x`, where x is an unsigned type. Previously, this would get normalized as `x >= 0` rather than `x > 0` when checking the comparison.
2021-01-23[9front] cc: remove unnecessary 128-bit add functionMichael Forney
Instead, just change the comparisons from <=/>= to </>.
2021-01-23upas/fs: fix swapped argument, dead codeOri Bernstein
With ntlm auth, we were trying to set 0 bytes of the auth struct to its size. The args were clearly swapped. Fix it. While we're here, remove some dead code.
2021-01-23upas/runq: fix typoOri Bernstein
one slipped in to the last commit.
2021-01-23upas/runq: bring back -aOri Bernstein
Turns out -a is useful in crontab, so bring back a simplified version of it. This only iterates through directories one at a time.
2021-01-24ape: update mkfile for removed fmod.cqwx
2021-01-23vnc: I don't like your face.Ori Bernstein
Cosmetic improvements to vnc auth code. Should not have user-visible changes.
2021-01-23upas/runq: support parallel queue processing, drop -aOri Bernstein
When running a mail queue, it's useful to run it with limited parallelism. This helps mailing lists process messages in a reasonable time. At the same time, we can remove the load balancing from runq, since the kinds of systems that this matters on no longer exist, and running multiple queues at once can be better done through xargs.
2021-01-23vt(1): document optional command argument (thanks sl)cinap_lenrek
2021-01-23ape: apply infinite recursion in fmod() fix (thanks jxy and ality)cinap_lenrek
Apply changeset 2880:cab2b9d13a73 to ape's fmod() implementation. Remove the unused math/fmod.c copy.
2021-01-23syscall: don't rely on . being in $path (thanks Silas)cinap_lenrek
2021-01-22nusb/kb: correct Mod4 scancode (125 → 91, to match what kbdfs has)Sigrid
2021-01-22aux/acpi: do not expose empty filesSigrid
2021-01-22stats: don't query battery and temp as often when using acpiSigrid
Querying battery (or temperature) using ACPI takes quite some resources, which makes the battery discharge faster. It doesn't make much sense to have it queried as often either. So, when using ACPI: 1) set battery query period to 10s minimum 2) set temperature query period to 5s minimum
2021-01-19ape/libap: fix _startbuf, check rfork return (thanks pixelherodev)Ori Bernstein
When _startbuf is invoked, it would crash on the second invocation if creating a mux segment failed. This is because the first attempt would assign the return value -1 to the global mux variable, and the second attempt would notice that the global mux was not nil, and would attempt to use it. This change only assigns to the global variable if the allocation of the segment was a success. While we're here, we should also check the return of the rfork call.
2021-01-19webcookies: remove straggling custom date parserOri Bernstein
One place missed in the tmdate purge.
2021-01-19upas/ml: touch the artworkOri Bernstein
Global variables deserve more greppable names, since I'm likely to know where they're used.
2021-01-19dd(1): update manpage to match programOri Bernstein
Document the dd changes
2021-01-19dd: error with invalid size suffixes, add 'm'Ori Bernstein
When invoking with dd with an invalid size suffix, we silently accept the suffix. This can lead to confusion, because lines like: dd -bs 1K dd -bs 1m will silently copy in 1-byte increments. This has caught people by surprise. While we're at it, megabytes are convenient, so let's have them too.
2021-01-19mothra: linkify text starting with gemini:// and ftp://Sigrid
2021-01-19mothra: resolve urls on middle click. helps with snarfing of relative urlsSigrid
2021-01-18acme(1): add references to appropriate manpagesOri Bernstein
2021-01-17passwd: make legacy mode explicitOri Bernstein
Passwd used to produce a very confusing error about DES not being enabled whenever the password was mistyped. This happened because we attempted to guess what authentication method to use, and preseneted the error from the wrong one on failure. This puts the legacy mode behind a flag, so that we don't even try the old method unless it's explicitly requested.
2021-01-18audiohda: Add AMD Starship/Matisse HD Audio Controller (thanks uramekus)cinap_lenrek
2021-01-17plan9.ini(8): document *nohpet= optioncinap_lenrek
2021-01-17mergecinap_lenrek
2021-01-17pc, pc64: add minimal HPET driver to measure LAPIC and TSC frequenciescinap_lenrek
This adds the new function pointer PCArch.clockinit(), which is a timer dependent initialization routine. It also takes over the job of guesscpuhz(). This way, the architecture ident code can switch between different timers (i8253, HPET and XEN timer).
2021-01-17seconds: remove junk from usageOri Bernstein
2021-01-17dpost prologue: update /radicalex to fix square displacement (thanks ↵Sigrid
umbraticus and Ethan)
2021-01-17usbehci: use 64-bit base address, remove resetlck, simplify scanpci()cinap_lenrek
2021-01-17usbuhci: remove resetlk, simplify scanpci()cinap_lenrek
2021-01-17usbohci: use 64-bit io base address, disable interrupts before reset, remove ↵cinap_lenrek
resetlck
2021-01-16zerotrunc(8): add manpageOri Bernstein
2021-01-16troff2png(1): add manpageOri Bernstein
2021-01-16tmdate(2): correct example in manpageOri Bernstein
add missing tmdate() call around %τ format.
2021-01-16tweak: support showdata plumb action (thanks sirjofri)Sigrid
2021-01-159fs: bell labs is very deadSigrid
2021-01-12cal: use Sa/Su in all cases, also simplify the codeSigrid
2021-01-12cal: fix -s 7Sigrid
2021-01-12cal: add -s option to specify the starting day of the weekSigrid
2021-01-12audio/flacenc: missed an argument in fprintf()Sigrid
2021-01-12plumb/basic: handle tga, wav, au, mid and musSigrid
2021-01-12audio(1): it is 2021 nowSigrid
2021-01-11libFLAC/mkfile: update version and build with -DNDEBUGSigrid
2021-01-11libvorbis: fix free() called on a wrong pointerSigrid
2021-01-11audio/flacencSigrid
2021-01-10mergecinap_lenrek
2021-01-10pc, pc64: revert addition of pcireset() call to pcicfginit()cinap_lenrek
Revert the change, as it causes system lockups on bootup on some systems with USB OHCI controllers, suspected to be caused by BIOS/SMM accessing the device as BIOS handover has not been executed yet. We might bring that back when the problem has is better understood.
2021-01-09libdraw: add bezierptsOri Bernstein
This patch exposes the bezierpts function, providing a way to get the points on a path, similar how bezsplinepts gives them for b splines.
2021-01-069pfid(2): document struct Qid (thanks sirjofri)Ori Bernstein
The Qid struct is pervasive when writing 9p servers, but is not described in the manpages. This adds a definition to the 9pfid manpage.