aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fmt/format.go
AgeCommit message (Collapse)Author
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
2009-05-15implement %#o %#x %#X formatsRob Pike
R=rsc OCL=28936 CL=28936
2009-05-05fmt: dead code and dataRuss Cox
R=r DELTA=10 (0 added, 10 deleted, 0 changed) OCL=28258 CL=28287
2009-04-21minor adjustment to comment formatting for better godoc outputRobert Griesemer
R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=27687 CL=27689
2009-04-06an early 6g limitation forced the use ofRuss Cox
string(b)[0:n] instead of the more direct string(b[0:n]). convert to the more direct form. R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=27082 CL=27140
2009-03-10fix old-style print call in constantRob Pike
R=rsc OCL=26093 CL=26093
2009-03-06document fmt.Rob Pike
the description of the format verbs still needs to be done. R=rsc DELTA=288 (88 added, 12 deleted, 188 changed) OCL=25814 CL=25833
2009-01-23fix typo in comment. s/put/Put/Rob Pike
R=ken OCL=23419 CL=23419
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-16two more casifications in fmtRob Pike
R=rsc DELTA=14 (0 added, 0 deleted, 14 changed) OCL=22960 CL=22962
2009-01-15convert strconvRuss Cox
R=r DELTA=568 (0 added, 9 deleted, 559 changed) OCL=22898 CL=22901
2009-01-15make safe for new package local defaultsRuss Cox
R=r DELTA=462 (9 added, 33 deleted, 420 changed) OCL=22879 CL=22885
2009-01-15casify fmt and its dependents.Rob Pike
R=rsc DELTA=224 (0 added, 2 deleted, 222 changed) OCL=22875 CL=22875
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19fmt and reflect updates for recent changesRuss Cox
TBR=r OCL=21580 CL=21583
2008-12-11print field names on struct members.Russ Cox
also don't concatenate strings next to each other in the struct, like p.doprint does. expose additional print flags to formatters R=r DELTA=128 (111 added, 11 deleted, 6 changed) OCL=20991 CL=21018
2008-11-25% x inserts spaces between hex bytes in string/*[]byteRuss Cox
R=r DELTA=7 (7 added, 0 deleted, 0 changed) OCL=19967 CL=19978
2008-11-24replay CL 19916 and CL 19913 now that the build can handle themRuss Cox
TBR=r OCL=19924 CL=19934
2008-11-24Automated g4 rollback of changelist 19916.Russ Cox
*** Reason for rollback *** broke build *** Original change description *** utf8: add InString routines for decoding in strings reflect: add InterfaceValue.Get(), remove Empty strconv: add Quote, CanBackquote fmt: * %q go-quoted " string * %#q go-quoted ` string if possible, " string otherwise * %x hexadecimal string * anywhere a string is okay, *[]byte is okay * flags # 0 - + space * print value inside interface, not interface itself * tests TBR=r OCL=19920 CL=19920
2008-11-24utf8: add InString routines for decoding in stringsRuss Cox
reflect: add InterfaceValue.Get(), remove Empty strconv: add Quote, CanBackquote fmt: * %q go-quoted " string * %#q go-quoted ` string if possible, " string otherwise * %x hexadecimal string * anywhere a string is okay, *[]byte is okay * flags # 0 - + space * print value inside interface, not interface itself * tests R=r DELTA=756 (597 added, 121 deleted, 38 changed) OCL=19888 CL=19916
2008-11-17correctly rounded floating-point conversionsRuss Cox
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 Fmt interface: d=int, ud=uint, d32=int32, d64=int64, etc.Russ Cox
R=r DELTA=202 (60 added, 24 deleted, 118 changed) OCL=18029 CL=18038
2008-10-29adapt to new compiler typesRuss Cox
R=r OCL=18024 CL=18024
2008-10-26fix top-level commentsRob Pike
R=rsc DELTA=14 (13 added, 0 deleted, 1 changed) OCL=17858 CL=17867
2008-10-24add printf to fmt.Rob Pike
uses reflection to determine arguments. for now, the arguments must be provided as a struct; the compiler will soon do the packaging automatically for "..." parameters. R=rsc DELTA=1436 (909 added, 520 deleted, 7 changed) OCL=17823 CL=17831