summaryrefslogtreecommitdiff
path: root/src/pkg/net
AgeCommit message (Collapse)AuthorFilesLines
2009-07-05Remove assumption about google.com being the default search domain.David Symonds1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31151 CL=31168
2009-07-01clean up some BUG/TODO in go codeRuss Cox4-11/+7
R=r DELTA=23 (1 added, 12 deleted, 10 changed) OCL=30957 CL=30980
2009-06-29io.StringBytes -> strings.BytesRuss Cox2-2/+3
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-25Change os.Error convention:Russ Cox12-203/+381
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox2-2/+2
remove io.ErrEOF. rename io.FullRead to io.ReadFull, to match ReadAtLeast and ReadAll. remove io.FullReader, because it is now unused. R=r DELTA=295 (88 added, 105 deleted, 102 changed) OCL=30544 CL=30588
2009-06-19make IP address availableRob Pike2-0/+30
R=rsc DELTA=30 (30 added, 0 deleted, 0 changed) OCL=30536 CL=30536
2009-06-17add Addr() string to net.Listener interface.Russ Cox3-23/+46
use it to avoid use of fixed ports in tests. convert google/net/rpc to gotest R=r DELTA=523 (275 added, 229 deleted, 19 changed) OCL=30458 CL=30460
2009-06-09mv src/lib to src/pkgRob Pike17-0/+3717
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102