Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-05 | pc(1): bugfix: allow setting output base to 0 (thanks, deuteron) | aiju | |
2016-09-03 | 5c: do shift propagation for rotate right (ROR) | cinap_lenrek | |
2016-09-03 | 5c: format assembly constant right shift encoding 0 as >>32 | cinap_lenrek | |
2016-09-03 | 5a: assemble constant >>0 right shifts as <<0 (no shift), allow >>32 | cinap_lenrek | |
previously, right shift >>0 resulted in >>32 being emited. this is especially problematic when the shift count comes from a macro expansion. we now handle constant shift >>0 as <<0 (no shift) and allow shift by 32 be specified. this applies to logical right shift (>>) arithmetic right shift (->) and right rotate (@>). | |||
2016-09-03 | 5l: format assembly constant right shift encoding 0 as >>32 | cinap_lenrek | |
2016-09-01 | pc: add cat() function | aiju | |
2016-08-31 | pc: add rev function | aiju | |
2016-08-29 | pc: add gcd, rand and minv; set base of logical operation results to 0 | aiju | |
2016-08-28 | python: remove automatic compiled module loading (.pyc files) | cinap_lenrek | |
2016-08-28 | add pc(1) | aiju | |
2016-08-28 | mercurial: use new d_stat from dirent structure in osutil.listdir | cinap_lenrek | |
2016-08-20 | merge | cinap_lenrek | |
2016-08-20 | vga/igfx: work in progress fdi link train for sandy bridge, properly ↵ | cinap_lenrek | |
calculate fdi and displayport lane count | |||
2016-08-18 | fix awk format printing bugs (thanks aiju) | spew | |
2016-08-15 | webfs: dont include http status in "needkey" error string | cinap_lenrek | |
2016-08-14 | ndb/cs: don't lookup AAAA records for IL, make sure translated address is ↵ | cinap_lenrek | |
IPv4 for IL, consistent use of nil vs. 0 for pointers | |||
2016-08-14 | 6c: subsitute floating point registers eleminating MOVSD and MOVSS ↵ | cinap_lenrek | |
instructions in peephole pass | |||
2016-08-10 | ratrace: fix fork/exec race with "nohang" procctl (like a debugger) | cinap_lenrek | |
2016-08-08 | auth/fgui: use pale colors | cinap_lenrek | |
2016-08-08 | webfs: avoid retry loops when we got a bad key in factotum | cinap_lenrek | |
2016-08-08 | webfs: include factotum key query in error string for 401/407 Unauthorized ↵ | cinap_lenrek | |
status | |||
2016-08-04 | auth/login: add dp9ik key to sub factotum, get rid of temporary /srv file | cinap_lenrek | |
2016-07-31 | auth: various cleanups, use common readcons() from libauthsrv, zero keys ↵ | cinap_lenrek | |
after use | |||
2016-07-31 | auth/secstore: use common readcons() routine from libauthsrv | cinap_lenrek | |
2016-07-31 | auth/factotum: use common readcons() function from libauthsrv | cinap_lenrek | |
2016-07-24 | auth/changeuser: fix misleading print (secret is 31 chars max, not 256) | cinap_lenrek | |
2016-07-24 | make error handling in 9p service loops consistent | cinap_lenrek | |
when we get eof, stop the loop immidiately and do not rely on the read to eventually return an error. when convM2S() fails to decode the message, error out and stop the loop. there is no point in continuing. | |||
2016-07-24 | upas/fs: remove checkmboxrefs() debugging code, properly handle errors in 9p ↵ | cinap_lenrek | |
loop | |||
2016-07-24 | ndb/dns: remove procname statistics and restart feature, cleanup 9p service loop | cinap_lenrek | |
given that the memory leaks have been fixed, theres no need for the obscure restart feature which is not reliable anyway. remove the code updating procname on each 9p request. handle convM2S error by exiting the service loop, dont read 9p channel after eof. | |||
2016-07-15 | 5c: fix int -> uvlong cast bug (thanks to qwx on his patience on a the ↵ | cinap_lenrek | |
trouble session to narrowing it down) we used to not sign extend if the destination was unsigned uvlong, which is wrong. we have to sign extend only based on the signedness of the source (it gets propagated to vlong) this bug hit in hjfs in the newentry() function, causing file creation to fail with "create -- phase error": newentry(...) { uvlong sj; int si; ... sj = si = -1; ... } | |||
2016-07-15 | 5a: ROL instruction | cinap_lenrek | |
2016-07-08 | disk/prep: if no 9fat, reserve space for plan9 partition table in autopart ↵ | cinap_lenrek | |
(thanks Shamar) usually, the plan9 partition table is contained in the first 9fat partition after the pbs/fat header, but when no 9fat partition is requested, we have to make sure partitions wont overlap the partition table (start at sector offset >= 2). | |||
2016-07-08 | 5l: ROR instruction | cinap_lenrek | |
2016-07-05 | remove mpc.tab.h on mk clean | spew | |
2016-06-30 | rc: implement 9atoms ` split {command} syntax extension | cinap_lenrek | |
2016-06-30 | vga/igfx: fix integer overflow in datam calculation (from qu7uux) | cinap_lenrek | |
data[mn] and link[mn] are 24-bit values. in the expression 'm = (n * ((freq * bpp)/8)) / (lsclk * lanes)', uvlongs are used to prevent integer overflow, but since freq, bpp, lsclk and lanes are all ints, the cast to uvlong does not happen until it's too late, getting a wrong value. instead, use u32int for m and n, and use casts where necessary. example of bad calculation: freq = 141400000 lsclk = 270000000 lanes = 2 bpp = 18 → 0x7f3ee1ca6 (correct value: 0x4b69d0) | |||
2016-06-30 | acme/win: implement /dev/wdir file in win to change directory tagline, ↵ | cinap_lenrek | |
remove awd | |||
2016-06-30 | rc: write /dev/wdir after printing the prompt, not after executing "cd" command | cinap_lenrek | |
2016-06-27 | ndb/dns: purge db records on refresh for resolvers, remove old debug and ↵ | cinap_lenrek | |
testing code when ndb/dns runs as a resolver only (cfg.cachedb == 0), we still want to purge the "local#" db records to reread dns server configuration or react to changed ip addresses. removing old poolcheck and dncheck code, these bugs have been fixed a long time ago. | |||
2016-06-26 | rio: move the test if w is allowed to change cursor into wsetcursor() | cinap_lenrek | |
the onscreen cursor shows the cursor of the current focused window or the window it points at. if there is no window, then we set the default cursor (nil). | |||
2016-06-26 | 5c: handle unused results for cgen64() | cinap_lenrek | |
2016-06-26 | 5c: support for bit ROL, native 64 bit arithmetic | cinap_lenrek | |
2016-06-26 | cc: add OROL op to side effect free op list | cinap_lenrek | |
2016-06-20 | merge | cinap_lenrek | |
2016-06-20 | audio/flacdec: exit on decode error, print error message | cinap_lenrek | |
2016-06-10 | togif: -E flag to read animation from stdin | aiju | |
2016-06-09 | 8c, 6c: native ROL (cyclic shift) instruction support, improve peephole ↵ | cinap_lenrek | |
optimizers introduce rolor() function to subsitute (a << c) | (a >> (bits(a) - c)) with (a <<< c) where <<< is cyclic rotation and c is constant. this almost doubles the speed of chacha encryption of 386 and amd64. the peephole optimizer used to stop when it hit a shift or rol instruction when attempting to eleminate moves by register substitution. but we do not have to as long as the shift count operand is not CX (which cannot be substituted) and CX is not a subject for substitution. | |||
2016-06-09 | ?c: track ../cc/cc.h dependency and rebuild cc.a$O as neccesary | cinap_lenrek | |
2016-06-05 | aml: define amlintmask and set it according to DSDT revision (64bit / 32bit) | cinap_lenrek | |
2016-06-04 | webfs: less aggressive url normalization; never unescape reserved characters ↵ | cinap_lenrek | |
in path/query/fragment |