summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-15rio: remove more unneccesary flushimage() callscinap_lenrek
2016-03-14truss: add fake __NSEC syscall name for apecinap_lenrek
2016-03-14truss: fix "bad string" error due to missing ape _nsec() syscallcinap_lenrek
2016-03-13uhtml: dont trust charset=utf-8 attribute, verify.cinap_lenrek
when the charset is explicitely specified as utf-8, ignore it for now. we'll assume utf-8 when all bytes have been properly utf-8 encoded.
2016-03-13g: dont pollute the environment (thanks BurnZeZ)cinap_lenrek
2016-03-13kbdfs: map Kup/Kdown the same in shift tab (fixes shift-[up]/[down] one-line ↵cinap_lenrek
scroll in rio over drawterm/vncs)
2016-03-13libdraw: don't flush in readmouse() when theres nothing to flushcinap_lenrek
2016-03-12ip/gping: ignore advice, fix packet corruption check, remove dead codecinap_lenrek
2016-03-12devip: handle ignoreadvice flag for all protocolscinap_lenrek
2016-03-12vncs: parse screenid as long, not short: BGSHORT() -> BGLONG()cinap_lenrek
2016-03-12libdraw: remove flushimage calls from fontresize() and loadchar()cinap_lenrek
2016-03-12ip/gping: set display->locking before starting mouseproc (race)cinap_lenrek
2016-03-12libsec: remove weakCipher[] array check as we do not support any of these ↵cinap_lenrek
weak ciphers
2016-03-11mothra: dynamically allocate buffer for refresh url (was 20 bytes stack ↵cinap_lenrek
buffer before) (thanks BurnZeZ for reporting)
2016-03-10libvorbis: update to 1.3.5ftrvxmtrx
2016-03-10make kernel UTFmax and Runemax consistent with libc (21-bit runes) (thanks ↵cinap_lenrek
maurice)
2016-03-10mergecinap_lenrek
2016-03-10aan: handle case when reader closes netfdcinap_lenrek
when netfd is closed and set to -1 by the fromnet() reader proc, handle it like network failure and try reconnecting.
2016-03-10devcons: nil vs 0cinap_lenrek
2016-03-10kernel: make fversion()/mntversion() types consistentcinap_lenrek
2016-03-09devtls: fix wrong iounitcinap_lenrek
devtls writes are only atomic up to MaxRecLen as this is the maximum payload size we put in a record application message.
2016-03-08rio, libdraw: experimental removal of redundant flushimage() calls for ↵cinap_lenrek
roundtrip latency reduction - remove redundant flushimage() calls before readmouse() - remove flushimage() calls for allocimage(),freeimage() and originwindow() this is experimental. it will break allocimage() error handling unless the caller does explicit flushimage() calls, tho the gains in usability over high latency connections is huge. in most cases, programs will just terminate when encountering these errors.
2016-03-07aan: use sync messages as keep alivescinap_lenrek
both server and client need to be convinced that the connection is broken for a connection reestablishment to happen as the server will only start looking for incoming clients when the connection already broke. so use the 8 second interval sync messages to check for connection lifeness. if we miss two syncs in time, we declare the connecton to be broken and will try to reconnect.
2016-03-07vncs: fix dead Kend keycinap_lenrek
2016-03-059/mkfile: update ARCHftrvxmtrx
2016-03-05libFLAC/mkfile: -DFLAC__NO_ASMftrvxmtrx
2016-03-05libFLAC: update to 1.3.1ftrvxmtrx
2016-03-01auth/pemencode: fix usage()BurnZeZ
2016-03-01dict: similar fixes, different files. also remove runescpyBurnZeZ
2016-03-01dict mkindex: code cleanupBurnZeZ
handle malloc failure check if open failed _before_ seeking better arg handling
2016-03-01plot: handle create() failureBurnZeZ
2016-03-01map/libmap: remove unused function/definitionsBurnZeZ
2016-03-01vt: add -r flag to start in raw modeBurnZeZ
2016-03-01sort: code cleanupBurnZeZ
2016-03-01cc: populate the flag list comment in lex.cBurnZeZ
This way the various compiler flags are documented somewhere, even if not in full. Also fixed a typo. 'r' should have been 'R'
2016-03-01cc: sort the lex.c comment listing debug flagsBurnZeZ
2016-03-01pppoe: Avoid double free (thanks k0ga)cinap_lenrek
k0ga reports: Hello, While I was setting my pppoe conexion with my ISP I discovered several problems in ip/pppoe. I used the command line ip/pppoe -A '' ether0 and I got this: ... dropping unwanted pkt: wrong ac name panic: D2B called on non-block dc10 (double-free?) note rcved: sys: trap: fault read addr=0x0 pc=0x000066e1 pppoe 1013: suicide: sys: trap: fault read addr=0x0 pc=0x000066e1 cpu% acid 1013 /proc/1013/text:386 plan 9 executable /sys/lib/acid/port /sys/lib/acid/386 acid: stk() abort()+0x0 /sys/src/libc/9sys/abort.c:6 ppanic(p=0xd1b8,fmt=0xc7f9)+0x146 /sys/src/libc/port/malloc.c:166 D2B(p=0xd1b8,v=0xdc10)+0x57 /sys/src/libc/port/pool.c:926 poolfreel(v=0xdc10,p=0xd1b8)+0x20 /sys/src/libc/port/pool.c:1152 poolfree(p=0xd1b8,v=0xdc10)+0x3b /sys/src/libc/port/pool.c:1287 free(v=0xdc18)+0x23 /sys/src/libc/port/malloc.c:250 clearstate()+0x1b /sys/src/cmd/ip/pppoe.c:328 pppoe(ether=0xdfffefc1)+0x123 /sys/src/cmd/ip/pppoe.c:426 main(argv=0xdfffefa0,argc=0x1)+0x89 /sys/src/cmd/ip/pppoe.c:100 _main+0x31 /sys/src/libc/386/main9.s:16 acid: clearstate() is called in pppoe.c:424, and it frees acname and sets it to nil. pktread() is called in pppoe.c:434 with parameter wantoffer, which frees acname again in line pppoe.c:360 but doesn't set it to nil, so clearstate() makes a double free in the next iteration.
2016-03-01fix /lib/keyboard spacingBurnZeZ
2016-03-01add a couple runes to /lib/keyboardBurnZeZ
2016-03-01add bug to yesterday(1), fix /sys/man/3/cons permissionsBurnZeZ
2016-03-01manpage references/typosBurnZeZ
2016-03-01libsec: fix verifyDHparams() for version <= TLS1.1cinap_lenrek
for version <= TLS1.1, there is no sigalg field in the ServerKeyExchange message and the signature digest algorithm is fixed to md5+sha1 and we only support RSA signatures (TLS1.1 doesnt know about ECDSA).
2016-02-29glenda's default profile: remove /n/other mount, done by /lib/namespacecinap_lenrek
2016-02-28authsrv(2): document _asgetpakkey(), authpak_hash(), authpak_new(), ↵cinap_lenrek
authpak_finish()
2016-02-28games/doom: handle allocimage() failurecinap_lenrek
2016-02-28libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings ↵cinap_lenrek
for poly1305
2016-02-28devdraw: remove unused Edepth[]cinap_lenrek
2016-02-28libdraw: remove unused static log2[] arraycinap_lenrek
2016-02-27rio: exit rio when /dev/cons or /dev/kbd read loop terminatescinap_lenrek
2016-02-27kbdfs: read outer /dev/kbd file and use it just like /dev/kbdincinap_lenrek
this allows running kbdfs under kbdfs :-) going use this in new drawterm. drawterm provides the initial /dev/kbd, but only sends rune up/down messages (keeps it simple). the servers kbdfs reads that and exports itself the full set of files, similar to what we do in vncs. this also provides note processing.