Russ Cox
|
85fea81d70
|
Automated g4 rollback of changelist 19916.
*** 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-24 13:24:15 -08:00 |
Russ Cox
|
b65a930453
|
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
R=r
DELTA=756 (597 added, 121 deleted, 38 changed)
OCL=19888
CL=19916
|
2008-11-24 13:04:27 -08:00 |
Rob Pike
|
375b1e2a0e
|
output of fmt has changed for %g
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=19909
CL=19909
|
2008-11-24 11:59:23 -08:00 |
Russ Cox
|
a1585b676b
|
fix the easy parts of bug120
R=r,ken
DELTA=66 (52 added, 3 deleted, 11 changed)
OCL=19386
CL=19389
|
2008-11-17 13:58:45 -08:00 |
Russ Cox
|
079c00a475
|
correctly rounded floating-point conversions
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-11-17 12:34:03 -08:00 |
Russ Cox
|
cc5a382802
|
update Fmt interface: d=int, ud=uint, d32=int32, d64=int64, etc.
R=r
DELTA=202 (60 added, 24 deleted, 118 changed)
OCL=18029
CL=18038
|
2008-10-29 14:28:19 -07:00 |
Rob Pike
|
6f38063369
|
update bugs
delete bug100.go since the compiler is doing what we agreed.
R=gri
OCL=15367
CL=15367
|
2008-09-15 14:27:15 -07:00 |