Age | Commit message (Collapse) | Author | Files | Lines |
|
R=ken
OCL=34732
CL=34756
|
|
- improved formatting of struct and interface types
R=rsc
DELTA=471 (364 added, 47 deleted, 60 changed)
OCL=34747
CL=34751
|
|
R=r
OCL=34731
CL=34731
|
|
- don't print any optional semicolons after declarations inside functions
- indicate non-exported fields/methods in exported types with a comment
so that the "exported source" is legal Go code
- more tests
R=rsc
DELTA=300 (227 added, 25 deleted, 48 changed)
OCL=34697
CL=34730
|
|
TBR=r
OCL=34729
CL=34729
|
|
can be made more efficient but this is reasonable.
R=rsc
DELTA=363 (363 added, 0 deleted, 0 changed)
OCL=34720
CL=34720
|
|
can extract import "C" doc comment
and all references to C package.
; cgo gmp.go | sort
#include <gmp.h>
gmp.go:197:4: mpz_t as type
gmp.go:205:2: mpz_init as call
gmp.go:206:2: mpz_set as call
gmp.go:221:2: mpz_init as call
gmp.go:227:7: size_t as call
gmp.go:228:2: mpz_export as call
gmp.go:235:13: mpz_sizeinbase as call
gmp.go:241:2: mpz_set as call
gmp.go:252:3: mpz_import as call
gmp.go:261:2: mpz_set_si as call
gmp.go:273:5: mpz_set_str as call
gmp.go:282:9: mpz_get_str as call
gmp.go:287:3: mpz_clear as call
gmp.go:302:2: mpz_add as call
gmp.go:311:2: mpz_sub as call
gmp.go:320:2: mpz_mul as call
gmp.go:329:2: mpz_tdiv_q as call
gmp.go:339:2: mpz_tdiv_r as call
gmp.go:348:2: mpz_mul_2exp as call
gmp.go:356:2: mpz_div_2exp as call
gmp.go:367:3: mpz_pow as call
gmp.go:369:3: mpz_powm as call
gmp.go:378:2: mpz_neg as call
gmp.go:386:2: mpz_abs as call
gmp.go:404:9: mpz_cmp as call
gmp.go:413:2: mpz_tdiv_qr as call
gmp.go:426:2: mpz_gcdext as call
;
R=r
DELTA=746 (746 added, 0 deleted, 0 changed)
OCL=34710
CL=34714
|
|
R=gri
DELTA=29 (10 added, 12 deleted, 7 changed)
OCL=34709
CL=34712
|
|
fmt.Printf("%s: %s\n", expr.Pos(), message);
R=gri
DELTA=15 (1 added, 3 deleted, 11 changed)
OCL=34706
CL=34708
|
|
R=rsc
DELTA=152 (6 added, 0 deleted, 146 changed)
OCL=34695
CL=34701
|
|
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=34696
CL=34700
|
|
R=gri
DELTA=14 (14 added, 0 deleted, 0 changed)
OCL=34636
CL=34687
|
|
R=r
DELTA=940 (929 added, 1 deleted, 10 changed)
OCL=34679
CL=34686
|
|
R=r
DELTA=949 (949 added, 0 deleted, 0 changed)
OCL=34676
CL=34678
|
|
no semicolon allowd after package clause.
semicolon allowed after import statement.
no doubled semicolons allowed
R=ken
OCL=34674
CL=34674
|
|
R=rsc
DELTA=10 (5 added, 0 deleted, 5 changed)
OCL=34662
CL=34666
|
|
R=rsc
APPROVED=rsc
DELTA=17 (0 added, 12 deleted, 5 changed)
OCL=34659
CL=34665
|
|
R=rsc
APPROVED=rsc
DELTA=12 (11 added, 1 deleted, 0 changed)
OCL=34658
CL=34664
|
|
R=rsc
APPROVED=rsc
DELTA=21 (7 added, 5 deleted, 9 changed)
OCL=34607
CL=34663
|
|
R=ken
OCL=34657
CL=34657
|
|
alignment purposes
R=rsc
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=34654
CL=34656
|
|
* update mksyscall.sh and rebuild syscall/z*.go
* fix a few linux-only files
R=r
DELTA=455 (12 added, 1 deleted, 442 changed)
OCL=34637
CL=34655
|
|
TBR=rsc
DELTA=56 (56 added, 0 deleted, 0 changed)
OCL=34652
CL=34652
|
|
- printing of expressions: put spaces only where "needed"
- printing of import statements: no double indentation if there are no renames
- print labels on separate lines
- added extra test files
go/ast:
- unified basic literal nodes and as a result deleted duplicated code
- added initial code to track scopes (not fully used yet)
replaces CL 34553
R=rsc
DELTA=881 (579 added, 223 deleted, 79 changed)
OCL=34623
CL=34651
|
|
the last round omitted := range and only
checked 1 out of N vars in a multi-var :=
R=r
OCL=34624
CL=34638
|
|
also template/template.go, missed last time.
R=r
DELTA=116 (61 added, 10 deleted, 45 changed)
OCL=34620
CL=34622
|
|
fix some bugs involving _.
R=ken
OCL=34621
CL=34621
|
|
R=r
DELTA=112 (6 added, 57 deleted, 49 changed)
OCL=34610
CL=34610
|
|
R=r
DELTA=3 (3 added, 0 deleted, 0 changed)
OCL=34606
CL=34609
|
|
R=r
DELTA=2 (1 added, 0 deleted, 1 changed)
OCL=34605
CL=34608
|
|
R=ken
OCL=34604
CL=34604
|
|
the first IDAT chunk.
R=rsc
APPROVED=rsc
DELTA=7 (2 added, 0 deleted, 5 changed)
OCL=34583
CL=34585
|
|
R=rsc
DELTA=83 (83 added, 0 deleted, 0 changed)
OCL=34584
CL=34584
|
|
R=rsc
APPROVED=r
DELTA=694 (675 added, 3 deleted, 16 changed)
OCL=34427
CL=34554
|
|
TBR=rsc
OCL=34550
CL=34552
|
|
delay calls to savex as long as possible.
R=ken
OCL=34535
CL=34546
|
|
R=rsc
OCL=34545
CL=34545
|
|
- first cut a better line breaks in expr lists
- trailing commas and semis printed where we tend to write them
- fixed a couple of minor spacing issues (interface{}, chan<-, map[x]y, x: y)
- removed some formatting flags from gofmt: no need to change default
- removed option to reverse declaration order when printing
- excluded files from test that cause trouble with idempotency test for now
R=rsc
DELTA=497 (364 added, 83 deleted, 50 changed)
OCL=34539
CL=34544
|
|
add makefile rules to build a binary named units as a demo.
R=r
DELTA=1257 (659 added, 597 deleted, 1 changed)
OCL=34528
CL=34530
|
|
R=r
DELTA=166 (0 added, 0 deleted, 166 changed)
OCL=34521
CL=34527
|
|
R=rsc
OCL=34526
CL=34526
|
|
written in (c-style) go
produces go source parser
R=rsc
OCL=34522
CL=34522
|
|
init function context.
also moved composit literal
code from walk.c to sinit.c
R=rsc
OCL=34503
CL=34503
|
|
R=ken
OCL=34500
CL=34500
|
|
R=r
DELTA=9 (7 added, 0 deleted, 2 changed)
OCL=34499
CL=34499
|
|
R=rsc
DELTA=28 (7 added, 16 deleted, 5 changed)
OCL=34487
CL=34487
|
|
R=ken
OCL=34478
CL=34480
|
|
x == nil
x.go:5: cannot use nil as bool
c := x.(type);
x.go:88: use of .(type) outside type switch
R=ken
OCL=34476
CL=34476
|
|
universe block names.
BUG=2097244
R=ken
OCL=34295
CL=34473
|
|
R=ken
OCL=34471
CL=34471
|