cinap_lenrek
b5659c0977
libdraw: avoid moving cursor if we dont have to for menuhit
...
depending on the font, poping the menu would move your cursor
one pixel down each time (due to division). this is annoying
when using a trackpoint and trying to repeat some operation
over 9000 times.
the cursor should only be moved when the menu is repositioned
to contain it on the screen.
2013-06-18 23:23:41 +02:00
cinap_lenrek
d7c7c7e4b3
devsrv, devshr: wstat permissions
...
update permissions last in wstat so it will only get changed when there was
no error.
2013-06-18 22:09:40 +02:00
cinap_lenrek
4b9845d942
devshr: fix wstat, style
...
- same problem with wstat, if we error then owner has been already updated...
- avoid smalloc while holding qlock in wstat, do it before
- pikeshedd style...
2013-06-18 22:02:07 +02:00
cinap_lenrek
b302cc1097
devsrv: fix wstat(), srvname(), avoid smalloc() while holding srv qlock, style
...
- wstat would half update the Srv data structure if name was too long
- srvname() walked the linked srv list without holding srv qlock
- dont access sp->chan while not holding srv qlock in srvopen()
- dont modify sp->owner while not holding srv qlock in srvcreate()
- avoid smalloc() allocations while holding srv qlock
- style pikeshedding, sorry
2013-06-17 21:58:38 +02:00
cinap_lenrek
9369f83bcd
page: use resizewin() to change window size for gif display
...
resizewin() has some extra logic making sure the rect doesnt get too big.
rio would otherwise refuse to create the window and the operation will fail
completely.
2013-06-17 08:05:04 +02:00
ppatience0
89ed97aaa2
nusb/ether: call sysfatal if dev is nil
2013-06-16 20:37:51 -04:00
cinap_lenrek
bf048d94c3
ip/ethermedium: drop short packets instead of producing negative size blocks
...
on usb ethernet, it can happen that we read truncated packets smaller
than the ethernet header size. this produces a warning in pullupblock()
later like: "pullup negative length packet, called from 0xf0199e46"
2013-06-17 02:28:10 +02:00
cinap_lenrek
202be57bb9
draw: add badrect() function to reject zero, negative size or orverly huge rectangles
...
not checking the rectangle dimensions causes integer overflows
and memory corruption. adding a new badrect() function that checks
for these cases.
2013-06-16 19:01:46 +02:00
cinap_lenrek
e36d9f5c4e
make filesystem handling of read9pmsg() consistent
2013-06-16 06:26:31 +02:00
cinap_lenrek
d84aeddee7
devmnt: add debug print for convS2M failing, suspecting this causing zero length writes
2013-06-16 06:16:43 +02:00
cinap_lenrek
389f457505
paint: limit zoom to 12 steps
2013-06-16 03:23:41 +02:00
cinap_lenrek
0d1801902d
wpa: fix bug
2013-06-16 01:20:35 +02:00
cinap_lenrek
4be3d64abb
crop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)
2013-06-16 01:11:51 +02:00
cinap_lenrek
56073b7381
libmemdraw: fix drawing to color mapped with alpha chan (m8a8)
2013-06-16 00:39:31 +02:00
cinap_lenrek
4cbfe26da4
abaco: allow single quotes for ctype attribute (thanks plhk)
...
plhk9 → abaco: charset 'utf-8'> not supported
plhk9 → http://plhk.ru/trash/abaco-singlequote.diff makes it go away
2013-06-16 22:43:09 +02:00
cinap_lenrek
3d581e8b72
page: 12 zoom levels should be enougth
...
making zoom too big just causes pagesize() multiplication to overflow
passing bogus rectangles to allocimage().
2013-06-15 21:09:27 +02:00
cinap_lenrek
4cf627a131
wpa: automatically pick cipher suits from beacon rsne
2013-06-15 19:02:17 +02:00
cinap_lenrek
0a7e9ba1f5
rdbfs: add -s srvname (from charles forsyth's rdbfs-srvname patch)
...
Add a -s srvname option to rdbfs, allowing debugging sessions to be shared
or later reattached after disconnection.
2013-06-14 23:28:59 +02:00
cinap_lenrek
c198a557d9
lpdaemon: fix bogus string termination (from sources)
2013-06-14 23:22:57 +02:00
cinap_lenrek
2e0fac766c
ndb/cs, ndb/dns: ignore special commands from users different from the one we run the service owner
...
this prevents users like "none" from toggling special options in ndb/dns
and ndb/cs.
2013-06-14 19:20:06 +02:00
cinap_lenrek
249915c379
pool: use splaying to balance free node tree
...
use splaytree algorithm to balance the tree of free allocations
as an optimization. the data structures are unchanged by this
optimization.
2013-06-14 17:31:04 +02:00
cinap_lenrek
12853d3ba8
merge
2013-06-13 20:08:17 +02:00
jpathy
166da952f4
fpiarm: condok() verfiy before specialop() omap/kw
2013-06-14 23:42:30 +05:30
cinap_lenrek
38d18342a9
merge
2013-06-12 19:39:02 +02:00
cinap_lenrek
c1b55b0328
libmach: add EMMS for disassembly (8db.c, thanks mischief)
2013-06-12 19:38:14 +02:00
stanley lieber
3b4243aa4d
fortunes: When Do Apps Become Rituals?
2013-06-12 13:26:25 -04:00
cinap_lenrek
f982f8b00b
merge
2013-06-12 19:07:47 +02:00
cinap_lenrek
646eb150e1
smtp: add SMTPS support (-t)
2013-06-12 23:39:41 +02:00
jpathy
4b79c8f86f
Remove unused fpemu function in omap, kw
2013-06-12 01:17:49 +05:30
jpathy
9f949e3cd3
ARM: kernel: add vfp emulator to bcm, teg2, omap, kw
2013-06-12 01:11:41 +05:30
jpathy
f166778ce3
5e: vfp support
2013-06-11 00:30:16 +05:30
cinap_lenrek
0dbde06bc7
merge with jpathy
2013-06-10 20:43:35 +02:00
jpathy
de46340848
ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction
2013-06-10 18:07:16 +05:30
cinap_lenrek
408f1beaa2
merge
2013-06-10 01:13:56 +02:00
cinap_lenrek
dfb0bf24b3
acid: fix dumptree() acid function to work in kernel debug, update malloc.acid and pool.acid files
2013-06-10 01:13:21 +02:00
cinap_lenrek
177c175fda
kernel: allow sysr1 debugging only for hostowner
2013-06-10 01:09:52 +02:00
ppatience0
151e756195
hgignore: ignore stuff in /lib/rfc
2013-06-09 11:16:33 -04:00
ppatience0
d1b9c8c69f
grabrfc: create /lib/rfc/drafts if it doesn't exist yet
2013-06-09 10:57:12 -04:00
cinap_lenrek
686f9fa1db
page: handle interrupt note
2013-06-09 01:51:19 +02:00
cinap_lenrek
c9e79c27a6
page: exit on kill note
2013-06-09 01:36:45 +02:00
cinap_lenrek
667abe102c
merge
2013-06-08 23:54:47 +02:00
cinap_lenrek
b38d197995
ape: fix _main stack setup for arm (_privates and _errnoloc was inside argv)
2013-06-08 23:53:28 +02:00
aiju
1f52da20a2
bitcoin stuff
2013-06-07 19:43:40 +02:00
cinap_lenrek
4e81aab690
libaml: create \_GL name object
2013-06-07 18:34:28 +02:00
cinap_lenrek
62f6d1bc43
no need to disable fpu in execregs, this is done in procsetup() already
2013-06-07 18:04:59 +02:00
cinap_lenrek
f0c9bb979f
archacpi: handle multiple SSDT tables
...
we cannot assume theres only one instance of an acpi table. some
bios have multiple SSDT tables and we would only find the first
one.
now, we keep a second array to record the physical address of
the table visited by maptable(). load all instances to the
SSDT.
2013-06-07 18:03:44 +02:00
ppatience0
a5488ad1e6
plan9.ini(8): typo
2013-06-05 19:11:41 -04:00
cinap_lenrek
06ec2ffac6
cifs(4): default method is ntlmv2, fix formatting
2013-06-05 20:35:09 +02:00
cinap_lenrek
be351877f2
remove iwl-firmware download script, this should be a package
2013-06-05 20:34:04 +02:00
mveety
b014e2c479
added a script to automate downloading and installing of iwl firmware
2013-06-04 12:52:18 -04:00