- 23 Sep, 2012 2 commits
-
-
Rob Pike authored
When I was a lad (and well past), users were in /usr; now they're somewhere else, I'm told. Kids today. Fixes #4122. R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/6552060
-
Russ Cox authored
Fixes #3670. R=ken2 CC=golang-dev https://golang.org/cl/6542058
-
- 22 Sep, 2012 6 commits
-
-
Rob Pike authored
- remove ambiguous 'it' - use a lower-case PackageName in the example R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6552057
-
Russ Cox authored
The width was not being set on the address, which meant that the optimizer could not find variables that overlapped with it and mark them as having had their address taken. This let to the compiler believing variables had been set but never used and then optimizing away the set. Fixes #4129. R=ken2 CC=golang-dev https://golang.org/cl/6552059
-
Russ Cox authored
Fixes #4047. R=iant, r CC=golang-dev https://golang.org/cl/6500065
-
Joel Sing authored
Use the debug data for enums on windows. Fixes #4120. R=alex.brainman CC=golang-dev https://golang.org/cl/6545047
-
Joel Sing authored
Add support for processing the COFF symbol table. R=alex.brainman CC=golang-dev https://golang.org/cl/6551045
-
Russ Cox authored
Fixes #4082. R=dsymonds CC=golang-dev https://golang.org/cl/6545055
-
- 21 Sep, 2012 10 commits
-
-
Rob Pike authored
Fixes #4114. R=golang-dev, iant, rsc, iant, devon.odell CC=golang-dev https://golang.org/cl/6553050
-
Andrew Gerrand authored
R=rsc, r CC=gobot, golang-dev https://golang.org/cl/6532049
-
Andrew Gerrand authored
These talks have been moved to the go.talks sub-repository: https://code.google.com/p/go.talks R=rsc, r CC=gobot, golang-dev https://golang.org/cl/6529052
-
Rémy Oudompheng authored
R=rsc, golang-dev CC=golang-dev https://golang.org/cl/6528044
-
Russ Cox authored
Fixes #2446. R=ken2 CC=golang-dev https://golang.org/cl/6557044
-
Jan Ziak authored
R=rsc CC=golang-dev https://golang.org/cl/6554043
-
Shenghou Ma authored
We only pass lower 32 bits of file offset to asm routine. R=r, dave, rsc CC=golang-dev https://golang.org/cl/6499118
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6548046
-
Russ Cox authored
*** There is an API change here: the introduction of the LatinOffset int in the RangeTable struct. *** * Avoid checking Latin range multiple times for non-Latin runes. * Use linear search when it is faster than binary search. go test -calibrate runs the calibration for where the linear/binary crossover should be. benchmark old MB/s new MB/s speedup BenchmarkFields 36.27 41.43 1.14x BenchmarkFieldsFunc 36.23 41.38 1.14x The speedup here is evenly split between the linear scans and the LatinOffset change. Both are about 1.07x. R=r CC=bradfitz, gobot, golang-dev https://golang.org/cl/6526048
-
Joel Sing authored
OpenBSD now requires ELF binaries to have a PT_NOTE that identifies it as an OpenBSD binary. Refactor the existing NetBSD ELF signature code and implement support for OpenBSD ELF signatures. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6489131
-
- 20 Sep, 2012 9 commits
-
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6546044
-
Dmitriy Vyukov authored
Tests behavior of Once when initialization function panics. R=golang-dev, r CC=golang-dev https://golang.org/cl/6554047
-
Lucio De Re authored
The calculation of datsize is redundant. R=golang-dev, seed, rsc CC=golang-dev https://golang.org/cl/6503122
-
Dmitriy Vyukov authored
Otherwise they sum up between GCs. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6535048
-
Andrew Harding authored
R=golang-dev, agl CC=golang-dev https://golang.org/cl/6535057
-
Adam Langley authored
Previously we tried to parse email constraints as the maximum base distance (which is unused and must be omitted according to RFC 5280) because they share the same tag number. Rather than complicate the code further, this CL just ignores the unused values. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6552044
-
Adam Langley authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6544044
-
Joel Sing authored
Always process the DWARF info, even when the const value is determined using the debug data block. This ensures that the injected enum is removed and future loads of the same constant do not trigger inconsistent definitions. Add tests for issues 2470 and 4054. Fixes #4054. R=golang-dev, fullung, dave, rsc, minux.ma CC=golang-dev https://golang.org/cl/6501101
-
Alex Brainman authored
R=golang-dev, r, minux.ma, dave, bradfitz CC=golang-dev https://golang.org/cl/6532052
-
- 19 Sep, 2012 10 commits
-
-
David Symonds authored
In a range loop, the presence of a value implies the presence of a key. However, the presence of a value as an *ast.Ident does not imply that the key is also an *ast.Ident, thus leading to a panic any time the two argument form is used where the key is not an identifier. R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/6540045
-
David Symonds authored
Previously, an import block such as import ( "net" "stack" ) would not permit ":Drop stack" to work because we were aborting the scan early, which is only correct when Import is in operation. R=golang-dev, franciscossouza CC=golang-dev https://golang.org/cl/6532053
-
Robert Griesemer authored
(see also issue 3961). hexdump -c testdata/crlf.input 0000000 / * \r \n \t S o u r c e c o n t 0000010 a i n i n g C R / L F l i n 0000020 e e n d i n g s . \r \n \t T h e 0000030 g o f m t ' e d o u t p u t 0000040 m u s t o n l y h a v e 0000050 L F \r \n \t l i n e e n d i n g 0000060 s . \r \n * / \r \n p a c k a g e 0000070 m a i n \r \n \r \n f u n c m a i 0000080 n ( ) { \r \n \t / / l i n e 0000090 c o m m e n t \r \n \t p r i n t l 00000a0 n ( " h e l l o , w o r l d ! 00000b0 " ) / / a n o t h e r l i 00000c0 n e c o m m e n t \r \n \t p r i 00000d0 n t l n ( ) \r \n } \r \n 00000db hexdump -c testdata/crlf.golden 0000000 / * \n \t S o u r c e c o n t a 0000010 i n i n g C R / L F l i n e 0000020 e n d i n g s . \n \t T h e g 0000030 o f m t ' e d o u t p u t m 0000040 u s t o n l y h a v e L F 0000050 \n \t l i n e e n d i n g s . \n 0000060 * / \n p a c k a g e m a i n \n 0000070 \n f u n c m a i n ( ) { \n \t 0000080 / / l i n e c o m m e n t \n 0000090 \t p r i n t l n ( " h e l l o , 00000a0 w o r l d ! " ) / / a n o 00000b0 t h e r l i n e c o m m e n 00000c0 t \n \t p r i n t l n ( ) \n } \n 00000cf R=rsc CC=golang-dev https://golang.org/cl/6526052
-
Robert Griesemer authored
Fixes #4100. R=adg, r, dave CC=golang-dev https://golang.org/cl/6535055
-
Shenghou Ma authored
we need to restore %PATH% before calling "dist banner", so that it could suggest the user to add %GOROOT%/bin to %PATH% if necessary. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6525049
-
Shenghou Ma authored
use a function to get stdout and stderr, instead of depending on a specific libc implementation. also make test/run.go replace \r\n by \n before comparing output. Fixes #2121. Part of issue 1741. R=alex.brainman, rsc, r, remyoudompheng CC=golang-dev https://golang.org/cl/5847068
-
Shenghou Ma authored
We use pkg path instead of file name (which contains $WORK) in section symbols names. R=golang-dev, fullung, rsc, iant CC=golang-dev https://golang.org/cl/6445085
-
Alex Brainman authored
Fixes #3767 R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/6523043
-
Brad Fitzpatrick authored
Update to tip (to get 6475062 and 6525047) Rebuild cmd/api. Switch to a go1 release branch. Run go tool api > api/go1.txt.new in release branch. Back to tip. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/6528047
-
Alex Brainman authored
R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/6488127
-
- 18 Sep, 2012 3 commits
-
-
Mikio Hara authored
Fixes writing of function parameter, result lists which consist of multiple named or unnamed items with same type. Fixes #4011. R=golang-dev, bsiegert, bradfitz, rsc CC=golang-dev https://golang.org/cl/6475062
-
Andrew Gerrand authored
R=fullung, r, remyoudompheng, minux.ma, gri, rsc CC=golang-dev https://golang.org/cl/6494075
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/6525046
-