- 20 Sep, 2012 8 commits
-
-
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 22 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
-
Dmitriy Vyukov authored
This is the second part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 This change makes the linker emit dependency on runtime/race package when supplied with -b flag. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/6488074
-
Russ Cox authored
Fixes #4061. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6525047
-
Dmitriy Vyukov authored
This is the first part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 Adds -race flag to go command. API change: +pkg go/build, type Context struct, InstallTag string R=rsc CC=golang-dev https://golang.org/cl/6488075
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 This change breaks circular dependency between runtime/race and syscall packages. R=rsc CC=golang-dev https://golang.org/cl/6498079
-
Russ Cox authored
The performance changes will be a few different CLs. Start with benchmarks as a baseline. R=golang-dev, r CC=golang-dev https://golang.org/cl/6537043
-
Jan Ziak authored
R=rsc, dvyukov, dave CC=golang-dev https://golang.org/cl/6528043
-
Robert Griesemer authored
Function and method calls are valid expression statements, but calling certain built-in functions is not permitted. Enumerate the built-ins. Also: unsafe.Offsetof permits parenthesized selectors as arguments. This is simply documenting existing compiler behavior (both gc and gccgo agree). R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6498138
-
Jan Ziak authored
R=rsc CC=golang-dev https://golang.org/cl/6527043
-
Russ Cox authored
Fixes #3942. R=golang-dev, mike.rosset, r CC=golang-dev https://golang.org/cl/6524043
-
Russ Cox authored
R=r, iant, rogpeppe, bradfitz CC=golang-dev https://golang.org/cl/6498078
-
Anthony Eufemio authored
Fixes #4093. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/6536047
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6524045
-
Dmitriy Vyukov authored
The change is a preparation for the new scheduler. It introduces runtime.park() function, that will atomically unlock the mutex and park the goroutine. It will allow to remove the racy readyonstop flag that is difficult to implement w/o the global scheduler mutex. R=rsc, remyoudompheng, dave CC=golang-dev https://golang.org/cl/6501077
-
Mikio Hara authored
Broke TCP selfConnect ««« original CL description net: avoid nil pointer dereference when RemoteAddr.String method chain is called Fixes #3721. R=dave, rsc CC=golang-dev https://golang.org/cl/6395055 »»» R=rsc CC=golang-dev https://golang.org/cl/6533043
-
Oling Cat authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6488122
-
Daniel Morsing authored
During interface compare, the operands will be evaluated twice. The operands might include function calls for conversion, so make them cheap before comparing them. R=rsc CC=golang-dev https://golang.org/cl/6498133
-
Nigel Tao authored
Fixes #4084. R=r CC=golang-dev https://golang.org/cl/6526043
-
Alex Brainman authored
syscall: attempt to find error message in "local" language before resorting to error number on windows R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6499121
-
Andrew Gerrand authored
R=golang-dev CC=golang-dev https://golang.org/cl/6506129
-