summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-06-09bring over deps.bashRuss Cox1-36/+0
TBR=r OCL=30106 CL=30106
2009-06-09mv src/lib to src/pkgRob Pike381-73042/+0
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-08A basic tar package.David Symonds8-1/+379
R=rsc APPROVED=rsc DELTA=371 (370 added, 0 deleted, 1 changed) OCL=30029 CL=30084
2009-06-08mksyscall was treating 64-bit systems as 32-bit,Russ Cox4-72/+106
so 64-bit args like the offset in Seek were being mishandled. fix. R=dsymonds DELTA=1269 (645 added, 611 deleted, 13 changed) OCL=30082 CL=30082
2009-06-08bug fix: literals can be emptyRobert Griesemer1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=30080 CL=30080
2009-06-08add new function io.ReadAllRuss Cox1-7/+9
R=gri DELTA=14 (6 added, 4 deleted, 4 changed) OCL=30072 CL=30074
2009-06-08Pad error text for browsers that are too smart.Russ Cox1-0/+50
404 page not found Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. Chrome would ignore this error page if this text weren't here. R=presotto APPROVED=p DELTA=50 (50 added, 0 deleted, 0 changed) OCL=30056 CL=30061
2009-06-08Add comment.Russ Cox1-0/+2
R=gri DELTA=2 (2 added, 0 deleted, 0 changed) OCL=30058 CL=30060
2009-06-08- bug fix: no need to add extra '.' when renaming custom formattersRobert Griesemer2-3/+9
- added corresponding test case R=rsc DELTA=10 (7 added, 1 deleted, 2 changed) OCL=30055 CL=30059
2009-06-08add exec example to http triv.go.Russ Cox2-4/+44
fix darwin interrupt bug (race with SIGCHLD). R=gri DELTA=46 (40 added, 0 deleted, 6 changed) OCL=30052 CL=30057
2009-06-08Fix Makefile in runtime to create proper /pkg subdir.Kai Backman1-1/+2
R=rsc APPROVED=rsc DELTA=2 (1 added, 0 deleted, 1 changed) OCL=30043 CL=30043
2009-06-06move src/runtime -> src/lib/runtime;Russ Cox2-46/+107
hand-edited files. R=r DELTA=125 (77 added, 16 deleted, 32 changed) OCL=30001 CL=30008
2009-06-06move src/runtime -> src/lib/runtime;Russ Cox74-0/+14614
only automatic g4 mv here. R=r OCL=30002 CL=30007
2009-06-06gzip packageRuss Cox5-0/+568
R=dsymonds DELTA=559 (559 added, 0 deleted, 0 changed) OCL=29993 CL=30005
2009-06-06flate packageRuss Cox3-0/+864
R=dsymonds DELTA=858 (858 added, 0 deleted, 0 changed) OCL=29992 CL=30004
2009-06-06Publish types PipeReader and PipeWriterRuss Cox2-81/+138
to expose new CloseWithError methods. R=r DELTA=161 (72 added, 15 deleted, 74 changed) OCL=29980 CL=30003
2009-06-06fix build: testing depends on regexp now; re-ran deps.bashRuss Cox1-2/+2
TBR=r OCL=29991 CL=29994
2009-06-06Basic HTTP POST support.David Symonds2-6/+43
R=rsc APPROVED=rsc DELTA=45 (37 added, 1 deleted, 7 changed) OCL=29964 CL=29990
2009-06-06delete unnecessary newlineRuss Cox1-1/+1
R=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=29971 CL=29975
2009-06-05rebuilt Makefiles for CL 29923Russ Cox49-687/+295
R=r DELTA=761 (1 added, 433 deleted, 327 changed) OCL=29927 CL=29966
2009-06-05Add Upper, Lower, Trim methods to strings package.Steve Newman2-0/+110
APPROVED=rsc DELTA=110 (110 added, 0 deleted, 0 changed) OCL=29766 CL=29951
2009-06-05restructure makefiles, scripts to factor out O= logic.Russ Cox1-2/+0
remove a few hardcoded paths elsewhere too. R=r,gri DELTA=123 (44 added, 15 deleted, 64 changed) OCL=29914 CL=29945
2009-06-05fix 386 malloc tests,Russ Cox1-1/+1
detect 386 darwin breakpoint line. R=r DELTA=22 (4 added, 0 deleted, 18 changed) OCL=29929 CL=29944
2009-06-05fix 386 log testRuss Cox1-1/+1
R=r DELTA=13 (0 added, 1 deleted, 12 changed) OCL=29928 CL=29943
2009-06-04386-related fixes and guardsRuss Cox2-5/+12
R=r DELTA=44 (19 added, 1 deleted, 24 changed) OCL=29912 CL=29915
2009-06-04- interpret form feed char as newline + flushRobert Griesemer2-195/+176
- cleanups: - replaced internal byte buffer implementation with io.ByteBuffer (now that we have one) - removed all uses of goto statements in favor of structured code - converted tests into a table-driven test R=r DELTA=277 (48 added, 67 deleted, 162 changed) OCL=29890 CL=29901
2009-06-04rename -chatty to more conventional -v.Russ Cox1-1/+13
add -match flag to select tests. gotest -match 'TestDeepEqual$' R=r DELTA=13 (12 added, 0 deleted, 1 changed) OCL=29900 CL=29900
2009-06-04use the new bytes packageRob Pike6-34/+23
R=rsc DELTA=61 (8 added, 31 deleted, 22 changed) OCL=29897 CL=29899
2009-06-04bytes.CopyRob Pike4-0/+38
R=rsc DELTA=38 (38 added, 0 deleted, 0 changed) OCL=29895 CL=29895
2009-06-04add a bytes package analogous to the strings package.Rob Pike3-0/+352
also has Equal and Compare R=rsc DELTA=348 (348 added, 0 deleted, 0 changed) OCL=29892 CL=29894
2009-06-04- report an error if format is nil instead of crashingRobert Griesemer1-3/+7
- treat '\f' like '\n' ('\f' has special meaning in the tabwriter now) R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=29790 CL=29893
2009-06-04allow &^= in assignmentsRobert Griesemer1-2/+2
R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=29889 CL=29889
2009-06-04missing darwin files; g4 nothave.Russ Cox2-0/+117
R=r DELTA=115 (115 added, 0 deleted, 0 changed) OCL=29884 CL=29888
2009-06-04machine-generated files for CL 29882Russ Cox4-0/+1652
R=r DELTA=1652 (1652 added, 0 deleted, 0 changed) OCL=29883 CL=29887
2009-06-04linux 386 support; now in same state as darwin 386Russ Cox8-7/+362
(stuck on 8l bug). R=r DELTA=349 (342 added, 1 deleted, 6 changed) OCL=29882 CL=29886
2009-06-04more 386 runtime fixes.Russ Cox4-16/+23
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-03fix build. i would love to know why my other clientRuss Cox1-11/+0
didn't see this as a diff. TBR=r OCL=29827 CL=29831
2009-06-03Define os.PageSize and syscall.PageSize.David Symonds3-0/+13
R=rsc APPROVED=rsc DELTA=13 (13 added, 0 deleted, 0 changed) OCL=29429 CL=29819
2009-06-02mechanically-generated syscall filesRuss Cox4-0/+1615
R=r DELTA=1615 (1615 added, 0 deleted, 0 changed) OCL=29803 CL=29810
2009-06-02386 library updatesRuss Cox6-4/+167
R=r DELTA=161 (153 added, 0 deleted, 8 changed) OCL=29802 CL=29809
2009-06-02for consistency with syscall, rename filesRuss Cox6-10/+24
from GOARCH_GOOS -> GOOS_GOARCH. update os_test and add test of Time. R=r DELTA=490 (247 added, 233 deleted, 10 changed) OCL=29730 CL=29805
2009-06-02Add container/list package.David Symonds5-0/+292
This is imported from //cacheserving/gash/cache/list*.go, but with style changes to suit the Go standard library. R=r,rsc APPROVED=r DELTA=286 (286 added, 0 deleted, 0 changed) OCL=29438 CL=29796
2009-06-02change datafmt syntax to use '@' instead of '^' (to matchRobert Griesemer3-12/+14
convention used in template.go) R=rsc DELTA=22 (3 added, 1 deleted, 18 changed) OCL=29780 CL=29782
2009-06-02remove superfluous indirectionRobert Griesemer1-7/+7
R=rsc DELTA=7 (0 added, 0 deleted, 7 changed) OCL=29776 CL=29778
2009-06-02- renamed format -> datafmtRobert Griesemer8-40/+174
- factored out datafmt-specifics from pretty to ast R=rsc DELTA=3580 (1810 added, 1763 deleted, 7 changed) OCL=29770 CL=29774
2009-06-02Fixes to URL functionality:Steve Newman2-32/+285
- Extend http.URLUnescape to convert '+' to space - Add http.URLEscape - Rename URL.Query to EncodedQuery (and stop decoding it, as decoding this field before separating key/value pairs loses important information) - Report a clean error on incomplete hex escapes - Update existing tests, add new ones APPROVED=rsc DELTA=293 (256 added, 3 deleted, 34 changed) OCL=29685 CL=29759
2009-06-01auto-generated, renamed, and deleted filesRuss Cox28-2046/+2539
associated with CL 29709. R=r DELTA=6444 (3476 added, 2958 deleted, 10 changed) OCL=29710 CL=29724
2009-06-01new syscall package: manually maintained files and scripts.Russ Cox15-72/+2351
auto-generated files and deletions are in another CL. goals for new syscall: * automate as much as possible * do not let clients do unsafe things * use simple types (int not int64) * fewer files the files are renamed from foo_amd64_linux to foo_linux_amd64, both because it reads better (all the linux are related, all the amd64 less so) and because it made it easier to replace the existing ones. R=r DELTA=2336 (2260 added, 6 deleted, 70 changed) OCL=29709 CL=29723
2009-06-01update Go tree to use new syscall package.Russ Cox22-555/+282
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-06-01format packageRobert Griesemer6-0/+1675
R=r,rsc DELTA=2871 (1712 added, 1118 deleted, 41 changed) OCL=29222 CL=29704