summaryrefslogtreecommitdiff
path: root/src/pkg/net/parse.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-1/+1
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-10/+0
2010-05-21net: implement raw socketsChristopher Wedgwood1-0/+10
R=rsc CC=golang-dev http://codereview.appspot.com/684041 Committer: Russ Cox <rsc@golang.org>
2010-04-29net: parser should handle EOF without newline properly.Christopher Wedgwood1-10/+14
Fixes issue 686. R=rsc CC=adg, golang-dev http://codereview.appspot.com/979044 Committer: Russ Cox <rsc@golang.org>
2010-04-28net: do not require newline at end of resolv.confRuss Cox1-0/+5
Fixes issue 686. R=adg CC=golang-dev http://codereview.appspot.com/961046
2009-12-151) Change default gofmt default settings forRobert Griesemer1-59/+59
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-2/+2
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-6/+6
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-13/+13
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-6/+2
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-04gofmt-ify netRobert Griesemer1-24/+24
R=rsc http://go/go-review/1017045
2009-11-01split ipsock.go, sock.go, and unixsock.go out of net.goRuss Cox1-1/+44
prior to cleanup. no changes, only moving. remove dependencies on strconv and strings R=r http://go/go-review/1017010
2009-09-15more "declared and not used".Russ Cox1-1/+1
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-06-25Change os.Error convention:Russ Cox1-4/+0
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 Cox1-1/+1
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-09mv src/lib to src/pkgRob Pike1-0/+160
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102