- 14 Jul, 2011 10 commits
-
-
Robert Griesemer authored
Instead of serving files of the underlying OS file system, a .zip file may be provided to godoc containing the files to serve; for instance: godoc -http=:6060 -zip=go.zip using a .zip file created from a clean tree as follows: zip -r go.zip $GOROOT R=rsc CC=golang-dev https://golang.org/cl/4670053
-
Luuk van Dijk authored
Fixes #2056. R=rsc CC=golang-dev https://golang.org/cl/4709042
-
David Symonds authored
Angle brackets can trigger some browser sniffers, causing some forms of JSON output to be interpreted as HTML. Escaping angle brackets closes that security hole. R=rsc CC=golang-dev https://golang.org/cl/4701047
-
Rob Pike authored
{{range $key, $element := pipeline}} This CL is smaller than it looks due to some rearrangement and renaming. R=rsc, r CC=golang-dev https://golang.org/cl/4709047
-
Russ Cox authored
R=bradfitz CC=golang-dev https://golang.org/cl/4695060
-
David Symonds authored
Angle brackets can trigger some browser sniffers, causing some output to be interpreted as HTML. Escaping angle brackets closes that security hole. R=r CC=golang-dev https://golang.org/cl/4714044
-
Rob Pike authored
R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/4711049
-
Rob Pike authored
rather than the type's, so a method's invocation works the same as a function's. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/4704049
-
Mikio Hara authored
R=adg, rsc, bradfitz, mattn.jp, gustavo CC=golang-dev https://golang.org/cl/4625081
-
Rob Pike authored
Just an oversight it was missing. R=rsc, dsymonds, bradfitz, r CC=golang-dev https://golang.org/cl/4695059
-
- 13 Jul, 2011 29 commits
-
-
Yuval Pavel Zholkover authored
Move the Signal interface from exec_posix.go to exec.go. Remove some unsused code from file_plan9.go. R=fshahriar, rsc CC=golang-dev https://golang.org/cl/4683044
-
Alex Brainman authored
Fixes #2068. R=rsc CC=golang-dev https://golang.org/cl/4705046
-
Lucio De Re authored
<ctype.h> has been moved into <u.h>, specifically to be able to drop it from these modules. Will someone check platforms other than UBUNTU/386, please? R=bsiegert, rsc CC=golang-dev https://golang.org/cl/4648078
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4696047
-
Russ Cox authored
Fixes #2069. R=golang-dev, r CC=golang-dev https://golang.org/cl/4703048
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4701045
-
Robert Griesemer authored
R=bradfitz CC=golang-dev https://golang.org/cl/4704047
-
Rob Pike authored
Russ suggested this technique, making the "and" and "or" functions handier. But it's hacky, and I can be talked out of it. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/4698044
-
Rob Pike authored
Also really fix the bug about dot vs. receivers. R=rsc, r CC=golang-dev https://golang.org/cl/4705047
-
Yasuhiro Matsumoto authored
ServeFile() pass empty string to serveFile(). serveFile() should get file extension via joining root and filename. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/4654089
-
Wei Guangjing authored
R=rsc, alex.brainman CC=golang-dev https://golang.org/cl/3790044
-
Matthew Horsnell authored
NewFile has been fixed to read ELF Program headers into the structs. Added test coverage. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4628062
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/4700044
-
Wei Guangjing authored
R=alex.brainman, rsc CC=golang-dev https://golang.org/cl/4681049
-
Dmitriy Vyukov authored
The data race is on newly published Itab nodes, which are both unsafely published and unsafely acquired. It can break on IA-32/Intel64 due to compiler optimizations (most likely not an issue as of now) and on ARM due to hardware memory access reorderings. R=rsc CC=golang-dev https://golang.org/cl/4673055
-
Brad Fitzpatrick authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/4702046
-
Sam Thorogood authored
R=rsc, r CC=golang-dev https://golang.org/cl/4662083
-
Robert Griesemer authored
An externally maintained version of exp/eval can be found at: https://bitbucket.org/binet/go-eval/ . R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/4695047
-
Bobby Powers authored
Without explicitly registering slice types, gob fails to encode map[string]interface{} instances where the value is a slice, failing with a message such as: gob: type not registered for interface: []string Fixes #2065. R=golang-dev, gri, r CC=golang-dev https://golang.org/cl/4672056
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4699048
-
Rob Pike authored
R=golang-dev, dsymonds CC=bobbypowers, golang-dev https://golang.org/cl/4695050
-
Rob Pike authored
- template invocation is by string constant only. - NewSet is gone. - no global Funcs - writer is now first arg to Execute R=rsc, r CC=golang-dev https://golang.org/cl/4700043
-
Rob Pike authored
Document and test that Set.Parse can be called multiple times. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4703044
-
Rob Pike authored
Just an oversight it wasn't already there. Thanks to islandberry@live.com for pointing out the omission. R=golang-dev, dsymonds CC=golang-dev, islandberry https://golang.org/cl/4703043
-
Rob Pike authored
No longer do we generate HTML from it; instead the input file is already in HTML but has template invocations to extract programs from other files. Delete htmlgen, which is no longer needed. Add tmpltohtml, which runs the templating code. R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4699041
-
David Anderson authored
Per the TIS ELF spec, if a PHDR entry is present in the program header table, it must be part of the memory image of the program. Failure to do this makes elflint complain, and causes some tools that manipulate ELF to crash. R=iant, rsc CC=dave, golang-dev https://golang.org/cl/4650067
-
Robert Griesemer authored
Fixes #2066. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4699045
-
Russ Cox authored
R=adg, dsymonds CC=golang-dev https://golang.org/cl/4702043
-
Quan Yong Zhai authored
faster string operations, and more tested on linux/386 runtime_test.BenchmarkSliceToString 642 532 -17.13% runtime_test.BenchmarkStringToSlice 636 528 -16.98% runtime_test.BenchmarkConcatString 1109 897 -19.12% R=r, iant, rsc CC=golang-dev https://golang.org/cl/4674042
-
- 12 Jul, 2011 1 commit
-
-
Andrew Gerrand authored
R=golang-dev, gri, r, agl CC=golang-dev https://golang.org/cl/4696046
-