aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-07-14openbsd updates (thanks Pascal Stumpf)Russ Cox1-0/+2
R=rsc http://codereview.appspot.com/6401049
2012-06-02lib9/dial: add support for IPv6David du Colombier1-1/+1
The function p9dialparse() returns the host as a sockaddr_storage structure instead of a u32int, to be able to handle both IPv4 and IPv6 addresses. Because the sockaddr_storage structure also handle port numbers and Unix path names, there is no longer need to set them in the calling functions. However, these values are still returned for convenience. The sockaddr_in and sockaddr_un structures have been replaced by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets. Names and addresses are resolved using either gethostbyname() or getaddrinfo() functions. The getaddrinfo() function is documented in RFC2553 and standardized since POSIX.1-2001. It supports both IPv4 and IPv6 addresses. The gethostbyname() function is deprecated since POSIX.1-2008. However, some libc implementations don't handle getaddrinfo() properly, thus we preferred to try gethostbyname() first. I've tried to preserve most of the old code logic to prevent from surprising or unwanted behavior. R=rsc http://codereview.appspot.com/6255068
2012-02-19libmach, acid, db: 64-bit supportRuss Cox2-68/+71
2012-01-21libventi: add functions vtsha1 and vtsha1checkDavid du Colombier1-0/+4
These functions are equivalent to vtSha1 and vtSha1Check from the old libventi and are particularly used by Fossil. R=rsc http://codereview.appspot.com/5555064
2011-11-08libventi: add VtEntryNoArchive from liboventi, for use with fossilDavid du Colombier1-0/+1
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5298088
2011-11-08libventi: add functions reconn and redial for use with fossilDavid du Colombier1-0/+2
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5325046
2011-06-13venti.h: import indentation from plan 9David du Colombier1-145/+147
R=rsc CC=plan9port.codebot http://codereview.appspot.com/4571065
2010-12-07delete 9P2000.uRuss Cox2-10/+0
thanks to Erik Quanstrom R=rsc http://codereview.appspot.com/3469042
2010-07-14u.h: add int8, uint8Russ Cox1-0/+2
R=rsc http://codereview.appspot.com/1791044
2010-02-07make flate crc32 work when ulong is 64 bitsRuss Cox2-3/+10
R=, rsc CC= http://codereview.appspot.com/203061
2009-09-13libc.h: update comment for 32-bit RuneRuss Cox1-2/+3
http://codereview.appspot.com/116097
2009-09-13lib9: fix dirread/stat mismatch on Snow LeopardRuss Cox1-0/+3
http://codereview.appspot.com/116096
2009-09-11convert to 4-byte UTF-8 and 32-bit RuneRuss Cox2-4/+5
http://codereview.appspot.com/116075
2009-08-23libavl: import from Plan 9Russ Cox1-0/+27
2009-08-20lib9: dotu fixes in convS2M, convM2STim Newsham1-0/+2
http://codereview.appspot.com/109049
2009-08-14more licensingRuss Cox2-0/+6
2009-08-14more licensingRuss Cox1-0/+2
2009-07-14mergeRuss Cox1-0/+3
2009-07-08mergeRuss Cox1-0/+1
2009-05-25venti: 32-bit extensions to data structuresRuss Cox1-11/+13
2009-05-25libventi: protocol support for blocks larger than 64kRuss Cox1-1/+1
2009-04-30libthread: remove unimplemented chaninitRuss Cox1-1/+0
2009-04-30mergeRuss Cox1-1/+3
2008-07-20u.h: add SunOS 5.9Brian L. Suart1-1/+2
2008-07-20libframe: add frredraw prototypeRuss Cox1-0/+1
2008-03-07libframe: translucent font fixes from Plan 9Russ Cox1-2/+2
2008-07-18keyboard.h: End is no longer \rRuss Cox1-1/+1
2008-07-10lib9: add mode parameter to opentempRuss Cox1-1/+1
2008-07-04lib9: add write function that withstands interruptsRuss Cox1-0/+2
2008-07-04lib9p: add Srv.foreground flagRuss Cox1-0/+1
2008-06-10include/memlayer.h: remove redundant AUTOLIB (Brian Stuart)Russ Cox1-2/+0
2008-06-04include/drawfcall.h: remove redundant AUTOLIB(draw)Russ Cox1-1/+0
2008-06-03libbio: lost changes to include/bio.h (@#%@#$ mercurial)Russ Cox1-4/+3
2008-06-01u.h: add Solaris 5.10 to makecontext listRuss Cox1-1/+1
2008-05-05post9pservice: accept mtpt (via fuse)Russ Cox1-1/+2
2008-03-06u.h: add intptrRuss Cox1-0/+1
2007-08-22libthread: simplify alt tracking, possibly fixing bugRuss Cox1-1/+0
2007-05-28hfs (David Swasey)rsc1-0/+1
2007-05-28add partabandonrsc1-0/+1
2007-05-28add disk partitions (David Swasey)rsc1-0/+1
2007-04-21add searchpairsrsc1-0/+1
2007-04-21remove plan9-specificrsc1-8/+0
2007-01-15change mpdigit to uint -- 64-bit mp library not so workingrsc1-1/+1
2006-11-04Change GET/GBIT32 macros to explicitly cast final result to u32int.rsc2-2/+2
Otherwise, the type of the expression will be int, and if written to a uvlong (or just a ulong on most 64-bit systems), it will be sign-extended. This was going on in drawfcall with Mouse.msec, which is declared as a ulong. This fix assumes that the protocols only send unsigned numbers, which is true.
2006-11-04In non-blocking recv functions in libmux and libdraw,rsc1-4/+5
distinguish between "cannot receive without blocking" and "EOF on connection". In libmux, do not elect async guys muxers, so that synchronous RPC calls run in the main event loop (e.g., in eresized) do not get stuck. Fixes problem reported by Lu Xuxiao, namely that jpg etc. would spin at 100% cpu usage.
2006-10-19Fix a handful of small one-time memory leaks in vbackup,rsc1-0/+3
and one per-package memory leak (in writethread).
2006-07-23more functionsrsc1-0/+7
2006-07-18add vttimefmtrsc1-0/+2
2006-06-26pinrsc2-0/+5
2006-06-26forgotrsc1-0/+124