summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* amd64: use segment memory for thread-local storageRuss Cox2010-08-0424-218/+467
| | | | | | | | | | | | | Returns R14 and R15 to the available register pool. Plays more nicely with ELF ABI C code. In particular, our signal handlers will no longer crash when a signal arrives during execution of a cgo C call. Fixes issue 720. R=ken2, r CC=golang-dev http://codereview.appspot.com/1847051
* misc/vim: highlight misspelled words only in commentsChristian Himpel2010-08-051-2/+2
| | | | | | | | R=adg CC=golang-dev http://codereview.appspot.com/1915043 Committer: Andrew Gerrand <adg@golang.org>
* gofmt/go/parser: strengthen syntax checksRobert Griesemer2010-08-042-64/+66
| | | | | | | | | | | | | - don't allow parenthesized receiver base types or anonymous fields - fixed a couple of other omissions - adjusted gofmt test script - removed several TODOs R=rsc CC=golang-dev http://codereview.appspot.com/1897043 Committer: Robert Griesemer <gri@golang.org>
* goinstall: check for error from exec.*Cmd.Wait() before using its resultAlex Brainman2010-08-041-0/+3
| | | | | | | | R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1923043 Committer: Russ Cox <rsc@golang.org>
* cgo: generate correct multiple return value function invocationsChristian Himpel2010-08-041-1/+1
| | | | | | | | | | Fixes issue 967. R=rsc CC=golang-dev http://codereview.appspot.com/1855051 Committer: Russ Cox <rsc@golang.org>
* A+C: fix email addressRuss Cox2010-08-042-2/+2
| | | | | | R=adg CC=golang-dev http://codereview.appspot.com/1856052
* gofmt: make code more readable by avoiding redeclarationRobert Griesemer2010-08-031-2/+2
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/1910045
* bytes: added test case for explode with blank string.Scott Lawrence2010-08-041-0/+1
| | | | | | | | | | Tests for the equivalent of the strings.explode("") panic bug (issue 980). R=golang-dev, r CC=golang-dev http://codereview.appspot.com/1850052 Committer: Rob Pike <r@golang.org>
* json: object members must have a valueAnthony Martin2010-08-032-5/+11
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1847050 Committer: Russ Cox <rsc@golang.org>
* A+C: Anthony Martin, Christian Himpel (individual CLA)Russ Cox2010-08-032-0/+4
| | | | | | R=adg CC=golang-dev http://codereview.appspot.com/1689061
* bufio: introduce Peek.Nigel Tao2010-08-042-8/+70
| | | | | | | | I'll leave whether or not this obsoletes UnreadByte for a future CL. R=r, rsc CC=golang-dev http://codereview.appspot.com/1912042
* os: change the type of permissions argument for Open etc. to uint32.Rob Pike2010-08-0421-128/+128
| | | | | | | | | Besides being more correct, it protects against people accidentally exchanging the permission and open mode arguments to Open. R=rsc CC=golang-dev http://codereview.appspot.com/1904045
* websocket: correct challenge responseTarmigan Casebolt2010-08-034-49/+48
| | | | | | | | | | Tested against latest Chrome. R=ukai, rsc CC=golang-dev http://codereview.appspot.com/1743053 Committer: Russ Cox <rsc@golang.org>
* bikeshed: only output bug when we have a regressionKai Backman2010-08-031-0/+4
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1897046 Committer: Russ Cox <rsc@golang.org>
* CONTRIBUTORS: Rietveld alias for brad@danga.comRuss Cox2010-08-031-1/+6
| | | | | | R=adg CC=bradfitz, golang-dev http://codereview.appspot.com/1715060
* os: Null devicePeter Mundy2010-08-033-1/+7
| | | | | | | | R=rsc, cw CC=golang-dev http://codereview.appspot.com/1854042 Committer: Russ Cox <rsc@golang.org>
* arm: remove old qemu dependency from gotestKai Backman2010-08-031-6/+0
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1678063 Committer: Russ Cox <rsc@golang.org>
* test/run: diff old newRuss Cox2010-08-032-2/+2
| | | | | | R=r, iant CC=golang-dev http://codereview.appspot.com/1907046
* crypto/x509: unwrap Subject Key IdentifierAdam Langley2010-08-031-1/+6
| | | | | | | | | | | | | | | RFC 5280, 4.2.1.2 says: SubjectKeyIdentifier ::= KeyIdentifier KeyIdentifier ::= OCTET STRING Previously, we were failing to unwrap the second level of OCTET STRING encoding. Fixes issue 993. R=rsc CC=golang-dev http://codereview.appspot.com/1917044
* gc: empty selectRuss Cox2010-08-033-37/+32
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/1871057
* gc: bug301Russ Cox2010-08-032-1/+19
| | | | | | | | Fixes issue 990. R=ken2 CC=golang-dev http://codereview.appspot.com/1742055
* gc: bug299, bug300Russ Cox2010-08-037-55/+74
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/1731057
* A+C: Tarmigan CaseboltRuss Cox2010-08-032-0/+2
| | | | | | R=adg CC=golang-dev, tarm http://codereview.appspot.com/1923041
* gc: index bounds tests and fixesRuss Cox2010-08-0317-112/+447
| | | | | | | | | move constant index checking to front end x[2:1] is a compile-time error now too R=ken2 CC=golang-dev http://codereview.appspot.com/1848056
* strings: fix Split("", "", -1)Scott Lawrence2010-08-032-2/+5
| | | | | | | | | | | | | Fixes issue 980. Made it return an empty array, rather than crash. Added relevant test cases to strings. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/1914041 Committer: Rob Pike <r@golang.org>
* Add Scott Lawrence to C&ARob Pike2010-08-032-0/+2
| | | | | | R=adg CC=golang-dev http://codereview.appspot.com/1899044
* syscall: make sure go error numbers do not clash with windows system errorsAlex Brainman2010-08-037-143/+457
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1857049 Committer: Alex Brainman <alex.brainman@gmail.com>
* builder: update script so it doesn't create tar-bombsAndrew Gerrand2010-08-031-6/+10
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1857048
* image: introduce Gray and Gray16 types, and remove the named colorsNigel Tao2010-08-033-22/+121
| | | | | | | | except for Black and White. R=rsc CC=golang-dev, mpl, r http://codereview.appspot.com/1903049
* io: consolidate multi_reader and multi_writer into a single file, multi.goRob Pike2010-08-035-75/+56
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1860046
* image/png: use image-specific methods for checking opacity.Nigel Tao2010-08-021-0/+7
| | | | | | R=rsc CC=golang-dev, mpl http://codereview.appspot.com/1894047
* websocket: fix bug involving spaces in header keysBill Neubauer2010-07-302-8/+24
| | | | | | | | R=rsc, ukai CC=golang-dev http://codereview.appspot.com/1669056 Committer: Russ Cox <rsc@golang.org>
* CONTRIBUTORS: add wcn@google.com alias to match with code reviewRuss Cox2010-07-301-1/+1
| | | | | | R=wcn CC=golang-dev http://codereview.appspot.com/1902043
* runtime: do not fall through in SIGBUS/SIGSEGVRuss Cox2010-07-303-6/+12
| | | | | | | | | Faults beyond the first page are not expected and should fail loudly. They are not subject to recover. R=r CC=golang-dev http://codereview.appspot.com/1915042
* arm: disable another flaky test.Kai Backman2010-07-301-2/+2
| | | | | | | | | these tests work fine on n1 and gumstix. it's unclear why they keep failing on the godashboard build. R=rsc CC=golang-dev http://codereview.appspot.com/1664056
* fix buildKai Backman2010-07-301-4/+4
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1913042
* arm: bugfixes (stack clobbering, indices)Kai Backman2010-07-306-86/+97
| | | | | | | | also changed zerodivide to output "BUG" R=rsc CC=golang-dev http://codereview.appspot.com/1871055
* arm: add gdb support to android launcher scriptKai Backman2010-07-301-6/+15
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1742050
* tag release.2010-07-29Andrew Gerrand2010-07-300-0/+0
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1896044
* release.2010-07-29weekly.2010-07-29Andrew Gerrand2010-07-301-0/+53
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1907045
* misc/builder: support for uploading tarballs to googlecodeAndrew Gerrand2010-07-308-10/+355
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1784042 Committer: Andrew Gerrand <adg@golang.org>
* cov and prof: implement windows version (just function stubs and build mods)Joe Poirier2010-07-305-3/+86
| | | | | | | | R=brainman, rsc CC=golang-dev http://codereview.appspot.com/1676054 Committer: Alex Brainman <alex.brainman@gmail.com>
* bug300: literal types must not be parenthesizedRobert Griesemer2010-07-292-0/+32
| | | | | | | | | ( This CL is dependent on acceptance of http://codereview.appspot.com/1913041/show ) R=go-dev CC=golang-dev http://codereview.appspot.com/1860045
* go_spec: don't allow parens around the literal type of composite literalsRobert Griesemer2010-07-292-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Background: The current spec is imprecise with respect to the parsing ambiguity for composite literals: It says that the ambiguity arises when the TypeName form of the LiteralType is used. The following code: if (B) {} ... is not using the TypeName form (but the parenthesized TypeName form) and thus could be interpreted as: if ((B){}) ... instead of if B {} ... Both compilers and gofmt choose the latter interpretation. One could fix the spec by making the clause regarding the parsing ambiguity more precise ("...using the _possibly parenthesized_ TypeName form of the LiteralType..."). The alternative (chosen here) is to simply disallow parenthesized literal types. Except for a single test case (test/parentype.go) there appears to be no Go code under $GOROOT containing parenthesized literal types. Furthermore, parentheses are never needed around a literal type for correct parsing. R=golang-dev CC=golang-dev http://codereview.appspot.com/1913041
* doc: update front page and go_learning.htmlAndrew Gerrand2010-07-309-58/+106
| | | | | | | | | This is a stop-gap change to give more current information visibility before a more thorough reorganization. R=r, rsc, gri CC=golang-dev http://codereview.appspot.com/1902042
* mime: add AddExtensionTypeYuusei Kuwana2010-07-291-1/+21
| | | | | | | | | | | | For example: mime.AddExtensionType(".m3u8", "application/x-mpegURL") mime.AddExtensionType(".ts", "video/MP2T") R=rsc, rsc1 CC=golang-dev http://codereview.appspot.com/1698046 Committer: Russ Cox <rsc@golang.org>
* A+C: Yuusei Kuwana (individual CLA)Russ Cox2010-07-292-0/+2
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/1871054
* scanner: better commentRobert Griesemer2010-07-291-1/+1
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1900044
* bug299: parenthesized receiver types/anonymous fields are illegalRobert Griesemer2010-07-292-0/+36
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/1846051
* fmt.Print: fix bug in placement of spaces introduced when ...T went in.Rob Pike2010-07-292-5/+25
| | | | | | | | Fixes issue 976. R=rsc, chris tighe, r CC=golang-dev http://codereview.appspot.com/1697057