summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-06acme: import event log from plan9port (thanks fshahriar)Ori Bernstein
Based off the following 3 commits: 4a3fb87264f8bc03fc62f00ef335056f30d18023 45f8ba54143323f08a21343633764caa59aa3ea3 fdf6ef333705c844bcf3ccf2f93b2773f1a6aa41 Reading /mnt/acme/log reports a log of window create, put, focus, and delete events, as they happen. It blocks until the next event is available. Example log output: 8 new /Users/rsc/foo.go 8 put /Users/rsc/foo.go 8 del /Users/rsc/foo.go This lets acme-aware programs react to file writes, for example compiling code, running a test, or updating an import block.
2020-06-06devip: pick less surprising interface address in header for incoming UDP packetscinap_lenrek
We used to just return the first address of the incoming interface regardless of if the address matches the source ip type and scope. This change tries to find the best interface address that will match the source ip so it can be used as a source address when replying to the packet.
2020-06-06mergecinap_lenrek
2020-06-06aux/vga: use 64-bit physical addresses for pci membarcinap_lenrek
2020-06-06devlml: use 64-bit physical addressescinap_lenrek
2020-06-06audiosb16: cleanup audioprobe(), cast ISAConf.port to ulongcinap_lenrek
2020-06-06audioac97: use 64-bit physical addressescinap_lenrek
2020-06-06audiohda: use 64-bit physical addresses, check pci membar typescinap_lenrek
2020-06-06pc/pcmciamodem: cast i/o port to ulongcinap_lenrek
2020-06-06pc/pmmc: check pci membar typecinap_lenrek
2020-06-06uartaxp: use 64-bit physical addresses and check pci membar typescinap_lenrek
2020-06-06pc/wavelan: print Ether.port as 64-bit valuecinap_lenrek
2020-06-06sd53c8xx: use 64-bit physical addressescinap_lenrek
2020-06-06sdmv50xx: use 64-bit physical addresses and check pci membar typecinap_lenrek
2020-06-06sdiahci: use 64-bit physical addressescinap_lenrek
2020-06-06sdodin: use 64-bit physical addresses and check pci membar typecinap_lenrek
2020-06-06sdnvme: make sure pci membar type is memorycinap_lenrek
2020-06-06usbuhci: make sure pci membar type is i/ocinap_lenrek
2020-06-06usbehcipc: use 64-bit physical addresses and check pci membar typecinap_lenrek
2020-06-06pc/ether*: use 64-bit physical addresses and check pci membar types and sizescinap_lenrek
2020-06-06pc/vga*: use 64-bit physical addresses and check pci membar types and sizescinap_lenrek
2020-06-06archacpi: use 64-bit uvlong for physical addressescinap_lenrek
2020-06-06devvga: use 64-bit physical addresses for framebuffercinap_lenrek
2020-06-06devpccard: use 64-bit physical addressescinap_lenrek
2020-06-06usbxhci: use 64-bit physical addressescinap_lenrek
2020-06-06devpnp, devether, devusb: cast ISAConf.port to uvlong (for 32-bit ↵cinap_lenrek
implementations) The ISAConf.port might still be 32-bit on some archs.
2020-06-06devusb: print Hci.port as 64-bit uvlongcinap_lenrek
2020-06-06devether: print Ether.port as 64-bit uvlongcinap_lenrek
2020-06-06devpnp: print pci membar as 64-bit uvlongcinap_lenrek
2020-06-06bcm64: bring pci code in line with the pc/pc64cinap_lenrek
2020-06-06bcm64: use uvlong for ISAConf.portcinap_lenrek
2020-06-06bcm64: use 64-bit uvlong physical address in vmap()cinap_lenrek
2020-06-06pc, pc64: implement 64-bit pci membar supportcinap_lenrek
2020-06-06pc, pc64: use 64-bit physical addresses for ISAConf.portcinap_lenrek
2020-06-06pc, pc64: use 64-bit physical addresses for vmap() and upaalloc()cinap_lenrek
2020-06-05ape: add missing rerrstr.cOri Bernstein
2020-06-05ape: make libplumb available under ape.Ori Bernstein
This adds the mkfiles and plumb.h to ape, similar to how libdraw is made available. This is used for ports such as netsurf.
2020-06-04aux/getflags: fix named rune arguments.Ori Bernstein
Flags can be runes. That means that we can't just look at p[1] to decide if we have a named argument, we need to look one rune forward. This change does that.
2020-06-01mergecinap_lenrek
2020-05-31acme: implement 'scratch' ctl command (thanks Drew DeVault)kvik
The new command marks the target window as a scratch window -- a window whose state cannot be "dirtied" by changes made to its body, therefore avoiding warnings about unsaved changes when deleting the window or exiting acme. Existing examples of scratch windows are error, directory, and guide windows, whose scratchness is set internally. With the new command users and programs alike can create their own scratch windows. This is put to use in acme's own win(1).
2020-05-31kernel: remove unused segment argument in freepte()cinap_lenrek
2020-05-31pc, xen: make PAT support optional (for xen)cinap_lenrek
2020-05-30ape/libdraw: add missing eenter (thanks phil9)Ori Bernstein
2020-05-30imap4d: reject invalid month in date2tm()cinap_lenrek
2020-05-30rc: avoid forking for final command that has variable assignments (to get ↵cinap_lenrek
$apid right) basically, we want the following commands to print the same pid twice: rc -c 'cat /dev/pid &;echo $apid' vs: rc -c 'a=1 cat /dev/pid &;echo $apid' basically, Xsimple() calls exitnext() to determine if a simple command should be promoted to exec, by peeking ahead into the code and searching for Xexit instruction. Xexit might not follow immediately after the Xsimple instruction because of redirections, which exitnext() would skip. but it would not skip the Xunlocal instructions that where added by the variable assignment.
2020-05-27ip/cifsd: add FIND_FIRST2 SMB_FIND_FILE_FULL_DIRECTORY_INFO info levelcinap_lenrek
2020-05-26sshnet: prevent ssh process from keeping the mount alivecinap_lenrek
2020-05-24pc, pc64: fix wrong mtrr physmask() for machines without extended address ↵cinap_lenrek
size msr
2020-05-24awk: fix race condition with sub-mk in mkfilecinap_lenrek
the maketab helper program was generated in parallel, which had a dependency to y.tab.h which lead to yacc running twice in parallel. this removes the dependency to y.tab.h in the virtual maketab.$objtype target to prevent this race condition. the dependency to y.tab.h is resolved in the main mk at the $cputype.maketab target which serializes with the other targets.
2020-05-24usbehci: release ctlr ilock before calling pollcheck()cinap_lenrek