summaryrefslogtreecommitdiff
path: root/src/lib/net/net_linux.go
AgeCommit message (Collapse)AuthorFilesLines
2009-06-01update Go tree to use new syscall package.Russ Cox1-124/+0
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-05-14fix abstract unix domain socketsRob Pike1-0/+1
R=rsc DELTA=5 (3 added, 0 deleted, 2 changed) OCL=28845 CL=28849
2009-05-13Unix domain socket support, Linux and Darwin.Russ Cox1-0/+44
R=r DELTA=534 (353 added, 99 deleted, 82 changed) OCL=28783 CL=28783
2009-04-30bug146: array/slice conversion before I left missed conversionsRuss Cox1-2/+2
R=ken OCL=28120 CL=28124
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-3/+3
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-04-16Convert go tree to hierarchical pkg directory:Russ Cox1-1/+1
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
2009-03-05net: doc, doc-inspired cleanupRuss Cox1-12/+10
R=r DELTA=368 (87 added, 14 deleted, 267 changed) OCL=25773 CL=25786
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox1-4/+4
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-15cleanups:Russ Cox1-2/+2
get rid of _ on private names in net. fix os_test file name list. newline not needed on Errorf. R=r DELTA=305 (34 added, 2 deleted, 269 changed) OCL=25047 CL=25047
2009-01-20delete exportRuss Cox1-8/+8
TBR=r OCL=23121 CL=23127
2009-01-16casify linux syscall dependents, plus a few stragglersRob Pike1-15/+15
R=rsc DELTA=97 (0 added, 0 deleted, 97 changed) OCL=22971 CL=22973
2009-01-06new new & makeRuss Cox1-2/+2
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-5/+5
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox1-3/+3
R=r OCL=21563 CL=21571
2008-12-09replace assembly casts with unsafe.pointerRuss Cox1-5/+6
R=r DELTA=178 (18 added, 101 deleted, 59 changed) OCL=20822 CL=20826
2008-10-07update code to follow new semicolon rules:Russ Cox1-6/+6
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-29* implement Linux epoll for polling i/oRuss Cox1-0/+10
* isolate OS-specific polling goop in Pollster type * move generic poll loop out of fd_darwin.go into fd.go R=r DELTA=782 (448 added, 281 deleted, 53 changed) OCL=16108 CL=16119
2008-09-26move src/syscall to src/lib/syscall.Russ Cox1-0/+70
enforce rule: all kernel data structures and constants go in syscall module. move things that should be in syscall out of net. make net a single package. R=r OCL=15985 CL=15994