summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-06mp3dec: fix volume for mp3deccinap_lenrek
the libmad samples need to be scaled properly. the previous assumption was that it is 32 bits, but it really is MAD_F_FRACTBITS + sign bit and rest used for overflow. thanks eekee!
2013-11-06synchronize ape's vfprintf with libstdiomischief
in ape's vfprintf we don't check if the file we're writing is actually a string buffer, resulting in a return of -1, when we should actually return the number of bytes that would be written.
2013-11-05mergecinap_lenrek
2013-11-05rio: eleminate temporary allocations before frinsert() and in namecomplete()cinap_lenrek
frinsert() shouldnt modify the runes passed and the buffer isnt going to be modified my us during the call so removing the temporary copies. namecomplete() makes utf-8 copies of the rune strings so theres no need to copy the runes.
2013-11-03fortunes: AFTER READ THE PAGE YOU UNDRSTAND WHAT IM TALKING TO YOU !stanley lieber
2013-11-03aml(2): englishstanley lieber
2013-11-04aml(2): fix amldelay() decscription. it takes microseconds, not milliseconds.cinap_lenrek
2013-11-03add aml(2) manual pagecinap_lenrek
2013-11-03rio: do backspace \b processing inplace avoiding buffer allocationcinap_lenrek
2013-11-03rio: cleanup and error handlingcinap_lenrek
2013-11-02rio: huge simplification of flush handlingcinap_lenrek
xfidflush() now uses a simpler way to flush another xfid. when we can send to Xfid.c channel, we know that the xfid is completed. so all xfidflush() needs todo is to do an alt sending to both Xfid.c and Xfid.flushc. once the send to Xfid.c succeeds, we know the xfid is gone and we can respond to the flush request. theres no need to keep track of flush state anymore. so Xfid.active and Xfid.flushing can be removed. note, that it is ok to respond normally to a currently flushed request.
2013-11-01rio: add sanity check in xfidallocthread()cinap_lenrek
2013-11-01rio: enforce flush reply ordering for all xfidscinap_lenrek
flushing isnt optional for concurrently handled requests. we need to ensure that Rflush is replied *after* the origianl request. so we assign the flushtag for *every* xfid in xfidctl(), and filsysrespond() checks if the xfid was flushed *after* replying and wakes up the flushing xfid.
2013-11-01rio: properly handle follow up flushes (fixes unexpected reply tag)cinap_lenrek
when multiple flushes are send, they need to be replied in order. we ensure this by having the flush xfid taking over the flushtag (synchronized with a new fs->csyncflush channel) so the next flush will flush the previous flush.
2013-11-01make auto negotiation work on 82562et (thanks mischief!)cinap_lenrek
the diver used to skip auto negotiation when auto-negotiation enable (bit 12 in command register) was clear. setting the bit now, which makes auto negotiation work. we skip auto negotiation only when it was already enabled and status regiser indicates completion (bit 9).
2013-10-31fix format compiler warningcinap_lenrek
2013-10-31kernel: add support for multiboot memory mapcinap_lenrek
2013-10-31libplumb: search for plumber only at /mnt/plumb, and don't try to mount ↵BurnZeZ
$plumbsrv if the search fails
2013-10-30smtp: fix free on uninitialized pointerBurnZeZ
2013-10-30fix devshr related panic caused by Mount.to being nil (thanks mischief!)cinap_lenrek
the shr mount is linked into the Mhead with m->to initially nil. only after the the server has been attached is m->to set. just check for it in createdir().
2013-10-30init: dont rely on path containing dotcinap_lenrek
2013-10-30play: guess file type from file extension if mimetype failscinap_lenrek
2013-10-28vt: discard unhandle OSC escapes, and use nelem instead of sizeof for title ↵mischief
buffer
2013-10-28libjson: fix missing buffer free, slight cleanupBurnZeZ
2013-10-28libjson: dynamically allocate bufferBurnZeZ
2013-10-28rsa2ssh: fix the megashitcinap_lenrek
2013-10-27auth/rsa2ssh: add SSH2 RSA output format (from plan9port)mischief
2013-10-27cmd/vt: fix xterm function keysmischief
2013-10-28libjson: fix mistake... (harmless)cinap_lenrek
2013-10-28libjson: fix for 21 bit runes, implement utf-16 surrogatescinap_lenrek
2013-10-27libjson: fix mistake in unicode handler (thanks cinap)BurnZeZ
2013-10-27libjson: handle unicode escapesBurnZeZ
2013-10-27make libjson from /sys/src/cmd/btc/json.cBurnZeZ
2013-10-27vt: remove defunct hp terminal emulationcinap_lenrek
2013-10-27vt: utf-8 supportcinap_lenrek
2013-10-26rc: make default path saferBurnZeZ
2013-10-26mkfiles: do not rely on path containing the . elementcinap_lenrek
when executing generated binaries and helper scripts, always execute them as ./name instead of relying that path contsins the dot.
2013-10-26inst: cleanup installer making it not rely on path containing .cinap_lenrek
always explicitely execute installer modules with ./name instead of relying that the path contians the dot.
2013-10-26mergecinap_lenrek
2013-10-26ndb/common: update ip for d.root-servers.netcinap_lenrek
2013-10-26mergecinap_lenrek
2013-10-26ndb/common: dont use bell-labs dns servers for rfc1980 zonescinap_lenrek
2013-10-25fortunes: etymology: variousstanley lieber
2013-10-25kernel: dont spawn closeprocs from closechanqcinap_lenrek
make closeproc() spawn more procs on demand insead of doing it from closechanq(). this avoids the palloc lock checks and simplifies the logic.
2013-10-25kernel: disable freelist page caching for executables run from uncached mountcinap_lenrek
the image cache has the property of keeping a channel for the executable binary arround which prevents the mountpoint from going away. this can easily be reproduced by running: @{rfork n; ramfs; cp /bin/echo /tmp; /tmp/echo} observe how ramfs stays arround until the image is reclaimed. the echo binary is also cached but is unreachable from any namespace. we now restrict the caching to mounts that use the client cache (-C flag) only. this should always be the case for /bin. places where this isnt the case might observe a performance regression.
2013-10-25kernel: keep one closeproc arround in case we are unable to fork a new onecinap_lenrek
closechanq() is unable to fork a new closeproc when palloc is locked. so we spawn a closeproc early in chandevinit() and make sure theres always one process arround to handle the queue.
2013-10-23newuser: make lib/profile read drawterms /dev/secstore when availablecinap_lenrek
2013-10-22factotum: update rsa for ssh2 (sync with sources)cinap_lenrek
2013-10-20acme: attempt to fix tag lines collapsing to zero height on window move ↵cinap_lenrek
(issue 189) we'r getting a rectangle taller than a single line from coladd() which causes textresize() to collapse the tag text to zero height. should probably fix coladd() instead.
2013-10-18nusb/ether: new driver interface with kernel inspired Block bufferscinap_lenrek
introduce kernel inspured Block structure with read/write pointers to pass packets arround. the intend is to avoid copying when adding/removing frame headers and simplifying the drivers. the driver now calls etheriq() directly allowing it to queue multiple packets in one pass without having to keep state. transmit gets a buffer passed that has room for frame headers and trailers so no copying is needed. blocks are refcounted avoiding another copy when passed to only one receive queue (common case). receive queues are now limited to 100KB avoiding buffer bloat. Dq* a memory leak in destroyfid has been fixed. lots of minor cleanups.