summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-20date(1): list all option characters in SYNOPSISAlex Musolino
Now that -f is specifically mentioned (as it takes an argument), might as well list the others in full.
2021-06-18libsec: various changes to tlskemal
1. add the curve x25519 to tls, both client and server. it's more faster, immune to timing attacks by design, does not require verifying if the public key is valid, etc etc. server-side has to check if the client supports the curve, so a new function has been introduced to parse the client's extensions. 2. reject weak dhe primes that can be easily cracked with the number field sieve algorithm. this avoids attacks like logjam. 3. stop putting unix time to the first 4 bytes of client/ server random. it can allow fingerprinting, tls 1.3 doesn't recommend it any more and there was a draft to deprecate this behaviour earlier.[1] 4. simply prf code, remove useless cipher enums. [1] https://datatracker.ietf.org/doc/html/draft-mathewson-no-gmtunixtime-00
2021-06-19nusbrc(8): fix typo (thanks igor@9lab.org)kvik
2021-06-19cal: fix days of week alignment for year view (thanks igor@9lab.org)kvik
term% cal -s1 2021 2021 Jan Feb Mar M Tu W Th F Sa Su M Tu W Th F Sa Su M Tu W Th F Sa Su 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 25 26 27 28 29 30 31 29 30 31 … Note how the days (i.e. ' M Tu W Th F Sa Su') for Feb and Mar do not align with the day numbers. This is because an extra space is left *before* adding the terminating '\0' via the pointer `dayw`. With the patch applied the calendar aligns nicely for the year view: term% cal -s1 2021 2021 Jan Feb Mar M Tu W Th F Sa Su M Tu W Th F Sa Su M Tu W Th F Sa Su 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 6 7 4 5 6 7 8 9 10 8 9 10 11 12 13 14 8 9 10 11 12 13 14 11 12 13 14 15 16 17 15 16 17 18 19 20 21 15 16 17 18 19 20 21 18 19 20 21 22 23 24 22 23 24 25 26 27 28 22 23 24 25 26 27 28 25 26 27 28 29 30 31 29 30 31 …
2021-06-17date(1): document '-f' optionOri Bernstein
2021-06-16git/branch: resolve implicit branch switch before using itOri Bernstein
When switching a branch implicitly -- ie, creating a local branch off of a remote branch -- we would get the list of changed files before we would resolve the implicit branch switch, leading to an empty list of changes.
2021-06-16lex: fix uninitialized fds (thanks きゐ)Ori Bernstein
2021-06-15troff: fix mangled fonts and character filesAnthony Martin
All of these files appear to have been imported from sources in a case-insensitive manner and consequently lost their original content. - Hx, Hb, and Hi fonts should be narrow versions of Helvetica - c[1-3] fonts should be condensed versions of Century Old Style - the lH character should be a filled left hand symbol - the rh character should be a stroked right hand symbol - the rc character should be the right ceiling symbol I've verified that these are the only files that collide with others when ignoring case (aside from rc/bin/[Kk]ill but those are correct).
2021-06-15git/import: handle mails with line wrapping and mimeOri Bernstein
git/import expected a patch, however upas/fs serves either a raw file without any of the mime decoding and line joining, or a directory, with the headers and body split out. This makes it a pain to apply some mails. So, here we teach git to import upas dirs natively, making it easy to handle all patches that come in as emails.
2021-06-15ircrc: freenode -> oftcglenda
2021-06-14sysupdate: clean up transitional codeOri Bernstein
we just need git/pull now
2021-06-14python, hg: tow outside the environment.Ori Bernstein
they've served us well, and can ride off into the sunset.
2021-06-13/sys/lib/dist/mkfile: test for .git directoryglenda
2021-06-12sam: remove refrence to /srv file in man pageJacob Moody
2021-06-12lib9p: add auth* functions to man pageJacob Moody
2021-06-13git/push, git/send: get better about erroring out earlyOri Bernstein
git/push died within a subshell, which prevented the whole program from exiting, and lead to an incorrect ref update line that confused people. git/send would eventually error out, but would push all the data before that happened; this was annoying.
2021-06-05a.out(1): update manpage to be 64 bit inclusivejacob gw
2021-06-13git/branch: preserve checked in permissions on branch updateOri Bernstein
we need to copy the files, and we should copy them with the permissions that exist in the repo.
2021-06-12B: expand path when plumbing filesOri Bernstein
When we plumb a file, we open it in the current working directory if it exists. However, if it doesn't exist, we end up opening it relative to the editor's working directory. Expanding the path to works around this issue.
2021-06-12B, sam: remove sam srv fileFulton Browne
No need for 2 programs doing the same job.
2021-06-12git/add: clear qid cache as side effectOri Bernstein
this is an occasionally useful side effect when doing surgery on repos, so let's have it.
2021-06-12mothra: read the content-type header over file(1) to determine type (thanks ↵Ori Bernstein
james palmer) this fixes some pages being classified as xml by file(1), meaning they would be rendered as plain text rather than as html.
2021-06-11Remove ap(1)Fulton Browne
Cool script - does not work.
2021-06-08git/conf: check in /sys/lib/git/config as a fallback to user-wide configkemal
2021-06-08git/revert: fork the namespace before running git/fskvik
2021-06-07homespool: remove obsolete lp config toolOri Bernstein
homespool configures directories that it seems lp no longer usees. we can drop it.
2021-06-07sysinfo(1): we don't do '-i' for sysupdate any more.Ori Bernstein
2021-06-07acme(4): document rdsel, wrsel (thanks foura)Ori Bernstein
2021-06-06git: avoid uninterruptible temporary warningOri Bernstein
dont' fall into the rathole.
2021-06-06rio: match background screen color format (thanks noam)Ori Bernstein
2021-06-06sysinfo(1): we're on git now.Ori Bernstein
2021-06-06distproto: remove .hgnore and .hg and add .git directoryOri Bernstein
again.
2021-06-06see last try.Ori Bernstein
2021-06-06distproto: sync with hgOri Bernstein
2021-06-06git/branch: diff clean and dirty lists correctlyOri Bernstein
no spaces in our lists.
2021-06-06git/branch: revert optimization fullyOri Bernstein
it doesn't help *that* much, and confuses the code.
2021-06-06git/branch: somewhere in the syncing, the fix for junk files was lostOri Bernstein
bring it back.
2021-06-06git/send: allow the remote to have refs that we don'tOri Bernstein
It's not fatal for someone else to push a branch with objects that we don't have. We should deal with it gracefully, and act as though it doesn't exist.
2021-06-06git/commit: allow passing absolute pathsOri Bernstein
we would treat paths as relative, and not step past leading '/'s, leading to an infinte loop.
2021-06-06sysupdate: revert thumbstone temporarilycinap_lenrek
experiencing some issues with git9 transition... we likely need to update git9 again before doing another attempt...
2021-06-05git/branch: merge correct set of filesglenda
we were switching branches before we got the full list of modified files, which could garble what we were trying to merge.
2021-06-05git/{branch,pull}: merge files correctlyOri Bernstein
merge1 would clobber the global '$base' variable, which is not what we wanted. Run it in a subshell with its own env.
2021-06-05distproto: remove .hgnore and .hg and add .git directoryglenda
2021-06-05git: handle absolute paths betterOri Bernstein
we were catting $gitrel onto absolute paths. stop it.
2021-06-05sysupdate: insert tombstoneOri Bernstein
after this update, we're on git: update sysupdate to switch repositories.
2021-06-05mergeAlex Musolino
2021-06-05upas/Mail: fix bug where Redraw must be executed twice to have an effectAlex Musolino
In showlist, call bwindata instead of bwinopen in order to use a pre-existing fd to write to the data file. This existing fd will properly honour any address set by a previous write to the addr file. Specifically, the redraw function sets addr to "," before calling showlist in order to overwrite the entire contents of the window.
2021-06-04git: allow local repository directories as remote uri'scinap_lenrek
This is implemented by checking first if the uri is a directory containing the .git/ subdirectory. If this is the case, we fork git/serve serving the repository on a pipe.
2021-06-04git/serve: remove undocumented -n namespace option and -r /usr/git defaultcinap_lenrek
This makes it easier to serve local repositories where the sandboxing gets in the way.
2021-06-03git/log: show first commit as file changeOri Bernstein
We checked if the file was changed from its parents. If there were no parents, the answer was no, but it should be yes.