1
0
mirror of https://github.com/golang/go synced 2024-11-25 12:27:57 -07:00
go/src/pkg
Russ Cox 758f2bc556 eliminate the package global name space assumption in object files
5g/6g/8g: add import statements to export metadata, mapping package path to package name.
	recognize "" as the path of the package in export metadata.
	use "" as the path of the package in object symbol names.

5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package.

5l/6l/8l: rewrite "" in symbol names as object files are read.

gotest: handle new symbol names.

gopack: handle new import lines in export metadata.

Collectively, these changes eliminate the assumption of a global
name space in the object file formats.  Higher level pieces such as
reflect and the computation of type hashes still depend on the
assumption; we're not done yet.

R=ken2, r, ken3
CC=golang-dev
https://golang.org/cl/186263
2010-01-22 17:06:20 -08:00
..
archive/tar 1) Change default gofmt default settings for 2009-12-15 15:33:31 -08:00
asn1 asn1: fix marshaling of structures with >1 elements. 2010-01-11 18:54:13 -08:00
big big: fix ProbablyPrime bug, comments 2010-01-05 16:49:05 -08:00
bignum 1) Change default gofmt default settings for 2009-12-15 15:33:31 -08:00
bufio give bufio.Writer.WriteString the same signature as 2010-01-16 13:06:50 +11:00
bytes Remove redundant size check in resize. Let callers worry about that and resize should just do "resize". 2010-01-02 11:09:22 +11:00
compress compress/zlib: add example to doc comment 2010-01-19 13:09:50 -08:00
container Implemented ExtendFront/Back functions to insert a list of elements into a list. 2010-01-15 13:26:13 -08:00
crypto hash: document that Sum does not change hash state 2010-01-19 10:50:04 -08:00
debug eliminate the package global name space assumption in object files 2010-01-22 17:06:20 -08:00
ebnf 1) Change default gofmt default settings for 2009-12-15 15:27:16 -08:00
encoding 1) Change default gofmt default settings for 2009-12-15 15:27:16 -08:00
exec 1) Change default gofmt default settings for 2009-12-15 15:27:16 -08:00
exp Steps towards tracking scopes for identifiers. 2010-01-15 13:27:45 -08:00
expvar typo 2010-01-22 14:24:17 -08:00
flag 1) Change default gofmt default settings for 2009-12-15 15:27:16 -08:00
fmt fix up %p 2009-12-23 07:34:17 +11:00
go Urgent parser/gofmt fix. 2010-01-15 23:17:48 -08:00
gob to improve the chances for compatibility, open a window of unused ids 2010-01-13 12:06:43 +11:00
hash hash: document that Sum does not change hash state 2010-01-19 10:50:04 -08:00
http http: handle old HTTP/1.0 unchunked "read to EOF" bodies. 2010-01-19 17:46:56 -08:00
image PNG decoder now handles transparent paletted images. 2009-12-29 15:23:55 +11:00
io add a standard interface that wraps ReadByte, io.ReadByter 2010-01-07 13:29:43 +11:00
json Propagate error to the caller in json.Marshal. Fixes issue 445. 2010-01-06 07:25:17 -08:00
log 1) Change default gofmt default settings for 2009-12-15 15:35:38 -08:00
malloc 1) Change default gofmt default settings for 2009-12-15 15:35:38 -08:00
math math: special cases for Hypot 2010-01-15 13:21:47 -08:00
net net: enable UDP broadcast before it is needed (instead of after) 2010-01-18 15:59:32 -08:00
netchan first part of networked channels. 2010-01-20 14:12:29 +11:00
once 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
os Replicate signal names from syscall in os/signal. 2010-01-11 11:23:46 -08:00
patch 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
path 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
rand rand: Zipf distributed random variates. 2009-12-15 21:10:37 -08:00
reflect reflect: fix garbage collection bug in Call. 2010-01-18 15:59:50 -08:00
regexp Add query to find number of subexpressions. 2009-12-24 08:43:35 +11:00
rpc Significant extension to http.Response, which now adheres to the 2010-01-18 21:46:59 -08:00
runtime runtime: wait to allocate mach semaphores backing Locks until needed 2010-01-19 21:14:15 -08:00
scanner Light-weight scanner for general use. 2010-01-12 17:04:45 -08:00
sort 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
strconv 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
strings bytes, strings: add new function Fields 2009-12-15 21:09:55 -08:00
sync 1) Change default gofmt default settings for 2009-12-15 15:40:16 -08:00
syscall syscall: add nanosleep on FreeBSD 2010-01-05 09:21:15 -08:00
syslog 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
tabwriter 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
template template: look inside interface values 2010-01-15 13:49:31 -08:00
testing 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
time time: make tick.Stop a little more robust 2010-01-19 17:46:21 -08:00
unicode added some missing periods 2010-01-07 09:27:24 -08:00
unsafe runtime: introduce unsafe.New and unsafe.NewArray 2009-12-07 15:51:58 -08:00
utf8 1) Change default gofmt default settings for 2009-12-15 15:41:46 -08:00
websocket Significant extension to http.Response, which now adheres to the 2010-01-18 21:46:59 -08:00
xgb Fix build: add new file to Makefile. 2010-01-22 07:12:54 -08:00
xml xml: Fix comment so that example code compiles 2010-01-05 16:50:52 -08:00
deps.bash deps.bash: handle space between .go and \ in GOFILES= 2010-01-06 17:59:15 -08:00
Makefile Light-weight scanner for general use. 2010-01-12 17:04:45 -08:00