- 09 Mar, 2012 9 commits
-
-
Robert Griesemer authored
R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5785057
-
Shenghou Ma authored
For CL 5756065. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5784065
-
Shenghou Ma authored
So that we don't duplicate knowledge about which OS/ARCH combination supports cgo. Also updated src/run.bash and src/sudo.bash to use 'go env'. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5792055
-
Jeremy Jackins authored
familiy -> family R=golang-dev, gri CC=golang-dev https://golang.org/cl/5783061
-
Robert Griesemer authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5783063
-
Robert Griesemer authored
This affects corner (test) cases only; gofmt -w src misc doesn't cause any changes. - added additional test cases - removed doIndent parameter from printer.valueSpec (was always false) - gofmt -w src misc causes no changes Fixes #1207. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/5786060
-
Russ Cox authored
It may have to switch stacks, since we are calling a DLL instead of a system call. badcallback says where it is, because it is being called on a Windows stack already. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5782060
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5782063
-
Andrew Gerrand authored
Updates #3254. R=golang-dev, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/5783058
-
- 08 Mar, 2012 31 commits
-
-
Russ Cox authored
R=dsymonds CC=golang-dev https://golang.org/cl/5781063
-
Russ Cox authored
Implement runtime·write, like on the other systems, and also runtime·badcallback, in assembly to reduce stack footprint. TBR=golang-dev CC=golang-dev https://golang.org/cl/5785055
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5787059
-
Russ Cox authored
Fixes 386 build on 64-bit machines. R=golang-dev, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/5785053
-
Russ Cox authored
When a very low-level system call that should never fail does fail, we call notok, which crashes the program. Often, we are then left with only the program counter as information about the crash, and it is in notok. Instead, inline calls to notok (it is just one instruction on most systems) so that the program counter will tell us which system call is unhappy. R=golang-dev, gri, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/5792048
-
Russ Cox authored
Xcode generates ._foo.go files. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5786055
-
Robert Griesemer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5781058
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5785043
-
Francisco Souza authored
test.bash does not remove main if the test fails, so it is good to keep main in .hgignore. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5784057
-
Shenghou Ma authored
1. consistent usage section (go tool xxx) 2. reformat cmd/ld document with minor correction document which -H flags are valid on which ld document -d flag can't be used on Windows. document -Hwindowsgui R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5782043
-
Francisco Souza authored
The test.bash file generates .so file using gcc, builds the executable using the go tool and then run it with the $LD_LIBRARY_PATH variable pointing to the directory where the .so file lives. Fixes #2982. R=rsc, remyoudompheng CC=golang-dev https://golang.org/cl/5788043
-
Russ Cox authored
Before: $ go run x.go signal 11 (core dumped) $ After: $ go run x.go runtime: cgo callback on thread not created by Go. signal 11 (core dumped) $ For issue 3068. Not a fix, but as much of a fix as we can do before Go 1. R=golang-dev, rogpeppe, gri CC=golang-dev https://golang.org/cl/5781047
-
Robert Griesemer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5782044
-
Mikkel Krautz authored
Also factors out some code into functions to make systemVerify easier to read. R=rsc, agl CC=golang-dev https://golang.org/cl/5781054
-
Mikio Hara authored
Fixes #3249. R=rsc CC=golang-dev https://golang.org/cl/5792043
-
Russ Cox authored
doc: convert to use godoc built-in templates tmpltohtml is gone, to avoid having a second copy of the code. Instead, godoc -url /doc/go1.html will print the actual HTML served for that URL. "make" will generate files named go1.rawhtml etc, which can be fed through tidy. It can be hard to tell from the codereview diffs, but all the tmpl files have been renamed to be html files and then have "Template": true added. R=golang-dev, adg, r, gri CC=golang-dev https://golang.org/cl/5782046
-
Russ Cox authored
Fixes #3247. R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5784051
-
Russ Cox authored
Fixes #3248. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5784052
-
Russ Cox authored
Was missing recompilation of packages imported only by external test packages (package foo_test), primarily because Root was not set, so those packages looked like they were from a different Go tree, so they were not recompiled if they already existed. Also clean things up so that only one call to computeStale is needed. Fixes #3238. R=golang-dev, r CC=golang-dev https://golang.org/cl/5786048
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5781053
-
Andrew Gerrand authored
We decided not to record installs, for now at least. ««« original CL description misc/dashboard: record install counts for external packages R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5699082 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5790044
-
Volker Dobler authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5781052
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5790045
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5784048
-
Robert Griesemer authored
R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/5781048
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5787049
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5786049
-
Robert Griesemer authored
Factored the error synchronization code into two functions syncStmt and syncDecl. Because they may return w/o advancing the scanner, there is potential for endless loops across multiple parse functions; typically caused by an incorrect token list in these functions (e.g., adding token.ELSE to syncStmt will cause the parser to go into an endless loop for test/syntax/semi7.go without this mechanism). This would indicate a compiler bug, exposed only in an error situation for very specific source files. Added a mechanism to force scanner advance if an endless loop is detected. As a result, error recovery will be less good in those cases, but the parser reported a source error already and at least doesn't get stuck. R=rsc, rsc CC=golang-dev https://golang.org/cl/5784046
-
Andrew Gerrand authored
Fixes #3239. R=golang-dev, r CC=golang-dev https://golang.org/cl/5782049
-
Andrew Gerrand authored
Fixes #2912. R=golang-dev, r CC=golang-dev https://golang.org/cl/5783048
-
Russ Cox authored
The spec is looser than the current implementation. The spec edit was made in CL 4444050 (May 2011) but I never implemented it. Fixes #3244. R=ken2 CC=golang-dev https://golang.org/cl/5785049
-