summaryrefslogtreecommitdiff
path: root/sys/src
AgeCommit message (Collapse)Author
2022-11-20snoopy: fix ipv6 option header parsing, add MLD messages to icmp6cinap_lenrek
2022-11-20aux/listen: add -o and -O optionscinap_lenrek
2022-11-20devip: lilu dallas multicast.cinap_lenrek
Allow accepting udp "connections" using a multicast local address. Before, it was only possible to receive multicast using the headers option. Having a connection orirented stream can be very usefull when receiving multicast audio data. One gets a "connection" for every source. Implement (optional) support for IGMPv2 and MLDv1. This can be usefull if bridges on the network have IGMP/MLD snooping enabled, and wont forward multicast traffic unless we report what we excpect. This is experimental for now, so the igmp protocol must be manually added to the kernel configuration.
2022-11-20icmp6: no need set vcf and ttl before ipoput6(), use MAXTTL instead of HOP_LIMITcinap_lenrek
2022-11-15kernel: handle 64-bit multiboot framebuffer addressMichael Forney
2022-11-16tee: remove unused variable (thanks mkf9)Sigrid Solveig Haflínudóttir
2022-11-14nusb/cam: interrupt reader proc on close to unstuck itSigrid Solveig Haflínudóttir
2022-11-14nusb/cam: rather than showing partially green frames (when not enough ↵Sigrid Solveig Haflínudóttir
bandwidth), skip those altogether
2022-11-13nusb/cam: take max payload transfer size into account when selecting for ↵Sigrid Solveig Haflínudóttir
bandwidth This fixed frames (usually) filled with green color because of the wrong alt settings used before.
2022-11-13nusb/cam: remove wrong func prototypes, print probe controlSigrid Solveig Haflínudóttir
2022-11-13Re: [9front] cwfs: Add some missing dashesJosiah Frentsos
Ping.
2022-11-13nusb/cam: rewrite yuy2convert with integer arithmeticSigrid Solveig Haflínudóttir
2022-11-11skelfs: remove useless code (thanks Arne Meyer)Jacob Moody
2022-11-08upas/marshal: rfc2047-encode name of the sender (fixes non-ascii names in ↵Sigrid Solveig Haflínudóttir
From: header)
2022-11-06patch: preserve permissions of original file when patchingOri Bernstein
2022-11-05read: add -r to read runes instead of bytes (thanks umbraticus)Sigrid Solveig Haflínudóttir
2022-11-05ethervgbe: do not give userspace the frame check sequenceJacob Moody
2022-11-04cc: do not wait for cpp to finish if there were errorsSigrid Solveig Haflínudóttir
2022-11-04cc: wait for cpp to report whether it was a successSigrid Solveig Haflínudóttir
2022-11-04bar: static buffer for splitting, since it is getting used for clicks later onSigrid Solveig Haflínudóttir
2022-11-04bar: increase the buffer to fit more aux data (noam decided to display the ↵Sigrid Solveig Haflínudóttir
currently playing track there)
2022-11-04cpp: stringified macros shouldn't split words separate by a dotSigrid Solveig Haflínudóttir
> #define A(s) #s > #define B(s) A(s) > > #define x0 blah blah blah > B(x0) > > #define x1 blah.blah > B(x1) Before the fix, B(x1) would become "blah . blah". After the fix it's "blah.blah", as expected. In fact, the fix has always been there, but commented out on the initial import of The Artwork.
2022-11-03audio/zuke: fix -s not drawing properly and track being off by one; more OCLOSESigrid Solveig Haflínudóttir
2022-11-03boot/bitsy: clean up checked in binaryJacob Moody
2022-11-03libc: address kencc warning in date.cJacob Moody
2022-11-02bar: fix automatic resize and click location; ignore separator area when ↵Sigrid Solveig Haflínudóttir
clicking
2022-11-02kernel: Do not treat IPv6 ULA's as GUA's (thanks Arne Meyer)Jacob Moody
2022-11-01disk/partfs: fix bogus "%r" error responsecinap_lenrek
2022-11-01hjfs: check and fix print format errorscinap_lenrek
2022-11-01lib9p: fix missing newlines in fprint()cinap_lenrek
2022-10-30rc: make `flag f [+-]` clear status on successMichael Forney
Otherwise, the old status will be retained, which may be non-empty if it follows an if command whose branch wasn't taken. This is problematic for scripts using -e.
2022-10-31lib9p: double the buffer for /srv/$servicecinap_lenrek
Use a buffer bigger than the name limit of devsrv (127 characters), as this will produce the correct error message when trying to create the srv file instead of silently truncating the buffer before.
2022-10-31reform: only override console=0 when no plan9.ini is passedcinap_lenrek
The kernel used to always set console=0, which as usefull during bring-up, but makes it impossible to use the uart for other purposes. We now have the ability to pass plan9.ini using the u-boot script, so add the console=0 line there. To make debugging easy, we still apply console=0 if no plan9.ini has been passed.
2022-10-31ape: fix warning building mkstempOri Bernstein
mkstemp uses mktemp, which is only declared when including files with _BSD_SOURCE, so define _BSD_SOURCE before including the headers
2022-10-31zuke: don't fall into the ratholeOri Bernstein
2022-10-31libflac: work around kencc running out of registers on armOri Bernstein
2022-10-04vt: fix home/end sequences in xterm modeMichael Forney
According to the ncurses terminfo database, we have $ for k in khome kend; do printf '%s:\t' "$k"; TERM=xterm tput $k | od -An -tc; done khome: 033 O H kend: 033 O F $ This differs from vt220fk, so add a new xtermfk table with the proper sequences.
2022-10-30patch: improve hunk searchMichael Forney
Keep track of last hunk offset so we are more likely to find future hunks. Start search within the range of lines where we could possibly find the hunk. This fixes a bug where if the file shrunk since the patch was generated, and we start the search past the end of the file and immediately abort the search. Add an extra offset for the end of the file to the lines array so that lines[nlines] is the length of the file. This way, when we start the search at line nlines-oldcnt, we don't access past the end of the array if oldcnt==0. When we find a hunk, set lastln to ln + h->oldcnt; we can't apply another hunk that starts before the previous hunk ends.
2022-10-30upas/fs: support date format used in RFC 4155 mbox filesMichael Forney
The RFC says that the message separator line consists of > a timestamp indicating the UTC date and time when the message > was originally received, conformant with the syntax of the > traditional UNIX 'ctime' output sans timezone (note that the > use of UTC precludes the need for a timezone indicator); It also references http://qmail.org/man/man5/mbox.html as an authoritative source, which says the date "always contains exactly 24 characters in asctime format". Add this date format for compatibility with tools using the standard mbox format, in particular git format-patch.
2022-10-29upas/fs: clear errstr after chkunixMichael Forney
The readmessage loop clears errstr at start and expects it not to change unless there is a read error. However, strtotm may use multiple calls to tmparse while trying to determine the date format, which may leave errstr non-empty on success. Clear it after chkunix so that this doesn't get treated as a message read error. This also fixes handling of naked From lines, which were previously just warned about, but since the conversion to tmparse they accidentally triggered a message read failure.
2022-10-29tmdate: provide better parse errorsOri Bernstein
it's often not obvious what date component caused an error when eyeballing a date format string and date; make the error message contain this information.
2022-10-29/sys/src/cmd/mkfile: append to $NOMK so user can provide their ownJacob Moody
ie NOMK=(gs games) @{ cd /sys/src && mk install }
2022-10-26audio/flacdec: don't run pcmconv on s16r44100c2Sigrid Solveig Haflínudóttir
2022-10-26zuke: kill off decoders; use more OCEXECSigrid Solveig Haflínudóttir
2022-10-24bar: revert boundaries fix, the old ones are fineqwx
2022-10-23bar: fix item boundaries misspacingqwx
2022-10-23sdnvme: fix missing unlock() in submit queue full casecinap_lenrek
when we have more processors than submit queues, the submit queues are shared between some processors and hence we have to acquire its lock. in the case of the submit queue being full, we have to unlock it again before retrying otherwise we have a deadlock. sorry :(
2022-10-22patch: fix bounds check for hunk scan in forward directionMichael Forney
Previously, hunks that end exactly at the end of the file could not be found when the matching lines were located at a positive offset.
2022-10-01cdfs: handle block sizes correctlyArne Meyer
The Readblock enum does not work when you try to read audio cds. 4 cdda blocks are lager than 8192 and the command fails (at least when using an usb cd drive). This sets the block count according to the track block size. With this and the fix for libdisk I can rip audio cds on my el cheapo usb dvd drive. Tested with "Midnight Oil - Blue Sky Mining"
2022-10-22exportfs: fix clunk of first attach with -SMichael Forney
0 is a valid mid so should not be used as a nil value, since then the first mount (mid=0) will never be unmounted.