summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* weekly.2012-03-27weekly.2012-03-27weeklyAndrew Gerrand2012-03-283-5/+67
|
* doc: added The Go image package articleFrancisco Souza2012-03-2816-3/+429
| | | | | | | | | | | | Orignally published on The Go Programming Language, September 21, 2011. http://blog.golang.org/2011/09/go-image-package.html Update #2547 R=adg, nigeltao CC=golang-dev https://golang.org/cl/5933049
* misc/dist: it sucks hwhen you forget to fix typosAndrew Gerrand2012-03-281-1/+1
| | | | | | R=golang-dev CC=golang-dev https://golang.org/cl/5937049
* path/filepath: correct comment in EvalSymlinksAlex Brainman2012-03-281-1/+1
| | | | | | R=golang-dev, r CC=golang-dev, hcwfrichter https://golang.org/cl/5934046
* misc/dist: support upload only (no build)Andrew Gerrand2012-03-281-10/+39
| | | | | | R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5940050
* doc: link to Go Project Dashboard from package listAndrew Gerrand2012-03-281-0/+3
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5937048
* cmd/godoc: use virtual filesystem to implement -templates flagAndrew Gerrand2012-03-282-8/+3
| | | | | | R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/5921045
* runtime: work around false negative in deadlock detectionRuss Cox2012-03-273-0/+35
| | | | | | | | | | | | | | | | | Not a complete fix for issue 3342, but fixes the trivial case. There may still be a race in the instants before and after a scavenger-induced garbage collection. Intended to be "obviously safe": a call to runtime·gosched before main.main is no different than a call to runtime.Gosched at the beginning of main.main, and it is (or had better be) safe to call runtime.Gosched at any point during main. Update #3342. R=iant CC=golang-dev https://golang.org/cl/5919052
* cmd/go: respect $GOBIN alwaysRuss Cox2012-03-277-21/+80
| | | | | | | | | | | | | | | | | | | | | | | | Another attempt at https://golang.org/cl/5754088. Before, we only consulted $GOBIN for source code found in $GOROOT, but that's confusing to explain and less useful. The new behavior lets users set GOBIN=$HOME/bin and have all go-compiled binaries installed there. Tested a few cases in test.bash. Ran all.bash with and without $GOBIN and it works. Even so, I expect it to break the builders, like it did last time, we can debug from there. Fixes #3269 (again). Fixes #3396. Fixes #3397. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5927051
* go/build: fix import checkRuss Cox2012-03-271-1/+1
| | | | | | | | | | | | | | | | | When we find a package in DIR/src/foo, we only let it be known as foo if there is no other foo in an earlier GOPATH directory or the GOROOT directory. The GOROOT check was looking in GOROOT/src/foo instead of GOROOT/src/pkg/foo, which meant that the import paths "lib9", "libbio", "libmach", and so on were unavailable, and the import paths "math", "errors", and so on were available. Correct this. Fixes #3390. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/5927050
* cmd/go: fix two bugsRuss Cox2012-03-273-2/+15
| | | | | | | | | | | | | | | | | | | Issue 3207 was caused by setting GOPATH=GOROOT. This is a common mistake, so diagnose it at command start and also correct the bug that it caused in get (downloading to GOROOT/src/foo instead of GOROOT/src/pkg/foo). Issue 3268 was caused by recognizing 'packages' that had installed binaries but no source. This behavior is not documented and causes trouble, so remove it. We can revisit the concept of binary-only packages after Go 1. Fixes #3207. Fixes #3268. R=golang-dev, r CC=golang-dev https://golang.org/cl/5930044
* doc: use relative links in Laws of Reflection articleAndrew Gerrand2012-03-271-26/+21
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5924050
* doc: use relative links in draw package articleAndrew Gerrand2012-03-271-4/+4
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5924051
* doc: update wiki tutorial templates, and template discussionAndrew Gerrand2012-03-273-1125/+58
| | | | | | | | Fixes #3384. R=golang-dev, r CC=golang-dev https://golang.org/cl/5915044
* path/filepath: use windows GetShortPathName api to force GetLongPathName to ↵Alex Brainman2012-03-275-5/+64
| | | | | | | | do its work R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5928043
* cmd/go: update for go1 tag formatRuss Cox2012-03-273-2/+86
| | | | | | R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5919048
* cmd/dist: fix detection of go1 versionRuss Cox2012-03-271-1/+1
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5924044
* doc: update licensing text one more timeAndrew Gerrand2012-03-272-4/+6
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5916046
* net: ignore ECONNABORTED from syscall.AcceptDevon H. O'Dell2012-03-271-0/+4
| | | | | | | | Fixes #3395. R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5905063
* undo CL 5844051 / 5d0322034aa8Mikio Hara2012-03-274-33/+5
| | | | | | | | | | | | | | | | | | | Breaks closure test when GOMAXPROCS=2 or more. ««« original CL description runtime: restore deadlock detection in the simplest case. Fixes #3342. R=iant, r, dave, rsc CC=golang-dev, remy https://golang.org/cl/5844051 »»» R=rsc CC=golang-dev https://golang.org/cl/5924045
* cmd/go: copy tag_test.go from goinstallRuss Cox2012-03-261-0/+73
| | | | | | | | | hg cat -r 11846 src/cmd/goinstall/tag_test.go >tag_test.go No changes. R=golang-dev, r CC=golang-dev https://golang.org/cl/5919047
* misc/emacs: fix overindentation caused by mis-parsing lines ending with ↵Ben Fried2012-03-261-24/+179
| | | | | | | | | | | | special chars Fixes #3313 go-mode-backward-skip-comments is probably due for a more ambitious refactoring --- it repeats guard conditions after every nearly every movement of point. R=sameer, r CC=golang-dev https://golang.org/cl/5844063
* C: add Ben Fried, GooglerRob Pike2012-03-261-0/+1
| | | | | | R=golang-dev, dsymonds CC=ben.fried, golang-dev https://golang.org/cl/5869043
* runtime: restore deadlock detection in the simplest case.Rémy Oudompheng2012-03-264-5/+33
| | | | | | | | Fixes #3342. R=iant, r, dave, rsc CC=golang-dev, remy https://golang.org/cl/5844051
* doc: fix concurrency patterns rawhtml generationFrancisco Souza2012-03-271-1/+1
| | | | | | | | The Makefile target was broken due to the rename of the HTML file. R=golang-dev CC=golang-dev https://golang.org/cl/5918045
* doc: move /ref/cmd to /doc/cmdAndrew Gerrand2012-03-272-2/+2
| | | | | | | | Fixes #3400. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5926043
* doc: add JSON-RPC: a tale of interfaces articleFrancisco Souza2012-03-273-5/+84
| | | | | | | | | | Originally published on The Go Programming Language Blog, Abril 27, 2010. http://blog.golang.org/2010/04/json-rpc-tale-of-interfaces.html R=adg, r CC=golang-dev https://golang.org/cl/5920044
* doc: update footer textAndrew Gerrand2012-03-271-2/+3
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5920043
* path/filepath: convert drive letter to upper case in windows EvalSymlinksAlex Brainman2012-03-272-1/+32
| | | | | | | | Fixes #3347. R=golang-dev, aram, r, rsc CC=golang-dev https://golang.org/cl/5918043
* doc: remove cov and prof from /ref/cmdAndrew Gerrand2012-03-271-26/+12
| | | | | | | | Update #3400 R=golang-dev, r CC=golang-dev https://golang.org/cl/5921044
* cmd/godoc: canonicalize custom path redirectsAndrew Gerrand2012-03-271-1/+12
| | | | | | | | | | For example, /ref and /doc/reference.html now both redirect to /ref/. Fixes #3401. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5916044
* doc: move gdb doc back to /doc/ and de-emphasize on references pageAndrew Gerrand2012-03-273-6/+3
| | | | | | | | Fixes #3399. R=golang-dev, r CC=golang-dev https://golang.org/cl/5919044
* doc: add doc/articles/index.htmlAndrew Gerrand2012-03-271-0/+7
| | | | | | | | Fixes #3402. R=golang-dev, r CC=golang-dev https://golang.org/cl/5923043
* doc: describe the Windows MSI installer as experimentalAndrew Gerrand2012-03-271-16/+16
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5921043
* misc/goplay: fix error on IE8.Yasuhiro Matsumoto2012-03-271-2/+10
| | | | | | | | use cancelBubble=true instead of preventDefault(). R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/5888043
* misc/dist: don't ship codereview eitherAndrew Gerrand2012-03-271-1/+2
| | | | | | R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5917043
* cmd/godoc: fix app engine versionAndrew Gerrand2012-03-271-1/+1
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5902060
* misc/dist: don't include old python dashboard in releasesAndrew Gerrand2012-03-271-0/+1
| | | | | | | | | I'd prefer not to ship a bunch of bad Python code to everyone who uses Go 1. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5915043
* doc: add Terms of ServiceAndrew Gerrand2012-03-272-2/+14
| | | | | | R=r CC=golang-dev https://golang.org/cl/5913044
* exp/types: generalized GCImporter API.Robert Griesemer2012-03-265-107/+124
| | | | | | | | | | | | | | | | | | | - Renamed ExportData -> FindGcExportData and base it on an a bufio.Reader rather than a filename so it can be used in environments where object files are stored elsewhere. - Factor former GcImporter into GcImportData and GcImport. Implementations with different storage locations for object files can build a customized GcImport using GcImportData. This is pkg/exp only - no impact on Go 1. R=golang-dev, lvd, rsc CC=golang-dev https://golang.org/cl/5574069
* doc: Change id of footerBenny Siegert2012-03-262-2/+2
| | | | | | | | | | | The heading "Copyright" uses id="copyright" as the anchor name. However, there is also a <div id="copyright"> at the bottom. Using the same ID value twice in the same file is illegal (http://www.w3.org/TR/html401/struct/links.html#h-12.2.3). R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5909045
* cmd/go: explain versions betterRob Pike2012-03-262-2/+18
| | | | | | | | | Summarize the desiderata for selecting versions of remote packages to get. Fixes #3394. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5902058
* misc/dist: add -wxs flag to provide custom installer.wxs fileAndrew Gerrand2012-03-261-0/+4
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5908055
* run.bash: set -e in new codewalk blockRob Pike2012-03-261-0/+1
| | | | | | | | | Otherwise we won't fail if something goes wrong. This shell programming stuff is tricky. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5905062
* windows: install fixesJoe Poirier2012-03-261-4/+3
| | | | | | | | | * set default installation drive to C:\ * remove Win64 component property R=golang-dev, bradfitz, aram CC=golang-dev https://golang.org/cl/5901044
* run.bash: compile the codewalksRob Pike2012-03-261-0/+7
| | | | | | | | | | They could be tested but that requires more than seems wise right now. Update #2648. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5908054
* godoc: make 'Overview' section collapsableAndrew Gerrand2012-03-264-29/+40
| | | | | | | | This makes packages with lengthly package comments easier to browse. R=golang-dev, r CC=golang-dev https://golang.org/cl/5901055
* doc: make installation instructions more skim-friendlyAndrew Gerrand2012-03-261-10/+14
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/5908052
* cmd/go: allow underscores in tool nameShenghou Ma2012-03-261-2/+2
| | | | | | | | Otherwise we can't invoke go_bootstrap directly. R=golang-dev, r CC=golang-dev https://golang.org/cl/5900061
* go/build: cgoEnabled is not known to cmd/dist anymoreShenghou Ma2012-03-261-1/+0
| | | | | | R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5901051