summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-08-22webfs(4): correct typostanley lieber
2013-08-22fortunes: seems that so much is up on the net, it is hard to comprehend it all.stanley lieber
2013-08-22file(1): recognize AAC audio files, from sourcesstanley lieber
2013-08-20wifi: remove pool.h includecinap_lenrek
2013-08-20rc: flush environment variables (update /env) before forkcinap_lenrek
on races... normal forks will all share the /env environment but not the in memory variables of rc. so when we would normally fork whoever does an exec (flush) first will override what the values of the /env variables are, *independent* of the variables that where actually modified *in* the process. when we flush *before* fork, then at least both processes start out with marked clean in memory variables and the processes will flush only the things they actually change.
2013-08-20rio: position keyboard window (-k) at the bottom of the screencinap_lenrek
2013-08-20bitsy/keyboard: dont resize our own windowcinap_lenrek
the resizing fails if run with rio in rio. dont try to be too clever.
2013-08-19wpa: repeat rsne setup after deassociation (roamng between access points)cinap_lenrek
the "auth" ctl command only sets the rsne of the current selected access point. so on deassociation, we wait for the connection to the potentially new access point and then setup new rsne before processing eapol messages.
2013-08-15fortunes: GitHub is down...uh...now what?stanley lieber
2013-08-15libsec: only send client cert when we have one (fix regression from ↵cinap_lenrek
r6e976b2004dd)
2013-08-14libc: Prevent infinite recursion when modf is called with NaN or Inf ↵cinap_lenrek
argument. (apply richard millers / modf-nan patch from sources)
2013-08-13libdraw: fix leftover processes or programs failing to restore window labels ↵cinap_lenrek
when receiving interrupt note fix the default note handler for event programs. only handle non system notes or notes in the slave processes. for interrupt in the main process, just call exits() which will do the cleanup and restore window label properly. this makes completely overriding the note handler in gping and stats uneccesary.
2013-08-12resample: fix XRGB32 color channel handlingcinap_lenrek
2013-08-12esd: enlightenment sound daemoncinap_lenrek
this program allows one to stream audio from linux/windows to plan9 /dev/audio. sometimes handy to augment vnc sessions with sound.
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