summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-02-06add a trivial visitor method, just for funRob Pike2-1/+30
R=gri DELTA=31 (30 added, 1 deleted, 0 changed) OCL=24568 CL=24575
2009-02-05further pedagogy: a channel that satisfies the HTTP server interfaceRob Pike1-0/+18
R=rsc DELTA=18 (18 added, 0 deleted, 0 changed) OCL=24482 CL=24484
2009-02-05take advantage of methods on funcsRuss Cox1-14/+1
R=r DELTA=14 (0 added, 13 deleted, 1 changed) OCL=24458 CL=24470
2009-02-04clean up flags package a bit.Rob Pike1-28/+31
fix a bug in Usage message - would print current value instead of default. R=rsc DELTA=53 (7 added, 4 deleted, 42 changed) OCL=24323 CL=24323
2009-02-03fix build. missed this fileRuss Cox1-11/+4
TBR=r OCL=24269 CL=24269
2009-02-03bufio:Russ Cox8-172/+251
* avoid large copies * NewBufRead, NewBufWrite never fail * add BufReadWrite io: * add io.Close http, google/net/rpc: * add, use http.Conn.Hijack R=r DELTA=416 (202 added, 123 deleted, 91 changed) OCL=24153 CL=24238
2009-02-02flesh out http server.Russ Cox5-147/+545
convert to uppercase names. R=r DELTA=613 (460 added, 61 deleted, 92 changed) OCL=24139 CL=24145
2009-01-30update go code tree to new func rules.Russ Cox12-54/+54
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-28additions to array container:Robert Griesemer3-48/+153
- added Slice, Cut, InsertArray, AppendArray - renamed Remove -> Delete (so we have: Insert, Delete, Cut) - more factoring of code - extra tests (could use some more) R=r,rsc DELTA=179 (127 added, 22 deleted, 30 changed) OCL=23648 CL=23685
2009-01-27change dotdotdot interfaces to be structs,Russ Cox1-6/+6
not pointers to structs. fix defered dotdotdot. R=r,ken DELTA=25 (7 added, 5 deleted, 13 changed) OCL=23620 CL=23625
2009-01-26gc #0. mark and sweep collector.Russ Cox1-5/+10
R=r,gri DELTA=472 (423 added, 2 deleted, 47 changed) OCL=23522 CL=23541
2009-01-26improved logging formats.Rob Pike2-84/+142
R=rsc DELTA=210 (118 added, 60 deleted, 32 changed) OCL=23508 CL=23518
2009-01-26make time fields publicRuss Cox3-49/+49
R=r DELTA=49 (0 added, 0 deleted, 49 changed) OCL=23480 CL=23487
2009-01-26Add an accessor function os.FD.Fd() to get the fileIan Lance Taylor2-10/+10
descriptor. Use it in the PollServer code. 6g currently accepts this code without this change, but it should not. Test case for the bug is bug133.go. R=rsc DELTA=10 (0 added, 0 deleted, 10 changed) OCL=23451 CL=23486
2009-01-26add start to a logging package.Rob Pike3-0/+207
R=rsc DELTA=205 (205 added, 0 deleted, 0 changed) OCL=23448 CL=23478
2009-01-23fix typo in comment. s/put/Put/Rob Pike1-1/+1
R=ken OCL=23419 CL=23419
2009-01-23remove the "open" concept from reflect and go with slices and arrays.Rob Pike5-56/+49
the two still share an interface and Kind; that's probably ok but might be worth revisiting. R=rsc DELTA=74 (1 added, 8 deleted, 65 changed) OCL=23416 CL=23418
2009-01-23change the representation of arrays in protobufs from *[]item to []item.Rob Pike1-0/+16
for simplicity of user's code, optional arrays of bytes also don't have a pointer. requires adding a "Set()" method to arrays in reflect. still to do: protocol compilers, google/net/rpc. R=rsc DELTA=227 (36 added, 95 deleted, 96 changed) OCL=23387 CL=23389
2009-01-22fix build - missed this fileRuss Cox1-0/+20
TBR=r OCL=23335 CL=23335
2009-01-22move math routines from package sys to package math,Russ Cox15-52/+72
though they still build in src/runtime. use cgo instead of hand-written wrappers. R=r DELTA=740 (289 added, 300 deleted, 151 changed) OCL=23326 CL=23331
2009-01-21change reflect.CopyArray into a method on ArrayValue called CopyFromRob Pike3-3/+15
R=rsc DELTA=16 (12 added, 0 deleted, 4 changed) OCL=23242 CL=23242
2009-01-20delete exportRuss Cox123-628/+627
TBR=r OCL=23121 CL=23127
2009-01-20add a couple of helper methods to io.ByteBufferRob Pike1-0/+8
R=rsc DELTA=456 (9 added, 2 deleted, 445 changed) OCL=23107 CL=23107
2009-01-16convert tests; nothing interesting.Russ Cox1-2/+2
R=r OCL=23012 CL=23014
2009-01-16casify struct fields in entire tree.Russ Cox1-6/+6
TBR=r OCL=22997 CL=22997
2009-01-16Change malloc.Lookup to return the size as uintptr rather thanIan Lance Taylor1-1/+1
uint64. This changes the Go code to be consistent with the C code. R=rsc DELTA=6 (0 added, 0 deleted, 6 changed) OCL=22983 CL=22987
2009-01-16Remove types from constants, since they didn't match whatIan Lance Taylor1-2/+2
Tick() expected. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22979 CL=22986
2009-01-16casify, cleanup sysRuss Cox19-60/+66
R=r OCL=22978 CL=22984
2009-01-16casify linux syscall dependents, plus a few stragglersRob Pike6-97/+97
R=rsc DELTA=97 (0 added, 0 deleted, 97 changed) OCL=22971 CL=22973
2009-01-16s/split/Split/ to get compiling againRob Pike1-3/+3
R=rsc OCL=22967 CL=22967
2009-01-16two more casifications in fmtRob Pike2-14/+14
R=rsc DELTA=14 (0 added, 0 deleted, 14 changed) OCL=22960 CL=22962
2009-01-16casify flag.Rob Pike1-14/+5
R=rsc DELTA=16 (0 added, 9 deleted, 7 changed) OCL=22959 CL=22961
2009-01-16casify reflect.Rob Pike4-359/+357
R=rsc DELTA=513 (0 added, 2 deleted, 511 changed) OCL=22954 CL=22956
2009-01-16casify miscRuss Cox14-206/+176
R=r DELTA=247 (20 added, 50 deleted, 177 changed) OCL=22951 CL=22955
2009-01-16- more bignum_test letter case fixesRobert Griesemer1-118/+118
R=r OCL=22952 CL=22952
2009-01-16casify syscall and sequelaeRob Pike20-295/+294
R=rsc DELTA=337 (0 added, 1 deleted, 336 changed) OCL=22950 CL=22950
2009-01-16casify httpRuss Cox3-33/+33
R=r DELTA=33 (0 added, 0 deleted, 33 changed) OCL=22947 CL=22949
2009-01-16casify DNSRuss Cox9-211/+211
R=r DELTA=221 (0 added, 0 deleted, 221 changed) OCL=22946 CL=22948
2009-01-16recasify regexp to use underscores and clean up the tests moreRob Pike2-144/+144
R=rsc DELTA=174 (0 added, 0 deleted, 174 changed) OCL=22917 CL=22942
2009-01-16casify a few moreRob Pike3-68/+59
R=rsc DELTA=72 (0 added, 9 deleted, 63 changed) OCL=22918 CL=22941
2009-01-16casify jsonRuss Cox4-137/+137
R=r DELTA=163 (0 added, 0 deleted, 163 changed) OCL=22910 CL=22939
2009-01-16casify hashRuss Cox10-296/+276
R=r DELTA=235 (6 added, 26 deleted, 203 changed) OCL=22907 CL=22938
2009-01-16casify timeRuss Cox4-96/+97
R=r DELTA=103 (1 added, 0 deleted, 102 changed) OCL=22914 CL=22937
2009-01-15redo and clean up math.Russ Cox12-180/+168
R=r DELTA=243 (60 added, 72 deleted, 111 changed) OCL=22909 CL=22912
2009-01-15convert strconvRuss Cox18-547/+538
R=r DELTA=568 (0 added, 9 deleted, 559 changed) OCL=22898 CL=22901
2009-01-15casify lib/regexpRob Pike2-235/+235
R=rsc DELTA=259 (0 added, 0 deleted, 259 changed) OCL=22897 CL=22900
2009-01-15casify fixup for bufioRob Pike2-84/+72
R=rsc DELTA=88 (0 added, 12 deleted, 76 changed) OCL=22884 CL=22890
2009-01-15make safe for new package local defaultsRuss Cox17-419/+422
R=r DELTA=462 (9 added, 33 deleted, 420 changed) OCL=22879 CL=22885
2009-01-15more casifying fixupsRob Pike2-193/+193
R=rsc DELTA=213 (0 added, 0 deleted, 213 changed) OCL=22878 CL=22882
2009-01-15casify fmt and its dependents.Rob Pike2-155/+153
R=rsc DELTA=224 (0 added, 2 deleted, 222 changed) OCL=22875 CL=22875