summaryrefslogtreecommitdiff
path: root/src/lib/net/fd_darwin.go
AgeCommit message (Collapse)AuthorFilesLines
2009-06-09mv src/lib to src/pkgRob Pike1-115/+0
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-04more 386 runtime fixes.Russ Cox1-15/+8
can pass many tests; current stumbling block is an 8l bug. R=r DELTA=122 (83 added, 8 deleted, 31 changed) OCL=29872 CL=29876
2009-06-01update Go tree to use new syscall package.Russ Cox1-13/+13
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-05-08throw away os._Error.Russ Cox1-1/+3
make some error types in a few packages R=r DELTA=110 (25 added, 46 deleted, 39 changed) OCL=28382 CL=28561
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-4/+4
*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-15code changes for array conversion.Russ Cox1-3/+3
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
2009-03-06document Conn interface better, in preparationRuss Cox1-3/+33
for per-method interface documentation by mkdoc.pl. implement timeouts on network reads and use them in dns client. also added locks on i/o to ensure writes are not interlaced. R=r DELTA=340 (272 added, 25 deleted, 43 changed) OCL=25799 CL=25874
2009-03-05net: doc, doc-inspired cleanupRuss Cox1-6/+6
R=r DELTA=368 (87 added, 14 deleted, 267 changed) OCL=25773 CL=25786
2009-01-20delete exportRuss Cox1-2/+2
TBR=r OCL=23121 CL=23127
2009-01-16casify syscall and sequelaeRob Pike1-16/+16
R=rsc DELTA=337 (0 added, 1 deleted, 336 changed) OCL=22950 CL=22950
2009-01-06new new & makeRuss Cox1-1/+1
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-4/+2
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox1-5/+7
R=r OCL=21563 CL=21571
2008-10-07update code to follow new semicolon rules:Russ Cox1-4/+4
* 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-276/+32
* 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-26Darwin kqueue/kevent-based network FDsRuss Cox1-39/+294
R=r OCL=15998 CL=16004
2008-09-26move src/syscall to src/lib/syscall.Russ Cox1-0/+79
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