summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-26resize: fix typomischief
2014-11-26astro: fix typomischief
2014-11-22games/md: fix interlace at scale 2cinap_lenrek
2014-11-22games/md: interlacing, sort ofaiju
2014-11-22audio(1): add mixfs to NAME sectioncinap_lenrek
2014-11-22pc, pc64: more conservative pciroutingcinap_lenrek
when we hit a conflict where the pci INTL register gives us a different irq than we get from southbridge irq router, dont just change the router setting to the bios assigned irq (that was previously known as the BIOS workarround), but assume the southbridge setting to be valid and change the pci INTL register on the device to it. only when the router link doesnt seem to be configured or disabled, then program the router to the irq that bios asisgned in the INTL register. the reason is that changing the router setting changes the irq routing for *all* devices on the same link and changing it breaks previously checked and valid interrupt routings. (so happend with virtualbox where the last device on the bus is some powermanagement device that has wrong INTL setting and changing the routing breaks the ethernet interrupts) this change shouldnt affect modern machines which use ioapic and mp tables or acpi for pci interrupt routing.
2014-11-20pc, pc64: preserve last KB of conventional memory (might contain bios tables)cinap_lenrek
we add new function convmemsize() that returns the size of *usable* conventional memory that does some sanity checking and reserves the last KB below the top of memory pointer. this avoids lowraminit() overriding potential bios tables and sigsearch() going off the rails looking for tables at above 640K.
2014-11-20games/snes: do message display in screenproccinap_lenrek
do the message drawing from the screenproc so there are no race conditions with libdraw.
2014-11-19games/md, games/snes: fix memory leak on resizecinap_lenrek
2014-11-19hjfs(8): theres no chown in plan9, link to chgrp(1) manpage.cinap_lenrek
2014-11-18games/snes: fix extern pic declaration to match realitycinap_lenrek
2014-11-18games/md: apply same screen flush changes from games/snescinap_lenrek
2014-11-18games/snes: flush screen in parallel to audio (fixes buffer underruns on x200s)cinap_lenrek
the x200s is too slow on a single core to keep up without audio buffer underruns, so the idea is to flush screen in parallel to witing audio samples in a separate process. with the proc, we also can keep updating the screen on resize when paused.
2014-11-17games/snes: save more audio stateaiju
2014-11-17audiohda: add pci ids for Intel 8 Series Lynx Point (thanks quux)cinap_lenrek
Based on OpenBSD driver: - /sys/dev/pci/azalia.c rev 1.209 - /sys/dev/pci/pcidevs rev 1.1689 - only tested on amd64; machine is an Acer V5-573G exact model: V5-573G-74518G1Takk
2014-11-17wpa: handle essid: with whitespaces from ether ifstats filecinap_lenrek
2014-11-17wpa: fix quoting for essid with spacescinap_lenrek
2014-11-16abaco: cleanup, handle image/x-icon, don't use backspace as a hotkey, and ↵BurnZeZ
remove urlconvience()/related functions
2014-11-16nintendo(1): NTSC onlyaiju
2014-11-16hpost: break up tags with newlines to avoid sed line buffer limitcinap_lenrek
2014-11-16sed: fix error handling for "Output line too long" and other stuffcinap_lenrek
sed just continued writing past genbuf when it should stop with "Output line too long". quit when we get unspecified options. stupid casts from long to char* for no reason. some 0 vs nil cleanup.
2014-11-15pc: get rid of fixed 8MB memory map (now dynamically between 4 to 16 MB ↵cinap_lenrek
depending on kernel size) we now do mapping of KZERO to ROUND(end, 4*MB) where end needs not to be above 16MB. this allows for bigger kernels.
2014-11-15pc64: get rid of fixed 8MB INIMAP and dynamically map KZERO-end in l.scinap_lenrek
traditionally, the pc kernel mapped the first 8MB of physical address space. when the kernel size grows beyond that memory mapping, it will crash on boot and theres no checking in the build process making sure it fits. with the pc64 kernel, it is not hard to always map the whole kernel memory image from KZERO to end[], so that the kernel will always fit into the initial mapping.
2014-11-15hpost: fix multipart/form variable name mangeling when field value contains ↵cinap_lenrek
newlines com='MH3U pic unrelated ' hpost -u ... -m post com:$com resulted in wrong field name like: --HJBOUNDARY Content-Disposition: form-data; name="com pic unrelated" MH3U pic unrelated
2014-11-14fortunes: (no plan9 to hand)stanley lieber
2014-11-14upas/fs: handle ramfs and hjfs "file locked" errorcinap_lenrek
2014-11-14upas/fs: handle cwfs "file is locked" error messagecinap_lenrek
2014-11-13ip: implement "hangup" ctl for udp protocolcinap_lenrek
2014-11-13kernel: make use of nil vs 0 consistent in qio.c (sorry)cinap_lenrek
2014-11-13rootstub: create /sys/src/pkg and /sys/lib/pkg directoriescinap_lenrek
2014-11-12httpfile(4): document webfs dependencycinap_lenrek
2014-11-12httpfile: use webfs, fix 9p flushescinap_lenrek
we can improve performance alot by using webfs which does http keep alives for us, so connection setup overhead is eleminated. fix 9p flushes and double frees.
2014-11-11nintendo(1): more detail about gbastanley lieber
2014-11-10nintendo(1): document games/gbastanley lieber
2014-11-10pc64: fix comment description of pc64 kernel configurationcinap_lenrek
2014-11-10ether8169: add support for RTL8411B (thanks quux)cinap_lenrek
from quux 9fans post: - based on the following changes in FreeBSD/OpenBSD: http://svnweb.freebsd.org/base?view=revision&revision=257305 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/re.c.diff?r1=1.144&r2=1.145&f=h http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/rtl81x9reg.h.diff?r1=1.76&r2=1.77&f=h http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/rtl81x9reg.h.diff?r1=1.83&r2=1.84&f=h - sysinfo _with_ patch, on amd64 (please disregard non-working audio and iwl stuff): http://sysinfo.9front.org/src/86/body - tested only on amd64; machine is an Acer V5-573G (exact model: V5-573G-74518G1Takk)
2014-11-10pc, pc64: command flag sometimes doesnt reset, just check for IBFcinap_lenrek
2014-11-10io: add -E flag to access embedded controller spacecinap_lenrek
2014-11-10mergecinap_lenrek
2014-11-10pc, pc64: provide access to embedded controller with #P/ec filecinap_lenrek
2014-11-09filter(1): fix typo i introducedmischief
this is a good example of why blindly copy-pasting patches is a bad idea.
2014-11-09kernel: remove implicit Proc* argument from procctl()cinap_lenrek
procctl() is always called with up and it would not work correctly if passed a different process, so remove the Proc* argument and use up directly.
2014-11-08dont flush screen when hiding software cursorcinap_lenrek
we can avoid some flickering when removing the software cursor from the shadow framebuffer by avoiding the flushscreenimage() call. once the cursor is redrawn, we flush the combined rect of its old and new position in one go.
2014-11-08smtpd: cleanup hello() domain check codecinap_lenrek
theres no point in doing domain checks on literal ip addresses, so handle that case early.
2014-11-08mergecinap_lenrek
2014-11-08smtpd: accept literal ipv6 addresses in HELO/EHLOcinap_lenrek
2014-11-07all: typo fixes from ray@raylai.commischief
2014-11-07Don't quit ircrc on blank line (thanks Ray)khm
2014-11-07fix dangerous werrstr() usagescinap_lenrek
werrstr() takes a format string as its first argument. a common error is to pass user controlled string buffers into werrstr() that might contain format string escapes causing werrstr() to take bogus arguments from the stack and crash. so instead of doing: werrstr(buf); we want todo: werrstr("%s", buf); or if we have a local ERRMAX sized buffer that we can override: errstr(buf, sizeof buf);
2014-11-07libc: import cleaned up syslog() function from sourcescinap_lenrek
this fixes a potential format string problem where the error string is passed to werrstr() as fmt. also, the directory comparsion is simplified in this version using a helper function.