summaryrefslogtreecommitdiff
path: root/sys/src/cmd
AgeCommit message (Collapse)Author
2016-02-01libsec: ecdsa client support for tlshand, cleanupscinap_lenrek
2016-02-01mpc: constant expression foldingcinap_lenrek
2016-01-12ndb/dnstcp: -x specifies the mountmointcinap_lenrek
2016-01-07format pointer subtraction results with %zd instead of %ld (for long -> ↵cinap_lenrek
intptr on amd64)
2016-01-076c: return vlong result for pointer subtractioncinap_lenrek
2016-01-07introduce signed intptr and %z format modifier for formating uintptr and intptrcinap_lenrek
2016-01-07venti/fixarenas: more %z -> %Zcinap_lenrek
2016-01-07venti/fixarenas: replace %z fmt with %Zcinap_lenrek
2016-01-06rx: theres no p9sk2 anymorecinap_lenrek
2016-01-06add missing /sys/src/cmd/auth/lib/private.ccinap_lenrek
2016-01-06auth: release dp9ik implementation and reentrant factotumcinap_lenrek
2016-01-05fdisk: properly convert byte units K,M,G and T to cylinders/sectorscinap_lenrek
the shared command language assumed 512 byte sectors, which is not the case for fdisk as it uses cylinders for the block unit. so we introduce an extra argument in the Edit structure and parseexpr() function so byte sizes are properly converted to the block unit when the K,M,G and T postfixes are used.
2016-01-04mpc: use new strtomp() c-style prefixes to parse integer constantscinap_lenrek
2015-12-23file: recognize bootable disk images (by 0x55AA boot sector signature)cinap_lenrek
2015-12-23file: recognize tcpdump pcap filescinap_lenrek
2015-12-23snoopy: fix timestamps for pcap files (thanks BurnZeZ)cinap_lenrek
the pcap files produced by snoopy had the wrong timestamps because it expected: /* magic=0xa1b2c3d4 */ ulong ts_sec; /* seconds*/ ulong ts_usec; /* microseconds */ but we wrote: uvlong ts; /* nanoseconds */ now, we write: /* magic=0xa1b23c4d */ ulong ts_sec; /* seconds */ ulong ts_nsec; /* nanoseconds */
2015-12-16import/expoerfs: dont assert() fault when ai->secret is > 8 bytes, just use ↵cinap_lenrek
the first 8 bytes
2015-12-16auth/httpauth: use auth_userpasswd() instead of AuthHttp request to AScinap_lenrek
the /sys/lib/httppasswords will be removed soon from authsrv, so we use auth_userpasswd() to verify a username/password pair instead.
2015-12-07yacc: attempt to keep line numbers right for yyparse()cinap_lenrek
as the generated parser intermixes lines from .y source and the parser text, the line source/lineno for yyparse() shows up wrong in the debugger. to make stack traces a bit less crazy, put a #line 1 "/sys/lib/yaccpar" before copying in the parser text.
2015-12-06winwatch: l allows label changesaiju
2015-11-30mkone: yacc wants the Daiju
2015-11-30webcookies: strdup() file argument to avoid crash (thanks mischief)cinap_lenrek
mischief reports: acid: lstk() abort()+0x0 /sys/src/libc/9sys/abort.c:6 ppanic(p=0x1bff4,fmt=0x1d749)+0x146 /sys/src/libc/port/malloc.c:166 pv=0x1dad8 msg=0x1e4a8 v=0x3ffffe7c n=0x2f D2B(p=0x1bff4,v=0x3fffffae)+0x57 /sys/src/libc/port/pool.c:926 a=0x3fffffa4 poolfreel(v=0x3fffffae,p=0x1bff4)+0x20 /sys/src/libc/port/pool.c:1152 ab=0x1dad8 poolfree(p=0x1bff4,v=0x3fffffae)+0x3b /sys/src/libc/port/pool.c:1287 free(v=0x3fffffb6)+0x23 /sys/src/libc/port/malloc.c:250 readjar(file=0x3fffffb6)+0xce /sys/src/cmd/webcookies.c:473 jar=0x1ea28 lock=0x1ea68 p=0x1ea6d main(argv=0x3fffffa0,argc=0x0)+0x10f /sys/src/cmd/webcookies.c:1295 file=0x3fffffb6 srv=0x0 mtpt=0x1cfd0 _argc=0x66 _args=0x1cfe0 home=0x0 _main+0x31 /sys/src/libc/386/main9.s:16 acid:
2015-11-25mpc: mpc.c is generated by yacc, so remove it on mk cleanBurnZeZ
2015-11-25rio: allow reading the image of a hidden window thru the window filecinap_lenrek
2015-11-25rio: fix handling "resize" wctl for hidden windowscinap_lenrek
when the "resize" wctl was used on a hidden window, the window was put back on the screen, however, it was not removed from the hidden[] array so trying to hide the window again failed because whide() assumed it was already hidden. the fix is to not unhide the window, but preserve the hidden state, so windows can programmatically be reshaped and moved, but will remain hidden unless explicitely unhidden.
2015-11-24disksim: don't assume 4-byte pointerscinap_lenrek
2015-11-23rio: stop serving kbdin file (thanks eekee)cinap_lenrek
kbdfs already provides a /dev/kbdin file for the system, rio does not need to provide one for the onscreen keyboard anymore.
2015-11-22add mpc(1), extended precision code generatorcinap_lenrek
2015-11-22usbd: intoruce /env/usbbusycinap_lenrek
to solve the usb device enumeration race on boot, usbd creates /env/usbbusy on startup and once all devices have been enumerated and readers have consumed all the events, we remove the file so nusbrc/bootrc can continue. this makes sure all the usb devices that where plugged in on boot are made available.
2015-11-20remove dunning-krugerrand codeaiju
2015-11-015c: handle (rare) MULU instruction in peephole optimizercinap_lenrek
2015-10-25ascii: replace mnemonic np (new page) with ff (form feed) for consistencyBurnZeZ
2015-10-24rio: fix scrolling when cursor is above windowBurnZeZ
2015-10-10aux/listen1: usage()cinap_lenrek
2015-10-10aux/listen1: allow alternative namespace when running as user none with -n ↵cinap_lenrek
option
2015-10-09cwfs: fix wstat() failing to mark block dirty when noatime is setcinap_lenrek
code assumed the accessdir() call would always mark the block dirty, but this is not the case when noatime flag is enabled. this was reported by michael in bug: "open/with_noatime_option_cwfs_doesnt_preserve_changes_in_file_permissionowner" -- cinap
2015-10-08cc: restore side(), but do not consider OINDEX as side effect freecinap_lenrek
from charles forsuth: because the previous version thought OINDEX might have a side effect, it stopped it building a tower of them. probably the best thing is to limit that anyway, since each one consumes 2-3 registers, so towering them can keep even more active, and the x86 hasn't got that many. the quick hack is to return that case to the earlier state by treating OINDEX as a side-effect in side(). it's not a bad thing to do in the OSTRUCT case, for similar reasons: it's better to collapse the indexed pointer into a direct register, instead of repeating the indexing operation through the copying of the value. OINDEX isn't a machine-independent operation, so it doesn't affect the uses in ../cc
2015-10-07cc: back out side() change unil 8c is fixedcinap_lenrek
this change made 8c fail to build libvorbis and gs, until this is fixed we can live with non-optimal code.
2015-10-07qc: import changes from charles forsythcinap_lenrek
2015-10-06kc: import various changes from charles forsythcinap_lenrek
2015-10-06cc: include $builtin as keywoard in pickle() (from charles forsyth)cinap_lenrek
2015-10-06cc: getflag() fmt will be terminated at end of loop (from charles forsyth)cinap_lenrek
2015-10-06cc: allow runes as macro names (from charles forsyth)cinap_lenrek
2015-10-065c/6c/8c/vc: import various changes from charles forsythcinap_lenrek
- cover more cases that have no side effects - ensure function has complex FNX - pull operators out of OFUNC level - rewrite OSTRUCT lhs to avoid all side-effects, use regalloc() instead of regret()
2015-10-06cc: TUSHORT -> TRUNE for lstring constats for OUSEDcinap_lenrek
2015-10-059660srv: do not ignore upper 32 bits of offset when reading directorycinap_lenrek
2015-10-05dossrv: handle file offsets > 2^31cinap_lenrek
maximum file size is 4GB-1 as the file length is stored in a 32 bit long. make sure it doesnt overflow on write or or truncate. interpret the file length as unsigned. pass vlong to readfile()/writefile()/truncfile() so we can handle overflows and not just ignore the upper bits.
2015-10-046c: remove 6c/vlrt.c filecinap_lenrek
2015-10-048c: dont abort() when running out of registers.cinap_lenrek
2015-10-04vc: fix mistake.cinap_lenrek