1
0
mirror of https://github.com/golang/go synced 2024-10-03 04:11:21 -06:00
go/src
Russ Cox bed1f90d08 cmd/internal/gc: delete Strlit, Zconv
Strlit was just a poor excuse for a Go string.
Use a Go string.
In the one case where it was a string-or-nil (Type.Note), use a *string.

Zconv was a poor excuse for %q. Use %q.
The only important part about Zconv's implementation
was that the compiler and linker agreed on the quoting rules.
Now they both use %q instead of having two Zconvs.

This CL *does* change the generated object files, because the
quoted strings end up in symbol names.
For example the string "\r\n" used to be named go.string."\r\n"
and is now go.string."\x0d\n".

Change-Id: I5c0d38e1570ffc495f0db1a20273c9564104a7e8
Reviewed-on: https://go-review.googlesource.com/6519
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2015-03-03 20:33:00 +00:00
..
archive archive/zip: fix size value in ZIP64 end central directory record 2015-02-26 15:24:32 +00:00
bufio
builtin
bytes
cmd cmd/internal/gc: delete Strlit, Zconv 2015-03-03 20:33:00 +00:00
compress
container
crypto crypto/x509: skip tests not made for darwin/arm 2015-02-27 19:38:33 +00:00
database/sql
debug all: mv 5a old5a and so on 2015-03-02 00:14:11 +00:00
encoding encoding/xml: fix namespaces in a>b tags 2015-03-03 14:03:37 +00:00
errors
expvar
flag
fmt fmt: document existing behavior of nil receivers 2015-03-01 18:17:53 +00:00
go go/build: skip GOROOT tests on darwin/arm 2015-03-03 20:03:01 +00:00
hash
html
image image/jpeg: when following component selectors, only consider valid 2015-03-03 00:01:43 +00:00
index/suffixarray
internal os: Use GetComputerNameEx to get Hostname on win32 2015-02-25 23:16:44 +00:00
io
log
math math/big: replace Float.NewInf with Float.SetInf for more consistent API 2015-03-02 20:35:49 +00:00
mime mime/quotedprintable: create the package 2015-02-26 20:09:28 +00:00
net syscall: fix parsing ipv6 address prefix on dragonfly 2015-03-03 03:27:14 +00:00
os os: set TMPDIR on darwin/arm 2015-03-02 18:46:11 +00:00
path path/filepath: get tests working on darwin/arm 2015-03-01 18:38:21 +00:00
reflect Call --> CallSlice in two spots. No logic change, docs only. 2015-02-22 17:22:04 +00:00
regexp
runtime runtime: remove makeStringSlice 2015-03-03 17:54:47 +00:00
sort
strconv
strings
sync sync: add active spinning to Mutex 2015-02-24 10:53:48 +00:00
syscall syscall: fix parsing ipv6 address prefix on dragonfly 2015-03-03 03:27:14 +00:00
testing
text
time time: zoneinfo support for darwin 2015-03-03 15:37:14 +00:00
unicode unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max). 2015-02-16 21:35:33 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: add bootstrap.bash for bootstrapping new systems 2015-03-02 17:51:56 +00:00
clean.bash
clean.bat
clean.rc
make.bash [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
make.bat build: update Windows make.bat to use CC_FOR_TARGET. 2015-03-02 02:20:46 +00:00
Make.dist
make.rc all: delete C libraries and cmd/dist code that builds them 2015-03-01 00:40:23 +00:00
nacltest.bash
race.bash [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
race.bat [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' 2015-02-23 15:13:17 +00:00
run.bash build: skip cgo -pie tests on freebsd-amd64. 2015-03-02 22:00:16 +00:00
run.bat build: give windows builders extra time for tests 2015-03-01 00:38:53 +00:00
run.rc build: restore original timeouts in run.rc 2015-02-27 16:58:18 +00:00