summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-02fortunes: SATANSigrid
2021-02-02winwatch: always reflow when possible (thanks telephil9)Sigrid
2021-02-01Mail: only clear upas-maintained flags on change (thanks deuteron)Ori Bernstein
When message flags change, Mail would clear all the flags and recompute them. This would clobber internal flags like Ftodel. So, don't do that.
2021-01-31mothra: don't insert newline after div (thanks phil9)Ori Bernstein
2021-01-30ape/libm: implement log2 in libcOri Bernstein
2021-01-29Mail: fix inverted reply-all conditionOri Bernstein
2021-01-29Mail: rewrite.Ori Bernstein
Acme mail made it hard to do threading, so I wrote a new one.
2021-01-28screenlock: use initdisplay(2), top the window (thanks stuart morrow)Ori Bernstein
Screenlock should use libdraw(2) to init the display and create the window, instead of looking at the screen file directly. Also, to prevent new windows from popping up over screenlock, bring it to the top periodically.
2021-01-26news: make -a and -n get along (thanks lyndon)Ori Bernstein
currently, -a and -n are mutually exclusive. this change allows them to be used together.
2021-01-24cc: mk clean should delete cc.a$OOri Bernstein
It's surprising when 'mk clean' doesn't actually do a clean build in cc -- fix this.
2021-01-235l: fix shifts by zeroOri Bernstein
on arm32, we can do one of 4 shifts by a constant: reg<<(0..31) reg>>(1..32) ((u32int)reg)>>(1..32) reg ROT (0..31) There's no way to encode a 0 bit right shift, so when encoding reg>>0, flip it to the equivalent nop reg<<0, which can be encoded.
2021-01-23ape/libm: add back fmod, remove modfOri Bernstein
We removed the wrong file. Put it back.
2021-01-23[9front] ape: remove _SUSV2_SOURCE guard from inttypes.hMichael Forney
inttypes.h was added to C99, and this is the only header that used _SUSV2_SOURCE. Also, remove now unneeded _SUSV2_SOURCE from python mkfile.
2021-01-23[9front] nusb(4): fix typoMichael Forney
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