summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-15nusb/serial: set exit statuscinap_lenrek
2013-09-15vncs: fix cmdpid fork bugcinap_lenrek
we cannot do: cmdpid = rfork(... RFMEM); because cmdpid is a global variable in the data segment and hence shared between parent and child process. use a temporary variable on the stack.
2013-09-15vncv: fix missing free for window labelcinap_lenrek
2013-09-15upas/fs: fix potential filedescriptor leakscinap_lenrek
2013-09-15pmmc: add support for Ricoh 5U23 SD/MMC controllercinap_lenrek
2013-09-14tls: fix various tlsClient()/tlsServer() related bugscinap_lenrek
- TLSconn structure on stack but not initialized (zeroed) - original filedescriptor double closed in error case - original filedescriptor leaked in success case - leaked TLSconn.sessionID and TLSconn.cert - clarify in pushtls(2) and pushssl(2)
2013-09-11acme: use threadexitsall() to tear down mouse and keyboard procs on errorcinap_lenrek
2013-09-09pci: fix compiler warning about unused variablescinap_lenrek
2013-09-09mp/pci: msi support for hypertransport platformcinap_lenrek
2013-09-08dossrv(4): remove reference to a:, b:, c:, d: and 9fat:cinap_lenrek
2013-09-08cpu, ratrace, trace: remove unused #include <bio.h>cinap_lenrek
2013-09-08md5sum, srv: remove unused #include <bio.h>cinap_lenrek
2013-09-08mergecinap_lenrek
2013-09-08sha1sum: remove unused #include <bio.h> (thanks BurnZeZ)cinap_lenrek
2013-09-07fortunes: "Not here, not here the darkness, in this twittering world." -- ↵stanley lieber
T.S. Eliot
2013-09-08archacpi: make pcibusno() work on non pci bridges (fixes pciaddr()), ↵cinap_lenrek
distribute irqs in setuplink(), remove debug prints
2013-09-07acme: avoid useless tagline/window redraw if not neededcinap_lenrek
window resize is only neccesary if tagline changed.
2013-09-07mk: handle rc blocks in shell quotecinap_lenrek
this is so we cna handle: foo = `{echo `{echo bar}} thanks to erik and friedrich psiorz on 9fans for bringing the issue up.
2013-09-07libaml: fix formatingcinap_lenrek
2013-09-07libaml: fix uninitialized variable in getle(), make amleval() work with ↵cinap_lenrek
buildin methods
2013-09-07libaml: use FP->env to access method arguments instead of FP->arg in evalosi()cinap_lenrek
2013-09-07archacpi: implement amldelay(), remove unused variable in setuplink()cinap_lenrek
2013-09-07libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch)cinap_lenrek
export amldelay() for microsecond sleeps. implement _OSI() method. fix rwreg argument in evalload()
2013-09-06libc: set malloctag for runesmprint()cinap_lenrek
2013-09-06scram: remove amlalloc()/amlfree()cinap_lenrek
these are now part of libaml but can still be overridden when needed.
2013-09-06archacpi: experimental handling of interrupt link devices, io accesscinap_lenrek
2013-09-06libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding ↵cinap_lenrek
names, FindSetLeftBit/FindSetRightBit new io interface was added. user defines amlmapio() and amlunmapio() functions that will fill out Amlio structure with function pointers to read/write routines for a particular region. amlnew() function added allowing the creation of aml objects like buffers or packages. these can be passed to amleval() with b, p or * format. amltake()/amldrop() exclude an aml object from garbage collection. on load, names are not always resolvable until the whole table is loaded. for this, we create n objects that are just name strings. after load, we recursively traverse the namespace and resolve them (see fixnames()). the FindSetLeftBit and FindSetRightBit opcodes got implemened.
2013-09-05libhtml: fix potential linked list corruptioncinap_lenrek
the difficulty is freeing items while parsing because items might already be linked into various linked lists like in docinfo.images or form.fiels. so we link images, tables and formfields to the docinfo as the final step of getitems() pass using the new recursive function linkitems(). as only reachable items get linked theres no danger of dangeling pointers.
2013-09-04abaco: fix memory leakscinap_lenrek
2013-09-04libhtml: fix memory leakscinap_lenrek
2013-09-03webfs: add exits(0) to main()cinap_lenrek
2013-09-02libhtml: fix double free of form actioncinap_lenrek
2013-09-019bootfat: always try plan9 partition even when not marked active, fix bugcinap_lenrek
always look for 9fat in plan9 partition even tho the partition is *not* maked active. marking partitions active is not recommended anymore with grub so this makes life easier for some people. multiple plan9 partitions on a single drive is not supported. have to copy partition table as buf gets trashed when reading first block of fat partition. it worked only when the first fat partition found (the one marked active) was the right one, but conffat() can fail.
2013-08-31jpg(1), jpg: add -y flag to usageppatience0
png: colorspace will never be CYCbCr (this is no doubt from copy-pasting from jpg) tif: everyone else uses colorspace as a function argument, so we will too readtif, writetif: credit paul bourke
2013-08-30usbehci: portreset timingcinap_lenrek
assert port reset for 50ms, not 10ms.
2013-08-28removed unused variable resize in wind.cmveety
2013-08-28Added the p9p acme patch the allows multiline tags (thanks rsc and lf94).mveety
2013-08-27usbehci: fix portreset.cinap_lenrek
Port Reset R/W. 1=Port is in Reset. 0=Port is not in Reset. Default = 0. When software writes a one to this bit (from a zero), the bus reset sequence as defined in the USB Specification Revision 2.0 is started. Software writes a zero to this bit to terminate the bus reset sequence. Software must keep this bit at a one long enough to ensure the reset sequence, as specified in the USB Specification Revision 2.0, completes. Note: when software writes this bit to a one, it must also write a zero to the Port Enable bit. Note that when software writes a zero to this bit there may be a delay before the bit status changes to a zero. The bit status will not read as a zero until after the reset has completed.
2013-08-27imap4d: apply djc's patch to fix search (from /n/sources/patch/imap4d-cistrcmp)cinap_lenrek
Fix SEARCH command in imap4d by replacing the cistrstr typo with cistrcmp.
2013-08-27devproc: properly handle exclusive refcount for /proc/tracecinap_lenrek
2013-08-27devshr, devaudio: openmode()/devopen() error handlingcinap_lenrek
2013-08-27devmouse: fix openmode() handlingcinap_lenrek
openmode() can raise error with invalid mode passed, but we already incremented the exclusive mouse refcount at that point! call openmode() early to avoid this.
2013-08-27devkbd: fix wrong refcount on open errorcinap_lenrek
only decrement refcount when file was successfully opend on clunk, fix refcount when devopen() errors.
2013-08-25etheriwl: recover from rfkill toggle or firmware crashcinap_lenrek
spawn a kernel process to check the broken state of the controller. if the firmware crashed, or rfkill was toggled we will reset and reboot the firmware. also power down the card when rfkill is off.
2013-08-24nusb/ether: add aue driver for admtek pegasus usb ethernet adapterppatience0
2013-08-25usbehci, usbuhci: paranoiacinap_lenrek
double the td abort delay and make sure the tsleep() isnt shortened by a pending note. in that case, tsleep() would raise error(Eintr); immidiately and would not sleep the requested amount potentially cauing us to release active dma memory too early! so we wrap the tsleep() call in a while(waserror()) so we will at least wait the Abortdelay amount if error is raised. also, only try to idle the still active td's. do not copy data in epio() when there was an error, theres no reason to touch user buffer in that case. for uhci, we also check that theres not more data in the buffers than requested to avoid overflowing user buffer in epio(). this should not happen but we'r paranoid. for ehci, we also halt the queue head first in aborttds(). mark the queue heads as Qfree after unlinking and remove some silly nil checks that are impossible.
2013-08-232c(1), torrent(1), uhtml(1), kbd(3), cwfs(4), hgfs(4), cifsd(8), ↵stanley lieber
cryptsetup(8), hjfs(8), kbdfs(8), realemu(8), wpa(8): fix spelling, typos
2013-08-23audio(1), hget(1), nusb(4), page(1): fix spelling, typosstanley lieber
2013-08-23webfs(4): read the whole man page before committing correctionsstanley lieber
2013-08-23webfs(4): fix typostanley lieber