]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
10 years agoreverting semaphore lock changes from sources (r41ccd6d221da, rb28756e5ba29)
cinap_lenrek [Thu, 26 Sep 2013 20:24:31 +0000 (22:24 +0200)]
reverting semaphore lock changes from sources (r41ccd6d221da, rb28756e5ba29)

semaphore locks have much higher overhead than initially presented
in the "Semaphores in Plan9" paper. until the reason for it has been
found out i will revert the changes.

10 years agodevproc: check for p->dot == nil, run closeproc with up->dot = up->slash
cinap_lenrek [Sun, 22 Sep 2013 17:49:59 +0000 (19:49 +0200)]
devproc: check for p->dot == nil, run closeproc with up->dot = up->slash

p->dot can be nil when process exits (see pexit())

set closeprocs dot to up->slash so it will show up
right in devproc.

10 years agoaudiohda: vmware support (thanks dreadlorde)
cinap_lenrek [Sun, 22 Sep 2013 16:26:52 +0000 (18:26 +0200)]
audiohda: vmware support (thanks dreadlorde)

10 years agomkfs(8): also list -U option in table
cinap_lenrek [Sun, 22 Sep 2013 01:30:04 +0000 (03:30 +0200)]
mkfs(8): also list -U option in table

10 years agorootstub: create directories for mips
cinap_lenrek [Sat, 21 Sep 2013 19:21:18 +0000 (21:21 +0200)]
rootstub: create directories for mips

10 years agomerge
cinap_lenrek [Sat, 21 Sep 2013 18:06:53 +0000 (20:06 +0200)]
merge

10 years agoape: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)
cinap_lenrek [Sat, 21 Sep 2013 17:55:52 +0000 (19:55 +0200)]
ape: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)

10 years agolibc: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)
cinap_lenrek [Sat, 21 Sep 2013 17:53:27 +0000 (19:53 +0200)]
libc: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)

spinlocks have been changed to use the new semacquire/semrelease
syscalls in combination with atomic compare and swap operations.

10 years agotcs: add html5 rune entities
cinap_lenrek [Sat, 21 Sep 2013 20:17:40 +0000 (22:17 +0200)]
tcs: add html5 rune entities

10 years agohget(1): usage for webpaste
cinap_lenrek [Fri, 20 Sep 2013 15:46:25 +0000 (17:46 +0200)]
hget(1): usage for webpaste

10 years agopushssl(2), pushtls(2): clarify filedescriptor closing
cinap_lenrek [Fri, 20 Sep 2013 15:44:14 +0000 (17:44 +0200)]
pushssl(2), pushtls(2): clarify filedescriptor closing

10 years agomerge
cinap_lenrek [Fri, 20 Sep 2013 15:41:51 +0000 (17:41 +0200)]
merge

10 years agohpost: dont emit /bin/hpost but just hpost
cinap_lenrek [Fri, 20 Sep 2013 15:39:33 +0000 (17:39 +0200)]
hpost: dont emit /bin/hpost but just hpost

just emiting "hpost" makes it simpler to override it as a
rc function.

10 years agorename /rc/bin/ok to /rc/bin/webpaste
stanley lieber [Fri, 20 Sep 2013 15:32:42 +0000 (11:32 -0400)]
rename /rc/bin/ok to /rc/bin/webpaste

10 years agoacid: handle buffer overflow with ridiculous long symbol names (thanks mischief)
cinap_lenrek [Fri, 20 Sep 2013 14:02:10 +0000 (16:02 +0200)]
acid: handle buffer overflow with ridiculous long symbol names (thanks mischief)

go seems to accidently creates ridiculous long symbol names
causing acid to crash.

10 years agomerge
cinap_lenrek [Fri, 20 Sep 2013 13:00:49 +0000 (15:00 +0200)]
merge

10 years ago5c: apply richard millers 5c-nan-cmp patch (from sources)
cinap_lenrek [Fri, 20 Sep 2013 12:58:43 +0000 (14:58 +0200)]
5c: apply richard millers 5c-nan-cmp patch (from sources)

On ARM, it turns out that comparisons with NaN can be made to do the
right thing with no code penalty, by a more careful selection of
condition code values in the subsequent conditional branch.  The
meaning of the CC bits in the PSR is subtly different when they've
been copied from the floating point status register.

Suggested patch is 5c-nan-cmp (works on both vfp and emulated arm7500).

10 years agorc-httpd(8): fix typo (thanks, _trav)
stanley lieber [Fri, 20 Sep 2013 07:09:40 +0000 (03:09 -0400)]
rc-httpd(8): fix typo (thanks, _trav)

10 years agopkg(1): fix for plan9.bell-labs.com; update repository list
stanley lieber [Wed, 18 Sep 2013 19:25:18 +0000 (15:25 -0400)]
pkg(1): fix for plan9.bell-labs.com; update repository list

10 years agoadd /rc/bin/ok, tool for okturing.com pastebin
stanley lieber [Wed, 18 Sep 2013 19:03:50 +0000 (15:03 -0400)]
add /rc/bin/ok, tool for okturing.com pastebin

10 years agofaces: fix callerpc for realloctag in erealloc (thanks qrstuv)
cinap_lenrek [Wed, 18 Sep 2013 07:53:20 +0000 (09:53 +0200)]
faces: fix callerpc for realloctag in erealloc (thanks qrstuv)

10 years agolibevent: drop queued mouse events
cinap_lenrek [Tue, 17 Sep 2013 23:54:22 +0000 (01:54 +0200)]
libevent: drop queued mouse events

the changeset r541ead66e8af:

"libdraw: make ebread() return buffer immidiately if available"

makes mouse sluggish when the program cant keep up as mouse
events queue up. this more or less restores the original
behaviour but only for mouse events.

10 years agokernel: reset up->setargs on sysexec(), fix race with devproc
cinap_lenrek [Tue, 17 Sep 2013 23:07:06 +0000 (01:07 +0200)]
kernel: reset up->setargs on sysexec(), fix race with devproc

up->setargs wasnt reset in sysexec(). also, up->args should only
be exchanged/freed under up->debug qlock. otherwise double free
could happen.

10 years agoether8169, etherdp83820, ethervt6102: fix snprint READSTR bugs (thanks pap)
cinap_lenrek [Tue, 17 Sep 2013 01:08:32 +0000 (03:08 +0200)]
ether8169, etherdp83820, ethervt6102: fix snprint READSTR bugs (thanks pap)

should probably use seprint() instead.

10 years agorio: translate window when scaling results in bad window rect on screen resize
cinap_lenrek [Mon, 16 Sep 2013 23:30:35 +0000 (01:30 +0200)]
rio: translate window when scaling results in bad window rect on screen resize

when the screen is resized, we scale the windows to
match the new screen size. when the screen is too
small tho, the scaled down window rect might result
in a bad window rect. before, we kept the window
in its original position and size making it possible
to move a window out of the screen by resizing its
outer rio.

now, if we get a bad rectangle after scaling, we
just tralslate position to the new scaled r.min
point but preserve its orginal size. this keeps
the window always accessible.

10 years agofaces: fix minor image memory leak
cinap_lenrek [Mon, 16 Sep 2013 22:45:11 +0000 (00:45 +0200)]
faces: fix minor image memory leak

10 years agorio: fix Xfidwrite memory leak on flush
cinap_lenrek [Mon, 16 Sep 2013 15:28:49 +0000 (17:28 +0200)]
rio: fix Xfidwrite memory leak on flush

10 years agoapm: fix wrong segment load, zero segment registers
cinap_lenrek [Mon, 16 Sep 2013 14:23:51 +0000 (16:23 +0200)]
apm: fix wrong segment load, zero segment registers

we loaded APMDSEG instead of APMDSEL into DS. (ouch!)

its not really clear why we loaded DS (wong) in the
first place as bios is supposed to do this. for the
machines where this worked it could have no effect
anyway because it was wrong so removing the DS load
and just zero all segment registers.

10 years agolibauth: add sanity check for auth_proxy write size
cinap_lenrek [Mon, 16 Sep 2013 01:56:53 +0000 (03:56 +0200)]
libauth: add sanity check for auth_proxy write size

10 years agoaux/statusbar, aux/statusmsg: dont fork in background for window, cleanup
cinap_lenrek [Mon, 16 Sep 2013 00:10:18 +0000 (02:10 +0200)]
aux/statusbar, aux/statusmsg: dont fork in background for window, cleanup

10 years agoe820: handle duplicate and overlapping e820 entries, handle overflows
cinap_lenrek [Mon, 16 Sep 2013 21:36:06 +0000 (23:36 +0200)]
e820: handle duplicate and overlapping e820 entries, handle overflows

new algorithm:

sort entries by top address first. then for each entry we use:

base = max(base, last)

so we'll never map the same addresses twice.

10 years agokbdfs: set exit status
cinap_lenrek [Sun, 15 Sep 2013 14:22:21 +0000 (16:22 +0200)]
kbdfs: set exit status

10 years agonusb/serial: set exit status
cinap_lenrek [Sun, 15 Sep 2013 14:21:43 +0000 (16:21 +0200)]
nusb/serial: set exit status

10 years agovncs: fix cmdpid fork bug
cinap_lenrek [Sun, 15 Sep 2013 14:04:32 +0000 (16:04 +0200)]
vncs: fix cmdpid fork bug

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.

10 years agovncv: fix missing free for window label
cinap_lenrek [Sun, 15 Sep 2013 13:14:12 +0000 (15:14 +0200)]
vncv: fix missing free for window label

10 years agoupas/fs: fix potential filedescriptor leaks
cinap_lenrek [Sun, 15 Sep 2013 12:45:57 +0000 (14:45 +0200)]
upas/fs: fix potential filedescriptor leaks

10 years agopmmc: add support for Ricoh 5U23 SD/MMC controller
cinap_lenrek [Sat, 14 Sep 2013 23:24:08 +0000 (01:24 +0200)]
pmmc: add support for Ricoh 5U23 SD/MMC controller

10 years agotls: fix various tlsClient()/tlsServer() related bugs
cinap_lenrek [Sat, 14 Sep 2013 17:19:08 +0000 (19:19 +0200)]
tls: fix various tlsClient()/tlsServer() related bugs

- 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)

10 years agoacme: use threadexitsall() to tear down mouse and keyboard procs on error
cinap_lenrek [Wed, 11 Sep 2013 19:23:45 +0000 (21:23 +0200)]
acme: use threadexitsall() to tear down mouse and keyboard procs on error

10 years agopci: fix compiler warning about unused variables
cinap_lenrek [Sun, 8 Sep 2013 22:51:36 +0000 (00:51 +0200)]
pci: fix compiler warning about unused variables

10 years agomp/pci: msi support for hypertransport platform
cinap_lenrek [Sun, 8 Sep 2013 22:44:08 +0000 (00:44 +0200)]
mp/pci: msi support for hypertransport platform

10 years agodossrv(4): remove reference to a:, b:, c:, d: and 9fat:
cinap_lenrek [Sun, 8 Sep 2013 18:59:09 +0000 (20:59 +0200)]
dossrv(4): remove reference to a:, b:, c:, d: and 9fat:

10 years agocpu, ratrace, trace: remove unused #include <bio.h>
cinap_lenrek [Sun, 8 Sep 2013 18:34:58 +0000 (20:34 +0200)]
cpu, ratrace, trace: remove unused #include <bio.h>

10 years agomd5sum, srv: remove unused #include <bio.h>
cinap_lenrek [Sun, 8 Sep 2013 17:52:44 +0000 (19:52 +0200)]
md5sum, srv: remove unused #include <bio.h>

10 years agomerge
cinap_lenrek [Sun, 8 Sep 2013 17:30:27 +0000 (19:30 +0200)]
merge

10 years agosha1sum: remove unused #include <bio.h> (thanks BurnZeZ)
cinap_lenrek [Sun, 8 Sep 2013 17:25:55 +0000 (19:25 +0200)]
sha1sum: remove unused #include <bio.h> (thanks BurnZeZ)

10 years agofortunes: "Not here, not here the darkness, in this twittering world." -- T.S. Eliot
stanley lieber [Sun, 8 Sep 2013 02:48:28 +0000 (22:48 -0400)]
fortunes: "Not here, not here the darkness, in this twittering world." -- T.S. Eliot

10 years agoarchacpi: make pcibusno() work on non pci bridges (fixes pciaddr()), distribute irqs...
cinap_lenrek [Sun, 8 Sep 2013 00:33:25 +0000 (02:33 +0200)]
archacpi: make pcibusno() work on non pci bridges (fixes pciaddr()), distribute irqs in setuplink(), remove debug prints

10 years agoacme: avoid useless tagline/window redraw if not needed
cinap_lenrek [Sat, 7 Sep 2013 18:07:00 +0000 (20:07 +0200)]
acme: avoid useless tagline/window redraw if not needed

window resize is only neccesary if tagline changed.

10 years agomk: handle rc blocks in shell quote
cinap_lenrek [Sat, 7 Sep 2013 16:42:40 +0000 (18:42 +0200)]
mk: handle rc blocks in shell quote

this is so we cna handle:

foo = `{echo `{echo bar}}

thanks to erik and friedrich psiorz on 9fans for
bringing the issue up.

10 years agolibaml: fix formating
cinap_lenrek [Sat, 7 Sep 2013 14:22:35 +0000 (16:22 +0200)]
libaml: fix formating

10 years agolibaml: fix uninitialized variable in getle(), make amleval() work with buildin methods
cinap_lenrek [Sat, 7 Sep 2013 14:14:08 +0000 (16:14 +0200)]
libaml: fix uninitialized variable in getle(), make amleval() work with buildin methods

10 years agolibaml: use FP->env to access method arguments instead of FP->arg in evalosi()
cinap_lenrek [Sat, 7 Sep 2013 12:50:17 +0000 (14:50 +0200)]
libaml: use FP->env to access method arguments instead of FP->arg in evalosi()

10 years agoarchacpi: implement amldelay(), remove unused variable in setuplink()
cinap_lenrek [Sat, 7 Sep 2013 12:41:08 +0000 (14:41 +0200)]
archacpi: implement amldelay(), remove unused variable in setuplink()

10 years agolibaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch)
cinap_lenrek [Sat, 7 Sep 2013 12:40:24 +0000 (14:40 +0200)]
libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch)

export amldelay() for microsecond sleeps.

implement _OSI() method.

fix rwreg argument in evalload()

10 years agolibc: set malloctag for runesmprint()
cinap_lenrek [Fri, 6 Sep 2013 14:55:13 +0000 (16:55 +0200)]
libc: set malloctag for runesmprint()

10 years agoscram: remove amlalloc()/amlfree()
cinap_lenrek [Fri, 6 Sep 2013 14:54:02 +0000 (16:54 +0200)]
scram: remove amlalloc()/amlfree()

these are now part of libaml but can still be overridden
when needed.

10 years agoarchacpi: experimental handling of interrupt link devices, io access
cinap_lenrek [Fri, 6 Sep 2013 14:50:43 +0000 (16:50 +0200)]
archacpi: experimental handling of interrupt link devices, io access

10 years agolibaml: new io interface, add amlnew()/amltake()/amldrop(), late binding names, FindS...
cinap_lenrek [Fri, 6 Sep 2013 14:48:27 +0000 (16:48 +0200)]
libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding 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.

10 years agolibhtml: fix potential linked list corruption
cinap_lenrek [Wed, 4 Sep 2013 22:55:58 +0000 (00:55 +0200)]
libhtml: fix potential linked list corruption

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.

10 years agoabaco: fix memory leaks
cinap_lenrek [Wed, 4 Sep 2013 19:27:59 +0000 (21:27 +0200)]
abaco: fix memory leaks

10 years agolibhtml: fix memory leaks
cinap_lenrek [Wed, 4 Sep 2013 19:27:15 +0000 (21:27 +0200)]
libhtml: fix memory leaks

10 years agowebfs: add exits(0) to main()
cinap_lenrek [Tue, 3 Sep 2013 19:27:48 +0000 (21:27 +0200)]
webfs: add exits(0) to main()

10 years agolibhtml: fix double free of form action
cinap_lenrek [Mon, 2 Sep 2013 21:18:46 +0000 (23:18 +0200)]
libhtml: fix double free of form action

10 years ago9bootfat: always try plan9 partition even when not marked active, fix bug
cinap_lenrek [Sun, 1 Sep 2013 19:18:11 +0000 (21:18 +0200)]
9bootfat: always try plan9 partition even when not marked active, fix bug

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.

10 years agojpg(1), jpg: add -y flag to usage
ppatience0 [Sat, 31 Aug 2013 17:39:51 +0000 (13:39 -0400)]
jpg(1), jpg: add -y flag to usage

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

10 years agousbehci: portreset timing
cinap_lenrek [Fri, 30 Aug 2013 14:00:03 +0000 (16:00 +0200)]
usbehci: portreset timing

assert port reset for 50ms, not 10ms.

10 years agoremoved unused variable resize in wind.c
mveety [Thu, 29 Aug 2013 03:05:52 +0000 (23:05 -0400)]
removed unused variable resize in wind.c

10 years agoAdded the p9p acme patch the allows multiline tags (thanks rsc and lf94).
mveety [Thu, 29 Aug 2013 03:01:23 +0000 (23:01 -0400)]
Added the p9p acme patch the allows multiline tags (thanks rsc and lf94).

10 years agousbehci: fix portreset.
cinap_lenrek [Tue, 27 Aug 2013 17:01:41 +0000 (19:01 +0200)]
usbehci: fix portreset.

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.

10 years agoimap4d: apply djc's patch to fix search (from /n/sources/patch/imap4d-cistrcmp)
cinap_lenrek [Mon, 26 Aug 2013 22:34:17 +0000 (00:34 +0200)]
imap4d: apply djc's patch to fix search (from /n/sources/patch/imap4d-cistrcmp)

Fix SEARCH command in imap4d by replacing the cistrstr typo with cistrcmp.

10 years agodevproc: properly handle exclusive refcount for /proc/trace
cinap_lenrek [Tue, 27 Aug 2013 21:57:17 +0000 (23:57 +0200)]
devproc: properly handle exclusive refcount for /proc/trace

10 years agodevshr, devaudio: openmode()/devopen() error handling
cinap_lenrek [Tue, 27 Aug 2013 21:27:46 +0000 (23:27 +0200)]
devshr, devaudio: openmode()/devopen() error handling

10 years agodevmouse: fix openmode() handling
cinap_lenrek [Tue, 27 Aug 2013 21:26:30 +0000 (23:26 +0200)]
devmouse: fix openmode() handling

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.

10 years agodevkbd: fix wrong refcount on open error
cinap_lenrek [Tue, 27 Aug 2013 21:23:29 +0000 (23:23 +0200)]
devkbd: fix wrong refcount on open error

only decrement refcount when file was successfully opend
on clunk, fix refcount when devopen() errors.

10 years agoetheriwl: recover from rfkill toggle or firmware crash
cinap_lenrek [Sun, 25 Aug 2013 16:50:14 +0000 (18:50 +0200)]
etheriwl: recover from rfkill toggle or firmware crash

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.

10 years agonusb/ether: add aue driver for admtek pegasus usb ethernet adapter
ppatience0 [Sat, 24 Aug 2013 23:18:15 +0000 (19:18 -0400)]
nusb/ether: add aue driver for admtek pegasus usb ethernet adapter

10 years agousbehci, usbuhci: paranoia
cinap_lenrek [Sun, 25 Aug 2013 20:03:02 +0000 (22:03 +0200)]
usbehci, usbuhci: paranoia

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.

10 years ago2c(1), torrent(1), uhtml(1), kbd(3), cwfs(4), hgfs(4), cifsd(8), cryptsetup(8), hjfs...
stanley lieber [Fri, 23 Aug 2013 19:48:52 +0000 (15:48 -0400)]
2c(1), torrent(1), uhtml(1), kbd(3), cwfs(4), hgfs(4), cifsd(8), cryptsetup(8), hjfs(8), kbdfs(8), realemu(8), wpa(8): fix spelling, typos

10 years agoaudio(1), hget(1), nusb(4), page(1): fix spelling, typos
stanley lieber [Fri, 23 Aug 2013 15:27:30 +0000 (11:27 -0400)]
audio(1), hget(1), nusb(4), page(1): fix spelling, typos

10 years agowebfs(4): read the whole man page before committing corrections
stanley lieber [Fri, 23 Aug 2013 15:15:52 +0000 (11:15 -0400)]
webfs(4): read the whole man page before committing corrections

10 years agowebfs(4): fix typo
stanley lieber [Fri, 23 Aug 2013 15:07:59 +0000 (11:07 -0400)]
webfs(4): fix typo

10 years agowebfs(4): correct typo
stanley lieber [Thu, 22 Aug 2013 21:58:51 +0000 (17:58 -0400)]
webfs(4): correct typo

10 years agofortunes: seems that so much is up on the net, it is hard to comprehend it all.
stanley lieber [Thu, 22 Aug 2013 16:15:29 +0000 (12:15 -0400)]
fortunes: seems that so much is up on the net, it is hard to comprehend it all.

10 years agofile(1): recognize AAC audio files, from sources
stanley lieber [Thu, 22 Aug 2013 16:14:57 +0000 (12:14 -0400)]
file(1): recognize AAC audio files, from sources

10 years agowifi: remove pool.h include
cinap_lenrek [Tue, 20 Aug 2013 17:48:39 +0000 (19:48 +0200)]
wifi: remove pool.h include

10 years agorc: flush environment variables (update /env) before fork
cinap_lenrek [Tue, 20 Aug 2013 21:56:15 +0000 (23:56 +0200)]
rc: flush environment variables (update /env) before fork

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.

10 years agorio: position keyboard window (-k) at the bottom of the screen
cinap_lenrek [Tue, 20 Aug 2013 21:48:18 +0000 (23:48 +0200)]
rio: position keyboard window (-k) at the bottom of the screen

10 years agobitsy/keyboard: dont resize our own window
cinap_lenrek [Tue, 20 Aug 2013 21:36:04 +0000 (23:36 +0200)]
bitsy/keyboard: dont resize our own window

the resizing fails if run with rio in rio. dont try
to be too clever.

10 years agowpa: repeat rsne setup after deassociation (roamng between access points)
cinap_lenrek [Mon, 19 Aug 2013 14:07:07 +0000 (16:07 +0200)]
wpa: repeat rsne setup after deassociation (roamng between access points)

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.

10 years agofortunes: GitHub is down...uh...now what?
stanley lieber [Thu, 15 Aug 2013 16:12:26 +0000 (12:12 -0400)]
fortunes: GitHub is down...uh...now what?

10 years agolibsec: only send client cert when we have one (fix regression from r6e976b2004dd)
cinap_lenrek [Wed, 14 Aug 2013 22:29:42 +0000 (00:29 +0200)]
libsec: only send client cert when we have one (fix regression from r6e976b2004dd)

10 years agolibc: Prevent infinite recursion when modf is called with NaN or Inf argument. (apply...
cinap_lenrek [Wed, 14 Aug 2013 16:49:45 +0000 (18:49 +0200)]
libc: Prevent infinite recursion when modf is called with NaN or Inf argument. (apply richard millers / modf-nan patch from sources)

10 years agolibdraw: fix leftover processes or programs failing to restore window labels when...
cinap_lenrek [Tue, 13 Aug 2013 19:46:13 +0000 (21:46 +0200)]
libdraw: fix leftover processes or programs failing to restore window labels 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.

10 years agoresample: fix XRGB32 color channel handling
cinap_lenrek [Mon, 12 Aug 2013 17:28:10 +0000 (19:28 +0200)]
resample: fix XRGB32 color channel handling

10 years agoesd: enlightenment sound daemon
cinap_lenrek [Mon, 12 Aug 2013 01:43:42 +0000 (03:43 +0200)]
esd: enlightenment sound daemon

this program allows one to stream audio from linux/windows
to plan9 /dev/audio. sometimes handy to augment vnc sessions
with sound.

10 years agogames/doom: remove useless allocation of screen[0] buffer
cinap_lenrek [Sun, 11 Aug 2013 22:40:09 +0000 (00:40 +0200)]
games/doom: remove useless allocation of screen[0] buffer

screens 0-3 are already initialized by V_Init().

10 years agogames/juggle, games/catclock: keep up with queued mouse events
cinap_lenrek [Sun, 11 Aug 2013 22:08:51 +0000 (00:08 +0200)]
games/juggle, games/catclock: keep up with queued mouse events

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.

10 years agocatclock: protect black border with clip rectangle and dont print when window is...
cinap_lenrek [Mon, 12 Aug 2013 21:31:53 +0000 (23:31 +0200)]
catclock: protect black border with clip rectangle and dont print when window is too small

10 years agoether6105m: increase timeouts for Soekris 5501s (from sources)
cinap_lenrek [Sun, 11 Aug 2013 16:32:42 +0000 (18:32 +0200)]
ether6105m: increase timeouts for Soekris 5501s (from sources)