- 03 Feb, 2013 10 commits
-
-
Russ Cox authored
Unify with array/slice errors, which were already good. Fixes #4232. R=ken2 CC=golang-dev https://golang.org/cl/7271046
-
Russ Cox authored
Fixes #3915. Fixes #3923. R=ken2 CC=golang-dev https://golang.org/cl/7281044
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7275045
-
Russ Cox authored
Those symbols are only allowed during imports; the parser may expect them but saying that doesn't help users. Fixes #3434. R=ken2 CC=golang-dev https://golang.org/cl/7277045
-
Russ Cox authored
More efficient, less racy code. Fixes #4014. R=ken2, ken CC=golang-dev https://golang.org/cl/7275047
-
Russ Cox authored
For consistency with conversions that look like function calls, conversions that don't look like function calls now allow an optional trailing comma. That is, int(x,) has always been syntactically valid. Now []int(x,) is valid too. Fixes #4162. R=ken2 CC=golang-dev https://golang.org/cl/7288045
-
Russ Cox authored
Fixes #4618. R=ken2 CC=golang-dev https://golang.org/cl/7278048
-
Russ Cox authored
Fixes #4667. R=ken2 CC=golang-dev https://golang.org/cl/7275046
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/7276048
-
Kyle Lemons authored
This CL also replaces similar loops in other stdlib package tests with calls to AllocsPerRun. Fixes #4461. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/7002055
-
- 02 Feb, 2013 12 commits
-
-
Shenghou Ma authored
Fixes #3202. (Or rather, work around issue 3202) R=alex.brainman, rsc CC=golang-dev https://golang.org/cl/7202053
-
Russ Cox authored
Add Order field to doc.Example and write doc comments there. Fixes #4662. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7229071
-
Ian Lance Taylor authored
Fixes #4743. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7284044
-
Shenghou Ma authored
Fixes #4686. R=alex.brainman, rsc CC=golang-dev https://golang.org/cl/7174047
-
Shenghou Ma authored
R=golang-dev, dave, alex.brainman CC=golang-dev https://golang.org/cl/7133064
-
Daniel Morsing authored
Fixes #4620. R=rsc CC=golang-dev https://golang.org/cl/7241051
-
Russ Cox authored
Expressions involving nil, even if they can be evaluated at compile time, do not count as Go constants and cannot be used in const initializers. Fixes #4673. Fixes #4680. R=ken2 CC=golang-dev https://golang.org/cl/7278043
-
Russ Cox authored
Fixes #4452. R=ken2 CC=golang-dev https://golang.org/cl/7241065
-
Russ Cox authored
Fixes #4663. R=ken2 CC=golang-dev https://golang.org/cl/7235081
-
Russ Cox authored
Fixes #4654. R=ken2 CC=golang-dev https://golang.org/cl/7229072
-
Russ Cox authored
The spec mostly uses the term embedded. It's too late to change the field name but at least fix the docs. Fixes #4514. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7235080
-
Russ Cox authored
Impossible for us to check (without sleazily reaching into the runtime) but at least document it. Fixes #3800. R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/7268043
-
- 18 Jan, 2013 1 commit
-
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7252045
-
- 01 Feb, 2013 13 commits
-
-
Elias Naur authored
Change the stack unwinding code to compensate for the dynamic relocation of symbols. Change the gc instruction GC_CALL to use a relative offset instead of an absolute address. R=golang-dev CC=golang-dev https://golang.org/cl/7248048
-
Robert Daniel Kortschak authored
Fixes #4736. R=rsc CC=golang-dev https://golang.org/cl/7239045
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7220075
-
Miek Gieben authored
This updates: https://golang.org/cl/6909059/ Fixes #4511. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6932054
-
Brad Fitzpatrick authored
Everybody either gets confused and thinks this is TrimLeft/TrimRight or does this by hand which gets repetitive looking. R=rsc, kevlar CC=golang-dev https://golang.org/cl/7239044
-
Elias Naur authored
Added the -pic flag to 6c and 6g to avoid assembler instructions that cannot use RIP-relative adressing. This is needed to support the -shared mode in 6l. See also: https://golang.org/cl/6926049 https://golang.org/cl/6822078 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7064048
-
Russ Cox authored
* Separate internal and external LockOSThread, for cgo safety. * Show goroutine that made faulting cgo call. * Never start a panic due to a signal caused by a cgo call. Fixes #3774. Fixes #3775. Fixes #3797. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7228081
-
Russ Cox authored
Cut out temporary cgo file in error message. Show C.foo instead of _Ctype_foo. Before: x.go:20[/var/folders/00/05_b8000h01000cxqpysvccm000n9d/T/go-build242036121/command-line-arguments/_obj/x.cgo1.go:19]: cannot use tv.Usec (type int32) as type _Ctype___darwin_suseconds_t in assignment After: x.go:20: cannot use tv.Usec (type int32) as type C.__darwin_suseconds_t in assignment Fixes #4255. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7231075
-
Russ Cox authored
The old version was using go/ast's CommentGroup.Text method, but that method drops leading blank lines from the result, so that if the comment looked like one of // // syntax error import "C" /* syntax error */ import "C" then the line numbers for the syntax error would be off by the number of leading blank lines (1 in each of the above cases). The new text extractor preserves blank lines. Fixes #4019. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7232071
-
Russ Cox authored
Fixes #3497. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7235075
-
Russ Cox authored
The Unix and Plan 9 readfile call breset(b) but Windows was not, leaving dregs in the buffer. TBR=golang-dev CC=golang-dev https://golang.org/cl/7229069
-
Russ Cox authored
If runtime's proc.c does not compile, cmd/dist used to show the compile errors in a sea of acid output, making them impossible to find. Change the command invocation to write the acid output to a file, so that the errors are the only thing shown on failure. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7221082
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/7241061
-
- 31 Jan, 2013 4 commits
-
-
Ian Lance Taylor authored
Updates #4734. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7228079
-
Volker Dobler authored
This CL removes the external storage of a cookie jar and minimized the exported API as discussed in [1]. [1] https://groups.google.com/d/topic/golang-dev/ygDB3nbir00/discussion Update #1960. R=nigeltao CC=golang-dev https://golang.org/cl/7235065
-
Russ Cox authored
R=golang-dev CC=golang-dev https://golang.org/cl/7249045
-
Russ Cox authored
R=golang-dev, cookieo9, bradfitz CC=golang-dev https://golang.org/cl/7260043
-