aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-02release.2011-02-01weekly.2011-02-01Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/4119050
2011-02-015l, 8l: pass stack frame size to morestack when neededRuss Cox
Shame on me: I fixed the same bug in 6l in 8691fcc6a66e (https://golang.org/cl/2609041) and neglected to look at 5l and 8l to see if they were affected. On the positive side, the check I added in that CL is the one that detected this bug. Fixes #1457. R=ken2 CC=golang-dev https://golang.org/cl/3981052
2011-02-01arm: disable peep for releaseRob Pike
R=ken2 CC=golang-dev https://golang.org/cl/4001051
2011-02-01go/ast: reflect communication operator changes accurately in astRobert Griesemer
- go/ast: introduce SendStmt; adjust SelectStmt - go/parser: accept new communication syntax, minor unrelated cleanups - go/printer: adjustments for new ast, fewer binary expression precedences - go/token: remove one binary precedence Adjusted dependent code. gofmt -w src -misc. Ran all tests. R=rsc, gri CC=golang-dev https://golang.org/cl/3989056
2011-02-01go spec: s/log.Crash/log.Panic/Robert Griesemer
There is no log.Crash. R=r, rsc CC=golang-dev https://golang.org/cl/4058048
2011-02-01ld: Add -I option to set ELF interpreter.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/4080049
2011-02-01log: rename Exit* to Fatal*Rob Pike
This aligns the naming scheme with the testing package and also lets govet work on more logging calls. R=rsc CC=golang-dev https://golang.org/cl/4001048
2011-02-01govet: add Panic to the list of functionsRob Pike
R=rsc CC=golang-dev https://golang.org/cl/4119049
2011-02-01go spec: follow-up cleanups after communication operator changesRobert Griesemer
These are syntactical changes to better reflect the communication operator's new status in the language. - sending to a channel is now done via a send statement - there is no binary communication operation anymore which leads to a reduction of the number of precedence levels from 6 to 5 (yeah!) - small semantic change: since a send operation is not part of the expression syntax anymore, a <- send operator is binding weaker than any other operator now - receiving from a channel is done as before via the unary receive expression - communication clauses in select statement now can contain send statements or receive expressions R=rsc, r, iant, ken2, gri1 CC=golang-dev https://golang.org/cl/3973051
2011-02-01codereview: more ascii vs unicode nonsenseRuss Cox
R=r CC=golang-dev https://golang.org/cl/4124047
2011-02-01gc: handle invalid name in type switchRuss Cox
Fixes #1453. R=ken2 CC=golang-dev https://golang.org/cl/4125043
2011-02-01http: add host patternsJose Luis Vázquez González
R=bradfitzgo, rsc CC=golang-dev https://golang.org/cl/4070043
2011-02-01A+C: Jose Luis Vázquez González (individual CLA)Russ Cox
R=gri, josvazg, gri1 CC=golang-dev https://golang.org/cl/4044047
2011-02-01strconv: add test that trips up other implementationsRuss Cox
R=r, gri1 CC=golang-dev https://golang.org/cl/4092045
2011-02-01exec: use custom error for LookPathGustavo Niemeyer
Make the error message and the needed action more obvious when a command isn't found to obtain the source code of a project. Users seem to strugle with the existing wording in practice. R=rsc CC=golang-dev https://golang.org/cl/4058047
2011-02-016g: fix registerization of temporariesEoghan Sherry
Use correct range in allocated register test. R=rsc, ken2 CC=golang-dev https://golang.org/cl/4073049
2011-02-016l: add comment to CMOV* relocationGustavo Niemeyer
R=rsc CC=golang-dev https://golang.org/cl/4042045
2011-02-01windows: multiple improvements and cleanupsHector Chu
The callback mechanism has been made more flexible. Eliminated one round of argument copying in Syscall. Faster Get/SetLastError implemented. Added gettime for gc perf profiling. R=rsc, brainman, mattn, rog CC=golang-dev https://golang.org/cl/4058046
2011-02-01crypto: add package.Adam Langley
The crypto package is added as a common place to store identifiers for hash functions. At the moment, the rsa package has an enumeration of hash functions and knowledge of their digest lengths. This is an unfortunate coupling and other high level crypto packages tend to need to duplicate this enumeration and knowledge (i.e. openpgp). crypto pulls this code out into a common location. It would also make sense to add similar support for ciphers to crypto, but the problem there isn't as acute that isn't done in this change. R=bradfitzgo, r, rsc CC=golang-dev https://golang.org/cl/4080046
2011-02-01syscall: add network interface constants for freebsd/386, freebsd/amd64Mikio Hara
R=rsc CC=golang-dev https://golang.org/cl/4105046
2011-02-01cgo: define CGO_CFLAGS and CGO_LDFLAGS in Go filesGustavo Niemeyer
R=rsc, binet CC=golang-dev https://golang.org/cl/3921043
2011-02-01gc: fix send precedenceRuss Cox
Test and fix case found by Robert. Add receive inside send to tree too. R=ken2 CC=golang-dev https://golang.org/cl/3973052
2011-02-01misc/vim: Define import commands on buffer switchGustavo Niemeyer
This change fixes the import plugin so that the defined commands are available when opening a new Go buffer from within Vim itself. R=adg, rsc CC=golang-dev https://golang.org/cl/3998053
2011-02-01misc/vim: Document better syntax sync parameterGustavo Niemeyer
Forcing the synchronization of 500 lines is both slower and less precise than searching for a known sync point. Unfortunately, though, the way to synchronize correctly is using the grouphere instruction, which has a bug. I've already proposed the fix to Vim, so future releases should have this working. We can continue using the 500 lines syncing for now. This change just documents the proper way to sync. R=adg, dsymonds CC=golang-dev https://golang.org/cl/4029047
2011-01-31gc: remove non-blocking send, receive syntaxRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/4126043
2011-01-31replace non-blocking send, receive syntax with selectRuss Cox
R=golang-dev, nigeltao, niemeyer, r CC=golang-dev https://golang.org/cl/4079053
2011-01-31unicode: update to unicode 6.0.0Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/3981049
2011-01-31ebnflint: exit with non-zero status on errorRuss Cox
Tweak spec to avoid ebnflint complaints. R=gri CC=golang-dev https://golang.org/cl/3973050
2011-01-31doc/progs: make sure all programs compile and runRob Pike
Fixes #1455. R=rsc CC=golang-dev https://golang.org/cl/4079055
2011-01-31.hgignore: Add some more files created by all.bash.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/4105044
2011-01-31suffixarray: fix construction bugEric Eisner
Previously, group numbers were updated while being read, sometimes leading to inconsistencies. R=gri, gri1 CC=golang-dev https://golang.org/cl/4121045
2011-01-31effective go: remove non-blocking ops in leaky bucket exampleRob Pike
R=rsc CC=golang-dev https://golang.org/cl/4029048
2011-01-31os: add ETIMEDOUTAlbert Strasheim
R=rsc CC=golang-dev https://golang.org/cl/4017045
2011-01-31cgo: improve error reporting slightly.Roger Peppe
If there were warnings or errors in the user code, cgo would print the first error from gcc and then stop, which is not helpful. This CL makes cgo ignore errors from user code in the first pass - they will be shown later. It also prints errors from user preamble code with the correct line numbers. (Also fixed misleading usage message). R=iant, rsc CC=golang-dev https://golang.org/cl/4082047
2011-01-31syscall: add network interface constants for darwin/386, darwin/amd64Mikio Hara
R=rsc CC=golang-dev https://golang.org/cl/4079049
2011-01-31lib9: update to Unicode 6.0.0Russ Cox
R=r CC=golang-dev https://golang.org/cl/4121042
2011-01-31unicode: build maketables during build, take 2Russ Cox
The "all:" target is the default for running gomake by hand, but it is not used during the build. The build runs make install and make test. Save the build of maketables for the test phase so that the packages it needs will have been installed already. R=r, r2 CC=golang-dev https://golang.org/cl/4121043
2011-01-31runtime: generate Go defs for C types.Luuk van Dijk
R=rsc, mattn CC=golang-dev https://golang.org/cl/4047047
2011-01-31bufio: make Flush a no-op when the buffer is emptyAndrew Gerrand
R=r CC=golang-dev https://golang.org/cl/4119048
2011-01-31run.bash: disable doc/codelab/wiki test on windowsAlex Brainman
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4119047
2011-01-30enable arm peep.Ken Thompson
one bug fixed, probably more will be revealed R=r CC=golang-dev https://golang.org/cl/4126044
2011-01-30unicode: add maketables to build, fix buildRuss Cox
R=r CC=golang-dev https://golang.org/cl/4073046
2011-01-30gc: special case code for single-op blocking and non-blocking selectsRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/4004045
2011-01-30test: another select testRuss Cox
R=r CC=golang-dev https://golang.org/cl/4004044
2011-01-29sync: a couple of documentation nits.Rob Pike
R=golang-dev, agl1 CC=golang-dev https://golang.org/cl/4079051
2011-01-298l/6l: pe fixesAlex Brainman
- fixed length of amd64 .data pe section (don't need to include non-initialised data) - use correct oh/oh64 variable when updating data directory in addexports - simplify and cleanup R=vcc, rsc CC=golang-dev https://golang.org/cl/4106044
2011-01-29runtime/cgo: fix cross-compiling windows packagesAlex Brainman
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4073043
2011-01-28fix windows buildWei Guangjing
R=rsc CC=golang-dev https://golang.org/cl/4124041
2011-01-28time: Support Solaris zoneinfo directory.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/4079047
2011-01-28runtime: select bugRuss Cox
The sanity checking in pass 2 is wrong when a select is offering to communicate in either direction on a channel and neither case is immediately ready. R=ken2 CC=golang-dev https://golang.org/cl/3991047