summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-12games/doom: remove useless allocation of screen[0] buffercinap_lenrek
screens 0-3 are already initialized by V_Init().
2013-08-12games/juggle, games/catclock: keep up with queued mouse eventscinap_lenrek
many queued mouse events delay eresize() because new ebread() takes from the queue first before attempting to read from the event pipe. this is a waste of memory, so just process (dequeue) all the events as long as there are any on each iteration.
2013-08-12catclock: protect black border with clip rectangle and dont print when ↵cinap_lenrek
window is too small
2013-08-11ether6105m: increase timeouts for Soekris 5501s (from sources)cinap_lenrek
2013-08-11create /sys/lib/sslcinap_lenrek
2013-08-11vt: fix off by one memory corruptioncinap_lenrek
account for the final 0 byte in host_buf.
2013-08-11libdraw: make ebread() return buffer immidiately if available, cleanupcinap_lenrek
this reduces number of syscalls and improves performance for vt
2013-08-11libdraw: fix ekbd() memory leakcinap_lenrek
2013-08-11tm2sec: assume local timezone when Tm.zone[0] == 0 (fixes dossrv, zipfs ↵cinap_lenrek
timestamps) from the manual: Tm2sec converts a broken-down time to seconds since the start of the epoch. It ignores wday, and assumes the local time zone if zone is not GMT. so we can assume localtime if Tm.zone is not set to GMT. all code that wants no localtime conversion should set Tm.zone explicitely to GMT. (see previous commits) tm2sec() now does the reverse of localtime() when Tm.zone[0] == 0 which seems to be what the calling code (dossrv, zipfs) assumes. this also makes sense because theres no simple way todo it outside of libc as theres otherwise no access to the timezone structure with the daylight saving periods.
2013-08-11cifs: fix timezone for timestampscinap_lenrek
tm2sec() ignores tm.tzoff and will use the local timezone for conversion. to make it work right, we convert the dos timestamp as GMT and then correct timezone with the offset provided by the server.
2013-08-11auth(8) commands: fix uninitialized Tm.zone in getdate()cinap_lenrek
2013-08-10TEQ with S bit = 0 would be pointless, so ARM uses this case to encode ↵cinap_lenrek
"miscellaneous" instructions like BKPT, BX and BLX. Decoding these correctly allows db/acid to single step through BX and BLX on armv5t+, and to show a breakpoint instruction as 'BKPT $#0' instead of 'TEQ R0@>R0,R0'.
2013-08-10tcp113: fix null list in concatenation errorcinap_lenrek
2013-08-10nusb/kb: *really* only send to mousein when mouse state actually changes ↵cinap_lenrek
(zero detlas, same buttons)
2013-08-10revert previous commit... stupid ideacinap_lenrek
2013-08-10nusb/kb: only send to mousein when mouse state actually changescinap_lenrek
2013-08-10rio: fix unused variable warning in wscroll()cinap_lenrek
2013-08-10rio: shorten overlong window labelscinap_lenrek
2013-08-09mothra: log post data with debug flag, increase max token length from 1K to 4Kcinap_lenrek
2013-08-09mergecinap_lenrek
2013-08-09mothra: fix nil pointer dereferencecinap_lenrek
2013-08-07/lib/br: That's no way to treat a friend.stanley lieber
2013-08-08sam: avoid thread stack overflow with 32bit runes (from sources)cinap_lenrek
2013-08-08cwfs: fix out of order repliescinap_lenrek
using a shared reply queue and a pool of worker procs does result in replies to be send out of order under some conditions. the symptoms are mnt errors when interrupting requests (Rflush arriving before the original requests response). this change gives each connection its own reply queue and its own srvo process. so now a connection consists of one reply queue, a srvi process reading the connections file descriptor and a srvo process reading the reply queue and writng replies to the connections file descriptor. the srvi processes live as long as the connection is established. the srvo prcoesses live forever and are attached to the chan (which gets reused). to avoid excessive process creation, we limit the number of connections to 30. srvchan() returns nil when all 30 network channels are in use.
2013-08-06ups: fix typostanley lieber
2013-08-06ups: give me my computerstanley lieber
2013-08-07cwfs: use atomic compare and swap to avoid semacquire() syscalls in new ↵cinap_lenrek
queue implementation
2013-08-06fortunes: God bless the people who employ you, they need the blessing.stanley lieber
2013-08-05wikifmt: handle & as & in anchor name, cleanupcinap_lenrek
2013-08-05wikifmt: more complete title to name= anchor translationcinap_lenrek
2013-08-05rio: make sure flush replies are send only *after* the request got flushed ↵cinap_lenrek
or was replied due to the xfid handlers clearing flushtag too early, xfidflush might respond too early causing spurious replies send later by the handler. now, we clear the flushtag in filsysrespond *after* the reply was send. xfidflush will wait for us on the active qlock.
2013-08-05unsticky scrollbarscinap_lenrek
scrollbars used to put the mouse on the scrollbar while scrolling. if latency is high, this often results to the cursor jumping back. instead, make button 2 srolling work without needing the mouse to be inside the scrollbar and leave the mouse position alone.
2013-08-05fix this megashitcinap_lenrek
2013-08-05mergecinap_lenrek
2013-08-05cwfs: rollback last changecinap_lenrek
the ref qlock is required to keep requests in order for flushes, sorry.
2013-08-05cwfs: remove reflockcinap_lenrek
queues allow multiple readers, reflock seems unneccesary.
2013-08-04cwfs: faster queue implementation using semacquire()cinap_lenrek
2013-08-04rio: add ^B control sequence to move cursor to output pointcinap_lenrek
2013-08-04apply richard millers arm debug fixes (from sources)cinap_lenrek
From richard: A couple of patches applied yesterday should make debugging on ARM a bit more reliable. Using db or acid on ARM, you may have noticed that a program being debugged would sometimes execute through a breakpoint without stopping, or run away while being single stepped. It turns out, as often happens, that one symptom had two separate causes. For details: /n/sources/patch/applied/5db-condcode/readme /n/sources/patch/applied/arm-bkpt-cond/readme To take advantage of the patches, rebuild libmach.a, then acid and db. On machines with a kw kernel (sheevaplug et al), you'll also want to rebuild /arm/9plug; otherwise breakpoints will stop working at all. The new 9plug will, however, still work with the old libmach; and the bcm and teg2 kernels are already compatible with the new libmach.
2013-08-04dns: ignore spam addresses from cname answerscinap_lenrek
2013-08-03page: maintain a lru list and do unloading from oldest to newestcinap_lenrek
2013-08-03libhtml: handle ' character referencecinap_lenrek
the ' is not strickly html, but can appear in xhtml files.
2013-08-03page: use less aggressive read ahead and keep track of image memory allocationcinap_lenrek
2013-08-02do not limit kernelpercent IFF *imagemaxmb= is used on a cpu servercinap_lenrek
the heuristics that limits kernel memory on a cpu server to a fixed amout (64MB + size for page tables) makes using devdraw impractical. if *imagemaxmb= is specified, we can assume that the draw device will be used so we want to get a reasonable amount (30% default) of kernel memory.
2013-08-02inst: remove systype step. system will be terminal with a disk after ↵cinap_lenrek
installation.
2013-08-02mergecinap_lenrek
2013-08-02smtp: fix -t flagcinap_lenrek
2013-07-31tcp993: we're not plan9.bell-labs.comstanley lieber
2013-07-30add /lib/brstanley lieber
2013-07-30ether82567: determine phy number by probing phy id registerscinap_lenrek
link status not working on 82567 was due to wrong phy number used. instead of hardcoding the phy numbers, probe the phys by reading id1 and id2 registers (code stolen from ethermii).