]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
5 years agoip/dhcpd: provide v4 argument for parseipmask()
cinap_lenrek [Mon, 11 Feb 2019 22:30:52 +0000 (23:30 +0100)]
ip/dhcpd: provide v4 argument for parseipmask()

5 years agoip/ipconfig: use new parseipandmask() function
cinap_lenrek [Mon, 11 Feb 2019 22:29:53 +0000 (23:29 +0100)]
ip/ipconfig: use new parseipandmask() function

5 years agolibndb: provide parseipmask() v4 argument in subnet(), use snprint() instead of sprint()
cinap_lenrek [Mon, 11 Feb 2019 22:28:43 +0000 (23:28 +0100)]
libndb: provide parseipmask() v4 argument in subnet(), use snprint() instead of sprint()

5 years agolibip: replace v4parsecidr() with new parseipandmask()
cinap_lenrek [Mon, 11 Feb 2019 22:26:57 +0000 (23:26 +0100)]
libip: replace v4parsecidr() with new parseipandmask()

we want to accept V4 subnets in CIDR notation consistently which
means we need to interpret the mask in context of the IP address.
so parseipmask() now has an additional v4 flag argument which
offsets the prefixlength by 96 so a /24 will be interpreted
as a /120.

parseipandmask() is the new function which handles this automatically
depending on the ip address type.

v4parsecidr() is now obsolete.

5 years agosegment(3): use bind -c in examples (thanks henesy)
cinap_lenrek [Fri, 8 Feb 2019 21:28:20 +0000 (22:28 +0100)]
segment(3): use bind -c in examples (thanks henesy)

5 years agocifs: merge with steve simons latest version. thank you very much!
cinap_lenrek [Tue, 5 Feb 2019 22:10:03 +0000 (23:10 +0100)]
cifs: merge with steve simons latest version. thank you very much!

5 years agocifs: fix pruning of . and .. directory entries (thanks steve simon)
cinap_lenrek [Tue, 5 Feb 2019 19:53:40 +0000 (20:53 +0100)]
cifs: fix pruning of . and .. directory entries (thanks steve simon)

steve wrote:

> I cam across a bug in cifs.
>
> An empty directory under windows 7 pro contains a single entry "." but it
> doesn't appear to contain "..". As a result "." is not removed on dirscan
> and plan9 gets when trying to traverse the hierarchy.

5 years agobcm: include sdmmc in pi kernel configuration
cinap_lenrek [Fri, 1 Feb 2019 22:31:44 +0000 (23:31 +0100)]
bcm: include sdmmc in pi kernel configuration

5 years agodevdraw: get rid of softscreen==0xa110c hack and make attachscreen() return Memdata*
cinap_lenrek [Wed, 30 Jan 2019 17:22:52 +0000 (18:22 +0100)]
devdraw: get rid of softscreen==0xa110c hack and make attachscreen() return Memdata*

all screen implementations use a Memimage* internally
for the framebuffer, so we can return a shared reference
to its Memdata structure in attachscreen() instead of
a framebuffer data pointer.

this eleminates the softscreen == 0xa110c hack as we
always use shared Memdata* now.

5 years agobcm: list devswap only once in devtab array
cinap_lenrek [Wed, 30 Jan 2019 17:05:04 +0000 (18:05 +0100)]
bcm: list devswap only once in devtab array

5 years agodevdraw: simplify drawgen()
cinap_lenrek [Mon, 28 Jan 2019 22:29:22 +0000 (23:29 +0100)]
devdraw: simplify drawgen()

5 years agodevip: tcp: Don't respond to FIN-less ACKs during TIME-WAIT (thanks Barret Rhoden)
cinap_lenrek [Sun, 27 Jan 2019 21:12:50 +0000 (22:12 +0100)]
devip: tcp: Don't respond to FIN-less ACKs during TIME-WAIT (thanks Barret Rhoden)

Under the normal close sequence, when we receive a FIN|ACK, we enter
TIME-WAIT and respond to that LAST-ACK with an ACK.  Our TCP stack would
send an ACK in response to *any* ACK, which included FIN|ACK but also
included regular ACKs.  (Or PSH|ACKs, which is what we were actually
getting/sending).

That was more ACKs than is necessary and results in an endless ACK storm
if we were under the simultaneous close sequence.  In that scenario,
both sides of a connection are in TIME-WAIT.  Both sides receive
FIN|ACK, and both respond with an ACK.  Then both sides receive *those*
ACKs, and respond again.  This continues until the TIME-WAIT wait period
elapses and each side's TCP timers (in the Plan 9 / Akaros case) shut
down.

The fix for this is to only respond to a FIN|ACK when we are in TIME-WAIT.

5 years agodhcpd(8), ndb(6): group related ndb attributes together
cinap_lenrek [Thu, 24 Jan 2019 19:30:14 +0000 (20:30 +0100)]
dhcpd(8), ndb(6): group related ndb attributes together

5 years agoip/dhcpd: remove undocumented dhcpgroup mechanism, group related ndb attributes together
cinap_lenrek [Thu, 24 Jan 2019 19:29:39 +0000 (20:29 +0100)]
ip/dhcpd: remove undocumented dhcpgroup mechanism, group related ndb attributes together

5 years agotroff: fix -ms mug (thanks aksr)
cinap_lenrek [Wed, 23 Jan 2019 20:28:22 +0000 (21:28 +0100)]
troff: fix -ms mug (thanks aksr)

Executing .KS after .1C exhibits a bug.
Instead on the next page, the text between .KS and .KE is shown at
the bottom of the page (where footnote would be).
To reproduce the bug: http://sprunge.us/xyCUX7

The bug can be fixed by changing two lines in tmac.s:

    if \\n(NX<1 .bp\}

to

    if \\n(NX<=1 .bp\}

and

    if \\n(NX<1 'bp\}
to

  if \\n(NX<=1 'bp\}

5 years agodhcpd(8), ndb(6): update documentation (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:58:52 +0000 (20:58 +0100)]
dhcpd(8), ndb(6): update documentation (thanks k0ga)

5 years agoip/dhcpd: send vendor ndb attribute if available (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:57:20 +0000 (20:57 +0100)]
ip/dhcpd: send vendor ndb attribute if available (thanks k0ga)

At this moment plan9 is using vendorinfo to communicate
some specific plan9 parameters, but there are some boards
that use this attribute to set specific values. This
patch allows netbooting of these boards using ndb attributes
instead of hard coded solutions in dhcpd(1). Vendor attribute
is used for that purpose because it is also used for the
same purpose in bootp.

5 years agoip/dhcpd: add rootserverip read in lookupip() (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:49:50 +0000 (20:49 +0100)]
ip/dhcpd: add rootserverip read in lookupip() (thanks k0ga)

Lookupip() was already reading rootpath, but it didn't read the
address of the rootserver.  As they are very related it makes sense to
read them at the same time.

This patch also fixes a typo, where vendorclass was used instead of
vendor, resulting that vendor ndb attribute was never used.

5 years agoip/dhcpd: change swap to rootserver (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:47:48 +0000 (20:47 +0100)]
ip/dhcpd: change swap to rootserver (thanks k0ga)

5 years agodevtls: remove static "already" flag in tlsinit(). this function is only run once.
cinap_lenrek [Tue, 22 Jan 2019 21:08:07 +0000 (22:08 +0100)]
devtls: remove static "already" flag in tlsinit(). this function is only run once.

5 years agodevswap: simplify, don't panic when writing swapfile fails
cinap_lenrek [Tue, 22 Jan 2019 21:06:42 +0000 (22:06 +0100)]
devswap: simplify, don't panic when writing swapfile fails

always start the pager kproc in swapinit(), simplifying kickpager().

allow zero conf.nswap and conf.nswppo. avoid allocating the reference
map and iolist arrays in that case.

use ulong for ioptr and iolist indices.

don't panic when writing pages out to the swapfile fails. just
requeue the page in the io transaction list so we will try
again next time executeio() is run or just free the page when
the swap reference was dropped.

remove unused pagersummary() function.

5 years agopc64: properly handle faulterror in faultamd64()
cinap_lenrek [Tue, 22 Jan 2019 20:55:20 +0000 (21:55 +0100)]
pc64: properly handle faulterror in faultamd64()

replicate what faulterror() would have done with up->nerrlab == 0,
that is, terminate the process.

5 years agoupas/fs: remove unused function pop3log
Alex Musolino [Tue, 22 Jan 2019 04:41:53 +0000 (15:11 +1030)]
upas/fs: remove unused function pop3log

5 years agomerge
aiju [Sun, 20 Jan 2019 11:55:31 +0000 (12:55 +0100)]
merge

5 years agorc: clear out redirections on "rfork F" (RFCFDG)
cinap_lenrek [Sun, 20 Jan 2019 11:02:03 +0000 (12:02 +0100)]
rc: clear out redirections on "rfork F" (RFCFDG)

rfork F closes all file descriptors, so we have to
invalidate the redirections as they are now refering
to closed files. not doing so causes the wrong file
descriptors being closed later on as the fd numbers
get reused.

5 years agodtracy: fix &&
aiju [Sun, 20 Jan 2019 03:07:10 +0000 (03:07 +0000)]
dtracy: fix &&

5 years agoether82563: fix bugus FCA write and link detection for i217
cinap_lenrek [Sun, 13 Jan 2019 16:17:11 +0000 (17:17 +0100)]
ether82563: fix bugus FCA write and link detection for i217

the FCA registers 0x28, 0x2C have been reassigned to
to FEXTNVM on i217, i218 and i219 so add Fnofca flag
and avoid writing the registers.

make link detection more robust on i217 by delaying the
phy status read after link status change by 150ms. we'd
otherwise get a "phy wedged" (power saving state?) and
not update the link status until the next link change.

5 years agoether82563: work arround spurious jumbo packets on i217 (thanks k0ga)
cinap_lenrek [Sat, 12 Jan 2019 20:07:12 +0000 (21:07 +0100)]
ether82563: work arround spurious jumbo packets on i217 (thanks k0ga)

i217 appears to receive spurious jumbo frame and then
stops receiving completely. reducing the mtu to 2k as
a work arround for now.

5 years ago/sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths (thanks...
cinap_lenrek [Sat, 12 Jan 2019 19:07:23 +0000 (20:07 +0100)]
/sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths (thanks Tobias Heinicke)

5 years agoether82563: use 9018 byte mtu from datasheet for i217, i218, i219
cinap_lenrek [Sat, 12 Jan 2019 18:37:37 +0000 (19:37 +0100)]
ether82563: use 9018 byte mtu from datasheet for i217, i218, i219

5 years agomerge
cinap_lenrek [Sat, 12 Jan 2019 14:35:50 +0000 (15:35 +0100)]
merge

5 years agoether82563, ether82598, etherx550: round rbsz to multiple of 1K
cinap_lenrek [Sat, 12 Jan 2019 14:34:23 +0000 (15:34 +0100)]
ether82563, ether82598, etherx550: round rbsz to multiple of 1K

the max packet size is configured in 1K increments on these chips,
which can result in the card receiving a 10K packet but the
driver having only allocated 9.5K of buffer. this actually caued
pool corruption with i210, i217, i218, i219, i350.

for 82598 and x550, we explicitely round rbsz to avoid similar bugs
in the future, even tho the Rbsz constant was already a multiple of
1K and is not affected by the bug.

5 years agotorrent: avoid trying to fetch blocks past file
qwx [Tue, 8 Jan 2019 12:22:09 +0000 (13:22 +0100)]
torrent: avoid trying to fetch blocks past file

5 years agopc, pc64: properly track dependencies for mem.h on autogenerated apbootstrap.h and...
cinap_lenrek [Fri, 4 Jan 2019 01:51:29 +0000 (02:51 +0100)]
pc, pc64: properly track dependencies for mem.h on autogenerated apbootstrap.h and reboot.h targets

5 years agoupas/fs: don't put messages on the lru that cannot be uncached
cinap_lenrek [Wed, 2 Jan 2019 09:26:38 +0000 (10:26 +0100)]
upas/fs: don't put messages on the lru that cannot be uncached

the lru is there to track least recently used messages so
we can evict them from the cache and refetch them again on
demand. for pop3 mailbox, which doesnt provide fetch routine,
the messages should never be put on the freelist.

5 years agoupas/fs: include mkupas in mkfile last to get default target
cinap_lenrek [Wed, 2 Jan 2019 09:22:27 +0000 (10:22 +0100)]
upas/fs: include mkupas in mkfile last to get default target

5 years agoupas/fs: fix infinite loop in putcache (again)
Alex Musolino [Sun, 30 Dec 2018 13:30:09 +0000 (00:00 +1030)]
upas/fs: fix infinite loop in putcache (again)

The previous attempt to fix this problem (see changesets b32199e0f90a
and 00ae79a6ba50) caused all calls to cachefree to free the cached
message contents in addition to updating the LRU list.  This causes
problems for the POP3 driver since it provides no fetch function; once
a message is evicted from the LRU cache, its contents is lost.

This time we fix cachefree to always update the LRU list but only free
the cached message contents if the driver provides a fetch function or
the force flag is set.

5 years agorsa(8): add example for tinc(8) (thanks k0ga, qwx)
cinap_lenrek [Fri, 28 Dec 2018 10:46:15 +0000 (11:46 +0100)]
rsa(8): add example for tinc(8) (thanks k0ga, qwx)

5 years agodtracy: fix conditional branch generation
aiju [Fri, 28 Dec 2018 10:26:25 +0000 (10:26 +0000)]
dtracy: fix conditional branch generation

5 years agoremove function prototype that leaked into last commit
BurnZeZ [Wed, 26 Dec 2018 04:51:35 +0000 (04:51 +0000)]
remove function prototype that leaked into last commit

5 years agotcs: clean up old port code, and avoid writing 0 to stdout
BurnZeZ [Wed, 26 Dec 2018 04:47:22 +0000 (04:47 +0000)]
tcs: clean up old port code, and avoid writing 0 to stdout

5 years agomk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, mycroftiv)
cinap_lenrek [Wed, 26 Dec 2018 04:04:56 +0000 (05:04 +0100)]
mk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, mycroftiv)

mycroftiv → this is practically "500 mile email" territory - the "6 letter mk bug"

5 years agonusb/disk: revert previous attempts and just not issue capacity command when theres...
cinap_lenrek [Mon, 24 Dec 2018 18:06:01 +0000 (19:06 +0100)]
nusb/disk: revert previous attempts and just not issue capacity command when theres no media present

5 years agoMake the check work.
Ori Bernstein [Mon, 24 Dec 2018 07:10:42 +0000 (23:10 -0800)]
Make the check work.

Embarrassing.

5 years agonusb/disk: implement 64 bit lba read/write commands (16 byte commands)
cinap_lenrek [Mon, 24 Dec 2018 04:10:43 +0000 (05:10 +0100)]
nusb/disk: implement 64 bit lba read/write commands (16 byte commands)

untested.

5 years agonusb/disk: fix typo "("
cinap_lenrek [Mon, 24 Dec 2018 04:05:41 +0000 (05:05 +0100)]
nusb/disk: fix typo "("

5 years agoDon't unnecessarily unstall devices.
Ori Bernstein [Mon, 24 Dec 2018 03:44:58 +0000 (19:44 -0800)]
Don't unnecessarily unstall devices.

Some SD card readers are slow to unstall. We try to unstall them
in a loop if there's no SD card in there, but they're not stalled.
They're happily reporting that there's no SD card in them by giving
back the appropriate error code.

Skipping the unstall speeds up the retry loop, cutting the time spent
attaching the USB device at boot from multiple minutes to nearly instant.

5 years agodossrv: cleanup
cinap_lenrek [Mon, 24 Dec 2018 00:21:47 +0000 (01:21 +0100)]
dossrv: cleanup

5 years agodossrv: make GLONG() return ulong, handle getsect() error in dostat()
cinap_lenrek [Sun, 23 Dec 2018 21:43:29 +0000 (22:43 +0100)]
dossrv: make GLONG() return ulong, handle getsect() error in dostat()

5 years agoetherx550: add intel 10GB ethernet controlller x550 driver (thanks joe9)
cinap_lenrek [Sun, 23 Dec 2018 16:48:11 +0000 (17:48 +0100)]
etherx550: add intel 10GB ethernet controlller x550 driver (thanks joe9)

5 years agoether82598: fix multicast filter (thanks aiju, joe9)
cinap_lenrek [Sun, 23 Dec 2018 16:41:47 +0000 (17:41 +0100)]
ether82598: fix multicast filter (thanks aiju, joe9)

5 years agodossrv: use 64 bit vlong for sectors
cinap_lenrek [Sat, 22 Dec 2018 19:49:24 +0000 (20:49 +0100)]
dossrv: use 64 bit vlong for sectors

5 years agodtracy: avoid pointer to integer truncation warning on amd64
cinap_lenrek [Sat, 15 Dec 2018 19:39:32 +0000 (20:39 +0100)]
dtracy: avoid pointer to integer truncation warning on amd64

5 years agofplot: fix operator associativity
aiju [Sat, 15 Dec 2018 11:57:35 +0000 (11:57 +0000)]
fplot: fix operator associativity

5 years agofplot: add min/max operators
aiju [Thu, 13 Dec 2018 16:15:10 +0000 (16:15 +0000)]
fplot: add min/max operators

5 years agodtracy: get rid of DTName struct, support more than three parts in a probe name,...
aiju [Thu, 13 Dec 2018 10:42:49 +0000 (10:42 +0000)]
dtracy: get rid of DTName struct, support more than three parts in a probe name, wildcard matching

5 years agopc(1): reference counting bug
aiju [Thu, 13 Dec 2018 10:38:21 +0000 (10:38 +0000)]
pc(1): reference counting bug

5 years agomerge
Alex Musolino [Thu, 13 Dec 2018 01:30:32 +0000 (12:00 +1030)]
merge

5 years agoupas/fs: remove now unnecessary "force" argument to cachefree
Alex Musolino [Thu, 13 Dec 2018 01:29:34 +0000 (11:59 +1030)]
upas/fs: remove now unnecessary "force" argument to cachefree

5 years agoupas/fs: handle errors from fetch for cachebody()/cacheheaders()
cinap_lenrek [Wed, 12 Dec 2018 18:33:08 +0000 (19:33 +0100)]
upas/fs: handle errors from fetch for cachebody()/cacheheaders()

for imap, when a fetch fails, error out of read and stat. also don't
add failed to download messages into the lru.

5 years agomerge
Alex Musolino [Wed, 12 Dec 2018 02:21:29 +0000 (12:51 +1030)]
merge

5 years agoupas/fs: fix infinite loop in putcache
Alex Musolino [Wed, 12 Dec 2018 02:18:53 +0000 (12:48 +1030)]
upas/fs: fix infinite loop in putcache

Force the cacheclear operation in the LRU cache trimming loop in order
to guarantee that the cache becomes smaller with each iteration.

Without the force flag cacheclear is a no-op for mailboxes that do not
provide a fetch function, e.g. POP3.

5 years agofortunes: [9fans] ..... UNSUBSCRIBE_HELP NEEDED
stanley lieber [Tue, 11 Dec 2018 17:57:36 +0000 (12:57 -0500)]
fortunes: [9fans] ..... UNSUBSCRIBE_HELP NEEDED

5 years agoforgotten files
aiju [Tue, 11 Dec 2018 09:20:34 +0000 (09:20 +0000)]
forgotten files

5 years agokernel: change peek to return number of characters left rather than 0/-1
aiju [Tue, 11 Dec 2018 09:17:44 +0000 (09:17 +0000)]
kernel: change peek to return number of characters left rather than 0/-1

5 years agodtracy: catch page faults
aiju [Tue, 11 Dec 2018 09:09:08 +0000 (09:09 +0000)]
dtracy: catch page faults

5 years agoadd dtracy support to mkdevc and enable dtracy with plan9.ini
aiju [Tue, 11 Dec 2018 07:44:34 +0000 (07:44 +0000)]
add dtracy support to mkdevc and enable dtracy with plan9.ini

5 years agosshfs: add exits(nil) to threadmain
BurnZeZ [Mon, 10 Dec 2018 05:18:05 +0000 (05:18 +0000)]
sshfs: add exits(nil) to threadmain

5 years agodtracy: call dtptrigger with a struct pointer rather than a list of arguments; put...
aiju [Sun, 9 Dec 2018 21:43:22 +0000 (21:43 +0000)]
dtracy: call dtptrigger with a struct pointer rather than a list of arguments; put return value in arg9

5 years agodtracy: fix lexer bug
aiju [Sat, 8 Dec 2018 18:04:25 +0000 (18:04 +0000)]
dtracy: fix lexer bug

5 years agofix dtracy man page
aiju [Sat, 8 Dec 2018 17:24:23 +0000 (17:24 +0000)]
fix dtracy man page

5 years agoadd dtracy manpage
aiju [Sat, 8 Dec 2018 16:35:21 +0000 (16:35 +0000)]
add dtracy manpage

5 years agodtracy: add support for aggregations
aiju [Sat, 8 Dec 2018 15:07:53 +0000 (15:07 +0000)]
dtracy: add support for aggregations

5 years agorio: get rid of window delete thread, fix mysterious disappearing windows
cinap_lenrek [Fri, 7 Dec 2018 15:32:04 +0000 (16:32 +0100)]
rio: get rid of window delete thread, fix mysterious disappearing windows

because a client might not handle resize, rio would try to move ther
window offsceen after 750 ms. however, it does this by window name,
which could have been reassigned by another concurrent rio, causing the
wrong window to disappear.

now we always move the window offscreen before freeimage(). this way we
are sure to still have the right reference to the original window.

5 years agoadd entries for il rcpu
BurnZeZ [Fri, 7 Dec 2018 01:41:27 +0000 (01:41 +0000)]
add entries for il rcpu

5 years agoptrap(4): fix formatting
BurnZeZ [Thu, 6 Dec 2018 06:53:41 +0000 (06:53 +0000)]
ptrap(4): fix formatting

5 years agoforp: change indexing to verilog-like semantics
aiju [Thu, 6 Dec 2018 10:56:32 +0000 (10:56 +0000)]
forp: change indexing to verilog-like semantics

5 years agoacid: fix transcript
BurnZeZ [Thu, 6 Dec 2018 07:11:35 +0000 (07:11 +0000)]
acid: fix transcript

5 years agolibmp: fix mptouv behaviour to match mptoui
aiju [Thu, 6 Dec 2018 09:32:20 +0000 (09:32 +0000)]
libmp: fix mptouv behaviour to match mptoui

5 years agolibmp: add tests for integer conversions
aiju [Thu, 6 Dec 2018 09:32:07 +0000 (09:32 +0000)]
libmp: add tests for integer conversions

5 years agomptov: make it actually work
aiju [Wed, 5 Dec 2018 10:26:52 +0000 (10:26 +0000)]
mptov: make it actually work

5 years agokernel: remove unused static variable "sofar" from timerintr() (thanks mischief)
cinap_lenrek [Wed, 5 Dec 2018 02:59:08 +0000 (03:59 +0100)]
kernel: remove unused static variable "sofar" from timerintr() (thanks mischief)

5 years agokernel: fix tprof on multiprocessor
cinap_lenrek [Wed, 5 Dec 2018 00:43:19 +0000 (01:43 +0100)]
kernel: fix tprof on multiprocessor

segclock() has to be called from hzclock(), otherwise
only processes running on cpu0 would catche the interrupt
and the time delta would be wrong.

lock the segment when allocating Seg->profile as
profile ctl might be issued from multiple processes.
Proc->debug qlock is not sufficient.

Seg->profile can never be freed or reallocated once
set as the timer interrupt accesses it without any
locking.

5 years agofactotum: rsa: use mptober() to get right adjusted result instead of mptobe() and...
cinap_lenrek [Tue, 4 Dec 2018 18:34:36 +0000 (19:34 +0100)]
factotum: rsa: use mptober() to get right adjusted result instead of mptobe() and memset()

5 years agobootrc: remove $ff references (was old parsed /boot/boot argument list)
cinap_lenrek [Tue, 4 Dec 2018 17:55:56 +0000 (18:55 +0100)]
bootrc: remove $ff references (was old parsed /boot/boot argument list)

5 years agokencc: make "function not declared" a warning unless compiling with -T
aiju [Sun, 2 Dec 2018 11:36:58 +0000 (11:36 +0000)]
kencc: make "function not declared" a warning unless compiling with -T

5 years agopython: explicitly declare WaitForThreadShutdown as void
mischief [Sun, 2 Dec 2018 11:30:30 +0000 (03:30 -0800)]
python: explicitly declare WaitForThreadShutdown as void

5 years agoape: declare gethostname
mischief [Sun, 2 Dec 2018 11:30:22 +0000 (03:30 -0800)]
ape: declare gethostname

5 years agomerge
cinap_lenrek [Sun, 2 Dec 2018 02:27:19 +0000 (03:27 +0100)]
merge

5 years agolibsec: fix memory leak in pkcs1_decrypt()
cinap_lenrek [Sun, 2 Dec 2018 02:23:48 +0000 (03:23 +0100)]
libsec: fix memory leak in pkcs1_decrypt()

5 years agolibdtracy: wrong operator in XORI (thanks aiju)
BurnZeZ [Sat, 1 Dec 2018 18:07:40 +0000 (18:07 +0000)]
libdtracy: wrong operator in XORI (thanks aiju)

5 years agokencc: turn "function args not checked" warning into "function not declared" error...
aiju [Sat, 1 Dec 2018 11:39:49 +0000 (11:39 +0000)]
kencc: turn "function args not checked" warning into "function not declared" error if appropriate

5 years ago2c(1): document some differences with ANSI C
aiju [Sat, 1 Dec 2018 11:28:26 +0000 (11:28 +0000)]
2c(1): document some differences with ANSI C

5 years agohgwebfs: write headers individually, so they are not limited by webfs iounit (thanks...
cinap_lenrek [Sat, 1 Dec 2018 03:22:07 +0000 (04:22 +0100)]
hgwebfs: write headers individually, so they are not limited by webfs iounit (thanks mischief)

5 years agowebfs: write headers individually so they are not limited in sum to the 8k buffer
cinap_lenrek [Sat, 1 Dec 2018 03:20:53 +0000 (04:20 +0100)]
webfs: write headers individually so they are not limited in sum to the 8k buffer

5 years agofplot: add support for readout with middle mouse button
aiju [Fri, 30 Nov 2018 17:32:10 +0000 (17:32 +0000)]
fplot: add support for readout with middle mouse button

5 years agofplot: color different curves
aiju [Fri, 30 Nov 2018 16:58:01 +0000 (16:58 +0000)]
fplot: color different curves

5 years agofplot: compute y range correctly when used with multiple graphs
aiju [Fri, 30 Nov 2018 16:12:02 +0000 (16:12 +0000)]
fplot: compute y range correctly when used with multiple graphs

5 years agoupas: get rid of broken validatesender example, remove redundant upas/misc and setup...
cinap_lenrek [Wed, 28 Nov 2018 20:12:11 +0000 (21:12 +0100)]
upas: get rid of broken validatesender example, remove redundant upas/misc and setup target

5 years agohgwebfs: read to eof by default to match urllib2 behavior
mischief [Wed, 28 Nov 2018 19:34:52 +0000 (11:34 -0800)]
hgwebfs: read to eof by default to match urllib2 behavior