cinap_lenrek
f811708ffc
ape: change tas/sleep locks to cas/semacquire/semrelease locks (from sources)
2013-09-21 19:55:52 +02:00
cinap_lenrek
3d05e77ca1
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.
2013-09-21 19:53:27 +02:00
cinap_lenrek
041e4852d2
tcs: add html5 rune entities
2013-09-21 22:17:40 +02:00
cinap_lenrek
0d41eadd03
hget(1): usage for webpaste
2013-09-20 17:46:25 +02:00
cinap_lenrek
65653a1840
pushssl(2), pushtls(2): clarify filedescriptor closing
2013-09-20 17:44:14 +02:00
cinap_lenrek
4e015eb5c7
merge
2013-09-20 17:41:51 +02:00
cinap_lenrek
91ce0a07ca
hpost: dont emit /bin/hpost but just hpost
...
just emiting "hpost" makes it simpler to override it as a
rc function.
2013-09-20 17:39:33 +02:00
stanley lieber
565a4d478e
rename /rc/bin/ok to /rc/bin/webpaste
2013-09-20 11:32:42 -04:00
cinap_lenrek
5e2478ccbb
acid: handle buffer overflow with ridiculous long symbol names (thanks mischief)
...
go seems to accidently creates ridiculous long symbol names
causing acid to crash.
2013-09-20 16:02:10 +02:00
cinap_lenrek
9c2fb9602d
merge
2013-09-20 15:00:49 +02:00
cinap_lenrek
539fe6990f
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).
2013-09-20 14:58:43 +02:00
stanley lieber
8aeb7a926e
rc-httpd(8): fix typo (thanks, _trav)
2013-09-20 03:09:40 -04:00
stanley lieber
25e5507c57
pkg(1): fix for plan9.bell-labs.com; update repository list
2013-09-18 15:25:18 -04:00
stanley lieber
4d9ce0fb3c
add /rc/bin/ok, tool for okturing.com pastebin
2013-09-18 15:03:50 -04:00
cinap_lenrek
171aafcc22
faces: fix callerpc for realloctag in erealloc (thanks qrstuv)
2013-09-18 09:53:20 +02:00
cinap_lenrek
8556b8dae1
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.
2013-09-18 01:54:22 +02:00
cinap_lenrek
34cd9dc4c4
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.
2013-09-18 01:07:06 +02:00
cinap_lenrek
8a7a6f778d
ether8169, etherdp83820, ethervt6102: fix snprint READSTR bugs (thanks pap)
...
should probably use seprint() instead.
2013-09-17 03:08:32 +02:00
cinap_lenrek
ad993a2618
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.
2013-09-17 01:30:35 +02:00
cinap_lenrek
2fd6c5e0f6
faces: fix minor image memory leak
2013-09-17 00:45:11 +02:00
cinap_lenrek
29f4de5f53
rio: fix Xfidwrite memory leak on flush
2013-09-16 17:28:49 +02:00
cinap_lenrek
15c7d856bc
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.
2013-09-16 16:23:51 +02:00
cinap_lenrek
b5aab82488
libauth: add sanity check for auth_proxy write size
2013-09-16 03:56:53 +02:00
cinap_lenrek
eee51d7720
aux/statusbar, aux/statusmsg: dont fork in background for window, cleanup
2013-09-16 02:10:18 +02:00
cinap_lenrek
c24dd620f9
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.
2013-09-16 23:36:06 +02:00
cinap_lenrek
c3a8711d12
kbdfs: set exit status
2013-09-15 16:22:21 +02:00
cinap_lenrek
f8cbd5d12f
nusb/serial: set exit status
2013-09-15 16:21:43 +02:00
cinap_lenrek
319bb17e1c
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.
2013-09-15 16:04:32 +02:00
cinap_lenrek
e220636fd3
vncv: fix missing free for window label
2013-09-15 15:14:12 +02:00
cinap_lenrek
474c2c8a2c
upas/fs: fix potential filedescriptor leaks
2013-09-15 14:45:57 +02:00
cinap_lenrek
1d4fff69c6
pmmc: add support for Ricoh 5U23 SD/MMC controller
2013-09-15 01:24:08 +02:00
cinap_lenrek
56836bfdbd
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)
2013-09-14 19:19:08 +02:00
cinap_lenrek
be5992955d
acme: use threadexitsall() to tear down mouse and keyboard procs on error
2013-09-11 21:23:45 +02:00
cinap_lenrek
6c5deb9b50
pci: fix compiler warning about unused variables
2013-09-09 00:51:36 +02:00
cinap_lenrek
8aff0e5be6
mp/pci: msi support for hypertransport platform
2013-09-09 00:44:08 +02:00
cinap_lenrek
058188117b
dossrv(4): remove reference to a:, b:, c:, d: and 9fat:
2013-09-08 20:59:09 +02:00
cinap_lenrek
699ea8bd1f
cpu, ratrace, trace: remove unused #include <bio.h>
2013-09-08 20:34:58 +02:00
cinap_lenrek
9fd0b3bad1
md5sum, srv: remove unused #include <bio.h>
2013-09-08 19:52:44 +02:00
cinap_lenrek
9e695e5321
merge
2013-09-08 19:30:27 +02:00
cinap_lenrek
eae48ac606
sha1sum: remove unused #include <bio.h> (thanks BurnZeZ)
2013-09-08 19:25:55 +02:00
stanley lieber
8c86eb0079
fortunes: "Not here, not here the darkness, in this twittering world." -- T.S. Eliot
2013-09-07 22:48:28 -04:00
cinap_lenrek
b8c0243773
archacpi: make pcibusno() work on non pci bridges (fixes pciaddr()), distribute irqs in setuplink(), remove debug prints
2013-09-08 02:33:25 +02:00
cinap_lenrek
0182cc9db8
acme: avoid useless tagline/window redraw if not needed
...
window resize is only neccesary if tagline changed.
2013-09-07 20:07:00 +02:00
cinap_lenrek
ebf2c5cd69
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.
2013-09-07 18:42:40 +02:00
cinap_lenrek
12596736e9
libaml: fix formating
2013-09-07 16:22:35 +02:00
cinap_lenrek
ad1edf7541
libaml: fix uninitialized variable in getle(), make amleval() work with buildin methods
2013-09-07 16:14:08 +02:00
cinap_lenrek
1b32bd5f0f
libaml: use FP->env to access method arguments instead of FP->arg in evalosi()
2013-09-07 14:50:17 +02:00
cinap_lenrek
dba77caa35
archacpi: implement amldelay(), remove unused variable in setuplink()
2013-09-07 14:41:08 +02:00
cinap_lenrek
cf166c3850
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()
2013-09-07 14:40:24 +02:00
cinap_lenrek
81618e61df
libc: set malloctag for runesmprint()
2013-09-06 16:55:13 +02:00