aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/datafmt
AgeCommit message (Collapse)Author
2009-10-14move datafmt into expRuss Cox
R=gri DELTA=3006 (1503 added, 1503 deleted, 0 changed) OCL=35730 CL=35735
2009-10-08more lgtm files from gofmtRuss Cox
R=gri OCL=35485 CL=35488
2009-10-06apply gofmt to datafmt, ebnf, exec, expvar, flag, fmtRuss Cox
R=gri DELTA=456 (6 added, 3 deleted, 447 changed) OCL=35398 CL=35406
2009-09-17use buf.String() instead of string(buf.Bytes())Rob Pike
use strings.Buffer instead of bytes.Buffer in some places R=rsc DELTA=40 (0 added, 3 deleted, 37 changed) OCL=34770 CL=34775
2009-09-17unused importsRuss Cox
R=r OCL=34731 CL=34731
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701
2009-09-15more "declared and not used".Russ Cox
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-09-09update type switch to match spec.Russ Cox
R=ken OCL=34471 CL=34471
2009-08-12delete forward type declarationsRuss Cox
R=r DELTA=163 (1 added, 149 deleted, 13 changed) OCL=33106 CL=33111
2009-08-12convert non-low-level non-google pkg codeRuss Cox
to whole-package compilation. R=r OCL=33070 CL=33101
2009-08-05- FieldByName lookup through anonymous fieldsRobert Griesemer
- FieldByIndex - changed StructField.Index type from int -> []int - adjustments to reflect clients R=rsc,r DELTA=336 (263 added, 47 deleted, 26 changed) OCL=32731 CL=32802
2009-07-16use FieldByName where possible.Rob Pike
R=rsc DELTA=20 (0 added, 12 deleted, 8 changed) OCL=31758 CL=31758
2009-07-14update remaining files to match new scanner/parser interfaceRobert Griesemer
and use shared error handling infrastructure R=rsc DELTA=109 (3 added, 86 deleted, 20 changed) OCL=31600 CL=31605
2009-07-07datafmt: use new reflect interface (CL 31107)Russ Cox
R=gri DELTA=70 (7 added, 17 deleted, 46 changed) OCL=31113 CL=31283
2009-07-07Avoid race condition. Following the left to right rule,Ian Lance Taylor
s.output.Data() was being retrieved before the synchronization point, which meant that it could be retrieved before the goroutine wrote it. Using gccgo this caused random errors. R=gri DELTA=2 (1 added, 0 deleted, 1 changed) OCL=31046 CL=31267
2009-06-29io.StringBytes -> strings.BytesRuss Cox
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-09mv src/lib to src/pkgRob Pike
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102