Age | Commit message (Collapse) | Author | Files | Lines |
|
Opening /dev/stdin can sometimes fail. For example, in the acme editor,
executing "Edit ,|gofmt" fails with:
open /dev/stdin: no such device or address
Executing "Edit ,|ls -l /dev/stdin /proc/self/fd/0" gives:
lrwxrwxrwx 1 root root 15 2009-09-07 02:17 /dev/stdin -> /proc/self/fd/0
lrwx------ 1 fhs users 64 2009-11-26 22:05 /proc/self/fd/0 -> socket:[5528230]
(This is my first change, and I've signed the individual contributor license agreement.)
R=rsc, gri
CC=golang-dev
http://codereview.appspot.com/162041
Committer: Robert Griesemer <gri@golang.org>
|
|
- simplified dealing with parse errors: no need to intersperse them in the source
- improve visibility of highlighted identifiers by showing them in bold
R=rsc
http://codereview.appspot.com/163051
|
|
R=golang-dev, rsc
http://codereview.appspot.com/164052
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=agl1
http://codereview.appspot.com/154123
Committer: Russ Cox <rsc@golang.org>
|
|
http://golang.org/doc/contribute.html#copyright
R=rsc
http://codereview.appspot.com/163050
Committer: Russ Cox <rsc@golang.org>
|
|
unnamed, not require -n, in line with other
entries.
R=rsc
CC=r
http://codereview.appspot.com/162061
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/164047
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/157153
Committer: Russ Cox <rsc@golang.org>
|
|
The python script needs a checkout of xcb/proto to generate
an xproto.go file, which together with xgb.go provide functions
to access all of the core X11 protocol requests. I have included the
generated file.
Extensions and authentication methods are not implemented.
R=r, rsc, nigeltao_golang
http://codereview.appspot.com/162053
Committer: Russ Cox <rsc@golang.org>
|
|
This patch adds an ability to convert JSON-encoded data into
a hierarchy of Go's native data types.
R=rsc
CC=golang-dev
http://codereview.appspot.com/161060
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 358.
R=rsc
CC=r
http://codereview.appspot.com/164043
|
|
Also made sync.xadd public to help testing sync.RWMutex.
Also added unit tests for sync.RWMutex.
R=rsc
http://codereview.appspot.com/162044
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/162046
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, rsc
CC=agl1
http://codereview.appspot.com/161070
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 272.
R=rsc
http://codereview.appspot.com/161061
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, rsc
http://codereview.appspot.com/161058
Committer: Russ Cox <rsc@golang.org>
|
|
(compile tested only)
R=r, rsc
http://codereview.appspot.com/161069
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/157159
Committer: Russ Cox <rsc@golang.org>
|
|
R=gri
CC=r
http://codereview.appspot.com/163044
|
|
* diagnose template not created with New
(current code just crashes)
* write []byte uninterpreted
(current code writes fmt format: "[65 65 65 65]")
R=r
CC=golang-dev
http://codereview.appspot.com/161075
|
|
between hg clpatch and hg submit.
R=r
http://codereview.appspot.com/162059
|
|
R=r, SnakE
CC=fhs, pts
http://codereview.appspot.com/162054
|
|
R=rsc, sergio
http://codereview.appspot.com/162058
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 115.
R=r, ukai, sergio
http://codereview.appspot.com/162057
|
|
this is the exact same thing issue #115 is about. fix makefiles to use relative
path to work in the case we have whitespaces as part of GOROOT.
R=rsc
http://codereview.appspot.com/162055
Committer: Russ Cox <rsc@golang.org>
|
|
Ideally, the C name would come from the typedef or pointer that
references the Size<0 type, but we can't easily generate this without
performing a look-ahead to see if any referencing type will become opaque.
Fixes issue 334.
Fixes issue 281.
R=rsc
http://codereview.appspot.com/161056
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, rsc
http://codereview.appspot.com/156071
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 290.
R=rsc
http://codereview.appspot.com/160070
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, rsc
http://codereview.appspot.com/156070
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 352.
R=rsc
http://codereview.appspot.com/161073
|
|
utf8_test.BenchmarkRuneCountTenASCIIChars 20000000 108 ns/op
utf8_test.BenchmarkRuneCountTenJapaneseChars 10000000 199 ns/op
utf8_test.BenchmarkEncodeASCIIRune 500000000 6 ns/op
utf8_test.BenchmarkEncodeJapaneseRune 100000000 10 ns/op
utf8_test.BenchmarkDecodeASCIIRune 100000000 13 ns/op
utf8_test.BenchmarkDecodeJapaneseRune 100000000 21 ns/op
R=gri
CC=golang-dev
http://codereview.appspot.com/161049
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/160069
|
|
This provides an experimental X11 backend for the exp/draw interface.
It does not aim to provide a complete implementation of the X11 client protocol.
This works for me (Ubuntu Hardy 8.04, GOARCH=386). Your mileage my vary.
R=r, rsc, r1
CC=golang-dev
http://codereview.appspot.com/156109
|
|
pkg directory.
before this change, if pkg/Make.deps is missing or broken, clean.bash fails and the build dies
but not until much later.
add freebsd to error message about valid values of $GOOS
TODO: would be nice if this process exited when an error occurred. subshells make it hard
R=rsc
CC=golang-dev
http://codereview.appspot.com/160065
|
|
R=r, r1
http://codereview.appspot.com/157167
|
|
Fixed package comment.
Renamed some variables for symmetry, added more internal comments and more tests.
Fixes issue 304.
R=rsc
http://codereview.appspot.com/157166
|
|
Fixes issue 288.
R=ken2
http://codereview.appspot.com/157162
|
|
Fixes issue 306.
R=r, r1
http://codereview.appspot.com/160060
|
|
make the GOOS/GOARCH pair a table to avoid the confusion caused when it was of the form linux/386.
R=rsc
CC=golang-dev
http://codereview.appspot.com/160061
|
|
R=rsc
http://codereview.appspot.com/157160
|
|
fixes issue 326.
R=rsc
http://codereview.appspot.com/160059
|
|
R=rsc
CC=golang-dev, rog
http://codereview.appspot.com/160054
|
|
'new')
R=iant
http://codereview.appspot.com/160057
|
|
the current system is too painful, so instead let's just have the coders tell us the details.
we can update the files ourselves.
R=rsc, r1
CC=golang-dev
http://codereview.appspot.com/157158
|
|
- removed New(len int) in favor of new(Vector).Resize(len, cap)
- removed Init(len int) in favor of Resize(len, cap)
- runs all.bash
Fixes issue 294.
R=rsc, r, r1
http://codereview.appspot.com/157143
|
|
R=rsc
CC=r
http://codereview.appspot.com/160056
|
|
R=gri
CC=r
http://codereview.appspot.com/157149
|
|
some error-related tests
R=rsc
http://codereview.appspot.com/157151
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, r1
http://codereview.appspot.com/157154
|
|
based on suggestion from arvindht@gmail.com
R=r, rsc, r1
http://codereview.appspot.com/157091
Committer: Russ Cox <rsc@golang.org>
|