Commit graph

6625 commits

Author SHA1 Message Date
cinap_lenrek
83de8c0f5f authsrv: log message when no AES key is found for pak 2018-07-11 10:17:04 +02:00
qwx
4e04e03142 midi: properly skip sysex messages
this fixes playing any midi files containing such messages
example: prince of persia midis from vgmpf wiki
2018-07-10 23:26:17 +02:00
cinap_lenrek
24611cf5ed ndb/cs: add -6 flag for v6 only lookups and "ipv4" control message to toggle v4 lookups. 2018-07-10 19:57:55 +02:00
cinap_lenrek
a8a6429204 devip: make il connect fail quickly when theres no route 2018-07-10 09:11:19 +02:00
cinap_lenrek
9898aafa0c devip: don't pad the tag for routing commands (fixes removing routes with < 4 character tags) 2018-07-09 01:32:21 +02:00
Alex Musolino
8fd222c157 upas/smtp: use current login id in absence of -u option (as per man page) 2018-07-08 12:18:06 +09:30
Alex Musolino
259a31e59b upas/smtp: allow remote port to be set to something other than smtp (e.g. ssmtp) 2018-07-08 12:05:42 +09:30
cinap_lenrek
e181b7e405 kbdfs: handle mouse control (Kmouse, Kshift button swap) in parallel, bring back ^X form handling 2018-07-07 21:10:38 +02:00
cinap_lenrek
cc5d74262c vncs: silence devdraw debug prints 2018-07-07 17:11:51 +02:00
spew
77ca4e0056 ape: fix MAXSIG 2018-07-03 14:41:14 -04:00
spew
ede15f38e5 ape: remove getitimer setitimer implemenations 2018-07-03 12:28:05 -04:00
aiju
ac891003ea games/mines: add missing checks for UseGhost 2018-07-03 07:22:19 +00:00
spew
2e05af858e ape: improve setitimer 2018-07-01 23:35:23 -04:00
spew
91d0343627 ape: an implemenation of getitimer setitimer 2018-07-01 18:48:12 -04:00
cinap_lenrek
9dc907361c hgfs(4): fix typo (thanks piroko) 2018-06-28 20:14:43 +02:00
cinap_lenrek
899ec4d0b5 ssh: wait for remote channel close (thanks piroko) 2018-06-28 20:10:11 +02:00
23hiro
2f1b8246e2 Persist 'k' command in mothra and add matching -k flag (thanks piroko)
"I sometimes find myself on either slow or data-capped network links where downloading images isn't ideal. Attached is a simple patch to mothra that changes the 'k' command to not only remove already-downloaded images from a page, but also toggle a state such that mothra won't attempt to download images on future visited sites until 'k' is toggled again. This also adds a '-k' flag to mothra which enables the flag at startup." --Jeremy O'Brien<neutral@fastmail.com> on 9fans
2018-06-27 19:20:28 +02:00
cinap_lenrek
902eceee63 ndb/dns: fix encoding of srv record target
the target has to be encoded as a domain name (the individual
name components as separate labels followed by . (empty) label),
not as a literal string.

to disable compression, pass nil dictionary to pname().
2018-06-26 19:30:52 +02:00
qwx
deae5c854b mus: fix note volume and channel selection; simplify
- fix overwriting channel 10 with channel 9
- fix using channel volume instead of last volume when setting note
  (fixes d_doom and others)
- remove useless state
2018-06-26 10:35:23 +02:00
mischief
07b237b10c /sys/lib/dist/ndb/common: synchronize root servers and link to root hints source 2018-06-25 22:58:52 +00:00
cinap_lenrek
65e0e1c3e3 merge 2018-06-24 21:54:21 +02:00
cinap_lenrek
8f1eb1ac77 webfs: don't handle unknown status codes as continuations, reset status when handling continuation to avoid infinite loop 2018-06-24 21:52:17 +02:00
qwx
0da9e3a7f5 gba: handle 8bit writes to vram
ignore 8bit writes to obj and oam, and duplicate bits for bg and palette
memory, as per gbatek.

thanks aiju for helping with the implementation.
2018-06-22 14:49:18 +02:00
mischief
f554155ed0 stats(8): document -z flag (thanks xcko) 2018-06-22 02:02:46 +00:00
spew
55c122d59f ape: add strnlen 2018-06-21 11:56:37 -04:00
spew
3b376b43af ape: provide bogus chroot implementation 2018-06-20 22:19:37 -04:00
cinap_lenrek
8dd003eb04 devip: fix flush, copy tag when replacing route entry 2018-06-19 21:17:15 +02:00
Alex Musolino
1de2698dc8 play(1): handle file names containing consecutive spaces 2018-06-18 13:11:03 +09:30
spew
583c6d269b ape: add some common fields for stat, grp and pwd 2018-06-17 17:38:00 -04:00
cinap_lenrek
0763dd4279 zunq: add sdram driver 2018-06-14 21:54:42 +02:00
cinap_lenrek
4971db9e32 udp: fix udp checksum
we did not apply the special case to store 0xFFFF (-0)
in the checksum field when the checksum calculation
returned zero. we survived this for v4 as RFC768 states:

> If the computed checksum is zero, it is transmitted as
> all ones (the equivalent in one's complement arithmetic).
>
> An all zero transmitted checksum value means that the
> transmitter generated no checksum (for debuging or for
> higher level protocols that don't care).

for ipv6 however, the checksum is not optional and receivers
would drop packets with a zero checksum.
2018-06-14 20:48:21 +02:00
cinap_lenrek
39fb26df70 9pc, 9pc64: make mapalloc() and mapfree() static in memory.c 2018-06-14 20:22:34 +02:00
cinap_lenrek
5c87dfb9d5 merge 2018-06-14 01:12:46 +02:00
cinap_lenrek
a9a92cab48 stats: fix crash with -Y fag when window too narrow 2018-06-14 01:10:52 +02:00
cinap_lenrek
4d496b3c7a merge 2018-06-14 00:08:46 +02:00
cinap_lenrek
de9141bc6d devip: don't send arp requests from null address
during dhcp, ipconfig assigns the null address :: which makes
ipforme() return Runi for any destination, which can trigger
arp resolution when we attempt to reply. so have v4local()
skip the null address and have sendarp() check the return
status of v4local(), avoing the spurious arp requests.
2018-06-14 00:07:45 +02:00
cinap_lenrek
71ce6f53a4 devip: reject incompatible multicast/interface ip address pairs for ipifcaddmulti() 2018-06-13 18:58:17 +02:00
aiju
21a221129a sysinfo: minor formatting fix 2018-06-13 16:05:31 +01:00
qwx
e4b842056c emulators ui: don't drink and code 2018-06-13 14:14:25 +02:00
qwx
09c6120444 emulators ui: add option for fixed factor scaling and bound scale vertically 2018-06-13 14:05:19 +02:00
mischief
382c9ef92c stats: read cputemp as C, set scale max to 100 C 2018-06-13 11:59:14 +00:00
aiju
9fbce3b1b4 games/gb: attempt at fixing sprite priority 2018-06-13 09:52:41 +00:00
aiju
5d202d3456 games/gb: fix mbc5 register addressing (fixes warioland3 gamebreaking bug) 2018-06-13 09:26:55 +00:00
cinap_lenrek
8fdd633d57 devip: fix missing wunlock() for "ipifc not yet bound to device" case, don't create multicast entry on error 2018-06-12 20:31:39 +02:00
cinap_lenrek
55b73cbbbf ip/dhcp6d: don't drink and code 2018-06-12 19:50:04 +02:00
cinap_lenrek
b9b6fcd85f ip/dhcp6d: only announce all-dhcp-servers multicast address on interface with link-local address on it 2018-06-12 19:36:31 +02:00
cinap_lenrek
fca2c1cb31 /sys/src/mkfile: add libttf 2018-06-12 19:29:38 +02:00
Alex Musolino
1c862bd24e upas/nedmail: marshal(1) options -n and -8 are mutually exclusive 2018-06-12 20:04:16 +09:30
cinap_lenrek
232382bfc1 ip/dhcp6d: ignore short and from non-local source packets 2018-06-11 19:32:44 +02:00
cinap_lenrek
71402b2ea1 devip: fix use after free in ipifcremmulti()
closeconv() calls ipifcremmulti() like:

	while((mp = cv->multi) != nil)
		ipifcremmulti(cv, mp->ma, mp->ia);

so we have to defer freeing the entry after doing:

		if((lifc = iplocalonifc(ifc, ia)) != nil)
			remselfcache(f, ifc, lifc, ma);

which accesses the otherwise free'd ia and ma arguments.
2018-06-11 03:19:42 +02:00