summaryrefslogtreecommitdiff
path: root/sys/src
AgeCommit message (Collapse)Author
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: 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-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-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-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-16tweak: support showdata plumb action (thanks sirjofri)Sigrid
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-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-05mergeOri Bernstein
2021-01-05acid: increase hash size (thanks jonas.amoson)Ori Bernstein
when loading large binaries such as netsurf, with many symbols, our hash table fills up with collisions and loading the symbol table gets very slow. Bumping it up drops the time to lstk() in acid on netsurf from 4 minutes to 8 seconds.
2021-01-05qr: fix exit statusAlex Musolino
Call exits(0) instead of returning from main. Also call sysfatal if writing of image data fails. Previously, qr(1) would exit with default non-nil status "main" unconditionally as a result of returning from main.
2021-01-01file: ftyp mp4* is video/mp4 as wellSigrid
2021-01-01sort: fix memory leak (thanks Igor Boehm)Ori Bernstein
Free the last line that we examine when looping through the lines in a file.
2020-12-29cc: add a couple notes to the comments regarding flagsBurnZeZ
2020-12-29libc/arm: open #c/sysstat file with OCEXEC (internal file descriptor)cinap_lenrek
2020-12-29plumber: open rule files as OCEXEC, to avoid leaking them to sub commandscinap_lenrek
2020-12-28text2post: check font index for out of rangeSigrid
2020-12-28plumber: don't leak srvfd file descriptor into sub processescinap_lenrek
Put OCEXEC flag on the srvfd so it wont be leaked on sub-processes we spawn from plumb rules.
2020-12-28plumb: fix wrong click attribute offset (thanks umbraticus)Sigrid
2020-12-27kbmap: avoid division by zero when window becomes too smallcinap_lenrek
2020-12-27aux/vga: remove panning, add screen tilting supportcinap_lenrek
2020-12-27devvga: implement screen tilting, remove panning and overlayscinap_lenrek
Tilting allows using left/right rotated or invetrted display orientation. This can be changed at runtime such as: echo tilt right > /dev/vgactl This removes the old panning and vga overlays as they are only implemented with some ancient vga controllers.
2020-12-23libauth: re-implement procsetuser() to use /proc instead of #c/usercinap_lenrek
2020-12-23devproc: allow anyone to change user of its own processes to "none"cinap_lenrek
2020-12-23libvorbis: 1.3.5 → 1.3.7 (fixes a bunch of CVE and other small issues)Sigrid
2020-12-23ape: re-implement getlogin() by stating /proc/$pid/statuscinap_lenrek
2020-12-23libc: re-implement getuser() by stating /proc/$pid/statuscinap_lenrek
The idea is to avoid the magic files that contain per process information in devcons when possible. It will make it easier to deprecate them in the future.
2020-12-22kw: use ethermii.c from port/ (thanks stuart)cinap_lenrek
2020-12-22aout2uimage: fix missing \n in usage print (thanks james)cinap_lenrek
2020-12-22kbdfs: fix mistake, remove leftover static user variable (thanks umbraticus ↵cinap_lenrek
and igor)
2020-12-22kernel: avoid palloc lock during mmurelease()cinap_lenrek
Previously, mmurelease() was always called with palloc spinlock held. This is unneccesary for some mmurelease() implementations as they wont release pages to the palloc pool. This change removes pagechainhead() and pagechaindone() and replaces them with just freepages() call, which aquires the palloc lock internally as needed. freepages() avoids holding the palloc lock while walking the linked list of pages, avoding some lock contention.
2020-12-21kernel: make addbroken() static, remove misleading Proc* argumentcinap_lenrek
2020-12-21pc, xen: move fpu setup/fork/save/restore handlers to pc/fpu.ccinap_lenrek
2020-12-21kernel: update procsave() comment, we'r not holding up->rlock anymorecinap_lenrek