Commit graph

6711 commits

Author SHA1 Message Date
stanley lieber 178bc8548a fortunes: I've been looking into running Plan 9 in JSLinux -- Skip Tavakkolian 2018-09-06 19:08:57 -04:00
mischief 46d49b5dd2 audio/libogg: nuke old libogg.au 2018-09-05 08:37:01 -07:00
cinap_lenrek 2e9835e771 vt: fix selection past baseline (thanks BurnZeZ) 2018-09-04 20:55:10 +02:00
cinap_lenrek 217e8a0619 vt: fix selrange() to recover whitespace indention 2018-09-03 22:37:45 +02:00
cinap_lenrek 676298b16b vt: get rid of "clear" menu entry, fix 24x80 resize, reset selection on setdim(), document snarf/plumb 2018-09-03 21:51:32 +02:00
cinap_lenrek 80cd634c4d vt: fix plumbsel(), snarfsel()
- plumbsel()
	- remove debug prints
	- use smalloc() to convert to bytes
	- fix spurious -1 close of plumb fd

- snarfsel()
	- fix rune buffer leak in open error case
2018-09-03 20:54:26 +02:00
cinap_lenrek de9aa721f6 vt: implement proper selections (thanks Ori_B)
Ori Bernstein wrote:
> I finally got around to taking another shot at this vt patch. This change
> gets rid of implicit snarfing, and instead makes selection the way you
> select text for snarfing or plumbing. Select, then use a menu entry.
>
> It would probably be nice to have double click to expand the selection,
> rio-style, along with plumbing implicitly taking the current word, but
> that can be a separate patch.
>
> This change also punts on scrolling for simplicity -- it clears the
> selection instead of trying to handle the cases where the selection
> goes offscreen.

little amendments:

- fix line selection (point min/max inversion)
- clear selection when switching linesel/blocksel
- move selection on scroll
2018-09-03 20:05:26 +02:00
cinap_lenrek 4596959f3b ndb(8): ndb/inform also publishes ipv6 address now 2018-09-01 15:11:46 +02:00
cinap_lenrek 5a2c3580fc ip/dhcpd: bring back interface address for arpenter()
the arp table is per interface, so it is possible to have the same
netwrok on multiple physical interfaces, tho with different source
ip address. one example would be a ethernet and a wlan interface.
the mac addresses on these mediums can differ (arp proxying taking
place).

so provide our source address on the interface we received the
request on.

the previous change used the ifcaddr; which is correct; but due to a
oversight in the kernel, had to match the ip of the arp entry.
source address will always work.
2018-09-01 15:08:40 +02:00
cinap_lenrek 4e61bc282c ip/dhcpd: add varargck pragma for warning() and fatal(), do syserr with %r format 2018-09-01 14:59:19 +02:00
cinap_lenrek 3fa5aaa1bc ip/ipconfig: add varargck pragma for warning() function 2018-09-01 14:53:38 +02:00
cinap_lenrek 2d9147a33c rtl8169: fix receive for nuc BOXNUC7CJYH 2018-08-31 22:39:46 +02:00
qwx 55e0fd6031 dmid: add support for midi streams
tested with a usb midi keyboard and a midi->usb adaptor
2018-08-31 18:01:21 +02:00
mischief 67b24e6dac nusbrc: add LG G5 for nusb/ether 2018-08-30 16:23:36 -07:00
cinap_lenrek 11d1947814 arp: interface address only specifies the interface, not the source address for route lookup 2018-08-30 21:17:54 +02:00
cinap_lenrek 590bed4bf8 merge 2018-08-30 00:05:00 +02:00
cinap_lenrek b863253879 ip/dhcpd: revert arpenter() changes 2018-08-30 00:03:07 +02:00
aiju 82559c3fdc shift-jis: add support for half-width kana 2018-08-28 05:56:29 +00:00
cinap_lenrek 5c945a0b48 devip: fix router adv/sol options validation (options padded to 8 bytes) 2018-08-27 20:58:48 +02:00
cinap_lenrek cff1ab5fdf ip/ipconfig: add missing {} as DEBUG() is a macro 2018-08-26 23:05:45 +02:00
cinap_lenrek c35027e03d ip/ipconfig: check for recvra 0 on timeout 2018-08-26 22:25:35 +02:00
cinap_lenrek 52b773d635 ip/dhcpd: reject bogus requests, handle multiple ether= attributes in ndb, cleanup
unless relay agent (gaddr) is specified, dhcp requests need to
taget a local ip address on the incoming interface or broadcast.

clients might have multiple ethernet interfaces, so we need to
check if any of the ether= attributes in ndb matches. this is
done by passing lookupip() the attribute name and a expected
value and if a match is found, set Info.indb = 1.

remove tohex(), use encodefmt instead. avoid dynamcic allocation.

include interface device in log messages.
2018-08-26 18:36:35 +02:00
cinap_lenrek 5c326d9f35 devvga: disable cursor on shutdown avoiding graphics glitches on reboot 2018-08-25 21:44:08 +02:00
cinap_lenrek 82c08a8a44 ip/dhcpd: handle multiple networks on the same interface, dont get confused by v6 interface address 2018-08-25 15:10:26 +02:00
mischief 4e938841f0 igfx: support blanking by turning off panel power and backlight
tested on t61, x200, x230, x301, t420, w520
2018-08-21 11:31:45 -07:00
Alex Musolino 0c7fe8ae06 mothra(1): fix formatting 2018-08-21 23:09:35 +09:30
mischief 3b7e03a30e lib: update pci database 2018-08-21 02:02:46 -07:00
cinap_lenrek 976d19960f vncs: fix uninterruptable temporary warning 2018-08-21 02:21:21 +02:00
cinap_lenrek b1b347a0f4 merge 2018-08-21 02:04:33 +02:00
cinap_lenrek 37cbd6b632 vncv: adjust window size on desktop resize, fix canresize checks 2018-08-21 02:02:50 +02:00
mischief 56a2263aae vncs: shut up used and not set warning 2018-08-20 12:51:29 -07:00
mischief e1907b41d3 hjfs: set group of new files to that of the parent directory (thanks umbraticus) 2018-08-20 12:48:06 -07:00
cinap_lenrek f8f677b48e merge 2018-08-20 19:25:58 +02:00
cinap_lenrek d2089f949e vncs: support for desktop resize extension, update devdraw 2018-08-20 19:23:42 +02:00
aiju 4a120a3816 fix unbounded recursion bug in hjfs 2018-08-20 14:26:19 +01:00
cinap_lenrek 670137bf0a devdraw: zero initialize DImage.dscreen pointer (vnc, drawterm) 2018-08-19 22:00:45 +02:00
cinap_lenrek c8a71691b4 vncs: fix mistake "screen" vs "gscreen", thanks eekee 2018-08-18 00:03:14 +02:00
cinap_lenrek d263134394 vncv: handle [] enclosed literal ipv6 addresses in host 2018-08-16 20:34:46 +02:00
cinap_lenrek 43636dbb7f ip/ipconfig: make ra6 daemon less chatty, log to /sys/log/ipconfig instead of /sys/log/v6routeradv 2018-08-15 21:54:42 -04:00
cinap_lenrek 415ad3e723 inst/startether: fix typo 2018-08-15 22:14:52 +02:00
cinap_lenrek cd752a39f8 ipv6 autoconfiguration on ethernet
for ip autoconfiguration, setup ipv6 link local addresses
and do SLAAC in parallel to DHCP.
2018-08-15 21:39:30 +02:00
cinap_lenrek ab4c0a012f ip/ipconfig: simplify by combining mklladdr() into mkclientid() 2018-08-12 22:39:44 +02:00
cinap_lenrek 9445f08788 ip/ipconfig: call mklladdr() to get conf.hwa initialized for ipv6 2018-08-11 16:19:32 +02:00
cinap_lenrek e49f7fc1f7 devip: fix multicastarp() when ipconfig assigned the 0 address
sending multicast was broken when ipconfig assigned the 0
address for dhcp as they would wrongly classified as Runi.

this could happen when we do slaac and dhcp in parallel,
breaking the sending of router solicitations.
2018-08-11 16:18:12 +02:00
mischief 831291e5dd sdloop(3): import sdloop driver (thanks erik) 2018-08-10 08:08:38 -07:00
mischief a8d747d994 valley: call srand so that actual random phrases are used 2018-08-10 07:46:13 -07:00
23hiro b989e691cf plan9.ini(8) iwlwifi essid/bssid misleading 2018-08-08 18:47:48 +02:00
23hiro 824b497fb3 turkey simplified timezone (thanks erkin from 9front ml) 2018-08-08 10:17:57 +02:00
cinap_lenrek 45ce4de650 nusb/ether: fix ethertype filtering 2018-08-07 23:46:58 +02:00
cinap_lenrek 445fc8e5a7 merge 2018-08-06 23:14:59 +02:00