- 30 Nov, 2009 1 commit
-
-
Eden Li authored
Ideally, the C name would come from the typedef or pointer that references the Size<0 type, but we can't easily generate this without performing a look-ahead to see if any referencing type will become opaque. Fixes #334. Fixes #281. R=rsc https://golang.org/cl/161056
-
- 29 Nov, 2009 4 commits
-
-
Fumitoshi Ukai authored
R=r, rsc https://golang.org/cl/156071
-
Austin Clements authored
Fixes #290. R=rsc https://golang.org/cl/160070
-
Fumitoshi Ukai authored
R=r, rsc https://golang.org/cl/156070
-
Robert Griesemer authored
Fixes #352. R=rsc https://golang.org/cl/161073
-
- 25 Nov, 2009 9 commits
-
-
Rob Pike authored
utf8_test.BenchmarkRuneCountTenASCIIChars 20000000 108 ns/op utf8_test.BenchmarkRuneCountTenJapaneseChars 10000000 199 ns/op utf8_test.BenchmarkEncodeASCIIRune 500000000 6 ns/op utf8_test.BenchmarkEncodeJapaneseRune 100000000 10 ns/op utf8_test.BenchmarkDecodeASCIIRune 100000000 13 ns/op utf8_test.BenchmarkDecodeJapaneseRune 100000000 21 ns/op R=gri CC=golang-dev https://golang.org/cl/161049
-
Rob Pike authored
R=gri CC=golang-dev https://golang.org/cl/160069
-
Nigel Tao authored
This provides an experimental X11 backend for the exp/draw interface. It does not aim to provide a complete implementation of the X11 client protocol. This works for me (Ubuntu Hardy 8.04, GOARCH=386). Your mileage my vary. R=r, rsc, r1 CC=golang-dev https://golang.org/cl/156109
-
Rob Pike authored
before this change, if pkg/Make.deps is missing or broken, clean.bash fails and the build dies but not until much later. add freebsd to error message about valid values of $GOOS TODO: would be nice if this process exited when an error occurred. subshells make it hard R=rsc CC=golang-dev https://golang.org/cl/160065
-
Robert Griesemer authored
R=r, r1 https://golang.org/cl/157167
-
Robert Griesemer authored
Fixed package comment. Renamed some variables for symmetry, added more internal comments and more tests. Fixes #304. R=rsc https://golang.org/cl/157166
-
Russ Cox authored
Fixes #288. R=ken2 https://golang.org/cl/157162
-
Russ Cox authored
Fixes #306. R=r, r1 https://golang.org/cl/160060
-
Rob Pike authored
make the GOOS/GOARCH pair a table to avoid the confusion caused when it was of the form linux/386. R=rsc CC=golang-dev https://golang.org/cl/160061
-
- 24 Nov, 2009 23 commits
-
-
Ken Thompson authored
R=rsc https://golang.org/cl/157160
-
Ken Thompson authored
fixes #326. R=rsc https://golang.org/cl/160059
-
Rob Pike authored
R=rsc CC=golang-dev, rog https://golang.org/cl/160054
-
Robert Griesemer authored
R=iant https://golang.org/cl/160057
-
Rob Pike authored
the current system is too painful, so instead let's just have the coders tell us the details. we can update the files ourselves. R=rsc, r1 CC=golang-dev https://golang.org/cl/157158
-
Robert Griesemer authored
- removed New(len int) in favor of new(Vector).Resize(len, cap) - removed Init(len int) in favor of Resize(len, cap) - runs all.bash Fixes #294. R=rsc, r, r1 https://golang.org/cl/157143
-
Ian Lance Taylor authored
R=rsc CC=r https://golang.org/cl/160056
-
Russ Cox authored
R=gri CC=r https://golang.org/cl/157149
-
Michael Hoisie authored
A quick fix to ensure that json.Marshal returns errors correctly, as well as some error-related tests R=rsc https://golang.org/cl/157151
-
Russ Cox authored
R=r, r1 https://golang.org/cl/157154
-
Roger Peppe authored
based on suggestion from arvindht@gmail.com R=r, rsc, r1 https://golang.org/cl/157091
-
Russ Cox authored
R=r https://golang.org/cl/157157
-
Michael Elkins authored
R=dsymonds1, rsc https://golang.org/cl/156079
-
https://golang.org/cl/156079Michael Elkins authored
R=golang-dev, rsc CC=r https://golang.org/cl/157072
-
Rob Pike authored
R=rsc https://golang.org/cl/157156
-
Trevor Strohman authored
R=rsc, r, r1 https://golang.org/cl/160046
-
Eden Li authored
Fixes #162. R=rsc https://golang.org/cl/157147
-
Russ Cox authored
R=r, r1 https://golang.org/cl/157146
-
Chris Lennert authored
See IETF RFC 1320, http://tools.ietf.org/html/rfc1320. Fixes #279. R=rsc https://golang.org/cl/159051
-
Chris Lennert authored
R=rsc https://golang.org/cl/160047
-
Rob Pike authored
R=rsc CC=golang-dev, reneefrench https://golang.org/cl/157144
-
Sergio Luis O. B. Correia authored
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes #115. R=rsc, dsymonds1 https://golang.org/cl/157067
-
Sergio Luis O. B. Correia authored
getquoted() currently checks for whitespaces and returns nil if it finds one. this prevents us from having go in a path containing whitespaces, as the #pragma dynld directives are processed through the said function. this commit makes getquoted() accept whitespaces, and this is also needed for solving issue #115. R=rsc https://golang.org/cl/157066
-
- 23 Nov, 2009 3 commits
-
-
Russ Cox authored
fix a few paren insertion bugs in the printer too. R=gri, r CC=golang-dev https://golang.org/cl/157119
-
Vish Subramanian authored
I see a crash with the following stack trace: SIGSEGV: segmentation violation Faulting address: 0x44 PC=0x44e510 runtime·mapaccess2+0x18 /home/vish/go/src/pkg/runtime/hashmap.c:790 runtime·mapaccess2(0x0, 0x0) xml·*Parser·text+0x922 /home/vish/go/src/pkg/xml/xml.go:765 xml·*Parser·text(0xe44c9870, 0x7fa3, 0xffffffff, 0x7f00, 0x44b5c4, ...) xml·*Parser·RawToken+0x174 /home/vish/go/src/pkg/xml/xml.go:405 xml·*Parser·RawToken(0xe44c9870, 0x7fa3, 0x0, 0x0) xml·*Parser·Token+0x625 /home/vish/go/src/pkg/xml/xml.go:205 xml·*Parser·Token(0xe44c9870, 0x7fa3, 0x0, 0x0, 0x0, ...) xml·*Parser·Skip+0x27 /home/vish/go/src/pkg/xml/read.go:371 xml·*Parser·Skip(0xe44c9870, 0x7fa3, 0x8, 0x0) xml·*Parser·unmarshal+0xae6 /home/vish/go/src/pkg/xml/read.go:328 xml·*Parser·unmarshal(0xe44c9870, 0x7fa3, 0xe8127120, 0x7fa3, 0xdc94bc40, ...) xml·Unmarshal+0xda /home/vish/go/src/pkg/xml/read.go:121 xml·Unmarshal(0xe65724b0, 0x7fa3, 0xdc94bc00, 0x7fa3, 0x4bcfc0, ...) scraper·DoSearch+0x3d1 /home/vish/my-go-src/google3/experimental/users/vish/go_http/scraper.go:95 scraper·DoSearch(0xe7dc28c0, 0x7fa3, 0x33, 0x3, 0x6d2510, ...) main·scrapeQueries+0x202 /home/vish/my-go-src/google3/experimental/users/vish/go_http/scrape.go:251 main·scrapeQueries(0xe7da2600, 0x7fa3, 0x64, 0x1db0, 0xe7e10000, ...) goexit /home/vish/go/src/pkg/runtime/proc.c:135 goexit() 0x7fa3e7da2600 unknown pc Clearly xml.Parser is accessing an uninitialized map. Add a check for a nil map before accessing it. R=r, rsc https://golang.org/cl/159050
-
Russ Cox authored
R=r https://golang.org/cl/160044
-