summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-13git/branch: make '-n' use HEAD when '-b' unspecifiedOri Bernstein
This brings the behavior in line with the manual page, and makes things less surprising for users.
2021-08-13date: remove '-m' flagOri Bernstein
It's only ever been used by git, and is obsoleted by 'date -f'. Remove it.
2021-08-12git/export: use 'date -f' instead of 'date -m'Ori Bernstein
The '-m' flag was added to date largely to support git scripts. It predates the tmdate code, which is why it exists, but it's a recent enough addition that nothing I'm aware of uses it, other than git. As a result, it would be good to remove it, so let's do that.
2021-08-11git: fix non-interruptible temporary warningOri Bernstein
harmless, but annoying.
2021-08-11qsort: ...forgot to include headers in the commit.Ori Bernstein
2021-08-11qsort: allow usize-sized arrays.Ori Bernstein
As part of the transition to 64 bit userspace APIs, we need to make our libc functions which take arrays all accept and deal with large sizes. This does the work for qsort.
2021-08-09x509: encode empty sequence as constructedOri Bernstein
According to the ASN.1 BER spec, we should be encoding all sequences (including empty ones) as constructed: 8.9.1 The encoding of a sequence value shall be constructed. 8.10.1 The encoding of a sequence-of value shall be constructed. 8.11.1 The encoding of a set value shall be constructed. 8.12.1 The encoding of a set-of value shall be constructed. However, we were only setting them as constructed when the list was non-empty. This changes it, and makes letsencrypt happy with the CSRs that we generate.
2021-08-07git/save: leave submodules unmangledOri Bernstein
When modifying a submodule, we would garble the mode, leading to an apparently dangling object. This fixes the issue.
2021-08-06etheriwl: fix botched merge...cinap_lenrek
2021-08-05mergecinap_lenrek
2021-08-05etheriwl: add support for wireless ac 7260 (thanks kemal!)cinap_lenrek
2021-08-05aux/cddb: include album name and correct track number keyJacob Moody
2021-08-059p(2): fix a typo (thanks humm)Sigrid Solveig Haflínudóttir
2021-08-04cat: remove stupid long castcinap_lenrek
2021-08-03libpanel: rename to match clean ruleOri Bernstein
when running 'mk clean', we get a stray libpanel.$O.a, because our 'mk clean' rule expects libpanel.a$O. This causes build failures after mk clean on a symbol change.
2021-07-31[PATCH] Support for igfx on Celeron(R) 2957U (thanks Lorenzo Bivens)cinap_lenrek
> After some tinkering I managed to get igfx working on this device. > hw cursor works. > The only caveat is that I can only get video over hdmi... > will revisit displayport later
2021-07-28kernel: fix off by one for $cputype buffer (thanks anthony martin)cinap_lenrek
2021-07-28kernel: increase bootfs.paq compression level and blocksizecinap_lenrek
With the intel wifi firmware, this saves around 3MB of the kernel image size.
2021-07-27kernel: simplify /boot/boot: 28K down to less than 4K.cinap_lenrek
- avoid print() format routines (saves alot of code) - avoid useless opens of /dev/cons (already done by initcode) - avoid useless binds of /env and /dev (already done by initcode) - do bind of /shr in bootrc, it is not needed by us - we'r pid 1 so kernel will print the exit message for us
2021-07-27git/fetch: be more robustOri Bernstein
currently, git/fetch prints the refs to update before it fully fetches the pack files; this can lead to updates to the refs before we're 100% certain that the objects are present. This change prints the updates after the packfile has been successfully indexed.
2021-07-25dial(2): dial returns an open data file, not a ctl one. also fixed little typo.rodri
2021-07-25libc: use usize for sbrk() incrementcinap_lenrek
2021-07-25libc: change usize to 64-bit for amd64 and arm64, make memory(2) functions ↵cinap_lenrek
use usize
2021-07-25bcm64: make the kernel use virtual timer counter register for cycles()cinap_lenrek
2021-07-25kernel: page counts a ulong, not usizecinap_lenrek
2021-07-23arm64: use generic timer virtual counter for cycles()cinap_lenrek
We used to use performance cycle counter for cycles(), but it is kind of useless in userspace as each core has its own counter and hence not comparable between cores. Also, the cycle counter stops counting when the cores are idle. Most callers expect cycles() to return a high resolution timestamp instead, so do the best we can do here and enable the userspace generic timer virtual counter.
2021-07-22/sys/src/9/mkfile: add bcm64 (thanks stuart morrow)cinap_lenrek
2021-07-21gzip, bzip2: add -n flag to suppress modification timestampcinap_lenrek
2021-07-21ssh: fix typo (thanks izaki)Jacob Moody
2021-07-20brk(2): .... we define lowest addres not used by the program above, so use ↵cinap_lenrek
that instead
2021-07-20brk(2): sbrk(0) returns end address, not the basecinap_lenrek
sbrk(0) returns the current end address of the BSS segment, not the base. This might have been confused with the behaviour of segbrk(), which when given a zero address returns the base.
2021-07-18mergecinap_lenrek
2021-07-18screenlock: don't poll to top window (thanks Stuart Morrow)cinap_lenrek
> String becomes stringbg so we have guaranteed max contrast in case the > user changes the picture. (If you don't change the picture, it's > white-on-black-on-black (sic) and you would never notice the change.)
2021-07-18auth/rsa2jwk: add code to produce jwk rsa keysOri Bernstein
This is useful for acmed, and possibly other web technologies.
2021-07-18git/fetch: fix overly eager 's/pack/idx/g' in refactorOri Bernstein
This would break pulling. We would try to index into a place that didn't exist.
2021-07-17aux/cddb: Provide -e option to print commands to rip audio with tags.Jacob Moody
Also parse title/track artist and year.
2021-07-17git/fetch: ensure we clean packfiles on failureOri Bernstein
When pulling into a git repository that is group writable as a non-owner, the pack file is left in place because we do not have permission to remove it. We also leave it behind if we bail out early due to an error, or due to only listing the changes. This pushes down the creation of the file, and cleans it up on error. thanks to Anthony Martin for spotting the bug. git/fetch: ensure we clean packfiles on failure When pulling into a git repository that is group writable as a non-owner, the pack file is left in place because we do not have permission to remove it. We also leave it behind if we bail out early due to an error, or due to only listing the changes. This pushes down the creation of the file, and cleans it up on error. Also, while we're here, clean up index caching, and ensure we close the fd in all cases. thanks to Anthony Martin for spotting the bug.
2021-07-16kbdfs: allow to escape ctlr-alt-del with shift for vmx and vnc.cinap_lenrek
2021-07-15webfs(4): fix typoskvik
2021-07-15legal: mercurial -> gitcinap_lenrek
2021-07-15legal: remove references to python and mercurialcinap_lenrek
THIS IS AN EX PYTHON!!
2021-07-15archacpi: make *acpi=1 the defaultcinap_lenrek
2021-07-15ether82563: add pci id for i219-LM from ThinkPad P17 Gen1 Professional ↵cinap_lenrek
Mobile Workstation (thanks tschak909)
2021-07-14graphics(2): fix typokvik
2021-07-14pc, pc64: increase confmem slots to 64cinap_lenrek
Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation comes up with around 36 separate memory ranges. ridiculous!
2021-07-14libaml: fix gc bug, need to amltake()/amldrop() temporary buffercinap_lenrek
we have to protect the temporary buffer allocated by rwfield() as rwreg() calls amlmapio() which might cause further aml code execution causing gc() which frees it under us (as it is not referenced from the interpreter state). this fixes a panic on boot of a Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation
2021-07-12fs(4): describe the noauth toggle better (thanks izaki)Ori Bernstein
2021-07-12strcat(2): 0 → nil in manpage in refrence to pointersJacob Moody
2021-07-11virtio: set FeaturesOk flag after feature negotiation, and enable queues ↵cinap_lenrek
before DriverOk flag
2021-07-11vmx: reset virtio queue state on device resetcinap_lenrek
when a virtio device gets reset, we have to also reset the device shadow indices: availableidx and usedidx. for extra safetly, we also reset the buffer descriptor table addresses. this is accomplished by adding a vioqreset(VIOQueue*) function that brings the queue to its initial reset state. this fixes non functional ethernet after reboot(8).