Age | Commit message (Collapse) | Author | Files | Lines |
|
reported by erik quanstrom.
R=ken2
http://codereview.appspot.com/181071
|
|
for now, it's amd64 and 386 only but it's trivial to add more.
Fixes issue 385.
(why couldn't it have been issue 386?)
tested for amd64 and 386 on darwin.
R=rsc
CC=golang-dev
http://codereview.appspot.com/182043
|
|
It's expected to be shared between all files so that all types are output.
Fixes bug reported on mailing list by Peter Froehlich.
R=rsc, phf
CC=golang-dev
http://codereview.appspot.com/183043
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/179120
|
|
Fixes issue 436.
R=ken2
http://codereview.appspot.com/180105
|
|
R=dho
CC=golang-dev
http://codereview.appspot.com/180099
|
|
R=ken2
http://codereview.appspot.com/180092
|
|
Fixes issue 443.
R=dho
CC=golang-dev
http://codereview.appspot.com/179095
|
|
them in the stream.
R=rsc
http://codereview.appspot.com/174052
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/179096
|
|
R=ken2
CC=dho
http://codereview.appspot.com/179097
|
|
leading tabs into spaces to ensure a good outcome in
most browsers
R=rsc
http://codereview.appspot.com/165051
|
|
Fixes issue 342.
R=rsc
CC=golang-dev
http://codereview.appspot.com/179062
Committer: Russ Cox <rsc@golang.org>
|
|
structs containing bitfields.
Fixes issue 163.
R=rsc
CC=golang-dev
http://codereview.appspot.com/180059
Committer: Russ Cox <rsc@golang.org>
|
|
Allows stand-alone types (e.g. []int as patterns) and doesn't require
a semicolon at the end (which are now mandatory terminators).
- Fix a matcher bug.
R=rsc
CC=golang-dev
http://codereview.appspot.com/179088
|
|
into consts in the resulting Go source. Previously known as issue 161047,
which I deleted accidentally. Fixes issue 207.
R=rsc
http://codereview.appspot.com/166059
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 403.
R=ken2
http://codereview.appspot.com/180052
|
|
* better error for lookup of unexported field
* do not assign "ideal string" type to typed string literal
* do not confuse methods and fields during interface check
Fixes issue 410.
Fixes issue 411.
Fixes issue 426.
R=ken2
http://codereview.appspot.com/179069
|
|
R=ken2
http://codereview.appspot.com/179070
|
|
parsing and printing to new syntax.
Use -oldparser to parse the old syntax,
use -oldprinter to print the old syntax.
2) Change default gofmt formatting settings
to use tabs for indentation only and to use
spaces for alignment. This will make the code
alignment insensitive to an editor's tabwidth.
Use -spaces=false to use tabs for alignment.
3) Manually changed src/exp/parser/parser_test.go
so that it doesn't try to parse the parser's
source files using the old syntax (they have
new syntax now).
4) gofmt -w src misc test/bench
1st set of files.
R=rsc
CC=agl, golang-dev, iant, ken2, r
http://codereview.appspot.com/180047
|
|
Fixes issue 423.
R=ken2
http://codereview.appspot.com/180045
|
|
Fixes issue 384.
R=ken2
http://codereview.appspot.com/179061
|
|
R=rsc
http://codereview.appspot.com/174078
|
|
R=rsc
http://codereview.appspot.com/166080
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/164049
Committer: Russ Cox <rsc@golang.org>
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/174077
|
|
Update units.y too.
Fixes issue 417.
R=rsc
CC=golang-dev
http://codereview.appspot.com/176063
|
|
trying to get alizses
to optimize
R=rsc
http://codereview.appspot.com/176061
|
|
- no need to replace comments for stand-alone blocks
- always print string concatenations with interspersed "+"
(remove option)
- minor cleanups
R=rsc
http://codereview.appspot.com/174076
|
|
Fixes issue 89.
Fixes issue 92.
Fixes issue 118.
Fixes issue 182.
Fixes issue 328.
Fixes issue 340.
R=ken2, ken3
CC=golang-dev
http://codereview.appspot.com/172049
|
|
8g still needs fixing
R=rsc
http://codereview.appspot.com/176057
|
|
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
http://codereview.appspot.com/171044
Committer: Russ Cox <rsc@golang.org>
|
|
R=golang-dev, rsc
http://codereview.appspot.com/173041
Committer: Russ Cox <rsc@golang.org>
|
|
- some factoring for easier experimentation
R=rsc
http://codereview.appspot.com/174048
|
|
- oldparser parse old syntax (required semicolons)
- oldprinter print old syntax (required semicolons)
By default, these flags are enabled for now.
Setting -oldparser=false has no effect until go/parser is changed
to accept the new syntax.
Enabled exp/parser in Makefile; update dependent exp/eval.
R=rsc
http://codereview.appspot.com/174051
|
|
R=rsc
http://codereview.appspot.com/172041
|
|
UTF-8 string, Yconv() converts it into an octal sequence. If the
string converted to more than 30 bytes, the str buffer would
overflow. For example, 4 Greek runes became 32 bytes, 3 Hiragana
runes became 36 bytes, and 2 Gothic runes became 32 bytes. In
8l, 6l and 5l the function is Sconv(). For some reason, only 5l uses
the constant STRINGSZ (defined as 200) for the buffer size.
R=rsc
http://codereview.appspot.com/168045
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 221.
R=ken2
http://codereview.appspot.com/165086
|
|
to provide functionality previously hacked in to
reflect and gob.
R=r
http://codereview.appspot.com/165076
|
|
nodes in the tree are nested with respect to one another.
a simple change to the Visitor interface makes it possible
to do this (for example to maintain a current node-depth, or a
knowledge of the name of the current function).
Visit(nil) is called at the end of a node's children;
this make possible the channel-based interface below,
amongst other possibilities.
It is still just as simple to get the original behaviour - just
return the same Visitor from Visit.
Here are a couple of possible Visitor types.
// closure-based
type FVisitor func(n interface{}) FVisitor
func (f FVisitor) Visit(n interface{}) Visitor {
return f(n);
}
// channel-based
type CVisitor chan Visit;
type Visit struct {
node interface{};
reply chan CVisitor;
};
func (v CVisitor) Visit(n interface{}) Visitor
{
if n == nil {
close(v);
} else {
reply := make(chan CVisitor);
v <- Visit{n, reply};
r := <-reply;
if r == nil {
return nil;
}
return r;
}
return nil;
}
R=gri
CC=rsc
http://codereview.appspot.com/166047
Committer: Robert Griesemer <gri@golang.org>
|
|
* inform garbage collector about memory with no pointers in it
1.9s gcc reverse-complement.c
reverse-complement.go
4.5s / 3.5s original, with/without bounds checks
3.5s / 3.3s bounds check reduction
3.3s / 2.8s smarter garbage collector
2.6s / 2.3s assembler bytes.IndexByte
2.5s / 2.1s even smarter garbage collector (this CL)
R=r
http://codereview.appspot.com/165064
|
|
R=ken2
http://codereview.appspot.com/166071
|
|
R=ken2
http://codereview.appspot.com/166070
|
|
R=r
http://codereview.appspot.com/166067
|
|
R=r
http://codereview.appspot.com/166064
|
|
R=ken2
http://codereview.appspot.com/165059
|
|
R=ken2
http://codereview.appspot.com/165055
|
|
R=rsc
http://codereview.appspot.com/166052
|
|
R=rsc
http://codereview.appspot.com/164095
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 238.
R=ken2
http://codereview.appspot.com/163098
|