summaryrefslogtreecommitdiff
path: root/src/lib/net
AgeCommit message (Collapse)AuthorFilesLines
2008-12-10DNS messagesRuss Cox2-2/+686
R=r DELTA=685 (683 added, 0 deleted, 2 changed) OCL=20926 CL=20951
2008-12-10assorted cleanup and fixesRuss Cox1-87/+33
R=r DELTA=209 (109 added, 79 deleted, 21 changed) OCL=20930 CL=20934
2008-12-09replace assembly casts with unsafe.pointerRuss Cox2-10/+12
R=r DELTA=178 (18 added, 101 deleted, 59 changed) OCL=20822 CL=20826
2008-11-25change meaning of $GOMAXPROCS to number of cpus to use,Russ Cox1-0/+2
not number of threads. can still starve all the other threads, but only by looping, not by waiting in a system call. fix darwin syscall.Syscall6 bug. fix chanclient bug. delete $GOMAXPROCS from network tests. add stripped down printf, sys.printhex to runtime. R=r DELTA=355 (217 added, 36 deleted, 102 changed) OCL=20017 CL=20019
2008-11-19refine gobuild: the files must be *_test.go not *test.goRob Pike1-14/+7
this causes complications R=rsc DELTA=1724 (849 added, 856 deleted, 19 changed) OCL=19667 CL=19667
2008-11-19gobuild: add coverage rule, ignore files in package main.Russ Cox1-0/+4
R=r DELTA=55 (41 added, 11 deleted, 3 changed) OCL=19594 CL=19598
2008-11-19leave 6.out around after gotest;Russ Cox1-1/+1
delete it in make clean. R=r DELTA=10 (0 added, 0 deleted, 10 changed) OCL=19542 CL=19581
2008-11-18gobuild changes.Russ Cox1-14/+26
* handles multiple packages per directory * scans directory for files if given no arguments * infers package name * includes test rule invoking gotest R=r DELTA=746 (444 added, 150 deleted, 152 changed) OCL=19504 CL=19521
2008-11-17correctly rounded floating-point conversionsRuss Cox1-3/+3
in new package strconv. move atoi etc to strconv too. update fmt, etc to use strconv. R=r DELTA=2232 (1691 added, 424 deleted, 117 changed) OCL=19286 CL=19380
2008-10-29update linux for int/int32Russ Cox1-3/+3
R=r DELTA=7 (0 added, 0 deleted, 7 changed) OCL=18050 CL=18069
2008-10-07Unterminated declaration breaks build.Cary Hull1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=16688 CL=16690
2008-10-07update code to follow new semicolon rules:Russ Cox7-133/+133
* 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-30i can import "net" in package netRuss Cox1-18/+18
and still have a variable named "net" R=r DELTA=18 (0 added, 0 deleted, 18 changed) OCL=16220 CL=16222
2008-09-29* implement Linux epoll for polling i/oRuss Cox5-327/+444
* 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-29delete unused filesRuss Cox2-502/+0
R=r DELTA=494 (0 added, 494 deleted, 0 changed) OCL=16109 CL=16115
2008-09-26Darwin kqueue/kevent-based network FDsRuss Cox1-39/+294
R=r OCL=15998 CL=16004
2008-09-26fix build: new net MakefileRuss Cox1-2/+1
TBR=r OCL=15996 CL=15996
2008-09-26move src/syscall to src/lib/syscall.Russ Cox8-145/+429
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
2008-09-25Change the name of the result variable so that it does notIan Lance Taylor1-1/+1
hide the package "ip". R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=15914 CL=15914
2008-09-19export an os.Error constructorRuss Cox1-12/+6
R=r DELTA=20 (6 added, 7 deleted, 7 changed) OCL=15569 CL=15571
2008-09-18make Makefiles safe for parallel makeRuss Cox1-0/+3
use -j4 (4-way parallel) in make.bash. halves time for make.bash on r45 also add libregexp, acid to default build R=r DELTA=90 (39 added, 37 deleted, 14 changed) OCL=15485 CL=15487
2008-09-17add network listening & testsRuss Cox4-28/+171
R=r,presotto OCL=15410 CL=15440
2008-09-16preliminary network - just Dial for nowRuss Cox6-0/+1474
R=r,presotto OCL=15393 CL=15399